/* DS-FORM-ADMIN-SYNC-20261104-R1-A3 — owner-directed typography and spacing.
   Load after prior Meridian/editorial/PPT styles on the front end AND in the
   block-editor canvas. Preserve native heading levels, content and settings.
   No font files, reset, fixed text heights, truncation or transform-based sizing. */
:where(.ds-meridian,.editor-styles-wrapper){
 --dx-title:clamp(32px,3.06vw,44px);
 --dx-section-title:clamp(26px,2.23vw,32px);
 --ds-ui-section-space:32px;
}
/* Give the navigation enough room; do not solve it by making text tiny. */
.ds-header{gap:16px!important}
.ds-primary-nav .wp-block-navigation__container{gap:18px!important}
.ds-primary-nav .wp-block-navigation-item,
.ds-primary-nav .wp-block-navigation-item__content,
.ds-primary-nav .wp-block-navigation-submenu__toggle{
 font-size:18px!important;font-weight:600!important;line-height:1.4!important;
 letter-spacing:0!important;
}
.ds-primary-nav .wp-block-navigation-item__description{font-size:14px!important;font-weight:400!important;line-height:1.55!important}
.ds-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{font-size:17px!important;line-height:1.45!important;min-height:44px}
.ds-header .wp-block-button__link{font-size:16px!important;min-height:44px}
/* Medium headlines, normal reading text, unchanged semantic heading hierarchy. */
:where(.ds-meridian,.editor-styles-wrapper) .v-hero h1{font-size:clamp(38px,4vw,56px)!important;line-height:1.12!important;letter-spacing:-.035em!important;margin-block:20px!important}
:where(.ds-meridian,.editor-styles-wrapper) :is(.ds-experience,.ds-editorial) h1,
:where(.ds-meridian,.editor-styles-wrapper) .dx-blog-head h1{font-size:var(--dx-title)!important;line-height:1.18!important;letter-spacing:-.03em!important;margin-block:16px 18px!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-single-head h1{font-size:clamp(30px,2.92vw,42px)!important;line-height:1.2!important;letter-spacing:-.025em!important}
:where(.ds-meridian,.editor-styles-wrapper) :is(.v-section,.ds-experience,.ds-editorial) h2,
:where(.ds-meridian,.editor-styles-wrapper) .dx-blog h2:not(.wp-block-post-title),
:where(.ds-meridian,.editor-styles-wrapper) .dx-related-reading>h2{font-size:var(--dx-section-title)!important;line-height:1.25!important;letter-spacing:-.025em!important}
:where(.ds-meridian,.editor-styles-wrapper) :is(.ds-experience,.ds-editorial) h3{font-size:22px!important;line-height:1.35!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-post-body h2{font-size:28px!important;line-height:1.3!important;margin-block-start:30px!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-post-body h3{font-size:22px!important;line-height:1.35!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-editorial-feature h2,
:where(.ds-meridian,.editor-styles-wrapper) .dx-editorial-feature h2 a{font-size:30px!important;line-height:1.25!important}
/* Keep the opening composition/motion, but remove excess height caused by old oversized type. */
.ds-meridian .v-meridian-hero{height:auto;min-height:0;padding-bottom:96px}
.ds-meridian .v-meridian-foot{position:relative;inset:auto;margin:24px 6.5% 0!important}
.ds-meridian .v-hero-copy{padding-top:104px}
:where(.ds-meridian,.editor-styles-wrapper) .v-hero-support{font-size:19px!important;line-height:1.65!important}
:where(.ds-meridian,.editor-styles-wrapper) .v-section{padding-block:40px!important}
/* Remove stacked WP flow margin at section boundaries, NOT paragraph spacing. */
:where(.ds-meridian,.editor-styles-wrapper) .ds-experience > :is(.dx-section,.dx-proof,.dx-hero,.dx-cta),
:where(.ds-meridian,.editor-styles-wrapper) .ds-experience > .is-layout-flow > :is(.dx-section,.dx-proof,.dx-hero,.dx-cta),
:where(.ds-meridian,.editor-styles-wrapper) :is(.dx-section,.dx-proof,.dx-hero,.dx-cta){margin-block:0!important}
:where(.ds-meridian,.editor-styles-wrapper) .ds-experience :is(.dx-section,.dx-proof),
:where(.ds-meridian,.editor-styles-wrapper) .ds-editorial :is(.ds-inner-section,.ds-feature-split){padding-block:var(--ds-ui-section-space)!important}
:where(.ds-meridian,.editor-styles-wrapper) .ds-experience .dx-hero,
:where(.ds-meridian,.editor-styles-wrapper) .ds-editorial .ds-inner-hero{padding-block:36px!important;min-height:0}
:where(.ds-meridian,.editor-styles-wrapper) .dx-cta{padding-block:32px!important}
:where(.ds-meridian,.editor-styles-wrapper) :is(.dx-section-heading,.ds-section-heading){margin-block:0 24px!important}
:where(.ds-meridian,.editor-styles-wrapper) :is(.dx-section-heading,.ds-section-heading) :is(.dx-kicker,.ds-kicker){margin-block:0 10px!important}
:where(.ds-meridian,.editor-styles-wrapper) :is(.dx-section-heading,.ds-section-heading) h2{margin-block:0!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-section-heading + .dx-feature-grid{margin-block-start:0!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-detail-grid{margin-block-start:24px!important;gap:24px}
:where(.ds-meridian,.editor-styles-wrapper) .ds-experience .dx-hero .dx-lead{font-size:18px!important;line-height:1.7!important;margin-block-start:18px!important}
:where(.ds-meridian,.editor-styles-wrapper) .ds-experience .dx-breadcrumb{margin-block-end:18px!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-blog-head{padding-block:32px 20px!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-blog .dx-section{padding-block:20px 36px!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-single-head{padding-block:32px 24px!important}
:where(.ds-meridian,.editor-styles-wrapper) .dx-reading-layout{padding-block-end:36px}
@media(min-width:1181px) and (max-width:1279px){
 .ds-primary-nav .wp-block-navigation-item,.ds-primary-nav .wp-block-navigation-item__content,.ds-primary-nav .wp-block-navigation-submenu__toggle{font-size:17px!important}
 .ds-primary-nav .wp-block-navigation__container{gap:12px!important}
 .ds-header{gap:12px!important}
}
@media(max-width:1180px){
 .ds-primary-nav .is-menu-open .wp-block-navigation-submenu__toggle,
 .ds-primary-nav .is-menu-open .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content{font-size:20px!important;min-height:48px}
 .ds-primary-nav .wp-block-navigation__container{gap:0!important}
 .ds-meridian .v-meridian-hero{height:auto}
 .ds-meridian .v-hero-copy{padding-top:110px}
}
@media(max-width:760px){
 :where(.ds-meridian,.editor-styles-wrapper){--dx-title:32px;--dx-section-title:26px;--ds-ui-section-space:24px}
 :where(.ds-meridian,.editor-styles-wrapper) .v-hero h1{font-size:clamp(36px,9vw,44px)!important}
 :where(.ds-meridian,.editor-styles-wrapper) :is(.ds-experience,.ds-editorial) h1,
 :where(.ds-meridian,.editor-styles-wrapper) .dx-blog-head h1{font-size:32px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .dx-single-head h1{font-size:30px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .dx-post-body h2{font-size:25px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .dx-editorial-feature h2,
 :where(.ds-meridian,.editor-styles-wrapper) .dx-editorial-feature h2 a{font-size:26px!important}
 .ds-meridian .v-meridian-hero{height:auto;min-height:0;padding-bottom:28px}
 .ds-meridian .v-hero-copy{padding-top:230px;padding-bottom:0}
 .ds-meridian .v-meridian-foot{margin:24px 25px 0!important}
 :where(.ds-meridian,.editor-styles-wrapper) .v-section{padding-block:28px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .ds-experience .dx-hero,
 :where(.ds-meridian,.editor-styles-wrapper) .ds-editorial .ds-inner-hero{padding-block:26px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .dx-cta{padding-block:28px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .dx-blog-head{padding-block:26px 16px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .dx-blog .dx-section{padding-block:16px 28px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .dx-single-head{padding-block:26px 20px!important}
 :where(.ds-meridian,.editor-styles-wrapper) .dx-detail-grid{gap:20px;margin-block-start:20px!important}
}

/* Avoid an empty default WP flow gutter immediately below the site header. */
.ds-meridian .wp-site-blocks > main{margin-block-start:0!important}
/* Keep white navigation legible across the bright rotating hero image.
   Once scrolled, the existing light sticky-header treatment remains in force. */
.ds-meridian .ds-header-part.is-overlay:not(.ds-is-scrolled) .ds-header--overlay{
 background:rgba(39,15,27,.86)!important;
 border-bottom-color:rgba(255,255,255,.2);
}
