/* Shared edge-to-edge brand banner; preserve the approved logo's aspect ratio. */
.inland-full-banner{width:100%;display:flex;justify-content:center;align-items:center;background:#fff;border-bottom:1px solid #d5e0e8;padding:12px 20px;box-sizing:border-box}
.inland-full-banner a{display:block;width:min(440px,80vw);line-height:0}
.inland-full-banner img{display:block;width:100%;height:auto;max-height:125px;object-fit:contain}
header:has(.inland-full-banner) .nav-row>.brand,header:has(.inland-full-banner) .header-inner>.brand,header:has(.inland-full-banner) .fd-head-inner>.fd-brand,header:has(.inland-full-banner) .nav>.brand{display:none}
@media(max-width:800px){.inland-full-banner{padding:10px 16px}.inland-full-banner a{width:min(330px,82vw)}.inland-full-banner img{max-height:100px}}

/* A full-width brand area followed by one consistent, legible navigation row. */
.inland-full-banner { padding: 8px 20px; }
.inland-full-banner a { width: min(720px, 90vw); }
.inland-full-banner img { max-height: none; }
header.fd-header:has(.inland-full-banner) { position: relative; inset: auto; width: 100%; height: auto; overflow: visible; background: #fff; color: #102a43; border: 0; }
header.fd-header:has(.inland-full-banner) .fd-head-inner { display: flex; max-width: 1440px; min-height: 72px; margin: auto; padding: 10px 4%; gap: 18px; align-items: center; justify-content: space-between; }
header.fd-header:has(.inland-full-banner) .fd-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 20px; margin: 0; }
header.fd-header:has(.inland-full-banner) .fd-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 4px 0; border: 0; color: #102a43; font-size: 1rem; font-weight: 600; text-decoration: none; }
header.fd-header:has(.inland-full-banner) .fd-book { display: inline-flex; width: auto; flex-shrink: 0; min-height: 48px; font-size: 1rem; }
header.fd-header:has(.inland-full-banner) .fd-menu { display: none; }
.fd-atherton:has(.inland-full-banner) { padding-left: 0; }
.fd-atherton:has(.inland-full-banner) .fd-review-bar { margin-left: 0; }
@media(max-width: 1100px) {
 header.fd-header:has(.inland-full-banner) .fd-nav { display: none; }
 header.fd-header:has(.inland-full-banner) .fd-menu { display: block; margin-left: 0; }
 header.fd-header:has(.inland-full-banner) .fd-head-inner { justify-content: space-between; }
 header.fd-header:has(.inland-full-banner) .fd-menu summary { min-height: 48px; font-size: 1rem; }
}
@media(max-width: 700px) {
 .inland-full-banner { padding: 8px 12px; }
 .inland-full-banner a { width: min(520px, 94vw); }
 .inland-full-banner img { max-height: none; }
 header:has(.inland-full-banner) { position: relative; }
}

/* The office numbers belong with the brand; navigation follows immediately below. */
.inland-full-banner{flex-direction:column;gap:4px;padding-bottom:14px}
.inland-full-banner .inland-banner-contacts{display:flex;justify-content:center;align-items:center;gap:12px 30px;flex-wrap:wrap}
.inland-full-banner .inland-banner-contacts a{width:auto;max-width:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:4px 9px;color:#10385e;font:600 17px/1.4 system-ui,sans-serif;text-decoration:none;border-radius:5px}
.inland-full-banner .inland-banner-contacts a span{color:#075aa5;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.inland-full-banner .inland-banner-contacts a:focus-visible{outline:3px solid #075aa5;outline-offset:2px}
body:has(.inland-full-banner) .microbar{display:none}
header:has(.inland-full-banner) .fd-nav a,header:has(.inland-full-banner) .nav-links a,header:has(.inland-full-banner) .desktop-nav>a{font-size:16px;line-height:1.4}
@media(max-width:600px){.inland-full-banner{gap:0;padding-bottom:10px}.inland-full-banner .inland-banner-contacts{gap:0 10px}.inland-full-banner .inland-banner-contacts a{font-size:16px;min-height:44px;padding:2px 6px}}
/* Match the green and teal concepts while retaining the same logo artwork. */
.la .inland-full-banner,.rancho .inland-full-banner,.montecito .inland-full-banner,.tribeca .inland-full-banner,.fd-atherton .inland-full-banner,.fd-malibu .inland-full-banner,.fd-beverly-hills .inland-full-banner{border-bottom:3px solid var(--brand,#12666c)}
.la .inland-banner-contacts a,.rancho .inland-banner-contacts a,.montecito .inland-banner-contacts a,.tribeca .inland-banner-contacts a,.fd-atherton .inland-banner-contacts a,.fd-malibu .inland-banner-contacts a,.fd-beverly-hills .inland-banner-contacts a,.la .inland-banner-contacts a span,.rancho .inland-banner-contacts a span,.montecito .inland-banner-contacts a span,.tribeca .inland-banner-contacts a span,.fd-atherton .inland-banner-contacts a span,.fd-malibu .inland-banner-contacts a span,.fd-beverly-hills .inland-banner-contacts a span{color:var(--brand,#12666c)}
/* Keep every instance of the approved logo in harmony with its concept. */
.la img[src="/assets/inland-md-approved-logo.png"],.fd-malibu img[src="/assets/inland-md-approved-logo.png"]{filter:hue-rotate(-38deg) saturate(.8)}
.rancho img[src="/assets/inland-md-approved-logo.png"],.fd-atherton img[src="/assets/inland-md-approved-logo.png"]{filter:hue-rotate(-65deg) saturate(.65)}
.montecito img[src="/assets/inland-md-approved-logo.png"],.tribeca img[src="/assets/inland-md-approved-logo.png"]{filter:sepia(.75) saturate(1.2) hue-rotate(325deg) brightness(.85)}
.fd-beverly-hills img[src="/assets/inland-md-approved-logo.png"]{filter:hue-rotate(130deg) saturate(.65)}
.fd-newport-coast img[src="/assets/inland-md-approved-logo.png"]{filter:hue-rotate(-12deg) saturate(.8)}
.hamptons img[src="/assets/inland-md-approved-logo.png"],.fd-fisher-island img[src="/assets/inland-md-approved-logo.png"]{filter:none}

/* Let the entire header scroll away so page content has the full screen. */
header.site-header:has(.inland-full-banner),
header.fd-header:has(.inland-full-banner){position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;width:100%;max-width:100%;height:auto;overflow:visible}
.inland-full-banner{max-width:100%;box-sizing:border-box}
.inland-full-banner > a{width:min(720px,90%);max-width:100%}
.inland-full-banner > a img{width:100%;height:auto;max-width:100%;object-fit:contain}
@media(max-width:700px){.inland-full-banner > a{width:min(520px,100%)}.inland-full-banner .inland-banner-contacts{max-width:100%}}

/* All mockup headers, including alternate templates, scroll with their page. */
header:has(.inland-full-banner) {
  position: relative !important;
  inset: auto !important;
}

/* Keep only the navigation available while the large brand banner scrolls away. */
header:has(> .inland-full-banner) { display: contents; }
header:has(> .inland-full-banner) > :is(.nav-row, .fd-head-inner, .header-inner, .nav) {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(20px, calc((100% - 1200px) / 2));
  padding-right: max(20px, calc((100% - 1200px) / 2));
  background: #fff;
  border-bottom: 1px solid #cbd8e2;
  box-shadow: 0 3px 12px rgba(16, 42, 67, .08);
}
@media (max-width: 700px) {
  header:has(> .inland-full-banner) > :is(.nav-row, .fd-head-inner, .header-inner, .nav) { padding-left: 16px; padding-right: 16px; }
}

/* Center the navigation and booking action beneath the brand banner. */
@media (min-width: 1101px) {
 header:has(> .inland-full-banner) > :is(.nav-row,.fd-head-inner,.header-inner,.nav) {display:flex;justify-content:center!important;align-items:center;gap:clamp(12px,2vw,28px)}
 header:has(> .inland-full-banner) :is(.fd-nav,.nav-links,.desktop-nav) {display:flex;justify-content:center!important;align-items:center;flex-wrap:wrap;gap:clamp(10px,1.4vw,22px);margin:0}
 header:has(> .inland-full-banner) :is(.header-action,.fd-book,.nav-cta){margin-left:0}
}
@media (max-width:1100px) {
 header:has(> .inland-full-banner) > :is(.nav-row,.fd-head-inner,.header-inner,.nav) {justify-content:center!important;gap:16px}
 header:has(> .inland-full-banner) :is(.fd-menu,.mobile-menu,.mobile-nav){margin-left:0}
}
/* Keep the menu centered and the booking action at the right edge. */
@media (min-width: 1101px) {
 header:has(> .inland-full-banner) > :is(.nav-row,.fd-head-inner,.header-inner,.nav) {justify-content:center!important;position:sticky;padding-left:190px;padding-right:190px}
 header:has(> .inland-full-banner) > :is(.nav-row,.fd-head-inner,.header-inner,.nav) > :is(.header-action,.fd-book,.nav-cta),
 header:has(> .inland-full-banner) .desktop-nav > .nav-cta {position:absolute;right:max(20px,calc((100% - 1200px)/2));top:50%;transform:translateY(-50%);margin:0}
}

/* Shared pages follow the selected Malibu logo and banner palette. */
html[data-presentation="malibu"] body.fd-interior img[src="/assets/inland-md-approved-logo.png"] {filter:hue-rotate(-38deg) saturate(.8)}
html[data-presentation="malibu"] body.fd-interior .inland-full-banner {background:#fff;border-bottom:3px solid #263e44}
html[data-presentation="malibu"] body.fd-interior header :is(.fd-nav a,.fd-menu summary,.fd-menu nav a) {color:#173b3d}
/* Shared pages follow the selected design without a legacy side-rail offset. */
html[data-presentation="atherton"] body.fd-interior { padding-left:0; }
html[data-presentation="malibu"] .fd-interior img[src="/assets/inland-md-approved-logo.png"] { filter:hue-rotate(-38deg) saturate(.8); }
html[data-presentation="atherton"] .fd-interior img[src="/assets/inland-md-approved-logo.png"] { filter:hue-rotate(-65deg) saturate(.65); }
html[data-presentation="newport-coast"] .fd-interior img[src="/assets/inland-md-approved-logo.png"] { filter:hue-rotate(-12deg) saturate(.8); }
html[data-presentation="beverly-hills"] .fd-interior img[src="/assets/inland-md-approved-logo.png"] { filter:hue-rotate(130deg) saturate(.65); }
html[data-presentation="fisher-island"] .fd-interior img[src="/assets/inland-md-approved-logo.png"] { filter:none; }

/* Anchor mobile dropdowns to the full toolbar, not the narrow Menu control. */
@media (max-width:1100px) {
 header:has(> .inland-full-banner) :is(.fd-menu,.mobile-menu,.mobile-nav) {
  position:static;
  min-width:0;
 }
 header:has(> .inland-full-banner) :is(.fd-menu,.mobile-menu,.mobile-nav) > nav {
  position:absolute;
  inset:100% 0 auto;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  max-height:var(--mobile-menu-space, min(65dvh,480px));
  margin:0;
  padding:8px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));
  display:grid;
  gap:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  scroll-padding-block:8px;
  background:#fff;
  border:1px solid #cbd8e2;
  box-shadow:0 12px 24px #102a4326;
  z-index:101;
 }
 header:has(> .inland-full-banner) :is(.fd-menu,.mobile-menu,.mobile-nav) > nav a {
  display:flex;
  align-items:center;
  box-sizing:border-box;
  width:100%;
  min-height:52px;
  padding:12px;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.5;
  text-align:left;
 }
}

/* Five navigational treatments, with the same accessible destinations. */
html[data-presentation="malibu"] header:has(.inland-full-banner) .fd-head-inner {background:#f1f7f4;border-bottom:3px solid #2d6255}
html[data-presentation="malibu"] header:has(.inland-full-banner) .fd-nav a {color:#183c35}
html[data-presentation="fisher-island"] header:has(.inland-full-banner) .fd-head-inner {background:#f4f8ff;border-bottom:2px solid #b6cae9}
html[data-presentation="fisher-island"] header:has(.inland-full-banner) .fd-nav a {color:#173a62;border-radius:24px;padding-inline:10px;background:#e8f0fb}
html[data-presentation="atherton"] header:has(.inland-full-banner) .fd-head-inner {background:#f5f7ef;border-bottom:3px solid #55734b}
html[data-presentation="atherton"] header:has(.inland-full-banner) .fd-nav a {color:#263e2b;border-bottom:2px solid transparent}
html[data-presentation="atherton"] header:has(.inland-full-banner) .fd-nav a:hover {border-bottom-color:#315b3f}
html[data-presentation="newport-coast"] header:has(.inland-full-banner) .fd-head-inner {background:#edf7fa;border-bottom:3px solid #277190}
html[data-presentation="newport-coast"] header:has(.inland-full-banner) .fd-nav a {color:#17445e}
html[data-presentation="beverly-hills"] header:has(.inland-full-banner) .fd-head-inner {background:#faf6f2;border-bottom:3px double #8f6068}
html[data-presentation="beverly-hills"] header:has(.inland-full-banner) .fd-nav a {color:#54313b}
@media(max-width:1100px){header:has(.inland-full-banner) .fd-menu summary{color:#173447;background:#fff;border:1px solid #a4b8bf;border-radius:6px;padding-inline:16px}}
