/* ==========================================================================
   Slezská drbna — regional news portal
   Design inspired by Czech regional dailies (drbna.cz, iDNES regional):
     - Full-width red masthead + white content on soft-gray page
     - Serif display headlines (Georgia stack) over sans body (Inter stack)
     - Card grids, category chips, sidebar widgets
   ========================================================================== */

:root {
    --brand-red:      #d0103a;   /* primary drbna red */
    --brand-red-dk:   #9d0028;   /* hover shade */
    --brand-ink:      #14171c;   /* text ink */
    --brand-ink-2:    #3a3f47;   /* secondary text */
    --brand-muted:    #6b7280;   /* meta text */
    --brand-line:     #e5e7eb;   /* hairline divider */
    --brand-line-2:   #d8dbe0;   /* card border */
    --brand-bg:       #f4f2ee;   /* page background — warm off-white */
    --brand-surface:  #ffffff;   /* cards / masthead-inner white */
    --brand-strip:    #1c1f25;   /* top thin date strip */

    /* Category accents (used by chips and rubrika headers) */
    --cat-ostrava: #d0103a;
    --cat-region:  #1976d2;
    --cat-krimi:   #14171c;
    --cat-redakce: #6b21a8;

    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-serif: Georgia, 'Iowan Old Style', 'Times New Roman', Times, serif;

    --shadow-card: 0 1px 2px rgba(20,23,28,.05), 0 1px 3px rgba(20,23,28,.06);
    --shadow-hero: 0 8px 24px rgba(20,23,28,.14);
    --radius: 2px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--brand-ink);
    background: var(--brand-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-red); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- TOPBAR / MASTHEAD ---------- */
.topbar { border-bottom: 3px solid var(--brand-red); background: var(--brand-surface); }

.topbar-strip {
    background: var(--brand-strip);
    color: #cfd3da;
    font-size: 12px;
    letter-spacing: .2px;
}
.topbar-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 6px 20px;
    display: flex; align-items: center; gap: 10px;
    text-transform: none;
}
.topbar-date { font-weight: 600; color: #fff; }
.topbar-sep { color: #6b6f78; }

.masthead { background: var(--brand-surface); }
.masthead-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 22px 20px 14px 20px;
    display: flex; align-items: center; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }

/* Little dot-cluster mark on the left of the wordmark */
.brand-mark {
    width: 46px; height: 46px;
    background: var(--brand-red);
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-content: center; justify-content: center;
    gap: 4px; padding: 8px;
    border-radius: 3px;
    position: relative;
}
.brand-mark-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff;
}
.brand-mark-dot--two { background: #fff; opacity: .75; }
.brand-mark-dot--three {
    grid-column: 1 / -1;
    justify-self: center;
    background: #14171c;
    width: 26px; height: 6px; border-radius: 3px;
}

.brand-word { display: inline-flex; flex-direction: column; line-height: .95; }
.brand-word-lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 15px;
    color: var(--brand-ink-2);
    letter-spacing: .3px;
}
.brand-word-main {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 42px;
    color: var(--brand-red);
    letter-spacing: -1.5px;
    line-height: 1;
}

.topsearch {
    margin-left: auto;
    display: flex; align-items: center;
    border: 1.5px solid var(--brand-line-2);
    border-radius: 100px;
    overflow: hidden;
    height: 40px;
    background: #fff;
    max-width: 320px; width: 100%;
}
.topsearch input {
    border: 0; padding: 0 14px; height: 100%;
    outline: none; font: inherit;
    background: transparent; flex: 1; min-width: 0;
}
.topsearch button {
    background: var(--brand-red); color: #fff;
    border: 0; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.topsearch button:hover { background: var(--brand-red-dk); }

.hamburger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--brand-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mainnav { background: var(--brand-red); }
.mainnav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mainnav-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap;
}
.mainnav-link {
    display: block; color: #fff;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .4px;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: background .15s, border-color .15s;
}
.mainnav-link:hover { background: var(--brand-red-dk); color: #fff; }
.mainnav-link.is-active { background: var(--brand-red-dk); border-bottom-color: #fff; color: #fff; }
.mainnav-link--home { background: rgba(0,0,0,.15); }

/* ---------- PAGE WRAP + CRUMBS ---------- */
.page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.crumbs {
    font-size: 13px;
    color: var(--brand-muted);
    margin: 0 0 18px 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.crumbs a { color: var(--brand-muted); }
.crumbs a:hover { color: var(--brand-red); }
.crumbs-sep { color: var(--brand-line-2); }
.crumbs-current { color: var(--brand-ink); font-weight: 600; }

/* ---------- CATEGORY CHIP ---------- */
.chip {
    display: inline-block;
    padding: 4px 10px;
    background: var(--brand-red);
    color: #fff !important;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    line-height: 1.4;
}
.chip:hover { color: #fff !important; opacity: .9; }
.chip--sm { padding: 3px 8px; font-size: 10px; }
.chip--ostrava { background: var(--cat-ostrava); }
.chip--region  { background: var(--cat-region); }
.chip--krimi   { background: var(--cat-krimi); }
.chip--authors { background: var(--cat-redakce); }

/* ---------- HOMEPAGE LEAD ---------- */
.lead-block {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.lead-hero {
    position: relative;
    background: var(--brand-strip);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hero);
    aspect-ratio: 16 / 10;
}
.lead-hero-media { display: block; height: 100%; position: relative; }
.lead-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-hero-overlay {
    position: absolute; inset: auto 0 0 0;
    padding: 40px 32px 28px 32px;
    background: linear-gradient(to top, rgba(20,23,28,.92) 0%, rgba(20,23,28,.72) 55%, rgba(20,23,28,0) 100%);
    color: #fff;
}
.lead-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.5px;
    margin: 10px 0 8px 0;
    color: #fff;
}
.lead-hero-lead {
    font-size: 15px;
    line-height: 1.5;
    color: #e6e8ec;
    max-width: 60ch;
    margin: 0 0 12px 0;
}
.lead-hero-meta {
    display: flex; gap: 8px; align-items: center;
    font-size: 13px; color: #cfd3da;
}

.lead-side { display: flex; flex-direction: column; gap: 16px; }

.sub-hero {
    background: var(--brand-surface);
    border: 1px solid var(--brand-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: grid;
    grid-template-rows: 160px auto;
}
.sub-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero-body { padding: 14px 16px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.sub-hero-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.25;
    color: var(--brand-ink);
    letter-spacing: -.2px;
    display: block;
}
.sub-hero-title:hover { color: var(--brand-red); }

/* ---------- BODY BLOCK (feed + sidebar) ---------- */
.body-block {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.section-strip {
    display: flex; align-items: center; gap: 14px;
    margin: 6px 0 18px 0;
}
.section-strip-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-ink);
    letter-spacing: -.3px;
    position: relative;
    padding: 6px 0 6px 14px;
    border-left: 4px solid var(--brand-red);
}
.section-strip-line { flex: 1; height: 1px; background: var(--brand-line); }

/* ---------- ROW CARD (used by feed, section list, author articles) ---------- */
.feed-column, .rubrika-feed { display: flex; flex-direction: column; gap: 0; }

.row-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--brand-line);
    background: transparent;
}
.row-card:first-child { padding-top: 0; }
.row-card:last-child { border-bottom: 0; }

.row-card-media {
    flex: 0 0 220px;
    aspect-ratio: 16 / 10;
    background: var(--brand-strip);
    border-radius: var(--radius);
    overflow: hidden;
}
.row-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.row-card:hover .row-card-media img { transform: scale(1.03); }

.row-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row-card-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.22;
    color: var(--brand-ink);
    letter-spacing: -.3px;
    margin-top: 2px;
}
.row-card-title:hover { color: var(--brand-red); }
.row-card-lead {
    margin: 0;
    color: var(--brand-ink-2);
    font-size: 15px;
    line-height: 1.5;
}

.meta-row { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--brand-muted); margin-top: 4px; }
.byline { color: var(--brand-red); font-weight: 700; }
.meta-sep { color: var(--brand-line-2); }

/* Load-more button (kept for /rubrika/ pages) */
.load-more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.btn-loadmore {
    background: var(--brand-red); color: #fff; border: 0;
    padding: 12px 28px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; font-size: 13px; cursor: pointer;
    border-radius: 2px; transition: background .15s;
}
.btn-loadmore:hover { background: var(--brand-red-dk); }
.btn-primary {
    display: inline-block;
    background: var(--brand-red); color: #fff !important;
    padding: 12px 24px; font-weight: 700; border-radius: 2px;
    text-transform: uppercase; font-size: 13px; letter-spacing: .5px;
}
.btn-primary:hover { background: var(--brand-red-dk); }

/* ---------- SIDEBAR WIDGETS ---------- */
.side-column { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 12px; }

.widget {
    background: var(--brand-surface);
    border: 1px solid var(--brand-line);
    border-top: 3px solid var(--brand-red);
    padding: 18px 20px 22px 20px;
    box-shadow: var(--shadow-card);
}
.widget-title {
    margin: 0 0 14px 0;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-ink);
}

.ranked { list-style: none; padding: 0; margin: 0; }
.ranked li {
    display: grid; grid-template-columns: 44px 1fr; gap: 10px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--brand-line);
    align-items: start;
}
.ranked li:last-child { border-bottom: 0; }
.ranked-num {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-red);
    line-height: 1;
}
.ranked-link {
    font-size: 14px;
    line-height: 1.35;
    color: var(--brand-ink);
    font-weight: 600;
}
.ranked-link:hover { color: var(--brand-red); }

.widget--newsletter p { font-size: 13.5px; color: var(--brand-ink-2); margin: 0 0 12px 0; line-height: 1.45; }
.newsletter-form { display: flex; gap: 6px; margin: 0 0 8px 0; }
.newsletter-form input {
    flex: 1; min-width: 0;
    border: 1.5px solid var(--brand-line-2);
    padding: 10px 12px;
    font: inherit; font-size: 14px;
    border-radius: 2px;
}
.newsletter-form button {
    background: var(--brand-red); color: #fff; border: 0;
    padding: 0 16px; font-weight: 700; font-size: 13px;
    cursor: pointer; border-radius: 2px;
}
.newsletter-form button:hover { background: var(--brand-red-dk); }
.newsletter-note { font-size: 11px; color: var(--brand-muted); margin: 0; }

/* ---------- RUBRIKA (section list) HEAD ---------- */
.rubrika-head {
    padding: 24px 0 20px 0;
    border-bottom: 3px solid var(--brand-red);
    margin-bottom: 24px;
}
.rubrika-head--region    { border-bottom-color: var(--cat-region); }
.rubrika-head--krimi     { border-bottom-color: var(--cat-krimi); }
.rubrika-head--redakce   { border-bottom-color: var(--cat-redakce); }
.rubrika-head--search    { border-bottom-color: var(--brand-strip); }

.rubrika-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--brand-red);
    font-weight: 700;
    margin: 0 0 6px 0;
}
.rubrika-head--region .rubrika-kicker    { color: var(--cat-region); }
.rubrika-head--krimi .rubrika-kicker     { color: var(--cat-krimi); }
.rubrika-head--redakce .rubrika-kicker   { color: var(--cat-redakce); }

.rubrika-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--brand-ink);
}
.rubrika-count {
    color: var(--brand-muted);
    font-size: 13px;
    margin: 10px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- ARTICLE (single) ---------- */
.article {
    max-width: 780px;
    margin: 0 auto;
    background: var(--brand-surface);
    padding: 32px clamp(20px, 4vw, 44px) 40px clamp(20px, 4vw, 44px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}
.article-head { border-bottom: 1px solid var(--brand-line); padding-bottom: 20px; margin-bottom: 24px; }
.article-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 700;
    letter-spacing: -.8px;
    line-height: 1.12;
    margin: 12px 0 14px 0;
    color: var(--brand-ink);
}
.article-perex {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 19px;
    line-height: 1.45;
    color: var(--brand-ink-2);
    margin: 0 0 18px 0;
}
.article-meta {
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px;
    color: var(--brand-muted);
}
.article-author { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-red); font-weight: 700; }
.author-chip-img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }

.article-cover { margin: 0 0 24px 0; }
.article-cover img {
    width: 100%; aspect-ratio: 16/10; object-fit: cover;
    border-radius: var(--radius);
}
.article-cover figcaption {
    font-size: 12.5px; color: var(--brand-muted);
    padding: 8px 2px 0 2px;
    font-style: italic;
}

.article-body {
    font-size: 17px;
    line-height: 1.65;
    color: var(--brand-ink);
}
.article-body p { margin: 0 0 18px 0; }
.article-body strong { color: var(--brand-ink); font-weight: 700; }
.article-body a { color: var(--brand-red); border-bottom: 1px solid var(--brand-red); }
.article-body h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    margin: 32px 0 12px 0;
    line-height: 1.2;
}

.article-share {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-top: 28px; padding-top: 20px;
    border-top: 1px solid var(--brand-line);
}
.share-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
    color: var(--brand-muted); font-weight: 700; margin-right: 4px;
}
.share-btn {
    background: #fff; color: var(--brand-ink);
    border: 1.5px solid var(--brand-line-2);
    padding: 8px 14px; font-size: 12.5px; font-weight: 600;
    border-radius: 2px; cursor: pointer;
}
.share-btn:hover { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

/* Related (bottom of article) */
.related {
    max-width: 1200px; margin: 40px auto 0 auto;
}
.related-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.mini-card { background: var(--brand-surface); border: 1px solid var(--brand-line); padding: 12px; box-shadow: var(--shadow-card); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; }
.mini-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--brand-strip); }
.mini-card-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-card-title {
    font-family: var(--font-serif); font-weight: 700; font-size: 15px;
    color: var(--brand-ink); line-height: 1.25;
}
.mini-card-title:hover { color: var(--brand-red); }
.mini-card-date { font-size: 12px; color: var(--brand-muted); }

/* ---------- AUTHORS ---------- */
.author-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.author-tile {
    background: var(--brand-surface); border: 1px solid var(--brand-line);
    padding: 22px 20px; box-shadow: var(--shadow-card); border-radius: var(--radius);
    display: flex; flex-direction: column; gap: 10px; text-align: left;
    transition: transform .15s, box-shadow .15s;
}
.author-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hero); color: inherit; }
.author-tile-avatar {
    width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
    background: var(--brand-red); flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
}
.author-tile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-tile-name {
    margin: 4px 0 0 0;
    font-family: var(--font-serif); font-size: 22px; font-weight: 700;
    color: var(--brand-ink); letter-spacing: -.3px;
}
.author-tile-bio { color: var(--brand-ink-2); font-size: 14px; line-height: 1.5; margin: 0; flex: 1; }
.author-tile-more { color: var(--brand-red); font-weight: 700; font-size: 13px; }

.author-profile {
    background: var(--brand-surface); border: 1px solid var(--brand-line);
    padding: 32px clamp(20px, 4vw, 44px); border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}
.author-profile-head { display: grid; grid-template-columns: 140px 1fr; gap: 26px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--brand-line); }
.author-profile-avatar {
    width: 140px; height: 140px; border-radius: 50%; overflow: hidden;
    background: var(--brand-red);
}
.author-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-profile-name {
    margin: 4px 0 8px 0;
    font-family: var(--font-serif); font-size: 36px; font-weight: 700; letter-spacing: -.5px; color: var(--brand-ink);
}
.author-profile-bio { color: var(--brand-ink-2); font-size: 16px; line-height: 1.55; }
.author-posts { margin-top: 28px; }

/* ---------- SEARCH ---------- */
.search-body { min-height: 260px; }
.search-results-empty { color: var(--brand-muted); font-size: 15px; padding: 20px 0; }
.loading-container { display: flex; justify-content: center; padding: 20px 0; }
.search-loading { display: none; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 60px 20px; }
.not-found-code {
    font-family: var(--font-serif); font-size: 96px; font-weight: 700;
    color: var(--brand-red); margin: 0; line-height: 1;
}
.not-found-title { font-family: var(--font-serif); font-size: 32px; margin: 12px 0 12px 0; }
.not-found-text { color: var(--brand-ink-2); max-width: 480px; margin: 0 auto 24px auto; line-height: 1.5; }

/* ---------- FOOTER ---------- */
.sitefoot {
    margin-top: 60px;
    background: var(--brand-strip);
    color: #cfd3da;
    padding: 48px 0 20px 0;
}
.sitefoot-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sitefoot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #2a2f38;
}
.sitefoot-brand .brand-word-lead { color: #cfd3da; }
.sitefoot-brand .brand-word-main { color: #fff; }
.sitefoot-blurb { font-size: 14px; line-height: 1.55; margin: 14px 0 12px 0; max-width: 400px; }
.sitefoot-issn { font-size: 12px; color: #8b929c; margin: 0; letter-spacing: .5px; }
.sitefoot-title {
    font-family: var(--font-serif);
    color: #fff; font-size: 15px; margin: 0 0 12px 0;
    text-transform: uppercase; letter-spacing: 1px;
}
.sitefoot-col ul { list-style: none; padding: 0; margin: 0; }
.sitefoot-col li { padding: 4px 0; }
.sitefoot-col a { color: #cfd3da; font-size: 14px; }
.sitefoot-col a:hover { color: var(--brand-red); }
.sitefoot-bottom { padding-top: 20px; text-align: center; color: #8b929c; font-size: 12.5px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .lead-block { grid-template-columns: 1fr; }
    .lead-hero { aspect-ratio: 4/3; }
    .body-block { grid-template-columns: 1fr; }
    .side-column { position: static; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .author-grid { grid-template-columns: repeat(2, 1fr); }
    .sitefoot-grid { grid-template-columns: 1fr 1fr; }
    .sitefoot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .topsearch { display: none; }
    .hamburger { display: flex; margin-left: auto; }
    .mainnav-list { display: none; flex-direction: column; padding: 8px 0; }
    .mainnav-list.active { display: flex; }
    .mainnav-link { padding: 12px 20px; border-bottom: 0; }
    .mainnav-link.is-active { border-bottom: 0; }
    .brand-word-main { font-size: 34px; }
    .brand-mark { width: 38px; height: 38px; padding: 6px; }

    .row-card { gap: 14px; padding: 16px 0; }
    .row-card-media { flex-basis: 120px; }
    .row-card-title { font-size: 17px; }
    .row-card-lead { display: none; }
    .sub-hero { grid-template-rows: 140px auto; }
    .lead-hero-overlay { padding: 20px 18px 16px 18px; }
    .lead-hero-lead { font-size: 13.5px; }

    .related-grid { grid-template-columns: 1fr 1fr; }
    .author-grid { grid-template-columns: 1fr; }
    .author-profile-head { grid-template-columns: 1fr; text-align: center; }
    .author-profile-avatar { margin: 0 auto; }

    .sitefoot-grid { grid-template-columns: 1fr; }
    .sitefoot-brand { grid-column: auto; }
}
