/* ============================================================================
   Savvy Senior Life — "The Toolkit" (ssl-theme 1.0.0, 2026-11-10)
   All site styling. Base rules forked from psd-theme (psychologydiary); the
   Toolkit layer at the end of this file restyles them for direction C: a
   bento of photo tiles, topic photo doors, two-column guide rows, pale blue
   panels, white cards with a hairline border and 16px corners, the logo's
   blue as the one ink, orange only as dots and the newsletter tint.
   Vollkorn headlines over Libre Franklin. Tokens: theme-variables.css.
   ========================================================================= */

/* --- Base ------------------------------------------------------------------- */

html { overflow-x: clip; background: var(--pd-ground); }
.ssl-newsletter { scroll-margin-top: 1rem; }
body {
    background: var(--pd-ground);
    color: var(--pd-text);
    font-family: var(--pd-body);
    font-size: var(--pd-size-body);
    line-height: var(--pd-lh-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--pd-display); color: var(--pd-ink); line-height: var(--pd-lh-head); font-weight: 600; letter-spacing: 0; }
a { color: var(--pd-brand); }
a:hover { color: var(--pd-brand-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--pd-brand); outline-offset: 2px; }
button, input, select, textarea { font-family: var(--pd-ui); }
::selection { background: var(--pd-brand-tint); color: var(--pd-ink); }

/* main.css styles .search-results (padding + white) and WP puts that class on <body> on search pages. */
body.search-results { padding: 0; background: var(--pd-ground); }
.site-container { max-width: none; margin: 0; padding: 0; }
.site-main { padding-top: 0; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.ssl-wrap, .ssl-archive-inner, .ssl-archive-body, .ssl-single-main, .ssl-page-wrap, .ssl-empty-wrap {
    max-width: var(--pd-page-max); margin-left: auto; margin-right: auto; padding-left: var(--pd-gutter); padding-right: var(--pd-gutter);
}

.ssl-skip-link { position: absolute; left: -9999px; top: 0; background: var(--pd-ink); color: #fff; padding: 0.75rem 1rem; z-index: 2000; font-weight: 700; }
.ssl-skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* UI text: the condensed face, in caps. */
.ssl-breadcrumb, .ssl-meta, .ssl-article-meta, .ssl-more, .ssl-fhead, .ssl-newsletter-label, .ssl-archive-count, .ssl-toc-count, .ssl-pager, .ssl-label, .ssl-kicker, .ssl-tagline, .ssl-count {
    font-family: var(--pd-ui);
}
.ssl-label { margin: 0; font-size: var(--pd-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pd-meta); }
.ssl-meta { margin: 0; font-size: 0.875rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pd-meta); }
.ssl-meta a { color: inherit; text-decoration: none; }
.ssl-dot { color: var(--pd-meta); padding: 0 0.25em; }
.ssl-kicker { margin: 0; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; }
.ssl-kicker a { color: var(--pd-brand); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.ssl-kicker a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Framed photo: its own block, square corners, a quiet placeholder ground. */
.ssl-frame { display: block; overflow: hidden; background: var(--pd-deep); }
.ssl-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
a.ssl-frame:hover img { transform: scale(1.03); }
.ssl-frame--wide img, .ssl-frame--hero img { aspect-ratio: 16 / 9; height: auto; }
.ssl-frame--photo img { aspect-ratio: 3 / 2; }
.ssl-frame--square img { aspect-ratio: 1 / 1; }

.ssl-more { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pd-brand); text-decoration: none; white-space: nowrap; }
.ssl-more:hover { color: var(--pd-brand-dark); text-decoration: underline; text-underline-offset: 0.2em; }

/* --- Masthead: black strip, then wordmark left / topics right on one row ---------- */

.ssl-masthead { position: relative; z-index: 100; background: var(--pd-white); border-bottom: 1px solid var(--pd-rule); }
.ssl-strip { background: var(--pd-ink); color: var(--pd-on-ink); }
.ssl-strip-inner { max-width: var(--pd-page-max); margin: 0 auto; padding: 0 var(--pd-gutter); min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ssl-tagline { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pd-on-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssl-strip-sub { flex: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; font-family: var(--pd-ui); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pd-on-ink); text-decoration: none; }
.ssl-strip-sub:hover { color: var(--pd-on-ink-accent); text-decoration: underline; text-underline-offset: 0.2em; }

.ssl-mast-row { max-width: var(--pd-page-max); margin: 0 auto; padding: 0 var(--pd-gutter); min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ssl-brand-name { margin: 0; font-size: inherit; line-height: 1; font-weight: inherit; letter-spacing: inherit; }
.ssl-wordmark, .ssl-wordmark:hover, .ssl-wordmark:focus, .ssl-footer-word, .ssl-footer-word:hover { text-decoration: none !important; }
.ssl-wordmark { display: inline-flex; align-items: center; min-height: 48px; }
.ssl-logo { display: inline-flex; align-items: baseline; gap: 0.16em; font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.625rem); line-height: 1; white-space: nowrap; color: var(--pd-ink); }
.ssl-logo-sp { font-size: 0; width: 0; }
.ssl-logo-a { font-family: var(--pd-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; }
.ssl-logo-dot { display: inline-block; width: 0.2em; height: 0.2em; background: var(--pd-dot); transform: translateY(-0.02em); }
.ssl-logo-b { font-family: var(--pd-body); font-weight: 500; font-style: italic; font-size: 0.74em; letter-spacing: 0; }

.ssl-mast-nav { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.ssl-drawer-clip { display: contents; }
.ssl-mast-nav .main-navigation { min-width: 0; display: flex; }
.ssl-mast-nav .primary-menu { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0 1.6rem; list-style: none; margin: 0; padding: 0; }
.ssl-mast-nav .main-navigation li { margin: 0; }
.ssl-mast-nav .main-navigation a {
    display: inline-flex; align-items: center; min-height: 54px; position: relative; white-space: nowrap;
    font-family: var(--pd-ui); font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pd-ink); text-decoration: none;
}
.ssl-mast-nav .main-navigation a:hover { color: var(--pd-brand); }
.ssl-mast-nav .main-navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 3px; background: var(--pd-brand); opacity: 0; transition: opacity 0.2s; }
.ssl-mast-nav .main-navigation a:hover::after, .ssl-mast-nav .main-navigation .current-cat > a::after { opacity: 1; }
.ssl-mast-nav .main-navigation .current-cat > a { color: var(--pd-ink); }
.ssl-mast-nav .main-navigation .ssl-drawer-label, .ssl-mast-nav .main-navigation .ssl-drawer-sub { display: none; }

.ssl-nav-tools { display: flex; align-items: center; gap: 0.25rem; padding-left: 0.75rem; border-left: 1px solid var(--pd-rule); }
.ssl-masthead .ssl-search-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 0; color: var(--pd-ink) !important; cursor: pointer; transition: color 0.2s, background 0.2s; }
.ssl-masthead .ssl-search-toggle:hover, .ssl-masthead .ssl-search-toggle[aria-expanded="true"] { color: var(--pd-brand) !important; background: var(--pd-brand-tint); }
.ssl-masthead .mobile-menu-toggle { display: none; }
/* Search opens as a row under the masthead (main.css made it a fixed overlay). */
.ssl-masthead .mobile-search-form { position: static; transform: none; box-shadow: none; z-index: auto; padding: 0.9rem var(--pd-gutter); background: var(--pd-deep); border-top: 1px solid var(--pd-rule); }
.ssl-masthead .mobile-search-form form { max-width: 760px; margin: 0 auto; }
.ssl-masthead .search-field { font-family: var(--pd-body); font-size: 1.0625rem; min-height: 50px; border-radius: 0; border: 1px solid var(--pd-ink); background: var(--pd-white); color: var(--pd-ink); }
.ssl-masthead .mobile-search-form button[type="submit"] { min-height: 50px; border-radius: 0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--pd-ink); color: #fff; border: 0; }
.ssl-masthead .mobile-search-close { background: transparent !important; color: var(--pd-ink) !important; min-width: 44px; min-height: 44px; }

/* --- Breadcrumb -------------------------------------------------------------------- */

.ssl-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.45rem; margin: 0; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pd-meta); }
.ssl-breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; color: var(--pd-meta); text-decoration: none; }
.ssl-breadcrumb a:hover { color: var(--pd-brand); text-decoration: underline; }
.ssl-breadcrumb [aria-current], .ssl-breadcrumb a:last-of-type:not(:first-child) { color: var(--pd-ink); font-weight: 600; }
.ssl-breadcrumb .sep { color: var(--pd-meta); }

/* --- The black band: orange dot, white condensed caps, an aside at the right -------- */

.ssl-band { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; min-height: 52px; margin: 0 0 clamp(1.25rem, 2.4vw, 1.75rem); padding: 0 1.1rem; background: var(--pd-ink); color: var(--pd-on-ink); }
.ssl-band-title { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1; color: var(--pd-on-ink); }
.ssl-band-dot { flex: none; display: inline-block; width: 0.5em; height: 0.5em; background: var(--pd-dot); }
.ssl-band-aside { flex: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-family: var(--pd-ui); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pd-on-ink); text-decoration: none; white-space: nowrap; }
a.ssl-band-aside:hover { color: var(--pd-on-ink-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.ssl-band--small { min-height: 44px; margin-bottom: 0.25rem; padding: 0 0.9rem; }
.ssl-band--small .ssl-band-title { font-size: 1.0625rem; }
/* The quieter variant: a 4px black rule with the label under it on white. */
.ssl-band--rule { min-height: 0; padding: 0.75rem 0 0; background: transparent; border-top: var(--pd-board) solid var(--pd-ink); color: var(--pd-ink); }
.ssl-band--rule .ssl-band-title { color: var(--pd-ink); }
.ssl-band--rule .ssl-band-aside { color: var(--pd-meta); }

.ssl-section { margin-top: clamp(2.5rem, 5vw, 3.75rem); }

/* --- Photo card: the picture, then everything else under it on white ---------------- */

.ssl-card { min-width: 0; display: flex; flex-direction: column; }
.ssl-card-body { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 0.8rem; min-width: 0; }
.ssl-card-title { margin: 0; font-size: clamp(1.3125rem, 1.2rem + 0.45vw, 1.5rem); font-weight: 600; line-height: 1.14; text-wrap: balance; }
.ssl-card-title a { color: var(--pd-ink); text-decoration: none; }
.ssl-card-title a:hover { color: var(--pd-brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.ssl-card-dek { margin: 0.2rem 0 0; font-size: 1rem; line-height: 1.55; color: var(--pd-meta); }
.ssl-card .ssl-meta { margin-top: 0.2rem; font-size: 0.8125rem; }
.ssl-card--text .ssl-card-body { padding-top: 0; }

.ssl-board { display: grid; gap: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.25rem, 2.2vw, 1.75rem); align-items: start; }
.ssl-board--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ssl-board--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ssl-board + .ssl-board { margin-top: clamp(1.5rem, 2.6vw, 2.25rem); }

/* Image-left card. */
.ssl-side { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0 1.1rem; align-items: start; min-width: 0; }
.ssl-side--text { grid-template-columns: minmax(0, 1fr); }
.ssl-side-body { min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.ssl-side-title { margin: 0; font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem); font-weight: 600; line-height: 1.14; text-wrap: balance; }
.ssl-side-title a { color: var(--pd-ink); text-decoration: none; }
.ssl-side-title a:hover { color: var(--pd-brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }

/* --- Ad frames: labelled, reserved; nothing for readers when unfilled ----------------- */

.ssl-ad { text-align: center; background: var(--pd-white); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); padding: 0.75rem 0.5rem 1rem; min-height: 290px; }
.ssl-ad::before { content: "Advertisement"; display: block; font-family: var(--pd-ui); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pd-meta); margin-bottom: 0.6rem; }
.ssl-ad--wide { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); min-height: 130px; }
.ssl-ad:has(ins[data-ad-status="unfill-optimized"]), .ssl-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.ssl-ad-placeholder { border: 1px dashed var(--pd-rule); border-radius: var(--pd-radius); padding: 2rem 1rem; color: var(--pd-meta); font-size: 0.875rem; margin: 0 0.5rem; }

.ssl-archive .ssl-pager { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.ssl-other { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* Pager: square boxes, the current page black. */
.ssl-pager { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin: 0.5rem 0 0; }
.ssl-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.ssl-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 0.6rem; border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); background: var(--pd-white); color: var(--pd-ink); font-family: var(--pd-ui); font-size: 1rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.ssl-pager a.page-numbers:hover { border-color: var(--pd-brand); color: var(--pd-brand); }
.ssl-pager .page-numbers.current { background: var(--pd-brand); border-color: var(--pd-brand); color: #fff; }
.ssl-pager .page-numbers.dots { border: 0; background: transparent; min-width: 24px; }
.ssl-pager-count { margin: 0; font-size: 0.75rem; }

/* --- Single ------------------------------------------------------------------------ */

.ssl-single-main { padding-top: clamp(1.25rem, 2.5vw, 2rem); }
.ssl-article-head { max-width: 900px; margin: 0; padding: 0; border: 0; text-align: left; }
.ssl-article-tag { margin: 0.75rem 0 0; }
.ssl-title { margin: 0.8rem 0 0; font-size: var(--pd-title); font-weight: 700; line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
.ssl-standfirst { margin: 1rem 0 0; max-width: 42em; font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); line-height: 1.55; color: var(--pd-meta); }
.ssl-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.4rem; margin: 1.1rem 0 0; font-size: 0.8125rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--pd-meta); }
.ssl-mg { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 0 0.4rem; }
.ssl-byline a { color: var(--pd-brand); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.ssl-byline a:hover { text-decoration: underline; }
/* The hero: a thin white mat, standing on the board. */
.ssl-hero { margin: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--pd-rule); }
.ssl-caption { font-size: 0.8125rem; line-height: 1.5; color: var(--pd-meta); padding: 0.6rem 0.1rem 0; }

/* Reading column on a white sheet + sidebar. */
.ssl-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--pd-sidebar); gap: 2.5rem clamp(2rem, 3.5vw, 3rem); align-items: start; }
.ssl-layout-main { min-width: 0; }
.ssl-disclosure { margin: 0 0 1.5rem; padding: 0.85rem 1.1rem; background: var(--pd-ground); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); font-size: 0.875rem; line-height: 1.55; color: var(--pd-meta); }
.ssl-disclosure a { color: var(--pd-brand); font-weight: 600; white-space: nowrap; }

.ssl-article .entry-content { font-size: var(--pd-size-body); line-height: var(--pd-lh-body); color: var(--pd-text); }
.ssl-article .entry-content > * { max-width: 100%; }
.ssl-article .entry-content p { text-wrap: pretty; }
.ssl-article .entry-content > :first-child { margin-top: 0; }
.ssl-article .entry-content h2 { font-size: var(--pd-h2); font-weight: 700; line-height: 1.15; margin: 3rem 0 1rem; padding: 0; border: 0; color: var(--pd-ink); scroll-margin-top: 1.5rem; text-wrap: balance; }
.ssl-article .entry-content h3 { font-size: var(--pd-h3); font-weight: 700; line-height: 1.22; margin: 2.25rem 0 0.75rem; scroll-margin-top: 1.5rem; text-wrap: balance; }
.ssl-article .entry-content > h2:first-child { margin-top: 0.5rem; }
.ssl-h2-num { display: inline-block; margin-right: 0.35em; color: var(--pd-brand); }
.ssl-item-no { display: inline-block; margin-right: 0.3em; color: var(--pd-brand); font-weight: 700; }
.ssl-article .entry-content h4 { font-family: var(--pd-display); font-weight: 700; font-size: 1.125rem; }
.ssl-article .entry-content a { color: var(--pd-brand); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.ssl-article .entry-content a:hover { color: var(--pd-brand-dark); text-decoration-thickness: 2px; }
.ssl-article .entry-content strong { font-weight: 600; color: var(--pd-ink); }
.ssl-article .entry-content figure { margin: 2.25rem 0; }
.ssl-article .entry-content figure img, .ssl-article .entry-content p > img { display: block; height: auto; padding: 4px; border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); background: var(--pd-white); box-shadow: none; }
.ssl-article .entry-content figcaption { text-align: left; font-family: var(--pd-ui); font-style: normal; font-size: 0.8125rem; line-height: 1.5; color: var(--pd-meta); padding-top: 0.6rem; }
.ssl-article .entry-content ol, .ssl-article .entry-content ul { padding-left: 1.5rem; }
.ssl-article .entry-content li { margin-bottom: 0.6rem; }
.ssl-article .entry-content ul li::marker { color: var(--pd-brand); }
.ssl-article .entry-content ol li::marker { color: var(--pd-brand); font-family: var(--pd-display); font-weight: 700; }
.ssl-article .entry-content blockquote { border: 0; border-left: 4px solid var(--pd-brand); background: var(--pd-ground); border-radius: 0 var(--pd-radius) var(--pd-radius) 0; margin: 2rem 0; padding: 1.1rem 1.4rem; font-size: 1.0625rem; line-height: 1.65; color: var(--pd-text); }
.ssl-article .entry-content blockquote p { margin: 0; }
.ssl-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.ssl-article .entry-content hr { border: 0; border-top: 1px solid var(--pd-rule); }
.table-scroll { overflow-x: auto; margin: 2rem 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--pd-rule); border-radius: var(--pd-radius);
    /* scroll cue: a soft shadow on the right edge while more columns are hidden (the white cover scrolls with the content and hides it at the end) */
    background: linear-gradient(to left, var(--pd-white) 40%, rgba(255, 255, 255, 0)) right center / 48px 100% no-repeat local,
                radial-gradient(farthest-side at 100% 50%, rgba(34, 32, 29, 0.18), rgba(34, 32, 29, 0)) right center / 16px 100% no-repeat scroll,
                var(--pd-white); }
.table-scroll table { min-width: 560px; margin: 0; }
.ssl-article .entry-content table { border-collapse: collapse; width: 100%; font-size: 0.875em; line-height: 1.5; background: transparent; }
.ssl-article .entry-content th { font-family: var(--pd-ui); background: var(--pd-ground); color: var(--pd-ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; border-bottom: 2px solid var(--pd-brand); }
.ssl-article .entry-content td, .ssl-article .entry-content th { border-bottom: 1px solid var(--pd-rule); padding: 0.75rem 0.85rem; vertical-align: top; min-width: 7.25rem; }
.ssl-article .entry-content tr:last-child td { border-bottom: 0; }
.ssl-article .entry-content td:first-child, .ssl-article .entry-content th:first-child { position: sticky; left: 0; z-index: 1; }
.ssl-article .entry-content td:first-child { background: var(--pd-white); font-weight: 600; color: var(--pd-ink); }

/* "In this guide" (the article's own contents block, ssl_toc_panel). */
.ssl-toc { margin: 0 0 2.25rem; background: var(--pd-ground); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); }
.ssl-toc summary { display: flex; align-items: center; gap: 1rem; min-height: 58px; padding: 0.6rem 1.25rem; cursor: pointer; list-style: none; }
.ssl-toc summary::-webkit-details-marker { display: none; }
.ssl-toc summary::after { content: "+"; font-family: var(--pd-display); font-size: 1.375rem; font-weight: 700; color: var(--pd-brand); margin-left: 0.25rem; }
.ssl-toc[open] summary::after { content: "−"; }
.ssl-toc-title { font-family: var(--pd-display); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pd-ink); }
.ssl-toc-count { margin-left: auto; font-size: 0.75rem; color: var(--pd-meta); }
.ssl-article .entry-content .ssl-toc-list { list-style: none; margin: 0; padding: 0 1.25rem 1rem; counter-reset: ssltoc; }
.ssl-article .entry-content .ssl-toc-list li { margin: 0; padding: 0; counter-increment: ssltoc; border-top: 1px solid var(--pd-rule); }
.ssl-article .entry-content .ssl-toc-list li::marker { content: none; }
.ssl-article .entry-content .ssl-toc-list a { display: flex; gap: 0.9rem; align-items: baseline; min-height: 46px; padding: 0.65rem 0; color: var(--pd-ink); text-decoration: none; font-family: var(--pd-ui); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.ssl-article .entry-content .ssl-toc-list a::before { content: counter(ssltoc, decimal-leading-zero); flex: none; font-family: var(--pd-display); font-size: 0.875rem; font-weight: 700; color: var(--pd-brand); font-variant-numeric: tabular-nums; }
.ssl-article .entry-content .ssl-toc-list a:hover { color: var(--pd-brand); }

/* Article pager (posts split with <!--nextpage-->): numbers only. */
.ssl-page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 2.25rem 0 0.5rem; }
.entry-content .ssl-page-links .post-page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 0.75rem;
    border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); background: var(--pd-white); color: var(--pd-ink);
    font-family: var(--pd-display); font-size: 1rem; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums;
}
.entry-content .ssl-page-links a.post-page-numbers:hover { border-color: var(--pd-brand); color: var(--pd-brand); }
.entry-content .ssl-page-links .post-page-numbers.current { background: var(--pd-brand); border-color: var(--pd-brand); color: #fff; }

.ssl-team { margin: 2.75rem 0 0; padding: 1.25rem 1.5rem; background: var(--pd-ground); border: 1px solid var(--pd-rule); border-left: 4px solid var(--pd-brand); border-radius: 0 var(--pd-radius) var(--pd-radius) 0; }
.ssl-team-title { margin: 0 0 0.5rem; font-family: var(--pd-display); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pd-ink); }
.ssl-team p { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--pd-text); }
.ssl-team .ssl-team-more { margin-top: 0.5rem; }
.ssl-team-more a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; }

.ssl-related { margin: clamp(3rem, 6vw, 4.5rem) 0 0; }


/* Mosaic: the hero is a plain square-cornered picture closed by a 4px black rule. */
.ssl-article-head { max-width: none; padding-bottom: clamp(1.25rem, 2.6vw, 1.75rem); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); border-bottom: var(--pd-board) solid var(--pd-ink); }
.ssl-article-head > * { max-width: 900px; }
.ssl-hero { margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); padding: 0; border: 0; }
.ssl-article { min-width: 0; }
/* The lifted top-of-article ad (ssl_article_parts): above the photo on phones, under it on desktop. Space reserved. */
.ssl-layout-main { display: flex; flex-direction: column; }
.ssl-layout-main > * { order: 2; }
.ssl-layout-main > .ssl-hero { order: 0; }
.ssl-layout-main > .ssl-atf { order: 1; min-height: 280px; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); }
.ssl-atf .code-block { margin: 0 !important; }
.ssl-atf:has(ins[data-ad-status="unfill-optimized"]), .ssl-atf:has(ins[data-ad-status="unfilled"]) { display: none; }
.ssl-article-tag { margin-top: 0.6rem; }
.ssl-title { font-weight: 600; line-height: 1.04; }
.ssl-standfirst { font-family: var(--pd-body); }
.ssl-article-meta { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; }
.ssl-article .entry-content h2 { font-weight: 700; line-height: 1.08; }
.ssl-article .entry-content h3 { font-weight: 600; line-height: 1.12; }
.ssl-article .entry-content h4 { font-size: 1.3125rem; font-weight: 600; }
.ssl-article .entry-content strong { font-weight: 700; }
.ssl-article .entry-content figure img, .ssl-article .entry-content p > img { padding: 0; border: 0; }
.ssl-article .entry-content figcaption, .ssl-caption { font-family: var(--pd-body); font-style: italic; font-size: 0.875rem; }
.ssl-item-no { font-size: 1.25em; }
.ssl-article .entry-content th { background: var(--pd-ink); color: #fff; font-size: 0.9375rem; border-bottom: 0; }
.ssl-article .entry-content blockquote { background: var(--pd-brand-tint); }
.ssl-toc { background: var(--pd-white); border: 1px solid var(--pd-ink); }
.ssl-toc-title { font-size: 1.0625rem; }
.ssl-toc-count { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ssl-article .entry-content .ssl-toc-list a { font-family: var(--pd-body); font-size: 1rem; font-weight: 500; }
.ssl-article .entry-content .ssl-toc-list a::before { font-size: 1.0625rem; }
.entry-content .ssl-page-links .post-page-numbers { border-color: var(--pd-ink); font-size: 1.125rem; }
.entry-content .ssl-page-links .post-page-numbers.current { background: var(--pd-ink); border-color: var(--pd-ink); }
.ssl-page-next { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1rem 0 0.5rem; }
.entry-content .ssl-page-next a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 1.5rem; background: var(--pd-ink); color: #fff; font-family: var(--pd-ui); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.entry-content .ssl-page-next a:hover { background: var(--pd-brand); color: #fff; }
.ssl-team { background: var(--pd-white); border: 1px solid var(--pd-rule); border-left: var(--pd-board) solid var(--pd-ink); }
.ssl-team-title { font-size: 1.0625rem; }
.ssl-team-more a { gap: 0.35rem; }
.ssl-pager .page-numbers { border-color: var(--pd-ink); font-size: 1.125rem; font-weight: 700; min-width: 44px; height: 44px; }
.ssl-pager .page-numbers.current { background: var(--pd-ink); border-color: var(--pd-ink); }
.ssl-pager a.page-numbers:hover { background: var(--pd-brand-tint); }
.ssl-pager-count { font-size: 0.8125rem; }

/* main.css sets content-visibility:auto (500px placeholder) on the comments; the form is taller,
   so it painted late and shifted the page (visual QA 2026-10-08 on the fork). */
.comments-area { margin-top: 2rem; padding-top: 0; border-top: 0; content-visibility: visible; contain-intrinsic-size: none; }
.comments-area .comments-title, .comments-area .comment-reply-title { font-size: var(--pd-h3); }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-respond { margin: 0; background: var(--pd-ground); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); }
.comments-area label, .comments-area .comment-notes, .comments-area .logged-in-as { color: var(--pd-meta); }
.comments-area input:not([type="checkbox"]):not([type="submit"]), .comments-area textarea { border-radius: var(--pd-radius); border: 1px solid var(--pd-rule); background: var(--pd-white); color: var(--pd-ink); }
.comments-area input:focus, .comments-area textarea:focus { border-color: var(--pd-brand); outline: none; }
.comments-area .submit, .comments-area #submit { background: var(--pd-brand) !important; border: none; border-radius: var(--pd-radius) !important; color: #fff !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; min-height: 48px; padding: 0 1.5rem; cursor: pointer; }
.comments-area .submit:hover, .comments-area #submit:hover { background: var(--pd-brand-dark) !important; }
.comments-area .comment-body { background: transparent; border: 0; border-bottom: 1px solid var(--pd-rule); border-radius: 0; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 0.5rem; }
.comment-form-cookies-consent input { flex: 0 0 auto; margin: 0.3rem 0 0; }
.comment-form-cookies-consent label { margin: 0; }

/* --- Sidebar ------------------------------------------------------------------------ */

.ssl-sidebar { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.ssl-widget { min-width: 0; }

/* Most read: 80px photo, headline. */
.ssl-thumbs { list-style: none; margin: 0; padding: 0; }
.ssl-thumbs li { display: flex; gap: 0.9rem; align-items: center; margin: 0; padding: 0.8rem 0; border-bottom: 1px solid var(--pd-rule); }
.ssl-thumbs li:last-child { border-bottom: 0; }
.ssl-thumbs-img { flex: none; display: block; width: 80px; height: 80px; overflow: hidden; background: var(--pd-deep); }
.ssl-thumbs-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ssl-thumbs-text { min-width: 0; line-height: 1.15; }
.ssl-thumbs-title { font-family: var(--pd-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.15; color: var(--pd-ink); text-decoration: none; }
.ssl-thumbs-title:hover { color: var(--pd-brand); text-decoration: underline; text-underline-offset: 0.16em; }

.ssl-deptlist { list-style: none; margin: 0; padding: 0; }
.ssl-deptlist li { margin: 0; border-bottom: 1px solid var(--pd-rule); }
.ssl-deptlist li:last-child { border-bottom: 0; }
.ssl-deptlist a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; color: var(--pd-ink); text-decoration: none; font-family: var(--pd-ui); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ssl-deptlist a:hover, .ssl-deptlist a.is-current { color: var(--pd-brand); }
.ssl-count { font-size: 0.9375rem; font-weight: 600; color: var(--pd-meta); font-variant-numeric: tabular-nums; }

/* The newsletter card and band: solid black, the rust button. */
.ssl-widget-news { padding: 1.5rem; background: var(--pd-ink); color: var(--pd-on-ink); }
.ssl-newsletter-label { margin: 0 0 0.4rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pd-on-ink-accent); }
.ssl-widget-news-title { margin: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.05; text-transform: uppercase; color: var(--pd-on-ink); text-wrap: balance; }
.ssl-widget-news .ssl-newsletter-note { margin: 0.6rem 0 1rem; font-family: var(--pd-body); font-size: 0.9375rem; line-height: 1.55; color: var(--pd-on-ink-meta); }
.ssl-widget-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.ssl-widget-news input[type="email"], .ssl-newsletter input[type="email"], .ssl-inline-news input[type="email"] {
    min-height: 50px; padding: 0 1rem; border: 1px solid var(--pd-ink); border-radius: 0; background: var(--pd-white); color: var(--pd-ink); font-family: var(--pd-body); font-size: 1rem;
}
.ssl-widget-news input[type="email"]:focus, .ssl-newsletter input[type="email"]:focus, .ssl-inline-news input[type="email"]:focus { outline: 2px solid var(--pd-on-ink-accent); outline-offset: 2px; }
.ssl-widget-news button, .ssl-newsletter button, .ssl-inline-news button {
    min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: 0; background: var(--pd-brand); color: #fff;
    font-family: var(--pd-ui); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.ssl-widget-news button:hover, .ssl-newsletter button:hover, .ssl-inline-news button:hover { background: var(--pd-brand-dark); }
.ssl-sidebar .ssl-ad { min-height: 290px; }
.newsletter-message { margin-top: 0.75rem; font-weight: 600; }
.ssl-widget-news .newsletter-message, .ssl-newsletter .newsletter-message { color: var(--pd-on-ink); }

.ssl-newsletter { margin-top: clamp(1rem, 2vw, 1.5rem); padding: clamp(2.5rem, 5vw, 3.75rem) var(--pd-gutter); background: var(--pd-ink); color: var(--pd-on-ink); border-bottom: 1px solid #2E2B28; }
.ssl-newsletter-inner { max-width: calc(var(--pd-page-max) - 2 * var(--pd-gutter)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ssl-newsletter-copy, .ssl-newsletter-form { min-width: 0; }
.ssl-newsletter h2 { margin: 0 0 0.6rem; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--pd-on-ink); text-wrap: balance; }
.ssl-newsletter-dek { margin: 0; max-width: 34em; font-size: 1.0625rem; line-height: 1.6; color: var(--pd-on-ink-meta); }
.ssl-newsletter .newsletter-form { display: flex; flex-direction: row; gap: 0; width: 100%; max-width: 560px; }
.ssl-newsletter input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 54px; border-color: var(--pd-white); }
.ssl-newsletter button { min-height: 54px; white-space: nowrap; flex: none; }
.ssl-newsletter-note { margin: 0.85rem 0 0; font-family: var(--pd-body); font-size: 0.875rem; color: var(--pd-on-ink-meta); }

/* --- Footer: black ------------------------------------------------------------------- */

.ssl-footer { background: var(--pd-ink); color: var(--pd-on-ink); }
.ssl-footer-inner { max-width: var(--pd-page-max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 3.5rem) var(--pd-gutter) 2rem; }
.ssl-footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid #2E2B28; }
.ssl-footer-brand { min-width: 0; max-width: 26rem; }
.ssl-footer-word { display: inline-flex; }
.ssl-logo--footer { font-size: 2rem; color: var(--pd-on-ink); }
.ssl-footer-about { margin: 0.8rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: var(--pd-on-ink-meta); }
.ssl-footer-mail { margin: 0.4rem 0 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.ssl-footer-mail a, .ssl-social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pd-on-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.ssl-footer-mail a:hover, .ssl-social a:hover { color: var(--pd-on-ink-accent); }
.ssl-social { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: 0; padding: 0; }
.ssl-flist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.ssl-flist:empty { display: none; }
.ssl-flist li { margin: 0; }
.ssl-flist a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; color: var(--pd-on-ink); font-family: var(--pd-body); font-size: 0.9375rem; text-decoration: none; }
.ssl-flist a:hover { color: var(--pd-on-ink-accent); text-decoration: underline; text-underline-offset: 0.25em; }
.ssl-footer-topics .ssl-flist a { font-family: var(--pd-ui); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ssl-fcount { font-weight: 600; color: var(--pd-on-ink-accent); font-variant-numeric: tabular-nums; }
.ssl-footer-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem; padding: 1.25rem 0; border-bottom: 1px solid #2E2B28; }
.ssl-footer-links nav { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); align-items: baseline; gap: 0 1rem; }
.ssl-fhead { margin: 0; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pd-on-ink-meta); }
.ssl-footer-small { padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ssl-footer-owner, .ssl-colophon { margin: 0; max-width: 64rem; font-family: var(--pd-body); font-size: 0.8125rem; line-height: 1.6; color: var(--pd-on-ink-meta); }
.ssl-footer-owner { color: var(--pd-on-ink); }
.ssl-footer .ssl-footer-note { color: var(--pd-on-ink-meta); }

/* --- Static pages, empty states ------------------------------------------------------ */

.ssl-page { max-width: 820px; margin: clamp(1.75rem, 3.5vw, 2.75rem) auto 0.5rem; padding: 0 var(--pd-gutter); }
.ssl-empty { max-width: 680px; margin: clamp(2rem, 4vw, 3rem) auto 2rem; padding: 2.5rem 1.5rem; text-align: center; background: var(--pd-white); border: 1px solid var(--pd-rule); border-bottom: var(--pd-board) solid var(--pd-ink); border-radius: var(--pd-radius); }
.ssl-empty h1, .ssl-empty h2 { font-size: var(--pd-title); font-weight: 700; margin: 0.5rem 0 0.75rem; }
.ssl-empty .search-form { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
.ssl-deptlist--chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.ssl-deptlist--chips li { border-bottom: 0; }
.ssl-deptlist--chips a { padding: 0 1rem; border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); background: var(--pd-white); }
.ssl-deptlist--chips a:hover { border-color: var(--pd-brand); color: var(--pd-brand); }

.ssl-page-head { position: relative; text-align: left; margin: 0 0 2rem; padding: 0 0 calc(1.5rem + var(--pd-board)); }
.ssl-page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--pd-board); background: var(--pd-ink); }
.ssl-page-kicker { margin: 0 0 .75rem; }
.ssl-page-kicker { display: inline-flex; padding: 0.45rem 0.7rem 0.42rem; border-radius: 3px; background: var(--pd-tape); color: var(--pd-tape-text); font-family: var(--pd-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.ssl-page-head .ssl-page-title { margin: 0; font-family: var(--pd-display); font-size: var(--pd-title); font-weight: 700; line-height: 1.06; letter-spacing: 0; color: var(--pd-ink); text-wrap: balance; }
.ssl-page-standfirst { margin: .85rem 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--pd-meta); max-width: 40rem; }
.ssl-page-updated { margin: .9rem 0 0; font-family: var(--pd-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pd-meta); }
.ssl-page .entry-content { font-size: var(--pd-size-body); line-height: var(--pd-lh-body); }
.ssl-page .entry-content h2 { font-family: var(--pd-display); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.8125rem); font-weight: 700; line-height: 1.15; margin: 2.5rem 0 .75rem; scroll-margin-top: 1.5rem; }
.ssl-page .entry-content h2:first-child { margin-top: 0; }
.ssl-page .entry-content a { color: var(--pd-brand); }
.ssl-onpage { margin: 0 0 2rem; padding: 1.1rem 1.4rem; background: var(--pd-white); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); }
.ssl-onpage-title { margin: 0 0 .5rem; font-family: var(--pd-display); font-size: 0.875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pd-ink); }
.ssl-page .entry-content .ssl-onpage ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.ssl-page .entry-content .ssl-onpage li { margin: 0; padding: 0; break-inside: avoid; }
.ssl-page .entry-content .ssl-onpage li::marker { content: none; }
.ssl-page .entry-content .ssl-onpage a { display: flex; gap: .6rem; align-items: baseline; min-height: 44px; padding: .45rem 0; color: var(--pd-ink); text-decoration: none; font-family: var(--pd-ui); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.ssl-page .entry-content .ssl-onpage a:hover span:last-child { text-decoration: underline; color: var(--pd-brand); }
.ssl-onpage-num { flex: none; font-family: var(--pd-display); font-weight: 700; color: var(--pd-brand); }
.ssl-page-ask { margin: 2.25rem 0 0; padding: 1.25rem 1.5rem; background: var(--pd-white); border: 1px solid var(--pd-rule); border-left: 4px solid var(--pd-brand); border-radius: 0 var(--pd-radius) var(--pd-radius) 0; }
.ssl-page-ask-title { margin: 0 0 .25rem; font-family: var(--pd-display); font-weight: 700; font-size: 1.125rem; }
.ssl-page-ask p { margin: 0; }
.ssl-page-ask a, .ssl-contact-email a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pd-brand); font-weight: 600; }
.ssl-contact-intro { margin: 0 0 1.5rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--pd-rule); }
.ssl-contact-intro p { margin: 0 0 .5rem; }
.ssl-contact-email { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Theme contact form (inc/contact-form.php; off here — the page carries CF7). */
.ssl-contact-form { margin: 1.75rem 0 2rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--pd-white); border: 1px solid var(--pd-rule); border-top: 4px solid var(--pd-brand); border-radius: var(--pd-radius); }
.ssl-contact-form-title { margin: 0 0 1.25rem; font-family: var(--pd-display); font-weight: 700; font-size: 1.5rem; line-height: var(--pd-lh-head); color: var(--pd-ink); }
.ssl-contact-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 640px) { .ssl-contact-row { grid-template-columns: 1fr 1fr; } }
.ssl-page .inedit-form-group { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.ssl-page .inedit-form-group label { font-weight: 600; font-size: .9375rem; color: var(--pd-ink); }
.ssl-page .inedit-form-group input, .ssl-page .inedit-form-group select, .ssl-page .inedit-form-group textarea { width: 100%; box-sizing: border-box; font-size: 1.0625rem; min-height: 50px; padding: .6rem .85rem; border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); background: var(--pd-white); color: var(--pd-ink); }
.ssl-page .ssl-contact-form textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.ssl-page .ssl-contact-form input:focus, .ssl-page .ssl-contact-form select:focus, .ssl-page .ssl-contact-form textarea:focus { outline: 2px solid var(--pd-brand); outline-offset: 1px; border-color: var(--pd-brand); }
.ssl-optional { font-weight: 400; color: var(--pd-meta); }
.ssl-contact-hint { margin: .1rem 0 0; font-size: .9375rem; color: var(--pd-meta); }
.ssl-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .5rem; }
.ssl-page .inedit-contact-submit { min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: var(--pd-radius); background: var(--pd-brand); color: #fff; font-weight: 600; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ssl-page .inedit-contact-submit:hover { background: var(--pd-brand-dark); }
.ssl-page .inedit-contact-submit:disabled { opacity: .7; cursor: wait; }
.ssl-contact-privacy { margin: 0; font-size: .9375rem; color: var(--pd-meta); }
.ssl-contact-privacy a { color: var(--pd-brand); }
.ssl-contact-status { margin-top: 1rem; }
.ssl-contact-status:empty { display: none; }
.ssl-contact-status.is-ok, .ssl-contact-status.is-error { padding: .85rem 1rem; border-radius: var(--pd-radius); font-weight: 600; }
.ssl-contact-status.is-ok { background: #EAF1E8; color: #1E4D2B; border: 1px solid #B9D2B3; }
.ssl-contact-status.is-error { background: #F8EAE7; color: #7A2617; border: 1px solid #E3BDB4; }
.ssl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Contact Form 7 on the Contact page: match the theme. */
.ssl-page .wpcf7 input:not([type="submit"]):not([type="checkbox"]), .ssl-page .wpcf7 textarea { width: 100%; box-sizing: border-box; min-height: 50px; padding: .6rem .85rem; border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); background: var(--pd-white); color: var(--pd-ink); font-family: var(--pd-body); font-size: 1.0625rem; }
.ssl-page .wpcf7 input[type="submit"] { min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: var(--pd-radius); background: var(--pd-brand); color: #fff; font-family: var(--pd-ui); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ssl-page .wpcf7 input[type="submit"]:hover { background: var(--pd-brand-dark); }

/* Inline newsletter card inside long numbered lists (ssl_inline_newsletter). */
.ssl-inline-news { margin: 2.25rem 0; padding: 1.25rem 1.4rem; background: var(--pd-ground); border: 1px solid var(--pd-rule); border-bottom: var(--pd-board) solid var(--pd-ink); border-radius: var(--pd-radius); }
.ssl-inline-news .ssl-newsletter-label { margin: 0 0 0.25rem; }
.ssl-inline-news-title { margin: 0 0 0.85rem !important; font-family: var(--pd-display); font-weight: 700; font-size: 1.3125rem; line-height: 1.15; color: var(--pd-ink); }
.ssl-inline-news .newsletter-form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; }
.ssl-inline-news input[type=email] { flex: 1 1 220px; width: auto; min-width: 0; }
.ssl-inline-news button { flex: 0 0 auto; }


/* Mosaic adjustments to the shared page/empty blocks. */
.ssl-page-kicker { background: var(--pd-ink); color: #fff; border-radius: 0; font-size: 0.875rem; font-weight: 700; }
.ssl-page-head .ssl-page-title { font-weight: 600; }
.ssl-page .entry-content h2 { font-weight: 700; }
.ssl-page-updated, .ssl-onpage-title { font-size: 0.875rem; }
.ssl-page .entry-content .ssl-onpage a { font-family: var(--pd-body); font-weight: 500; }
.ssl-empty { border-color: var(--pd-ink); }
.ssl-deptlist--chips a { border-color: var(--pd-ink); border-radius: 0; padding: 0 1rem; }
.ssl-inline-news { background: var(--pd-ink); border: 0; color: #fff; }
.ssl-inline-news-title { color: #fff; text-transform: uppercase; font-size: 1.5rem; }
.site-main > .ssl-empty { width: calc(100% - 2 * var(--pd-gutter)); }

/* ============================================================================
   THE TOOLKIT LAYER (1.0.0) — restyles the forked base for direction C.
   ========================================================================= */

body { font-family: var(--pd-body); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.005em; }
.ssl-label, .ssl-meta, .ssl-article-meta, .ssl-breadcrumb, .ssl-archive-count, .ssl-toc-count, .ssl-pager-count { font-family: var(--pd-ui); }
.ssl-meta { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; text-transform: none; }
.ssl-kicker { font-family: var(--pd-ui); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; }
.ssl-kicker a { min-height: 24px; }
.ssl-frame { border-radius: var(--pd-radius); }
.ssl-band-dot { width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--pd-dot); }

/* --- Masthead: logo left, five topics, search, Subscribe; pale blue strip under -- */
.ssl-masthead { border-bottom: 1px solid var(--pd-rule); }
.ssl-mast-row { min-height: 84px; gap: 2rem; }
.ssl-wordmark { min-height: 56px; }
.ssl-logo { display: block; width: auto; height: 60px; aspect-ratio: 1464 / 335; }
.ssl-mast-nav { flex: 1 1 auto; justify-content: flex-end; gap: 1rem; }
.ssl-mast-nav .primary-menu { gap: 0 1.75rem; }
.ssl-mast-nav .main-navigation a { position: relative; display: inline-flex; align-items: center; min-height: 84px; font-family: var(--pd-ui); font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--pd-ink); text-decoration: none; white-space: nowrap; }
.ssl-mast-nav .main-navigation a::after { bottom: 22px; height: 2px; border-radius: 2px; }
.ssl-mast-nav .main-navigation .current-cat > a { color: var(--pd-brand); font-weight: 600; }
.ssl-nav-short { display: none; }
.ssl-nav-tools { gap: 0.5rem; padding-left: 0; border-left: 0; }
.ssl-masthead .ssl-search-toggle { border-radius: 50%; }
.ssl-sub-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.4rem; border-radius: 999px; background: var(--pd-brand); color: #fff; font-family: var(--pd-ui); font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ssl-sub-btn:hover, .ssl-sub-btn:focus { background: var(--pd-brand-dark); color: #fff; }
.ssl-strip { background: var(--pd-paper); color: var(--pd-brand); border-top: 1px solid var(--pd-rule); border-bottom: 1px solid var(--pd-rule); }
.ssl-strip-inner { min-height: 38px; justify-content: flex-start; gap: 0.6rem; margin: 0 auto; font-family: var(--pd-ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pd-ink); }
.ssl-strip-inner .ssl-band-dot { width: 8px; height: 8px; }
.ssl-masthead .mobile-search-form { background: var(--pd-paper); }
.ssl-masthead .search-field { border-radius: 999px; border-color: var(--pd-rule); font-family: var(--pd-body); padding: 0 1.1rem; }
.ssl-masthead .mobile-search-form button[type="submit"] { border-radius: 999px; background: var(--pd-brand); letter-spacing: 0; text-transform: none; padding: 0 1.4rem; }

/* --- Breadcrumb ---------------------------------------------------------------- */
.ssl-breadcrumb { font-size: 0.9375rem; letter-spacing: 0; text-transform: none; }
.ssl-breadcrumb a { color: var(--pd-brand); }
.ssl-breadcrumb [aria-current], .ssl-breadcrumb a:last-of-type:not(:first-child) { font-weight: 500; }

/* --- Section heads: orange dot, Vollkorn title, count/link at the right; no fill -- */
.ssl-band, .ssl-band--small, .ssl-band--rule { min-height: 0; padding: 0; background: transparent; color: var(--pd-ink); border: 0; margin: 0 0 clamp(1.1rem, 2.2vw, 1.5rem); align-items: baseline; }
.ssl-band-title { gap: 0.55rem; font-family: var(--pd-display); font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem); font-weight: 700; letter-spacing: -0.005em; text-transform: none; color: var(--pd-ink); align-items: center; }
.ssl-band-aside { font-family: var(--pd-ui); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--pd-brand); }
a.ssl-band-aside:hover { color: var(--pd-brand-dark); }
.ssl-band--small { margin: 0 0 0.25rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--pd-rule); }
.ssl-band--small .ssl-band-title { font-size: 1.375rem; }
.ssl-band--small .ssl-band-dot { width: 9px; height: 9px; }
.ssl-band-title .ssl-band-dot { width: 10px; height: 10px; }
.ssl-section { margin-top: clamp(2.75rem, 5.5vw, 4rem); }

/* --- The bento: 2x2 lead, 1x2 tall, two 1x1 stacked ------------------------------- */
.ssl-front .ssl-wrap, .ssl-archive .ssl-wrap { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.ssl-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, auto)); gap: 1rem; }
.ssl-tile { position: relative; min-width: 0; display: flex; flex-direction: column; background: var(--pd-white); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); overflow: hidden; box-shadow: var(--pd-shadow); }
.ssl-tile .ssl-frame { flex: 1 1 auto; position: relative; min-height: 150px; border-radius: 0; }
.ssl-tile .ssl-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ssl-tile-body { flex: none; display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.15rem 1.15rem; }
.ssl-tile-title { margin: 0; font-size: 1.25rem; line-height: 1.18; text-wrap: balance; }
.ssl-tile-title a { color: var(--pd-ink); text-decoration: none; }
.ssl-tile-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.ssl-tile:hover .ssl-tile-title a { color: var(--pd-brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.ssl-tile .ssl-kicker { position: relative; z-index: 2; }
.ssl-tile-dek { margin: 0.15rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--pd-meta); }
.ssl-tile-more { margin: 0.35rem 0 0; font-family: var(--pd-ui); font-size: 0.9375rem; font-weight: 600; color: var(--pd-brand); }
.ssl-tile-more span { display: inline-block; transition: transform 0.2s; }
.ssl-tile:hover .ssl-tile-more span { transform: translateX(3px); }
.ssl-tile--big { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.ssl-tile--big .ssl-frame { min-height: 300px; }
.ssl-tile--big .ssl-tile-body { padding: 1.4rem 1.6rem 1.6rem; gap: 0.55rem; }
.ssl-tile--big .ssl-tile-title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.08; }
.ssl-tile--big .ssl-tile-dek { font-size: 1.0625rem; max-width: 36em; }
.ssl-tile--tall { grid-column: 3; grid-row: 1 / span 2; background: var(--pd-paper); }
.ssl-tile--tall .ssl-tile-body { padding: 1.25rem 1.3rem 1.4rem; }
.ssl-tile--tall .ssl-tile-title { font-size: 1.5rem; }
.ssl-tile--small { grid-column: 4; }
.ssl-tile--small .ssl-frame { min-height: 160px; }
.ssl-tile--text .ssl-tile-body { flex: 1 1 auto; justify-content: flex-end; }
.ssl-bento--1 .ssl-tile--big { grid-column: 1 / -1; grid-row: auto; }
.ssl-bento--2 .ssl-tile--big { grid-column: 1 / span 3; }
.ssl-bento--2 .ssl-tile--tall { grid-column: 4; }
.ssl-bento--3 .ssl-tile--small { grid-row: 1 / span 2; }

/* --- Newsletter tile (front page) --------------------------------------------------- */
.ssl-news-tile { scroll-margin-top: 1rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.25rem 2.5rem; align-items: center; margin-top: 1rem; padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.25rem, 3.5vw, 2.75rem); background: var(--pd-warm); border-radius: var(--pd-radius); }
.ssl-news-tile .ssl-newsletter-label { display: flex; align-items: center; gap: 0.5rem; color: var(--pd-ink); }
.ssl-news-tile .ssl-newsletter-label .ssl-band-dot { width: 9px; height: 9px; }
.ssl-news-tile-title { margin: 0 0 0.4rem; font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem); line-height: 1.08; color: var(--pd-ink); }
.ssl-news-tile-copy p:last-child { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--pd-ink); }
.ssl-news-tile .newsletter-form, .ssl-newsletter .newsletter-form, .ssl-inline-news .newsletter-form { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0.6rem; }
.ssl-news-tile .newsletter-form button, .ssl-newsletter .newsletter-form button { width: auto; }
.ssl-news-tile input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 54px; padding: 0 1.2rem; border: 1px solid #E6C9A0; border-radius: 999px; background: #fff; color: var(--pd-ink); font-family: var(--pd-body); font-size: 1.0625rem; }
.ssl-news-tile button { flex: none; min-height: 54px; padding: 0 1.6rem; border: 0; border-radius: 999px; background: var(--pd-brand); color: #fff; font-family: var(--pd-ui); font-size: 1.0625rem; font-weight: 600; cursor: pointer; }
.ssl-news-tile button:hover { background: var(--pd-brand-dark); }
.ssl-news-tile .newsletter-message { color: var(--pd-ink); }

/* --- Topic doors ------------------------------------------------------------------- */
.ssl-doors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.ssl-doors--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ssl-door { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.6rem 0.6rem 1rem; background: var(--pd-white); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); color: var(--pd-ink); text-decoration: none; box-shadow: var(--pd-shadow); transition: border-color 0.2s, transform 0.2s; }
.ssl-door .ssl-frame { border-radius: var(--pd-radius-sm); margin-bottom: 0.6rem; }
.ssl-door .ssl-frame img { aspect-ratio: 4 / 3; }
.ssl-door-name { padding: 0 0.4rem; font-family: var(--pd-display); font-size: 1.3125rem; font-weight: 700; line-height: 1.15; }
.ssl-door-count { padding: 0 0.4rem; font-family: var(--pd-ui); font-size: 0.9375rem; color: var(--pd-meta); }
.ssl-door:hover { border-color: var(--pd-brand); color: var(--pd-ink); }
.ssl-door:hover .ssl-door-name { color: var(--pd-brand); text-decoration: underline; text-underline-offset: 0.14em; }
.ssl-door:hover img { transform: scale(1.03); }

/* --- Guide rows: two columns, image-left, vertical hairline between ---------------- */
.ssl-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 3.5rem); position: relative; }
.ssl-rows::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--pd-rule); }
.ssl-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 1.25rem; align-items: start; padding: 1.25rem 0; border-bottom: 1px solid var(--pd-rule); min-width: 0; }
.ssl-row:nth-last-child(-n+2):nth-child(odd), .ssl-row:last-child { border-bottom: 0; }
.ssl-row .ssl-frame { border-radius: var(--pd-radius-sm); }
.ssl-row .ssl-frame img { aspect-ratio: 3 / 2; }
.ssl-row--text { grid-template-columns: minmax(0, 1fr); }
.ssl-row-body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.ssl-row-title { margin: 0; font-size: 1.3125rem; line-height: 1.18; text-wrap: balance; }
.ssl-row-title a { color: var(--pd-ink); text-decoration: none; }
.ssl-row-title a:hover { color: var(--pd-brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.ssl-row-dek { margin: 0.1rem 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--pd-meta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Photo cards (single "More in", fallback) ----------------------------------- */
.ssl-card { background: var(--pd-white); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); overflow: hidden; box-shadow: var(--pd-shadow); }
.ssl-card .ssl-frame { border-radius: 0; }
.ssl-card-body { padding: 0.9rem 1.1rem 1.15rem; }
.ssl-card-title { font-size: 1.25rem; line-height: 1.18; font-weight: 700; }
.ssl-card .ssl-meta { color: var(--pd-meta); }
.ssl-board { gap: 1.25rem; align-items: stretch; }

/* --- Ad frames ---------------------------------------------------------------------- */
.ssl-ad { border-radius: var(--pd-radius); border-style: dashed; border-color: #C9D3DF; }
.ssl-ad::before { font-family: var(--pd-ui); font-weight: 600; }
.ssl-ad--wide { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; }
.ssl-ad-placeholder { border-radius: var(--pd-radius-sm); }

/* --- Archive head: pale blue panel ------------------------------------------------- */
.ssl-archive-head { overflow: visible; background: var(--pd-paper); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.25rem, 3.5vw, 2.75rem); margin-bottom: 1.25rem; }
.ssl-archive-head::after { display: none; }
.ssl-archive-text { min-width: 0; max-width: 46rem; }
.ssl-archive-head--img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 1.5rem 2.5rem; align-items: center; }
.ssl-archive-photo { border-radius: var(--pd-radius); }
.ssl-archive-photo img { aspect-ratio: 4 / 3; }
.ssl-archive-title { display: block; margin: 0.4rem 0 0; font-family: var(--pd-display); font-size: clamp(2.375rem, 1.7rem + 2.8vw, 3.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.01em; text-transform: none; color: var(--pd-ink); }
.ssl-archive-line { margin: 0.85rem 0 0; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--pd-ink); }
.ssl-archive-count { display: inline-flex; margin: 1rem 0 0; padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--pd-white); border: 1px solid var(--pd-rule); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--pd-brand); }
.ssl-archive-head--search .search-field, .ssl-empty .search-field { border-color: var(--pd-rule); border-radius: 999px; }
.ssl-archive-head--search .search-submit, .ssl-empty .search-submit { border-radius: 999px; letter-spacing: 0; text-transform: none; }

/* --- Pager -------------------------------------------------------------------------- */
.ssl-pager .page-numbers { border-color: var(--pd-rule); border-radius: var(--pd-radius-sm); font-family: var(--pd-ui); font-size: 1rem; font-weight: 600; }
.ssl-pager .page-numbers.current { background: var(--pd-brand); border-color: var(--pd-brand); }
.ssl-pager a.page-numbers:hover { background: var(--pd-brand-tint); border-color: var(--pd-brand); }

/* --- Single ------------------------------------------------------------------------- */
.ssl-article-head { border-bottom: 1px solid var(--pd-rule); }
.ssl-title { font-family: var(--pd-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.ssl-standfirst { font-family: var(--pd-body); font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); color: var(--pd-meta); }
.ssl-article-meta { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ssl-hero .ssl-frame { border-radius: var(--pd-radius); }
.ssl-article .entry-content { font-family: var(--pd-body); }
.ssl-article .entry-content h2 { font-family: var(--pd-display); font-weight: 700; line-height: 1.14; }
.ssl-article .entry-content h3 { font-family: var(--pd-display); font-weight: 700; line-height: 1.2; }
.ssl-article .entry-content h4 { font-family: var(--pd-ui); font-size: 1.1875rem; font-weight: 700; }
.ssl-article .entry-content figure img, .ssl-article .entry-content p > img { border-radius: var(--pd-radius); }
.ssl-article .entry-content figcaption, .ssl-caption { font-family: var(--pd-ui); font-style: normal; font-size: 0.9375rem; }
.ssl-article .entry-content th { background: var(--pd-paper); color: var(--pd-ink); font-family: var(--pd-ui); font-size: 0.875rem; letter-spacing: 0.02em; text-transform: none; border-bottom: 1px solid var(--pd-rule); }
.table-scroll { border-radius: var(--pd-radius-sm); }
.ssl-article .entry-content blockquote { background: var(--pd-paper); border-left-color: var(--pd-dot); border-radius: 0 var(--pd-radius-sm) var(--pd-radius-sm) 0; }
.ssl-item-no { font-family: var(--pd-display); color: var(--pd-brand); font-size: 1em; }
.ssl-toc { background: var(--pd-paper); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); }
.ssl-toc-title { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--pd-display); font-size: 1.375rem; letter-spacing: 0; text-transform: none; }
.ssl-toc-title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pd-dot); }
.ssl-toc-count { font-family: var(--pd-ui); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ssl-article .entry-content .ssl-toc-list li { border-top-color: #D5DFEB; }
.ssl-article .entry-content .ssl-toc-list a { font-family: var(--pd-ui); font-size: 1rem; font-weight: 500; color: var(--pd-brand); }
.ssl-article .entry-content .ssl-toc-list a::before { content: "\2192"; font-family: var(--pd-ui); font-size: 1rem; color: var(--pd-brand); }
.entry-content .ssl-page-links .post-page-numbers { border-color: var(--pd-rule); border-radius: var(--pd-radius-sm); }
.entry-content .ssl-page-links .post-page-numbers.current { background: var(--pd-brand); border-color: var(--pd-brand); }
.entry-content .ssl-page-next a { border-radius: 999px; background: var(--pd-brand); letter-spacing: 0; text-transform: none; font-weight: 600; }
.entry-content .ssl-page-next a:hover { background: var(--pd-brand-dark); }
.ssl-team { background: var(--pd-paper); border: 1px solid var(--pd-rule); border-left: 0; border-radius: var(--pd-radius); }
.ssl-team-title { font-size: 1.3125rem; letter-spacing: 0; text-transform: none; }
.ssl-disclosure { border-radius: var(--pd-radius-sm); }

/* --- Sidebar ------------------------------------------------------------------------ */
.ssl-sidebar { gap: 1.5rem; }
.ssl-sidebar .ssl-widget:not(.ssl-ad):not(.ssl-widget-news) { padding: 1.15rem 1.25rem 0.5rem; background: var(--pd-white); border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); box-shadow: var(--pd-shadow); }
.ssl-thumbs-img { width: 76px; height: 76px; border-radius: var(--pd-radius-sm); }
.ssl-thumbs-title { font-family: var(--pd-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.22; }
.ssl-deptlist a { font-family: var(--pd-ui); font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ssl-count { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--pd-paper); color: var(--pd-brand); font-family: var(--pd-ui); font-size: 0.8125rem; font-weight: 600; }
.ssl-deptlist a.is-current .ssl-count { background: var(--pd-brand); color: #fff; }
.ssl-widget-news { padding: 1.5rem 1.4rem; background: var(--pd-warm); color: var(--pd-ink); border-radius: var(--pd-radius); }
.ssl-newsletter-label { font-family: var(--pd-ui); font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--pd-ink); }
.ssl-widget-news-title { font-family: var(--pd-display); font-size: 1.625rem; line-height: 1.12; text-transform: none; color: var(--pd-ink); }
.ssl-widget-news .ssl-newsletter-note { font-family: var(--pd-body); color: var(--pd-ink); }
.ssl-widget-news input[type="email"], .ssl-newsletter input[type="email"], .ssl-inline-news input[type="email"] { border-radius: 999px; border: 1px solid #E6C9A0; background: #fff; color: var(--pd-ink); font-family: var(--pd-body); padding: 0 1.1rem; }
.ssl-widget-news button, .ssl-newsletter button, .ssl-inline-news button { border-radius: 999px; background: var(--pd-brand); color: #fff; font-family: var(--pd-ui); font-weight: 600; letter-spacing: 0; text-transform: none; }
.ssl-widget-news .newsletter-message { color: var(--pd-ink); }

/* --- Newsletter band above the footer (not on the front page) ---------------------- */
.ssl-newsletter { margin-top: clamp(2.5rem, 5vw, 3.5rem); background: var(--pd-warm); color: var(--pd-ink); border-bottom: 0; }
.ssl-newsletter .ssl-newsletter-label { color: var(--pd-ink); }
.ssl-newsletter h2 { font-family: var(--pd-display); font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem); line-height: 1.08; text-transform: none; color: var(--pd-ink); }
.ssl-newsletter-dek, .ssl-newsletter-note { color: var(--pd-ink); }
.ssl-newsletter .newsletter-form { gap: 0.6rem; }
.ssl-newsletter .newsletter-message { color: var(--pd-ink); }
.ssl-inline-news { background: var(--pd-warm); color: var(--pd-ink); border: 0; border-radius: var(--pd-radius); }
.ssl-inline-news-title { color: var(--pd-ink); text-transform: none; font-size: 1.375rem; }

/* --- Footer: navy ------------------------------------------------------------------ */
.ssl-footer { background: var(--pd-navy); }
.ssl-footer-top, .ssl-footer-links { border-bottom-color: rgba(255, 255, 255, 0.14); }
.ssl-logo--footer { height: 46px; }
.ssl-footer-about, .ssl-footer-owner, .ssl-colophon { font-family: var(--pd-body); }
.ssl-flist a { font-family: var(--pd-body); }
.ssl-footer-topics .ssl-flist a { font-family: var(--pd-ui); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ssl-fhead { font-family: var(--pd-ui); }
.ssl-footer-links nav { grid-template-columns: 11rem minmax(0, 1fr); }

/* --- Pages, empty states --------------------------------------------------------- */
.ssl-page-kicker { background: var(--pd-paper); color: var(--pd-brand); border-radius: 999px; font-weight: 600; letter-spacing: 0.06em; }
.ssl-page-head::after { height: 1px; background: var(--pd-rule); }
.ssl-page-head .ssl-page-title { font-weight: 700; }
.ssl-empty { border: 1px solid var(--pd-rule); border-radius: var(--pd-radius); }
.ssl-empty .ssl-doors { margin-top: 1.5rem; text-align: left; }
.ssl-onpage { border-radius: var(--pd-radius); background: var(--pd-paper); }

/* --- Base drawer (forked) ------------------------------------------------------------ */

@media (max-width: 1024px) {
    /* Masthead: wordmark left; search + menu right; topics in the drawer. */
    .ssl-mast-row { min-height: 64px; }
    .ssl-nav-tools { padding-left: 0; border-left: 0; }
    .ssl-masthead .mobile-menu-toggle { display: inline-flex !important; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: transparent; border: 0; }
    .ssl-masthead .hamburger-line { background: var(--pd-ink); }
    .ssl-masthead .mobile-menu-toggle.active .hamburger-line { background: var(--pd-ink); }
    .ssl-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .ssl-drawer-clip .main-navigation { position: absolute; pointer-events: auto; background: var(--pd-white); overflow-y: auto; padding: 0; max-width: none; display: block; }
    .ssl-mast-nav .primary-menu, .ssl-mast-nav .main-navigation ul.primary-menu { display: block; text-align: left; margin: 0; }
    .ssl-mast-nav .main-navigation .primary-menu li { border-bottom: 1px solid var(--pd-rule); }
    .ssl-mast-nav .main-navigation a { min-height: 58px; width: 100%; padding: 0 1.5rem; font-size: 1.375rem; letter-spacing: 0.06em; color: var(--pd-ink); }
    .ssl-mast-nav .main-navigation a::after { display: none; }
    .ssl-mast-nav .main-navigation .current-cat > a { background: var(--pd-brand-tint); color: var(--pd-brand); }
    .ssl-mast-nav .main-navigation .ssl-drawer-label { display: block; margin: 1.25rem 1.5rem 0.5rem; font-family: var(--pd-ui); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pd-meta); }
    .ssl-mast-nav .main-navigation .ssl-drawer-sub { display: flex; align-items: center; justify-content: center; width: auto; margin: 1.5rem; min-height: 52px; padding: 0 1rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--pd-ink); color: #fff; }
    .ssl-masthead .mobile-menu-toggle.active { position: fixed; top: 0.75rem; left: auto; right: 0.75rem; z-index: 1002; }

    .ssl-layout { grid-template-columns: minmax(0, 1fr); }
    .ssl-layout > .ssl-sidebar { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
    .ssl-sidebar .ssl-widget-news { display: none; }
    .ssl-board--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ssl-topics, .ssl-topics--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ssl-newsletter-inner { grid-template-columns: minmax(0, 1fr); }
}

/* --- Responsive ------------------------------------------------------------------------ */

@media (max-width: 1240px) and (min-width: 1025px) {
    .ssl-nav-short { display: inline; }
    .ssl-nav-full { display: none; }
    .ssl-mast-nav .primary-menu { gap: 0 1.25rem; }
}

@media (max-width: 1024px) {
    .ssl-mast-row { min-height: 68px; gap: 1rem; }
    .ssl-logo { height: 44px; }
    .ssl-mast-nav .main-navigation a { min-height: 58px; font-size: 1.25rem; font-weight: 600; }
    .ssl-mast-nav .main-navigation .ssl-drawer-sub { border-radius: 999px; background: var(--pd-brand); letter-spacing: 0; text-transform: none; }
    .ssl-sub-btn { display: none; }
    .ssl-layout { grid-template-columns: minmax(0, 1fr); }
    .ssl-layout > .ssl-sidebar { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
    .ssl-sidebar .ssl-widget-news { display: none; }
    .ssl-board--3, .ssl-board--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ssl-newsletter-inner { grid-template-columns: minmax(0, 1fr); }
    .ssl-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: none; }
    .ssl-tile--big, .ssl-bento--1 .ssl-tile--big, .ssl-bento--2 .ssl-tile--big { grid-column: 1 / -1; grid-row: auto; }
    .ssl-tile--big .ssl-frame { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
    .ssl-tile--tall, .ssl-tile--small, .ssl-bento--3 .ssl-tile--small { grid-column: span 2; grid-row: auto; }
    .ssl-bento--2 .ssl-tile--tall { grid-column: 1 / -1; grid-row: auto; }
    .ssl-bento--3 .ssl-tile--tall, .ssl-bento--3 .ssl-tile--small { grid-column: span 3; }
    .ssl-tile--tall .ssl-frame, .ssl-tile--small .ssl-frame { flex: none; min-height: 0; aspect-ratio: 3 / 2; }
    .ssl-tile--tall .ssl-tile-title, .ssl-tile--small .ssl-tile-title { font-size: 1.1875rem; }
    .ssl-tile--tall .ssl-tile-dek { display: none; }
    .ssl-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ssl-news-tile { grid-template-columns: minmax(0, 1fr); }
    .ssl-archive-head--img { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); }
}

@media (max-width: 860px) {
    .ssl-rows { grid-template-columns: minmax(0, 1fr); }
    .ssl-rows::before { display: none; }
    .ssl-row:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid var(--pd-rule); }
    .ssl-row:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
    .ssl-strip-inner { font-size: 0.75rem; letter-spacing: 0.08em; }
    .ssl-logo { height: 40px; }
    .ssl-layout-main > .ssl-atf { order: 0; min-height: 300px; }
    .ssl-layout-main > .ssl-hero { order: 1; }
    .ssl-layout > .ssl-sidebar { grid-template-columns: minmax(0, 1fr); }
    .ssl-bento { grid-template-columns: minmax(0, 1fr); }
    .ssl-tile--tall, .ssl-tile--small, .ssl-bento--3 .ssl-tile--tall, .ssl-bento--3 .ssl-tile--small { grid-column: 1 / -1; }
    .ssl-tile--big .ssl-tile-body { padding: 1.1rem 1.15rem 1.25rem; }
    .ssl-tile-dek { font-size: 0.9375rem; }
    .ssl-doors, .ssl-doors--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
    .ssl-doors--5 > :last-child { grid-column: 1 / -1; }
    .ssl-doors--5 > :last-child .ssl-frame img { aspect-ratio: 16 / 7; }
    .ssl-door-name { font-size: 1.125rem; }
    .ssl-row { grid-template-columns: 112px minmax(0, 1fr); gap: 0 0.9rem; padding: 1rem 0; }
    .ssl-row-title { font-size: 1.125rem; }
    .ssl-row-dek { display: none; }
    .ssl-board--3, .ssl-board--4 { grid-template-columns: minmax(0, 1fr); }
    .ssl-band-aside { font-size: 0.9375rem; }
    .ssl-news-tile .newsletter-form, .ssl-newsletter .newsletter-form { flex-direction: column; }
    .ssl-archive-head--img { grid-template-columns: minmax(0, 1fr); }
    .ssl-archive-photo { display: none; }
    .ssl-logo { height: 44px; }
    .ssl-page .entry-content .ssl-onpage ol { columns: 1; }
    .ssl-footer-links nav { grid-template-columns: minmax(0, 1fr); padding-top: 0.75rem; }
    .ssl-flist { gap: 0 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
    a.ssl-frame:hover img, .ssl-door:hover img { transform: none; }
}

/* ============================================================================
   1.0.1 review round (2026-11-10, user)
   ========================================================================= */

/* Card titles: colour change only on hover, no underline (tiles, rows, doors, cards, Most read). */
.ssl-tile:hover .ssl-tile-title a, .ssl-row-title a:hover, .ssl-card-title a:hover, .ssl-side-title a:hover,
.ssl-door:hover .ssl-door-name, .ssl-thumbs-title:hover, .ssl-topic-title a:hover,
.ssl-tile-title a:hover, .ssl-tile-title a:focus { text-decoration: none; }
.ssl-door, .ssl-door:hover, .ssl-door:focus { text-decoration: none; }

/* Even rhythm around the front newsletter tile: the same space above and below. */
.ssl-front .ssl-news-tile { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.ssl-front .ssl-news-tile + .ssl-section { margin-top: clamp(2.1rem, 4.4vw, 3.1rem); } /* the head's own leading makes up the rest */

/* Archive / single / pages: less air above the newsletter band, and a hairline
   above it so it does not float on the white page; a matching line where the
   band meets the footer. */
.ssl-archive.site-main, .ssl-single-main.site-main, .site-main { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.ssl-newsletter { margin-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid #EED8B8; border-bottom: 1px solid #E3C9A3; }
.ssl-other { margin-top: clamp(2.25rem, 4.5vw, 3rem); }
.ssl-archive .ssl-pager { margin-top: clamp(2rem, 4vw, 2.75rem); }

/* Footer: tighter. Brand and topics share the top row; the link groups sit closer. */
.ssl-footer-inner { padding: clamp(2rem, 4vw, 2.75rem) var(--pd-gutter) 1.5rem; }
.ssl-footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 3rem; padding-bottom: 1.25rem; }
.ssl-footer-brand { max-width: 30rem; }
.ssl-logo--footer { height: 44px; }
.ssl-footer-about { margin-top: 0.6rem; font-size: 0.875rem; line-height: 1.55; }
.ssl-footer-mail { margin-top: 0; font-size: 0.875rem; }
.ssl-footer-mail a { min-height: 36px; }
.ssl-footer-topics .ssl-flist { gap: 0 1.25rem; justify-content: flex-end; }
.ssl-footer-topics .ssl-flist a { font-size: 0.9375rem; }
.ssl-footer-links { padding: 0.75rem 0; gap: 0; }
.ssl-footer-links nav { grid-template-columns: 10rem minmax(0, 1fr); }
.ssl-fhead { font-size: 0.75rem; }
.ssl-flist { gap: 0 1.25rem; }
.ssl-flist a { font-size: 0.875rem; min-height: 40px; }
.ssl-footer-small { padding-top: 1rem; gap: 0.35rem; }
.ssl-footer-owner, .ssl-colophon { font-size: 0.75rem; }

@media (max-width: 1024px) {
    .ssl-footer-top { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .ssl-footer-topics .ssl-flist { justify-content: flex-start; }
}
@media (max-width: 720px) {
    .ssl-flist a { min-height: 44px; font-size: 0.9375rem; }
    .ssl-footer-links nav { grid-template-columns: minmax(0, 1fr); padding-top: 0.5rem; }
}

/* ============================================================================
   1.0.3 footer as columns (2026-11-10, user: empty space right of the logo)
   ========================================================================= */
.ssl-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem clamp(1.5rem, 3.5vw, 3rem); align-items: start; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.ssl-footer-grid .ssl-footer-brand { max-width: 22rem; }
.ssl-footer-grid .ssl-footer-about { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; }
.ssl-footer-grid .ssl-footer-mail { margin-top: 0.35rem; font-size: 0.9375rem; }
.ssl-fcol { min-width: 0; }
.ssl-fcol .ssl-fhead { margin: 0.35rem 0 0.6rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pd-on-ink-meta); }
.ssl-fcol .ssl-flist { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; }
.ssl-fcol .ssl-flist a { min-height: 34px; font-family: var(--pd-body); font-size: 0.9375rem; font-weight: 400; color: var(--pd-on-ink); }
.ssl-fcol .ssl-flist a:hover { color: var(--pd-on-ink-accent); text-decoration: underline; text-underline-offset: 0.25em; }
.ssl-fcol .ssl-fcount { margin-left: 0.15rem; font-size: 0.8125rem; font-weight: 600; color: var(--pd-on-ink-accent); }
.ssl-fcol-next { margin-top: 1.25rem; }
.ssl-footer-small { padding-top: 1.1rem; }

@media (max-width: 1024px) {
    .ssl-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ssl-footer-grid .ssl-footer-brand { grid-column: 1 / -1; max-width: 36rem; }
}
@media (max-width: 720px) {
    .ssl-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
    .ssl-fcol .ssl-flist a { min-height: 44px; }
    .ssl-footer-grid > .ssl-fcol:last-child { grid-column: 1 / -1; }
    .ssl-footer-grid > .ssl-fcol:last-child .ssl-flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
}

/* 1.0.4: the article head lives in the reading column; the sidebar starts under the menu. */
.ssl-layout-main > .ssl-article-head { order: -1; max-width: none; margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem); padding: 0 0 clamp(1rem, 2vw, 1.25rem); border-bottom: 1px solid var(--pd-rule); }
.ssl-layout-main > .ssl-article-head > * { max-width: none; }
.ssl-article-head .ssl-title { margin-top: 0.5rem; }
.ssl-single-main { padding-top: clamp(1.25rem, 2.5vw, 2rem); }

/* 1.0.5: the logo sat 1px higher on the front page (H1 wrapper) than elsewhere (P wrapper):
   the wrappers' line boxes differed. Both are now sized by the image alone. */
.ssl-brand-name, .ssl-brand-name .ssl-wordmark { display: flex; align-items: center; margin: 0; padding: 0; font-size: 0; line-height: 0; }
.ssl-brand-name .ssl-wordmark { min-height: 0; }

/* 1.0.7–1.0.8: "Back to the top" in the copyright row — right-aligned on desktop, under the copyright on phones. (.ssl-footer-top is a legacy row class with a border, hence .ssl-backtop.) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.ssl-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; }
.ssl-footer-row .ssl-footer-owner { flex: 1 1 24rem; }
.ssl-backtop { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; flex: 0 0 auto; font-family: var(--pd-body); font-size: 0.9375rem; font-weight: 700; color: var(--pd-on-ink); text-decoration: none; }
.ssl-backtop:hover { color: var(--pd-on-ink-accent); text-decoration: underline; text-underline-offset: 0.25em; }
.ssl-backtop:focus-visible { outline: 2px solid var(--pd-on-ink-accent); outline-offset: 2px; border-radius: 2px; }
