/* Concise section headings at all viewport sizes. Retain the original variants for easy design comparison. */
h2>.section-title-long{display:none!important}
h2>.section-title-short{display:inline!important;color:inherit!important}
h2>.section-title-short::before,h2>.section-title-short::after{content:none!important}
@media(max-width:864px){
 /* Mobile articles: pin icon dimensions at the wrapper and SVG, avoiding
    intrinsic SVG sizing and any legacy card rules stretching the artwork. */
 .ar-modern .ar-related :is(.editorial-card-icon,.c-modern-topic-top .editorial-card-icon){width:36px!important;height:36px!important;max-width:36px;max-height:36px;flex:0 0 36px;display:grid;place-items:center}
 .ar-modern .ar-related .editorial-card-icon>svg{width:32px!important;height:32px!important;max-width:32px;max-height:32px;display:block}
 .ar-modern .ar-related :is(.editorial-card-arrow,.c-modern-topic-arrow){width:34px!important;height:34px!important;max-width:34px;max-height:34px;flex:0 0 34px}
 .ar-modern .ar-related :is(.editorial-card-arrow,.c-modern-topic-arrow) svg{width:16px!important;height:16px!important;max-width:16px;max-height:16px;flex-shrink:0}
 .ar-modern .ar-related-topic>span,.ar-modern .ar-related-topic svg{width:16px;height:16px;flex:0 0 16px}
 .ar-modern .ar-resource-arrow svg{width:16px;height:16px;max-width:16px;max-height:16px}
 .site-footer .footer-detail>svg{width:20px!important;height:20px!important;max-width:20px;max-height:20px;flex:0 0 20px}
 .site-footer .back-top svg{width:18px!important;height:18px!important;max-width:18px;max-height:18px}
 .msn-current-icon>svg,.msn-icon>svg{width:20px!important;height:20px!important;max-width:20px;max-height:20px;flex-shrink:0}
}

/* Main section typography: match the approved About Us heading, not the hero or card titles. */
:root{--section-heading-size:clamp(2.35rem,3.85vw,3.2rem)}
.page-home h2:has(>.section-title-short),.page-localized .homepage h2:has(>.section-title-short),.page-about .ref-about-copy h2,.site-footer .footer-enquiry h2:has(>.section-title-short){font-size:var(--section-heading-size)!important;line-height:1.07;letter-spacing:-.045em}
@media(max-width:600px){:root{--section-heading-size:2.2rem}}

/* Homepage section title text must inherit the reference scale, including nested spans. */
.page-home h2:has(>.section-title-short),.page-localized .homepage h2:has(>.section-title-short),.site-footer .footer-enquiry h2:has(>.section-title-short){font-size:var(--section-heading-size)!important;line-height:1.07!important;letter-spacing:-.045em!important}
:is(.page-home,.page-localized) .homepage h2>.section-title-short,.site-footer .footer-enquiry h2>.section-title-short{font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;font-weight:inherit!important;font-family:inherit!important}
/* Match the Services 02 annotation across the homepage, retaining light/dark contrast. */
.homepage .hp-eyebrow,.site-footer .footer-enquiry .hp-eyebrow{display:flex!important;align-items:center;gap:.6875rem!important;font:650 .6875rem/1.5 var(--font-body)!important;letter-spacing:.08em!important;text-transform:uppercase;margin:0 0 1rem!important;color:var(--navy)}
.homepage .hp-eyebrow .hp-number,.site-footer .footer-enquiry .hp-eyebrow .hp-number{display:inline-flex;align-items:center;justify-content:center;width:1.8125rem;height:1.75rem;border-radius:2px;flex-shrink:0;font:500 .6875rem/1 var(--font-heading);letter-spacing:0;background:var(--navy);color:#fff}
.homepage .hp-eyebrow i,.site-footer .footer-enquiry .hp-eyebrow i{display:block!important;width:1.9375rem;height:1px;background:var(--coral);flex-shrink:0}
.homepage .hp-dark-unified .hp-eyebrow,.site-footer .footer-enquiry .hp-eyebrow{color:#d4dfe7!important}
.homepage .hp-dark-unified .hp-eyebrow .hp-number,.site-footer .footer-enquiry .hp-eyebrow .hp-number{background:var(--coral);color:var(--ink)}
.homepage .ref-centered-heading>.hp-eyebrow,.homepage .hp-home-faq .hp-eyebrow{justify-content:center}
@media(max-width:864px){.homepage .hp-eyebrow,.site-footer .footer-enquiry .hp-eyebrow{gap:.5rem!important;font-size:.5625rem!important}.homepage .hp-eyebrow .hp-number,.site-footer .footer-enquiry .hp-eyebrow .hp-number{width:1.5625rem;height:1.5625rem;font-size:.625rem}}

.site-footer .footer-enquiry .footer-consultation-copy>.hp-eyebrow{font-size:.6875rem!important;color:#d4dfe7!important}
.page-home h2:has(>.section-title-short),.page-localized .homepage h2:has(>.section-title-short),.site-footer .footer-enquiry h2:has(>.section-title-short){font-family:var(--font-heading)!important;font-weight:600!important}
@media(max-width:864px){.site-footer .footer-enquiry .footer-consultation-copy>.hp-eyebrow{font-size:.5625rem!important}}

/* Interior section headlines use the same About Us scale. Keep hero H1,
   editorial chapter headings, compact cards and utility headings unchanged. */
main :is(.section-heading,.ref-centered-heading,.cp-section-heading,.cp-question-intro,.cp-review-copy,
 .ref-about-copy,.ref-approach-intro,.ref-approach-close,.about-theory-intro,
 .sdm-heading,.sdm-intro,.c-modern-intro-text,.c-modern-library-heading,.c-modern-depth-copy,
 .c-insights-opening,.b-review-intro,.hp-work-heading,.hp-home-services-heading,
 .hp-journal-heading,.c-article-faq,.ar-source-section,.c-article-more) h2{
 font-size:var(--section-heading-size)!important;
 line-height:1.07!important;
 letter-spacing:-.045em!important;
}

/* One section annotation design across page templates. Keep original classes as layout hooks. */
main p.page-section-annotation,.site-footer p.page-section-annotation{display:flex!important;align-items:center!important;gap:.6875rem!important;font:650 .6875rem/1.5 var(--font-body)!important;letter-spacing:.08em!important;text-transform:uppercase!important;margin:0 0 1rem!important;color:var(--navy)!important}
main p.page-section-annotation>.hp-number,.site-footer p.page-section-annotation>.hp-number{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 1.8125rem!important;width:1.8125rem!important;height:1.75rem!important;min-width:0!important;padding:0!important;border-radius:2px!important;background:var(--navy)!important;color:#fff!important;font:500 .6875rem/1 var(--font-heading)!important;letter-spacing:0!important}
main p.page-section-annotation>span:not(.hp-number),.site-footer p.page-section-annotation>span:not(.hp-number){position:static!important;width:auto!important;height:auto!important;background:none!important;flex:0 1 auto!important;color:inherit!important;font:inherit!important;letter-spacing:inherit!important}
main p.page-section-annotation>i,.site-footer p.page-section-annotation>i{display:block!important;position:static!important;width:1.9375rem!important;height:1px!important;flex:0 0 1.9375rem!important;background:var(--coral)!important;opacity:1!important}
main p.page-section-annotation>span::after,main p.page-section-annotation>i::after,.site-footer p.page-section-annotation>span::after{content:none!important}
main :is(.hp-dark-unified,.ref-about-dark,.c-hub-dark-band) p.page-section-annotation,.site-footer p.page-section-annotation{color:#d4dfe7!important}
main :is(.hp-dark-unified,.ref-about-dark,.c-hub-dark-band) p.page-section-annotation>.hp-number,.site-footer p.page-section-annotation>.hp-number{background:var(--coral)!important;color:var(--ink)!important}
main .ref-centered-heading>p.page-section-annotation,main .hp-home-faq-heading>p.page-section-annotation{justify-content:center}
main .sdm-intro-top>p.page-section-annotation{margin:0!important}
@media(max-width:864px){main p.page-section-annotation,.site-footer p.page-section-annotation{gap:.5rem!important;font-size:.5625rem!important}main p.page-section-annotation>.hp-number,.site-footer p.page-section-annotation>.hp-number{width:1.5625rem!important;height:1.5625rem!important;flex-basis:1.5625rem!important;font-size:.625rem!important}}

/* Danish compound words must wrap within the enlarged section heading scale.
   Constrain the heading and annotation wrappers instead of masking overflow. */
@media(max-width:864px){
 .da-knowledge :is(.c-modern-intro-text,.c-modern-library-heading,.c-modern-library-heading>div,.c-modern-depth-copy){min-width:0;max-width:100%}
 .da-knowledge :is(h2,.section-label){min-width:0;max-width:100%;overflow-wrap:anywhere;hyphens:auto}
 .da-knowledge .section-label{white-space:normal;flex-wrap:wrap}
}

/* Surface-aware variants: same geometry and coral line, different contrast palette.
   The data attribute resolves nested light panels inside dark template wrappers. */
main p.page-section-annotation[data-annotation-tone="light"],.site-footer p.page-section-annotation[data-annotation-tone="light"]{color:var(--navy)!important}
main p.page-section-annotation[data-annotation-tone="light"]>.hp-number,.site-footer p.page-section-annotation[data-annotation-tone="light"]>.hp-number{background:var(--navy)!important;color:#fff!important}
main p.page-section-annotation[data-annotation-tone="dark"],.site-footer p.page-section-annotation[data-annotation-tone="dark"]{color:#d4dfe7!important}
main p.page-section-annotation[data-annotation-tone="dark"]>.hp-number,.site-footer p.page-section-annotation[data-annotation-tone="dark"]>.hp-number{background:var(--coral)!important;color:var(--ink)!important}
@media print{main p.page-section-annotation[data-annotation-tone]{color:var(--navy)!important}main p.page-section-annotation[data-annotation-tone]>.hp-number{background:var(--navy)!important;color:#fff!important}}

/* Apply the resolved palette at the shared annotation itself, above legacy template selectors. */
body#top p.page-section-annotation[data-annotation-tone]{color:var(--annotation-label-color)!important;transition:none!important}
body#top p.page-section-annotation[data-annotation-tone]>.hp-number{background:var(--annotation-number-background)!important;color:var(--annotation-number-color)!important;transition:none!important}
body#top p.page-section-annotation[data-annotation-tone]>span:not(.hp-number){transition:none!important}
@media print{body#top p.page-section-annotation[data-annotation-tone]{color:var(--navy)!important}body#top p.page-section-annotation[data-annotation-tone]>.hp-number{background:var(--navy)!important;color:#fff!important}}
