/*
 * Home-page bespoke sections — MSEED Education
 *
 * Covers sections unique to front-page.php that have no reusable organism:
 *   .why-choose-us   — intro heading + text above program cards
 *   .programs-offered — program cards section header
 *   .dual-card       — two large promo cards side-by-side
 *   .feature-grid    — "What Sets Us Apart" 6-item icon grid
 *   .blog-teaser     — blog cards section + "View All" CTA
 *
 * Organism components (hero, stat-row, testimonial-carousel, logo-strip,
 * gallery-grid, cta-band, marquee) have their own _component.css files.
 *
 * All values via var(--*). Breakpoints use raw px.
 */

/* ══════════════════════════════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════════════════════════════ */

.why-choose-us {
  padding-block: var(--sp-9);
  background-color: var(--c-white);
}

@media (max-width: 768px) {
  .why-choose-us {
    padding-block: var(--sp-7);
  }
}

/* 2-col: text left, portrait right */
.why-choose-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

@media (max-width: 768px) {
  .why-choose-us__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

.why-choose-us__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.why-choose-us__heading {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--c-ink-900);
  line-height: var(--lh-snug);
  margin: 0;
}

.why-choose-us__text {
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--c-ink-500);
  margin: 0;
}

.why-choose-us__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.why-choose-us__highlights li {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--c-accent-500);
  padding-left: var(--sp-4);
  position: relative;
}

.why-choose-us__highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent-500);
}

.why-choose-us__image img {
  display: block;
  width: 100%;
  max-width: 26rem;
  height: auto;
  border-radius: var(--r-card);
  object-fit: cover;
  margin-left: auto;
}

@media (max-width: 768px) {
  .why-choose-us__image {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   PROGRAMS OFFERED
═══════════════════════════════════════════════════════════════════════ */

.programs-offered {
  padding-block: var(--sp-9);
  background-color: var(--c-white);   /* #ffffff */
}

@media (max-width: 768px) {
  .programs-offered {
    padding-block: var(--sp-7);
  }
}

.programs-offered__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  margin-block-end: var(--sp-7);
  margin-inline: var(--sp-6);   /* 2rem */
}

.programs-offered__heading {
  font-family: "Circular Spotify", sans-serif;
  font-size: 3.5rem;   /* 56px */
  font-weight: var(--fw-regular);
  color: var(--c-ink-900);
  line-height: var(--lh-snug);
  margin: 0;
}

.programs-offered__intro {
  font-family: var(--font-body);   /* Manrope */
  font-size: var(--fs-body);       /* 16px */
  font-weight: var(--fw-regular);
  color: var(--c-ink-500);
  line-height: var(--lh-base);   /* 24px at 16px */
  text-align: center;
  margin: 0;
}

/* 2-col program card grid */
.programs-offered__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin-inline: var(--sp-6);   /* 2rem */
}

@media (max-width: 600px) {
  .programs-offered__grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   DUAL-CARD — two promo cards side-by-side
═══════════════════════════════════════════════════════════════════════ */

.dual-card {
  --_dual-pad: 6.25rem;   /* 100px source (c170967) */
  padding-block: var(--_dual-pad);
  /* Source: blue tiled-grid pattern, full-bleed, covering. */
  background-color: var(--c-navy-900);
  background-image: url("../../img/e4783c1cbe95c79b.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.dual-card__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;   /* source 2:1 — wide slideshow + portrait */
  gap: var(--sp-5);
  align-items: stretch;   /* left card matches the portrait's height */
}

@media (max-width: 768px) {
  .dual-card {
    --_dual-pad: 3.125rem;   /* 50px source mobile */
  }

  .dual-card__grid {
    grid-template-columns: 1fr;
  }
}

.dual-card__item {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dual-card__item--dark {
  background-color: var(--c-navy-900);
}

/* Accent cell = the pre-baked portrait graphic only. No bg/padding/text —
   the image carries its own navy background, gold text and student photo. */
.dual-card__item--accent {
  align-items: center;
  justify-content: center;
}

.dual-card__accent-img {
  display: block;
  max-width: 100%;
  height: auto;   /* natural 318×565 portrait; sets the row height */
}

.dual-card__img-wrap {
  position: absolute;
  inset: 0;
}

.dual-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

/* ── Autoplaying 4-image cross-fade (CSS-only, no JS, no nav) ──────────
   4 slides × 5s = 20s cycle; each stacked absolute over the wrap, animation
   staggered by nth-child so slide N holds visible while its neighbours are
   transparent. Static fallback if animations are unsupported: first slide
   stays at its dimmed opacity, the rest at 0. ─────────────────────────── */
.dual-card__img--slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: dual-card-fade 20s infinite;
}

.dual-card__img--slide:first-child {
  opacity: 0.6;
}

.dual-card__img--slide:nth-child(1) { animation-delay: 0s; }
.dual-card__img--slide:nth-child(2) { animation-delay: 5s; }
.dual-card__img--slide:nth-child(3) { animation-delay: 10s; }
.dual-card__img--slide:nth-child(4) { animation-delay: 15s; }

@keyframes dual-card-fade {
  0%, 100% { opacity: 0; }
  2.5%     { opacity: 0.6; }
  22.5%    { opacity: 0.6; }
  25%      { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dual-card__img--slide {
    animation: none;
    opacity: 0;
  }

  .dual-card__img--slide:first-child {
    opacity: 0.6;
  }
}

.dual-card__body {
  position: relative;
  padding: var(--sp-6) var(--sp-6) var(--sp-6);
  z-index: 1;
}

/* Left card title — source 680dee0: 38px / 500 / gold #FFD651. */
.dual-card__title {
  font-size: 2.375rem;   /* 38px */
  font-weight: var(--fw-medium);
  color: var(--c-gold-400);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-2);
}

/* Left card subtitle — source 47c84f4: 30px / 300 / white. */
.dual-card__meta {
  font-size: 1.875rem;   /* 30px */
  font-weight: var(--fw-light);
  color: var(--c-white);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   FEATURE GRID — "What Sets Us Apart" 6 items
═══════════════════════════════════════════════════════════════════════ */

.feature-grid {
  padding-block: 0;
}

.feature-grid__tier--dark {
  background-color: var(--c-navy-900);
}

.feature-grid__tier--light {
  background-color: #EEF8FF;
  padding-block: var(--sp-9);
}

@media (max-width: 768px) {
  .feature-grid__tier--light {
    padding-block: var(--sp-7);
  }
}

.feature-grid__heading {
  font-family: "Circular Spotify", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 2;
  color: var(--c-ink-900);
  text-align: center;
  margin: 0 0 var(--sp-6);
  padding: 0;
}

.feature-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-grid__list--light {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .feature-grid__list--light {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 375px) {
  .feature-grid__list--light {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .feature-grid__list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }
}

@media (max-width: 375px) {
  .feature-grid__list {
    grid-template-columns: 1fr;
  }
}

.feature-grid__item {
  display: block;
  text-align: center;
  border-style: solid;
  border-width: 0 1px 1px 1px;
  border-color: #DFDFDF;
  background-color: #FFFFFF;
  padding: 52px 20px;
}

.feature-grid__item-icon {
  display: block;
  margin-bottom: var(--sp-4);
  color: #2178BD;
}

.feature-grid__item-icon svg {
  margin: auto;
  width: 50px;
  height: auto;
}

.feature-grid__item-title {
  font-family: "Circular Spotify", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #101828;
  margin: 0 0 var(--sp-2);
  line-height: var(--lh-snug);
}

.feature-grid__item-text {
  font-size: var(--fs-small);
  line-height: var(--lh-base);
  color: var(--c-ink-500);
  margin: 0;
}

/* ── Dark tier — inverted text, no card chrome ──────────────────────────
   Placed after .feature-grid__item/-title/-text above: equal specificity
   (single class each) means source order decides the tie, so this override
   block must come after the rules it's overriding, not before. ────────── */

.feature-grid__item--dark {
  border: none;
  background-color: transparent;
}

.feature-grid__item--dark .feature-grid__item-icon {
  color: var(--c-white);
}

.feature-grid__item--dark .feature-grid__item-title,
.feature-grid__item--dark .feature-grid__item-text {
  color: var(--c-white);
}

.feature-grid__item--dark .feature-grid__item-text {
  opacity: 0.75;
}

/* ══════════════════════════════════════════════════════════════════════
   BLOG TEASER
═══════════════════════════════════════════════════════════════════════ */

.blog-teaser {
  padding-block: var(--sp-9);
  background-color: var(--c-white);
}

@media (max-width: 768px) {
  .blog-teaser {
    padding-block: var(--sp-7);
  }
}

.blog-teaser__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-7);
}

.blog-teaser__heading {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--c-ink-900);
  line-height: var(--lh-snug);
  margin: 0;
}

.blog-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}

@media (max-width: 768px) {
  .blog-teaser__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }
}

@media (max-width: 375px) {
  .blog-teaser__grid {
    grid-template-columns: 1fr;
  }
}

.blog-teaser__footer {
  display: flex;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE — cap every home section <h2> heading at 32px.
   In home.css (loads after global.css), so it wins over component sizes.
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .why-choose-us__heading,
  .programs-offered__heading,
  .feature-grid__heading,
  .logo-strip__heading,
  .stat-row__heading,
  .gallery-grid__heading,
  .people-cards__heading,
  .people-grid__heading,
  .founders__heading,
  .testimonial-carousel__heading,
  .social-media__heading,
  .blog-teaser__heading {
    font-size: 2rem;   /* 32px */
  }
}
/*
 * People Cards section — MSEED Education
 *
 * BEM: .people-cards / --profile / --quote
 *      __head / __heading / __sub / __grid / __item / __tagline
 *      .people-card / __photo / __img / __body / __quote / __quote-text
 *                   / __name / __role / __meta
 *
 * profile variant: circle photo, name + role + specialisation meta.
 * quote variant:   rounded-rect photo, testimonial blockquote + name + role.
 * Column count driven by [data-cols]; grid reflows to 2 → 1 on small screens.
 *
 * All values via var(--*). No hardcoded hex/px for spacing/color.
 * Breakpoints in @media use raw px — custom props not valid in queries.
 */

/* ══════════════════════════════════════════════════════════════════════
   SHELL
═══════════════════════════════════════════════════════════════════════ */

.people-cards {
  padding-block: var(--sp-9);
  background-color: var(--c-white);
}

@media (max-width: 768px) {
  .people-cards {
    padding-block: var(--sp-7);
  }
}

/* Trim padding where sections stack against neighbours. */
.people-cards--quote {
  padding-top: var(--sp-6);
}

.people-cards--profile {
  padding-bottom: var(--sp-6);
}

/* ── Head ───────────────────────────────────────────────────────────── */

.people-cards__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-7);
}

.people-cards__heading {
  font-family: var(--font-body);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--c-ink-900);
  margin: 0;
}

.people-cards__sub {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--c-ink-500);
  max-width: 42rem;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   GRID
═══════════════════════════════════════════════════════════════════════ */

.people-cards__grid {
  --_cols: 4;

  display: grid;
  grid-template-columns: repeat( var(--_cols), 1fr );
  gap: var(--sp-6) var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.people-cards__grid[data-cols="2"] { --_cols: 2; }
.people-cards__grid[data-cols="3"] { --_cols: 3; }
.people-cards__grid[data-cols="4"] { --_cols: 4; }

/* Slider variant — CSS-only horizontal scroll-snap track (no JS needed).
   Card width derives from --_cols so `columns` still sets cards-per-view. */
.people-cards__grid--slider {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.people-cards__grid--slider::-webkit-scrollbar {
  display: none;
}

.people-cards__grid--slider > .people-cards__item {
  flex: 0 0 calc( ( 100% - ( var(--_cols) - 1 ) * var(--sp-5) ) / var(--_cols) );
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .people-cards__grid--slider > .people-cards__item {
    flex-basis: min(85%, 20rem);
  }
}

.people-cards__item {
  display: flex;
}

/* ══════════════════════════════════════════════════════════════════════
   CARD — shared
═══════════════════════════════════════════════════════════════════════ */

.people-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5);
  background-color: var(--c-white);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
}

.people-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.people-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

/* ── Name / role / meta ─────────────────────────────────────────────── */

.people-card__name {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--c-ink-900);
  margin: 0;
}

.people-card__role {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--c-blue-500);
  margin: 0;
}

.people-card__meta {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: var(--lh-base);
  color: var(--c-ink-500);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   PROFILE VARIANT — circle photo
═══════════════════════════════════════════════════════════════════════ */

.people-cards--profile .people-card__photo {
  flex-shrink: 0;
  width: 7rem;    /* structural — circle diameter */
  height: 7rem;
  border-radius: var(--r-circle);
  overflow: hidden;
  border: 3px solid var(--c-line-200);
}

/* ══════════════════════════════════════════════════════════════════════
   QUOTE VARIANT — rounded-rect photo + testimonial
═══════════════════════════════════════════════════════════════════════ */

.people-cards--quote .people-card {
  align-items: flex-start;
  text-align: left;
}

.people-cards--quote .people-card__body {
  align-items: flex-start;
}

.people-cards--quote .people-card__photo {
  flex-shrink: 0;
  width: 4.5rem;   /* structural — avatar size */
  height: 4.5rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line-200);
}

.people-card__quote {
  margin: 0;
}

.people-card__quote-text {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-base);
  color: var(--c-ink-700);
  margin: 0;
}

.people-card__quote-text::before {
  content: "\201C";
}

.people-card__quote-text::after {
  content: "\201D";
}

/* ══════════════════════════════════════════════════════════════════════
   TAGLINE
═══════════════════════════════════════════════════════════════════════ */

.people-cards__tagline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
}

.people-cards__tagline-icon {
  flex: none;
  display: inline-flex;
  line-height: 0;
}

.people-cards__tagline-icon svg {
  border-radius: 50%;
}

.people-cards__tagline {
  --_tagline-fs: 1.5rem; /* 24px — fixed, off the fluid type scale */
  display: block;
  font-family: var(--font-head);
  font-size: var(--_tagline-fs);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--c-accent-500);
  text-align: center;
  max-width: 46rem;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  /* Tablet — 2 cards per row */
  .people-cards__grid[data-cols="3"],
  .people-cards__grid[data-cols="4"] {
    --_cols: 2;
  }
}

@media (max-width: 768px) {
  /* Mobile — single column for all counts */
  .people-cards__grid[data-cols="2"],
  .people-cards__grid[data-cols="3"],
  .people-cards__grid[data-cols="4"] {
    --_cols: 1;
  }

  .people-card {
    padding: var(--sp-4);
  }

  .people-cards--profile .people-card__photo {
    width: 5.5rem;
    height: 5.5rem;
  }
}

@media (max-width: 375px) {
  /* All → 1-col */
  .people-cards__grid[data-cols="2"],
  .people-cards__grid[data-cols="3"],
  .people-cards__grid[data-cols="4"] {
    --_cols: 1;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   PROFILE FADE SLIDER — "Meet Your Mentors": 4 desktop / 3 tablet / 1
   mobile per view, no horizontal movement (opacity cross-fade only).
   Without JS (.people-cards--ready absent): plain static grid.
═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .people-cards--profile .people-cards__grid[data-cols="4"] {
    --_cols: 3;
  }
}

@media (max-width: 768px) {
  .people-cards--profile .people-cards__grid[data-cols="4"] {
    --_cols: 1;
  }
}

.people-cards--profile .people-cards__viewport {
  position: relative;
}

.people-cards--profile.people-cards--ready .people-cards__item {
  opacity: 1;
  transition: opacity 300ms var(--ease);
}

.people-cards--profile.people-cards--ready .people-cards__item[hidden] {
  display: none;
}

.people-cards--profile.people-cards--ready .people-cards__item.is-leaving {
  opacity: 0;
}

.people-cards--profile.people-cards--ready .people-cards__item.is-entering {
  opacity: 0;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .people-cards--profile.people-cards--ready .people-cards__item {
    transition: none;
  }
}

.people-cards__controls {
  display: none;
}

.people-cards--ready .people-cards__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}

.people-cards__prev,
.people-cards__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: var(--r-circle);
  border: 2px solid var(--c-ink-900);
  background: transparent;
  color: var(--c-ink-900);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}

.people-cards__prev:hover,
.people-cards__next:hover {
  background-color: var(--c-ink-900);
  color: var(--c-white);
}

.people-cards__prev:focus-visible,
.people-cards__next:focus-visible {
  outline: var(--outline-width) solid var(--c-blue-500);
  outline-offset: var(--outline-offset);
}

.people-cards__prev:disabled,
.people-cards__next:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .people-cards__prev,
  .people-cards__next {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   CAROUSEL VARIANT — one split-panel slide per view (quote cards)
   Left: dark quote panel (slider.js arrows repositioned here).
   Right: blue portrait panel — big name, underline bar, photo at bottom.
═══════════════════════════════════════════════════════════════════════ */

.people-cards__grid--carousel {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.people-cards__grid--carousel::-webkit-scrollbar {
  display: none;
}

.people-cards__grid--carousel > .people-cards__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
}

.people-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  width: 100%;
}

/* Left — dark quote panel */

.people-slide__quote-panel {
  display: flex;
  flex-direction: column;
  background: var(--c-navy-950);
  border-radius: var(--r-card);
  padding: var(--sp-7);
  /* room for the slider.js arrows pinned bottom-left */
  padding-bottom: calc( var(--sp-7) + var(--sp-8) );
  color: var(--c-white);
}

.people-slide__name-sm {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
  color: var(--c-white);
  margin: 0;
}

.people-slide__role-sm {
  font-size: var(--fs-small);
  color: var(--c-line-300);
  margin: var(--sp-1) 0 0;
}

.people-slide__quote {
  margin: var(--sp-6) 0 0;
}

.people-slide__quote p {
  font-family: var(--font-head);
  font-size: 25px; /* spec computed value — no matching type token */
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  color: var(--c-white);
  margin: 0;
}

/* Right — blue portrait panel */

.people-slide__portrait-panel {
  display: flex;
  background: var(--c-blue-500);
  border-radius: var(--r-card);
  overflow: hidden;
}


.people-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* slider.js arrows — pin bottom-left inside the quote panel, outline style */

.people-cards--quote .slider-wrap .slider-btn {
  top: auto;
  bottom: var(--sp-6);
  transform: none;
  background: transparent;
  color: var(--c-white);
  border: 2px solid var(--c-white);
  box-shadow: none;
}

.people-cards--quote .slider-wrap .slider-btn--prev {
  left: var(--sp-7);
}

.people-cards--quote .slider-wrap .slider-btn--next {
  left: calc( var(--sp-7) + var(--sp-8) );
  right: auto;
}

.people-cards--quote .slider-wrap .slider-btn:not(:disabled):hover,
.people-cards--quote .slider-wrap .slider-btn:focus-visible {
  color: var(--c-accent-400);
  border-color: var(--c-accent-400);
}

@media (max-width: 768px) {
  .people-slide {
    grid-template-columns: 1fr;
  }
  .people-slide__quote p {
    font-size: var(--fs-h3);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet — tighter quote panel */
  .people-slide__quote-panel {
    padding: 1.3rem;
    padding-bottom: calc( 1.3rem + var(--sp-8) );
  }
  .people-slide__quote p {
    font-size: var(--fs-small); /* 14px */
  }
}
