/* Visual reference: original Charlotte Joomla 3 template. */
@font-face{font-family:DINCondBlack;src:url('../fonts/DINCond-Black.woff2') format('woff2');font-display:swap}
body{color:#444;line-height:1.4}
h1,h2,h3,h4,h5,h6,nav,.btn,.header,.languages{font-family:DINCondBlack,Arial,sans-serif}
p{margin:0 0 10px}h2,h3{margin:20px 0 10px}a{text-decoration:none}
:root{--orange:#e96321}
.header-inner{position:relative;gap:0;padding:0;width:1140px;max-width:100%}
.brand,.brand img,.inner .brand,.inner .brand img{width:300px}
.brand{position:absolute;left:0;top:30px;margin:0}
.header nav{margin:0 0 0 320px}
.header nav>ul{gap:0}.header nav>ul>li{padding:0 17px}
.header nav a{font-size:24px;letter-spacing:0;padding:0;line-height:40px}
.header nav .active>a{text-underline-offset:10px;text-decoration-thickness:2px}
.header nav>ul>li:has(>a[href*="club-charlotte"]){padding-left:0}
.header nav a[href*="club-charlotte"]{color:#e96321;background:white;border:2px solid #e96321;padding:0 15px;line-height:38px}
.header-tools{margin-left:auto;padding-right:20px;gap:30px}.header-tools button{width:24px}
.languages{position:relative;display:block;width:40px;font-size:20px;align-self:center;min-height:28px}
.languages>a{display:none;line-height:28px}.languages>a.selected{display:block;color:#e96321}
.languages:after{content:'◆';font-size:9px;color:#e96321;position:absolute;right:2px;top:7px}
.languages:hover,.languages:focus-within{background:#3f3f3f}.languages:hover>a,.languages:focus-within>a{display:block}
.languages:hover>a:not(.selected),.languages:focus-within>a:not(.selected){position:absolute;top:28px;left:0;background:#3f3f3f;width:40px;padding-bottom:5px}
.header nav li ul{left:-73px;min-width:300px;padding:18px 22px;top:40px}.header nav li ul a{font-size:22px;line-height:30px}
.hero{background-position:50% 50%;min-height:0}.hero-grid{display:grid;grid-template-columns:65% 34%;gap:0;padding-top:230px;padding-bottom:200px}
.hero h2{font-size:40px;line-height:44px;margin:10px 0}.hero .border{background:#0000006e;padding:14px}
.hero .border.title{padding:14px 22px}.hero .content{width:95%;font-size:16px;line-height:1.3;margin:0 0 10px}
.hero .btn{font-size:24px;min-width:0;width:300px;min-height:50px;height:50px;justify-content:flex-start;text-align:left;padding:6px 12px;margin:0 10px 10px 0;line-height:32px}
.hero-copy>div>p:last-child,.hero-copy>p:last-child{display:block;margin:0}.btn-green{background:#91ab27}.btn-orange{background:#e96321}.btn-blue{background:#3b5998}
.hero .btn img{width:auto;height:24px;margin-right:15px}
.latest-news{align-self:start;margin:99px 0 0;background:#ffffffb3;border-color:#000;padding:24px 15px 30px;min-height:306px}
.latest-news h2{font-size:18px;line-height:20px;margin:0 0 15px}.latest-news time{font-size:14px;line-height:20px;margin:0 0 5px}.latest-news p{font-size:16px;line-height:22.4px;margin:0 0 5px}.news-controls{top:8px;right:6px}.news-controls button{font-size:12px;padding:0;width:23px;height:23px;border:2px solid #000;line-height:19px}
.trails-home{position:relative;padding-top:0;padding-bottom:0;margin-top:-45px;margin-bottom:-90px;z-index:6}
.trails-home:before{content:'';position:absolute;left:calc((1140px - 100vw)/2);right:calc((1140px - 100vw)/2);top:165px;height:200px;background:#f6f6f6;z-index:-1}
.trail-cards{grid-template-columns:repeat(3,1fr);gap:30px 5px}.trail-card{position:relative;height:260px;text-align:left}.trail-photo{display:block;width:260px;height:260px;border-radius:50%;margin:auto;object-fit:contain}
.trail-card-content{position:absolute;z-index:2;top:220px;left:50%;transform:translateX(-50%);width:calc(100% - 24px);min-width:276px;padding:15px 15px 0;margin:0;border:3px solid var(--trail);opacity:0;visibility:hidden;transition:.2s;background:white}
.trail-card:hover,.trail-card:focus{z-index:10}.trail-card:hover .trail-card-content,.trail-card:focus .trail-card-content{top:200px;opacity:1;visibility:visible}
.trail-card-content:before{content:'';position:absolute;top:-18px;left:calc(50% - 17px);border-left:17px solid transparent;border-right:17px solid transparent;border-bottom:17px solid var(--trail)}
.trail-card h2{font-size:29px;margin:0 0 10px;color:var(--trail)}.trail-card p{font:19px/24px DINCond;margin:0 0 8px;min-height:0;color:#000}.trail-card p b{font-weight:400}.trail-card p em{font:15px DINCond;font-style:normal;background:var(--trail);color:white;padding:2px 6px}.trail-card p:last-of-type em{background:#a9cf0e}.trail-card .theme-icon{height:22px;width:auto;vertical-align:middle}.trail-card .card-more{display:block;font:18px/33px DINCond;text-align:center;background:var(--trail);color:white;margin:15px -15px 0;padding:0;height:33px}
.inner .page-content{padding-top:230px;padding-bottom:20px;min-height:0}
.trail-page .header{background:var(--trail)}.trail-page .brand{top:15px;width:300px;padding:15px 20px 20px 0;border:5px solid var(--trail);background:white;border-radius:50%}.trail-page .brand img{width:270px;max-width:100%}.trail-page .brand:after{content:'';position:absolute;width:50px;height:50px;right:0;bottom:35px;background:var(--theme-icon) center/contain no-repeat}
.trail-page .page-content{padding-top:99px}.sentier{color:#000}.sentier-overview{grid-template-columns:340px 710px;gap:30px;margin:0 15px}.sentier-heading{margin:0 0 44px;border:0;display:block}.sentier-heading h1{font-size:60px;line-height:66px;margin:0;color:var(--trail)}
.sentier-description{padding-top:152px;font-size:16px;line-height:22.4px}.sentier-description h2{font-size:30px;line-height:33px;margin:20px 0 10px}.sentier-description h2:first-child{margin-top:20px}.sentier-description ul{padding-left:40px;margin:0 0 10px}.sentier-description li{margin-bottom:0}.sentier-description a{color:var(--trail)}
.sentier-details{position:relative;grid-template-columns:3fr 1fr;gap:30px;margin:40px 0;padding:25px 0;font-size:18px;line-height:22.4px}.sentier-details:before{content:'';position:absolute;top:0;bottom:0;left:calc((1110px - 100vw)/2);right:calc((1110px - 100vw)/2);background:var(--trail-light);z-index:-1}.sentier-details h2{font-size:36px;line-height:40px;margin:20px 0}.facts{gap:30px}.facts ul,.transport{margin:0 0 10px}.facts li,.transport li{padding:0 0 0 45px;min-height:30px;background-size:auto 30px;background-position:5px top;line-height:1.7;margin-bottom:15px}.facts li:first-child,.facts li:nth-child(2){line-height:1.5}.facts li:has(a),.transport li{line-height:1.3}.facts a,.transport a{color:#000}.facts li.download{margin-top:35px}
.gallery-section{border:0;padding:20px 0 30px}.gallery-section h2{font-size:36px;margin:20px 0}.gallery{gap:20px}.gallery>a{flex-basis:calc((100% - 60px)/4)}.gallery img{width:100%;height:200px}.credits{color:#444;font-size:16px;margin:10px 0}
.page-banner{height:auto}.page-banner>img{display:block;width:100%;height:auto}.page-banner iframe{display:block;height:388px}.inner:has(.page-banner) .page-content{padding-top:60px}
.standard-article:has(.about-grid)>h1{display:none}.about-grid{grid-template-columns:1fr 1fr;gap:30px}.about-grid h2{font-size:48px;line-height:1.1;margin:0 0 17px}.about-grid>section>h2:not(:first-child){margin-top:50px}.about-grid p{line-height:1.4}.story{padding:0;border:0;margin-bottom:15px}.story summary{font:30px/1.2 DINCondBlack;padding:8px 15px;background:#f5f5f5}.story[open] summary{margin-bottom:15px}.story>p{padding:0 15px}
.form-page{grid-template-columns:3fr 1fr;gap:30px}.form-page>aside{grid-column:2;grid-row:1}.form-page>div{grid-column:1;grid-row:1}.inner:has(.form-page):has(.page-banner) .page-content{padding-top:30px}.form-page aside h2{font-size:36px;line-height:40px;margin:20px 0 10px}.form-page aside p{font-size:20px;line-height:22px;margin-bottom:30px}
.form-page .formResponsive.club-form h2{font:59px/1.1 DINCondBlack;margin:20px 0 10px;color:#484848}.form-page .formResponsive .formHorizontal .formControlLabel{width:0;padding:0}.form-page .formResponsive .formHorizontal .formControls{margin-left:0!important}.form-page .formResponsive.club-form .formHorizontal .formControls input:not([type=checkbox]),.form-page .formResponsive.club-form .formHorizontal .formControls textarea{height:59px;border-radius:0;width:100%;background:#efefef;border:0;padding:0 10px;box-shadow:none;font:26px/59px DINCond;color:#555;margin-bottom:0}.form-page .formResponsive.club-form .formHorizontal .formControls textarea{height:136px}.form-page .formResponsive .formHorizontal .formControls p{margin:0}.form-page .formResponsive .formHorizontal .rsform-block{margin-bottom:0}.form-page .formResponsive .formRequired{display:none}.form-page .formResponsive .rsform-block-freetext{font-size:18px;color:#363636}.form-page .formResponsive .formDescription{display:none}.form-page .formResponsive .formHorizontal .formControls input[type=submit],.form-page .formResponsive .formHorizontal .formControls button[type=submit]{background:#e96321;color:white;width:auto;height:59px;padding:0 30px;font:26px/59px DINCond}
.form-page .formResponsive.contact .rsform-block-nom,.form-page .formResponsive.club-form .rsform-block-nommembre{width:48%;float:left}.form-page .formResponsive.contact .rsform-block-email,.form-page .formResponsive.club-form .rsform-block-datenaissance{width:48%;float:right}.form-page .formResponsive .rsform-block-rue{width:68%;float:left}.form-page .formResponsive .rsform-block-numero{width:28%;float:right}.form-page .formResponsive .rsform-block-npa{width:28%;float:left}.form-page .formResponsive .rsform-block-localite{width:68%;float:right}.form-page .rsform-block-titre,.form-page .rsform-block-nomparent,.form-page .rsform-block-termes-conditions,.form-page .rsform-block-submit{clear:both}.form-page .formResponsive .rsform-block-termes-conditions .formControlLabel{width:auto}.form-page .formResponsive .formError{color:red;font-size:12px;min-height:20px}.form-page .formResponsive .formBody{width:100%}
.club-page{display:grid;grid-template-columns:1fr 1fr;gap:30px}.club-page>aside{display:none}.club-page>div{display:contents}.club-page .club-magazine{grid-column:1}.club-page form{grid-column:2}.club-page .formResponsive.club-form h2{font-size:59px}.club-magazine img{max-width:100%;height:auto}
footer{background:#3f3f3f;color:#fff;border:0;padding:45px 0 15px;font:21px/22.4px DINCond}.home footer{padding-top:90px}.footer-grid{grid-template-columns:2fr 3fr 3fr 2fr 2fr;gap:0;padding:0}.footer-grid>div{padding:0 15px}.footer-grid h3{font:28px/1.1 DINCondBlack;margin:0 0 20px;color:white}.footer-grid p{margin:0 0 10px;line-height:1.3}.footer-grid img{display:block;width:auto;max-height:none;max-width:100%}.footer-grid>div:first-child img{max-height:none}.footer-grid .mod-menu{font:27px/33px DINCondBlack}.footer-grid .mod-menu li{margin:0}.footer-grid .copyright{margin-top:35px;font:16px DINCond;color:#9c9b9b}.footer-grid .copyright img{display:inline;height:14px;margin-right:5px}.footer-grid .partners img{margin-bottom:20px}.footer-grid .sponsors img{margin-bottom:30px}
@media(max-width:1199px){.container,.header-inner,.hero-grid{max-width:960px}.header nav{margin-left:220px}.brand,.brand img,.inner .brand,.inner .brand img{width:220px}.header nav>ul>li{padding:0 13px}.header nav a{font-size:20px}.sentier-overview{grid-template-columns:1fr 2fr}.trails-home:before,.sentier-details:before{left:calc((930px - 100vw)/2);right:calc((930px - 100vw)/2)}}
@media(max-width:1024px){.brand,.brand img,.inner .brand,.inner .brand img{width:170px}.header nav{margin-left:180px}.header nav>ul>li{padding:0 7px}.header nav a{font-size:16px}.header-tools{gap:15px}.trail-page .brand{width:230px}.trail-page .brand img{width:200px}.trail-page .page-content{padding-top:0}.sentier-heading h1{font-size:40px}.hero .content{width:95%}.sentier-details{grid-template-columns:3fr 1fr}.footer-grid h3{font-size:25px}.footer-grid .mod-menu{font-size:22px}}
@media(max-width:767px){.container,.header-inner,.hero-grid{max-width:720px;width:100%}.header{height:95px}.brand,.brand img,.inner .brand,.inner .brand img{width:170px}.brand{left:10px;top:30px}.menu-toggle{display:block;margin-left:auto;margin-right:20px}.header-tools{display:none}.header nav{margin:0;top:95px;padding:90px 25px 20px}.header nav a{font-size:24px;line-height:40px}.header nav>ul>li{padding:0}.header nav li ul{padding:0 15px}.hero-grid{display:block;padding:90px 15px 80px}.hero h2{font-size:32px;line-height:1.1}.hero .content{width:100%}.hero .btn{width:100%;margin:0 0 10px}.latest-news{margin:30px 0 0}.trails-home{margin:0;padding:30px 15px}.trails-home:before{display:none}.trail-cards{grid-template-columns:1fr;gap:25px}.trail-card{height:auto}.trail-card-content{position:relative;opacity:1;visibility:visible;top:auto;left:auto;transform:none;width:100%;margin-top:15px}.trail-card:hover .trail-card-content,.trail-card:focus .trail-card-content{top:auto}.inner .page-content{padding-top:130px}.trail-page .page-content{padding-top:155px}.sentier-overview{display:flex;flex-direction:column;margin:0}.sentier-map{order:0}.sentier-description{padding-top:0}.sentier-heading h1{font-size:40px;line-height:1.1}.sentier-heading{margin-bottom:25px}.sentier-details{grid-template-columns:1fr;padding:20px 0}.sentier-details:before{left:-15px;right:-15px}.facts{grid-template-columns:1fr}.gallery>a{flex-basis:80%}.page-banner iframe{height:300px}.inner:has(.page-banner) .page-content{padding-top:25px}.about-grid,.form-page,.club-page{display:block}.form-page>aside{margin-top:30px}.form-page{display:flex;flex-direction:column}.form-page>aside{order:2}.club-page>div{display:block}.club-magazine{margin-bottom:35px}.form-page .formResponsive.club-form h2{font-size:40px}.form-page .formResponsive.club-form .formHorizontal .formControls input:not([type=checkbox]),.form-page .formResponsive.club-form .formHorizontal .formControls textarea{font-size:22px}.about-grid h2{font-size:36px}.about-grid>section+section{margin-top:40px}.footer-grid{display:grid;grid-template-columns:1fr 1fr}.footer-grid>div{margin-bottom:20px}.home footer{padding-top:45px}}
html{overflow-y:scroll}body{overflow-x:clip}.header nav{letter-spacing:.5px}.header nav a{letter-spacing:.5px}.header nav a[href*="club-charlotte"]{letter-spacing:.5px}
.club-page{display:grid;grid-template-columns:1fr 2fr 1fr;gap:30px}.club-page>div{display:block;grid-column:2;grid-row:1}.club-page>aside{display:block;grid-column:3;grid-row:1}.club-page>aside.club-left{grid-column:1}.club-page .club-magazine{margin-bottom:55px}.club-page .club-magazine h2{font:59px/1.1 DINCondBlack;margin:20px 0 10px}.club-page .club-magazine .rsform-block-submit a{background:#e96321;color:white;padding:10px 30px;display:inline-block}.facebook-button{display:inline-flex;align-items:center;gap:15px;background:#3b5998;color:white;font:24px/30px DINCondBlack;padding:8px 15px}.facebook-button img{height:24px;width:24px}
.page-content:has(.about-grid){max-width:1170px}.about-grid>section>h2{font-size:30px;line-height:33px;margin:20px 0 10px!important}.about-grid>section>h2:first-child,.about-grid>section>h2:has(+.credit-row),.about-grid>section>h2:has(+details),.about-news>h2{font-size:48px;line-height:52.8px;margin:20px 0 17px!important}.about-news{margin-bottom:50px}.about-news article{padding:20px 0}.about-news h3{font-size:24px;line-height:26.4px;margin:0 0 16px}.about-news time{display:block;font-size:14px;margin-bottom:10px}.about-news p{font-size:16px}.about-news article+article{background:#fafafa;border-top:1px solid #eee;padding:10px 20px}.about-news article+article h3{font-size:20px;margin-bottom:10px}.story summary{font:20px/23px DINCond;background:#f5f5f5;padding:10px 15px;border:1px solid #ddd}.story[open] summary{background:white}.story{margin-bottom:5px;border:1px solid #ddd}.story>p{font-size:16px}.story ul{padding:0 20px 0 40px}
@media(max-width:767px){.club-page{display:flex}.club-page>aside.club-left{display:none}.club-page>div{display:block}.about-grid>section>h2:first-child,.about-grid>section>h2:has(+.credit-row),.about-grid>section>h2:has(+details),.about-news>h2{font-size:36px;line-height:40px}.club-page .club-magazine h2{font-size:40px}}
.hero{background-position:center bottom}.hero-grid{padding-bottom:208px}.hero .btn-orange{background:#e96321}.hero .btn-green{background:#91ab27}.hero .btn-blue{background:#3b5998}.hero .btn img{object-fit:contain;max-width:24px}
.form-page:not(.club-page){grid-template-columns:calc(75% - 7.5px) calc(25% - 22.5px)}.club-page{grid-template-columns:calc(25% - 22.5px) calc(50% - 15px) calc(25% - 22.5px)}.form-page .formResponsive input,.form-page .formResponsive textarea{box-sizing:border-box!important}.form-page .formResponsive .rsform-block-freetext p{line-height:22.4px}.inner:has(.contact-page):has(.page-banner) .page-content{padding-top:48px}
.standard-article{max-width:none}.standard-article>h1{font-size:24px;line-height:26.4px;margin:10px 0 30px}.standard-article>time,.news-list-item time{display:block;font:14px/20px DINCond;text-transform:uppercase;color:#666}.standard-article{padding-bottom:80px}.category-heading{font-size:36px;line-height:40px;margin:40px 0 20px;padding-bottom:24px;border-bottom:1px solid #eee}.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.news-list-item{border:0;padding:0 0 60px}.news-leading{grid-column:1/-1}.news-list-item h2{font-size:24px;line-height:26.4px;margin:10px 0 30px}.news-list-item h5{font-size:14px}.news-list-item p{margin:0 0 10px}
@media(max-width:767px){.hero-grid{padding-bottom:80px}.form-page:not(.club-page),.club-page{display:flex}.news-grid{grid-template-columns:1fr}.category-heading{margin-top:20px}.standard-article{padding-bottom:30px}.inner:has(.contact-page):has(.page-banner) .page-content{padding-top:25px}}
.header nav li ul{min-width:260px;width:260px;background:rgba(255,255,255,.95);border:5px solid #484848;padding:12px 10px;box-shadow:none;top:50px}.header nav li ul a{font-size:24px;line-height:37px;display:flex;align-items:center;gap:7px;letter-spacing:0}.header nav li ul img{height:24px;width:22px;object-fit:contain}.header nav li:has(>ul):after{content:'';position:absolute;top:100%;height:12px;left:0;right:0}.languages:after{content:'▴';top:0;line-height:14px;font-size:14px}.languages:before{content:'▾';position:absolute;right:2px;top:10px;line-height:14px;color:#e96321;font-size:14px}.gallery-section{position:relative}.gallery-controls{position:absolute;right:0;top:45px;display:flex;gap:8px}.gallery-controls button{border:2px solid #333;border-radius:50%;background:white;color:#333;line-height:20px;font-size:24px;padding:0;width:26px;height:26px}.gallery{scroll-behavior:smooth;scrollbar-width:none}.gallery::-webkit-scrollbar{display:none}
@media(max-width:767px){body{font-size:20px;line-height:28px}.header{height:95px}.trail-page.inner .brand{width:230px;top:15px}.trail-page.inner .brand img{width:200px}.menu-toggle{font-size:42px;line-height:50px;padding:0;border:0;margin-right:25px}.header-tools{display:flex;position:absolute;right:78px;margin:0;padding:0}.header-tools>button{display:none}.languages{display:flex;width:auto;gap:10px;font:20px/28px DINCondBlack}.languages>a{display:block}.languages:after{content:'/';position:static;color:white;font:20px DINCond;order:1}.languages>a:not(.selected){order:2}.languages:before{display:none}.languages:hover>a:not(.selected),.languages:focus-within>a:not(.selected){position:static;top:auto;background:none;width:auto}.languages:hover,.languages:focus-within{background:none}.sentier-overview{margin:0 15px}.sentier-description{font-size:17px;line-height:28px}.sentier-description h2{margin-top:20px}.trail-page .page-content{padding-top:155px}.header nav li ul{width:100%;min-width:0;border:0;background:transparent;padding:0 0 10px 15px}.header nav li ul a{font-size:23px}.header nav li ul img{height:20px;width:20px}.header nav.open{max-height:calc(100vh - 95px);overflow-y:auto;padding-top:150px}.gallery-controls{top:25px}.gallery-section h2{font-size:28px;padding-right:70px}.facts,.transport{font-size:18px}.form-page aside{font-size:18px}.footer-grid{font-size:21px}}

/* Map overlay: original Joomla 3 proportions, with independent scrolling. */
html:has(dialog[open]){overflow:hidden}
body:has(dialog[open]){overflow:hidden}
#map-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:100px 0 30px;border:0;background:transparent;box-shadow:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
#map-dialog::backdrop{background:rgba(128,128,128,.8)}
#map-dialog .map-dialog-content{position:relative;width:50%;margin:0 auto;border:5px solid #000;background:#fff;box-shadow:0 5px 15px #0008}
#map-dialog img{display:block;width:100%;height:auto;max-height:none;max-width:100%}
#map-dialog [data-close]{position:absolute;top:-5px;right:-70px;width:50px;height:50px;padding:0;border:0;border-radius:0;background:transparent url('../images/close-popup.png') center/contain no-repeat;color:#000;font-size:0;opacity:1}
@media(max-width:1199px){#map-dialog .map-dialog-content{width:80%}}
@media(max-width:767px){#map-dialog [data-close]{width:20px;height:20px;top:0;right:-30px}}

/* Original map pin and CSS triangles, rather than font-dependent glyphs. */
.header-tools button[data-map]{width:21px;height:20px;line-height:1}
.header-tools button[data-map] img{display:block;width:21px;height:20px}
.hero #myBtn img{content:url('../images/map-location_2.svg');width:21px;height:20px}
@media(min-width:768px){.languages:before,.languages:after{content:'';position:absolute;right:0;width:10px;height:10px;box-sizing:border-box;border:5px solid transparent;font-size:0;line-height:0;pointer-events:none}.languages:before{top:0;border-bottom-color:#e96321}.languages:after{top:15px;border-top-color:#e96321}}

/* Language menu inherits the trail header background, as on Joomla 3. */
.languages:hover,.languages:focus-within,.languages:hover>a:not(.selected),.languages:focus-within>a:not(.selected){background:transparent}
.languages>a,.languages>a:hover,.languages>a:focus{color:#e96321}
.languages>a:not(.selected),.languages>a:not(.selected):hover,.languages>a:not(.selected):focus{color:#fff}

/* Photo lightbox: black frame and external close button, with gallery navigation. */
#photo-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:65px 80px 85px;border:0;background:transparent;box-shadow:none;overflow:auto;overscroll-behavior:contain}
#photo-dialog[open]{display:flex;align-items:center;justify-content:center}
#photo-dialog .photo-dialog-content{position:relative;max-width:100%;margin:auto}
#photo-dialog img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 150px);border:5px solid #000;background:#000;object-fit:contain}
#photo-dialog [data-close]{position:absolute;top:0;right:-70px;width:50px;height:50px;padding:0;border:0;border-radius:0;background:transparent url('../images/close-popup.png') center/contain no-repeat;color:#000;font-size:0;opacity:1}
.photo-navigation{position:absolute;top:100%;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:18px;padding-top:12px;color:#fff;font:18px/1 Arial,sans-serif}
.photo-navigation button{width:44px;height:44px;border:2px solid #000;border-radius:50%;background:#fff;color:#000;font:36px/32px Arial,sans-serif;padding:0 0 4px}
@media(max-width:767px){#photo-dialog{padding:45px 35px 85px}#photo-dialog img{max-height:calc(100dvh - 130px)}#photo-dialog [data-close]{width:20px;height:20px;right:-30px}.photo-navigation{gap:12px}}

.header nav .mobile-only{display:none}
@media(max-width:767px){
 html:has(#navigation.open),body:has(#navigation.open){overflow:hidden}
 .header:has(#navigation.open) .brand{display:none}
 .header nav.open{position:fixed;inset:0;width:100%;height:100dvh;max-height:none;margin:0;padding:85px 25px 30px;background:#3f3f3f;z-index:20;overflow-y:auto;overscroll-behavior:contain}
 .header:has(#navigation.open) .menu-toggle{position:fixed;right:15px;top:15px;margin:0;width:44px;height:50px;z-index:22;color:#fff}
 .header:has(#navigation.open) .header-tools{position:fixed;right:78px;top:26px;z-index:22}
 .header nav .mobile-only{display:block}
 .header nav .menu-map button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:15px 0 0;padding:10px;border:0;background:transparent}
 .header nav .menu-map img{width:24px;height:24px}
}

/* Matching hamburger and close icon, drawn with the same strokes. */
@media(max-width:767px){
 .header .menu-toggle,.header:has(#navigation.open) .menu-toggle{position:relative;width:44px;height:50px;min-width:44px;padding:0;font-size:0;line-height:0;color:#fff;border:0;border-radius:0;background:transparent}
 .header:has(#navigation.open) .menu-toggle{position:fixed;right:15px;top:22px}
 .header .menu-toggle::before,.header .menu-toggle::after{content:'';position:absolute;left:6px;top:23px;width:32px;height:3px;background:currentColor;transform-origin:center;transition:transform .18s ease,box-shadow .18s ease}
 .header .menu-toggle::before{box-shadow:0 -10px 0 currentColor,0 10px 0 currentColor}
 .header .menu-toggle::after{opacity:0}
 .header .menu-toggle[aria-expanded="true"]::before{box-shadow:none;transform:rotate(45deg)}
 .header .menu-toggle[aria-expanded="true"]::after{opacity:1;transform:rotate(-45deg)}
 @media(prefers-reduced-motion:reduce){.header .menu-toggle::before,.header .menu-toggle::after{transition:none}}
}
@media(max-width:767px){
 .header .menu-toggle{position:absolute;right:15px;top:22.5px;margin:0}
 .header:has(#navigation.open) .menu-toggle{top:22.5px}
 .header .header-tools,.header:has(#navigation.open) .header-tools{top:33.5px;right:78px;margin:0;transform:none}
}
@media(max-width:767px){
 .header nav a[href*="club-charlotte"]{display:inline-block;width:auto;max-width:100%;padding-left:16px;padding-right:16px}
}
