/* Lists of articles: category, tag, author, date and search pages.
   A compact page title, one lead story, then a clean list. No boxes. */

body.sn-list {
  --sn-muted: color-mix(in srgb, var(--theme-text-color) 76%, transparent);
  --sn-soft: color-mix(in srgb, var(--theme-text-color) 7%, transparent);
  --sn-line: color-mix(in srgb, var(--theme-text-color) 14%, transparent);
  --sn-red: var(--sn-accent-text, var(--theme-palette-color-1));
  background: var(--theme-palette-color-8);
}
body.sn-list #main { background: var(--theme-palette-color-8); }
body.sn-list #sidebar,
body.sn-list #sidebar::before,
body.sn-list #sidebar::after { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.sn-list #main > .ct-container[data-vertical-spacing] { padding-top: 24px; }

/* ---------- Page title strip (Blocksy content block 397837) ---------- */
body.sn-list [data-block="hook:397837"] #gspb_col-id-gsbp-702ebdd5-2c70 { display: none !important; }
body.sn-list [data-block="hook:397837"] #gspb_col-id-gsbp-25149259-8ad6 { width: 100% !important; padding-block: 0 !important; }
body.sn-list [data-block="hook:397837"] #gspb_col-id-gsbp-810706d0-d93f { padding-block: 22px 20px !important; }
body.sn-list [data-block="hook:397837"] .ct-dynamic-data:is(h1) { font-size: 30px; line-height: 1.15; margin: 0 0 4px; }
body.sn-list [data-block="hook:397837"] .ct-breadcrumbs { min-height: 0; }
@media (min-width: 1000px) {
  body.sn-list [data-block="hook:397837"] #gspb_col-id-gsbp-810706d0-d93f { padding-block: 28px 24px !important; }
  body.sn-list [data-block="hook:397837"] .ct-dynamic-data:is(h1) { font-size: 40px; }
  body.sn-list #main > .ct-container[data-vertical-spacing] { padding-top: 36px; }
}

/* ---------- Cards: common ---------- */
body.sn-list .entries[data-archive] { --grid-columns-gap: 28px; }
body.sn-list .entries > .entry-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.sn-list .entry-card > * { margin: 0; }
body.sn-list .entry-card > .ct-media-container {
  order: 1;
  display: block;
  width: 100%;
  margin: 0 0 12px !important;
  border-radius: 4px;
  overflow: hidden;
  background: var(--sn-soft);
}
body.sn-list .entry-card > .ct-media-container img { width: 100%; height: auto; aspect-ratio: 16 / 9 !important; object-fit: cover; }
body.sn-list .entry-card > .entry-meta:first-child {
  order: 2;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sn-red);
}
body.sn-list .entry-card > .entry-meta:first-child :is(li, a) {
  display: inline;
  min-height: 0;
  min-width: 0;
  font-size: 12px !important;
  color: var(--sn-red);
}
body.sn-list .entry-card > .entry-title { order: 3; font-size: 20px; line-height: 1.22; letter-spacing: -0.01em; }
body.sn-list .entry-card > .entry-title a:hover { color: var(--sn-red); }
body.sn-list .entry-card > .entry-excerpt {
  order: 4;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--sn-muted);
}
body.sn-list .entry-card > .entry-excerpt p { margin: 0; }
body.sn-list .entry-card > .entry-meta:last-child { order: 5; margin-top: 8px; text-transform: none; letter-spacing: 0; font-weight: 400; }
body.sn-list .entry-card > .entry-meta:last-child :is(li, a, time) {
  min-height: 0;
  font-size: 13px !important;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--sn-muted);
}

/* Banner slots and the pager span the full list width. */
body.sn-list .entries > .sn-ads-slot { grid-column: 1 / -1; width: 100%; }
body.sn-list .entries > .sn-ads-slot--infeed { padding: 12px 0 16px; border-block: 1px solid var(--sn-line); }
body.sn-list .sn-ads-rail .sn-ad__label { display: none; }

/* ---------- Tablet and desktop: lead story, then two columns ---------- */
@media (min-width: 690px) {
  body.sn-list .entries[data-archive] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  body.sn-list .entries > .entry-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 28px;
    align-items: start;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--sn-line);
  }
  body.sn-list .entries > .entry-card:first-child > .ct-media-container { grid-column: 1; grid-row: 1 / -1; margin: 0 !important; }
  body.sn-list .entries > .entry-card:first-child > :not(.ct-media-container) { grid-column: 2; }
  body.sn-list .entries > .entry-card:first-child > .entry-title { font-size: 30px; line-height: 1.15; }
  body.sn-list .entries > .entry-card:first-child > .entry-excerpt { -webkit-line-clamp: 4; }
}

/* ---------- Phones: lead story, then a compact list ---------- */
@media (max-width: 689.98px) {
  body.sn-list .entries[data-archive] { display: block; }
  body.sn-list .entries > .entry-card { padding: 14px 0; border-top: 1px solid var(--sn-line); }
  body.sn-list .entries > .entry-card:first-child { padding-top: 0; border-top: 0; }
  body.sn-list .entries > .entry-card:first-child > .ct-media-container {
    width: 100vw;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw) 12px !important;
    border-radius: 0;
  }
  body.sn-list .entries > .entry-card:first-child > .entry-title { font-size: 24px; line-height: 1.18; }
  body.sn-list .entries > .entry-card:first-child > .entry-excerpt { -webkit-line-clamp: 3; }

  body.sn-list .entries > .entry-card:not(:first-child) {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }
  body.sn-list .entries > .entry-card:not(:first-child) > .ct-media-container { grid-column: 1; grid-row: 1 / span 3; margin: 0 !important; }
  body.sn-list .entries > .entry-card:not(:first-child) > .ct-media-container img { aspect-ratio: 4 / 3 !important; }
  body.sn-list .entries > .entry-card:not(:first-child) > :not(.ct-media-container) { grid-column: 2; }
  body.sn-list .entries > .entry-card:not(:first-child) > .entry-title { font-size: 17px; line-height: 1.25; }
  body.sn-list .entries > .entry-card:not(:first-child) > .entry-excerpt { display: none; }
  body.sn-list .entries > .entry-card:not(:first-child) > .entry-meta:first-child { margin-bottom: 3px; }
  body.sn-list .entries > .entry-card:not(:first-child) > .entry-meta:last-child { margin-top: 5px; }
  body.sn-list .entries > .sn-ads-slot--infeed { border-bottom: 0; }
}

/* ---------- Pager ---------- */
body.sn-list .ct-pagination { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--sn-line); }

/* ---------- Banner grid under the list (desktop) ---------- */
body.sn-list .sn-single-adgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  justify-content: start;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--sn-line);
}
body.sn-list .sn-single-adgrid .sn-ad { margin: 0; }

/* Larger tap area for the small category links, with no change to the layout. */
body.sn-list .entry-card > .entry-meta:first-child a { padding-block: 11px; }

/* ======================= Round 3 refinements ======================= */

/* Breadcrumb on the black strip: readable current item. */
body.sn-list [data-block="hook:397837"] .ct-breadcrumbs .last-item,
body.sn-list [data-block="hook:397837"] .ct-breadcrumbs .last-item span { color: rgba(255, 255, 255, 0.82) !important; }
body.sn-list [data-block="hook:397837"] .ct-breadcrumbs .ct-separator { color: rgba(255, 255, 255, 0.5); }

/* Headlines: break at spaces, never inside a score such as 97-95. */
body.sn-list .entry-card > .entry-title { text-wrap: balance; hyphens: manual; overflow-wrap: normal; }

/* Meta: a middle dot, never a slash. Date sits below the excerpt with a fixed gap. */
body.sn-list .entry-card > .entry-meta:last-child > li:not(:last-child)::after {
  content: "\00b7";
  margin-inline: 8px;
  opacity: 0.7;
  background: none;
  transform: none;
  width: auto;
  height: auto;
}
body.sn-list .entries > .entry-card > .entry-meta:last-child { margin-top: 10px !important; }
body.sn-list .entries > .entry-card:not(:first-child) > .entry-meta:last-child { margin-top: auto !important; padding-top: 10px; }
body.sn-list .entry-card > .entry-meta:last-child a { display: inline-block; padding-block: 8px; margin-block: -8px; }

/* Tablet and desktop: fill holes next to a full-width banner. */
@media (min-width: 690px) {
  body.sn-list .entries[data-archive] { grid-auto-flow: row dense; }
  body.sn-list .entries > .sn-ads-slot--infeed .sn-ad { max-width: 340px; }
  body.sn-list .entries > .entry-card:first-child > .entry-title { font-size: 32px; margin-bottom: 4px; }
  body.sn-list .entries > .entry-card:first-child > .entry-meta:last-child { align-self: start; }
  /* Lead without a picture: one reading column, no empty half. */
  body.sn-list .entries > .entry-card:first-child:not(:has(> .ct-media-container)) { display: block; max-width: 700px; }
  body.sn-list .entries > .entry-card:first-child:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* Pages with no side column: three columns, narrower lead picture. */
@media (min-width: 1000px) {
  body.sn-list:is(.author, .search) .entries[data-archive] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.sn-list:is(.author, .search) .entries > .entry-card:first-child { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Phone list rows. */
@media (max-width: 689.98px) {
  body.sn-list .entries > .entry-card:not(:first-child) { grid-template-columns: 124px minmax(0, 1fr); }
  body.sn-list .entries > .entry-card:not(:first-child) > .ct-media-container { align-self: stretch; position: relative; min-height: 93px; }
  body.sn-list .entries > .entry-card:not(:first-child) > .ct-media-container img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; }
  body.sn-list .entries > .entry-card:not(:first-child) > .entry-title { text-wrap: pretty; }
  body.sn-list .entries > .entry-card:first-child:not(:has(> .ct-media-container)) { padding-top: 6px; padding-bottom: 20px; }
  body.sn-list .entries > .sn-ads-slot--infeed { padding: 10px 0 12px; margin: 0; border-bottom: 1px solid var(--sn-line); }
  body.sn-list .entries > .sn-ads-slot--infeed .sn-ad { margin: 0 auto; }
  body.sn-list .entries > .sn-ads-slot--infeed + .entry-card { border-top: 0; }
  body.sn-list #main { padding-bottom: 24px; }
}

/* Pager. */
body.sn-list .ct-pagination { margin: 32px 0 0; padding-top: 20px; width: 100%; }
body.sn-list .ct-pagination[data-pagination="simple"] { display: flex; justify-content: space-between; align-items: center; }
body.sn-list .ct-pagination a { min-height: 44px; min-width: 44px; }
@media (max-width: 689.98px) {
  body.sn-list .ct-pagination .next, body.sn-list .ct-pagination .prev { min-height: 48px; min-width: 120px; justify-content: center; font-size: 13px; letter-spacing: 0.06em; }
}

/* Banner grid under the list. */
body.sn-list .sn-single-adgrid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
  gap: 28px 24px;
  justify-content: center;
  justify-items: center;
  margin-top: 32px;
}
body.sn-list .sn-single-adgrid .sn-ad { width: 100%; max-width: 300px; }
body.sn-list .sn-single-adgrid .sn-ad__label { text-align: center; margin-bottom: 8px; }
body.sn-list .entries + .sn-single-adgrid { border-top: 0; margin-top: 0; }
body.sn-list .entries:has(> .entry-card:only-of-type) + .sn-single-adgrid { padding-top: 0; }

/* Author page: the strip already shows the name. Keep one muted stats line. */
body.sn-list.author .hero-section { background: none !important; border: 0; padding: 0 !important; min-height: 0 !important; margin: 0 auto !important; width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); }
body.sn-list.author .hero-section .ct-author-name .ct-media-container-static,
body.sn-list.author .hero-section .page-title { display: none; }
body.sn-list.author .hero-section .entry-header { max-width: none; padding: 20px 0 0 !important; margin: 0 !important; min-height: 0 !important; }
body.sn-list.author .hero-section .entry-meta { display: flex; justify-content: flex-start; margin: 0; padding: 0; }
body.sn-list.author .hero-section .entry-meta li { font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--sn-muted); }

/* Search: heading styled like the black strip. */
body.sn-list.search .hero-section {
  background: #000;
  width: 100vw;
  margin: 0 calc(50% - 50vw) 24px;
  padding: 22px calc(50vw - 50%) 20px;
  max-width: none;
  text-align: left;
}
body.sn-list.search .hero-section .entry-header { max-width: none; margin: 0; padding: 0; }
body.sn-list.search .hero-section .page-title { color: #fff; font-size: 30px; line-height: 1.15; margin: 0; text-align: left; overflow-wrap: anywhere; }
body.sn-list.search .hero-section .page-description { display: block !important; color: rgba(255, 255, 255, 0.82); margin-top: 8px; font-size: 16px; }
@media (min-width: 1000px) {
  body.sn-list.search .hero-section { padding-block: 28px 24px; margin-bottom: 32px; }
  body.sn-list.search .hero-section .page-title { font-size: 40px; }
}
body.sn-list.search-no-results #main > .ct-container { padding-bottom: 40px; }
body.sn-list.search #main > .ct-container[data-vertical-spacing] { padding-top: 0; }
body.sn-list.author .hero-section .entry-meta li:not(:last-child)::after { content: "\00b7"; margin-inline: 8px; background: none; transform: none; width: auto; height: auto; }

/* ======================= Coordinator pass (2026-11-25) ======================= */
/* The date follows the text with a fixed gap. */
body.sn-list .entries > .entry-card:not(:first-child) > .entry-meta:last-child { margin-top: 10px !important; padding-top: 0; }
@media (min-width: 690px) {
  /* Wide screens: natural line breaks, no narrowed titles. */
  body.sn-list .entry-card > .entry-title { text-wrap: pretty; }
  /* A card that is alone in the last row becomes a full-width row: picture left, text right. */
  body.sn-list:not(.author):not(.search) .entries > .entry-card:nth-last-child(1 of .entry-card):nth-child(even of .entry-card),
  body.sn-list:is(.author, .search) .entries > .entry-card:nth-last-child(1 of .entry-card):nth-child(3n+2 of .entry-card) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 28px;
    align-items: start;
  }
  body.sn-list .entries > .entry-card:nth-last-child(1 of .entry-card):nth-child(even of .entry-card):not(:first-child) > .ct-media-container { grid-column: 1; grid-row: 1 / -1; margin: 0 !important; }
  body.sn-list .entries > .entry-card:nth-last-child(1 of .entry-card):nth-child(even of .entry-card):not(:first-child) > :not(.ct-media-container) { grid-column: 2; }
}
/* The banner grid starts at the left edge, in line with the list. */
body.sn-list .sn-single-adgrid { justify-content: start; }
body.sn-list .sn-single-adgrid .sn-ad__label { text-align: left; }
/* Page titles from raw data: "ISONZO" and "marco crimi" read as "Isonzo" and "Marco Crimi". */
body.sn-list.tag [data-block="hook:397837"] .ct-dynamic-data:is(h1) { text-transform: lowercase; }
body.sn-list.tag [data-block="hook:397837"] .ct-dynamic-data:is(h1)::first-letter { text-transform: uppercase; }
body.sn-list.author [data-block="hook:397837"] .ct-dynamic-data:is(h1) { text-transform: capitalize; }

@media (min-width: 690px) {
  /* A lone last card with no picture: plain text block. */
  body.sn-list .entries > .entry-card:nth-last-child(1 of .entry-card):not(:first-child):not(:has(> .ct-media-container)) { display: block; max-width: 700px; }
}

/* ======================= Phone round 2 ======================= */
/* Page titles: any heading level, proper case for names. */
body.sn-list [data-block="hook:397837"] .ct-dynamic-data { font-size: 30px; line-height: 1.15; margin: 0 0 4px; }
body.sn-list.author [data-block="hook:397837"] .ct-dynamic-data,
body.sn-list.author .entry-card .entry-meta .ct-meta-element-author,
body.sn-list.author .entry-card .entry-meta .ct-meta-element-author span { text-transform: capitalize; }
body.sn-list .entry-card .entry-meta .ct-meta-element-author span { text-transform: capitalize; }

/* Search field and count on the results page. */
body.sn-list .sn-search-form { display: flex; gap: 8px; margin: 0 0 8px; }
body.sn-list .sn-search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  font-size: 16px;
  color: var(--theme-text-color);
  background: var(--sn-soft);
  border: 1px solid var(--sn-line);
  border-radius: 4px;
}
body.sn-list .sn-search-form button {
  flex: 0 0 auto;
  height: 48px;
  min-width: 88px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--sn-red);
  border: 0;
  border-radius: 4px;
}
body.sn-list .sn-search-count { margin: 0 0 14px; font-size: 14px; color: var(--sn-muted); }
body.sn-list.search-no-results .ct-search-form { margin-top: 16px; }
body.sn-list.search-no-results .ct-search-form :is(input, button, .ct-search-form-inner) { min-height: 48px; font-size: 16px; }
body.sn-list.search-no-results .ct-search-form input[type="search"] { font-size: 16px; }
body.sn-list.search-no-results #main > .ct-container { padding-bottom: 32px; }

@media (max-width: 689.98px) {
  /* Title strip: no breadcrumb, a compact block. */
  body.sn-list [data-block="hook:397837"] .ct-breadcrumbs { display: none; }
  body.sn-list [data-block="hook:397837"] #gspb_col-id-gsbp-810706d0-d93f { padding-block: 18px 16px !important; }
  body.sn-list [data-block="hook:397837"] .ct-dynamic-data { margin: 0; }
  body.sn-list #main > .ct-container[data-vertical-spacing] { padding-top: 16px; }
  body.sn-list.search #main > .ct-container[data-vertical-spacing] { padding-top: 0; }
  body.sn-list.search .hero-section { padding-block: 18px 16px; margin-bottom: 16px; }
  body.sn-list.search .hero-section .page-title { font-size: 28px; }

  /* Author: one slim stats line, the "Iscritto" item is dropped. */
  body.sn-list.author .hero-section .entry-header { padding: 14px 0 0 !important; }
  body.sn-list.author .hero-section .entry-meta li:first-child { display: none; }

  /* Rows: a square thumbnail of fixed size. */
  body.sn-list .entries > .entry-card:not(:first-child) { grid-template-columns: 112px minmax(0, 1fr); }
  body.sn-list .entries > .entry-card:not(:first-child) > .ct-media-container {
    align-self: start;
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  body.sn-list .entries > .entry-card:not(:first-child) > .ct-media-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto !important;
    object-fit: cover;
  }
  body.sn-list .entries > .entry-card:not(:first-child) > .entry-title,
  body.sn-list .entries > .entry-card:first-child > .entry-title { text-wrap: balance; }
  body.sn-list .entries > .entry-card:first-child > .entry-excerpt { -webkit-line-clamp: 2; }
  /* One line for the labels. */
  body.sn-list .entry-card > .entry-meta:first-child { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Pager: page numbers on top, wide buttons below. */
  body.sn-list .ct-pagination[data-pagination="simple"] { flex-wrap: wrap; gap: 10px; justify-content: stretch; }
  body.sn-list .ct-pagination .ct-hidden-sm { display: flex !important; flex: 1 0 100%; justify-content: center; align-items: center; gap: 2px; order: -1; }
  body.sn-list .ct-pagination .ct-hidden-sm .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; margin: 0; padding: 0 6px; font-size: 15px; }
  body.sn-list .ct-pagination .ct-hidden-sm .current { font-weight: 700; color: #fff; background: var(--sn-red); border-radius: 22px; min-width: 44px; }
  body.sn-list #main { padding-bottom: 0; }
  body.sn-list #main > .ct-container[data-vertical-spacing] { padding-bottom: 20px; }
  body.sn-list .entries > .entry-card:first-child:last-child { padding-bottom: 4px; }
  body.sn-list.author .hero-section .entry-meta { margin-bottom: 2px; }
  body.sn-list .ct-pagination .next, body.sn-list .ct-pagination .prev { flex: 1 1 0; min-width: 0; min-height: 48px; display: inline-flex; align-items: center; gap: 8px; }
  body.sn-list .ct-pagination .next:only-of-type { flex-basis: 100%; }

  /* Rail: same label as on articles, calm spacing. */
  body.sn-list .sn-ads-slot--rail { margin: 28px 0 12px; }
  body.sn-list .sn-ads-rail__hint { font-size: 12px; font-weight: 700; color: var(--sn-muted); opacity: 1; margin-bottom: 10px; }
  body.sn-list .sn-ads-rail__item { flex: 0 0 300px; max-width: 300px; }
}
@media (max-width: 374px) {
  body.sn-list .entries > .entry-card:not(:first-child) { grid-template-columns: 96px minmax(0, 1fr); }
  body.sn-list .sn-ads-rail__item { flex-basis: calc(100% - 40px); }
}
@media (min-width: 690px) {
  body.sn-list .sn-search-form { max-width: 560px; }
}

/* ======================= Webmaster review, 2026-11-26: desktop ======================= */
.sn-list .sn-single-adgrid { display: none !important; }
@media (min-width: 1000px) {
  /* Banner column: one stack, the last banner follows the reader. */
  body.sn-list #main > .ct-container[data-sidebar] { --grid-template-columns: minmax(0, 1fr) 300px; --sidebar-gap: 48px; }
  body.sn-list #sidebar { display: flex; flex-direction: column; align-self: stretch; }
  body.sn-list #sidebar .ct-sidebar { flex: 1 1 auto; display: flex; flex-direction: column; gap: 28px; position: static; }
  body.sn-list #sidebar .ct-sidebar > .ct-widget { margin: 0; }
  body.sn-list #sidebar .ct-sidebar > .ct-widget :is(figure, p) { margin: 0; }
  body.sn-list #sidebar .ct-sidebar > .ct-widget img { display: block; width: 300px; max-width: 100%; height: auto; }
  body.sn-list #sidebar .ct-sidebar > .ct-widget:last-child { position: sticky; top: 24px; }
  /* Author and search pages have the side column now: two columns of cards like the other lists. */
  body.sn-list:is(.author, .search) .entries[data-archive] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.sn-list:is(.author, .search) .entries > .entry-card:first-child { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }

  /* Hierarchy in the list: after every four cards one wide story (picture left, text right). */
  body.sn-list .entries > .entry-card:nth-child(5n+6 of .entry-card):has(> .ct-media-container) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 28px;
    align-items: start;
    padding-block: 32px;
    border-block: 1px solid var(--sn-line);
  }
  body.sn-list .entries > .entry-card:nth-child(5n+6 of .entry-card):has(> .ct-media-container) > .ct-media-container { grid-column: 1; grid-row: 1 / -1; margin: 0 !important; }
  body.sn-list .entries > .entry-card:nth-child(5n+6 of .entry-card):has(> .ct-media-container) > :not(.ct-media-container) { grid-column: 2; }
  body.sn-list .entries > .entry-card:nth-child(5n+6 of .entry-card):has(> .ct-media-container) > .entry-title { font-size: 26px; line-height: 1.18; }
  body.sn-list .entries > .entry-card:nth-child(5n+6 of .entry-card) > .entry-excerpt { -webkit-line-clamp: 3; }
}

@media (min-width: 690px) {
  /* A full page of 18 cards ends on a complete row, so the "lone last card" rule applies to short lists only. */
  body.sn-list .entries:has(> .entry-card:nth-child(6 of .entry-card)) > .entry-card:nth-last-child(1 of .entry-card):not(:nth-child(5n+6 of .entry-card)) {
    grid-column: auto;
    display: flex;
    max-width: none;
  }
  body.sn-list .entries:has(> .entry-card:nth-child(6 of .entry-card)) > .entry-card:nth-last-child(1 of .entry-card):not(:nth-child(5n+6 of .entry-card)) > .ct-media-container { margin: 0 0 12px !important; }
}

/* ======================= Final check, 2026-11-27 ======================= */
@media (min-width: 1000px) {
  /* Search: the black title strip is in the main column and goes over the full width.
     It has a fixed height, so the banner column can start below it. */
  body.sn-list.search .hero-section { box-sizing: content-box; height: 46px; overflow: hidden; }
  body.sn-list.search.search-no-results .hero-section { height: 82px; }
  body.sn-list.search .hero-section :is(.page-title, .page-description) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.sn-list.search #sidebar { margin-top: 130px; }
  body.sn-list.search.search-no-results #sidebar { margin-top: 166px; }
}
