/* Mobile uses the approved photos and wording at readable sizes. */
.ref-mobile{display:none}
@media(max-width:767px){
 .reference-page .ref-part{aspect-ratio:auto!important}
 .reference-page .ref-part>.ref-artwork,.reference-page .ref-part>.ref-target,.ref-hero>.ref-sr,.ref-recommend-window,.ref-carousel-previous,.ref-carousel-next{display:none}
 .ref-header.ref-language-stack{min-height:0}
 .ref-header-content{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:start;gap:8px;aspect-ratio:auto;padding:10px 12px}
 .ref-header-content>.ref-artwork,.ref-header-content>.ref-target:not(.ref-language),.ref-header-content:after{display:none}
 .ref-header-content>.ref-language{position:static;grid-column:2;grid-row:1;left:auto!important;right:auto!important;top:auto!important;width:100%!important;height:auto!important}
 .ref-language .dao-language-list{width:100%;padding:0;border:0;border-radius:0}
 .ref-language .dao-language-list button{min-height:30px;padding:4px;gap:6px;font-size:13px;line-height:20px}
 .ref-language .dao-language-list button svg{width:20px;height:14px}
 .ref-mobile-head-main{display:grid;grid-column:1;grid-row:1;min-width:0;gap:4px}
 .ref-mobile-brand-row{display:flex;min-height:36px;align-items:center;gap:4px}
 .ref-mobile-brand{display:block;flex:1;min-width:0;max-width:210px}
 .ref-mobile-brand svg{display:block;width:100%;aspect-ratio:356/68}
 .ref-mobile-brand-row>button{display:grid;place-items:center;width:32px;min-width:32px;height:36px;padding:4px;border:0;background:white;color:var(--dao-green)}
 .ref-mobile-brand-row>button svg{display:block;width:24px;height:24px}
 .ref-mobile-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 4px}
 .ref-mobile-nav>a,.ref-mobile-nav>button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:40px;margin:0;padding:4px 2px;border:0;background:white;color:var(--dao-green);font:600 14px/1.4 var(--dao-font);text-align:center;word-break:keep-all;overflow-wrap:anywhere}
 .ref-mobile :is(a,button):focus-visible{outline:2px solid var(--dao-gold);outline-offset:-2px}
 .ref-mobile-hero{position:relative;display:grid;align-items:center;min-height:200px;overflow:hidden;background:var(--dao-green);color:white}
 .ref-mobile-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
 .ref-mobile-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#04342ee8,#04342e77 72%,#04342e22)}
 .ref-mobile-hero-copy{position:relative;z-index:1;padding:22px 20px;display:grid;gap:8px}
 .ref-mobile-hero-copy p{margin:0;font-size:14px;line-height:1.5}
 .ref-mobile-hero-copy h1{margin:0;color:white;font:700 clamp(30px,8.5vw,44px)/1.1 Georgia,serif}
 .ref-mobile-hero-copy .ref-mobile-premium{font:italic 23px/1.3 Georgia,serif;color:var(--dao-gold)}
 .ref-mobile-hero-copy .ref-mobile-tagline{margin-top:4px;font-size:15px;font-weight:600}
 .ref-mobile-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;padding:14px 12px}
 .ref-mobile-category{display:flex;flex-direction:column;align-items:center;min-width:0;border:1px solid var(--dao-line);border-radius:9px;overflow:hidden;background:#fff;color:var(--dao-green);text-align:center}
 .ref-mobile-photo{display:block;flex:none;width:100%;height:70px}
 .ref-mobile-category-icon{display:block;z-index:1;flex:none;width:34px;height:34px;margin-top:-17px;border-radius:50%}
 .ref-mobile-category h2{margin:8px 5px 5px;font:700 14px/1.45 var(--dao-font);word-break:keep-all;overflow-wrap:anywhere;min-height:41px;display:flex;align-items:center;justify-content:center}
 .ref-mobile-category p{margin:0;padding:0 7px 12px;color:#303742;font:400 12px/1.5 var(--dao-font);overflow-wrap:anywhere;word-break:normal}
 .ref-mobile-recommendations{display:block;padding:12px 0 20px}
 .ref-mobile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 12px 12px;color:var(--dao-green)}
 .ref-mobile-section-heading h2{margin:0;font-size:20px;line-height:1.4}
 .ref-mobile-section-heading>a{font-size:13px;line-height:1.4;flex:none;padding:8px 0}
 .ref-mobile-recommend-window{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding:0 12px 8px;scroll-snap-type:x mandatory;scrollbar-width:thin;touch-action:pan-x pan-y}
 .ref-mobile-recommend-card{position:relative;display:block;flex:0 0 78%;min-width:0;height:150px;overflow:hidden;border-radius:9px;background:var(--dao-green);color:white;scroll-snap-align:start}
 .ref-mobile-recommend-card>svg{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:0}
 .ref-mobile-recommend-card>div{position:absolute;inset:auto 0 0;display:grid;align-content:end;gap:4px;min-height:86px;padding:12px;background:linear-gradient(transparent,#073b32 10px);text-align:left}
 .ref-mobile-recommend-card h3{margin:0;font-size:17px;line-height:1.4;color:white}
 .ref-mobile-recommend-card p{margin:0;font-size:13px;line-height:1.4;color:white}
 .ref-mobile-footer{display:grid;justify-items:center;gap:14px;padding:20px 16px 24px;background:#073b32;color:white}
 .ref-mobile-footer-brand{display:block;width:200px;max-width:80%}
 .ref-mobile-footer-brand svg{display:block;width:100%;aspect-ratio:226/56}
 .ref-mobile-footer-brand{mix-blend-mode:lighten}
 .ref-mobile-footer>p{margin:0;font-size:14px;line-height:1.6;text-align:center}
 .ref-mobile-channels{display:flex;justify-content:center;align-items:center;gap:16px}
 .ref-mobile-channels button{display:grid;place-items:center;width:44px;height:44px;padding:2px;border:0;background:transparent;cursor:pointer}
 .ref-mobile-channels svg{display:block;width:40px;height:40px}
 .ref-mobile-channels button:not([data-review-channel=instagram]) svg{border-radius:50%}
}

/* Requested hero slideshow: reuse the original artwork without modifying image files. */
.ref-slideshow .ref-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease;pointer-events:none}
.ref-slideshow .ref-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.ref-category-slide{color:white;background:var(--dao-green)}
.ref-category-slide>.ref-scene{position:absolute;inset:0;width:100%;height:100%}
.ref-category-slide:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#04342ef2,#04342e88 50%,transparent)}
.ref-slide-copy{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:20px 5.5% 36px;max-width:80%}
.ref-slide-copy h2{color:white;font-size:clamp(24px,3.3vw,52px);line-height:1.25;margin:0 0 12px}
.ref-slide-copy p{color:white;font-size:clamp(14px,1.4vw,23px);margin:0;line-height:1.5;word-break:keep-all}
.ref-hero-controls{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;background:#073f3570;border-radius:20px;padding:0 4px}
.ref-hero-controls button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:transparent;color:white;cursor:pointer}
.ref-hero-controls [data-hero-dot] span{width:8px;height:8px;background:#ffffff88;border-radius:50%}
.ref-hero-controls [aria-pressed=true][data-hero-dot] span{background:var(--dao-gold);outline:1px solid white;outline-offset:2px}
.ref-hero-controls button:focus-visible{outline:2px solid white;outline-offset:-2px}
@media(max-width:767px){
 .reference-page .ref-slideshow{height:230px;min-height:230px}
 .ref-hero-slide>.ref-artwork,.ref-hero-slide>.ref-target,.ref-hero-slide>.ref-sr{display:none}
 .ref-hero-slide>.ref-mobile-hero{height:100%;min-height:230px}
 .ref-hero-slide .ref-mobile-hero-copy{padding-bottom:42px}
 .ref-slide-copy{max-width:100%;padding:22px 20px 48px}
 .ref-slide-copy h2{font-size:28px}
 .ref-slide-copy p{font-size:15px}
 .ref-hero-controls button{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){.ref-slideshow .ref-hero-slide{transition:none}}

.golf-course-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.golf-course-buttons .button{white-space:normal;text-align:center}.golf-course-buttons [aria-pressed=true]{background:var(--dao-green);color:white}

/* Requested homepage order; retain the original category photography. */
.ref-category-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ref-home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:20px 4.2%}
.ref-home-card{position:relative;overflow:hidden;border:1px solid var(--dao-line);border-radius:12px;background:linear-gradient(white,#faf9f6);color:var(--dao-green)}
.ref-home-photo{aspect-ratio:453/104;overflow:hidden}
.ref-home-photo>:is(img,svg),.ref-home-recommend-photo>:is(img,svg){display:block;width:100%;height:100%;object-fit:cover}
.ref-home-card-icon,.ref-home-hotel-icon{position:absolute;top:calc((100vw - 8.4vw - 36px)/3 * 104/453 - 24px);left:4%;width:17%;aspect-ratio:1}
.ref-home-hotel-icon{display:grid;place-items:center;border-radius:50%;background:var(--dao-green);border:2px solid var(--dao-gold);color:white;font-size:32px}
.ref-home-card-copy{min-height:82px;padding:13px 12px 13px 22%;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:6px}
.ref-home-card h2{font-size:clamp(18px,1.6vw,28px);line-height:1.35;margin:0;color:var(--dao-green)}
.ref-home-card p{font-size:clamp(12px,.85vw,16px);line-height:1.5;margin:0;word-break:keep-all}
.ref-home-recommendations{padding:0 4.2% 20px}
.ref-home-recommend-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 12px}
.ref-home-recommend-heading h2{font-size:20px;margin:0;color:var(--dao-green)}
.ref-home-recommend-heading h2:before{content:'—';color:var(--dao-gold);margin-right:12px}
.ref-home-recommend-heading>a{color:var(--dao-green);font-size:14px}
.ref-home-recommend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ref-home-recommend-grid>a{background:var(--dao-green);color:white;border-radius:8px;overflow:hidden}
.ref-home-recommend-photo{height:65px;overflow:hidden}
.ref-home-recommend-copy{padding:9px 10px 12px;text-align:center;min-height:65px}
.ref-home-recommend-copy h3{margin:0;color:white;font-size:16px;line-height:1.4}
.ref-home-recommend-copy p{font-size:12px;margin:6px 0 0;line-height:1.4}
@media(max-width:767px){
 .ref-home-cards{gap:10px 8px;padding:14px 12px}
 .ref-home-photo{aspect-ratio:1.7}
 .ref-home-card-icon,.ref-home-hotel-icon{top:calc((100vw - 40px)/3 / 1.7 - 17px);width:34px;left:calc(50% - 17px);font-size:21px}
 .ref-home-card-copy{padding:28px 8px 12px;min-height:150px;justify-content:flex-start}
 .ref-home-card h2{font-size:14px;line-height:1.5;word-break:keep-all}
 .ref-home-card p{font-size:12px;line-height:1.5}
 .ref-home-recommendations{padding:0 12px 16px}
 .ref-home-recommend-heading h2{font-size:18px}
 .ref-home-recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ref-home-recommend-copy h3{font-size:14px}
}

.ref-home-card[href="#/hotels/"] .ref-home-photo>img{object-position:center}

/* Reuse the main header on category and information pages. */
body.shared-header-active>.site-header{display:none}
.ref-category-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
