
@media(max-width:900px){
body>header,body>header.scroll-header-solid{background:transparent!important;box-shadow:none!important;border:0!important;backdrop-filter:none!important}
body>header .brand-logo,body>header.scroll-header-solid .brand-logo{filter:brightness(0) invert(1)!important}
body>header>.menu,body>header .header-tools a,body>header.scroll-header-solid>.menu,body>header.scroll-header-solid .header-tools a{color:#fff!important;text-shadow:0 1px 5px #18241980}
body>header:has(#navigation.open){background:#f9f0e2!important}
body>header:has(#navigation.open) .brand-logo{filter:brightness(0) saturate(100%) invert(34%) sepia(17%) saturate(947%) hue-rotate(52deg) brightness(94%) contrast(85%)!important}
body>header:has(#navigation.open)>.menu,body>header:has(#navigation.open) .header-tools a{color:#4a633d!important;text-shadow:none}
body.reservation-page>header .brand-logo,body.photo-gallery-page>header .brand-logo,body>header.scroll-header-solid .brand-logo{filter:brightness(0) saturate(100%) invert(34%) sepia(17%) saturate(947%) hue-rotate(52deg) brightness(94%) contrast(85%)!important}
body.reservation-page>header>.menu,body.photo-gallery-page>header>.menu,body.reservation-page>header .header-tools a,body.photo-gallery-page>header .header-tools a,body>header.scroll-header-solid>.menu,body>header.scroll-header-solid .header-tools a{color:#4a633d!important;text-shadow:none}
}
@media(max-width:680px){
body.category-page:has(#domain-philosophy-title) #presentation-domaine{display:flex!important;flex-direction:column;gap:32px;height:auto!important;min-height:0!important;margin-bottom:0!important;padding-bottom:0!important}
body.category-page:has(#domain-philosophy-title) #presentation-domaine .domain-intro-text{position:static!important;transform:none!important;height:auto!important;margin-bottom:0!important}
body.category-page:has(#domain-philosophy-title) .domain-portrait-section{display:flex!important;flex-direction:column;position:relative!important;top:auto!important;transform:none!important;height:auto!important;min-height:0!important;margin-top:48px!important;gap:28px}
body.category-page:has(#domain-philosophy-title) .domain-philosophy{position:static!important;transform:none!important;width:100%;padding:0!important}
body.category-page:has(#domain-philosophy-title) .domain-portrait-photos{position:static!important;width:100%!important;transform:none!important}
body.wedding-page .wedding-intro h2 br{display:block!important}
body.category-page:has(#sejours-moments) #sejours-moments .sejours-garden-photo{width:100%;margin:0!important;display:flex;flex-direction:column;gap:16px}
body.category-page:has(#sejours-moments) #sejours-moments .sejours-garden-photo>.stay-detail-photo{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%;height:auto;aspect-ratio:5/3;border:0!important}
body.category-page:has(#sejours-moments) #sejours-moments .sejours-garden-photo figcaption{position:static!important;inset:auto!important;transform:none!important;margin:0;padding:0;line-height:1.5;background:none}
}

@media(max-width:900px){
body>header.scroll-header-solid{background:#f9f0e2!important;box-shadow:0 4px 18px #35452e12!important}
body footer.estate-footer nav.estate-footer-nav{position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-height:none!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;z-index:auto!important}
}
@media(max-width:680px){
body.category-page:has(#domain-philosophy-title) #presentation-domaine{display:flex!important;flex-direction:column;gap:32px!important;height:auto!important;min-height:0!important;overflow:visible;clear:both}
body.category-page:has(#domain-philosophy-title) #presentation-domaine .domain-visual{position:relative!important;flex:none;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;aspect-ratio:5/4}
body.category-page:has(#domain-philosophy-title) #presentation-domaine .domain-overlap-photo{position:static!important;inset:auto!important;display:block;transform:none!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover}
body.category-page:has(#domain-philosophy-title) #presentation-domaine .domain-intro-text{position:static!important;flex:none;width:100%!important;max-height:none!important;height:auto!important;transform:none!important;padding:0!important;overflow:visible}
body.category-page:has(#domain-philosophy-title) .domain-portrait-section{display:flex!important;flex-direction:column!important;clear:both;position:static!important;transform:none!important;margin-top:48px!important;padding-top:0!important;gap:28px!important}
body.wedding-page .wedding-hero{box-sizing:border-box;position:relative;width:100%!important;max-width:none!important;height:100svh!important;min-height:100svh!important;margin:0!important;padding:0!important;overflow:hidden}
body.wedding-page .wedding-hero>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:49% center}
}

/* Keep Domaine text inside the shared mobile gutters; isolate its photographs. */
@media(max-width:680px){
body.category-page:has(#domain-philosophy-title) .category-hero{box-sizing:border-box;width:100%!important;max-width:none!important;height:100svh;min-height:0;padding:88px 7% 45px;overflow:hidden}
body.category-page:has(#domain-philosophy-title) .category-hero>img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;object-position:center 58%}
body.category-page:has(#domain-philosophy-title) #presentation-domaine{box-sizing:border-box;width:86%!important;max-width:none!important;margin:40px auto 0!important;padding:0!important;align-items:stretch}
body.category-page:has(#domain-philosophy-title) #presentation-domaine .domain-visual{box-sizing:border-box;width:100%!important;height:auto!important;aspect-ratio:auto;isolation:isolate}
body.category-page:has(#domain-philosophy-title) #presentation-domaine .domain-visual .sage-light-panel{display:none}
body.category-page:has(#domain-philosophy-title) #presentation-domaine .domain-overlap-photo{display:block;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none;aspect-ratio:5/4;object-fit:cover;object-position:center;float:none;transform:none!important}
body.category-page:has(#domain-philosophy-title) #presentation-domaine .domain-intro-text{box-sizing:border-box;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;overflow-wrap:break-word}
body.category-page:has(#domain-philosophy-title) .domain-portrait-section{box-sizing:border-box;width:86%!important;max-width:none!important;margin:48px auto 40px!important;padding:0!important}
body.category-page:has(#domain-philosophy-title) .domain-philosophy{box-sizing:border-box;max-width:100%;overflow-wrap:break-word}
}

@media(max-width:680px){
/* Reserve space for the seal beneath the stay actions, rather than over them. */
.stay-postcard:has(#stay-invitation-title) .stay-postcard-copy{padding-bottom:126px!important}
.stay-postcard:has(#stay-invitation-title) .stay-postcard-actions{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.stay-postcard:has(#stay-invitation-title)>.domain-logo-seal{width:112px!important;height:112px!important;right:-8px!important;left:auto!important;bottom:-18px!important}
.stay-postcard:has(#stay-invitation-title){margin-bottom:72px!important}
/* Home enquiry: fields, submit, result, then opening information. */
#contact:has(>.home-enquiry-submit){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto auto;row-gap:22px}
#contact:has(>.home-enquiry-submit)>div:first-child{grid-column:1!important;grid-row:1!important}
#contact:has(>.home-enquiry-submit)>#enquiry{grid-column:1!important;grid-row:2!important}
#contact:has(>.home-enquiry-submit)>.home-enquiry-submit{grid-column:1!important;grid-row:3!important}
#contact:has(>.home-enquiry-submit)>#home-enquiry-status{grid-column:1!important;grid-row:4!important}
#contact:has(>.home-enquiry-submit)>.opening-season{grid-column:1!important;grid-row:5!important;height:auto!important;min-height:64px;max-width:100%;width:100%;box-sizing:border-box;margin:0!important}
}
