/*
Theme Name: Danehurst Estate Agents
Template: blocksy
Version: 0.2.7
Description: Danehurst presentation and Brizy Free landing-page integration.
Text Domain: danehurst
*/
:root{--dh-navy:#292c4b;--dh-mint:#e9efec;--dh-ink:#222438;--dh-width:1240px}
body{color:var(--dh-ink);font-family:Montserrat,Arial,sans-serif;background:#fff}
.dh-wrap{width:min(var(--dh-width),calc(100% - 48px));margin-inline:auto}
.dh-header{background:var(--dh-navy);color:#fff;padding:20px 0 26px}
.dh-top{display:flex;justify-content:flex-end;gap:30px;font-size:14px;margin-bottom:20px}
.dh-header a,.dh-footer a{color:inherit;text-decoration:none}
.dh-header a:hover,.dh-footer a:hover{text-decoration:underline}
.dh-navigation{display:flex;align-items:center;gap:32px;justify-content:space-between}
.dh-brand{display:block;flex-shrink:0;text-align:center;line-height:1.15}
.dh-brand strong{display:block;font-family:Georgia,serif;font-size:34px;font-weight:400;letter-spacing:3px}
.dh-brand span{display:block;font-size:10px;letter-spacing:5px;margin-top:10px}
.dh-brand img{width:230px;max-height:100px;object-fit:contain}
.dh-nav ul{list-style:none;padding:0;margin:0;display:flex;gap:25px;align-items:center}
.dh-nav li{position:relative}.dh-nav a{font-size:14px;font-weight:700;display:block;padding:12px 0}
.dh-nav .sub-menu{display:none;position:absolute;z-index:100;top:100%;left:0;min-width:230px;background:#fff;color:var(--dh-navy);padding:12px 20px;box-shadow:0 12px 35px #0002}
.dh-nav li:hover>.sub-menu,.dh-nav li:focus-within>.sub-menu{display:block}
.dh-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid currentColor;padding:14px 22px;border-radius:7px;text-decoration:none!important;font-size:15px;line-height:1.4}
.dh-mobile{display:none}.dh-mobile summary{cursor:pointer;padding:12px;font-weight:700}.dh-mobile ul{list-style:none;padding:0}.dh-mobile a{display:block;padding:10px 0}.dh-mobile .sub-menu{padding-left:16px}
.dh-footer-cta{padding:50px 0;background:var(--dh-mint)}.dh-footer-cta .dh-wrap{display:flex;align-items:center;justify-content:space-between;gap:25px}.dh-footer-cta h2{font-size:27px;margin:0}
.dh-footer{background:var(--dh-navy);color:#fff;padding:55px 0 22px}.dh-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:60px}.dh-footer h3{color:#fff;font-size:16px}.dh-footer p{font-size:14px;line-height:1.9}.dh-footer ul{list-style:none;padding:0}.dh-footer li{margin:10px 0;font-size:13px}.dh-footer-legal{border-top:1px solid #ffffff30;margin-top:35px;padding-top:20px;display:flex;flex-wrap:wrap;gap:14px;font-size:11px}.dh-footer-legal ul{display:flex;flex-wrap:wrap;gap:16px;margin:0}.dh-footer-legal li{margin:0;font-size:11px}
.dh-page{max-width:var(--dh-width);margin:auto}.dh-search{padding:24px;background:var(--dh-navy);color:#fff;border-radius:8px}.dh-search .propertyhive{color:var(--dh-ink)}
.dh-properties{padding:65px 0}.dh-properties h2{text-align:center;font-size:36px}.dh-properties .propertyhive{margin-top:32px}.dh-stage-note{padding:16px;border:1px solid #d8dedb;color:#414451;background:#f7f9f8;font-size:14px}
.propertyhive ul.properties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;list-style:none}.propertyhive ul.properties li.property{width:auto!important;float:none!important;margin:0!important}.propertyhive ul.properties img{width:100%;aspect-ratio:4/3;object-fit:cover}.propertyhive a{color:var(--dh-navy)}
a:focus-visible,summary:focus-visible{outline:3px solid #a6c5b7;outline-offset:5px}
@media(max-width:1100px){.dh-nav{display:none}.dh-mobile{display:block}.dh-navigation>.dh-button{margin-left:auto}.dh-footer-grid{gap:30px}}
@media(max-width:650px){.dh-wrap{width:calc(100% - 32px)}.dh-top{justify-content:center;gap:12px;flex-wrap:wrap;font-size:12px}.dh-brand strong{font-size:25px}.dh-brand span{font-size:8px;letter-spacing:3px}.dh-navigation{flex-wrap:wrap;gap:18px}.dh-navigation>.dh-button{font-size:12px;padding:10px 13px}.dh-mobile{width:100%}.dh-footer-grid{grid-template-columns:1fr;gap:20px}.dh-footer-cta .dh-wrap{display:block}.dh-footer-cta .dh-button{margin-top:22px}.dh-footer-cta h2{font-size:24px}.propertyhive ul.properties{grid-template-columns:1fr}.dh-properties h2{font-size:28px}}
.dh-brizy-page{width:100%;margin:0}.dh-hero{position:relative;isolation:isolate;min-height:660px;display:grid;place-items:center;overflow:hidden;background:#292c4b;color:white}.dh-hero:after{content:'';position:absolute;inset:0;background:#10172a55;z-index:-1}.dh-hero-video,.dh-hero-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.dh-hero-content{text-align:center;padding:100px 0 60px}.dh-hero h1{color:white;font-family:Montserrat,Arial,sans-serif;font-weight:800;line-height:calc(1.03em + 3px);max-width:920px;font-size:clamp(40px,5vw,64px);margin:0 auto 22px}.dh-hero p{color:white;font-weight:800;font-size:17px;margin:0 0 50px}.dh-home-search{background:var(--dh-navy);padding:24px;display:flex;gap:16px;border-radius:8px;max-width:880px;margin:auto}.dh-home-search input[type=search]{border:0;border-radius:7px;background:white;padding:18px 25px;height:50px;flex:2;color:var(--dh-ink);min-width:0;font:inherit}.dh-home-search button{border:0;border-radius:7px;background:white;color:var(--dh-ink);flex:1;padding:12px 25px;font:inherit;display:flex;align-items:center;justify-content:space-between;gap:30px}.dh-video-toggle{position:absolute;bottom:15px;right:20px;border:1px solid #ffffff80;background:#292c4b99;color:#fff;font-size:11px;padding:6px 10px;border-radius:4px;z-index:2}.dh-copy{text-align:center;max-width:1050px;padding:80px 0}.dh-copy h2,.dh-split h2,.dh-valuation h2{font-family:Montserrat,Arial,sans-serif;font-weight:800;line-height:calc(1.15em + 3px);color:var(--dh-navy);font-size:clamp(27px,3vw,40px);margin-bottom:28px}.dh-copy p,.dh-split p,.dh-valuation p{font-size:16px;line-height:1.8}.dh-service-cards{display:flex;gap:20px;margin-bottom:65px}.dh-service-card{position:relative;display:flex;align-items:end;overflow:hidden;min-height:440px;flex:1;transition:flex .35s ease;border-radius:7px;background:var(--dh-navy);color:#fff!important;text-decoration:none!important;isolation:isolate}.dh-service-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.dh-service-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#101426db);z-index:-1}.dh-service-card>div{padding:28px}.dh-service-card h2{color:white;font-size:25px;font-weight:800}.dh-service-card p{display:none;font-size:13px;line-height:1.6}.dh-service-card:hover,.dh-service-card:focus-visible{flex:2.2}.dh-service-card:hover p,.dh-service-card:focus-visible p{display:block}.dh-split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;padding:60px 0}.dh-split>img{width:100%;aspect-ratio:1.15;object-fit:cover;border-radius:8px}.dh-split.dh-reverse>img{order:2}.dh-valuation{position:relative;min-height:350px;display:flex;align-items:center;justify-content:end;padding:40px 0;margin-top:40px;margin-bottom:55px}.dh-valuation>img{width:65%;height:350px;object-fit:cover;border-radius:8px;position:absolute;left:0;top:0}.dh-valuation>div{width:55%;background:var(--dh-navy);color:white;position:relative;border-radius:8px;padding:55px}.dh-valuation h2{color:white}.dh-valuation .dh-button{color:white}.dh-split .dh-button{color:var(--dh-navy)}
@media(max-width:800px){.dh-hero{min-height:580px}.dh-hero-content{padding:80px 0}.dh-home-search{padding:18px;flex-direction:column}.dh-home-search input[type=search]{flex:auto}.dh-home-search button{justify-content:center;flex:auto}.dh-service-cards{display:grid;grid-template-columns:1fr 1fr}.dh-service-card{min-height:330px}.dh-service-card p{display:block}.dh-service-card>div{padding:22px}.dh-service-card h2{font-size:23px}.dh-split{grid-template-columns:1fr;gap:30px;padding:35px 0}.dh-split.dh-reverse>img{order:0}.dh-copy{padding:50px 0}.dh-valuation{display:block;padding-top:180px}.dh-valuation>img{width:100%;height:260px}.dh-valuation>div{width:92%;margin-left:auto;padding:30px}.dh-split>img{aspect-ratio:1.5}}
@media(max-width:480px){.dh-service-cards{grid-template-columns:1fr}.dh-service-card{min-height:320px}.dh-hero h1{font-size:38px}.dh-hero p{font-size:14px}.dh-home-search input[type=search]{font-size:14px}}
@media(prefers-reduced-motion:reduce){.dh-service-card{transition:none}}
.dh-full .brz-container{max-width:none!important;width:100%!important}.dh-full .brz-wp-shortcode{width:100%}.dh-native-copy .brz-container{max-width:1050px!important}.dh-native-picture{width:100%;aspect-ratio:1.15;object-fit:cover;border-radius:8px}.dh-native-split .brz-columns{align-items:center}.dh-native-split .brz-column{padding:25px!important}.dh-native-split .brz-container{max-width:1240px!important}
.dh-header{padding:16px 0 20px}.dh-top{margin-bottom:8px}.dh-brand img{max-height:75px}.dh-full .brz-wrapper{margin:0!important}.dh-native-copy,.dh-native-split{background:#fff}.dh-native-copy p,.dh-native-split p{font-family:Montserrat,Arial,sans-serif!important;font-size:16px!important;line-height:1.8!important;color:#292c4b!important}.dh-native-copy h2,.dh-native-split h2{font-family:Montserrat,Arial,sans-serif!important;font-weight:800!important;font-size:38px!important;line-height:calc(1.2em + 3px)!important;color:#292c4b!important}.dh-native-copy h2{text-align:center!important}@media(max-width:650px){.dh-native-copy h2,.dh-native-split h2{font-size:27px!important}}
@media(max-width:650px){.dh-header{padding:12px 0}.dh-header .dh-top{margin:0 0 12px;min-height:0;font-size:11px;line-height:1.4;gap:8px 14px}.dh-header .dh-top a,.dh-header .dh-navigation>.dh-button,.dh-header .dh-mobile a{color:#fff!important;opacity:1!important;visibility:visible!important}.dh-header .dh-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.dh-header .dh-brand img{width:175px;max-height:60px;height:auto}.dh-header .dh-navigation>.dh-button{margin:0;padding:9px 10px;font-size:11px;gap:8px}.dh-header .dh-mobile{grid-column:1/-1;width:100%;margin:0}.dh-header .dh-mobile summary{padding:8px 0}.dh-header .dh-mobile nav,.dh-header .dh-mobile .menu,.dh-header .dh-mobile li{display:block}.dh-header .dh-mobile ul{margin:0;padding:0;list-style:none}.dh-header .dh-mobile .sub-menu{padding-left:18px}.dh-header .dh-mobile a{padding:9px 0;font-size:14px;line-height:1.5}}

/* Single dropdown state; submenu layout is independent of the top navigation. */
.dh-nav>ul{display:flex}.dh-nav .sub-menu{margin:0;list-style:none;flex-direction:column;align-items:stretch;gap:0;width:max-content;max-width:min(360px,85vw)}
.dh-nav .sub-menu li{display:block;width:100%}.dh-nav .sub-menu a{padding:12px 0;white-space:normal;line-height:1.5}
.dh-nav.dh-nav-ready li:hover>.sub-menu,.dh-nav.dh-nav-ready li:focus-within>.sub-menu{display:none}
.dh-nav.dh-nav-ready>ul>li.dh-menu-open>.sub-menu{display:block}
/* Brizy rich-text spans can carry their own font, so target the actual text too. */
body .dhs-body .brz-rich-text,body .dhs-body .brz-rich-text *,body .dh-native-copy .brz-rich-text,body .dh-native-copy .brz-rich-text *,body .dh-native-split .brz-rich-text,body .dh-native-split .brz-rich-text *{font-family:Montserrat,Arial,sans-serif!important}
.dh-footer .dh-footer-cta h2{font-family:Montserrat,Arial,sans-serif!important;font-weight:500!important;letter-spacing:normal}
.dh-footer .dh-footer-cta .dh-button{font-family:Montserrat,Arial,sans-serif!important;font-weight:400;letter-spacing:normal}

/* Keep reusable sections consistent inside Brizy, whose reset overrides inherited fonts. */
body .dh-brizy-page [class^="dhs-"],body .dh-brizy-page [class^="dhs-"] *,body .dh-brizy-page .dh-hero,body .dh-brizy-page .dh-hero *,body .dhs-dialog,body .dhs-dialog *{font-family:Montserrat,Arial,sans-serif!important}

/* Match the source type hierarchy on the actual Brizy text spans. */
body .dh-hero h1,body .dhs-page-hero h1{font-weight:700;line-height:calc(1em + 3px); font-size:clamp(36px,4.7vw,60px)}
body :is(.dhs-body,.dh-native-copy,.dh-native-split) .brz-rich-text :is(h2,h3,h4),body :is(.dhs-body,.dh-native-copy,.dh-native-split) .brz-rich-text :is(h2,h3,h4) *{font-weight:700!important}
body :is(.dh-native-copy,.dh-native-split) .brz-rich-text h2,body :is(.dh-native-copy,.dh-native-split) .brz-rich-text h2 *{font-size:36px!important;line-height:calc(1.12em + 3px)!important}
body .dhs-team .brz-rich-text h3,body .dhs-team .brz-rich-text h3 *{font-size:20px!important;line-height:calc(1.4em + 3px)!important;font-weight:500!important}
body .dh-service-card h2{font-size:20px;line-height:calc(1.4em + 3px)}
@media(max-width:650px){body :is(.dh-native-copy,.dh-native-split) .brz-rich-text h2,body :is(.dh-native-copy,.dh-native-split) .brz-rich-text h2 *{font-size:27px!important}}

/* Full-width source banners and readable spacing between native paragraphs. */
body .dh-full.brz-section__content{padding:0!important}
body .dhs-body .brz-rich-text p{margin-bottom:16px!important}
body .dhs-body .brz-rich-text p:last-child{margin-bottom:0!important}
body .dhs-page-hero p{font-size:16px;line-height:1.5;font-weight:400}
body :is(.post-102,.post-107,.post-113,.post-116,.post-117,.post-119,.post-115) .dhs-page-hero p{font-size:36px;line-height:1.12;font-weight:700}
body .post-110 .dhs-page-hero p{font-size:32px;line-height:1.3}
@media(max-width:650px){body :is(.post-102,.post-107,.post-113,.post-116,.post-117,.post-119,.post-115) .dhs-page-hero p,body .post-110 .dhs-page-hero p{font-size:24px}}

/* Brizy body styles must not obscure text on the photographic service cards. */
body .dhs-body .dh-service-card h2{color:#fff!important;font-size:20px!important;line-height:calc(1.4em + 3px)!important;font-weight:800!important}
body .dhs-body .dh-service-card p{color:#fff!important;font-size:13px!important;line-height:1.6!important}
body .dhs-body .dh-service-card{color:#fff!important}
/* Brizy uses generated markers before paragraphs nested in list items. */
body .dhs-body .brz-rich-text li{position:relative;margin-left:0!important;padding-left:1.3em!important;margin-bottom:10px!important}
body .dhs-body .brz-rich-text li:before{position:absolute!important;left:0;top:0}

/* Property-card sizing stays the same when inserted in a rich-text page. */
body .dhs-body .dhs-property-card-body h2{font:800 21px/calc(1.3em + 3px) Montserrat,Arial,sans-serif!important;margin:12px 0!important}
body .dhs-body .dhs-property-card-body p{font-size:13px!important;line-height:1.7!important}
body .dhs-body .dhs-property-card-body .dhs-property-price{font-size:12px!important}
body .dhs-body .dhs-property-card-body h2 a{text-decoration:none!important}
body .dhs-body .dhs-property-card-body .dhs-property-rooms{font-weight:600!important}
/* This source image already contains its heading. Keep the page H1 available to screen readers. */
body .post-108 .dhs-page-hero h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Search components supply their own page title. */
body :is(.post-101,.post-104,.post-114)>.brz>.brz-section:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body .dhs-body:not(.dhs-article-header) .brz-rich-text h1{font-size:48px!important;line-height:calc(1.1em + 3px)!important}
@media(max-width:650px){body .dhs-body:not(.dhs-article-header) .brz-rich-text h1{font-size:36px!important}}

body .dh-service-card,body .dh-service-card *,body .dhs-featured>h2{font-family:Montserrat,Arial,sans-serif!important}
