.node-detail ul{
   padding-left: 20px;
}
.node-detail ul li{
   list-style: disc;
}
.post-block .post-created {
  position: relative;
  margin-left: 0;
  padding-left: 10px;
  font-size: 14px;
}

/* ============================================================
   STORY CLUSTERING — card shading + "News Sources" badge

   All article cards get a flat #F7F7F7 background and no border.
   Multi-source stories ("clusters") add a white diagonal hatch on
   top of that grey, so the texture reads as light lines carved
   into the card. Classes come from field_cluster_member_count
   (hb_story_cluster module).

   Selectors are scoped with `.posts-grid` to out-specify an older
   `.posts-grid .post-block.*` rule that Drupal aggregated from an
   earlier reader-news.css. The bare `.post-block` variants are a
   fallback for any teaser rendered outside a `.posts-grid` wrapper.
   (Also re-upload the current reader-news.css — its shading block
   is removed — and run `drush cr` to purge the old aggregate.)
   ============================================================ */

.posts-grid .post-block.is-single,
.posts-grid .post-block.has-cluster,
.post-block.is-single,
.post-block.has-cluster {
  background-color: #F7F7F7;
  border: 0;
}

.posts-grid .post-block.has-cluster,
.post-block.has-cluster {
  background-image: repeating-linear-gradient(
    45deg,
    #FFFFFF 0, #FFFFFF 3px,
    transparent 3px, transparent 8.5px
  );
}

/* "N News Sources" badge — its own line ABOVE the headline, lead card only. */
.reader-cluster-line {
  margin: 0 0 7px;
}

/* AI summary of a multi-source story — a CENTERED, full-width title above the
   whole cluster group. The lead card (the one carrying the summary) spans both
   grid columns via :has(), so the title reads as a header over the group and the
   member cards flow underneath it. Written into field_cluster_summary by the
   daily hb_ai_cluster job (capped at 10 words). */
.posts-grid .item-columns:has(.reader-cluster-summary) {
  grid-column: 1 / -1;
}
/* Block header: the "N News Sources" badge INLINE with the summary headline, centered.
   Styling lives on .reader-cluster-summary itself so the summary is styled whether the
   teaser outputs the text bare (old) or wrapped in .reader-cluster-summary-text (new).
   The badge keeps its own small pill size via .reader-cluster-badge. */
.reader-cluster-summary {
  margin: 22px 0 14px;
  padding: 0 0 10px;
  text-align: center;
  line-height: 1.4;
  font-size: 21px;
  font-weight: 700;
  color: var(--rdr-accent, #1E4B8F);
  border-bottom: 2px solid var(--rdr-accent, #1E4B8F);
}
.reader-cluster-summary .reader-cluster-badge { vertical-align: middle; margin-right: 9px; }
.reader-cluster-summary-text { vertical-align: middle; }

/* Cards size to their content instead of stretching to equal row height
   (fixes the "same-size boxes" look). */
.posts-grid .gva-view-grid-inner {
  align-items: start;
}

/* "All of Huntington Beach's Stories" headline — a centered full-width break the
   client script inserts after the 5-newest Top Stories strip, dividing the latest
   headlines from the full clustered sort below. (This replaces the old auto
   "More Stories" divider, which stamped itself at every cluster→single boundary
   and so repeated all down the page once stories were interleaved by date.) */
.posts-grid .reader-all-stories {
  grid-column: 1 / -1;
  margin: 34px 0 18px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--rdr-accent, #1E4B8F);
  border-bottom: 2px solid var(--rdr-accent, #1E4B8F);
}

/* ============================================================
   GRID LOCK — hold the reader grid as native CSS Grid.

   The theme loads Isotope on this container. It's meant to be dormant (the real
   layout is CSS Grid), but when the client script reorders cards or injects the
   Top Stories clones, Isotope wakes up and stamps inline `position:absolute` +
   pixel widths on the items, collapsing the grid to a single column and killing
   the full-width hero. These !important rules pin the CSS Grid and cancel any
   inline positioning/width Isotope applies, so the layout holds no matter what.
   ============================================================ */
.posts-grid .gva-view-grid-inner {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  position: relative !important;
  height: auto !important;
}
/* Neutralize Isotope's absolute positioning on EVERY direct child (cards, the
   Top Stories clones, AND the headline). If this only covered .item-columns,
   Isotope would still absolutely-position the headline and scrunch it. */
.posts-grid .gva-view-grid-inner > * {
  position: static !important;
  left: auto !important;
  top: auto !important;
  /* Grid items default to min-width:auto, so a card's image/content can refuse
     to shrink and force the whole grid wider than a phone's viewport — which is
     what was clipping the headlines. min-width:0 lets the tracks shrink to fit. */
  min-width: 0 !important;
}
.posts-grid .gva-view-grid-inner > .item-columns {
  width: auto !important;
  margin: 0 !important;
}
/* Card images must scale down, never dictate column width. */
.posts-grid img { max-width: 100% !important; height: auto !important; }

/* Single column on phones — Bootstrap's breakpoint, matching the theme's own
   responsive behaviour. (No featured first-card — the newest story now lives in
   our OWN hero block above the grid, so the grid stays uniform.) */
@media (max-width: 767px) {
  .posts-grid .gva-view-grid-inner { grid-template-columns: 1fr !important; }
  .posts-grid .reader-cluster-summary,
  .posts-grid .reader-all-stories { max-width: 100%; overflow-wrap: anywhere; }
}

/* ============================================================
   OUR OWN TOP BLOCK — a hero for the newest story + the section headline.
   These are inserted ABOVE the Isotope grid (they are NOT grid items), so the
   grid's layout engine can never touch, reorder, or scrunch them.
   ============================================================ */
.reader-hero {
  display: flex;
  gap: 26px;
  align-items: center;
  background: #F7F7F7;
  border-radius: 4px;
  padding: 24px;
  margin: 6px 0 4px;
}
.reader-hero .reader-hero-img { flex: 0 0 46%; display: block; }
.reader-hero .reader-hero-img img { width: 100%; height: auto; display: block; border-radius: 3px; }
.reader-hero .reader-hero-body { flex: 1 1 auto; }
.reader-hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--rdr-accent, #1E4B8F); margin-bottom: 8px;
}
.reader-hero-title { font-size: 27px; line-height: 1.18; font-weight: 800; margin: 0 0 12px; }
.reader-hero-title a { color: #141414; text-decoration: none; }
.reader-hero-title a:hover { color: var(--rdr-accent, #1E4B8F); }
.reader-hero-excerpt { font-size: 15px; line-height: 1.55; color: #333; margin-bottom: 12px; }
.reader-hero-meta { font-size: 13px; color: #666; }
/* Top-story source rendered as the SAME black pill the cards use (their
   .field--name-field-source .field__item), so the hero matches the cards. */
.reader-hero-source {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  margin: 2px 0 8px;
}
.reader-hero-source:hover { color: #fff; opacity: .9; text-decoration: none; }
@media (max-width: 700px) {
  .reader-hero { flex-direction: column; align-items: stretch; }
  .reader-hero .reader-hero-img { flex-basis: auto; width: 100%; }
}

/* ============================================================
   NEWSLETTER SIGNUP — our own Sendy subscribe form, a band under the hero.
   Also lives OUTSIDE the Isotope grid, so it's immune to the grid engine.
   ============================================================ */
.reader-nl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  background: var(--rdr-accent, #1E4B8F);
  color: #fff;
  border-radius: 4px;
  padding: 18px 24px;
  margin: 16px 0 4px;
}
.reader-nl-copy { flex: 1 1 300px; font-size: 15px; line-height: 1.4; }
.reader-nl-copy strong { font-size: 17px; display: inline; }
.reader-nl-form { flex: 0 0 auto; display: flex; gap: 8px; }
.reader-nl-form input[type="email"] {
  border: 0; border-radius: 3px; padding: 11px 13px; font-size: 15px; min-width: 230px;
  color: #222; background: #fff;   /* explicit — the band's white text would otherwise make typed text invisible */
}
.reader-nl-form input[type="email"]::placeholder { color: #8a8a8a; }
.reader-nl-form button {
  border: 0; border-radius: 3px; padding: 11px 20px; font-size: 15px; font-weight: 700;
  background: #FFB100; color: #1a1a1a; cursor: pointer; white-space: nowrap;
}
.reader-nl-form button:hover { background: #ffc233; }
.reader-nl-thanks { flex: 1 1 100%; font-size: 15px; font-weight: 600; }
@media (max-width: 700px) {
  .reader-nl-form { flex: 1 1 100%; }
  .reader-nl-form input[type="email"] { flex: 1; min-width: 0; }
}

.reader-cluster-badge {
  display: inline-block;
  padding: 3px 10px 3px 8px;
  border-radius: 20px;
  background-color: #EAF1FB;
  border: 1px solid #C9DDF5;
  color: #1E4B8F;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: middle;
}

.reader-cluster-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background-color: #3A5DA8;
  vertical-align: middle;
}

/* ============================================================
   DIRECTED ARRIVAL

   An inbound link to an article redirects to the homepage anchored to
   #story-<nid> (article_to_front_redirect + gavias_remito_preprocess_node).
   The browser scrolls to that card natively; :target flashes it once so the
   reader's eye lands on the exact story they clicked. Pure CSS, no JS.

   scroll-margin-top leaves breathing room above the card. Bump it if a sticky
   header is ever added (it would otherwise overlap the flashed card).
   ============================================================ */

.post-block {
  scroll-margin-top: 20px;
}

/* ============================================================
   CARD LAYOUT — picture ON TOP, full width, text beneath.
   The theme lays cards out as a flex ROW (a side thumbnail next to the text),
   which shrinks the photo. Stacking to a column gives the image the full card
   width and its visual weight back. Applies to the grid cards only.
   ============================================================ */
.posts-grid .post-block {
  flex-direction: column !important;
}
.posts-grid .post-block .post-thumbnail {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;  /* uniform 16:9 card photo — tidy rows */
  height: auto !important;
  overflow: hidden !important;      /* crop to the box */
  flex: 0 0 auto !important;
  margin: 0 0 14px !important;
}
.posts-grid .post-block .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;          /* fill the 16:9 box */
  object-fit: cover !important;     /* crop to fill, photo still dominates */
  display: block;
}
.posts-grid .post-block .post-content {
  width: 100% !important;
}

/* ---- Cap EVERY card photo to one normal column ------------------------------
   Cluster leads span both columns so their summary + headline read across the
   group — that's fine, the lead can span the page. The only problem was picture-on-
   top letting those lead PHOTOS balloon to full width (~1078px), one oversized image
   per cluster (the slow-LCP cause the traffic drop tracked). Rather than chase which
   cells span, cap ALL grid photos to a normal column and center them: normal cards
   (~480-512px) are unaffected; any full-width lead's photo — including a featured
   first card — is held to 512px like the rest + like riverside.today. The top-story
   hero above the grid is a separate block (.reader-hero) and is left alone. */
.posts-grid .post-thumbnail {
  max-width: 512px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Zoom-pop + a gentle jiggle + glow to pull the eye to the arrived-at story.
   z-index lifts it above neighbours while it scales. */
.post-block:target {
  position: relative;
  z-index: 2;
  animation: reader-cardpop 1.6s ease-out 1;
  transform-origin: center;
}

@keyframes reader-cardpop {
  0%   { transform: scale(1);                     box-shadow: 0 0 0 0 rgba(30, 75, 143, 0); }
  12%  { transform: scale(1.05);                  box-shadow: 0 0 0 3px #1E4B8F, 0 0 20px 6px rgba(30, 75, 143, 0.55); }
  28%  { transform: scale(0.995) rotate(-0.7deg); }
  44%  { transform: scale(1.02) rotate(0.7deg);   }
  60%  { transform: scale(1) rotate(0);           box-shadow: 0 0 0 3px #1E4B8F, 0 0 14px 5px rgba(30, 75, 143, 0.30); }
  100% { transform: scale(1);                     box-shadow: 0 0 0 0 rgba(30, 75, 143, 0); }
}

/* Accessibility: for readers who prefer reduced motion, keep the glow, drop the
   movement (a zoom/jiggle can trigger motion sensitivity). */
@media (prefers-reduced-motion: reduce) {
  .post-block:target {
    animation: reader-cardglow 1.6s ease-out 1;
    transform: none;
  }
  @keyframes reader-cardglow {
    0%   { box-shadow: 0 0 0 3px #1E4B8F, 0 0 16px 5px rgba(30, 75, 143, 0.5); }
    100% { box-shadow: 0 0 0 0 rgba(30, 75, 143, 0); }
  }
}

/* ============================================================
   MASTHEAD LOGO — image logotype in the header (header-3.twig).
   The masthead sits in a narrow col-lg-2 slot, so the logo is
   height-constrained. If it reads too small, widen the logo
   column in header-3 (col-lg-2 -> col-lg-3) and shrink the menu
   column to match (col-lg-10 -> col-lg-9). Tune max-height below.
   ============================================================ */
#header .reader-image-logo {
  display: flex;
  align-items: center;
}

#header .reader-image-logo {
  display: flex;
  justify-content: center;  /* .site-branding is a flex row — this is what centers it */
  text-align: center;
}

#header .reader-image-logo img.reader-masthead-img {
  display: inline-block;
  width: 650px;        /* masthead width — tune this number */
  max-width: 100%;     /* scales down on screens narrower than 650px */
  height: auto;        /* keeps the 1272 x 324 aspect */
}

/* ------------------------------------------------------------
   RESPONSIVE MASTHEAD (phones, <=767px).
   The theme's Bootstrap float grid puts the logo + tagline in a 42%-wide
   col-xs-5, which shrinks the logo to the left and wraps the letter-spaced
   tagline into a 5-line stack. On phones we stack the two columns full width,
   CENTER the logo like the desktop masthead, tame the tagline to a clean line,
   and float the hamburger to the top-right corner so it stays reachable while
   the logo remains centered. Desktop is untouched (all inside the media query).
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  /* header is the positioning context for the corner hamburger */
  #header { position: relative; }

  /* branding column: full width + centered logo (override the Bootstrap float) */
  #header .col-xs-5:has(.reader-image-logo) {
    float: none;
    width: 100%;
    max-width: 100%;
    /* top padding clears the corner hamburger so the wide logo sits below it */
    padding: 46px 8px 6px;
    text-align: center;
  }
  #header .reader-image-logo { justify-content: center; }
  /* logo as wide as possible, centered (2% breathing room each side) */
  #header .reader-image-logo img.reader-masthead-img { width: 100%; max-width: 96%; }

  /* tagline: kill the heavy letter-spacing so it reads as two clean centered lines */
  #header .reader-brand-tagline {
    font-size: 12px;
    letter-spacing: 1px;
    white-space: normal;
    margin-top: 6px;
  }

  /* Pin the whole menu column to the header's top-right corner (its only
     visible child on mobile is the hamburger), so the logo stays centered.
     Verified live at 344px: the offcanvas menu it opens still works. */
  #header .area-main-menu.col-xs-7 {
    position: absolute;
    top: 0;
    right: 0;
    float: none;
    width: auto;
    max-width: 72px;
    padding: 0;
  }
  #header .area-main-menu .area-inner { position: static; }
  #header .area-main-menu .menu-bar.mobile {
    position: static;
    margin: 16px 16px 0 0;
    float: right;
  }
}

/* ============================================================
   DATE / STORY VIEW TOGGLE

   The view outputs cards in STORY order (multi-source blocks grouped, each led
   by its newest article + badge + summary). A reader toggle (built in JS in
   html.html.twig) switches the grid to DATE order: strict newest-first, summaries
   hidden, every clustered card wearing an inline "N News Sources" badge that,
   when clicked, pulls that story's cards together. Mode is a class on .posts-grid:
   .mode-story (default look) or .mode-date. No clustering/summary logic changes —
   this is purely a front-end re-arrangement of the same cards.
   ============================================================ */

/* Reader toggle control (injected by JS above the grid). */
.reader-view-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 4px 0 24px;
}
.reader-view-toggle button {
  border: 1px solid var(--rdr-accent, #1E4B8F);
  background: #fff;
  color: var(--rdr-accent, #1E4B8F);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 20px;
  cursor: pointer;
  line-height: 1;
}
.reader-view-toggle button:first-child { border-radius: 20px 0 0 20px; }
.reader-view-toggle button:last-child  { border-radius: 0 20px 20px 0; border-left: 0; }
.reader-view-toggle button[aria-pressed="true"] {
  background: var(--rdr-accent, #1E4B8F);
  color: #fff;
}

/* Inline per-card badge — hidden in Story mode, shown in Date mode. */
.reader-badge-inline { display: none; }
.posts-grid.mode-date .reader-badge-inline {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px 3px 8px;
  border-radius: 20px;
  background: #EAF1FB;
  border: 1px solid #C9DDF5;
  color: #1E4B8F;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}
.posts-grid.mode-date .reader-badge-inline::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #3A5DA8;
  vertical-align: middle;
}

/* DATE MODE overrides: hide the block header + summary; stop a NON-featured cluster
   lead from spanning full width (its summary element still matches :has() even when
   hidden) while LEAVING the featured :first-child hero full-width; and suppress the
   "More Stories" divider (there is no grouping in this view).
   NOTE: this grid is native CSS Grid — do NOT blanket `.item-columns{grid-column:auto}`,
   that collapses the :first-child hero. Target only non-first cluster leads. */
.posts-grid.mode-date .reader-cluster-line--top,
.posts-grid.mode-date .reader-cluster-summary { display: none !important; }
.posts-grid.mode-date .item-columns:not(:first-child):has(.reader-cluster-summary) { grid-column: auto; }
.posts-grid.mode-date .item-columns:has(.post-block.has-cluster) + .item-columns:has(.post-block.is-single)::before {
  content: none !important;
}

/* When a story is GATHERED in Date mode (badge clicked), bring its summary header
   back and let that lead span full width — so a gathered block reads like Story mode,
   with the summary shown. The inline per-card badge is hidden on that block since the
   header already carries the count. */
.posts-grid.mode-date .item-columns.reader-regrouped .reader-cluster-summary { display: block !important; cursor: pointer; }
.posts-grid.mode-date .item-columns.reader-regrouped:has(.reader-cluster-summary) { grid-column: 1 / -1 !important; }
.posts-grid.mode-date .item-columns.reader-regrouped .reader-badge-inline { display: none !important; }

/* ============================================================================
   ARTICLE NODE PAGE — the story hub + return-to-site sidebar.
   Single-source stories render as their own page; multi-source stories list
   every outlet covering them. The sidebar (top story, most covered, most recent)
   is the reader's way back into the site. Sidebar photos are kept SMALL and
   lazy so node pages never repeat the homepage's heavy-image slowdown.
   ============================================================================ */
/* The node's main column only — the sidebar is the theme's real sidebar_right
   (Top Story + Most Covered injected above Recent Posts in preprocess_page). */
.reader-node { display: block; padding: 8px 0 30px; }
.reader-node-main { width: 100%; }

/* Our injected sidebar rail blocks sit in sidebar_right and match the theme's
   Recent Posts block wrapper; space them like the other sidebar blocks. */
.sidebar-right .reader-rail-block { margin-bottom: 26px; }
.sidebar-right .reader-rail-block .reader-rail-img { width: 100%; max-width: 100%; height: auto; border-radius: 4px; margin: 0 0 8px; display: block; }
.sidebar-right .reader-rail-block .reader-rail-lead { display: block; text-decoration: none; color: inherit; }

/* Node-page cleanup (verified live): the sidebar is Top Story + Most Covered +
   Recent Posts only — hide the theme's Categories and Tags blocks on article pages.
   And keep the article photo full-width so the story text flows BELOW it instead of
   being crammed beside a half-width image. */
body.node--type-article #block-gavias-remito-views-block-categories-post-block-1,
body.node--type-article #block-gavias-remito-views-block-categories-post-block-2 {
  display: none !important;
}
body.node--type-article .reader-node-main .post-thumbnail {
  float: none !important;
  width: 100% !important;
  max-width: 640px !important;
}
body.node--type-article .reader-node-main .post-thumbnail img { width: 100% !important; height: auto !important; }
body.node--type-article .reader-node-main .field-datetime,
body.node--type-article .reader-node-main .reader-node-summary,
body.node--type-article .reader-node-main .reader-node-sources,
body.node--type-article .reader-node-main .reader-node-single-source,
body.node--type-article .reader-node-main .node__content { clear: both !important; }

/* back / more links */
.reader-node-back,
.reader-node-more {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--rdr-accent, #1E4B8F); text-decoration: none;
}
.reader-node-back { margin: 0 0 16px; }
.reader-node-more { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #eee; }
.reader-node-back:hover, .reader-node-more:hover { text-decoration: underline; }

.reader-node-main .post-title.custom-title { font-size: 30px; line-height: 1.18; margin: 4px 0 14px; }
.reader-node-main .post-title.custom-title a { color: #141414; text-decoration: none; }
.reader-node-main .post-title.custom-title a:hover { color: var(--rdr-accent, #1E4B8F); }

/* Main photo — one image, but still capped so it's never a giant download. */
.reader-node-photo { max-width: 640px; margin: 0 0 12px; }
.reader-node-photo img { width: 100%; height: auto; display: block; border-radius: 4px; }

.field-datetime .post-created { font-size: 13px; color: #666; font-style: italic; }

/* "N News Sources" badge pinned at the very top of a cluster hub page. */
.reader-node-badge {
  display: inline-block; background: var(--rdr-accent, #1E4B8F); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin: 0 10px 14px 0; vertical-align: middle;
}

.reader-node-summary {
  font-size: 21px; line-height: 1.45; font-weight: 600; color: #1a1a1a;
  margin: 14px 0 18px;
}

/* Recent Posts sidebar: multi-source items wear a small cluster badge, and the
   whole item links back to the main page (handled in the view row template). */
.sidebar-right .reader-rp-item { position: relative; }
.sidebar-right .reader-rp-badge {
  display: inline-block; margin: 6px 0 2px; text-decoration: none;
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--rdr-accent, #1E4B8F); background: rgba(30, 75, 143, .09);
  padding: 2px 9px; border-radius: 999px;
}
.sidebar-right .reader-rp-badge:hover { background: rgba(30, 75, 143, .16); }

/* The outlet list — the "hyperlocal aggregator" payload of the page. */
.reader-node-sources { margin: 6px 0 22px; }
.reader-node-sources-head {
  font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--rdr-accent, #1E4B8F); margin: 0 0 10px;
}
.reader-node-sources-list { list-style: none; margin: 0; padding: 0; }
.reader-node-source {
  padding: 9px 0; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 2px;
}
.reader-node-source:first-child { border-top: 0; }
.reader-node-source-name { font-size: 14px; font-weight: 700; color: var(--rdr-accent, #1E4B8F); text-decoration: none; }
.reader-node-source-name:hover { text-decoration: underline; }
.reader-node-source-head { font-size: 14px; color: #333; line-height: 1.4; }

.reader-node-single-source { margin: 10px 0 18px; font-size: 15px; }
.reader-node-single-source a { color: var(--rdr-accent, #1E4B8F); font-weight: 600; }

/* ---- Sidebar rails ---- */
.reader-rail { margin: 0 0 26px; }
.reader-rail-title {
  font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: #141414; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--rdr-accent, #1E4B8F);
}
.reader-rail-lead { display: block; text-decoration: none; color: inherit; }
.reader-rail-img { width: 100%; height: auto; max-width: 300px; display: block; border-radius: 4px; margin: 0 0 8px; }
.reader-rail-head { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; color: #141414; }
.reader-rail-lead:hover .reader-rail-head { color: var(--rdr-accent, #1E4B8F); }
.reader-rail-src { display: block; font-size: 12px; color: #777; margin-top: 4px; }

.reader-rail-list { list-style: none; margin: 0; padding: 0; }
.reader-rail-item { border-top: 1px solid #eee; }
.reader-rail-item:first-child { border-top: 0; }
.reader-rail-item a { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; text-decoration: none; color: #222; }
.reader-rail-thumb { flex: 0 0 86px; width: 86px; height: 64px; object-fit: cover; border-radius: 3px; display: block; }
.reader-rail-item-head { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.reader-rail-item a:hover .reader-rail-item-head { color: var(--rdr-accent, #1E4B8F); }

/* Stack on tablet/phone — sidebar drops beneath the story. */
@media (max-width: 900px) {
  .reader-node { flex-direction: column; }
  .reader-node-side { flex-basis: auto; width: 100%; }
  .reader-node-photo { max-width: 100%; }
}
