/* Final reference layouts and original photographs. */
*{box-sizing:border-box}body{margin:0}img{max-width:100%}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #FFE36D;outline-offset:5px}section[id]{scroll-margin-top:100px}.material-container{width:min(1180px,calc(100% - 48px));margin-inline:auto}.material-section{padding:88px 0}.material-section:nth-child(2n){background:#eceeeb}.material-split{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:64px}.material-reading{max-width:850px}.material-copy p:not(.eyebrow){font-size:17px;line-height:1.6;color:#5e625f;margin:0 0 19px}.material-copy .btn{margin:12px 12px 0 0}.material-photo{margin:0;overflow:hidden;border-radius:16px;background:#e7e9e7}.material-photo img{display:block;width:100%;height:auto;max-height:540px;object-fit:cover}.material-photos{display:grid;gap:20px}.material-photos .material-photo:only-child img{min-height:350px}.material-photos .material-photo:not(:only-child) img{max-height:320px}.material-hero{min-height:620px;position:relative;isolation:isolate;display:flex;align-items:center;color:white;padding:90px 0}.material-hero>.material-photo{position:absolute;inset:0;z-index:-2;border-radius:0}.material-hero>.material-photo img{width:100%;height:100%;max-height:none;object-fit:cover}.material-hero:after{content:"";position:absolute;inset:0;z-index:-1;}.material-hero h1{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(36px,5vw,66px);font-weight:400;line-height:1.18;max-width:850px;text-wrap:balance}.material-hero .eyebrow{color:#e2e8d8}.hero-intro{max-width:700px;font-size:clamp(18px,2vw,22px);line-height:1.7;margin:26px 0}.hero-location{font-size:14px;letter-spacing:.07em}.material-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}.material-hero .btn:first-child{background:#FFE36D;color:#152e20}.material-hero .btn+.btn{background:transparent;border:1px solid #fff;color:white}.material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.material-card{padding:32px;border:1px solid #e2e4e2;border-radius:16px;background:#fff;color:#5e625f;line-height:1.8}.material-card h3,.material-card h2{font-family:'Libre Baskerville',Georgia,serif;color:#183e2c;font-size:23px;line-height:1.4;margin:0 0 16px}.material-card p{margin:0 0 10px}.room-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.room-grid .material-card{padding:25px}.room-grid h3{font-size:29px}.room-subtitle{color:#6b716c;font-size:14px}.material-signoff{font-size:17px;color:#183e2c;margin:28px 0}.room-photos{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.room-photos img{height:210px;object-fit:cover}.essentials{list-style:none;padding:0;grid-template-columns:repeat(4,minmax(0,1fr))}.essentials li{border:1px solid #e2e4e2;border-radius:12px;padding:24px;background:#fff;color:#183e2c}.destination-grid{margin-top:30px}.material-filters{display:flex;gap:12px;margin-bottom:34px; overflow: overlay;}.material-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.gallery-item{display:block;text-align:left;background:#fff;border:1px solid #e2e4e2;border-radius:14px;overflow:hidden;padding:0;color:#183e2c}.gallery-item img{width:100%;height:260px;object-fit:cover;display:block;transition:transform .25s}.gallery-item:hover img{transform:scale(1.025)}.gallery-item span{display:block;padding:17px;font-size:14px}.gallery-item[hidden]{display:none}#lightbox{border:0;padding:48px 18px 18px;max-width:94vw;max-height:94vh;border-radius:12px;background:#102e20;color:white}#lightboxImg{display:block;max-width:85vw;max-height:75vh;object-fit:contain;margin:auto}#closeLightbox{position:absolute;right:12px;top:4px;border:0;background:transparent;color:white;font-size:32px;width:40px;height:40px}#lightboxCaption{text-align:center;margin:12px 0 0}.btn-gold{color:#173222}.material-hero .material-container{position:relative}header img{height:64px!important;width:auto;max-width:180px;object-fit:contain}
@media(max-width:1000px){.room-grid,.room-photos,.essentials{grid-template-columns:repeat(2,minmax(0,1fr))}.material-split{gap:0px}.material-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.material-container{width:calc(100% - 36px)}.material-section{padding:52px 0}.material-split,.material-grid{grid-template-columns:1fr}.material-hero{min-height:560px;padding:70px 0}.material-hero h1{font-size:38px}.material-gallery{grid-template-columns:1fr}.room-photos,.essentials{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.room-photos img{height:170px}.material-card{padding:25px}.material-photos .material-photo:only-child img{min-height:0}.material-actions .btn{font-size:14px;padding:12px 20px}.essentials li{padding:18px;font-size:14px}.gallery-item img{height:280px}header img{max-width:155px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
.material-photo figcaption{padding:14px 18px;background:#f1f2f1;color:#3f4541;font-size:14px;line-height:1.6}.material-hero-plain{min-height:390px;background:#183e2c}.hero-photo-caption{font-style:italic;font-size:14px;color:#eff0ef}.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero-video-toggle{position:absolute;right:24px;bottom:18px;z-index:2;background:#183e2c;color:#fff;border:1px solid #fff;border-radius:24px;padding:10px 16px;font-size:13px}.material-hero-video{background:#183e2c}.material-video{width:100%;aspect-ratio:16/9;border-radius:16px;background:#102e20}.room-grid:has(.material-photo){grid-template-columns:repeat(2,minmax(0,1fr))}.room-grid .material-photo{margin:20px 0 0}.room-grid .material-photo img{height:auto;max-height:380px;object-fit:contain}.destination-grid .material-photo{margin:18px 0}.destination-grid .material-photo img{aspect-ratio:4/3;object-fit:cover}.destination-link{display:inline-block;margin-top:16px}.material-gallery .gallery-item img{object-fit:contain;background:#eff0ef}.material-gallery .gallery-item span{min-height:76px}.material-hero-video .material-container{padding-bottom:32px}
@media(max-width:640px){.room-grid:has(.material-photo){grid-template-columns:1fr}.material-hero-plain{min-height:350px}.hero-video-toggle{right:18px;bottom:14px}.material-gallery .gallery-item img{height:320px}}

/* Reference colors; original typography, layout and button sizes are inherited above. */
.home-hero{background:#183e2c}
.home-hero .eyebrow,.home-hero h1 span,.home-hero .hero-location svg{color:#FFE36D}
.home-hero h1 span{display:block;font-size:.55em;line-height:1.4}
.home-hero .hero-location svg{width:18px;height:25px;display:inline-block;vertical-align:middle}
.home-hero .btn:first-child{background:#FFE36D;color:#203d22}
.home-hero .btn+.btn{border-color:#FFE36D;background:rgba(21,47,23,.25)}
.home-hero .hero-video-toggle{background:rgba(21,47,23,.65);border-color:rgba(255,227,108,.6)}
body:has(.home-hero) header .btn{background:#FFE36D;color:#203d22}

/* Shared reference palette across all public pages: colors only. */
header .btn{background:#FFE36D;color:#203d22}
.material-hero .eyebrow{color:#FFE36D !important;}
.material-hero .btn:first-child,.btn-gold{background:#FFE36D;color:#203d22}
.material-hero .btn+.btn,.btn-outline{border-color:#FFE36D}
header nav a.text-green-800{color:#3e571c;border-color:#567027}
header nav a:hover{color:#567027}

/* Persistent WhatsApp enquiry action. */
.whatsapp-enquiry{left:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:45;background:#FFE36D;color:#203d22;box-shadow:0 4px 18px rgba(16,46,32,.25);text-decoration:none}
.whatsapp-enquiry:hover{background:#ffdc45}
.whatsapp-enquiry svg{flex-shrink:0}
@media(max-width:640px){.whatsapp-enquiry{left:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));font-size:14px;padding:12px 18px}}
.villa-video-preview{position:relative}
.villa-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:72px;height:72px;border:2px solid white;border-radius:50%;background:#FFE36D;color:#203d22;box-shadow:0 4px 24px #0005}
.villa-play:hover{background:#ffdc45}
#villaVideoDialog{width:min(960px,94vw);max-height:94vh;padding:48px 16px 16px;border:0;border-radius:16px;background:#102e20;color:white}
#villaVideoDialog::backdrop{background:rgba(0,0,0,.8)}
#villaVideoDialog iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
.villa-video-close{position:absolute;right:12px;top:4px;width:40px;height:40px;border:0;background:transparent;color:white;font-size:30px}
#villaVideoDialog>a{display:inline-block;margin-top:12px;text-decoration:underline}
.marina-slides .material-photo[hidden]{display:none}
.marina-controls:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.room-grid .marina-slides .material-photo{margin:0}.room-grid .marina-slides .material-photo img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.marina-slider:focus-visible{outline:3px solid #FFE36D;outline-offset:5px}

/* Your Stay: show the entire photograph, including the silhouette bookshelf. */
.material-photos .material-photo.stay-full-photo img{width:100%;height:auto;min-height:0;max-height:none;object-fit:contain}
/* Nearby temples share the right column beside Pothundy Reservoir. */
.temple-stack{display:flex;flex-direction:column;gap:24px;min-width:0}
.destination-grid .nearby-sample img{aspect-ratio:auto;height:auto;max-height:none;object-fit:contain}

/* Requested footer and action colors only. */
footer{background-color:#344D36;color:#FFFFFF}
footer h3,footer a[href^="tel:"],footer a[href^="mailto:"]{color:#FFFFFF}
footer .text-\[\#E6EBDD\]{color:#E6EBDD}
footer .border-t{border-color:#667763}
body .btn[href$="#enquiry"],body:has(.home-hero) header .btn,.whatsapp-enquiry,.whatsapp-enquiry:hover{background-color:#FFE36D;color:#203d22}
/* Consistent action palette on every public page. */
header .btn,.material-hero .btn:first-child,.home-hero .btn:first-child,body .btn-gold,body .btn[href*="wa.me/"]{background-color:#FFE36D;color:#203d22}
footer a[href*="wa.me/"]{color:#FFE36D}
/* Final shared footer palette for all seven pages. */
.site-footer{background:#344D36;color:#E6EBDD}
.site-footer h3,.site-footer a[href^="tel:"],.site-footer a[href^="mailto:"]{color:#FFFFFF}
.site-footer .border-t{border-color:#667763}
.site-footer a:hover,.site-footer a:focus-visible{color:#FFFFFF}
.site-footer a[href*="wa.me/"]{color:#FFE36D}
body .btn[href$="#enquiry"],body .btn[href*="wa.me/"],body .whatsapp-enquiry:hover{background-color:#FFE36D;color:#344D36}
/* Final palette throughout every public page; color changes only. */
:root{--palette-gray:#5E625F;--palette-gray-light:#F5F6F5;--palette-gray-line:#E2E4E2;--palette-green:#344D36;--palette-white:#FFFFFF;--palette-text:#E6EBDD;--palette-line:#667763;--palette-yellow:#FFE36D}
body,body header,body footer,body main section,body .material-card,body .card,body .amenity,body .essentials li,body .gallery-item,body #mobileMenu{background-color:var(--palette-green)!important;color:var(--palette-text)}
body h1,body h2,body h3,body h4,body .heading,body .material-card h2,body .material-card h3,body .material-signoff,body label,body .text-forest,.site-footer a[href^="tel:"],.site-footer a[href^="mailto:"]{color:var(--palette-white)!important}
body .material-copy p:not(.eyebrow),body .intro,body .hero-intro,body .hero-location,body .room-subtitle,body .eyebrow,body .hero-photo-caption,body .material-card,body .card,body .amenity,body .essentials li,body .gallery-item,body header nav a,body #mobileMenu a{color:var(--palette-text)!important}
body .material-photo figcaption,body .filter{background-color:var(--palette-green);color:var(--palette-text); text-wrap: nowrap;}
body header,body footer .border-t,body .material-card,body .card,body .amenity,body .essentials li,body .gallery-item,body #mobileMenu,body input,body textarea,body select,body header nav a{border-color:var(--palette-line)!important}
body .link,body .destination-link{color:var(--palette-text)}
body .btn-dark,body .btn-outline{background-color:var(--palette-green);color:var(--palette-white);border-color:var(--palette-line)}
body header .btn,body:has(.home-hero) header .btn,body .material-hero .btn:first-child,body .home-hero .btn:first-child,body .btn-gold,body .btn[href$="#enquiry"],body .btn[href*="wa.me/"],body .whatsapp-enquiry,body .whatsapp-enquiry:hover{background-color:var(--palette-yellow);color:var(--palette-green)}
body .home-hero h1 span{color:var(--palette-white)}
body input,body textarea,body select{background-color:var(--palette-white);color:var(--palette-green)}
body .filter.active,body .filter:hover{background-color:var(--palette-yellow);color:var(--palette-green)}
.site-footer{padding:56px 0 28px}
.site-footer>.container{width:min(1180px,calc(100% - 48px));max-width:1180px;margin-inline:auto;padding-inline:0}
.site-footer>.container:first-child{display:grid;grid-template-columns:1.15fr 1.1fr 1fr;gap:48px}
.site-footer>.container:first-child>div{min-width:0}
.site-footer a[href="manayunkia-way.php"]{grid-column:1 / -1}
.site-footer a[href^="mailto:"]{overflow-wrap:anywhere}
.site-footer>.container:last-child{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:36px;padding-top:22px}
.site-footer .footer-credit{display:block;flex-basis:auto;text-align:right}
.whatsapp-enquiry[hidden]{display:none!important}
@media(max-width:900px){.site-footer>.container:first-child{grid-template-columns:1fr 1fr;gap:32px}.site-footer>.container:first-child>div:first-child{grid-column:1 / -1}}
@media(max-width:540px){.site-footer{padding-top:40px}.site-footer>.container{width:calc(100% - 36px)}.site-footer>.container:first-child{grid-template-columns:1fr;gap:28px}.site-footer>.container:last-child{flex-direction:column;align-items:flex-start;gap:10px;margin-top:28px}.site-footer .footer-credit{text-align:left}}

/* Enquiry controls: consistent inner spacing and safe widths on small screens. */
#enquiryForm label{min-width:0}
#enquiryForm input:not([type="hidden"]),#enquiryForm select,#enquiryForm textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:12px 16px;margin-top:8px;line-height:1.5}
#enquiryForm input:not([type="hidden"]),#enquiryForm select{min-height:48px}
#enquiryForm select{padding-right:36px}
#enquiryForm textarea{resize:vertical}
#lightbox{width:min(1200px,96vw);max-width:96vw;background:#efede8}
#lightboxImg{width:100%;height:65vh;height:65dvh;max-height:65dvh;max-width:100%;object-fit:contain;touch-action:pan-y}
.lightbox-controls{display:flex;align-items:center;justify-content:center;gap:24px}
/* Glimpses single-photo carousel, scoped to this page. */
#singleGallery{max-width:1000px;margin:0 auto;padding-bottom:100px;background:#344D36}
#singleGallery .gallery-viewport{overflow:hidden;width:100%}
#singleGallery .material-gallery{display:flex;gap:0;width:100%;align-items:flex-start;transition:transform 500ms ease;will-change:transform}
#singleGallery .gallery-item{position:relative;flex:0 0 100%;width:100%;min-width:0;border:0;border-radius:0;background:#344D36!important;cursor:zoom-in}
#singleGallery .gallery-item[hidden]{display:none}
#singleGallery .gallery-item img{display:block;width:100%;max-width:100%;height:clamp(180px,50dvh,540px);aspect-ratio:auto;object-fit:contain;margin:0 auto;transform:none;background:#efede8;}
#singleGallery .gallery-item span{display:block;text-align:center;height:5.5em;overflow:auto;padding:12px;line-height:1.5}
#singleGallery .gallery-item:after{content:'View photo ↗';position:absolute;right:12px;top:12px;padding:8px 12px;border-radius:999px;background:#183e2c;color:#fff;font-size:13px;pointer-events:none}
#singleGallery .gallery-item:focus-visible{outline-offset:-4px}
#singleGallery .single-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;margin-top:20px}
#galleryDots{display:flex;gap:8px;margin-top:16px;padding:6px;overflow-x:auto}
#galleryDots button{flex:0 0 60px;height:48px;padding:3px;border:2px solid transparent;border-radius:7px;background:transparent}
#galleryDots button img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}
#galleryDots button[aria-current="true"]{border-color:#FFE36D}
body:has(#singleGallery) #lightbox{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border-radius:0;box-sizing:border-box;padding:64px 20px 20px;overflow:hidden}
body:has(#singleGallery) #lightbox[open]{display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:12px}
body:has(#singleGallery) #lightboxImg{width:100%;height:100%;min-height:0;max-height:100%;margin:0;object-fit:contain;border-radius:0}
body:has(#singleGallery) #lightboxCaption{margin:0;max-height:25dvh;overflow:auto;line-height:1.5}
body:has(#singleGallery) #closeLightbox{top:12px;right:16px;width:44px;height:44px;border:1px solid #a6b39f;border-radius:50%;background:#183e2c;line-height:1}
body:has(#singleGallery) .lightbox-controls .btn{min-width:48px;min-height:48px}
body:has(#lightbox[open]){overflow:hidden}
@media(prefers-reduced-motion:reduce){#singleGallery .material-gallery,#singleGallery .gallery-viewport{transition:none}}
.essentials .amenity-line-icon{display:block;width:36px;height:36px;color:#606060;margin-bottom:14px}

/* Shared header alignment on every public page. */
body header>.container{width:min(1180px,calc(100% - 48px));max-width:1180px;margin-inline:auto;padding-inline:0;min-height:80px;gap:24px}
header nav[aria-label="Main navigation"]{font-size:16px;gap:22px}
header nav[aria-label="Main navigation"] a{position:relative;white-space:nowrap;padding-block:12px;border-bottom:0}
header nav[aria-label="Main navigation"] a.font-bold:after{content:'';position:absolute;left:0;right:0;bottom:4px;height:2px;background:#FFE36D}
header>.container>.btn{white-space:nowrap;flex-shrink:0}
body #mobileMenu{width:min(1180px,calc(100% - 48px));margin-inline:auto;padding-inline:0}
body #mobileMenu[hidden]{display:none}
@media(max-width:1279px){header>.container>.btn{margin-left:auto}}
@media(max-width:640px){body header>.container,body #mobileMenu{width:calc(100% - 36px)}body header>.container{gap:12px}body header img{height:52px!important}}
header nav[aria-label="Mobile navigation"]{font-size:16px}

/* Visible outlines for homepage discovery actions. */
body .btn.btn-outlined-action{box-shadow:inset 0 0 0 1px #FFE36D}
body .btn.btn-outlined-action:hover{background-color:#FFE36D;color:#344D36}

/* Contact content alignment; the hero uses the shared material hero styles. */
body:has(#enquiryForm) main .container{width:min(1180px,calc(100% - 48px));max-width:1180px;margin-inline:auto;padding-inline:0}
body:has(#enquiryForm) #enquiry{padding:28px 0 56px}
body:has(#enquiryForm) #enquiry>.container{align-items:start;gap:40px}
body:has(#enquiryForm) #enquiry .heading{font-size:clamp(28px,3vw,36px);margin-bottom:16px}
body:has(#enquiryForm) #enquiry .intro{font-size:16px;line-height:1.65;margin-bottom:22px}
body:has(#enquiryForm) #enquiry a[href^="mailto:"]{overflow-wrap:anywhere}
@media(max-width:640px){
  body:has(#enquiryForm) main .container{width:calc(100% - 36px)}
  body:has(#enquiryForm) #enquiry{padding-top:20px}
  body:has(#enquiryForm) #enquiry>.container{gap:28px}
}

/* Design system v2 (colour distribution brief). These rules override the forced-green block above by specificity. */
:root{--palette-yellow:#FFE36D;--palette-warm-white:#FAF8F4;--palette-stone:#EFEDE8;--palette-charcoal:#2E312F}
body{background-color:var(--palette-warm-white)!important}
body main .material-section:nth-child(odd){background-color:var(--palette-warm-white)!important;color:var(--palette-charcoal)!important}
body main .material-section:nth-child(even){background-color:var(--palette-stone)!important;color:var(--palette-charcoal)!important}
body main .material-section h1,body main .material-section h2,body main .material-section h3,body main .material-section .heading{color:var(--palette-green)!important}
body main .material-section p,body main .material-section li,body main .material-section .eyebrow{color:#4A4F4B!important}
body main .material-section .material-card{background-color:#fff!important;border:1px solid var(--palette-gray-line)!important;border-radius:16px!important;box-shadow:0 6px 18px rgba(46,49,47,.06)!important;transition:transform .25s ease,box-shadow .25s ease}
body main .material-section .material-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(46,49,47,.1)}
body main .material-section .material-card h2,body main .material-section .material-card h3{color:var(--palette-green)!important}
body .site-footer{background-color:#344D36!important}
header{border-bottom:1px solid rgba(255,255,255,.08)}
/* Body copy inside light sections: outrank the older two-class text rules. */
body main .material-section .material-copy p:not(.eyebrow),body main .material-section .hero-intro,body main .material-section .intro,body main .material-section .room-subtitle{color:#4A4F4B!important}
body main .material-section .material-copy .eyebrow,body main .material-section .eyebrow{color:var(--palette-green)!important}
/* Text visibility: links, quotes and status text on light surfaces; gallery surface follows the light palette. */
body main .material-section .destination-link,body main .material-section .link,body main .material-section blockquote,body main .material-section .marina-status,body main .material-section .room-subtitle{color:var(--palette-green)!important}
body main .material-section .essentials li{background-color:#fff!important;color:var(--palette-charcoal)!important}
body #singleGallery{background-color:var(--palette-warm-white)!important}
body #singleGallery .gallery-item{background-color:#efede8 !important}
body #singleGallery span,body #singleGallery .gallery-item span,body .gallery-status,body #singleGallery [class*="status"]{color:var(--palette-charcoal)!important}
/* Hide material actions on mobile only */
@media screen and (max-width: 767px) {.material-actions {display: none !important;}}


/* mobile correction*/

@media screen and (max-width: 767px) {
    /* Accommodation section */
    .material-split:has(.villa-video-preview) {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Allow button to be reordered */
    .material-split:has(.villa-video-preview) .material-copy {
        display: contents;
    }

    /* Heading and description first */
    .material-split:has(.villa-video-preview) .eyebrow,
    .material-split:has(.villa-video-preview) .heading,
    .material-split:has(.villa-video-preview) .material-copy p {
        order: 1;
    }

    /* Video second */
    .material-split:has(.villa-video-preview) .material-photos {
        order: 2;
        width: 100%;
    }

    /* Explore button below video */
    .material-split:has(.villa-video-preview) .btn-outlined-action {
        order: 3;
        align-self: left;
        margin-top: 20px;
    }
}


@media screen and (max-width: 767px) {
    #rooms > .material-container {
        display: flex;
        flex-direction: column;
    }

    /* Room heading and cards above image */
    #rooms .eyebrow,
    #rooms .heading,
    #rooms .intro,
    #rooms .room-grid {
        order: 0;
    }

    /* Room image */
    #rooms .material-photo {
        order: 1;
        margin-top: 64px;
    }

    /* Text below image */
    #rooms .material-signoff {
        order: 2;
        margin-top: 22px;
        margin-bottom: 20px;
        font-family: DM Sans;
        font-size: 17px;
        line-height: 1.35;
        color: #183e2c;
    }

    /* View Our Rooms button */
    #rooms .material-actions {
        display: flex !important;
        order: 3 !important;
        margin-top: 0 !important;
        margin-bottom: 28px !important;
        justify-content: flex-start !important;
    }

    #rooms .material-actions .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #294832 !important;
        color: #ffffff !important;
        border: 1.5px solid #FFE36D !important;
        box-shadow: inset 0 0 0 1px #FFE36D !important;
        border-radius: 999px !important;
        padding: 13px 26px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        letter-spacing: .01em !important;
        width: auto !important;
        transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease !important;
    }

    #rooms .material-actions .btn:hover,
    #rooms .material-actions .btn:active {
        background-color: #FFE36D !important;
        color: #183e2c !important;
        transform: translateY(-2px) !important;
    }
}

@media screen and (max-width: 767px) {
    /* Experience section (A Day at Manayunkia - Teaser Film) */
    #experience .material-split {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Allow button & video to be reordered */
    #experience .material-copy {
        display: contents !important;
    }

    /* Heading and description first */
    #experience .eyebrow,
    #experience .heading,
    #experience .material-copy p {
        order: 1 !important;
    }

    /* Video above the button (second) */
    #experience .experience-video-wrapper,
    #experience .material-split > div:not(.material-copy) {
        order: 2 !important;
        width: 100% !important;
        margin-top: 14px !important;
        margin-bottom: 20px !important;
    }

    #experience .experience-video-wrapper .link {
        display: inline-block !important;
        margin-top: 8px !important;
        margin-bottom: 14px !important;
    }

    /* Explore The Surroundings button down below video (third) */
    #experience .btn-outlined-action,
    #experience .material-copy a.btn {
        display: inline-flex !important;
        order: 3 !important;
        align-self: flex-start !important;
        margin-top: 0 !important;
        margin-bottom: 24px !important;
    }
}

@media screen and (max-width: 767px) {
    /* Your Stay section (Sharing the Manayunkia experience) */
    .material-split:has(.stay-full-photo),
    #your-stay .material-split {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Allow buttons & photo to be reordered */
    .material-split:has(.stay-full-photo) .material-copy,
    #your-stay .material-copy {
        display: contents !important;
    }

    /* Heading and description first */
    .material-split:has(.stay-full-photo) .eyebrow,
    .material-split:has(.stay-full-photo) .heading,
    .material-split:has(.stay-full-photo) .material-copy p,
    #your-stay .eyebrow,
    #your-stay .heading,
    #your-stay .material-copy p {
        order: 1 !important;
    }

    /* Hide Check Availability button on mobile */
    .material-split:has(.stay-full-photo) a[href*="#enquiry"],
    .material-split:has(.stay-full-photo) a[href*="contact.php#enquiry"],
    #your-stay a[href*="#enquiry"],
    #your-stay a[href*="contact.php#enquiry"] {
        display: none !important;
    }

    /* Image above the contact button */
    .material-split:has(.stay-full-photo) .material-photos,
    #your-stay .material-photos {
        order: 2 !important;
        width: 100% !important;
        margin-top: 14px !important;
        margin-bottom: 20px !important;
    }

    /* Contact button down (below image) */
    .material-split:has(.stay-full-photo) a.btn[href="contact.php"],
    .material-split:has(.stay-full-photo) .material-copy a.btn:not([href*="#enquiry"]),
    #your-stay a.btn[href="contact.php"],
    #your-stay .material-copy a.btn:not([href*="#enquiry"]) {
        display: inline-flex !important;
        order: 3 !important;
        align-self: flex-start !important;
        margin-top: 0 !important;
        margin-bottom: 24px !important;
        border-radius: 999px !important;
        padding: 13px 26px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        background-color: #294832 !important;
        color: #ffffff !important;
        transition: transform .2s ease, background-color .2s ease !important;
    }

    .material-split:has(.stay-full-photo) a.btn[href="contact.php"]:hover,
    #your-stay a.btn[href="contact.php"]:hover {
        background-color: #FFE36D !important;
        color: #183e2c !important;
        transform: translateY(-2px) !important;
    }
}

/* Hero section: clean high-contrast styling without background gradient or text-shadow */
body .material-hero:after,
body .our-story-hero:after,
body .explore-hero:after {
    display: none !important;
    background: none !important;
}

.material-hero,
.our-story-hero,
.explore-hero,
.material-hero *,
.our-story-hero *,
.explore-hero * {
    text-shadow: none !important;
}

body .material-hero .eyebrow,
body .our-story-hero .eyebrow {
    color: #FFE36D !important;
    font-weight: 700 !important;
    letter-spacing: .24em !important;
    text-transform: uppercase !important;
    margin-bottom: 16px !important;
}
body .material-hero h1,
body .our-story-hero h1 {
    color: #FFFFFF !important;
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: clamp(36px, 5vw, 62px) !important;
    font-weight: 400 !important;
    line-height: 1.18 !important;
    max-width: 850px !important;
    margin-bottom: 20px !important;
}
body .material-hero .hero-intro,
body .our-story-hero .hero-intro {
    color: #FFFFFF !important;
    font-size: clamp(17px, 2vw, 22px) !important;
    line-height: 1.65 !important;
    max-width: 720px !important;
    margin-bottom: 28px !important;
}
body .material-hero .hero-photo-caption {
    color: #e2e8d8 !important;
    font-style: italic !important;
    font-size: 14px !important;
    margin-bottom: 18px !important;
}
body .material-hero .material-actions .btn:first-child,
body .our-story-hero .material-actions .btn:first-child {
    background-color: #FFE36D !important;
    color: #183e2c !important;
    border: 1.5px solid #FFE36D !important;
    font-weight: 700 !important;
}
body .material-hero .material-actions .btn:first-child:hover,
body .our-story-hero .material-actions .btn:first-child:hover {
    background-color: #ffd95c !important;
    transform: translateY(-2px) !important;
}
body .material-hero .material-actions .btn + .btn,
body .our-story-hero .material-actions .btn + .btn {
    background-color: rgba(24, 62, 44, 0.75) !important;
    color: #FFFFFF !important;
    border: 1.5px solid #FFFFFF !important;
    font-weight: 700 !important;
    backdrop-filter: blur(4px) !important;
}
body .material-hero .material-actions .btn + .btn:hover,
body .our-story-hero .material-actions .btn + .btn:hover {
    background-color: #FFE36D !important;
    color: #183e2c !important;
    border-color: #FFE36D !important;
    transform: translateY(-2px) !important;
}

/* Discover Page: High-contrast text legibility for film and map cards */
.discover-films-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    width: 100% !important;
}

body main .material-section .material-card .card.discover-film-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body main .material-section .material-card .card.discover-film-card h3 {
    font-size: clamp(20px, 2.4vw, 25px) !important;
    margin: 14px 0 8px 0 !important;
}

body main .material-section .material-card .card.discover-film-card p {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
}

body main .material-section .material-card .card,
body main .material-section .discover-film-card,
body main .material-section .discover-map-card {
    background-color: #183E2C !important;
    border: 1px solid rgba(255, 227, 108, 0.35) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16) !important;
}

body main .material-section .material-card .card h3,
body main .material-section .discover-film-card h3,
body main .material-section .discover-map-card h3 {
    color: #FFFFFF !important;
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 10px 0 8px 0 !important;
    text-shadow: none !important;
}

body main .material-section .material-card .card p,
body main .material-section .discover-film-card p,
body main .material-section .discover-map-card p {
    color: #E6EBDD !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    text-shadow: none !important;
}

body main .material-section .material-card .card .btn-gold,
body main .material-section .discover-film-card .btn-gold,
body main .material-section .discover-map-card .btn-gold {
    background-color: #FFE36D !important;
    color: #183E2C !important;
    font-weight: 700 !important;
    border: 1.5px solid #FFE36D !important;
    text-shadow: none !important;
}

body main .material-section .material-card .card .btn-gold:hover,
body main .material-section .discover-film-card .btn-gold:hover,
body main .material-section .discover-map-card .btn-gold:hover {
    background-color: #ffd95c !important;
    color: #183E2C !important;
    transform: translateY(-2px) !important;
}

/* WhatsApp Enquiry - Positioned at bottom-right with luxury styling */
.whatsapp-enquiry {
    right: 24px !important;
    left: auto !important;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 45 !important;
    background-color: #FFE178 !important;
    color: #183D2B !important;
    box-shadow: 0 4px 18px rgba(24, 61, 43, 0.25) !important;
    border-radius: 999px !important;
    padding: 13px 22px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}
.whatsapp-enquiry:hover {
    background-color: #ffd95c !important;
    color: #183D2B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(24, 61, 43, 0.32) !important;
}
@media (max-width: 640px) {
    .whatsapp-enquiry {
        right: 16px !important;
        left: auto !important;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}

/* ========================================================
   EXPLORE PAGE REDESIGN — PREMIUM BOUTIQUE HOMESTAY LAYOUT
   ======================================================== */

/* Explore Hero: Luxury nature-inspired with readable overlay */
.explore-hero {
    position: relative !important;
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
    color: #FFFFFF !important;
    padding: 96px 0 !important;
    background-color: #183D2B !important;
    overflow: hidden !important;
}
.explore-hero:after {
    display: none !important;
}
.explore-hero .eyebrow {
    color: #FFE178 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase !important;
    margin-bottom: 16px !important;
    text-shadow: none !important;
}
.explore-hero h1 {
    font-family: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif !important;
    font-size: clamp(38px, 4.8vw, 62px) !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    max-width: 820px !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
    margin-bottom: 20px !important;
}
.explore-hero .hero-intro {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: clamp(17px, 1.8vw, 21px) !important;
    line-height: 1.65 !important;
    max-width: 680px !important;
    color: #F5F2EC !important;
    margin: 0 0 28px 0 !important;
    text-shadow: none !important;
}

.explore-hero .material-actions .btn {
    border-radius: 999px !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}
.explore-hero .material-actions .btn-gold {
    background-color: #FFE178 !important;
    color: #183D2B !important;
    border: 1.5px solid #FFE178 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}
.explore-hero .material-actions .btn-gold:hover {
    background-color: #ffd95c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}
.explore-hero .material-actions .btn-outline {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border: 1.5px solid #FFE178 !important;
    backdrop-filter: blur(4px) !important;
}
.explore-hero .material-actions .btn-outline:hover {
    background-color: #FFE178 !important;
    color: #183D2B !important;
    transform: translateY(-2px) !important;
}
@media (max-width: 640px) {
    .explore-hero {
        min-height: 440px !important;
        padding: 68px 0 !important;
    }
    .explore-hero .material-actions .btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Explore Destination Section Headings */
body main .material-section h2.heading {
    font-family: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif !important;
    color: #183D2B !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 10px !important;
}
body main .material-section p.intro {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    color: #555555 !important;
    font-size: 16.5px !important;
    line-height: 1.65 !important;
    max-width: 800px !important;
    margin-bottom: 28px !important;
}

/* ========================================================
   DISTANCE & MOOD FILTER TABS — STICKY LUXURY SUB-NAV
   ======================================================== */
.explore-tabs-nav {
    position: sticky !important;
    top: 80px !important;
    z-index: 35 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(24, 61, 43, 0.1) !important;
    box-shadow: 0 4px 20px rgba(24, 61, 43, 0.05) !important;
    padding: 14px 0 !important;
    transition: background 0.25s ease, box-shadow 0.25s ease !important;
}

.explore-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 2px 4px !important;
}

.explore-tabs::-webkit-scrollbar {
    display: none !important;
}

.explore-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #183D2B !important;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(24, 61, 43, 0.16) !important;
    box-shadow: 0 2px 8px rgba(24, 61, 43, 0.04) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none !important;
}

.explore-tab:hover {
    background: #f1f4f0 !important;
    border-color: #183D2B !important;
    transform: translateY(-1px) !important;
}

.explore-tab.active,
.explore-tab[aria-selected="true"] {
    background: #183D2B !important;
    color: #FFFFFF !important;
    border-color: #183D2B !important;
    box-shadow: 0 4px 16px rgba(24, 61, 43, 0.22) !important;
}

.explore-tab .tab-icon {
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.explore-tab .tab-label {
    font-weight: 600 !important;
}

.explore-tab .tab-distance {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #44614e !important;
    background: #eef2ec !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

.explore-tab.active .tab-distance,
.explore-tab[aria-selected="true"] .tab-distance {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #eaf3ec !important;
}

.explore-tab .tab-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    background: #eef2ec !important;
    color: #183D2B !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

.explore-tab.active .tab-count,
.explore-tab[aria-selected="true"] .tab-count {
    background: #FFE178 !important;
    color: #183D2B !important;
}

.explore-section {
    scroll-margin-top: 160px !important;
    transition: opacity 0.25s ease !important;
}

@media (max-width: 640px) {
    .explore-tabs-nav {
        top: 72px !important;
        padding: 10px 0 !important;
    }
    .explore-tab {
        padding: 7px 14px !important;
        font-size: 12.5px !important;
        gap: 6px !important;
    }
    .explore-tab .tab-distance {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }
    .explore-tab .tab-count {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }
}

/* Single-Column Stack Layout with Alternating Left/Right Image Shuffle */
.destination-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    align-items: stretch !important;
    margin-top: 32px !important;
    width: 100% !important;
}

/* Single-card section: centered and proportionate */
.destination-grid.destination-grid-single,
.destination-grid:has(> .destination-card:only-child) {
    max-width: 100% !important;
    margin-inline: auto !important;
}

/* ========================================================
   1. FEATURED DESTINATION CARD (Full-Width, Image Above, Details Below)
   ======================================================== */
.destination-card.destination-card-featured {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 26px !important;
    background: #FFFFFF !important;
    border-radius: 20px !important;
    border: 1px solid rgba(24, 61, 43, 0.08) !important;
    box-shadow: 0 8px 30px rgba(24, 61, 43, 0.06) !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    overflow: hidden !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.destination-card.destination-card-featured:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 38px rgba(24, 61, 43, 0.12) !important;
    border-color: rgba(41, 72, 50, 0.24) !important;
}

/* Featured Photo: Full-width across card, wide cinematic ratio */
.destination-card.destination-card-featured .featured-photo,
.destination-card.destination-card-featured .material-photo {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    aspect-ratio: 16 / 8 !important;
    max-height: 440px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #eef1ed !important;
    margin: 0 0 22px 0 !important;
    position: relative !important;
    display: block !important;
}

.destination-card.destination-card-featured .featured-photo img,
.destination-card.destination-card-featured .material-photo img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 8 !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    transition: transform 0.4s ease !important;
}

.destination-card.destination-card-featured:hover .featured-photo img,
.destination-card.destination-card-featured:hover .material-photo img {
    transform: scale(1.02) !important;
}

/* Featured Destination Header & Kicker */
.destination-kicker {
    display: inline-flex !important;
    align-items: center !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #183D2B !important;
    background-color: #FFE178 !important;
    padding: 5px 13px !important;
    border-radius: 999px !important;
    margin-bottom: 12px !important;
    align-self: flex-start !important;
}

.destination-card.destination-card-featured .destination-body {
    width: 100% !important;
    flex: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.destination-card.destination-card-featured .destination-body h3 {
    font-family: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif !important;
    color: #183D2B !important;
    font-size: clamp(25px, 2.3vw, 32px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 12px 0 !important;
}

.destination-card.destination-card-featured .destination-body p {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    color: #333333 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    max-width: 980px !important;
    margin: 0 0 18px 0 !important;
}

.destination-card.destination-card-featured .destination-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #183D2B !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    align-self: flex-start !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.destination-card.destination-card-featured .destination-link:hover {
    color: #294832 !important;
    transform: translateX(2px) !important;
}

/* ========================================================
   2. STANDARD DESTINATION CARD (Horizontal: 42% Image, 58% Content)
   ======================================================== */
.destination-card:not(.destination-card-featured):not(.no-photo) {
    background-color: #FFFFFF !important;
    border-radius: 20px !important;
    border: 1px solid rgba(226, 228, 226, 0.85) !important;
    box-shadow: 0 4px 18px rgba(24, 61, 43, 0.05) !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 26px !important;
    align-items: center !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.destination-card:not(.destination-card-featured):not(.no-photo):hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(24, 61, 43, 0.1) !important;
    border-color: rgba(41, 72, 50, 0.24) !important;
}

/* Alternating Left / Right Image Shuffle on screens >= 768px */
@media (min-width: 768px) {
    .destination-card.destination-card-reverse,
    .destination-card[data-shuffle="right"],
    .destination-card:not(.destination-card-featured):not(.no-photo):nth-child(even of :not(.destination-card-featured):not(.no-photo)) {
        flex-direction: row-reverse !important;
    }
}

/* Left 42%: Destination Photo — Exact 4/3 aspect-ratio */
.destination-card:not(.destination-card-featured) .material-photo {
    flex: 0 0 42% !important;
    max-width: 42% !important;
    width: 42% !important;
    margin: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: transparent !important;
    position: relative !important;
    display: block !important;
    align-self: flex-start !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.destination-card:not(.destination-card-featured) .material-photo img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    transition: transform 0.35s ease !important;
}

.destination-card:not(.destination-card-featured):hover .material-photo img {
    transform: scale(1.03) !important;
}

/* Destination Photo Caption: Elegant bottom overlay on the photograph */
.destination-card figcaption,
.destination-card .material-photo figcaption {
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 16px 18px 12px !important;
    background: linear-gradient(180deg, transparent 0%, rgba(16, 46, 32, 0.70) 35%, rgba(16, 46, 32, 0.92) 100%) !important;
    color: #FFFFFF !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13.5px !important;
    font-style: italic !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.01em !important;
    text-shadow: none !important;
    border-bottom-left-radius: 14px !important;
    border-bottom-right-radius: 14px !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
}

.destination-card figcaption:empty,
.destination-card .material-photo figcaption:empty {
    display: none !important;
}

/* Right 58%: Destination Content */
.destination-card:not(.destination-card-featured) .destination-body {
    flex: 1 1 58% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.destination-card:not(.destination-card-featured) .destination-body h3 {
    font-family: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif !important;
    color: #183D2B !important;
    font-size: clamp(20px, 1.4vw, 23px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 10px 0 !important;
}

.destination-card:not(.destination-card-featured) .destination-body p {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    color: #333333 !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    margin: 0 0 14px 0 !important;
}

.destination-card:not(.destination-card-featured) .destination-body .destination-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #294832 !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    margin-top: auto !important;
    align-self: flex-start !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.destination-card:not(.destination-card-featured) .destination-body .destination-link:hover {
    color: #183D2B !important;
    transform: translateX(2px) !important;
}

/* ========================================================
   3. COMPACT TEXT-ONLY DESTINATION CARD
   ======================================================== */
.destination-card.no-photo,
.destination-card:not(:has(.material-photo)) {
    background-color: #FFFFFF !important;
    border-radius: 20px !important;
    border: 1px solid rgba(226, 228, 226, 0.85) !important;
    box-shadow: 0 4px 18px rgba(24, 61, 43, 0.04) !important;
    padding: 22px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.destination-card.no-photo:hover,
.destination-card:not(:has(.material-photo)):hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(24, 61, 43, 0.09) !important;
    border-color: rgba(41, 72, 50, 0.24) !important;
}

.destination-card.no-photo .destination-body,
.destination-card:not(:has(.material-photo)) .destination-body {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.destination-card.no-photo .destination-body h3,
.destination-card:not(:has(.material-photo)) .destination-body h3 {
    font-family: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif !important;
    color: #183D2B !important;
    font-size: clamp(20px, 1.4vw, 22px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 10px 0 !important;
}

.destination-card.no-photo .destination-body p,
.destination-card:not(:has(.material-photo)) .destination-body p {
    font-family: 'DM Sans', system-ui, sans-serif !important;
    color: #444444 !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    margin: 0 0 12px 0 !important;
}

.destination-card.no-photo .destination-link,
.destination-card:not(:has(.material-photo)) .destination-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #294832 !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    margin-top: auto !important;
    align-self: flex-start !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.destination-card.no-photo .destination-link:hover,
.destination-card:not(:has(.material-photo)) .destination-link:hover {
    color: #183D2B !important;
    transform: translateX(2px) !important;
}

/* Tablet: 768px – 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .destination-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .destination-card.destination-card-featured {
        padding: 22px !important;
    }
    .destination-card.destination-card-featured .featured-photo,
    .destination-card.destination-card-featured .material-photo {
        aspect-ratio: 16 / 9 !important;
        max-height: 360px !important;
    }
    .destination-card.destination-card-featured .featured-photo img,
    .destination-card.destination-card-featured .material-photo img {
        aspect-ratio: 16 / 9 !important;
    }
    .destination-card:not(.destination-card-featured):not(.no-photo) {
        flex-direction: row !important;
        padding: 20px !important;
        gap: 20px !important;
        align-items: center !important;
    }
    .destination-card.destination-card-reverse,
    .destination-card[data-shuffle="right"],
    .destination-card:not(.destination-card-featured):not(.no-photo):nth-child(even of :not(.destination-card-featured):not(.no-photo)) {
        flex-direction: row-reverse !important;
    }
    .destination-card:not(.destination-card-featured) .material-photo {
        width: 40% !important;
        max-width: 40% !important;
        flex: 0 0 40% !important;
        aspect-ratio: 4 / 3 !important;
        margin-bottom: 0 !important;
    }
    .destination-card:not(.destination-card-featured) .material-photo img {
        aspect-ratio: 4 / 3 !important;
    }
    .destination-body h3 {
        font-size: 19px !important;
    }
    .destination-body p {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
    }
}

/* Mobile: 767px and below — stacked image above text */
@media (max-width: 767px) {
    .destination-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 18px !important;
        margin-top: 22px !important;
    }
    .destination-card.destination-card-featured {
        padding: 18px !important;
        border-radius: 18px !important;
    }
    .destination-card.destination-card-featured .featured-photo,
    .destination-card.destination-card-featured .material-photo {
        aspect-ratio: 16 / 10 !important;
        max-height: 260px !important;
        margin-bottom: 16px !important;
        border-radius: 12px !important;
    }
    .destination-card.destination-card-featured .featured-photo img,
    .destination-card.destination-card-featured .material-photo img {
        aspect-ratio: 16 / 10 !important;
    }
    .destination-card.destination-card-featured .destination-body h3 {
        font-size: 21px !important;
    }
    .destination-card.destination-card-featured .destination-body p {
        font-size: 14.5px !important;
    }
    .destination-card,
    .destination-card.destination-card-reverse,
    .destination-card[data-shuffle="right"],
    .destination-card:not(.destination-card-featured):not(.no-photo) {
        display: flex !important;
        flex-direction: column !important;
        padding: 18px !important;
        border-radius: 18px !important;
        gap: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        grid-row-end: auto !important;
        box-sizing: border-box !important;
    }
    .destination-card .material-photo,
    .destination-card:not(.destination-card-featured) .material-photo {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        aspect-ratio: 16 / 10 !important;
        border-radius: 12px !important;
        align-self: stretch !important;
        margin: 0 0 4px 0 !important;
    }
    .destination-card .material-photo img,
    .destination-card:not(.destination-card-featured) .material-photo img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16 / 10 !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    .destination-card .destination-body,
    .destination-card:not(.destination-card-featured) .destination-body {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }
    .destination-card.no-photo,
    .destination-card:not(:has(.material-photo)) {
        padding: 18px !important;
        border-radius: 18px !important;
    }
    .destination-body h3 {
        font-size: 19px !important;
        margin-bottom: 8px !important;
    }
    .destination-body p {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
    }
}

/* Section 8: CTA Section styling */
.explore-cta-section {
    padding: 72px 0 88px !important;
    background-color: #F5F2EC !important;
}
.explore-cta-section .material-copy {
    text-align: center !important;
}
.explore-cta-section .eyebrow {
    color: #294832 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}
.explore-cta-section .heading {
    margin-bottom: 24px !important;
}
.explore-cta-section .btn-gold {
    background-color: #FFE178 !important;
    color: #183D2B !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 18px rgba(24, 61, 43, 0.15) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.explore-cta-section .btn-gold:hover {
    background-color: #ffd95c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(24, 61, 43, 0.22) !important;
}

/* Stay page – Hide Check Availability on mobile */
@media screen and (max-width: 767px) {
    .material-reading .btn[href="contact.php#enquiry"] {
        display: none !important;
    }
}

/* Enforce .text-xs (0.75rem / 1rem) on all buttons */
.btn, a.btn, button.btn,
.material-actions .btn,
.explore-cta-section .btn-gold,
.explore-hero .material-actions .btn,
body header .btn {
    font-size: 0.75rem !important;
    line-height: 1rem !important;
}

/* ========================================================
   Glimpses Lightbox & Gallery Controls Text Visibility Fix
   ======================================================== */
#lightbox,
body:has(#singleGallery) #lightbox {
    background-color: #FAF8F4 !important;
    color: #183e2c !important;
}

#lightboxCaption,
body:has(#singleGallery) #lightboxCaption,
#singleGallery .gallery-item span,
body #singleGallery .gallery-item span {
    color: #183e2c !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 14px 0 8px !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#lightboxCount,
body:has(#singleGallery) #lightboxCount,
#galleryCount,
body:has(#singleGallery) #galleryCount {
    color: #183e2c !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.lightbox-controls .btn-gold,
.single-controls .btn-gold {
    background-color: #FFE36D !important;
    color: #183e2c !important;
    font-weight: 700 !important;
    border: none !important;
}

.lightbox-controls .btn-gold:hover,
.single-controls .btn-gold:hover {
    background-color: #fcd740 !important;
    transform: scale(1.05) !important;
}

#closeLightbox,
body:has(#singleGallery) #closeLightbox {
    color: #FFE36D !important;
    background-color: #183e2c !important;
    border: 1px solid #23563e !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(24, 62, 44, 0.25) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

#closeLightbox:hover,
body:has(#singleGallery) #closeLightbox:hover {
    background-color: #112d20 !important;
    transform: scale(1.08) !important;
}

/* Spacing between reading/story photographs and text */
.material-reading figure.material-photo,
.material-copy figure.material-photo {
    margin: 24px 0 28px !important;
}

.material-photo + p {
    margin-top: 28px !important;
}

/* ========================================================
   Contact & Phone Link Text Visibility on Light Backgrounds
   ======================================================== */
body main a[href^="tel:"],
body main a[href^="mailto:"],
body .material-section a[href^="tel:"],
body .material-section a[href^="mailto:"],
body .material-card a[href^="tel:"],
body .material-card a[href^="mailto:"],
body .section a[href^="tel:"],
body .section a[href^="mailto:"] {
    color: #183e2c !important;
    text-decoration: underline !important;
}

body main a[href^="tel:"]:hover,
body main a[href^="mailto:"]:hover,
body .material-section a[href^="tel:"]:hover,
body .material-section a[href^="mailto:"]:hover,
body .material-card a[href^="tel:"]:hover,
body .material-card a[href^="mailto:"]:hover,
body .section a[href^="tel:"]:hover,
body .section a[href^="mailto:"]:hover {
    color: #0d281a !important;
}

body main .link,
body .material-section .link,
body .section .link,
body .material-card .link {
    color: #183e2c !important;
}

/* Discover Page Signoff & Property Details: DM Sans font */
.discover-signoff,
.discover-signoff *,
.discover-signoff p,
.discover-signoff span {
    font-family: 'DM Sans', system-ui, sans-serif !important;
}



/* ========================================================
   Contact & Phone Link Text Visibility on Light Backgrounds
   ======================================================== */
body main a[href^="tel:"],
body main a[href^="mailto:"],
body .material-section a[href^="tel:"],
body .material-section a[href^="mailto:"],
body .material-card a[href^="tel:"],
body .material-card a[href^="mailto:"],
body .section a[href^="tel:"],
body .section a[href^="mailto:"] {
    color: #183e2c !important;
    text-decoration: underline !important;
}

body main a[href^="tel:"]:hover,
body main a[href^="mailto:"]:hover,
body .material-section a[href^="tel:"]:hover,
body .material-section a[href^="mailto:"]:hover,
body .material-card a[href^="tel:"]:hover,
body .material-card a[href^="mailto:"]:hover,
body .section a[href^="tel:"]:hover,
body .section a[href^="mailto:"]:hover {
    color: #0d281a !important;
}

body main .link,
body .material-section .link,
body .section .link,
body .material-card .link {
    color: #183e2c !important;
}

/* Discover Page Signoff & Property Details: DM Sans font */
.discover-signoff,
.discover-signoff *,
.discover-signoff p,
.discover-signoff span {
    font-family: 'DM Sans', system-ui, sans-serif !important;
}


