/* =========================================================================
 * Home (page 5), rulebook P-01. Page layout only.
 * RS model: clone src/app/page.tsx (home): image-theme Hero, then sections
 * on the 12-column grid with left-aligned section titles.
 * EAM map (top to bottom, R-03 "sections visually more differentiated"):
 *   1. Hero      5_72028a-51  dark photo, RS image hero (682px, 224px top)
 *   2. Intro     5_704967-cb  white: group photo cols 1-6, lead + text 8-12
 *   3. Impact    5_1e7053-0a  indigo band: title left, 3 stats right (R-62)
 *   4. Key activities 5_61ff65-f6  white: RS listing header, text list
 *                beside the lecture-hall photo
 *   5. Recent activities 5_15f781-58  tint band: RS NewsLatest plain list (R-02)
 *   (6. #subscribe 5_e3cbeb-0c stays hidden while empty: home.css:196)
 * Block structure: local/live-pulls/00005-home-new/content.wp.html. The H4
 * to H3 change and the "Key activities" heading come from the page patch
 * scripts/redesign/pages/00005-home.mjs.
 * The pre-redesign home.css (page 5 only) keeps loading. Its rules are
 * (0,2,1) to (0,3,3); every rule here starts with body.eam-redesign.page-id-5
 * (0,2,1) plus the uniqueID, so (0,3,1) or more, and wins by specificity.
 * One !important (section 1) undoes eam-royal-header.css:110-117.
 * ========================================================================= */

body.eam-redesign.page-id-5 {
  /* Banded sections carry their colour, so each keeps its padding inside:
   * 72px (36px <= 820px), the rhythm components.css gives code-rendered
   * section bands. */
  --rd-home-band-y: calc(var(--rd-space-section) * 1.5);
}

/* -------------------------------------------------------------------------
 * 1. Hero (S-07 image theme, RS Hero.tsx:107-120): min 682px, text 224px
 * from the top (header 144 + 80), bottom aligned 80px above the edge, text
 * in the left half of the grid. The overlay, H1 and intro type are shared
 * (components.css section 2). No hero buttons: Isabel removed them (C-04).
 * ------------------------------------------------------------------------- */
body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 {
  padding-top: 0 !important; /* undo eam-royal-header.css:110-117 (188px / 120px !important); the grid below clears the header */
  /* Hero picture (José, 2026-10-03: "something fitting like the Royal Society
   * had"): a starling murmuration at dusk, thousands of individuals moving as
   * one shape. Real photograph: "Starling murmuration Primorsko2" by Katunchi,
   * Wikimedia Commons, CC BY-SA 4.0, colour-graded to the EAM palette and
   * extended with sky (the adapted file is CC BY-SA 4.0 too; the credit is
   * printed in the hero by includes/redesign-home.php). Ships with the code
   * (assets/img/redesign/), so no media upload. The stored row image
   * (universe.jpg) still shows with the redesign switched off. */
  background-color: var(--rd-ink);
  background-image: url("../../../img/redesign/home-hero-1440.jpg");
  background-image: image-set(
    url("../../../img/redesign/home-hero-1440.webp") type("image/webp") 1x,
    url("../../../img/redesign/home-hero-2880.webp") type("image/webp") 2x,
    url("../../../img/redesign/home-hero-1440.jpg") type("image/jpeg") 1x,
    url("../../../img/redesign/home-hero-2880.jpg") type("image/jpeg") 2x
  );
  background-position: 50% 35%;
  background-size: cover;
}

/* The picture is dark on the left already: a lighter wash than the shared
 * image-hero gradient keeps the etched curves visible on the right. */
body.eam-redesign.page-id-5 .entry-content > .kb-row-layout-wrap.kb-row-layout-id5_72028a-51 > .kt-row-layout-overlay {
  background-image:
    linear-gradient(180deg, rgba(var(--rd-ink-rgb), .4) 0%, rgba(var(--rd-ink-rgb), 0) 24%),
    linear-gradient(90deg, rgba(var(--rd-ink-rgb), .52) 0%, rgba(var(--rd-ink-rgb), .3) 38%, rgba(var(--rd-ink-rgb), 0) 60%);
}

/* "Next congress" card (includes/redesign-home.php, data from Conferences
 * Content): RS HeroCard, indigo panel in the hero aside, bottom aligned with
 * the text column. The title link covers the whole card. */
body.eam-redesign.page-id-5 .kadence-column5_0204d6-8e > .kt-inside-inner-col {
  justify-content: flex-end;
}

body.eam-redesign.page-id-5 .rd-home-next {
  position: relative;
  background: var(--rd-white);
  color: var(--rd-color-text);
  box-shadow: var(--rd-shadow-card);
  transition: transform var(--rd-dur-base) var(--rd-ease-out-quad), box-shadow var(--rd-dur-base) var(--rd-ease-out-quad);
}

body.eam-redesign.page-id-5 .rd-home-next:hover {
  transform: translateY(-2px);
  box-shadow: var(--rd-shadow-card-hover);
}

body.eam-redesign.page-id-5 .rd-home-next__body {
  padding: var(--rd-space-m);
}

/* Desktop: like the RS HeroCard the card sits on the bottom edge of the
 * hero (the row's bottom padding is calc(--rd-space-l * 2)). */
@media (min-width: 821px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 .kadence-column5_0204d6-8e {
    align-self: end;
    margin-bottom: calc(var(--rd-space-l) * -2);
  }
}

@media (max-width: 820px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 .kadence-column5_0204d6-8e {
    margin-top: var(--rd-space-base);
  }
}

body.eam-redesign.page-id-5 .rd-home-next__label {
  margin: 0 0 var(--rd-space-xs);
  font-size: var(--rd-fs-body);
  font-weight: var(--rd-fw-semibold);
  line-height: var(--rd-lh-body);
  color: var(--rd-color-primary);
}

body.eam-redesign.page-id-5 .rd-home-next__title {
  margin: 0 0 var(--rd-space-xs);
  font-size: var(--rd-fs-h4);
  font-weight: var(--rd-fw-semibold);
  line-height: var(--rd-lh-h4);
  color: var(--rd-color-text);
}

body.eam-redesign.page-id-5 .rd-home-next__link {
  color: inherit;
  text-decoration: none;
}

body.eam-redesign.page-id-5 .rd-home-next__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

body.eam-redesign.page-id-5 .rd-home-next:hover .rd-home-next__link,
body.eam-redesign.page-id-5 .rd-home-next__link:focus-visible {
  color: var(--rd-color-primary);
  text-decoration: underline;
  text-underline-offset: .2em;
}

body.eam-redesign.page-id-5 .rd-home-next__link:focus-visible {
  outline: none;
}

body.eam-redesign.page-id-5 .rd-home-next:has(.rd-home-next__link:focus-visible) {
  outline: 3px solid var(--rd-white);
  box-shadow: 0 0 0 6px var(--rd-color-primary);
  outline-offset: 3px;
}

body.eam-redesign.page-id-5 .rd-home-next__dates {
  margin: 0 0 var(--rd-space-s);
  font-size: var(--rd-fs-large);
  font-weight: var(--rd-fw-semibold);
  line-height: var(--rd-lh-body);
}

body.eam-redesign.page-id-5 .rd-home-next__text {
  margin: 0;
  font-size: var(--rd-fs-body);
  line-height: var(--rd-lh-body);
  color: var(--rd-color-text-70);
}

@media (prefers-reduced-motion: reduce) {
  body.eam-redesign.page-id-5 .rd-home-next,
  body.eam-redesign.page-id-5 .rd-home-next:hover {
    transform: none;
    transition: none;
  }
}

/* Photo credit for the hero picture (CC BY-SA 4.0 requires it): small print
 * under the footer copyright line (includes/redesign-home.php). */
body.eam-redesign.page-id-5 .rd-photo-credit {
  margin: var(--rd-space-2xs) 0 0;
  font-size: 12px;
  line-height: 16px;
  text-align: left;
  color: var(--rd-color-text-70);
}

/* Desktop: under the copyright line, which footer.css puts bottom right. */
@media (min-width: 1081px) {
  body.eam-redesign.page-id-5 .rd-photo-credit {
    text-align: right;
  }
}

body.eam-redesign.page-id-5 .rd-photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
}

/* Key activities titles link to their pages (includes/redesign-home.php). */
body.eam-redesign.page-id-5 .rd-home-item__link {
  color: inherit;
  text-decoration: none;
}

body.eam-redesign.page-id-5 .rd-home-item__link:hover,
body.eam-redesign.page-id-5 .rd-home-item__link:focus-visible {
  color: var(--rd-color-primary);
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 820px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 {
    background-image: url("../../../img/redesign/home-hero-mobile.jpg");
    background-image: image-set(url("../../../img/redesign/home-hero-mobile.webp") type("image/webp"), url("../../../img/redesign/home-hero-mobile.jpg") type("image/jpeg"));
    background-position: 70% 0%;
  }

  /* Text sits over the curves on a phone: a stronger wash from the bottom. */
  body.eam-redesign.page-id-5 .entry-content > .kb-row-layout-wrap.kb-row-layout-id5_72028a-51 > .kt-row-layout-overlay {
    background-image: linear-gradient(180deg, rgba(var(--rd-ink-rgb), .25) 0%, rgba(var(--rd-ink-rgb), .7) 70%);
  }
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 > .kt-row-column-wrap {
  min-height: var(--rd-hero-min-h);
  padding-top: calc(var(--rd-header-h) + var(--rd-space-l) * 2);
  padding-bottom: calc(var(--rd-space-l) * 2);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--rd-grid-gap);
  row-gap: 0;
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 .kadence-column5_005c00-86 {
  grid-column: 1 / span 7;
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 .kadence-column5_0204d6-8e {
  grid-column: 9 / -1;
}

/* The right column is empty today; it shows again as soon as an editor puts
 * something in it (RS hero aside slot). */
body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 .kadence-column5_0204d6-8e:not(:has(.kt-inside-inner-col > *)) {
  display: none;
}

/* Text measure. The shared image-hero rules (components.css section 2) chain
 * :first-child and :has() up to (0,8,4), so these name the row, its wrapper
 * and the text column to reach (0,10,2)+ and win without !important. */
body.eam-redesign.page-id-5 .entry-content > .kb-row-layout-wrap.kb-row-layout-id5_72028a-51 > .kt-row-column-wrap > .kadence-column5_005c00-86 h1.wp-block-kadence-advancedheading[data-kb-block] {
  max-width: 13em;
}

body.eam-redesign.page-id-5 .entry-content > .kb-row-layout-wrap.kb-row-layout-id5_72028a-51 > .kt-row-column-wrap > .kadence-column5_005c00-86 h1 + p.wp-block-kadence-advancedheading[data-kb-block] {
  max-width: 26em;
  margin-bottom: 0;
}

@media (max-width: 820px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 > .kt-row-column-wrap {
    padding-top: calc(var(--rd-header-h) + var(--rd-space-xl));
    padding-bottom: var(--rd-space-l);
  }

  body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 :is(.kadence-column5_005c00-86, .kadence-column5_0204d6-8e) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_72028a-51 > .kt-row-column-wrap {
    min-height: calc(var(--rd-hero-min-h) - var(--rd-space-xl) * 2);
  }
}

/* -------------------------------------------------------------------------
 * 2. Intro (row 5_704967-cb): photo on the left half, the two paragraphs
 * and "Discover More" on the right, one empty grid column between them
 * (RS BlogSection proportions). The first paragraph reads as the lead.
 * R-24 (mission block only on About) is an open question: kept as is.
 * ------------------------------------------------------------------------- */
body.eam-redesign.page-id-5 .kb-row-layout-id5_704967-cb > .kt-row-column-wrap {
  padding-top: var(--rd-home-band-y);
  padding-bottom: var(--rd-home-band-y);
  align-items: center;
}

@media (min-width: 821px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_704967-cb > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: var(--rd-space-l);
  }
}

@media (min-width: 1081px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_704967-cb > .kt-row-column-wrap {
    column-gap: calc(var(--rd-grid-col) + var(--rd-grid-gap) * 2);
  }
}

@media (max-width: 820px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_704967-cb > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--rd-space-base);
  }
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_704967-cb p.kt-adv-heading5_d95cc2-f7[data-kb-block] {
  margin: 0 0 var(--rd-space-base);
  font-size: var(--rd-fs-lead);
  line-height: var(--rd-lh-h4);
  color: var(--rd-color-text);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_704967-cb p.kt-adv-heading5_4a94a0-3a[data-kb-block] {
  margin: 0;
  font-size: var(--rd-fs-body);
  line-height: var(--rd-lh-body);
  color: var(--rd-color-text);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_704967-cb .kb-btns5_969d62-4a {
  margin-top: var(--rd-space-m);
}

/* Below desktop the text column is narrow (or stacked): 18px lead. */
@media (max-width: 1080px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_704967-cb p.kt-adv-heading5_d95cc2-f7[data-kb-block] {
    font-size: var(--rd-fs-large);
    line-height: var(--rd-lh-body);
  }
}

/* Stacked on a tablet the 16:9 group photo fills the screen: show it as a
 * wider strip, keeping the people (lower half of the photo) in view. */
@media (min-width: 481px) and (max-width: 820px) {
  body.eam-redesign.page-id-5 .kb-image5_ee37af-05 .kb-is-ratio-image {
    padding-bottom: 42%;
  }

  body.eam-redesign.page-id-5 .kb-image5_ee37af-05 img {
    object-position: 50% 75%;
  }
}

/* -------------------------------------------------------------------------
 * 3. "EAM's Growing Impact" (row 5_1e7053-0a): indigo band (RS crimson panel
 * role), title and intro left (S-09: no centred titles), the three stats in
 * one horizontal row (R-62, D-16) with thin dividers. Numbers stay as the
 * board set them (C-12, R-25 is a report only). The bell-curve drawing from
 * home.css:75-86 is dropped (RS bands carry no decoration).
 * ------------------------------------------------------------------------- */
body.eam-redesign.page-id-5 .kb-row-layout-id5_1e7053-0a {
  --rd-home-on-band-line: color-mix(in srgb, var(--rd-white) 32%, transparent);
  background: var(--rd-color-primary);
  color: var(--rd-color-on-primary);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_1e7053-0a::after {
  content: none;
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_1e7053-0a > .kt-row-column-wrap {
  max-width: var(--rd-container);
  padding: var(--rd-home-band-y) var(--rd-gutter);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_1e7053-0a .wp-block-kadence-advancedheading[data-kb-block] {
  max-width: 34rem;
  text-align: left;
  color: var(--rd-color-on-primary);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_1e7053-0a h2.wp-block-kadence-advancedheading[data-kb-block] {
  margin: 0 0 var(--rd-space-xs);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_1e7053-0a p.wp-block-kadence-advancedheading[data-kb-block] {
  margin: 0;
  font-size: var(--rd-fs-large);
  line-height: var(--rd-lh-body);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 {
  margin-top: var(--rd-space-l);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 > .kt-row-column-wrap {
  column-gap: var(--rd-space-base);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 .wp-block-kadence-column {
  padding-left: var(--rd-space-base);
  border-left: var(--rd-border-width) solid var(--rd-home-on-band-line);
}

/* home.css:100-105 draws its own divider between the columns. */
body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 .wp-block-kadence-column + .wp-block-kadence-column {
  border-left: var(--rd-border-width) solid var(--rd-home-on-band-line);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 .wp-block-kadence-countup :is(.kb-count-up-number, .kb-count-up-title) {
  text-align: left;
  color: var(--rd-color-on-primary);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 .wp-block-kadence-countup .kb-count-up-number {
  margin-bottom: var(--rd-space-2xs);
}

@media (min-width: 1081px) {
  body.eam-redesign.page-id-5 .kadence-column5_e834f0-65 > .kt-inside-inner-col {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--rd-grid-gap);
    align-items: center;
  }

  body.eam-redesign.page-id-5 .kadence-column5_e834f0-65 > .kt-inside-inner-col > * {
    grid-column: 1 / span 5;
  }

  body.eam-redesign.page-id-5 .kadence-column5_e834f0-65 > .kt-inside-inner-col > .kb-row-layout-id5_848afa-97 {
    grid-column: 7 / -1;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  body.eam-redesign.page-id-5 .kadence-column5_e834f0-65 > .kt-inside-inner-col > h2 {
    align-self: end;
  }

  body.eam-redesign.page-id-5 .kadence-column5_e834f0-65 > .kt-inside-inner-col > h2 + p {
    align-self: start;
  }
}

@media (max-width: 480px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 > .kt-row-column-wrap {
    column-gap: var(--rd-space-xs);
  }

  body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 .wp-block-kadence-column {
    padding-left: var(--rd-space-xs);
  }

  body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 .wp-block-kadence-countup .kb-count-up-number {
    font-size: var(--rd-fs-h2);
  }

  body.eam-redesign.page-id-5 .kb-row-layout-id5_848afa-97 .wp-block-kadence-countup .kb-count-up-title {
    font-size: var(--rd-fs-small);
    line-height: var(--rd-lh-tight);
  }
}

/* -------------------------------------------------------------------------
 * 4. Key activities (row 5_61ff65-f6). Blocks: column 1 = lecture-hall
 * photo; column 2 = H2 + a 2-column row of H3 + text items. RS listing
 * header first: column 2 and its inner wrapper are display: contents so the
 * H2 sits above the photo; on desktop the list takes columns 1-7 and the
 * photo columns 9-12 at the list's height. Anything an editor adds to
 * column 2 lands full width under them. Feather arrows before the item
 * titles are hidden (D-34; they look like links and are not).
 * ------------------------------------------------------------------------- */
body.eam-redesign.page-id-5 .kb-row-layout-id5_61ff65-f6 > .kt-row-column-wrap {
  padding-top: var(--rd-home-band-y);
  padding-bottom: var(--rd-home-band-y);
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--rd-space-m);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_61ff65-f6 :is(.kadence-column5_f23e3f-97, .kadence-column5_f23e3f-97 > .kt-inside-inner-col) {
  display: contents;
}

body.eam-redesign.page-id-5 .kadence-column5_f23e3f-97 > .kt-inside-inner-col > * {
  grid-column: 1 / -1;
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_61ff65-f6 h2.kt-adv-heading5_33dcbc-29[data-kb-block] {
  grid-row: 1;
  margin: 0;
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_61ff65-f6 .kadence-column5_0dcef8-ac {
  grid-row: 2;
}

body.eam-redesign.page-id-5 .kadence-column5_f23e3f-97 > .kt-inside-inner-col > .kb-row-layout-id5_45d4b4-67 {
  grid-row: 3;
}

/* Photo: a wide strip when stacked, the full list height on desktop. */
body.eam-redesign.page-id-5 .kb-image5_27e57c-8b {
  margin: 0;
}

body.eam-redesign.page-id-5 .kb-image5_27e57c-8b .kb-is-ratio-image {
  padding-bottom: 42%;
}

body.eam-redesign.page-id-5 .kb-image5_27e57c-8b img {
  object-position: 50% 62%;
}

@media (max-width: 480px) {
  body.eam-redesign.page-id-5 .kb-image5_27e57c-8b .kb-is-ratio-image {
    padding-bottom: 56.25%;
  }
}

@media (min-width: 1081px) {
  body.eam-redesign.page-id-5 .kb-row-layout-id5_61ff65-f6 > .kt-row-column-wrap {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--rd-grid-gap);
  }

  body.eam-redesign.page-id-5 .kadence-column5_f23e3f-97 > .kt-inside-inner-col > .kb-row-layout-id5_45d4b4-67 {
    grid-column: 1 / span 7;
    grid-row: 2;
  }

  body.eam-redesign.page-id-5 .kb-row-layout-id5_61ff65-f6 .kadence-column5_0dcef8-ac {
    grid-column: 9 / -1;
    grid-row: 2;
    align-self: stretch;
  }

  body.eam-redesign.page-id-5 .kb-row-layout-id5_61ff65-f6 .kadence-column5_0dcef8-ac > .kt-inside-inner-col {
    height: 100%;
    justify-content: flex-start;
  }

  body.eam-redesign.page-id-5 .kb-image5_27e57c-8b {
    height: 100%;
  }

  body.eam-redesign.page-id-5 .kb-image5_27e57c-8b .kb-is-ratio-image {
    height: 100%;
    min-height: 20rem;
    padding-bottom: 0;
  }

  body.eam-redesign.page-id-5 .kb-image5_27e57c-8b img {
    object-position: 62% 50%;
  }
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_45d4b4-67 > .kt-row-column-wrap {
  column-gap: var(--rd-space-m);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_45d4b4-67 .wp-block-kadence-advancedheading.kt-adv-heading-has-icon .kb-adv-heading-icon {
  display: none;
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_45d4b4-67 :is(h3, h4).wp-block-kadence-advancedheading[data-kb-block] {
  margin: 0;
  padding-top: var(--rd-space-base);
  border-top: var(--rd-border-width) solid var(--rd-border-light);
  font-size: var(--rd-fs-h4);
  font-weight: var(--rd-fw-semibold);
  line-height: var(--rd-lh-h4);
  color: var(--rd-color-text);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_45d4b4-67 p.wp-block-kadence-advancedheading[data-kb-block] {
  margin: var(--rd-space-xs) 0 var(--rd-space-base);
  font-size: var(--rd-fs-body);
  line-height: var(--rd-lh-body);
  color: var(--rd-color-text);
}

@media (max-width: 767px) {
  /* Kadence stacks the two item columns here: no gap between them, the
   * hairline above each title already separates the items. */
  body.eam-redesign.page-id-5 .kb-row-layout-id5_45d4b4-67 > .kt-row-column-wrap {
    row-gap: 0;
  }
}

/* -------------------------------------------------------------------------
 * 5. Recent activities (row 5_15f781-58): tint band (RS beige band role),
 * RS ListingHeader (title left, button right) over an RS NewsLatest plain
 * list: one column, 18px semibold title, 16/24 text, hairlines. The list is
 * the core List block Isabel edits (R-02): bold title, line break, text.
 * ------------------------------------------------------------------------- */
body.eam-redesign.page-id-5 .kb-row-layout-id5_15f781-58 {
  background: var(--rd-tint);
}

body.eam-redesign.page-id-5 .kb-row-layout-id5_15f781-58 > .kt-row-column-wrap {
  padding-top: var(--rd-home-band-y);
  padding-bottom: var(--rd-home-band-y);
}

body.eam-redesign.page-id-5 .kadence-column5_84074d-a7 {
  margin-bottom: var(--rd-space-base);
}

body.eam-redesign.page-id-5 .kadence-column5_84074d-a7 > .kt-inside-inner-col {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--rd-space-s) var(--rd-space-base);
}

body.eam-redesign.page-id-5 .kadence-column5_84074d-a7 h2.wp-block-kadence-advancedheading[data-kb-block] {
  margin: 0;
}

body.eam-redesign.page-id-5 .kadence-column5_310038-e5 ul.wp-block-list {
  display: block;
  max-width: calc(var(--rd-grid-col) * 8 + var(--rd-grid-gap) * 7);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.eam-redesign.page-id-5 .kadence-column5_310038-e5 ul.wp-block-list > li {
  margin: 0;
  padding: var(--rd-space-base) 0;
  border-top: var(--rd-border-width) solid var(--rd-border-on-tint);
  font-size: var(--rd-fs-body);
  line-height: var(--rd-lh-body);
  color: var(--rd-color-text);
}

body.eam-redesign.page-id-5 .kadence-column5_310038-e5 ul.wp-block-list > li:last-child {
  border-bottom: var(--rd-border-width) solid var(--rd-border-on-tint);
}

body.eam-redesign.page-id-5 .kadence-column5_310038-e5 ul.wp-block-list > li strong {
  display: inline-block;
  margin-bottom: var(--rd-space-2xs);
  font-family: var(--rd-font);
  font-size: var(--rd-fs-h5);
  font-weight: var(--rd-fw-semibold);
  line-height: var(--rd-lh-tight);
  color: var(--rd-color-text);
}
