/* ============================================================
   Hurensohn Solutions — Redesign
   Newspaper/magazine skin layered over the Ghost "Source" theme.
   Imported from design: "Hurensohn Solutions Redesign.dc.html".
   Scoped under body.hs-theme so it overrides built/screen.css
   without touching Ghost's data wiring or source.js hooks.
   ============================================================ */

body.hs-theme {
    --hs-ink: #14181b;
    --hs-ink-2: #22282b;
    --hs-teal: #1f6079;
    --hs-teal-dark: #14424f;
    --hs-teal-bright: #2b87a6;
    --hs-teal-bright-hover: #4aa5c3;
    --hs-dark: #14262d;
    --hs-dark-2: #0e1b21;
    --hs-on-dark: #a9bfc7;
    --hs-on-dark-2: #b7c8ce;
    --hs-page: #eceff0;
    --hs-paper: #ffffff;
    --hs-soft: #fafbfb;
    --hs-line: #dfe4e5;
    --hs-line-2: #eef1f2;
    --hs-line-3: #e6eaeb;
    --hs-muted: #6c7477;
    --hs-muted-2: #5b6367;
    --hs-muted-3: #7b8285;
    --hs-placeholder-a: #e4e9ea;
    --hs-placeholder-b1: #dbe2e4;
    --hs-placeholder-b2: #e7ecee;
    --hs-max: 1240px;

    --hs-sans: "Libre Franklin", system-ui, -apple-system, sans-serif;
    --hs-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --hs-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

    margin: 0;
    background: var(--hs-page);
    color: var(--hs-ink);
    font-family: var(--hs-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.hs-theme * { box-sizing: border-box; }

body.hs-theme a { color: var(--hs-teal); text-decoration: none; }
body.hs-theme a:hover { color: var(--hs-teal-dark); }

/* The white "paper" that holds masthead + body + footer */
.hs-theme .gh-viewport,
.hs-theme .hs-viewport {
    display: block;
    padding: 0 24px 80px;
    background: var(--hs-page);
}
.hs-theme .hs-paper {
    width: 100%;
    max-width: var(--hs-max);
    margin: 0 auto;
    background: var(--hs-paper);
    box-shadow: 0 1px 3px rgba(20, 24, 27, 0.08);
}

/* ------------------------------------------------------------------
   De-collision layer. The base Source screen.css stays loaded (for Koenig
   content styles + source.js hooks), and it lays out the .gh-* structural
   classes with a CSS-grid + sticky-nav system. Neutralize that on the few
   classes the redesign still reuses, so the newspaper layout fully controls.
   (gh-outer / gh-inner were removed from the markup entirely.)
   ------------------------------------------------------------------ */
.hs-theme .gh-main,
.hs-theme .gh-canvas {
    display: block;
    grid-template-columns: none;
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.hs-mono-label {
    font-family: var(--hs-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hs-muted-3);
}

/* Image tiles are block-level so aspect-ratio + object-fit apply on <a>/<span> */
.hs-theme .hs-figure { display: block; overflow: hidden; }
.hs-theme a.hs-thumb { display: block; }

/* Reusable placeholder image tile (used until a real feature_image exists) */
.hs-ph {
    background-color: var(--hs-placeholder-a);
    background-image: repeating-linear-gradient(135deg,
        var(--hs-placeholder-b1) 0 10px, var(--hs-placeholder-b2) 10px 20px);
}

/* ============================================================
   MASTHEAD  (partials/components/navigation.hbs)
   ============================================================ */
.hs-theme .gh-navigation.hs-masthead {
    position: static;
    top: auto;
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    background: var(--hs-paper);
    color: var(--hs-ink);
    border: 0;
    box-shadow: none;
    grid-template-columns: none;
    font-size: 14px;
    font-weight: 400;
}

/* Base sets `.gh-navigation{height:100px}` and, on mobile, `#gh-navigation{height:64px}`
   (an ID rule). Beat the ID with an id+class selector so the tall masthead isn't clipped. */
#gh-navigation.hs-masthead { height: auto; }

/* Re-assert masthead link colours over base `.gh-navigation :is(a…){color:inherit}` (0,2,1) */
.hs-theme .hs-masthead .hs-utility a { color: var(--hs-on-dark); }
.hs-theme .hs-masthead .hs-utility a:hover,
.hs-theme .hs-masthead .hs-utility .hs-signin { color: #fff; }
.hs-theme .hs-masthead .hs-title { color: var(--hs-ink); }
.hs-theme .hs-masthead .hs-sections a { color: var(--hs-ink); }
.hs-theme .hs-masthead .hs-sections a:hover { color: var(--hs-teal); }
.hs-theme .hs-masthead .hs-sections li.nav-current a,
.hs-theme .hs-masthead .hs-sections a.is-active { color: var(--hs-teal); }
.hs-theme .hs-masthead .hs-cta-button { color: #fff; }
.hs-theme .hs-masthead .hs-mobile-menu ul.nav a { color: var(--hs-ink); }
.hs-theme .hs-masthead .hs-mobile-menu ul.nav a:hover { color: var(--hs-teal); }

.hs-utility {
    background: var(--hs-dark);
    color: var(--hs-on-dark);
    font-size: 12px;
}
.hs-utility-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 28px;
}
.hs-utility a { color: var(--hs-on-dark); }
.hs-utility a:hover { color: #fff; }
.hs-utility-left, .hs-utility-right {
    display: flex;
    gap: 18px;
    align-items: center;
}
.hs-utility .hs-date { font-variant-numeric: tabular-nums; }
.hs-utility .hs-sep { opacity: 0.4; }
.hs-utility .hs-signin {
    color: #fff;
    font-weight: 600;
    border: 1px solid #47707f;
    padding: 4px 12px;
    border-radius: 2px;
}
.hs-utility .hs-signin:hover { background: var(--hs-teal); border-color: var(--hs-teal); color: #fff; }

.hs-masthead-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px 28px 24px;
    border-bottom: 3px solid var(--hs-ink);
}
.hs-brand { min-width: 0; flex: 1 1 auto; }
.hs-title,
.hs-theme a.hs-title {
    display: block;
    font-family: var(--hs-serif);
    font-weight: 900;
    font-size: clamp(34px, 5.2vw, 62px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--hs-ink);
}
.hs-title img { max-height: 64px; width: auto; }
.hs-tagline {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hs-teal);
    font-weight: 600;
}
.hs-brand-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
}
.hs-cta-copy { text-align: right; line-height: 1.3; }
.hs-cta-copy .hs-cta-kicker {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hs-muted-3);
}
.hs-cta-copy .hs-cta-title { font-size: 14px; font-weight: 600; color: var(--hs-ink); }
.hs-theme .hs-cta-button {
    background: var(--hs-teal);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 2px;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}
.hs-theme .hs-cta-button:hover { background: var(--hs-teal-dark); color: #fff; }

/* Section bar — deliberately NOT .gh-navigation-menu so source.js dropdown() no-ops */
.hs-sections {
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--hs-line);
    padding: 0 16px;
    scrollbar-width: thin;
}
.hs-sections .nav,
.hs-sections ul {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hs-sections li { margin: 0; }
.hs-sections a,
.hs-sections .nav a {
    display: block;
    padding: 13px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--hs-ink);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.hs-sections a:hover { color: var(--hs-teal); border-bottom-color: #b9ccd3; }
.hs-sections li.nav-current a,
.hs-sections a.is-active {
    color: var(--hs-teal);
    font-weight: 700;
    border-bottom-color: var(--hs-teal);
}

/* Newsticker */
.hs-ticker {
    display: flex;
    align-items: stretch;
    background: var(--hs-ink);
    color: #fff;
    overflow: hidden;
}
.hs-ticker-label {
    background: var(--hs-teal);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 11px 16px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.hs-ticker-track {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 13.5px;
    font-family: var(--hs-mono);
    color: #cfd6d8;
    white-space: nowrap;
    overflow: hidden;
}
.hs-ticker-move {
    flex: none;
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    will-change: transform;
    animation: hs-ticker-scroll 30s linear infinite;
}
.hs-ticker:hover .hs-ticker-move { animation-play-state: paused; }
@keyframes hs-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .hs-ticker-move { animation: none; padding-left: 0; }
}

/* Search + burger buttons from the base theme, restyled */
.hs-theme .hs-masthead .gh-search,
.hs-theme .hs-masthead .gh-burger {
    color: var(--hs-ink);
    background: #f1f4f5;
    border-radius: 2px;
    width: 44px;
    height: 44px;
}
.hs-theme .hs-masthead .gh-search:hover,
.hs-theme .hs-masthead .gh-burger:hover { background: #e2e8ea; }
.hs-theme .hs-masthead .gh-burger { display: none; }

/* Secondary nav rendered inline inside the utility bar */
.hs-utility-right ul.nav {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hs-utility-right ul.nav li { margin: 0; }

/* Collapsible mobile menu */
.hs-mobile-menu {
    border-bottom: 1px solid var(--hs-line);
    padding: 8px 16px;
    background: var(--hs-paper);
}
.hs-mobile-menu.is-collapsed { display: none; }
.hs-mobile-menu ul.nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hs-mobile-menu ul.nav li { margin: 0; }
.hs-mobile-menu ul.nav a {
    display: block;
    padding: 10px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hs-ink);
    border-bottom: 1px solid var(--hs-line-2);
}
.hs-mobile-menu ul.nav a:hover { color: var(--hs-teal); }
@media (min-width: 768px) {
    .hs-mobile-menu { display: none !important; }
}

/* ============================================================
   SHARED SECTION SCAFFOLD
   ============================================================ */
.hs-theme .gh-main { margin: 0; }
.hs-section-pad { padding: 28px; }

.hs-kicker {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hs-teal);
}
.hs-chip {
    display: inline-block;
    background: var(--hs-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 9px;
}
.hs-rule { height: 1px; background: var(--hs-ink); }
.hs-rule-soft { height: 1px; background: var(--hs-line); }

.hs-block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px solid var(--hs-ink);
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.hs-block-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hs-ink);
}
.hs-block-head a { font-size: 12.5px; font-weight: 600; }

/* ============================================================
   HOMEPAGE  (components/newspaper-home.hbs)
   ============================================================ */
.hs-home {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr);
    gap: 0;
}
.hs-home-main {
    min-width: 0;
    padding: 28px;
    border-right: 1px solid var(--hs-line);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Lead story */
.hs-lead { display: flex; flex-direction: column; gap: 14px; }
.hs-lead .hs-figure {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hs-lead .hs-figure img { width: 100%; height: 100%; object-fit: cover; }
.hs-lead-meta-top { display: flex; align-items: center; gap: 10px; }
.hs-lead-meta-top .hs-date { font-size: 12px; color: var(--hs-muted); }
.hs-lead-title {
    margin: 0;
    font-family: var(--hs-serif);
    font-weight: 900;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.015em;
    color: var(--hs-ink);
    text-wrap: balance;
}
.hs-lead-title a { color: var(--hs-ink); }
.hs-lead-title a:hover { color: var(--hs-teal); }
.hs-lead-dek {
    margin: 0;
    font-family: var(--hs-serif);
    font-size: 19px;
    line-height: 1.5;
    color: #3c4448;
    max-width: 62ch;
    text-wrap: pretty;
}
.hs-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    font-size: 12.5px;
    color: var(--hs-muted);
    border-top: 1px solid var(--hs-line-2);
    padding-top: 12px;
}
.hs-byline b { color: var(--hs-ink); font-weight: 600; }
.hs-byline .hs-sep { opacity: 0.4; }
.hs-byline .hs-comments { color: var(--hs-teal); font-weight: 600; font-variant-numeric: tabular-nums; }

/* 3-up secondary grid */
.hs-triple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
}
.hs-mini { display: flex; flex-direction: column; gap: 9px; }
.hs-mini .hs-figure { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.hs-mini .hs-figure img { width: 100%; height: 100%; object-fit: cover; }
.hs-mini h3 {
    margin: 0;
    font-family: var(--hs-serif);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.2;
    color: var(--hs-ink);
    text-wrap: pretty;
}
.hs-mini h3 a { color: var(--hs-ink); }
.hs-mini h3 a:hover { color: var(--hs-teal); }
.hs-mini p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--hs-muted-2); }
.hs-mini .hs-mini-meta { font-size: 11.5px; color: var(--hs-muted); font-variant-numeric: tabular-nums; }

/* "Weitere Meldungen" list */
.hs-list { display: flex; flex-direction: column; }
.hs-list-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--hs-line-2);
}
.hs-list-item .hs-thumb { width: 88px; height: 62px; overflow: hidden; }
.hs-list-item .hs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hs-list-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hs-list-body .hs-list-title {
    font-family: var(--hs-serif); font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--hs-ink);
}
.hs-list-body .hs-list-title a { color: var(--hs-ink); }
.hs-list-body .hs-list-title a:hover { color: var(--hs-teal); }

/* Sidebar */
.hs-aside {
    min-width: 0;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: var(--hs-soft);
}
.hs-fact {
    border: 2px solid var(--hs-ink);
    padding: 18px;
}
.hs-fact .hs-fact-label {
    font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--hs-teal); margin-bottom: 10px;
}
.hs-fact .hs-fact-body {
    font-family: var(--hs-serif); font-size: 21px; line-height: 1.3; color: var(--hs-ink); font-weight: 600;
}
.hs-fact .hs-fact-foot {
    margin-top: 12px; font-family: var(--hs-mono); font-size: 11px; color: var(--hs-muted);
}
.hs-ranklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.hs-ranklist li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hs-line-3);
    align-items: start;
}
.hs-rank {
    font-family: var(--hs-serif); font-size: 30px; font-weight: 900; line-height: 0.9;
    color: #c4d0d4; font-variant-numeric: tabular-nums;
}
.hs-rank-title { font-size: 14.5px; line-height: 1.35; font-weight: 600; color: var(--hs-ink); }
.hs-rank-title a { color: var(--hs-ink); }
.hs-rank-title a:hover { color: var(--hs-teal); }

/* Newsletter box */
.hs-newsletter { background: var(--hs-dark); color: #fff; padding: 20px; }
.hs-newsletter h2 { margin: 0; font-family: var(--hs-serif); font-size: 22px; font-weight: 700; line-height: 1.2; }
.hs-newsletter p { margin: 8px 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--hs-on-dark-2); }
.hs-newsletter form,
.hs-newsletter .hs-newsletter-fields { display: flex; flex-direction: column; gap: 8px; }
.hs-newsletter input[type="email"] {
    width: 100%; padding: 11px 12px; border: 1px solid #47707f; background: var(--hs-dark-2);
    color: #fff; font-family: var(--hs-sans); font-size: 14px; border-radius: 2px;
}
.hs-newsletter input[type="email"]::placeholder { color: #7f9aa4; }
.hs-theme .hs-newsletter button {
    width: 100%; padding: 11px 12px; background: var(--hs-teal-bright); color: #08171d; border: none;
    font-family: var(--hs-sans); font-weight: 700; font-size: 14px; border-radius: 2px; cursor: pointer;
}
.hs-theme .hs-newsletter button:hover { background: var(--hs-teal-bright-hover); }

/* ============================================================
   ARTICLE  (post.hbs / page.hbs)
   ============================================================ */
.hs-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 0;
}
.hs-theme .hs-article {
    min-width: 0;
    padding: 36px 44px 44px;
    border-right: 1px solid var(--hs-line);
    max-width: none;
    margin: 0;
}
.hs-breadcrumb {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
    font-size: 12px; color: var(--hs-muted); margin-bottom: 20px;
}
.hs-breadcrumb a { color: var(--hs-muted); }
.hs-breadcrumb a:hover { color: var(--hs-teal); }
.hs-theme .hs-article-title {
    margin: 14px 0 0;
    font-family: var(--hs-serif);
    font-weight: 900;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.018em;
    color: var(--hs-ink);
    text-wrap: balance;
    max-width: 20ch;
}
.hs-article-dek {
    margin: 18px 0 0;
    font-family: var(--hs-serif);
    font-size: 21px;
    line-height: 1.5;
    color: #3c4448;
    max-width: 56ch;
    text-wrap: pretty;
}
.hs-article-meta {
    display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
    margin: 22px 0; padding: 14px 0;
    border-top: 1px solid var(--hs-line-3); border-bottom: 1px solid var(--hs-line-3);
    font-size: 13px; color: var(--hs-muted-2);
}
.hs-article-meta .hs-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--hs-placeholder-a); overflow: hidden; }
.hs-article-meta .hs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hs-article-meta b { color: var(--hs-ink); }
.hs-article-meta .hs-sep { opacity: 0.4; }
.hs-article-meta .hs-comments {
    margin-left: auto; background: #eef4f6; color: var(--hs-teal); font-weight: 700;
    padding: 5px 12px; border-radius: 2px; font-variant-numeric: tabular-nums;
}
.hs-article-figure { margin: 0 0 26px; }
.hs-article-figure .hs-figure { width: 100%; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hs-article-figure .hs-figure img { width: 100%; height: 100%; object-fit: cover; }
.hs-article-figure figcaption { margin-top: 8px; font-size: 12px; color: var(--hs-muted); }

.hs-theme .hs-content {
    display: block;
    grid-template-columns: none;
    font-family: var(--hs-serif);
    font-size: 19px;
    line-height: 1.65;
    color: var(--hs-ink-2);
    max-width: 66ch;
    margin: 0;
}
/* Koenig content that expected the base grid to break out — keep it sane */
.hs-theme .hs-content .kg-width-wide,
.hs-theme .hs-content .kg-width-full { max-width: 100%; margin-left: 0; margin-right: 0; }
.hs-theme .hs-content > * { margin: 0 0 20px; }
.hs-theme .hs-content > *:last-child { margin-bottom: 0; }
.hs-theme .hs-content h2, .hs-theme .hs-content h3 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.hs-theme .hs-content blockquote {
    margin: 6px 0; padding: 0 0 0 20px; border-left: 4px solid var(--hs-teal);
    font-size: 25px; line-height: 1.35; font-weight: 600; color: var(--hs-ink);
}
.hs-theme .hs-content a { color: var(--hs-teal); text-decoration: underline; text-underline-offset: 2px; }
.hs-theme .hs-content img { height: auto; }

.hs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hs-tags a {
    font-size: 12px; font-weight: 600; color: var(--hs-teal);
    background: #eef4f6; padding: 6px 12px; border-radius: 2px;
}
.hs-tags a:hover { background: #e0eef2; }

.hs-more-block { margin-top: 36px; border-top: 2px solid var(--hs-ink); padding-top: 16px; }
.hs-more-block > h2 {
    margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--hs-ink);
}
.hs-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.hs-more-grid a { display: flex; flex-direction: column; gap: 8px; }
.hs-more-grid .hs-figure { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.hs-more-grid .hs-figure img { width: 100%; height: 100%; object-fit: cover; }
.hs-more-grid span.hs-more-title {
    font-family: var(--hs-serif); font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--hs-ink);
}

.hs-article-aside {
    min-width: 0;
    padding: 36px 22px;
    background: var(--hs-soft);
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.hs-comments-wrap { padding: 0 44px 44px; }

/* ============================================================
   RUBRIK / ARCHIVE  (tag.hbs, author.hbs, index paged)
   ============================================================ */
.hs-rubrik-head {
    padding: 34px 28px;
    border-bottom: 1px solid var(--hs-line);
    display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between;
}
.hs-rubrik-head .hs-kicker { font-size: 11px; letter-spacing: 0.16em; }
.hs-rubrik-head h1 {
    margin: 6px 0 0;
    font-family: var(--hs-serif);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900; line-height: 1; letter-spacing: -0.02em; color: var(--hs-ink);
}
.hs-rubrik-head p { margin: 10px 0 0; font-size: 15px; color: var(--hs-muted-2); max-width: 56ch; }
.hs-rubrik-sort { display: flex; gap: 8px; }
.hs-theme .hs-rubrik-sort a, .hs-theme .hs-rubrik-sort button {
    font-size: 12.5px; font-weight: 700; padding: 8px 14px; border: 1px solid var(--hs-line);
    background: #fff; color: var(--hs-ink); border-radius: 2px; cursor: pointer;
}
.hs-theme .hs-rubrik-sort .is-active {
    border-color: var(--hs-ink); background: var(--hs-ink); color: #fff;
}
.hs-theme .hs-rubrik-sort a:hover:not(.is-active) { border-color: var(--hs-teal); color: var(--hs-teal); }

.hs-rubrik-body { padding: 28px; display: flex; flex-direction: column; }
.hs-rubrik-lead {
    display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 24px; padding: 0 0 24px; border-bottom: 1px solid var(--hs-line-3);
}
.hs-rubrik-lead .hs-figure { width: 100%; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hs-rubrik-lead .hs-figure img { width: 100%; height: 100%; object-fit: cover; }
.hs-rubrik-lead .hs-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.hs-rubrik-lead h2 {
    margin: 0; font-family: var(--hs-serif); font-size: 32px; font-weight: 800; line-height: 1.1;
    color: var(--hs-ink); text-wrap: pretty;
}
.hs-rubrik-lead h2 a { color: var(--hs-ink); }
.hs-rubrik-lead h2 a:hover { color: var(--hs-teal); }
.hs-rubrik-lead p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--hs-muted-2); max-width: 62ch; }
.hs-rubrik-lead .hs-meta { font-size: 12px; color: var(--hs-muted); }

.hs-rubrik-row {
    display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--hs-line-2); align-items: center;
}
.hs-rubrik-row .hs-figure { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.hs-rubrik-row .hs-figure img { width: 100%; height: 100%; object-fit: cover; }
.hs-rubrik-row .hs-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hs-rubrik-row h3 {
    margin: 0; font-family: var(--hs-serif); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--hs-ink);
}
.hs-rubrik-row h3 a { color: var(--hs-ink); }
.hs-rubrik-row h3 a:hover { color: var(--hs-teal); }
.hs-rubrik-row .hs-meta { font-size: 12px; color: var(--hs-muted-2); }

.hs-loadmore { display: flex; justify-content: center; padding-top: 26px; }
.hs-theme .hs-loadmore a {
    font-size: 14px; font-weight: 700; padding: 13px 30px; border: 2px solid var(--hs-ink);
    background: #fff; color: var(--hs-ink); border-radius: 2px;
}
.hs-theme .hs-loadmore a:hover { background: var(--hs-ink); color: #fff; }

/* ============================================================
   FOOTER  (partials/components/footer.hbs)
   ============================================================ */
.hs-theme .gh-footer.hs-footer {
    display: block;
    grid-template-columns: none;
    max-width: none;
    width: auto;
    margin: 0;
    margin-top: 0;
    background: var(--hs-ink);
    color: #8e979b;
    padding: 32px 28px;
    border: 0;
    font-size: 13px;
}
/* Re-assert footer link colours over base `.gh-footer a:not(.gh-button){color:inherit}` (0,2,1) */
.hs-theme .hs-footer a { color: #8e979b; }
.hs-theme .hs-footer a:hover { color: #fff; }
.hs-footer-inner {
    display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; max-width: none; margin: 0;
}
.hs-footer .hs-footer-brand { max-width: 340px; }
.hs-footer .hs-footer-brand .hs-footer-name {
    font-family: var(--hs-serif); font-size: 22px; font-weight: 900; color: #fff;
}
.hs-footer .hs-footer-brand p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; }
.hs-footer-cols { display: flex; gap: 48px; flex-wrap: wrap; font-size: 13px; }
.hs-footer-col { display: flex; flex-direction: column; gap: 8px; }
.hs-footer-col .hs-footer-col-title {
    color: #fff; font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.hs-footer-col a { color: #8e979b; }
.hs-footer-col a:hover { color: #fff; }
.hs-footer .hs-footer-legal { width: 100%; margin-top: 8px; font-size: 12px; color: #6a7377; }
.hs-footer .hs-footer-legal a { color: #8e979b; }
.hs-footer-col ul.nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hs-footer-col ul.nav li { margin: 0; }
.hs-footer-col ul.nav a { color: #8e979b; }
.hs-footer-col ul.nav a:hover { color: #fff; }

/* ============================================================
   POST CARD fallback (base gh-feed if ever used directly)
   ============================================================ */
.hs-theme .gh-feed { gap: 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .hs-home { grid-template-columns: 1fr; }
    .hs-home-main { border-right: 0; border-bottom: 1px solid var(--hs-line); }
    .hs-article-grid { grid-template-columns: 1fr; }
    .hs-theme .hs-article { border-right: 0; padding: 28px 24px; }
    .hs-article-aside { border-top: 1px solid var(--hs-line); }
    .hs-comments-wrap { padding: 0 24px 32px; }
}

@media (max-width: 767px) {
    .hs-theme .hs-viewport { padding: 0; }
    .hs-utility-inner { padding: 8px 16px; }
    .hs-masthead-inner { padding: 22px 16px 18px; flex-wrap: wrap; }
    .hs-title, .hs-theme a.hs-title { font-size: clamp(28px, 9vw, 40px); }
    .hs-brand-actions .hs-cta-copy { display: none; }
    .hs-theme .hs-masthead .gh-burger { display: inline-flex; }
    .hs-section-pad, .hs-home-main, .hs-rubrik-body { padding: 18px 16px; }
    .hs-aside, .hs-article-aside { padding: 20px 16px; }
    .hs-theme .hs-article { padding: 20px 16px; }
    .hs-rubrik-lead { grid-template-columns: 1fr; }
    .hs-rubrik-row { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
    .hs-rubrik-row h3 { font-size: 16px; }
    .hs-rubrik-head { padding: 22px 16px; }
    .hs-footer-inner { gap: 24px; }
    .hs-footer-cols { gap: 32px; }

    /* Collapsed section bar can be toggled by the burger */
    .hs-sections.is-collapsed { display: none; }
}
