/* The editorial templates keep their original layout and use the new brand palette. */
:root {
    --ink: #0b1d33;
    --muted: #475569;
    --blue: #006d9f;
    --violet: #87632e;
    --paper: #fbf9f5;
    --lavender: #f3ede2;
    --line: #e2e8f0;
    --radius: 20px;
    --britez-serif: 'Playfair Display', Georgia, serif;
    --britez-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body.britez-site {
    background: #fff;
    font-family: var(--britez-sans);
}

main :is(h1, h2, h3),
.entry-content h2,
.article-card h2 {
    color: var(--ink);
    font-family: var(--britez-serif);
    font-weight: 600;
    letter-spacing: -.025em;
}

main .page-heading {
    margin-block: 20px 30px;
    padding: clamp(1.5rem, 4vw, 3.75rem);
    background: radial-gradient(ellipse at 0% 100%, #eaf5fb, transparent 70%), var(--paper);
    border: 1px solid #ebe5dc;
    border-radius: var(--radius);
}

.page-heading h1:last-child { margin-bottom: 0; }
main .eyebrow { color: #87632e; font-family: var(--britez-sans); }
main .button { background: var(--blue); }
main .button:hover { background: #085779; }
main .button-light { color: var(--ink); background: #efd6af; }
main .button-light:hover { color: var(--ink); background: #f7e8cc; }

.article-card, .team-content-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 3px 12px #0b1d330a;
}

.team-content-card a { color: var(--ink); }
.content-sidebar .contents-index, .mobile-index { background: var(--paper); }
.content-sidebar .contents-index {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}
.article-mobile-navigation { display: none; }
.team-mobile-navigation { display: none; }
.entry-content .treatment-panel-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
    list-style: none; padding: 0; margin: 24px 0;
}
.entry-content .treatment-panel-list > li { margin: 0; }

.entry-content :is(ul, ol) {
    list-style: revert;
    padding-inline-start: 1.45em;
    margin-bottom: 1.4em;
}

.entry-content a { text-decoration: underline; }
.entry-content a.button { color: white; text-decoration: none; }
.entry-content a.button-light { color: var(--ink); }
/* Highlighted introductory paragraphs: only the explicitly audited treatment pages. */
.entry-content .editorial-lead:has(> .treatment-intro) { margin-bottom: 14px; }
.entry-content .editorial-lead > .treatment-intro {
    margin: 0; padding: 15px 20px; border-left: 3px solid #c79d63;
    border-radius: 0 12px 12px 0; background: #fbf9f5; color: #475569;
    font-family: var(--britez-sans); font-size: 1.05rem; font-weight: 600; line-height: 1.65;
}
.cta-band { background: #0b1d33; }
.cta-band h2 { color: white; }
.cta-band .eyebrow { color: #efd6af; }

.replica-header, .replica-footer, [data-purpose='top-bar'] { line-height: 1.5; }
.replica-footer a:hover, .header-actions .online:hover { color: #fff; }
.replica-footer .replica-footer-bottom { color: #aab8c9; }
.replica-header nav :is(a, summary):hover { color: #0b1d33; }
@media (max-width: 740px) {
    main .page-heading { margin-block: 15px 22px; }
    main .page-heading h1 { overflow-wrap: anywhere; }
    .content-sidebar .contents-index { display: none; }
    .article-mobile-navigation { display: block; }
    .team-mobile-navigation { display: block; }
    .team-review-page .team-mobile-navigation .sidebar-reviews { margin: 14px auto 0; }
    .team-review-page .content-sidebar .sidebar-reviews { display: none; }
    .entry-content .treatment-panel-list { grid-template-columns: minmax(0, 1fr); }
    .article-layout .article-mobile-navigation .sidebar-reviews { margin: 14px auto 0; }
    .article-layout .content-sidebar .sidebar-reviews { display: none; }
}
