.tabs-body {
  padding-top: 1em;
}

.event-banner-image {
    position: relative;        /* establish containing block */
}
/* Prevent empty mobile-map-container from adding vertical space on desktop.
   :empty matches only with no whitespace; :not(:has(*)) catches whitespace-only cases. */
#mobile-map-container:empty,
#mobile-map-container:not(:has(*)) {
    display: none;
    margin: 0;
}
/* .event-title {
    color: #009;
    font-family: "FreightTextPro", serif;
    text-align: center;
    font-size: 3.6rem;
    font-weight: 500;
    text-shadow: 0 0 6px #fff;
    padding: 0 30px;;
    z-index: 999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
} */
.event-location {
    color: #405d81;
    font-size: 1.6rem;
    text-align: center;
}
.event-links {
    text-align: center;
    margin: 1.2rem 0;
}
.event-links .btn {
    background-color: #002675;
    border: none;
}
.event-links .btn:hover,
.event-links .btn:focus {
    background-color: #004;
    border: none;
}
.event-grid-section {
    --g: 1.2rem;
    /* gap variable */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* centers partial rows */
    gap: var(--g);
    margin: 2.4rem 0;
}
.event-grid-section--vf {
    align-items: center;;
}
/* 4 columns on desktop; rows with 1–3 items stay centered */
.event-grid-card {
    box-sizing: border-box;
    flex: 0 1 calc((100% - 3 * var(--g)) / 4);
    /* exact 4-up minus gaps */
    max-width: calc((100% - 3 * var(--g)) / 4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
    background: #fff;
    position: relative;
    margin-bottom: 1.2rem;
}
.event-speaker-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}
.event-speaker-title {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 2px;
    font-style: italic;
}
.event-speaker-picture {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.event-speaker-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 255, .78);
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    /* change these: */
    display: block;
    /* no centering grid */
    overflow: auto;
    /* <- show all text via scroll */
    padding: 12px 16px;
    /* room for scrollbar */
}
.event-speaker-overlay h3 {
    font-size: 1.1rem;
}
.event-speaker-overlay p {
    font-size: .8rem;
    text-align: left;
    ;
}
.overlay-inner {
    max-width: 55ch;
}
/* Reveal overlay on hover or keyboard focus */
.event-grid-card:hover .event-speaker-overlay,
.event-grid-card:focus-within .event-speaker-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
/* Nice focus ring */
.event-grid-card:focus-within {
    outline: 2px solid #4A73CC;
    /* tweak to taste */
    outline-offset: 2px;
}
.event-generic-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.2rem 0;
}
h2 {
    margin-top: 36px;
    margin-bottom: 6px;
}
.event-generic-section:first-child h2 {
    margin-top: 0;
}
h3 {
    margin-top: 24px;
    margin-bottom: 6px;
}
.section-separator {
    margin: 36px 0;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .event-speaker-overlay {
        transition: none;
    }
}
@media (max-width: 991px) {
    .event-title {
        font-size: 2.7rem;
    }
    .event-grid-card {
        flex-basis: calc((100% - var(--g)) / 2);
        max-width: calc((100% - var(--g)) / 2);
    }
    .event-speaker-overlay p {
        font-size: .9rem;
    }
}
@media (max-width: 767px) {
    .event-grid-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* ============================================================
   Event feed cards — hybrid layout
   Scoped to .event-cards to avoid bleeding into other
   .articles/.article-small instances elsewhere on the site.
   feature/rs_event-page-redesign — Apr 2026
   ============================================================ */

/* Override site-wide `article-small a { display: flex }` for
   the feed cards so the layout stacks vertically */
.event-cards .article-small .article-card-link {
	display: block;
}

/* Full-width banner image using padding-top aspect-ratio trick */
.event-cards .article-small .article-card-media {
	position: relative;
	display: block;
}

.event-cards .article-small .article-image {
	width: 100%;
	height: 0;
	padding-top: 40%; /* 16:9 aspect ratio */
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: block;
	position: relative;
}

/* ============================================================
   Calendar badge — shared base styles
   Used on listing cards (.event-cards .article-card-date)
   and on the single-event overlay (.overlay-event-meta .article-card-date).
   Context-specific overrides (size, position) follow below.
   ============================================================ */
.article-card-date {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1;
  border-radius: 4px;
  overflow: hidden;
}
.article-card-date__month {
  background: #c6341b;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 10px;
  padding: 6px 2px;
  display: block;
}
.article-card-date__day {
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 20px;
  padding: 4px 2px 5px;
  display: block;
}
.article-card-date__year {
  background: #f0ede8;
  color: #666;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 2px 4px;
  display: block;
}

/* Listing card context: absolutely positioned over the image, 64px wide */
.event-cards .article-card-date {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 64px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
	pointer-events: none;
}
/* Range badge in listing card: let it grow, cap at image edge */
.event-cards .article-card-date--range {
	width: auto;
	min-width: auto;
	max-width: calc(100% - 20px);
	z-index: 2;
}
.event-cards .article-card-date--range .article-card-date__range {
	font-size: 13px;
	padding: 8px 10px;
	line-height: 1.25;
}
.event-cards .article-card-date__month {
	width: 64px;
	font-size: 12px;
	padding: 8px 2px;
}
.event-cards .article-card-date__day {
	font-size: 24px;
	padding: 4px 2px 6px;
}

/* Content area below image */
.event-cards .article-small .article-content {
	width: 100%;
	padding: 12px 14px 8px;
}
.event-cards .article-card-summary {
	font-size: 1.3rem;
	color: #555;
	margin: 3px 0 6px;
	line-height: 1.4;
}

/* CTA sits below the main link in normal flow */
.event-cards .article-card-cta {
	padding: 0 14px 14px;
}

/* Keep CTA button inline — override site-wide `.article-small a` flex rule */
.event-cards .article-card-cta .btn {
	display: inline-block;
}

/* Title underline on hover via parent link */
.event-cards .article-small .article-card-link:hover .title-small,
.event-cards .article-small .article-card-link:focus .title-small {
  text-decoration: underline;
}

/* Short description/subtitle on listing cards */
.event-cards .article-card-summary {
  font-size: 1.3rem;
  color: #555;
  margin: 3px 0 6px;
  line-height: 1.4;
}

/* ============================================================
   Category pills
   feature/rs_event-page-redesign — Apr 2026
   ============================================================ */
.category-pill {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1.5px solid currentColor;
  line-height: 1.5;
  margin-bottom: 6px;
}
.category-pill--ggc { color: #2a6e4e; border-color: #2a6e4e; }
.category-pill--ew  { color: #c6341b; border-color: #c6341b; }
.category-pill--cc  { color: #3a5a8c; border-color: #3a5a8c; }

/* ============================================================
   Single event page — enhanced banner overlay (Variant C)
   Scoped to .title--overlay-container--event so it doesn't
   affect other page overlays using the base class.
   ============================================================ */
.title--overlay-container--event {
  text-align: left;           /* override base text-align: right */
  padding: 28px 80px 36px;
  padding-left: calc((100vw - 1150px) / 2);
}
.title--overlay-container--event .title--overlay {
  font-size: clamp(28px, 2.8vw, 52px);  /* tighter than base at mid-widths */
  margin-top: 4px;
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .title--overlay-container--event {
    padding: 20px 32px 28px;
    max-width: 100%;
  }
  .title--overlay-container--event .title--overlay {
    font-size: clamp(22px, 3vw, 38px);
  }
}

/* Event venue image replacement (used in sta_venue_info stash block) */
.event-image--replacement {
  height: 100%;
}

.event-image--replacement img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
}

/* Thumbnail + date badge overlay (legacy venue box, matches listing cards) */
.article-map--event .event-venue-media {
  position: relative;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .article-map--event .event-venue-media {
    max-width: 310px;
  }
}

.article-map--event .event-venue-media .article-card-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 64px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
  pointer-events: none;
  z-index: 2;
}

.article-map--event .event-venue-media .article-card-date--range {
  width: auto;
  max-width: calc(100% - 20px);
}

.article-map--event .event-venue-media .article-card-date__month {
  width: 64px;
  font-size: 12px;
  padding: 8px 2px;
}

.article-map--event .event-venue-media .article-card-date__day {
  font-size: 24px;
  padding: 4px 2px 6px;
}

.article-map--event .event-venue-media .article-card-date--range .article-card-date__range {
  font-size: 13px;
  padding: 8px 10px;
  line-height: 1.25;
}

/* Legacy title_position (under_banner): labeled list-contacts + badge on image */
.article-map--event {
  align-items: stretch;
}

.article-map--event .article-contacts {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 8px 16px 20px 24px;
  min-height: 0;
}

.article-map--event .event-venue-meta__badge {
  margin-bottom: 12px;
}

.article-map--event .event-venue-meta__badge .article-card-date {
  position: static;
  width: 48px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.article-map--event .event-venue-meta__badge .article-card-date--range {
  width: auto;
}

.article-map--event .list-contacts {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  margin: 0;
  min-height: 100%;
}

/* Vertically center detail rows; pin Register to bottom of panel */
.article-map--event .list-contacts > li:first-child:not(.text-right) {
  margin-top: auto;
}

.article-map--event .list-contacts > li.text-right {
  margin-top: auto;
  padding-bottom: 4px;
  text-align: right;
}

.article-map--event .list-contacts a:not(.btn) {
  color: inherit;
  text-decoration: none;
}

.article-map--event .list-contacts a:not(.btn):hover,
.article-map--event .list-contacts a:not(.btn):focus {
  text-decoration: underline;
}

/* Restore legacy .btn styling (list-contacts a { color: inherit } was washing this out) */
.article-map--event .list-contacts .btn {
  color: #fff;
  background: #c6341b;
  border: 1px solid #ec4427;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.article-map--event .list-contacts .btn:hover,
.article-map--event .list-contacts .btn:focus {
  color: #fff;
  background: #000;
  border-color: #000;
}

.article-map--event .list-contacts .btn.no-position {
  display: inline-block;
  float: none;
  position: static;
  top: auto;
  left: auto;
  margin: 0;
}

@media (max-width: 767px) {
  .article-map--event .article-contacts {
    padding: 10px 10px 16px;
  }

  .article-map--event .list-contacts > li:first-child:not(.text-right) {
    margin-top: 0;
  }
}

/* ============================================================
   Overlay card inner elements
   ============================================================ */

/* Subtitle/tagline below H1 in the overlay */
.overlay-event-tagline {
  font-size: 1.5rem;
  color: #444;
  margin: 6px 0 0;
  line-height: 1.4;
  font-style: italic;
}

/* Meta row: badge | details | CTA (matches overlay-meta-fallback) */
.overlay-event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  .overlay-event-meta {
    gap: 20px;
  }
}

/* Overlay context: 48px badge for single-date, auto width for ranges */
.overlay-event-meta .article-card-date {
  width: 48px;
}
.overlay-event-meta .article-card-date--range {
  width: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.overlay-event-meta .article-card-date--range .article-card-date__range {
  font-size: 13px;
  padding: 6px 8px;
}

/* Text items to the right of the badge — inline row with · separators */
.overlay-meta-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.35rem;
  color: #333;
  line-height: 1.5;
}
.overlay-meta-item + .overlay-meta-item::before {
  content: '·';
  padding: 0 6px;
  opacity: 0.55;
}

/* Small screens: time on its own row; location + price on next row (dot only between them) */
@media (max-width: 767px) {
  .overlay-meta-items {
    align-items: flex-start;
    gap: 4px;
  }

  .overlay-meta-item--time {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .overlay-meta-item + .overlay-meta-item::before {
    content: none;
    padding: 0;
  }

  .overlay-meta-item--location + .overlay-meta-item--price::before {
    content: '·';
    padding: 0 6px;
    opacity: 0.55;
  }
}

.overlay-event-meta__cta {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.article-card-date--range {
  width: auto;
  min-width: auto;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  background: #fff;
  overflow: visible;
  text-align: center;
  white-space: nowrap;
}
.article-card-date--range .article-card-date__range {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  padding: 8px 10px;
  white-space: nowrap;
}

/* ============================================================
   Overlay fallback — title block + meta bar
   Rendered below the banner in sta_overlay_fallback stash.
   Hidden at >1024px (overlay banner handles it at desktop).
   Shown at ≤1024px when the entire overlay container is hidden.
   ============================================================ */

/* Pill + H1 + tagline below banner on tablet/mobile */
.overlay-title-fallback {
  display: none;
  padding: 24px 20px 0;
}
.overlay-title-fallback__h1 {
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.2;
  margin: 8px 0 6px;
  font-weight: 700;
}
.overlay-title-fallback__tagline {
  font-size: 1.5rem;
  color: #555;
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}

/* Date badge + time/location/price + CTA below banner on tablet/mobile */
.overlay-meta-fallback {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #f9f7f5;
  border-bottom: 1px solid #e8e3dc;
}
.overlay-meta-fallback .article-card-date {
  width: 44px;
  flex-shrink: 0;
}
.overlay-meta-fallback .overlay-meta-items {
  flex: 1;
  font-size: 1.35rem;
}
.overlay-meta-fallback__cta {
  flex-shrink: 0;
}

/* ≤1024px: hide entire overlay container from banner;
   show title block + meta bar below the banner instead */
@media (max-width: 1024px) {
  .title--overlay-container--event { display: none; }
  .overlay-title-fallback          { display: block; }
  .overlay-meta-fallback           { display: flex; }
}

/* ≤767px: banner hidden by site (.intro.mobile-hidden);
   title + meta fallbacks remain visible below */
@media (max-width: 767px) {
  .overlay-title-fallback {
    padding: 20px 16px 0;
  }
  .overlay-meta-fallback {
    padding: 12px 16px;
  }
}

/* Prevent empty #mobile-map-container from adding vertical space */
#mobile-map-container:empty,
#mobile-map-container:not(:has(*)) {
  display: none;
  margin: 0;
}

/* ============================================================
   Bottom CTA block — appears above the newsletter signup banner
   for future events only (conditional in template).
   ============================================================ */
.event-bottom-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 36px 0 20px;
  padding: 20px 0 0;
  border-top: 1px solid #e8e3dc;
}
.event-bottom-cta__prompt {
  font-size: 1.6rem;
  color: #555;
  margin: 0;
  flex: 1;
}
.event-bottom-cta__action {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .event-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================
   Event page — underline-style tab interface
   Overrides the site-wide border-box tab style scoped to
   .section-tabs (the wrapper <section> on event.html only).

   Specificity note: site_styles.css has:
     .section-body .tabs .tabs-nav li  (0-3-1)
   We beat it with:
     .section-tabs .section-body .tabs .tabs-nav li  (0-4-1)
   ============================================================ */
.section-tabs .tabs-head {
  padding-bottom: 0;
}

/* Full-width separator line behind the tab row */
.section-tabs .section-body .tabs .tabs-nav {
  border-bottom: 2px solid #e0ddd8;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Switch from float/fixed-width grid to flex so each tab
   sizes to its content label and never wraps */
.section-tabs .section-body .tabs .tabs-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

/* Strip site-wide box styling + fixed widths from each tab item */
.section-tabs .section-body .tabs .tabs-nav li {
  float: none;          /* undo site-wide float: left */
  width: auto;          /* undo site-wide width: 25% / calc(100%/3) */
  border: none;
  border-right: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-right: 0;
  margin-bottom: 0;
}

/* Base tab link — flat, no background */
.section-tabs .section-body .tabs .tabs-nav li a,
.section-tabs .section-body .tabs .tabs-nav li a:hover,
.section-tabs .section-body .tabs .tabs-nav li a:focus {
  display: block;
  padding: 9px 20px;
  font-size: 1.45rem;
  font-weight: 600;
  white-space: nowrap;
  color: #555;
  background: transparent;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}

/* Active/hover state — underline only, no background fill */
.section-tabs .section-body .tabs .tabs-nav .current a,
.section-tabs .section-body .tabs .tabs-nav li a:hover,
.section-tabs .section-body .tabs .tabs-nav li a:focus {
  color: #c6341b;
  background: transparent;
  border-bottom-color: #c6341b;
}

/* ============================================================
   Events listing page — section & card modernization
   Scoped to .section-tertiary--events-listing so changes
   don't affect other uses of .section-group site-wide.
   feature/rs_event-page-redesign — Apr 2026
   ============================================================ */

/* Strip the site-wide grey fill + negative-position hack */
.section-tertiary--events-listing .section-group {
	background: transparent;
	padding: 0;
	left: 0;
	position: static;
}

/* Separate sections with a hairline + generous whitespace */
.section-tertiary--events-listing .section-group + .section-group {
	margin-top: 52px;
	padding-top: 44px;
	border-top: 1px solid #e5e0d8;
}

/* Section heading: colored left-border accent */
.section-tertiary--events-listing .section-group-header > .title-large {
	padding-left: 14px;
	border-left: 4px solid #ccc;
	margin-bottom: 0;
	line-height: 1.2;
}

/* Per-section accent colours */
.section-tertiary--events-listing .section-group--ggc .section-group-header > .title-large { border-left-color: #405d81; }
.section-tertiary--events-listing .section-group--ew  .section-group-header > .title-large { border-left-color: #c0392b; }
.section-tertiary--events-listing .section-group--cc  .section-group-header > .title-large { border-left-color: #3a7d5e; }

/* Section header row + see-all link */
.section-tertiary--events-listing .section-group-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.section-tertiary--events-listing .section-group-header > .title-large {
	margin-bottom: 0;
	flex: 1;
}

.section-tertiary--events-listing .section-group-footer {
	text-align: right;
	margin-top: 8px;
}

.section-tertiary--events-listing .link-see-all {
	font-size: 1.4rem;
	font-weight: 600;
	color: #405d81;
	text-decoration: none;
	white-space: nowrap;
}

.section-tertiary--events-listing .link-see-all:hover,
.section-tertiary--events-listing .link-see-all:focus {
	color: #002675;
	text-decoration: underline;
}

/* Category listing — upcoming / past toggle */
.events-view-toggle {
	display: flex;
	gap: 0;
	margin: 0 0 28px;
	border: 1px solid #e5e0d8;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	max-width: 360px;
}

.events-view-toggle__link {
	flex: 1;
	text-align: center;
	padding: 10px 16px;
	font-size: 1.4rem;
	font-weight: 600;
	text-decoration: none;
	color: #5a5a52;
	border-right: 1px solid #e5e0d8;
	transition: background 0.15s ease, color 0.15s ease;
}

.events-view-toggle__link:last-child {
	border-right: none;
}

.events-view-toggle__link.is-active {
	background: #405d81;
	color: #fff;
}

.events-view-toggle__link:not(.is-active):hover,
.events-view-toggle__link:not(.is-active):focus {
	background: #f5f4f0;
	color: #002675;
}

.event-cards-empty {
	grid-column: 1 / -1;
	list-style: none;
	padding: 24px 0;
	color: #5a5a52;
}

.event-cards-paging {
	grid-column: 1 / -1;
	list-style: none;
}

/* ── Card grid ────────────────────────────────────────────── */

/* 2-up grid on desktop; falls back to 1-up on narrow screens */
.section-tertiary--events-listing .event-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	/* override legacy margin-top stacking between siblings */
	margin-top: 0;
}

.section-tertiary--events-listing .event-cards .article-small + .article-small,
.section-tertiary--events-listing .event-cards .article-small-secondary + .article-small-secondary {
	margin-top: 0;
}

@media (max-width: 767px) {
	.section-tertiary--events-listing .event-cards {
		grid-template-columns: 1fr;
	}
}

/* ── Card border + layout modernization ──────────────────── */

/* Remove the dated flat pseudo-element border */
.event-cards .article-small::before {
	display: none;
}

/* Override site-wide padding that pushes the image away from the card top.
   Also reset .section-group margin-bottom override on article-small-secondary. */
.event-cards .article-small.article-small-secondary {
	padding: 0;
	margin-bottom: 0;
}

/* Modern card: rounded corners + subtle shadow.
   flex-direction: column lets us push the CTA to the card bottom. */
.event-cards .article-small {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 14px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.event-cards .article-small:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Main link fills all available vertical space so the CTA anchors to bottom */
.event-cards .article-small .article-card-link {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Content area grows to push meta/CTA down within the link */
.event-cards .article-small .article-content {
	flex: 1;
}

/* Media container: intrinsic-ratio trick applied here (not on the figure)
   so the width is always known (from flex/grid layout) and padding-top: 65%
   creates the real pixel height. The figure then fills it absolutely. */
.event-cards .article-small .article-card-media {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 65%;
	overflow: hidden;
	flex-shrink: 0;
}

/* Figure fills the padded container; reset the padding-top trick on the figure itself */
.event-cards .article-small .article-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-top: 0;
}
