/* ======================================================================
   Glucerna Case Study — Page-scoped overrides (load LAST)
   Clean + consolidated for parity with the X Games template
   ====================================================================== */

.case-glucerna {
  /* Color tokens */
  --ink:           #022351;  /* headings / primary text */
  --ink-soft:      #334155;  /* secondary text */
  --band:          #f4f4f4;  /* section band background */
  --abbott-blue:   #022b36;  /* hero panel / accents */
  --footer:        #0f2430;  /* darker footer */
  --paper:         #ffffff;

  /* Role note tokens */
  --note-accent:   #0bbbd3;  /* turquoise rail/icon */
  --note-fill:     #e8f7fb;  /* soft blue wash */
}

/* Base text color safety on this page */
.case-glucerna,
.case-glucerna .case-section,
.case-glucerna .media-row,
.case-glucerna .metrics-row {
  color: var(--ink);
}

/* ---------------------------------------
   HERO — full-bleed two-column split
   --------------------------------------- */

.case-glucerna .hero-split {
  /* full-bleed without altering the site container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(520px, 60vh, 720px);
  gap: 0;
  position: relative;
  z-index: 1;
}

.case-glucerna .hero-left picture,
.case-glucerna .hero-left img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.case-glucerna .hero-right {
  background: var(--abbott-blue);
  color: #fff;
  display: flex;
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
}

.case-glucerna .hero-right > div {
  max-width: 720px; /* keep nice measure for headline & body */
}

.case-glucerna .hero-right h1 {
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.15;
  max-width: 22ch;
}

.case-glucerna .hero-right .kicker {
  color: rgba(255,255,255,.86);
  line-height: 1.45;
  max-width: 50ch;
}

/* Stack on smaller screens */
@media (max-width: 1024px) {
  .case-glucerna .hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .case-glucerna .hero-left { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------
   OVERLAP rhythm like X Games
   --------------------------------------- */

.case-glucerna .case-sections,
.case-glucerna .media-row,
.case-glucerna .metrics-row {
  position: relative;
  z-index: 2;
}

.case-glucerna .case-sections.three-column {
  margin-top: -56px; /* tucks first card band up under hero */
}

@media (max-width: 1024px) {
  .case-glucerna .case-sections.three-column { margin-top: 0; }
}

/* ---------------------------------------
   Section bands + card shells
   --------------------------------------- */

.case-glucerna .band,
.case-glucerna .case-section.band,
.case-glucerna .media-row.band,
.case-glucerna .metrics-row.band {
  background: var(--band);
  border-radius: 12px;
  padding: 2rem;
}

.case-glucerna .case-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(16, 28, 36, 0.08);
  padding: clamp(20px, 2.4vw, 28px);
}

/* ---------------------------------------
   Headings
   --------------------------------------- */

.case-glucerna .section-heading {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  border-bottom: 2px solid rgba(2, 35, 81, 0.16);
  padding-bottom: 6px;
  margin-bottom: 14px;
}

/* Kill any legacy pseudo underline if present */
.case-glucerna .section-heading::after { display: none !important; }

/* ---------------------------------------
   Role note (X Games style)
   --------------------------------------- */

.case-glucerna .role-note {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--note-fill);
  border-left: 4px solid var(--note-accent);
  border-radius: 12px;
  color: #0b3a48;
}

.case-glucerna .role-note .role-icon {
  width: 20px;
  height: 20px;
  color: var(--note-accent);
}

/* ---------------------------------------
   Media / Metrics cards
   --------------------------------------- */

.case-glucerna .metrics-grid .metric,
.case-glucerna .media-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(16, 28, 36, .06);
  padding: 14px;
}

.case-glucerna .metrics-row {
  border-top: 1px solid rgba(2, 35, 81, 0.08);
  padding-top: 24px;
}

.case-glucerna .metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.case-glucerna .metric span {
  display: block;
  color: var(--ink-soft);
  font-size: .9rem;
}

/* ---------------------------------------
   Footer — dark + anchored
   --------------------------------------- */

.case-glucerna .site-footer {
  background: var(--footer);
  color: #c8d3db;
  padding: 36px 20px;
  text-align: center;
}

.case-glucerna .site-footer a {
  color: #8ec3ff;
}

/* ---------------------------------------
   Small niceties
   --------------------------------------- */

/* Ensure first band after hero sits above it */
.case-glucerna .hero-split + .band,
.case-glucerna .hero-split + section {
  position: relative;
  z-index: 2;
}

/* Keep the first band from slamming the hero edge on mobile */
.case-glucerna .band:first-of-type {
  margin-top: clamp(12px, 2vw, 28px);
}

/* ===========================
   GLUCERNA – kill X-Games red frame/stripes
   (append at the very end)
   =========================== */

/* Some templates add a brand border/stripe (top or around the hero).
   Nuke it only on the Glucerna page. */
.case-glucerna .page-hero,
.case-glucerna .case-hero,
.case-glucerna .case-hero-wrapper,
.case-glucerna .hero-split {
  border: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Remove any pseudo-element stripe used as a brand accent */
.case-glucerna .hero-split::before,
.case-glucerna .hero-left::before,
.case-glucerna .hero-right::before,
.case-glucerna .case-hero::before,
.case-glucerna .case-hero-wrapper::before {
  content: none !important;
  background: transparent !important;
}

/* Make the left image truly edge-to-edge with no gaps */
.case-glucerna .hero-left,
.case-glucerna .hero-left picture,
.case-glucerna .hero-left img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  object-fit: cover;
  object-position: left center; /* tweak to 'center' if you prefer */
}

/* Keep the blue panel clean and on-brand */
.case-glucerna .hero-right {
  background: #022b36 !important; /* Abbott deep blue */
  border: 0 !important;
  box-shadow: none !important;
}

/* If any container above the hero injects a top brand bar, neutralize it */
.case-glucerna .site-hero,
.case-glucerna .page-header,
.case-glucerna .mast-hero {
  border-top: 0 !important;
  background-image: none !important;
}
/* === GLUCERNA – final polish (append at end) === */

/* 1) Hero: keep a consistent, flush split and headline rhythm */
.case-glucerna .hero-split{
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  min-height: clamp(520px, 60vh, 720px);
}
.case-glucerna .hero-right h1{ margin: 0 0 14px; max-width: 22ch; }
.case-glucerna .hero-right .kicker{ max-width: 50ch; color: rgba(255,255,255,.85); }

/* 2) Tuck the first band under the hero like X Games (adjust if needed) */
.case-glucerna .case-sections.three-column{
  margin-top: clamp(-56px, -6vw, -68px); /* bump 2–4px if you see a hairline */
  position: relative;
  z-index: 2;
}
@media (max-width: 1024px){
  .case-glucerna .case-sections.three-column{ margin-top: 0; }
}

/* 3) Exact band + card styling */
.case-glucerna .band,
.case-glucerna .media-row,
.case-glucerna .metrics-row{
  background: #f4f4f4 !important;  /* lighter grey to match X Games */
  border-radius: 12px;
  padding: clamp(20px, 2.4vw, 28px);
}
.case-glucerna .case-section{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(16,28,36,.08);
  padding: clamp(18px, 2.2vw, 26px);
}

/* 4) Section headings (your #022351) */
.case-glucerna .section-heading{
  color: #022351 !important;
  border-bottom: 2px solid rgba(2,35,81,.15);
  padding-bottom: 6px;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 5) Role note (X-Games turquoise) */
.case-glucerna .role-note{
  background: #e8f7fb;
  border-left: 4px solid #0bbbd3;
  border-radius: 12px;
  padding: 14px 16px;
  color: #0b3a48;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
}
.case-glucerna .role-note .role-icon{ color: #0bbbd3; }

/* 6) Footer: anchored near-black navy */
.case-glucerna footer,
.case-glucerna .site-footer{
  background: #0b2230;
  color: #c8d3db;
}
.case-glucerna .site-footer a{ color: #8ec3ff; }

/* === Glucerna: remove card overlap under hero (no tuck) === */
.case-glucerna .case-sections.three-column{
  margin-top: 24px !important;   /* or 32px if you want a bit more air */
}

.case-glucerna .hero-split{
  margin-bottom: 0 !important;   /* ensures spacing is driven by the band */
}

@media (max-width: 1024px){
  .case-glucerna .case-sections.three-column{
    margin-top: 20px !important; /* slightly tighter on tablet/phone */
  }
}

/* Normalize the first child inside every card */
.case-glucerna .case-sections.three-column > .case-section > :first-child {
  margin-top: 0 !important;
}

/* Ensure heading never has a top margin */
.case-glucerna .section-heading {
  margin-top: 0 !important;
}

/* If any stray <br> or blank nodes sneak in, force the card to create its own
   margin context so margins don’t collapse in weird ways */
.case-glucerna .case-sections.three-column > .case-section {
  padding-top: 24px;                /* same on all cards */
  background-clip: padding-box;     /* prevents odd bleed with borders */
}

/* only touch the hero text panel + heading color */
body.case-glucerna .hero-split .hero-left{background:#002a3a;color:#fff}
body.case-glucerna .hero-split .hero-left h1,
body.case-glucerna .hero-split .hero-left .note{color:#fff}

/* headers in Abbott blue (optional; remove if your headers already look right) */
body.case-glucerna .section-heading,
body.case-glucerna h2.section-heading{color:#002a3a}


/* Page tokens (optional) */
.case-glucerna { --abbott-blue:#022b36; }

/* Full-bleed hero split like X Games */
.case-glucerna .hero-split{
  display:grid; grid-template-columns:1fr 1fr; min-height:clamp(520px,60vh,720px);
  width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
}

/* LEFT: image fills; RIGHT: blue panel with white text */
.case-glucerna .hero-left picture,
.case-glucerna .hero-left img{width:100%;height:100%;object-fit:cover;display:block;}

.case-glucerna .hero-right{
  background:var(--abbott-blue); color:#fff; display:flex; align-items:center;
  padding:clamp(28px,5vw,72px);
}
.case-glucerna .hero-right h1{color:#fff;margin:0 0 14px;line-height:1.15;max-width:22ch;}
.case-glucerna .hero-right .kicker{color:rgba(255,255,255,.86);max-width:50ch;}

/* Test & Learn cards */
body.case-glucerna .media-grid { display:grid; gap:18px; }
@media (min-width: 900px){ body.case-glucerna .media-grid { grid-template-columns:repeat(3,1fr); } }

body.case-glucerna .media-card {
  background:#fff; border-radius:12px;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
  padding:14px;
}
body.case-glucerna .media-card img { width:100%; display:block; border-radius:10px; }
body.case-glucerna .media-card figcaption { margin-top:.6rem; font-size:.95rem; line-height:1.45; }

/* Metrics grid */
body.case-glucerna .metrics-grid { display:grid; gap:14px; }
@media (min-width: 900px){ body.case-glucerna .metrics-grid { grid-template-columns:repeat(4,1fr); } }

body.case-glucerna .metric {
  background:#fff; border-radius:12px;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
  padding:16px 14px;
}
body.case-glucerna .metric strong { display:block; font-size:1.4rem; line-height:1.1; color:#002a3a; }
body.case-glucerna .metric span { display:block; font-size:.9rem; color:#334155; }

/* Make the split hero full-bleed like X Games */
body.case-glucerna .hero-split{
  width:100vw;
  margin-left:calc(50% - 50vw);   /* escape page gutter */
  margin-right:calc(50% - 50vw);
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:clamp(520px,60vh,720px);
}

/* Kill any inner padding on the two halves */
body.case-glucerna .hero-split .hero-left,
body.case-glucerna .hero-split .hero-right{
  padding:0 !important;
}

/* Make the image fill and crop correctly */
body.case-glucerna .hero-split .hero-right picture,
body.case-glucerna .hero-split .hero-right img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;               /* cover the whole panel */
}

/* Text panel stays Abbott blue and vertically centered */
body.case-glucerna .hero-split .hero-left{
  background:#002a3a;
  color:#fff;
  display:flex;
  align-items:center;
  padding:clamp(28px,5vw,72px) !important;  /* text inset only on blue side */
}
body.case-glucerna .hero-split .hero-left h1,
body.case-glucerna .hero-split .hero-left .note{color:#fff}

/* Remove any unwanted gap above hero for Glucerna only */
body.case-glucerna .hero-split {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* In case another wrapper is pushing it down */
body.case-glucerna main,
body.case-glucerna .page-content,
body.case-glucerna .case-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Optional: if header spacing exists on all pages, you can counteract it */
body.case-glucerna header {
  margin-bottom: 0 !important;
}

/* ensure both halves are forced to equal height */
body.case-glucerna .hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;                /* both columns stretch to equal height */
  min-height: clamp(520px, 60vh, 720px);
}
body.case-glucerna .hero-split .hero-right picture,
body.case-glucerna .hero-split .hero-right img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Align left (image) and right (blue panel) perfectly flush
   ============================================================ */
body.case-glucerna .hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* exact 50/50 split */
  align-items: stretch;             /* make both halves equal height */
  width: 100vw;
  margin: 0;
  padding: 0;
}

/* ensure both sides fill same vertical space */
body.case-glucerna .hero-split .hero-right,
body.case-glucerna .hero-split .hero-left {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* make the image behave like a background cover */
body.case-glucerna .hero-split .hero-right picture,
body.case-glucerna .hero-split .hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* blue panel matches exactly in height */
body.case-glucerna .hero-split .hero-left {
  background-color: #002a3a;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center text */
  padding: clamp(40px, 6vw, 80px);
}

/* ===== Glucerna hero: lock both halves to the same height ===== */
body.case-glucerna .hero-split{
  display:grid;
  grid-template-columns:1fr 1fr;      /* 50/50 split */
  min-height:clamp(540px, 62vh, 760px);
  align-items:stretch;                /* children stretch to row height */
}

/* children must inherit that height and include padding in-box */
body.case-glucerna .hero-split .hero-left,
body.case-glucerna .hero-split .hero-right{
  min-height:inherit;
  height:auto;
  box-sizing:border-box;
  margin:0;
  padding:0;                          /* start clean */
}

/* left = image fills and crops to the fixed height */
body.case-glucerna .hero-split .hero-right picture,
body.case-glucerna .hero-split .hero-right img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;                   /* cover the panel */
}

/* right = blue panel; add padding INSIDE the fixed height */
body.case-glucerna .hero-split .hero-left{
  background:#002a3a;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;             /* vertical center */
  padding:clamp(32px, 5vw, 80px);     /* now counted inside the height */
}
body.case-glucerna .hero-split .hero-left h1,
body.case-glucerna .hero-split .hero-left .note{color:#fff}

/* if any earlier experiments added offsets, neutralize them */
body.case-glucerna .hero-split,
body.case-glucerna .hero-split .hero-left{
  transform:none !important;
}

body.case-glucerna .learnings-band ul li {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 400;       /* normal body weight; use 500–600 if you want more presence */
  font-size: 1rem;
  line-height: 1.6;
  color: #0f2a41;         /* matches your site’s ink tone */
  margin-bottom: 0.5rem;  /* keeps spacing tidy */
  list-style: disc inside;
}

/* ===================== WHAT WE LEARNED SECTION ===================== */
body.case-glucerna .case-learnings-band {
  background: #f4f7f9;
  padding: clamp(64px, 8vw, 120px) 8%;
  margin-top: 4rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

body.case-glucerna .case-learnings-band .inner {
  max-width: 820px;
  margin: 0 auto;
}

body.case-glucerna .case-learnings-band h2 {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: #002a3a;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

body.case-glucerna .case-learnings-band p,
body.case-glucerna .case-learnings-band ul li {
  font-family: 'Barlow', system-ui, sans-serif;
  color: #0f2a41;
  line-height: 1.6;
  font-size: 1rem;
}

body.case-glucerna .case-learnings-band ul {
  list-style: disc;
  text-align: left;
  margin: 1.5rem auto 1.5rem;
  padding-left: 1.5rem;
  max-width: 700px;
}

body.case-glucerna .case-learnings-band ul li {
  margin-bottom: 0.6rem;
}

body.case-glucerna .case-learnings-band ul li::marker {
  color: #002a3a;
}

body.case-glucerna .case-learnings-band .closing-line {
  margin-top: 1.5rem;
  font-weight: 500;
  color: #022351;
}
/* ============================================================
   Test & Learn in Action — Glucerna
   ============================================================ */

.test-learn {
  background: #f7f9fa;
  padding: 80px 3% 100px;
  text-align: center;
  border-top: 1px solid #eaeaea;
}

.test-learn h2 {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #002a3a; /* Abbott deep blue */
  margin-bottom: 56px;
  letter-spacing: 0.02em;
}

.test-learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.test-learn figure {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 380px;
}

.test-learn figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.test-learn img {
  width: 100%;
  height: auto;
  display: block;
}

.test-learn figcaption {
  padding: 1.2rem 1.5rem 1.4rem;
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #002a3a;
  line-height: 1.5;
  text-align: left;
}

.test-learn figcaption strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #002a3a;
}

/* ============================================================
   Consistent Section Headers — Glucerna
   ============================================================ */

.test-learn h2,
.signals h2 {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #002a3a; /* Abbott Deep Blue */
  letter-spacing: 0.02em;
  text-align: left;
  margin-bottom: 1.5rem;
}

/* Optional alignment consistency */
.test-learn,
.signals {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 3%;
}

/* Ensure inner text doesn't clash */
.signals h2 {
  border-top: 1px solid #eaeaea;
  padding-top: 48px;
}
/* =========================
   Full-width band like "Signals"
   ========================= */
.tl-band{
  background:#f5f7f9;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  border-top:1px solid #eaeaea;
}
.tl-inner{
  max-width:1280px;
  margin:0 auto;
  padding:56px 24px 72px;
}

/* Title matches your case headers (left-aligned, caps) */
.tl-title{
  font-family:'Barlow',system-ui,sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#002a3a;
  font-size:clamp(1.25rem,2.2vw,1.6rem);
  margin:0 0 24px;
}

/* Responsive grid: 1 → 2 → 3 cols; full width on small screens */
.tl-grid{
  display:grid;
  gap:18px;
  grid-template-columns:1fr;
}
@media (min-width:700px){
  .tl-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1100px){
  .tl-grid{ grid-template-columns:repeat(3,1fr); }
}

/* Card */
.tl-card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

/* Media aspect ratios (native images can be any size) */
.tl-card .media{ width:100%; }
.tl-card .media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.tl-card.is-landscape .media{ aspect-ratio:16 / 9; }
.tl-card.is-square    .media{ aspect-ratio:1 / 1; }
.tl-card.is-portrait  .media{ aspect-ratio:4 / 5; }

/* Copy */
.tl-card .copy{ padding:16px 16px 18px; }
.tl-card .copy .eyebrow{
  font-size:.86rem; color:#6b7280; margin-bottom:6px;
}
.tl-card .copy .headline{
  color:#0f1720; margin-bottom:6px;
}
.tl-card .copy p{
  margin:0; color:#334155; font-size:.95rem; line-height:1.5;
}

/* =========================
   Full-width band like "Signals"
   ========================= */
.tl-band{
  background:#f5f7f9;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  border-top:1px solid #eaeaea;
}
.tl-inner{
  max-width:1280px;
  margin:0 auto;
  padding:56px 24px 72px;
}

/* Title matches your case headers (left-aligned, caps) */
.tl-title{
  font-family:'Barlow',system-ui,sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#002a3a;
  font-size:clamp(1.25rem,2.2vw,1.6rem);
  margin:0 0 24px;
}

/* Responsive grid: 1 → 2 → 3 cols; full width on small screens */
.tl-grid{
  display:grid;
  gap:18px;
  grid-template-columns:1fr;
}
@media (min-width:700px){
  .tl-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1100px){
  .tl-grid{ grid-template-columns:repeat(3,1fr); }
}

/* Card */
.tl-card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

/* Media aspect ratios (native images can be any size) */
.tl-card .media{ width:100%; }
.tl-card .media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.tl-card.is-landscape .media{ aspect-ratio:16 / 9; }
.tl-card.is-square    .media{ aspect-ratio:1 / 1; }
.tl-card.is-portrait  .media{ aspect-ratio:4 / 5; }

/* Copy */
.tl-card .copy{ padding:16px 16px 18px; }
.tl-card .copy .eyebrow{
  font-size:.86rem; color:#6b7280; margin-bottom:6px;
}
.tl-card .copy .headline{
  color:#0f1720; margin-bottom:6px;
}
.tl-card .copy p{
  margin:0; color:#334155; font-size:.95rem; line-height:1.5;
}

/* =========================
   Test & Learn in Action (Full Width)
   ========================= */
.tl-band {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f5f7f9;
  border-top: 1px solid #eaeaea;
}

.tl-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 3% 80px;
}

/* Title matches case study headers */
.tl-title {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: #002a3a;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  text-align: left;
}

/* Responsive grid: 1 → 2 → 3 cols */
.tl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .tl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .tl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card layout */
.tl-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Aspect ratios */
.tl-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tl-card.is-landscape .media { aspect-ratio: 16 / 9; }
.tl-card.is-square .media { aspect-ratio: 1 / 1; }
.tl-card.is-portrait .media { aspect-ratio: 4 / 5; }

/* Text */
.tl-card .copy {
  padding: 1rem 1.2rem 1.4rem;
}
.tl-card .copy .eyebrow {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 6px;
}
.tl-card .copy .headline {
  color: #0f1720;
  margin-bottom: 4px;
}
.tl-card .copy p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
/* Match section-heading style exactly */
.tl-title {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: #022351; /* same as var(--ink) if defined */
}
