/* Morrison Estates site header + footer ([me_header] / [me_footer] template parts). Loaded site-wide. */
.ms-header,.ms-footer{--navy:#16283d;--ink:#0f1b28;--gold:#b28e4c;--gold-d:#8f6f36;--cream:#f7f5f1;--mute:#5a6270;--soft:#cdd6e0;--pale:#97a4b3;--line:#e3ded6;font-family:Karla,system-ui,sans-serif;line-height:1.7;-webkit-font-smoothing:antialiased;box-sizing:border-box}
.ms-header *,.ms-footer *{box-sizing:border-box}
.ms-header p,.ms-header h3,.ms-footer p,.ms-footer h3{margin:0}
.ms-header a,.ms-footer a{text-decoration:none}

/* Neutralise Supernova's wrappers: <header class="supernova-header header-floated"><nav class="wrap"> and <footer class="supernova-footer"><div class="wrap"> */
header.supernova-header:has(.ms-header){position:sticky!important;top:0;z-index:30;width:100%;background:#fff;padding:0;margin:0;box-shadow:none}
.admin-bar header.supernova-header:has(.ms-header){top:32px}
@media (max-width:782px){.admin-bar header.supernova-header:has(.ms-header){top:46px}}
@media (max-width:600px){.admin-bar header.supernova-header:has(.ms-header){top:0}}
header.supernova-header:has(.ms-header)>nav.wrap{max-width:none;width:100%;margin:0;padding:0;background:transparent;box-shadow:none;border-radius:0;position:static}
header.supernova-header .ms-header nav.ms-nav{padding:0;margin:0;background:transparent;position:static;z-index:auto;box-shadow:none;border-radius:0;max-width:none}
.supernova-footer:has(.ms-footer){padding:0;margin:0;background:#232c47}
.supernova-footer:has(.ms-footer)>.wrap{max-width:none;width:100%;margin:0;padding:0}

/* Cooperate with the Supernova "transparent on homepage, colour on scroll" header option (class header-home-transparent).
   It only takes visual effect on the front page (.home body class); other pages keep the sticky white bar above.
   Fixed positioning itself is forced from JS (me-chrome.js) via an inline !important style — the theme's own
   sticky-header rule for .ms-header otherwise wins the position property even against a higher-specificity
   !important override here. */
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-header,
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-utility,
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-bar{background:transparent;box-shadow:none}
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-nav a{color:#fff}
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-nav a:hover{color:var(--gold)}
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-nav a.ms-nav-cta{background:rgba(255,255,255,.14);color:#fff}
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-burger{background:transparent;border-color:rgba(255,255,255,.55)}
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-burger span{background:#fff}
.home header.header-home-transparent nav.wrap .ms-utility,
.home header.header-home-transparent nav.wrap .ms-bar{transition:background-color .25s ease,box-shadow .25s ease}

/* Compensate the homepage hero: the header now floats over it (position:fixed), so the hero's
   own vertically-centred copy needs extra top padding to clear it. --me-header-h is measured
   and kept in sync by me-chrome.js; the static fallback covers the instant before JS runs. */
.home .mo-hero-body{padding-top:calc(40px + var(--me-header-h, 110px))!important}

/* Two logo images sit in .ms-logo: the usual navy-box one (solid backgrounds) and a white-on-
   transparent one, swapped in only while the homepage header is floating over the hero. */
.ms-header .ms-logo img.ms-logo-img.ms-logo-transparent{display:none}
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-logo-solid{display:none}
.home header.header-home-transparent nav.wrap:not(.nav-scrolled) .ms-logo-transparent{display:block}

/* Landing Page template: let the full-width Morrison pages run edge to edge */
.wrap--landing-page:has(>.mo-page),.wrap--landing-page:has(>.ms-page){max-width:none;width:100%;padding:0;margin:0}

/* header */
.ms-header{position:relative;background:#fff;box-shadow:0 1px 0 var(--line)}
.ms-utility{background:var(--navy);color:var(--cream);padding-block:9px;font-size:13px;letter-spacing:.02em}
.ms-utility-in{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.ms-row-pad{max-width:1180px;margin-inline:auto;width:100%;padding-inline:20px;box-sizing:border-box}
.ms-row-pad--wide{max-width:none;padding-left:max(20px,calc((100% - 1280px) / 2));padding-right:max(20px,calc((100% - 1280px) / 2))}
@media (max-width:782px){.ms-row-pad--wide{padding-inline:20px}}
.ms-utility p{display:flex;flex-wrap:wrap;gap:18px;align-items:center;font-size:13px;line-height:1.5}
.ms-utility .ms-util-r{gap:22px}
.ms-utility a{color:var(--cream);display:inline-flex;align-items:center;gap:7px}
.ms-utility a:hover,.ms-utility a.is-current{color:var(--gold)}
.ms-icon{width:14px;height:14px;flex:none}
.ms-sep{opacity:.4}
.ms-bar{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;padding-block:14px}
.ms-logo a{display:flex;flex-direction:column;gap:2px;color:var(--ink)}
.ms-header .ms-logo img.ms-logo-img,.ms-footer img.ms-logo-img{display:block;height:52px;width:auto;max-width:none}
.ms-footer img.ms-logo-img{height:48px}
@media (max-width:782px){.ms-header .ms-logo img.ms-logo-img{height:44px}}
.ms-logo-name{font-family:Marcellus,Georgia,serif;font-size:26px;line-height:1;letter-spacing:.04em}
.ms-logo-sub{font-size:10px;letter-spacing:.42em;color:var(--gold);font-weight:600;line-height:1.4}
.ms-nav{display:flex;flex-wrap:wrap;gap:26px;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:600;line-height:1.4}
.ms-nav a{color:var(--mute)}
.ms-nav a:hover{color:var(--navy)}
.ms-nav a.ms-nav-cta{background:var(--navy);color:#fff;padding:13px 20px;letter-spacing:.12em}
.ms-nav a.ms-nav-cta:hover{background:var(--ink);color:#fff}

/* minimal nav + burger */
.ms-bar-r{display:flex;align-items:center;gap:28px}
.ms-header .ms-nav{gap:30px}
.ms-nav a.is-current{color:var(--navy)}
.ms-nav a:not(.ms-nav-cta).is-current{box-shadow:inset 0 -2px 0 var(--gold);padding-bottom:6px}
.ms-nav a.ms-nav-cta.is-current{background:var(--ink);color:#fff}
.ms-burger{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:46px;height:46px;padding:0 11px;border:1px solid var(--line);background:#fff;cursor:pointer;transition:border-color .2s}
.ms-burger span{display:block;height:2px;background:var(--navy);transition:transform .3s,opacity .3s}
.ms-burger span:nth-child(2){width:70%;margin-left:auto}
.ms-burger:hover{border-color:var(--navy)}
.ms-burger:hover span:nth-child(2){width:100%}
.ms-burger:focus-visible,.ms-drawer-close:focus-visible,.ms-drawer a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* side menu */
.ms-drawer,.ms-drawer-backdrop{--navy:#16283d;--ink:#0f1b28;--gold:#b28e4c;--cream:#f7f5f1;--soft:#cdd6e0;--pale:#97a4b3;font-family:Karla,system-ui,sans-serif;box-sizing:border-box}
.ms-drawer *{box-sizing:border-box}
.ms-drawer-backdrop{position:fixed;inset:0;z-index:2147483000;background:rgba(15,27,40,.55);opacity:0;transition:opacity .35s ease}
.ms-drawer{position:fixed;top:0;right:0;bottom:0;z-index:2147483001;width:min(420px,100vw);background:var(--navy);color:var(--soft);display:flex;flex-direction:column;transform:translateX(100%);visibility:hidden;transition:transform .4s cubic-bezier(.65,0,.35,1),visibility 0s linear .4s;box-shadow:-24px 0 60px rgba(0,0,0,.25)}
.ms-drawer-open .ms-drawer{transform:none;visibility:visible;transition:transform .4s cubic-bezier(.65,0,.35,1),visibility 0s}
.ms-drawer-open .ms-drawer-backdrop{opacity:1}
.ms-drawer-open,.ms-drawer-open body{overflow:hidden}
/* The WP GCP consent popover renders above any z-index; tuck it away only while the menu is open. */
html.ms-drawer-open #ThisSiteUsesCookiesBox,html.ms-drawer-open .wpgcp-popover{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.admin-bar .ms-drawer{top:32px}
@media (max-width:782px){.admin-bar .ms-drawer{top:46px}}
.ms-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:24px 32px;border-bottom:1px solid rgba(247,245,241,.12)}
.ms-drawer-head img.ms-logo-img{height:44px;width:auto;display:block;border:1px solid rgba(247,245,241,.25)}
.ms-drawer-close{position:relative;width:44px;height:44px;border:1px solid rgba(247,245,241,.25);background:transparent;cursor:pointer;transition:border-color .2s,background .2s}
.ms-drawer-close:hover{border-color:var(--gold);background:rgba(247,245,241,.05)}
.ms-drawer-close span{position:absolute;left:12px;right:12px;top:50%;height:2px;background:var(--cream)}
.ms-drawer-close span:first-child{transform:rotate(45deg)}
.ms-drawer-close span:last-child{transform:rotate(-45deg)}
.ms-drawer-body{flex:1;overflow-y:auto;padding:28px 32px;display:flex;flex-direction:column;gap:30px}
.ms-drawer-label{margin:0 0 10px;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);font-weight:700}
.ms-drawer ul{list-style:none;margin:0;padding:0}
.ms-drawer li{margin:0;border-bottom:1px solid rgba(247,245,241,.08)}
.ms-drawer li a{display:flex;align-items:center;justify-content:space-between;padding:12px 0;font-family:Marcellus,Georgia,serif;font-size:21px;line-height:1.3;color:var(--cream);text-decoration:none;transition:color .2s,padding .25s}
.ms-drawer li a::after{content:'\2192';font-family:Karla,system-ui,sans-serif;font-size:16px;color:var(--gold);opacity:0;transform:translateX(-8px);transition:opacity .25s,transform .25s}
.ms-drawer li a:hover,.ms-drawer li a.is-current{color:var(--gold)}
.ms-drawer li a:hover{padding-left:6px}
.ms-drawer li a:hover::after,.ms-drawer li a.is-current::after{opacity:1;transform:none}
.ms-drawer-foot{padding:24px 32px 30px;border-top:1px solid rgba(247,245,241,.12);display:flex;flex-direction:column;gap:16px}
.ms-drawer-foot p{margin:0;font-size:14px;line-height:1.8}
.ms-drawer-foot p a{color:var(--soft);text-decoration:none}
.ms-drawer-foot p a:hover{color:var(--gold)}
a.ms-drawer-cta{display:block;text-align:center;background:var(--gold);color:var(--navy);padding:16px 20px;font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;transition:background .2s}
a.ms-drawer-cta:hover{background:#c9a463;color:var(--navy)}
@media (prefers-reduced-motion:reduce){.ms-drawer,.ms-drawer-backdrop,.ms-burger span{transition:none}}

/* collapse the CTA nav to burger-only on smaller screens */
@media (max-width:1300px){.ms-header .ms-nav a:not(.ms-nav-cta){display:none}}
@media (max-width:560px){.ms-header .ms-nav{display:none}.ms-utility .ms-util-r{display:none}.ms-utility{justify-content:center}}

/* footer */
.ms-footer{background:#232c47;color:var(--soft);padding:72px 32px 40px}
.ms-footer .ms-wrap{max-width:1280px;margin-inline:auto;width:100%}
.ms-foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:48px}
.ms-foot-col{display:flex;flex-direction:column;gap:18px}
.ms-footer p{font-size:14px;line-height:1.7;color:var(--soft)}
.ms-footer a{color:var(--gold)}
.ms-footer a:hover{color:#c9a463}
.ms-foot-brand{display:flex;flex-direction:column;gap:2px}
.ms-footer .ms-logo-name{font-size:24px;color:var(--cream)}
.ms-foot-h{font-family:Marcellus,Georgia,serif;font-weight:400;font-size:19px;color:var(--cream);border-bottom:1px solid rgba(247,245,241,.18);padding-bottom:12px;line-height:1.3}
.ms-office{display:flex;flex-direction:column;gap:3px}
.ms-office p{line-height:1.5}
.ms-footer .ms-office-name{color:var(--cream);font-weight:600}
.ms-footer a.ms-office-tel{color:inherit}
.ms-foot-links{display:flex;flex-direction:column;gap:10px}
.ms-footer .ms-foot-links a{color:var(--soft)}
.ms-footer .ms-foot-links a:hover{color:var(--gold)}
.ms-foot-col-cta{gap:14px}
.ms-footer a.ms-foot-btn{display:inline-block;border:1px solid rgba(247,245,241,.35);color:var(--cream);padding:14px 22px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;line-height:1.2}
.ms-footer a.ms-foot-btn:hover{background:rgba(247,245,241,.05);color:var(--cream)}
.ms-footer .ms-copy{max-width:1280px;margin:48px auto 0;padding-top:20px;border-top:1px solid rgba(247,245,241,.15);font-size:13px;color:var(--pale)}

@media (max-width:782px){
	.ms-nav{gap:14px 18px}
	.ms-footer{padding-inline:20px}
}

/* wpautop leaves empty <p> around the [me_footer] shortcode; their 16px margins opened a grey strip above the footer */
.supernova-footer > .wrap > p:empty{display:none}


.ms-drawer-head img.ms-logo-img{border:0}

/* Trustindex Google reviews: styled to match the Morrison review cards */
.ms-trustindex{margin-top:8px}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id]{background:transparent!important;font-family:'Mulish','Karla',sans-serif!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item>.ti-inner{position:relative!important;display:flex!important;flex-direction:column;background:#fff!important;border-radius:0!important;box-shadow:none!important;border:0!important;padding:44px 44px 28px!important;min-height:260px;text-align:left!important;margin:0!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-stars{order:1;display:flex!important;gap:2px;margin:0 0 22px!important;justify-content:flex-start!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-stars .ti-star{width:22px!important;height:22px!important;filter:grayscale(1) sepia(1) saturate(2.4) hue-rotate(-12deg) brightness(.82)}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-verified-review{display:none!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-text-container{order:2;flex:1;color:var(--ink,#0f1b28)!important;font-size:17px!important;line-height:1.75!important;text-align:left!important;margin:0 0 20px!important;max-height:none!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-read-more{order:3;color:var(--gold,#b28e4c)!important;font-size:13px!important;margin:-8px 0 14px!important;text-align:left!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-header{order:4;display:flex!important;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:12px;border-top:1px solid var(--line,#e3ded6);padding:16px 0 0!important;margin:0!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-platform-icon{position:absolute;top:36px;right:44px;width:44px!important;height:44px!important;padding:11px;border-radius:50%;background:var(--navy,#16283d);filter:brightness(0) invert(1);box-sizing:border-box;margin:0!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-profile-img{width:34px!important;height:34px!important;margin:0!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-profile-img img{width:34px!important;height:34px!important;border-radius:50%}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-profile-details{text-align:left!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-name{font-size:13px!important;font-weight:600!important;color:var(--mute,#5a6270)!important;text-align:left!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-date{font-size:12px!important;color:var(--mute,#5a6270)!important;opacity:.8;text-align:left!important}
@media (max-width:782px){html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item>.ti-inner{padding:32px 28px 22px!important}html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-platform-icon{top:26px;right:28px}}

html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item{width:33.3333%!important;flex:0 0 33.3333%!important;max-width:33.3333%!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-header{position:static!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-header:before,html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-header:after,html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-inner:after,html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-inner:before{display:none!important;content:none!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-platform-icon{display:block!important;visibility:visible!important;opacity:1!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-text-container,html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-content,html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-name,html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-date,html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-read-more{font-family:'Mulish','Karla',sans-serif!important}
@media (max-width:900px){html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item{width:50%!important;flex-basis:50%!important;max-width:50%!important}}
@media (max-width:600px){html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item{width:100%!important;flex-basis:100%!important;max-width:100%!important}}

html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-platform-icon{top:36px!important;right:44px!important;left:auto!important;bottom:auto!important;transform:none!important;margin:0!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-reviews-container-wrapper{display:flex!important;align-items:stretch!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item{display:flex!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item>.ti-inner{width:100%!important}

html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-platform-icon{display:none!important}
html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item>.ti-inner:before{content:"G"!important;display:flex!important;position:absolute;top:36px;right:44px;width:44px;height:44px;border-radius:50%;background:var(--navy,#16283d);color:#fff;font-family:'Marcellus',Georgia,serif;font-size:21px;align-items:center;justify-content:center}
@media (max-width:782px){html body .ms-trustindex .ti-widget[data-layout-id][data-set-id] .ti-review-item>.ti-inner:before{top:26px;right:28px}}

/* ME-BROCHURE-GAP: header is not fixed, so remove the theme's 72px clearance above property pages */
.grid-wrap.grid-single-property,
.single-property .grid-single-property,
.single-property .wrap-inner{margin-top:0 !important}
