/* ============================================================================
   Retirement Living Hub — "The Neighborhood" (rlh-theme 1.0.0, 2026-10-26)
   Loads after theme-variables.css and main.css. All site styling lives here.
   Stitch direction A in the plum & apricot palette (user pick): the five
   topics are front doors on a sunny street — arched apricot panels with an
   arched photo — and the stories follow as dated rows. Warm cream paper,
   ONE plum ink for everything interactive, sun-gold as decoration only,
   Bricolage Grotesque for headlines/labels/UI, Literata for reading text.
   12px corners; arched tops on doors, cards and the archive doorway.
   Photos sit in their own frame — never text on them.
   ========================================================================= */

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

html { overflow-x: clip; background: var(--rl-ground); }
body {
    background: var(--rl-ground);
    color: var(--rl-text);
    font-family: var(--rl-body);
    font-size: var(--rl-size-body);
    line-height: var(--rl-lh-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--rl-display); color: var(--rl-ink); line-height: var(--rl-lh-head); font-weight: 700; letter-spacing: -0.015em; }
a { color: var(--rl-brand); }
a:hover { color: var(--rl-brand-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--rl-brand); outline-offset: 2px; }
button, input, select, textarea { font-family: var(--rl-ui); }
::selection { background: var(--rl-tint); color: var(--rl-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(--rl-ground); }
.site-container { max-width: var(--rl-page-max); margin: 0 auto; padding-left: var(--rl-gutter); padding-right: var(--rl-gutter); }
.site-main { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }

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

/* UI text: Bricolage, sentence case. */
.rlh-breadcrumb, .rlh-meta, .rlh-row-meta, .rlh-article-meta, .rlh-door-count, .rlh-door-label, .rlh-more, .rlh-fhead, .rlh-flist,
.rlh-newsletter-label, .rlh-contents-cat, .rlh-contents-title, .rlh-acard-foot, .rlh-shead-aside, .rlh-archive-count, .rlh-doorstep-meta,
.rlh-other-doors, .rlh-door-tiles, .rlh-deptlist, .rlh-toc-count, .rlh-caption, .rlh-pager, .rlh-label, .rlh-kicker, .rlh-disclosure {
    font-family: var(--rl-ui);
}
.rlh-label { margin: 0; font-size: var(--rl-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rl-meta); }
.rlh-meta { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--rl-meta); }
.rlh-meta--caps { font-size: 0.8125rem; }
.rlh-meta a { color: inherit; text-decoration: none; }
.rlh-dot { color: var(--rl-meta); padding: 0 0.25em; }
.rlh-kicker { margin: 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; }
.rlh-kicker a { color: var(--rl-brand); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.rlh-kicker a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Framed photo: rounded, its own block. */
.rlh-frame { display: block; overflow: hidden; border-radius: var(--rl-radius); background: var(--rl-tint); }
.rlh-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
a.rlh-frame:hover img { transform: scale(1.03); }
.rlh-frame--wide img, .rlh-frame--hero img { aspect-ratio: 16 / 9; height: auto; }
.rlh-frame--photo img { aspect-ratio: 3 / 2; }
.rlh-frame--four img { aspect-ratio: 4 / 3; }
.rlh-frame--square img { aspect-ratio: 1 / 1; }

.rlh-more { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-size: 1rem; font-weight: 700; color: var(--rl-brand); text-decoration: none; white-space: nowrap; }
.rlh-more span { transition: transform 0.2s; }
.rlh-more:hover { color: var(--rl-brand-dark); }
.rlh-more:hover span { transform: translateX(3px); }

/* --- Masthead: one cream row, the site's own logo at the left ------------------------- */

.rlh-masthead { position: relative; z-index: 100; background: var(--rl-ground); border-bottom: 1px solid var(--rl-rule); }
.rlh-mast-inner { max-width: var(--rl-page-max); margin: 0 auto; padding: 0 var(--rl-gutter); min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.rlh-brand { min-width: 0; flex: none; }
.rlh-brand-name { margin: 0; font-size: inherit; line-height: 1; font-weight: inherit; letter-spacing: inherit; }
.rlh-wordmark, .rlh-wordmark:hover, .rlh-wordmark:focus, .rlh-footer-word, .rlh-footer-word:hover { text-decoration: none !important; }
.rlh-wordmark { display: inline-flex; align-items: center; min-height: 48px; }
.rlh-logo { display: block; height: 58px; width: auto; max-width: 100%; }

.rlh-mast-nav { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.rlh-drawer-clip { display: contents; }
.rlh-mast-nav .main-navigation { min-width: 0; display: flex; }
.rlh-mast-nav .primary-menu { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0 1.6rem; list-style: none; margin: 0; padding: 0; }
.rlh-mast-nav .main-navigation li { margin: 0; }
.rlh-mast-nav .main-navigation a {
    display: inline-flex; align-items: center; min-height: 48px; position: relative; white-space: nowrap;
    font-family: var(--rl-ui); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--rl-ink); text-decoration: none;
}
.rlh-mast-nav .main-navigation a:hover { color: var(--rl-brand); }
.rlh-mast-nav .main-navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px; background: var(--rl-brand); opacity: 0; transition: opacity 0.2s; }
.rlh-mast-nav .main-navigation a:hover::after, .rlh-mast-nav .main-navigation .current-cat > a::after { opacity: 1; }
.rlh-mast-nav .main-navigation .current-cat > a { color: var(--rl-brand); }
.rlh-mast-nav .main-navigation .rlh-drawer-label, .rlh-mast-nav .main-navigation .rlh-drawer-sub { display: none; }
/* "Planning" in the bar; the full name stays for screen readers and the drawer. */
.rlh-nav-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rlh-nav-tools { display: flex; align-items: center; gap: 0.5rem; }
.rlh-masthead .rlh-search-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 999px; color: var(--rl-ink) !important; cursor: pointer; transition: color 0.2s, background 0.2s; }
.rlh-masthead .rlh-search-toggle:hover, .rlh-masthead .rlh-search-toggle[aria-expanded="true"] { color: var(--rl-brand) !important; background: var(--rl-plum-tint); }
.rlh-mast-sub { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.35rem; border-radius: 999px; background: var(--rl-brand); color: #fff; font-family: var(--rl-ui); font-size: 0.9375rem; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.rlh-mast-sub:hover { background: var(--rl-brand-dark); color: #fff; }
.rlh-masthead .mobile-menu-toggle { display: none; }
/* Search opens as a row under the masthead (main.css made it a fixed overlay). */
.rlh-masthead .mobile-search-form { position: static; transform: none; box-shadow: none; z-index: auto; padding: 0.9rem var(--rl-gutter); background: var(--rl-tint); border-top: 1px solid var(--rl-tint-rule); }
.rlh-masthead .mobile-search-form form { max-width: 760px; margin: 0 auto; }
.rlh-masthead .search-field { font-size: 1.0625rem; min-height: 50px; border-radius: var(--rl-radius); border: 1px solid var(--rl-rule); background: var(--rl-card); color: var(--rl-ink); }
.rlh-masthead .mobile-search-form button[type="submit"] { min-height: 50px; border-radius: var(--rl-radius); font-weight: 700; background: var(--rl-brand); color: #fff; border: 0; }
.rlh-masthead .mobile-search-close { background: transparent !important; color: var(--rl-ink) !important; min-width: 44px; min-height: 44px; }

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

.rlh-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.45rem; margin: 0; font-size: 0.875rem; color: var(--rl-meta); }
.rlh-breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; color: var(--rl-meta); text-decoration: none; }
.rlh-breadcrumb a:hover { color: var(--rl-brand); text-decoration: underline; }
.rlh-breadcrumb [aria-current], .rlh-breadcrumb a:last-of-type:not(:first-child) { color: var(--rl-brand); }
.rlh-breadcrumb .sep { color: var(--rl-meta); }


/* --- Section head: the Bricolage title, a short sun-gold rule under it, an aside ------- */

.rlh-shead { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; margin: 0 0 clamp(1rem, 2vw, 1.5rem); padding-bottom: 1rem; border-bottom: 1px solid var(--rl-rule); }
.rlh-shead::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 4px; border-radius: 2px; background: var(--rl-stripe); }
.rlh-shead-title { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); font-weight: 700; line-height: 1.05; }
.rlh-shead-aside { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 40px; font-size: 0.9375rem; font-weight: 600; color: var(--rl-meta); text-decoration: none; }
a.rlh-shead-aside { color: var(--rl-brand); font-weight: 700; }
a.rlh-shead-aside:hover { color: var(--rl-brand-dark); text-decoration: underline; text-underline-offset: 0.2em; }

/* --- Front: welcome line + the five doors ------------------------------------------------ */

.rlh-front { padding-top: clamp(2rem, 4vw, 3.25rem); }
.rlh-welcome { max-width: 52rem; margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem); }
.rlh-welcome-title { margin: 0; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.rlh-welcome-title span { display: block; color: var(--rl-brand); }
.rlh-welcome-dek { margin: 1rem 0 0; max-width: 40em; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--rl-meta); }

.rlh-doors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.85rem, 1.6vw, 1.35rem); margin: 0 0 clamp(3rem, 6vw, 4.5rem); }
.rlh-door { min-width: 0; display: flex; flex-direction: column; padding: 0.85rem 0.85rem 0; background: var(--rl-tint); border: 1px solid var(--rl-tint-rule); border-radius: var(--rl-arch); transition: transform 0.2s, border-color 0.2s; }
.rlh-door:hover { transform: translateY(-3px); border-color: var(--rl-tint-deep); }
.rlh-door-photo { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 50% 50% 10px 10px / 30% 30% 10px 10px; background: var(--rl-tint-deep); }
.rlh-door-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.rlh-door:hover .rlh-door-photo img { transform: scale(1.04); }
.rlh-door-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.1rem 0.4rem 0.6rem; }
.rlh-door-name { margin: 0; font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem); font-weight: 700; line-height: 1.12; text-wrap: balance; }
.rlh-door-name a { color: var(--rl-ink); text-decoration: none; }
.rlh-door-name a:hover { color: var(--rl-brand); }
.rlh-door-count { margin: 0.35rem 0 0; font-size: 0.875rem; font-weight: 700; color: var(--rl-brand); }
.rlh-door-line { margin: 0.6rem 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--rl-meta); }
.rlh-door-newest { margin-top: 0.9rem; padding-top: 0.85rem; border-top: 1px solid var(--rl-tint-rule); }
.rlh-door-label { margin: 0 0 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rl-meta); }
.rlh-door-post { display: block; font-family: var(--rl-ui); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--rl-ink); text-decoration: none; }
.rlh-door-post:hover { color: var(--rl-brand); text-decoration: underline; text-underline-offset: 0.18em; }
.rlh-door-walk { margin-top: auto; padding-top: 0.6rem; }

/* "New on the block" beside the rail. */
.rlh-block { display: grid; grid-template-columns: minmax(0, 1fr) var(--rl-sidebar); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); align-items: start; }
.rlh-block-main { min-width: 0; }
.rlh-rail { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }

/* Dated rows: square thumb with 12px corners, date, headline, one line. */
.rlh-rows { display: flex; flex-direction: column; }
.rlh-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 0 1.5rem; align-items: start; padding: 1.35rem 0; border-bottom: 1px solid var(--rl-rule); min-width: 0; }
.rlh-row:first-child { padding-top: 0.5rem; }
.rlh-row:last-child { border-bottom: 0; }
.rlh-row--text { grid-template-columns: minmax(0, 1fr); }
.rlh-row-thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--rl-radius); background: var(--rl-tint); }
.rlh-row-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.rlh-row:hover .rlh-row-thumb img { transform: scale(1.04); }
.rlh-row-body { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.rlh-row-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.15rem; font-size: 0.875rem; color: var(--rl-meta); }
.rlh-row-cat { color: var(--rl-brand); font-weight: 700; text-decoration: none; }
.rlh-row-cat:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.rlh-row-title { margin: 0; font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.rlh-row-title a { color: var(--rl-ink); text-decoration: none; }
.rlh-row-title a:hover { color: var(--rl-brand); }
.rlh-row-dek { margin: 0.15rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--rl-meta); }

/* --- Cards: arched (Related) ------------------------------------------------------------ */

.rlh-grid { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); }
.rlh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rlh-acard { min-width: 0; display: flex; flex-direction: column; padding: 0.8rem; background: var(--rl-card); border: 1px solid var(--rl-rule); border-radius: var(--rl-arch); transition: border-color 0.2s; }
.rlh-acard:hover { border-color: var(--rl-tint-deep); }
.rlh-acard-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 50% 50% 10px 10px / 34% 34% 10px 10px; background: var(--rl-tint); }
.rlh-acard-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.rlh-acard:hover .rlh-acard-photo img { transform: scale(1.03); }
.rlh-acard-body { display: flex; flex-direction: column; gap: 0.45rem; flex: 1 1 auto; padding: 1rem 0.5rem 0.25rem; }
.rlh-acard-title { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.2; text-wrap: balance; }
.rlh-acard-title a { color: var(--rl-ink); text-decoration: none; }
.rlh-acard-title a:hover { color: var(--rl-brand); }
.rlh-acard-dek { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--rl-meta); }
.rlh-acard-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: auto 0 0; padding-top: 0.75rem; border-top: 1px solid var(--rl-rule); font-size: 0.875rem; color: var(--rl-meta); }
.rlh-acard-foot a { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 40px; font-weight: 700; color: var(--rl-brand); text-decoration: none; }

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

.rlh-ad { text-align: center; background: var(--rl-card); border: 1px solid var(--rl-rule); border-radius: var(--rl-radius); padding: 0.75rem 0.5rem 1rem; min-height: 290px; }
.rlh-ad::before { content: "Advertisement"; display: block; font-family: var(--rl-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rl-meta); margin-bottom: 0.6rem; }
.rlh-ad:has(ins[data-ad-status="unfill-optimized"]), .rlh-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.rlh-ad-placeholder { border: 1px dashed var(--rl-rule); border-radius: 6px; padding: 2rem 1rem; color: var(--rl-meta); font-size: 0.875rem; margin: 0 0.5rem; }

/* --- Archive: one wide arched doorway ---------------------------------------------------- */

.rlh-archive { padding-top: clamp(1.25rem, 2.5vw, 2rem); }
.rlh-archive-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem clamp(2rem, 4vw, 3.5rem); align-items: center; margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem); padding: clamp(2.25rem, 4.5vw, 3.5rem) clamp(1.25rem, 4vw, 3.5rem); background: var(--rl-tint); border: 1px solid var(--rl-tint-rule); border-radius: clamp(80px, 12vw, 200px) clamp(80px, 12vw, 200px) var(--rl-radius) var(--rl-radius) / 120px 120px var(--rl-radius) var(--rl-radius); }
.rlh-archive-head--solo { grid-template-columns: minmax(0, 1fr); }
.rlh-archive-text, .rlh-archive-inner { min-width: 0; }
.rlh-archive-head .rlh-breadcrumb [aria-current] { color: var(--rl-brand); }
.rlh-door-no { display: inline-flex; align-items: center; min-height: 28px; margin-left: 0.5rem; padding: 0 0.75rem; border-radius: 999px; background: var(--rl-card); border: 1px solid var(--rl-tint-rule); font-size: 0.8125rem; font-weight: 700; color: var(--rl-brand); }
.rlh-archive-title { margin: 0.5rem 0 0; font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.rlh-archive-line { margin: 1rem 0 0; max-width: 40em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.65; color: var(--rl-text); }
.rlh-archive-count { display: inline-flex; align-items: center; min-height: 40px; margin: 1.25rem 0 0; padding: 0 1.1rem; border-radius: 999px; background: var(--rl-brand); color: #fff; font-size: 0.9375rem; font-weight: 700; }
.rlh-other-doors { min-width: 0; padding: 1.1rem 1.25rem 0.6rem; background: var(--rl-card); border: 1px solid var(--rl-tint-rule); border-radius: var(--rl-radius); }
.rlh-other-title { margin: 0 0 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rl-meta); }
.rlh-other-doors ul { list-style: none; margin: 0; padding: 0; }
.rlh-other-doors li { margin: 0; border-bottom: 1px solid var(--rl-rule); }
.rlh-other-doors li:last-child { border-bottom: 0; }
.rlh-other-doors a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; font-size: 1rem; font-weight: 700; color: var(--rl-brand); text-decoration: none; }
.rlh-other-doors a:hover span:first-child { text-decoration: underline; text-underline-offset: 0.2em; }
.rlh-other-count { font-size: 0.875rem; font-weight: 600; color: var(--rl-meta); font-variant-numeric: tabular-nums; }
.rlh-archive-head--search .search-form { display: flex; gap: 0.5rem; max-width: 560px; margin: 1.25rem 0 0; }
.rlh-archive-head--search .search-field, .rlh-empty .search-field { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 1rem; border: 1px solid var(--rl-rule); border-radius: var(--rl-radius); background: var(--rl-card); color: var(--rl-ink); font-size: 1.0625rem; }
.rlh-archive-head--search .search-submit, .rlh-empty .search-submit { min-height: 50px; padding: 0 1.25rem; border: 0; border-radius: var(--rl-radius); background: var(--rl-brand); color: #fff; font-weight: 700; cursor: pointer; }

/* The newest post on page 1: the doorstep — arched photo left, text on apricot. */
.rlh-doorstep { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1rem, 2.5vw, 1.75rem); background: var(--rl-tint-soft); border: 1px solid var(--rl-tint-rule); border-radius: var(--rl-radius); }
.rlh-doorstep-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 50% 50% 10px 10px / 30% 30% 10px 10px; background: var(--rl-tint); }
.rlh-doorstep-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rlh-doorstep-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.rlh-doorstep-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem; font-size: 0.9375rem; font-weight: 600; color: var(--rl-meta); }
.rlh-doorstep-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 0.75rem; border-radius: 999px; background: var(--rl-plum-tint); color: var(--rl-brand); font-size: 0.8125rem; font-weight: 700; }
.rlh-doorstep-title { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); font-weight: 700; line-height: 1.08; text-wrap: balance; }
.rlh-doorstep-title a { color: var(--rl-ink); text-decoration: none; }
.rlh-doorstep-title a:hover { color: var(--rl-brand); }
.rlh-doorstep-dek { margin: 0; max-width: 36em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.65; color: var(--rl-meta); }

/* Pager: square 48px boxes, the current page plum. */
.rlh-pager { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin: 2.5rem 0 0; }
.rlh-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.rlh-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(--rl-rule); border-radius: var(--rl-radius); background: var(--rl-card); color: var(--rl-ink); font-family: var(--rl-ui); font-size: 1.0625rem; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.rlh-pager a.page-numbers:hover { border-color: var(--rl-brand); color: var(--rl-brand); }
.rlh-pager .page-numbers.current { background: var(--rl-brand); border-color: var(--rl-brand); color: #fff; }
.rlh-pager .page-numbers.dots { border: 0; background: transparent; min-width: 24px; }
.rlh-pager-count { margin: 0; font-size: 0.8125rem; }

/* --- Single: centred head, wide photo ----------------------------------------------------- */

.rlh-single-main { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.rlh-article-head { max-width: 920px; margin: 0 auto; padding: 0; border: 0; text-align: left; }
.rlh-arch-tag { display: inline-flex; align-items: center; min-height: 38px; margin-top: 1rem; padding: 0.3rem 1.4rem 0; border-radius: 50% 50% 6px 6px / 75% 75% 6px 6px; background: var(--rl-tint); border: 1px solid var(--rl-tint-rule); color: var(--rl-brand); font-family: var(--rl-ui); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.rlh-arch-tag:hover { color: var(--rl-brand-dark); border-color: var(--rl-tint-deep); }
.rlh-title { margin: 0.6rem 0 0; font-size: var(--rl-title); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.rlh-standfirst { margin: 1rem 0 0; max-width: 42em; font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.55; color: var(--rl-meta); }
.rlh-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.4rem; margin: 1.35rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rl-rule); font-size: 0.9375rem; color: var(--rl-meta); }
.rlh-mg { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 0 0.4rem; }
.rlh-byline a { color: var(--rl-brand); font-weight: 700; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.rlh-byline a:hover { text-decoration: underline; }
.rlh-hero { max-width: 1120px; margin: clamp(1.75rem, 3.5vw, 2.5rem) auto clamp(2rem, 4vw, 3rem); }
.rlh-caption { font-size: 0.875rem; line-height: 1.5; color: var(--rl-meta); padding: 0.6rem 0.1rem 0; text-align: center; }

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

.rlh-article { min-width: 0; }
.rlh-article .entry-content { font-size: var(--rl-size-body); line-height: var(--rl-lh-body); color: var(--rl-text); }
.rlh-article .entry-content > * { max-width: 100%; }
.rlh-article .entry-content p { text-wrap: pretty; }
/* H2: a short plum rule above. */
.rlh-article .entry-content h2 { position: relative; font-size: var(--rl-h2); font-weight: 800; line-height: 1.1; margin: 3rem 0 1rem; padding: 1.1rem 0 0; border: 0; color: var(--rl-ink); scroll-margin-top: 1.5rem; text-wrap: balance; }
.rlh-article .entry-content h2::before { content: ""; position: absolute; left: 0; top: 0; width: 52px; height: 4px; border-radius: 2px; background: var(--rl-brand); }
.rlh-article .entry-content h3 { font-size: var(--rl-h3); font-weight: 800; line-height: 1.18; margin: 2.25rem 0 0.75rem; scroll-margin-top: 1.5rem; text-wrap: balance; }
.rlh-article .entry-content > h2:first-child { margin-top: 0.5rem; }
.rlh-item-no { display: inline-block; margin-right: 0.3em; color: var(--rl-brand); font-weight: 800; }
.rlh-article .entry-content h4 { font-family: var(--rl-display); font-weight: 800; font-size: 1.125rem; }
.rlh-article .entry-content a { color: var(--rl-brand); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.rlh-article .entry-content a:hover { color: var(--rl-brand-dark); text-decoration-thickness: 2px; }
.rlh-article .entry-content strong { font-weight: 700; color: var(--rl-ink); }
.rlh-article .entry-content figure { margin: 2.25rem 0; }
.rlh-article .entry-content figure img, .rlh-article .entry-content p > img { display: block; height: auto; border-radius: var(--rl-radius); box-shadow: none; }
.rlh-article .entry-content figcaption { text-align: left; font-style: normal; font-size: 0.8125rem; line-height: 1.5; color: var(--rl-meta); padding-top: 0.6rem; }
.rlh-article .entry-content ol, .rlh-article .entry-content ul { padding-left: 1.5rem; }
.rlh-article .entry-content li { margin-bottom: 0.6rem; }
.rlh-article .entry-content ul li::marker { color: var(--rl-brand); }
.rlh-article .entry-content ol li::marker { color: var(--rl-brand); font-family: var(--rl-display); font-weight: 800; }
.rlh-article .entry-content blockquote { border: 0; border-left: 4px solid var(--rl-stripe); background: var(--rl-tint-soft); border-radius: 0 var(--rl-radius) var(--rl-radius) 0; margin: 2rem 0; padding: 1.1rem 1.4rem; font-size: 1.0625rem; line-height: 1.65; color: var(--rl-text); }
.rlh-article .entry-content blockquote p { margin: 0; }
.rlh-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.rlh-article .entry-content hr { border: 0; border-top: 1px solid var(--rl-rule); }
.table-scroll { overflow-x: auto; margin: 2rem 0; -webkit-overflow-scrolling: touch; background: var(--rl-card); border: 1px solid var(--rl-rule); border-radius: var(--rl-radius); }
.table-scroll table { min-width: 560px; margin: 0; }
.rlh-article .entry-content table { border-collapse: collapse; width: 100%; font-size: 0.95em; line-height: 1.5; background: transparent; }
.rlh-article .entry-content th { background: var(--rl-tint); color: var(--rl-ink); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--rl-tint-rule); }
.rlh-article .entry-content td, .rlh-article .entry-content th { border-bottom: 1px solid var(--rl-rule); padding: 0.8rem 1rem; vertical-align: top; min-width: 9rem; }
.rlh-article .entry-content tr:last-child td { border-bottom: 0; }
.rlh-article .entry-content td:first-child, .rlh-article .entry-content th:first-child { position: sticky; left: 0; z-index: 1; }
.rlh-article .entry-content td:first-child { background: var(--rl-card); font-weight: 700; color: var(--rl-ink); }

/* "In this guide" (the article's own contents block, rlh_toc_panel): the apricot panel, plum numerals. */
.rlh-toc { margin: 0 0 2.25rem; background: var(--rl-tint); border: 1px solid var(--rl-tint-rule); border-radius: var(--rl-radius); }
.rlh-toc summary { display: flex; align-items: center; gap: 1rem; min-height: 60px; padding: 0.6rem 1.4rem; cursor: pointer; list-style: none; }
.rlh-toc summary::-webkit-details-marker { display: none; }
.rlh-toc summary::after { content: "+"; font-family: var(--rl-display); font-size: 1.5rem; font-weight: 800; color: var(--rl-brand); margin-left: 0.25rem; }
.rlh-toc[open] summary::after { content: "−"; }
.rlh-toc-title { font-family: var(--rl-display); font-stretch: var(--rl-stretch); font-size: 1.375rem; font-weight: 800; color: var(--rl-ink); }
.rlh-toc-count { margin-left: auto; font-size: 0.6875rem; color: var(--rl-meta); }
.rlh-article .entry-content .rlh-toc-list { list-style: none; margin: 0; padding: 0 1.4rem 1.1rem; counter-reset: rlhtoc; }
.rlh-article .entry-content .rlh-toc-list li { margin: 0; padding: 0; counter-increment: rlhtoc; border-top: 1px solid var(--rl-tint-rule); }
.rlh-article .entry-content .rlh-toc-list li::marker { content: none; }
.rlh-article .entry-content .rlh-toc-list a { display: flex; gap: 0.9rem; align-items: baseline; min-height: 48px; padding: 0.7rem 0; color: var(--rl-ink); text-decoration: none; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.rlh-article .entry-content .rlh-toc-list a::before { content: counter(rlhtoc, decimal-leading-zero); flex: none; font-family: var(--rl-display); font-size: 0.9375rem; font-weight: 800; color: var(--rl-brand); font-variant-numeric: tabular-nums; }
.rlh-article .entry-content .rlh-toc-list a:hover { color: var(--rl-brand); }

/* Article pager (posts split with <!--nextpage-->): numbers only. */
.rlh-page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 2.25rem 0 0.5rem; }
.entry-content .rlh-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(--rl-rule); border-radius: var(--rl-radius); background: var(--rl-card); color: var(--rl-ink);
    font-family: var(--rl-display); font-size: 1rem; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums;
}
.entry-content .rlh-page-links a.post-page-numbers:hover { border-color: var(--rl-brand); color: var(--rl-brand); }
.entry-content .rlh-page-links .post-page-numbers.current { background: var(--rl-brand); border-color: var(--rl-brand); color: #fff; }

.rlh-team { margin: 2.75rem 0 0; padding: 1.25rem 1.5rem; background: var(--rl-card); border: 1px solid var(--rl-rule); border-left: 4px solid var(--rl-stripe); border-radius: 0 var(--rl-radius) var(--rl-radius) 0; }
.rlh-team-title { margin: 0 0 0.5rem; font-family: var(--rl-display); font-size: 1.125rem; font-weight: 800; color: var(--rl-ink); }
.rlh-team p { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--rl-text); }
.rlh-team .rlh-team-more { margin-top: 0.5rem; }
.rlh-team-more a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; }

.rlh-article .entry-content th { font-family: var(--rl-ui); }
.rlh-toc-title { font-family: var(--rl-display); }
.rlh-related { margin: clamp(3rem, 6vw, 4.5rem) 0 0; }

/* 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(--rl-h3); }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-respond { margin: 0; background: var(--rl-card); border: 1px solid var(--rl-rule); border-radius: var(--rl-radius); }
.comments-area label, .comments-area .comment-notes, .comments-area .logged-in-as { color: var(--rl-meta); }
.comments-area input:not([type="checkbox"]):not([type="submit"]), .comments-area textarea { border-radius: var(--rl-radius); border: 1px solid var(--rl-rule); background: var(--rl-card); color: var(--rl-ink); }
.comments-area input:focus, .comments-area textarea:focus { border-color: var(--rl-brand); outline: none; }
.comments-area .submit, .comments-area #submit { background: var(--rl-brand) !important; border: none; border-radius: var(--rl-radius) !important; color: #fff !important; font-weight: 700; 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(--rl-brand-dark) !important; }
.comments-area .comment-body { background: transparent; border: 0; border-bottom: 1px solid var(--rl-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 ------------------------------------------------------------------------------ */

.rlh-sidebar { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.rlh-label-panel { min-width: 0; padding: 1.35rem 1.5rem 1rem; background: var(--rl-card); border: 1px solid var(--rl-rule); border-radius: var(--rl-radius); }
.rlh-label-title { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.35rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--rl-rule); font-size: 1.375rem; font-weight: 700; line-height: 1.1; }
.rlh-label-title::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--rl-stripe); }

/* Most read: big plum numerals 1–5, the topic over the headline. */
.rlh-contents { list-style: none; margin: 0; padding: 0; }
.rlh-contents li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; padding: 0.85rem 0; border-bottom: 1px solid var(--rl-rule); }
.rlh-contents li:last-child { border-bottom: 0; }
.rlh-contents-num { flex: none; min-width: 1.6rem; font-family: var(--rl-display); font-weight: 800; font-size: 1.875rem; line-height: 0.95; color: var(--rl-brand); font-variant-numeric: tabular-nums lining-nums; }
.rlh-contents-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.rlh-contents-cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rl-meta); }
.rlh-contents-title { font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--rl-ink); text-decoration: none; }
.rlh-contents-title:hover { color: var(--rl-brand); }

/* "Start here" (front rail): small square thumbs beside topic + headline. */
.rlh-start-dek { margin: 0.6rem 0 0.25rem; font-family: var(--rl-ui); font-size: 0.9375rem; line-height: 1.5; color: var(--rl-meta); }
.rlh-thumbs { list-style: none; margin: 0; padding: 0; }
.rlh-thumbs li { display: flex; gap: 0.9rem; align-items: center; margin: 0; padding: 0.8rem 0; border-bottom: 1px solid var(--rl-rule); }
.rlh-thumbs li:last-child { border-bottom: 0; }
.rlh-thumbs-img { flex: none; display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px; background: var(--rl-tint); }
.rlh-thumbs-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rlh-thumbs-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }

/* "Walk through a door": small apricot tiles with counts. */
.rlh-door-tiles { list-style: none; margin: 0.6rem 0 0.4rem; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.rlh-door-tiles li { margin: 0; }
.rlh-door-tiles a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: 0.35rem 1rem 0; border-radius: 50% 50% 10px 10px / 24px 24px 10px 10px; background: var(--rl-tint); border: 1px solid var(--rl-tint-rule); color: var(--rl-ink); font-size: 1rem; font-weight: 700; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.rlh-door-tiles a:hover { border-color: var(--rl-tint-deep); color: var(--rl-brand); }
.rlh-door-tiles a.is-current { background: var(--rl-brand); border-color: var(--rl-brand); color: #fff; }
.rlh-count { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 1.6rem; padding: 0 0.5rem; border-radius: 999px; background: var(--rl-card); font-size: 0.8125rem; font-weight: 700; color: var(--rl-brand); font-variant-numeric: tabular-nums; }
.rlh-door-tiles a.is-current .rlh-count { color: var(--rl-brand); }

.rlh-deptlist { list-style: none; margin: 0; padding: 0; }
.rlh-deptlist li { margin: 0; border-bottom: 1px solid var(--rl-rule); }
.rlh-deptlist li:last-child { border-bottom: 0; }
.rlh-deptlist a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 50px; color: var(--rl-ink); text-decoration: none; font-size: 1rem; font-weight: 700; }
.rlh-deptlist a:hover, .rlh-deptlist a.is-current { color: var(--rl-brand); }

.rlh-widget-news { padding: 1.5rem; background: var(--rl-tint); border: 1px solid var(--rl-tint-rule); border-radius: var(--rl-radius); }
.rlh-sun { display: block; width: 44px; height: 44px; margin-bottom: 0.9rem; border-radius: 50%; background: radial-gradient(circle, var(--rl-stripe) 0 9px, transparent 10px), repeating-conic-gradient(var(--rl-stripe) 0 10deg, transparent 10deg 45deg); -webkit-mask: radial-gradient(circle, #000 0 20px, transparent 21px); mask: radial-gradient(circle, #000 0 20px, transparent 21px); }
.rlh-newsletter-label { margin: 0 0 0.4rem; font-size: 0.8125rem; font-weight: 700; color: var(--rl-brand); }
.rlh-widget-news-title { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.12; text-wrap: balance; }
.rlh-widget-news .rlh-newsletter-note { margin: 0.6rem 0 1rem; font-family: var(--rl-ui); font-size: 0.9375rem; line-height: 1.5; color: var(--rl-meta); }
.rlh-widget-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.rlh-widget-news input[type="email"], .rlh-newsletter input[type="email"], .rlh-inline-news input[type="email"] {
    min-height: 50px; padding: 0 1.1rem; border: 1px solid var(--rl-tint-rule); border-radius: 999px; background: var(--rl-card); color: var(--rl-ink); font-size: 1rem;
}
.rlh-widget-news input[type="email"]:focus, .rlh-newsletter input[type="email"]:focus, .rlh-inline-news input[type="email"]:focus { outline: 2px solid var(--rl-brand); outline-offset: 1px; border-color: var(--rl-brand); }
.rlh-widget-news button, .rlh-newsletter button, .rlh-inline-news button {
    min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--rl-brand); color: #fff;
    font-family: var(--rl-ui); font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.2s;
}
.rlh-widget-news button:hover, .rlh-newsletter button:hover, .rlh-inline-news button:hover { background: var(--rl-brand-dark); }
.rlh-sidebar .rlh-ad { min-height: 290px; }
.newsletter-message { margin-top: 0.75rem; font-weight: 700; }

/* --- Newsletter band (every template, above the footer): apricot, two columns ------------ */

.rlh-newsletter { padding: clamp(2.75rem, 5.5vw, 4.5rem) var(--rl-gutter); background: var(--rl-tint); border-top: 1px solid var(--rl-tint-rule); }
.rlh-newsletter-inner { max-width: var(--rl-page-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rlh-newsletter-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.rlh-newsletter .rlh-newsletter-label { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8125rem; }
.rlh-newsletter h2 { margin: 0.5rem 0 0.85rem; max-width: 15em; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.rlh-newsletter-dek { margin: 0 0 1.6rem; max-width: 34em; font-size: 1.125rem; line-height: 1.6; color: var(--rl-meta); }
.rlh-newsletter .newsletter-form { display: flex; flex-direction: row; gap: 0.6rem; width: 100%; max-width: 540px; }
.rlh-newsletter input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 56px; }
.rlh-newsletter button { min-height: 56px; white-space: nowrap; flex: none; }
.rlh-newsletter-note { margin: 0.85rem 0 0; font-family: var(--rl-ui); font-size: 0.875rem; color: var(--rl-meta); }
/* The card: white, arched top, a sun, three things the letter brings. */
.rlh-newsletter-card { min-width: 0; padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2rem); background: var(--rl-card); border: 1px solid var(--rl-tint-rule); border-radius: var(--rl-arch); text-align: left; }
.rlh-newsletter-card .rlh-sun { width: 52px; height: 52px; margin: 0 auto 1rem; -webkit-mask: radial-gradient(circle, #000 0 24px, transparent 25px); mask: radial-gradient(circle, #000 0 24px, transparent 25px); background: radial-gradient(circle, var(--rl-stripe) 0 11px, transparent 12px), repeating-conic-gradient(var(--rl-stripe) 0 10deg, transparent 10deg 45deg); }
.rlh-newsletter-card-title { margin: 0 0 1rem; text-align: center; font-family: var(--rl-display); font-size: 1.375rem; font-weight: 700; line-height: 1.15; color: var(--rl-ink); }
.rlh-newsletter-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rlh-newsletter-card li { position: relative; margin: 0; padding: 0.85rem 0 0.85rem 2.25rem; border-top: 1px solid var(--rl-rule); font-size: 1rem; line-height: 1.5; color: var(--rl-meta); }
.rlh-newsletter-card li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 22px; height: 22px; border-radius: 50%; background: var(--rl-plum-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%237B3A6E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.rlh-newsletter-card strong { color: var(--rl-ink); font-family: var(--rl-ui); }

/* --- Footer: deep plum-brown --------------------------------------------------------------- */

.rlh-footer { background: var(--rl-footer); color: var(--rl-footer-text); }
.rlh-footer-inner { max-width: var(--rl-page-max); margin: 0 auto; padding: clamp(2.75rem, 5vw, 4rem) var(--rl-gutter) 2rem; }
.rlh-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 2rem 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(243, 230, 238, 0.16); }
.rlh-footer-grid > * { min-width: 0; }
.rlh-footer-word { display: inline-flex; }
.rlh-logo--footer { height: 54px; }
.rlh-footer-about { margin: 1rem 0 0; max-width: 22rem; font-size: 1rem; line-height: 1.6; color: var(--rl-footer-meta); }
.rlh-footer-mail { margin: 0.75rem 0 0; font-family: var(--rl-ui); font-size: 0.9375rem; overflow-wrap: anywhere; }
.rlh-footer-mail a, .rlh-social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rl-footer-text); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.rlh-social { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: 0; padding: 0; }
.rlh-fhead { margin: 0 0 0.6rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rl-stripe); }
.rlh-flist { list-style: none; margin: 0; padding: 0; }
.rlh-flist:empty { display: none; }
.rlh-flist li { margin: 0; }
.rlh-flist a { display: inline-flex; align-items: center; min-height: 40px; color: var(--rl-footer-text); font-size: 0.9375rem; text-decoration: none; }
.rlh-flist a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.25em; }
.rlh-flist--topics li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.rlh-fcount { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 1.5rem; padding: 0 0.45rem; border-radius: 999px; background: rgba(243, 230, 238, 0.12); font-family: var(--rl-ui); font-size: 0.8125rem; font-weight: 600; color: var(--rl-footer-meta); font-variant-numeric: tabular-nums; }
.rlh-footer-small { padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.rlh-footer-owner, .rlh-colophon { margin: 0; max-width: 64rem; font-family: var(--rl-ui); font-size: 0.875rem; line-height: 1.6; color: var(--rl-footer-meta); }
.rlh-footer-owner { color: var(--rl-footer-text); }
.rlh-footer .rlh-footer-note { color: var(--rl-footer-meta); }

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

.rlh-page { max-width: 820px; margin: 0 auto 0.5rem; }
.rlh-empty { max-width: 680px; margin: 0 auto 2rem; padding: 2.5rem 1.5rem; text-align: center; background: var(--rl-card); border: 1px solid var(--rl-rule); border-radius: var(--rl-radius); }
.rlh-empty h1, .rlh-empty h2 { font-size: var(--rl-title); font-weight: 800; margin: 0.5rem 0 0.75rem; }
.rlh-empty .search-form { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
.rlh-deptlist--chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.rlh-deptlist--chips li { border-bottom: 0; }
.rlh-deptlist--chips a { padding: 0 1rem; border: 1px solid var(--rl-rule); border-radius: 999px; background: var(--rl-card); }
.rlh-deptlist--chips a:hover { border-color: var(--rl-brand); color: var(--rl-brand); }

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

/* Theme contact form (inc/contact-form.php): a white card. */
.rlh-contact-form { margin: 1.75rem 0 2rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--rl-card); border: 1px solid var(--rl-rule); border-top: 4px solid var(--rl-brand); border-radius: var(--rl-radius); }
.rlh-contact-form-title { margin: 0 0 1.25rem; font-family: var(--rl-display); font-weight: 800; font-size: 1.5rem; line-height: var(--rl-lh-head); color: var(--rl-ink); }
.rlh-contact-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 640px) { .rlh-contact-row { grid-template-columns: 1fr 1fr; } }
.rlh-page .inedit-form-group { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.rlh-page .inedit-form-group label { font-weight: 700; font-size: .9375rem; color: var(--rl-ink); }
.rlh-page .inedit-form-group input, .rlh-page .inedit-form-group select, .rlh-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(--rl-rule); border-radius: var(--rl-radius); background: var(--rl-card); color: var(--rl-ink); }
.rlh-page .inedit-form-group select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--rl-ink) 50%), linear-gradient(135deg, var(--rl-ink) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 52%, calc(100% - .85rem) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.rlh-page .rlh-contact-form textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.rlh-page .rlh-contact-form input:focus, .rlh-page .rlh-contact-form select:focus, .rlh-page .rlh-contact-form textarea:focus { outline: 2px solid var(--rl-brand); outline-offset: 1px; border-color: var(--rl-brand); }
.rlh-optional { font-weight: 400; color: var(--rl-meta); }
.rlh-contact-hint { margin: .1rem 0 0; font-size: .9375rem; color: var(--rl-meta); }
.rlh-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .5rem; }
.rlh-page .inedit-contact-submit { min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: var(--rl-radius); background: var(--rl-brand); color: #fff; font-weight: 700; font-size: .9375rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.rlh-page .inedit-contact-submit:hover { background: var(--rl-brand-dark); }
.rlh-page .inedit-contact-submit:disabled { opacity: .7; cursor: wait; }
.rlh-contact-privacy { margin: 0; font-size: .9375rem; color: var(--rl-meta); }
.rlh-contact-privacy a { color: var(--rl-brand); }
.rlh-contact-status { margin-top: 1rem; }
.rlh-contact-status:empty { display: none; }
.rlh-contact-status.is-ok, .rlh-contact-status.is-error { padding: .85rem 1rem; border-radius: var(--rl-radius); font-weight: 700; }
.rlh-contact-status.is-ok { background: #EAF1E8; color: #1E4D2B; border: 1px solid #B9D2B3; }
.rlh-contact-status.is-error { background: #F8EAE7; color: #7A2617; border: 1px solid #E3BDB4; }
.rlh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inline newsletter card inside long numbered lists (rlh_inline_newsletter). */
.rlh-inline-news { margin: 2.25rem 0; padding: 1.25rem 1.4rem; background: var(--rl-tint); border: 1px solid var(--rl-tint-rule); border-radius: var(--rl-radius); }
.rlh-inline-news .rlh-newsletter-label { margin: 0 0 0.25rem; }
.rlh-inline-news-title { margin: 0 0 0.85rem !important; font-family: var(--rl-display); font-stretch: var(--rl-stretch); font-weight: 800; font-size: 1.375rem; line-height: 1.1; color: var(--rl-ink); }
.rlh-inline-news .newsletter-form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; }
.rlh-inline-news input[type=email] { flex: 1 1 220px; width: auto; min-width: 0; }
.rlh-inline-news button { flex: 0 0 auto; }
.rlh-editor + .rlh-team { margin-top: 1rem; }
.rlh-editor-name { font-family: var(--rl-display); font-weight: 800; font-size: 1.125rem; margin-bottom: 0.35rem !important; }
.rlh-editor-name a { color: var(--rl-brand); text-decoration: none; }

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

@media (max-width: 1240px) {
    .rlh-mast-nav .primary-menu { gap: 0 1.15rem; }
    .rlh-mast-nav .main-navigation a { font-size: 0.9375rem; }
    .rlh-logo { height: 52px; }
    .rlh-doors { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .rlh-door { grid-column: span 2; }
    .rlh-door:nth-child(4) { grid-column: 2 / span 2; }
}

@media (max-width: 1100px) {
    /* Masthead: logo left; search + menu right; topics in the drawer. */
    .rlh-mast-inner { min-height: 76px; }
    .rlh-logo { height: 46px; }
    .rlh-nav-tools { gap: 0.25rem; }
    .rlh-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; }
    .rlh-masthead .hamburger-line { background: var(--rl-ink); }
    .rlh-masthead .mobile-menu-toggle.active .hamburger-line { background: var(--rl-ink); }
    .rlh-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .rlh-drawer-clip .main-navigation { position: absolute; pointer-events: auto; background: var(--rl-ground); overflow-y: auto; padding: 0; max-width: none; display: block; }
    .rlh-mast-nav .primary-menu, .rlh-mast-nav .main-navigation ul.primary-menu { display: block; text-align: left; margin: 0; }
    .rlh-mast-nav .main-navigation .primary-menu li { border-bottom: 1px solid var(--rl-rule); }
    .rlh-mast-nav .main-navigation a { min-height: 60px; width: 100%; padding: 0 1.5rem; font-family: var(--rl-display); font-size: 1.5rem; font-weight: 700; color: var(--rl-ink); }
    .rlh-mast-nav .main-navigation a::after { display: none; }
    .rlh-nav-short { display: none; }
    .rlh-nav-full { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
    .rlh-mast-nav .main-navigation .current-cat > a { background: var(--rl-tint); color: var(--rl-brand); }
    .rlh-mast-nav .main-navigation .rlh-drawer-label { display: block; margin: 1.25rem 1.5rem 0.5rem; padding-bottom: 0.6rem; border-bottom: 3px solid var(--rl-stripe); font-family: var(--rl-ui); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rl-brand); }
    .rlh-mast-nav .main-navigation .rlh-drawer-sub { display: flex; align-items: center; justify-content: center; width: auto; margin: 1.5rem; min-height: 52px; padding: 0 1rem; font-family: var(--rl-ui); font-size: 1rem; font-weight: 700; background: var(--rl-brand); color: #fff; border-radius: 999px; text-decoration: none; }
    .rlh-masthead .mobile-menu-toggle.active { position: fixed; top: 0.75rem; left: auto; right: 0.75rem; z-index: 1002; }

    .rlh-layout, .rlh-block { grid-template-columns: minmax(0, 1fr); }
    .rlh-layout > .rlh-sidebar { margin-top: 1rem; }
    .rlh-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .rlh-sidebar .rlh-widget-news, .rlh-sidebar .rlh-widget-topics { display: none; }
    .rlh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rlh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rlh-footer-brand { grid-column: 1 / -1; }
    .rlh-archive-head { grid-template-columns: minmax(0, 1fr); }
    .rlh-newsletter-inner { grid-template-columns: minmax(0, 1fr); }
    .rlh-newsletter-card { max-width: 560px; }
}

@media (max-width: 820px) {
    .rlh-doors { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
    .rlh-door, .rlh-door:nth-child(4) { grid-column: auto; }
    /* Doors go horizontal on phones: arched photo left, text right. */
    .rlh-door { flex-direction: row; align-items: stretch; gap: 0.9rem; padding: 0.7rem; border-radius: 120px 24px 24px 120px / 120px 24px 24px 120px; }
    .rlh-door-photo { flex: none; width: 34%; max-width: 150px; aspect-ratio: auto; min-height: 150px; border-radius: 999px 10px 10px 999px / 999px 10px 10px 999px; }
    .rlh-door-body { padding: 0.35rem 0.25rem 0.1rem 0; }
    .rlh-door-line { display: none; }
    .rlh-door-newest { margin-top: 0.6rem; padding-top: 0.6rem; }
    .rlh-door-walk { padding-top: 0.25rem; min-height: 40px; }
    .rlh-doorstep { grid-template-columns: minmax(0, 1fr); }
    .rlh-rail { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
    .rlh-mast-sub { display: none; }
    .rlh-logo { height: 42px; }
    .rlh-row { grid-template-columns: 88px minmax(0, 1fr); gap: 0 1rem; padding: 1rem 0; }
    .rlh-row-dek { display: none; }
    .rlh-row-title { font-size: 1.125rem; }
    .rlh-grid--3 { grid-template-columns: minmax(0, 1fr); }
    .rlh-newsletter .newsletter-form { flex-direction: column; }
    .rlh-page .entry-content .rlh-onpage ol { columns: 1; }
    .rlh-archive-head { padding: 2.25rem 1.25rem 1.75rem; border-radius: 120px 120px var(--rl-radius) var(--rl-radius) / 60px 60px var(--rl-radius) var(--rl-radius); }
    .rlh-dot--wrap { display: none; }
    .rlh-byline { flex-basis: 100%; }
}

@media (max-width: 480px) {
    .rlh-footer-grid { gap: 1.75rem 1.25rem; }
}

@media (max-width: 359px) {
    .rlh-footer-grid { grid-template-columns: minmax(0, 1fr); }
    .rlh-door-photo { min-height: 132px; }
}

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