:root {
  --border: rgba(16, 24, 40, 0.08);
  --surface: #ffffff;
  --surface-2: #fafbff;
}

ul.list-scholar {
  text-align: left;
  list-style: none;
  max-width: 570px;
  margin: 20px auto 40px;
}

ul.list-scholar li {
  color: #333;
}

footer.rbt-footer {
  position: relative;
  z-index: 1;
  border-top: 4px solid var(--border);
  box-shadow: 0 -10px 24px rgba(16, 24, 40, 0.06);
}

/* ------------------ Banner (Full width) ------------------ */
.isa-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  position: relative; /* needed for overlay content */
}

.isa-banner__bg {
  height: 420px;
  background-size: cover;
  background-position: center;
}

.isa-banner--sm .isa-banner__bg {
  height: 280px;
}
.isa-banner--md .isa-banner__bg {
  height: 420px;
}
.isa-banner--lg .isa-banner__bg {
  height: 560px;
}

.isa-banner--overlay .isa-banner__bg {
  position: relative;
}
.isa-banner--overlay .isa-banner__bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* ✅ Banner content overlay (VERTICALLY CENTERED) */
.isa-banner__content {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center; /* vertical center */
  justify-content: center; /* horizontal center */
  padding: 0;
  pointer-events: none;
}

/* optional: readable soft overlay behind content */
.isa-banner__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: -1;
}

.isa-banner__content-inner {
  color: #fff;
  pointer-events: auto;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

.isa-banner__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

/* Breadcrumb */
.isa-breadcrumb {
  margin: 0;
}

.isa-breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center breadcrumb row */
  gap: 8px;
  padding: 0;
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  opacity: 0.95;
}

.isa-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.isa-breadcrumb__item:not(.is-current)::after {
  content: "›";
  opacity: 0.8;
}

.isa-breadcrumb__link {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.isa-breadcrumb__link:hover {
  text-decoration: underline;
}
.isa-breadcrumb__current {
  opacity: 0.9;
}

/* ------------------ Intro (2 columns) ------------------ */
.isa-intro-2col {
  padding: 50px 0 70px;
}
.isa-intro-2col__left,
.isa-intro-2col__right {
  padding-top: 10px;
}

.isa-eyebrow {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 16px;
  color: #1f1f1f;
}

.isa-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.15;
  color: #c78a1a;
  max-width: 360px;
}

.isa-text {
  line-height: 1.9;
  color: #666;
  max-width: 680px;
}
.isa-text ul {
  display: inline-block;
}
.isa-text ul li {
  margin-top: 0;
  font-size: 18px;
}

@media (max-width: 991px) {
  .isa-title {
    max-width: 100%;
  }
  .isa-text {
    max-width: 100%;
  }
}

/* ------------------ Hero (Image + Text) ------------------ */
.isa-hero-block {
  padding: 70px 0;
}

.isa-hero-block--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.isa-hero-block--white {
  background: #fff;
}
.isa-hero-block--light {
  background: #f6f6f6;
}
.isa-hero-block--dark {
  background: #111;
  color: #fff;
}

.isa-hero-block__title {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 900;
}

.isa-hero-block__text {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 22px;
  opacity: 0.85;
  max-width: 520px;
}

.isa-hero-block__media img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

@media (max-width: 991px) {
  .isa-hero-block__title {
    font-size: 40px;
  }
}

/* ------------------ Buttons ------------------ */
.isa-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  background: #c78a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

/* ------------------ Cards ------------------ */
.isa-cards {
  padding: 70px 0;
}

.isa-section-title {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 900;
}

.isa-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 100%;
}

.isa-card__img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.isa-card__body {
  padding: 16px;
}

.isa-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.isa-card__text {
  margin: 0 0 12px;
  color: #666;
  line-height: 1.7;
}

.isa-card__link {
  font-weight: 900;
  text-decoration: none;
  color: #c78a1a;
}

/* ------------------ CTA / Callouts ------------------ */
.callout {
  border-radius: 14px;
  border: 1px solid rgba(20, 184, 166, 0.25);
  background: rgba(20, 184, 166, 0.06);
  padding: 14px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
  justify-content: center;
}

.pill {
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  border: 1px solid var(--border);
  background: var(--surface);
}

.isa-cta {
  padding: 70px 0;
  background: #f7f7f7;
}

.isa-cta__box {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 26px;
  text-align: center;
}

.isa-cta__title {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 26px;
}

.isa-cta__text {
  margin: 0 0 14px;
  color: #666;
  line-height: 1.7;
}

/* Sections */
.isa-block {
  padding: 28px 0 60px;
}
.isa-block--shortcode {
  padding: 24px 0;
}

.isa-block--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.isa-block__title {
  margin: 0 0 30px;
  font-weight: 900;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  position: relative;
  display: inline-block;
}

/* underline */
.isa-block__title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 10px auto 0;
  background: #d4b372;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

.isa-block--html.is-inview .isa-block__title::after {
  transform: scaleX(1);
  opacity: 1;
}

/* If heading is left aligned, keep underline left */
.isa-block__title.isa-align-left::after{
  margin-left: 0;
  margin-right: auto;
  transform-origin: left;
}
/* If heading is right aligned, keep underline right */
.isa-block__title.isa-align-right::after{
  margin-left: auto;
  margin-right: 0;
  transform-origin: right;
}

.isa-block--html .isa-block__title.isa-align-left   { text-align: left; }
.isa-block--html .isa-block__title.isa-align-center { text-align: center; display: block; }
.isa-block--html .isa-block__title.isa-align-right  { text-align: right;display: block; }

/* ===== ISA Left Nav (sticky) ===== */
.isa-leftnav-wrap {
  padding: 28px 0 60px;
}

.isa-leftnav-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.isa-leftnav {
  position: sticky;
  top: 110px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 18px;
}

.isa-leftnav__title {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  margin: 6px 6px 14px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.isa-leftnav__menu {
  display: grid;
  gap: 10px;
}

.isa-leftnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease, background 0.12s ease;
}

.isa-leftnav__link::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
  opacity: 0.35;
  transform: translateX(-2px);
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.isa-leftnav__link:hover {
  transform: translateY(-1px);
  border-color: rgba(199, 138, 26, 0.4);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.isa-leftnav__link:hover::after {
  opacity: 0.75;
  transform: translateX(2px);
}

.isa-leftnav__link.is-active {
  background: rgba(199, 138, 26, 0.1);
  border-color: rgba(199, 138, 26, 0.55);
  box-shadow: inset 0 0 0 2px rgba(199, 138, 26, 0.18);
}

.isa-leftnav__link.is-active::after {
  opacity: 0.95;
  transform: translateX(2px);
}

/* Mobile toggle */
.isa-leftnav__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.isa-leftnav__toggle::after {
  content: "▾";
  opacity: 0.6;
}

@media (max-width: 991px) {
  .isa-leftnav-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .isa-leftnav {
    position: relative;
    top: auto;
  }

  .isa-leftnav__toggle {
    display: flex;
  }

  .isa-leftnav[data-collapsible="1"] .isa-leftnav__menu {
    display: none;
    margin-top: 12px;
  }

  .isa-leftnav.is-open[data-collapsible="1"] .isa-leftnav__menu {
    display: grid;
  }

  .isa-leftnav__title {
    display: none;
  }

  .isa-leftnav.is-open .isa-leftnav__toggle::after {
    content: "▴";
  }
}

/* =========================
   Mosaic section (1 big + 3)
   FIX: wide tile image not showing
   ========================= */

.isa-mosaic {
  padding: 40px 0 40px;
  background: #f3f6ff; /* like your screenshot */
}

.isa-mosaic__head {
  margin: 0 auto 22px;
  max-width: 820px;
  text-align: center;
}

/* Title */
.isa-mosaic__title {
  position: relative;
  display: inline-block;
  margin: 0 0 20px;
  font-weight: 900;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.15;
}

/* ---- Line after heading (animated) ---- */
.isa-mosaic__title::after {
  content: "";
  display: block;
  width: 140px;
  height: 3px;
  margin: 10px auto 0;
  background: #d4b372;
  border-radius: 999px;

  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}
.isa-mosaic.is-inview .isa-mosaic__title::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Subtitle */
.isa-mosaic__subtitle {
  margin: 0 auto;
  max-width: 780px;
  color: #333;
  opacity: 0.85;
  line-height: 1.8;
}

/* Grid wrapper card */
.isa-mosaic__grid {
  margin-top: 22px;
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}

/* Columns */
.isa-mosaic__left,
.isa-mosaic__right {
  display: grid;
  gap: 16px;
}

/* Right side structure */
.isa-mosaic__right {
  grid-template-rows: auto 1fr;
}
.isa-mosaic__right-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Tile base */
.isa-mosaic__tile {
  position: relative; /* ✅ required */
  display: block;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.isa-mosaic__tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

/* ✅ FIX: media must be absolute so it always fills the tile */
.isa-mosaic__media {
  position: absolute; /* ✅ important */
  inset: 0; /* ✅ fill parent */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* ✅ Make the FIRST (big) tile a bit more vertical */
.isa-mosaic__tile--big {
  min-height: 600px;
}
.isa-mosaic__tile--big .isa-mosaic__media {
  background-position: center left;
}

/* Wide tile */
.isa-mosaic__tile--wide {
  min-height: 250px;
}

/* Small tiles */
.isa-mosaic__tile--small {
  min-height: 250px;
}

/* Label bar like screenshot */
.isa-mosaic__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px);
  padding: 10px 12px;
  text-align: center;
  font-weight: 800;
  color: #d4b372;
  z-index: 2; /* ✅ keep label above image */
}

/* Mobile */
@media (max-width: 991px) {
  .isa-mosaic__grid {
    grid-template-columns: 1fr;
  }
  .isa-mosaic__tile--big {
    min-height: 420px;
  }
}
@media (max-width: 575px) {
  .isa-mosaic__right-bottom {
    grid-template-columns: 1fr;
  }
  .isa-mosaic__tile--wide,
  .isa-mosaic__tile--small {
    min-height: 220px;
  }
}

/* =========================
   Image Toggle Panels - TILE STYLE (like screenshot)
   ========================= */
.isa-itp--tiles {
  padding: 40px 0 70px;
  background: #fff;
}

.isa-itp--tiles .isa-itp__head {
  margin-bottom: 22px;
}

.isa-itp--tiles .isa-itp__grid--tiles {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  justify-content: center;
  align-items: stretch;
}

/* Tile button */
.isa-itp__card--tile {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  min-height: 350px; /* like screenshot */
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.isa-itp__card--tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.isa-itp__card--tile.is-active {
  outline: 3px solid rgba(212, 179, 114, 0.45);
}

/* Background layer: can be image OR solid color */
.isa-itp__tilebg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional: small dark overlay ONLY for image tiles (keeps text readable) */
.isa-itp__tilebg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

/* Centered content */
.isa-itp__tilecontent {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  gap: 14px; /* spacing between title, line, subtitle */
  left: 50%;
}

/* Big title (PYP / MYP style) */
.isa-itp__tiletitle {
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: clamp(34px, 3.2vw, 64px);
  line-height: 1;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  color: inherit; /* ✅ uses tilecontent color */
}

.isa-itp__tileline {
  display: block;
  width: 260px; /* tweak as needed */
  max-width: 100%;
  height: 3px;
  background: currentColor; /* ✅ same as title color */
  opacity: 0.95;
  margin: 0 auto;
}

/* Subtitle */
.isa-itp__tilesub {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.55;
  max-width: 560px;
  color: inherit; /* ✅ same as title color */
  text-decoration: none; /* ✅ remove underline from subtitle */
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.isa-itp__tilecontent {
  color: var(--itp-fg, #fff);
}
.isa-itp__tileline {
  background: var(--itp-line, rgba(255, 255, 255, 0.78));
}
.isa-itp__card--tile {
  border: var(--itp-bw, 0px) solid var(--itp-border, transparent);
}

/* IMPORTANT:
   On color-only cards, remove the dark overlay so the “opposite” title color is correct */
.isa-itp__card--tile .isa-itp__tilebg[style*="background-color"]::after {
  background: transparent;
}
.isa-itp__panel-title {
  margin-top: 40px;
}
.isa-itp__panel-body {
  padding-top: 40px;
}
/* Responsive */
@media (max-width: 991px) {
  .isa-itp--tiles .isa-itp__grid--tiles {
    grid-template-columns: 1fr;
  }
  .isa-itp__card--tile {
    min-height: 240px;
  }
  .isa-itp__tiletitle {
    letter-spacing: 0.22em;
  }
}

/* =========================
   Image Trio Section
   (UPDATED: supports layout "stack" + "left")
   ========================= */

.isa-trio {
  padding: 40px 0 40px;
}
.isa-trio--light {
  background: #f3f6ff;
}
.isa-trio--white {
  background: #fff;
}

/* -------- Head -------- */
.isa-trio__head {
  max-width: 900px;
  margin: 0 auto 34px;
}

.isa-trio.isa-trio--layout-left {
  background: rgb(255, 255, 255);
}

/* When layout is left, head should NOT be centered-width limited */
.isa-trio--layout-left .isa-trio__head {
  max-width: 100%;
  margin: 0 0 24px;
  text-align: left;
}

.isa-trio__title {
  margin: 0 0 30px;
  font-weight: 900;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  position: relative;
  display: inline-block;
}

/* underline */
.isa-trio__title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 10px auto 0;
  background: #d4b372;
  border-radius: 999px;

  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

/* when section is in view */
.isa-trio.is-inview .isa-trio__title::after {
  transform: scaleX(1);
  opacity: 1;
}

.isa-trio__sub_title {
  margin: 0 0 30px;
  font-weight: 900;
  line-height: 1.15;
  position: relative;
  display: inline-block;
}

.isa-trio__sub_title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 10px auto 0;
  background: #d4b372;
  border-radius: 999px;

  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

.isa-trio.is-inview .isa-trio__sub_title::after {
  transform: scaleX(1);
  opacity: 1;
}

/* OPTIONAL: if Trio title is left aligned in "left layout" */
.isa-trio--layout-left .isa-trio__title::after {
  margin: 10px 0 0; /* underline aligns left instead of centered */
  transform-origin: left;
}

/* left layout underline should align left */
.isa-trio--layout-left .isa-trio__title::after {
  margin-left: 0;
  margin-right: auto;
}

.isa-trio__text {
  max-width: 820px;
  margin: 0 auto;
  color: #333;
  opacity: 0.85;
  line-height: 1.8;
}

.isa-trio__text ul {
  text-align: left;
}

/* left layout text should not be centered max-width */
.isa-trio--layout-left .isa-trio__text {
  max-width: 100%;
  margin: 0;
}

/* Extra shortcode output */
.isa-trio__extra {
  margin-top: 14px;
}

/* -------- Default cards grid -------- */
.isa-trio__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  justify-content: center;
}

.isa-trio__card {
  display: block;
  background: #fff;
  border-radius: 0;
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.isa-trio__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.isa-trio__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* If your shortcode returns staff cards inside the head */
.isa-trio__head .staff-dir .staff-card {
  justify-content: center;
}

/* =========================
   NEW: Layout "left"
   Images on left, editor content on right
   ========================= */
.isa-trio__split {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.isa-trio__splitLeft .isa-trio__grid {
  /* left column should be 1 column (stacked images) */
  grid-template-columns: 1fr;
  gap: 18px;
}

/* keep the same card look; just reduce padding a bit for left column */
.isa-trio__splitLeft .isa-trio__card {
  padding: 14px;
}

/* Make images a bit more rectangular in left column if you want */
.isa-trio__splitLeft .isa-trio__img {
  aspect-ratio: 4 / 4;
}

/* Right column spacing */
.isa-trio__splitRight {
  min-width: 0;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 991px) {
  /* default grid */
  .isa-trio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* left layout becomes stacked */
  .isa-trio__split {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .isa-trio__splitLeft .isa-trio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .isa-trio__splitLeft .isa-trio__img {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 575px) {
  .isa-trio__grid {
    grid-template-columns: 1fr;
  }

  .isa-trio__splitLeft .isa-trio__grid {
    grid-template-columns: 1fr;
  }
}

/* ISA Athletics */
.isa-athletics {
  padding: 56px 0;
  background: #fff;
}
.isa-athletics--light {
  background: #f5f6fa;
}

.isa-athletics__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.isa-athletics__title {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: clamp(24px, 2vw, 40px);
  line-height: 1.15;
}

.isa-athletics__intro {
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
  max-width: 540px;
}

.isa-athletics__seasons {
  margin-top: 22px;
  background: #fff;
  overflow: hidden;
}

.isa-season {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(16, 24, 40, 0.1);
}
.isa-season:first-child {
  border-top: 0;
}

.isa-season__media {
  width: 140px;
  height: 105px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  flex: 0 0 auto;
}
.isa-season__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.isa-season__title {
}

.isa-season__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
}
.isa-chip {
  font-size: 14px;
  line-height: 1;
}
.isa-season__chips span + span::before {
  content: "|";
  margin-right: 1.4rem;
  opacity: 0.45;
}
.isa-athletics__director {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 24, 40, 0.1);
  text-align: center;
}
.isa-athletics__director-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #667085;
  text-transform: uppercase;
}
.isa-athletics__director-name {
  margin-top: 6px;
  font-weight: 800;
}
.isa-athletics__director-email {
  display: inline-block;
  margin-top: 4px;
  font-weight: 800;
  color: #d4b372;
  text-decoration: none;
}
.isa-athletics__director-email:hover {
  text-decoration: underline;
}

/* keep the hero and image behaving nicely */
.isa-athletics__hero {
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
}

.isa-athletics__hero img {
  width: 100%;
  height: 846px;
  object-fit: cover;
  display: block;
}
/* Make the right image extend to the screen edge */
.isa-athletics__grid {
  /* keep your grid, but allow overflow */
  overflow: visible;
}

/* the column itself */
.isa-athletics__right {
  /* pull it out of the container to the right */
  margin-right: calc(50% - 50vw);
}
.isa-athletics__right {
  padding-right: 0;
}
/* optional: keep a little breathing room on very small screens */
@media (max-width: 991px) {
  .isa-athletics__right {
    margin-right: 0; /* stacked layout, normal */
  }
}

@media (max-width: 991px) {
  .isa-athletics__grid {
    grid-template-columns: 1fr;
  }
  .isa-athletics__hero img {
    height: 380px;
  }
}

/* END ISA Athletics */

/* Start  */
/* Advisory inline layout (image floats inside text) */
.isa-csi2 {
  padding: 56px 0;
  background: #fff;
}
.isa-csi2--light {
  background: #f5f6fa;
}

.isa-csi2__head {
  margin-bottom: 22px;
}
.isa-csi2__title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(26px, 2.2vw, 44px);
  line-height: 1.15;
}

/* Content block */
.isa-csi2__body {
  color: #1f2a3a;
  font-size: 15px;
  line-height: 1.8;
}

/* Float image INSIDE content (like screenshot) */
.isa-csi2__float {
  float: right;
  margin: 6px 0 18px 28px; /* top right bottom left */
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.1);
}

.isa-csi2__float img {
  display: block;
  width: 100%;
  height: auto;
}

.isa-csi2__float figcaption {
  padding: 10px 12px;
  font-size: 12px;
  color: #667085;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

/* width options */
.isa-csi2--img-sm .isa-csi2__float {
  width: 280px;
}
.isa-csi2--img-md .isa-csi2__float {
  width: 360px;
} /* matches screenshot feel */
.isa-csi2--img-lg .isa-csi2__float {
  width: 440px;
}

/* Make headings + lists look like your screenshot */
.isa-csi2__body h2,
.isa-csi2__body h3,
.isa-csi2__body h4 {
  margin: 18px 0 10px;
  font-weight: 800;
}
.isa-csi2__body p {
  margin: 0 0 14px;
}
.isa-csi2__body ul,
.isa-csi2__body ol {
  margin: 0 0 16px 22px;
  color: rgb(31, 42, 58);
}
.isa-csi2__body li {
  margin: 6px 0;
  color: rgb(31, 42, 58);
}

/* Mobile: remove float, stack naturally */
@media (max-width: 991px) {
  .isa-csi2__float {
    float: none;
    width: 100% !important;
    margin: 0 0 16px 0;
  }
}

/* End */

/* ======================================================
 * 3) CSS (add to your theme CSS / page builder CSS)
 *    Matches the “centered card with image + text” look
 * ====================================================== */
/* ======================================================
   Featured Card Section (FULL CSS)
   - Top-only background wash (like your screenshot)
   - Rest of section is full-width WHITE
   - White card with shadow inside container
   ====================================================== */

/* Base */
/* ======================================================
   Featured Card Section (FULL CSS) — WITH CONTRAST COLORS
   (Cyan = title bar, Maroon = media area) for debugging
   ====================================================== */
/* ======================================================
   Featured Card (ISA) — Full CSS
   - Top-only wash (optional)
   - Full-width strip behind image
   - Center card with shadow
   - Optional debug mode
   ====================================================== */

.isa-featured-card {
  position: relative;
  padding: 120px 0 90px;
  background: #fff;
  overflow: hidden;
}

/* Background variants */
.isa-featured-card--white {
  background: #fff;
}
.isa-featured-card--none {
  background: transparent;
}

/* Top-only wash (ONLY for light) */
.isa-featured-card--light {
  background: #fff; /* keep full section white */
}
.isa-featured-card--light::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 240px; /* top-only area */
  background: radial-gradient(
      1100px 220px at 50% -40px,
      rgba(56, 130, 246, 0.14),
      rgba(56, 130, 246, 0) 70%
    ),
    linear-gradient(to bottom, rgba(86, 184, 201, 0.14), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}
.isa-featured-card--light::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 240px;
  background: radial-gradient(
    900px 120px at 50% 0,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* Keep inner content above the background layers */
.isa-featured-card .container {
  position: relative;
  z-index: 1;
}

/* Card */
.isa-featured-card__card {
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.12);
  padding: 0;
  overflow: hidden; /* keeps clean rounded corners */
}
.isa-featured-card__card--md {
  max-width: 920px;
}
.isa-featured-card__card--lg {
  max-width: 1100px;
}

/* Header (title area) */
.isa-featured-card__header {
  background: #fff;
}
.isa-featured-card__title {
  margin: 0;
  padding: 40px 34px 60px;
  text-align: center;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  color: #0f172a;
}

/* The STRIP wrapper (creates full-width background behind image) */
.isa-featured-card__strip {
  position: relative;
}
.isa-featured-card__strip::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* FULL viewport width */
  top: 0;
  bottom: 0;
  background: #fff; /* real design default is white */
  z-index: 0;
}

/* Media area */
.isa-featured-card__media {
  position: relative;
  z-index: 1; /* above strip */
  margin: 0;
  background: #fff;
}
.isa-featured-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content below image (inside same card) */
.isa-featured-card__content {
  background: #fff;
}
.isa-featured-card__body {
  padding: 22px 0 40px 0;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  color: #445065;
}
.isa-featured-card__help {
  padding: 12px 34px 26px;
  text-align: center;
  color: #0f172a;
}

/* Debug mode (your contrast colors) */
.isa-featured-card--debug .isa-featured-card__header {
  background: #00c8ff; /* CYAN debug */
}
.isa-featured-card--debug .isa-featured-card__title {
  background: #00c8ff;
}
.isa-featured-card--debug .isa-featured-card__strip::before {
  background: #6b0000; /* MAROON debug */
}

/* Mobile */
@media (max-width: 767px) {
  .isa-featured-card {
    padding: 50px 0 60px;
  }
  .isa-featured-card__title {
    padding: 22px 18px;
  }
  .isa-featured-card__body {
    padding: 16px 18px 0;
  }
  .isa-featured-card__help {
    padding: 10px 18px 18px;
  }
}

/* ============================
   Split Image + Content
   ============================ */

.isa-split {
  padding: 40px 0;
  position: relative;
}

/* Bootstrap container can stay normal; this just gives a bigger max width if you want */
.isa-split__container--lg {
  max-width: 1240px;
}

.isa-split__grid {
  position: relative;
}

/* Columns */
.isa-split__col--media {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* placeholder only used by sticky JS */
.isa-split__sticky-ph {
  height: 0;
}

/* Media box */
.isa-split__media {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #f3f3f3;

  /* for MATCH mode */
  min-height: var(--split-min, 320px);
  flex: 1;
}

/* Image */
.isa-split__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Content padding (right side feels padded inside container) */
.isa-split__col--content {
  display: flex;
}
.isa-split__card {
  width: 100%;
}
@media (max-width: 991px) {
  .isa-split__card {
    padding: 20px 16px;
  }
}

/* Title */
.isa-split__title {
  margin: 0 0 14px;
  font-weight: 900;
  font-size: clamp(28px, 2.2vw, 44px);
  line-height: 1.1;
}

/* ========== Image Style options ========== */

/* none */
.isa-split--imgstyle-none .isa-split__media {
  border-radius: 0;
  background: transparent;
}

/* framed (border + shadow) */
.isa-split__media--frame {
  border: 1px solid rgba(212, 179, 114, 0.45);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
}

/* matte (like your 2nd screenshot: image inside white mat + gold border) */
.isa-split__media--matte {
  background: #fff;
  padding: 18px;
  border-radius: 18px;
  border: 4px solid rgba(212, 179, 114, 0.7);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}
.isa-split__media--matte img {
  border-radius: 12px;
}

/* ========== Height modes ========== */

/* MATCH content height (default): media fills column height */
.isa-split--imgmode-match .isa-split__media {
  min-height: var(--split-min, 320px);
}

/* FIXED height */
.isa-split--imgmode-fixed .isa-split__media {
  height: var(--split-img-fixed, 620px);
  min-height: var(--split-min, 320px);
}

/* STICKY uses JS, but we still need a “nice base” */
.isa-split--imgmode-sticky .isa-split__media {
  min-height: var(--split-min, 320px);
}

/* ========== Half-bleed behavior (CSS only when NOT fixed by JS) ========== */
/* Important: JS will add .is-fixed, so this rule won’t fight JS widths */
@media (min-width: 992px) {
  .isa-split--bleed.isa-split--img-left .isa-split__media:not(.is-fixed) {
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
  }
  .isa-split--bleed.isa-split--img-right .isa-split__media:not(.is-fixed) {
    width: calc(50vw + 50%);
    margin-right: calc(50% - 50vw);
    margin-left: 0;
  }

  /* if image is on RIGHT we want content padding on LEFT a bit more */
  .isa-split--img-right .isa-split__card {
    padding-left: 34px;
    padding-right: 10px;
  }
  /* if image is on LEFT we want content padding on RIGHT */
  .isa-split--img-left .isa-split__card {
    padding-right: 34px;
    padding-left: 10px;
  }
}

/* On mobile: no bleed, normal stack */
@media (max-width: 991px) {
  .isa-split__media {
    border-radius: 16px;
  }
  .isa-split--bleed .isa-split__media {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* make sure your row uses gutters */
.isa-split__grid.row {
  --bs-gutter-x: 40px; /* gap between columns */
  --bs-gutter-y: 0;
}

/* optional: reduce gap on smaller screens */
@media (max-width: 991px) {
  .isa-split__grid.row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 18px; /* gap when stacked */
  }
}

/* =========================
   Pill Links (Outlined Buttons)
   ========================= */
.isa-pill-links {
  padding: 34px 0;
  --isa-pill-accent: #d4b372;
  --isa-pill-text: #0f172a;
}

.isa-pill-links__head {
  text-align: center;
  margin: 0 0 16px;
}
.isa-pill-links--align-left .isa-pill-links__head {
  text-align: left;
}

.isa-pill-links__title {
  margin: 0 0 20px;
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 36px);
  color: var(--isa-pill-text);
}
.isa-pill-links__intro {
  margin: 0;
  color: #445065;
}

/* Grid */
.isa-pill-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
  justify-content: center;
}
.isa-pill-links--align-left .isa-pill-links__grid {
  justify-content: flex-start;
}

/* Optional fixed columns */
.isa-pill-links--cols-2 .isa-pill-links__grid,
.isa-pill-links--cols-3 .isa-pill-links__grid,
.isa-pill-links--cols-4 .isa-pill-links__grid {
  display: grid;
  gap: 20px 20px;
  justify-content: start;
}
.isa-pill-links--cols-2 .isa-pill-links__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.isa-pill-links--cols-3 .isa-pill-links__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.isa-pill-links--cols-4 .isa-pill-links__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .isa-pill-links--cols-3 .isa-pill-links__grid,
  .isa-pill-links--cols-4 .isa-pill-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .isa-pill-links--cols-2 .isa-pill-links__grid,
  .isa-pill-links--cols-3 .isa-pill-links__grid,
  .isa-pill-links--cols-4 .isa-pill-links__grid {
    grid-template-columns: 1fr;
  }
}

/* Button */
.isa-pill-links__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 18px;
  border-radius: 20px;

  font-weight: 700;

  line-height: 1;

  text-decoration: none;
  white-space: nowrap;

  border: 2px solid rgba(212, 179, 114, 0.75);
  border-color: color-mix(in srgb, var(--isa-pill-accent) 75%, transparent);

  color: #0f172a;
  background: transparent;

  transition: transform 160ms ease, background-color 200ms ease,
    border-color 200ms ease, box-shadow 200ms ease;
}

.isa-pill-links--solid .isa-pill-links__btn {
  background: color-mix(in srgb, var(--isa-pill-accent) 16%, white);
  border-color: color-mix(in srgb, var(--isa-pill-accent) 65%, transparent);
}

.isa-pill-links__btn:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--isa-pill-accent) 12%, white);
  border-color: color-mix(in srgb, var(--isa-pill-accent) 95%, transparent);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.1);
}

.isa-pill-links__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 179, 114, 0.25),
    0 10px 22px rgba(16, 24, 40, 0.1);
}


/* Calendar Card */
.calendar-card {
  width: min(520px, 100%);
  min-height: 170px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 26px 18px;
  text-decoration: none;
  text-align: center;
  margin: 0 auto;
  background: #efe2c8; /* beige fill */
  border: 2px solid #d4b372; /* gold border */
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.1);
}

.calendar-card__icon {
  width: 200px;
  display: grid;
  place-items: center;
}

.calendar-card__title {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #111;
}

/* Hover */
.calendar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.14);
}

.calendar-card:focus-visible {
  outline: 3px solid rgba(212, 179, 114, 0.55);
  outline-offset: 4px;
}

/* End Calendar Card */