/* =========================================================
   SD Edu: venture, partner and reason pages
   Colours come from site.css: --kemar, --lapis, --gold, --paper
   Fonts come from site.css (Montserrat)
   ========================================================= */

/* ---------- Shared labels and sections ---------------------------- */

/* ---------- Slider starts below the navigation bar ---------- */
:root {
  --header-h: 80px;   /* change this to your navigation bar's real height */
}



@media (max-width: 760px) {
  :root { --header-h: 64px; }
}

.md-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--kemar);
  margin: 0 0 1rem;
}

.md-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.md-section--tint {
  background: var(--paper-2);
}

.md-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.md-head h2 {
  margin-bottom: .6rem;
}

.md-head p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.05rem;
}

.md-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.md-prose {
  max-width: 70ch;
}

.md-prose p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Font for venture and section titles only */
.md-venture__title,
.md-head h2,
.md-partner__name {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Buttons ---------- */

.md-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--kemar);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(156, 59, 39, .8);
  transition: transform .2s ease, box-shadow .2s ease;
}

.md-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(156, 59, 39, .9);
}

.md-btn--light {
  background: var(--gold);
  color: var(--lapis-deep);
  box-shadow: 0 10px 24px -14px rgba(255, 107, 0, .9);
}

.md-btn--ghost {
  background: transparent;
  color: var(--kemar);
  border: 2px solid var(--kemar);
  box-shadow: none;
}

.md-btn--ghost:hover {
  background: var(--kemar);
  color: var(--paper);
}

/* ---------- Chips ---------- */

.md-chip {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(21, 50, 78, .08);
  color: var(--lapis);
}

.md-chip--kemar {
  background: rgba(156, 59, 39, .1);
  color: var(--kemar);
}

.md-chip--gold {
  background: rgba(255, 107, 0, .12);
  color: #B84A00;
}

/* ---------- Plain hero ---------- */

.md-hero {
  position: relative;
  overflow: hidden;
  background: var(--lapis);
  color: var(--paper);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.md-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255, 107, 0, .25), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(156, 59, 39, .4), transparent 65%);
}

.md-hero>.shell {
  position: relative;
}

.md-hero h1 {
  color: var(--paper);
  max-width: 18ch;
}

.md-hero .md-eyebrow {
  color: var(--gold);
}

.md-hero .md-lead {
  color: rgba(245, 242, 234, .82);
}

.md-hero--compact {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

/* ---------- Slider hero ---------- */
.md-slider {
  position: relative;
  z-index: 1;
  margin-top: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 460px;
}

.md-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.md-slide.is-active {
  opacity: 1;
}

.md-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 35, 56, .15) 0%, rgba(13, 35, 56, .55) 55%, rgba(13, 35, 56, .92) 100%);
}

/* Title block: pinned to the left edge */
.md-slider__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(4.5rem, 9vw, 6rem);
  z-index: 2;
}

.md-slider__copy .shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  text-align: left;
}

.md-slider__copy h1 {
  color: var(--paper);
  max-width: 16ch;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  text-align: left;
}

.md-slider__copy .md-eyebrow {
  color: var(--gold);
  text-align: left;
}

.md-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.md-dot {
  display: block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(245, 242, 234, .6);
  transition: all .3s ease;
}

.md-dot.is-active {
  width: 28px;
  background: var(--gold);
}

@media (max-width: 560px) {
  .md-dots {
    bottom: 1.1rem;
  }
}

/* ---------- Stats strip ---------- */

.md-stats {
  position: relative;
  z-index: 3;
  margin-top: -3rem;
}

.md-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -34px rgba(15, 28, 24, .55);
}

.md-stat {
  background: var(--paper);
  padding: 1.6rem 1.5rem;
}

.md-stat__num {
  display: block;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lapis);
  line-height: 1;
  letter-spacing: -.03em;
}

.md-stat__label {
  display: block;
  margin-top: .45rem;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */

.md-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.md-service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.md-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -30px rgba(15, 28, 24, .5);
}

.md-service__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  background: rgba(156, 59, 39, .1);
  color: var(--kemar);
}

.md-service--blue .md-service__icon {
  background: rgba(21, 50, 78, .1);
  color: var(--lapis);
}

.md-service__icon svg {
  width: 28px;
  height: 28px;
}

.md-service h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.md-service p {
  color: var(--ink-soft);
  margin: 0;
  font-size: .97rem;
}

/* ---------- Reasons (older card style, kept) ---------- */

.md-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.md-reason {
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.md-reason::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, .18), transparent 70%);
}

.md-reason__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1.2rem;
  background: var(--lapis);
  color: var(--gold);
}

.md-reason__icon svg {
  width: 26px;
  height: 26px;
}

.md-reason h3 {
  font-size: 1.15rem;
  margin-bottom: .45rem;
}

.md-reason p {
  color: var(--ink-soft);
  margin: 0;
  font-size: .95rem;
}

/* ---------- Partner cards (venture page) ---------- */

.md-partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.md-partner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.md-partner:hover {
  transform: translateY(-5px);
  border-color: rgba(156, 59, 39, .35);
  box-shadow: 0 26px 50px -32px rgba(15, 28, 24, .55);
}

.md-partner__logo {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--lapis);
}

.md-partner__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .7rem;
}

.md-partner__name {
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.15;
}

.md-partner__loc {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.md-partner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.md-partner__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--kemar);
}

/* ---------- Ventures listing ---------- */

.md-venture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.md-venture {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 2.25rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.md-venture::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--kemar), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.md-venture:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -36px rgba(15, 28, 24, .6);
}

.md-venture:hover::before {
  transform: scaleX(1);
}

.md-venture__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.md-venture__num {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--ink-soft);
}

.md-venture__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.md-venture__title {
  font-size: 1.4rem;
  margin: .4rem 0 0;
  line-height: 1.12;
}

.md-venture__text {
  color: var(--ink-soft);
  margin: 0;
  font-size: .98rem;
}

.md-venture__more {
  margin-top: auto;
  padding-top: .5rem;
  font-weight: 700;
  color: var(--kemar);
}

/* ---------- Partner hero ---------- */

.md-hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  align-items: center;
}

.md-logo-xl {
  width: 132px;
  height: 132px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  color: var(--lapis);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.md-logo-xl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .9rem;
}

.md-hero__copy {
  flex: 1;
  min-width: 260px;
}

.md-hero__copy p {
  color: rgba(245, 242, 234, .82);
  max-width: 60ch;
  margin: 0;
}

.md-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, .7);
}

.md-back:hover {
  color: var(--gold);
}

/* ---------- Search ---------- */

.md-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.md-search {
  width: 100%;
  max-width: 520px;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-size: .98rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.md-search:focus {
  outline: none;
  border-color: var(--kemar);
  box-shadow: 0 0 0 4px rgba(156, 59, 39, .12);
}

.md-count {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.md-empty {
  color: var(--ink-soft);
  margin-top: 1.5rem;
}

[hidden] {
  display: none !important;
}

/* ---------- Colleges (older list style, kept) ---------- */

.md-colleges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr));
  gap: 1.5rem;
}

.md-college {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: box-shadow .25s ease, transform .25s ease;
}

.md-college:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -34px rgba(15, 28, 24, .55);
}

.md-college__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.md-college__logo {
  width: 58px;
  height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--lapis);
  font-family: var(--display);
  font-weight: 800;
}

.md-college__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .35rem;
}

.md-college__head>div {
  flex: 1;
  min-width: 0;
}

.md-college__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0;
}

.md-college__loc {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: .2rem 0 0;
}

.md-level {
  display: grid;
  gap: .5rem;
}

.md-level__title {
  justify-self: start;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

.md-level--diploma .md-level__title {
  background: rgba(21, 50, 78, .1);
  color: var(--lapis);
}

.md-level--bachelor .md-level__title {
  background: rgba(156, 59, 39, .1);
  color: var(--kemar);
}

.md-level--postgraduate .md-level__title {
  background: rgba(255, 107, 0, .13);
  color: #B84A00;
}

.md-programs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .3rem;
}

.md-program {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem .8rem;
  border-radius: 12px;
  background: var(--paper);
  font-size: .95rem;
}

.md-program em {
  font-style: normal;
  font-size: .78rem;
  color: var(--ink-soft);
  margin-left: .35rem;
}

.md-program__dur {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.md-note {
  color: var(--ink-soft);
  margin: 0;
  font-size: .95rem;
}

/* ---------- Fees (card style, kept) ---------- */

.md-fees {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.md-fee {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.8rem;
}

.md-fee__title {
  font-size: 1.12rem;
  margin-bottom: 1rem;
}

.md-fee__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}

.md-fee__row strong {
  font-family: var(--display);
  white-space: nowrap;
  color: var(--lapis);
}

/* ---------- Reviews (venture page) ---------- */

.md-reviews-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.25rem;
}

.md-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.md-review {
  margin: 0;
  padding: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow .25s ease;
}

.md-review:hover {
  box-shadow: 0 24px 50px -34px rgba(15, 28, 24, .5);
}

.md-review__stars {
  color: var(--gold);
  letter-spacing: .15em;
  font-size: 1.05rem;
}

.md-review__stars span {
  color: rgba(15, 28, 24, .18);
}

.md-review blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.6;
}

.md-review figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.md-review__name {
  font-weight: 700;
}

.md-review__role {
  font-size: .82rem;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

/* ---------- FAQ: full width of the section ---------- */
.md-faq {
  max-width: none;
  width: 100%;
  
 
}

.md-faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.md-faq__item + .md-faq__item {
  margin-top: 1.25rem !important;
}

.md-faq__item[open] {
  border-color: rgba(156, 59, 39, .35);
  box-shadow: 0 18px 40px -30px rgba(15, 28, 24, .5);
}

.md-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
}

.md-faq__item summary::-webkit-details-marker {
  display: none;
}

.md-faq__chev {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--kemar);
  transition: transform .25s ease;
}

.md-faq__item[open] .md-faq__chev {
  transform: rotate(45deg);
}

.md-faq__body {
  padding: 0 1.5rem 1.4rem;
  color: var(--ink-soft);
  margin: 0;
}

.md-faq__more {
  margin-top: 1.5rem;
}

/* ---------- Enquiry and CTA ---------- */

.md-cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 4.2rem);
  background: linear-gradient(135deg, var(--lapis) 0%, var(--lapis-deep) 100%);
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.md-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, .35), transparent 65%);
  pointer-events: none;
}

.md-cta>* {
  position: relative;
  z-index: 1;
}

.md-cta h2 {
  color: var(--paper);
  margin-bottom: .5rem;
}

.md-cta p {
  color: rgba(245, 242, 234, .8);
  max-width: 52ch;
  margin: 0;
}

.md-cta .md-eyebrow {
  color: var(--gold);
}

.md-qr-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.md-qr {
  margin: 0;
  background: #fff;
  border-radius: 20px;
  padding: 1.1rem;
  text-align: center;
  color: var(--ink);
  min-width: 200px;
}

.md-qr__img {
  display: block;
}

.md-qr__img img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto;
}

.md-qr__cap {
  display: block;
  margin-top: .6rem;
}

.md-qr__cap strong {
  display: block;
  font-size: .95rem;
}

.md-qr__cap span {
  font-size: .8rem;
  color: var(--ink-soft);
}

/* ---------- Motion ---------- */

.reveal {
  transition: opacity .6s ease, transform .6s ease;
}

/* ---------- Video colleges (partner page) ---------- */

.vc-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

.vc-toolbar .md-search {
  max-width: 560px;
}

.vc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.vc-filter {
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.vc-filter:hover {
  border-color: var(--kemar);
  color: var(--kemar);
}

.vc-filter.is-active {
  background: var(--kemar);
  border-color: var(--kemar);
  color: var(--paper);
}

.vc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.6rem;
}

.vc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.vc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -32px rgba(15, 28, 24, .55);
}

.vc-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  color: var(--paper);
  background: linear-gradient(135deg, var(--lapis) 0%, var(--lapis-deep) 100%);
}

.vc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.vc-media:hover img {
  transform: scale(1.05);
}

.vc-media__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -.04em;
  color: rgba(245, 242, 234, .85);
}

.vc-media__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 35, 56, 0) 35%, rgba(13, 35, 56, .78) 100%);
}

.vc-media__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--lapis-deep);
  box-shadow: 0 0 0 10px rgba(255, 107, 0, .22);
  transition: transform .25s ease;
}

.vc-media__play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

.vc-media:hover .vc-media__play {
  transform: scale(1.08);
}

.vc-media__label {
  position: absolute;
  left: 1rem;
  bottom: .85rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
}

.vc-media.is-soon {
  cursor: default;
}

.vc-media.is-soon:hover img {
  transform: none;
}

.vc-media.is-soon .vc-media__play {
  background: rgba(245, 242, 234, .18);
  color: var(--paper);
  box-shadow: none;
}

.vc-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.3rem 1.4rem 1.45rem;
  flex: 1;
}

.vc-head {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.vc-logo {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--lapis);
  font-family: var(--display);
  font-weight: 800;
  font-size: .9rem;
}

.vc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .3rem;
}

.vc-head>div {
  min-width: 0;
}

.vc-head h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
}

.vc-head p {
  margin: .2rem 0 0;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.vc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.vc-programs {
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}

.vc-programs summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: .92rem;
  color: var(--kemar);
}

.vc-programs summary::-webkit-details-marker {
  display: none;
}

.vc-programs summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .2s ease;
}

.vc-programs[open] summary::after {
  content: "−";
}

.vc-programs[open] summary {
  margin-bottom: .8rem;
}

.vc-programs .md-level {
  margin-bottom: .9rem;
}

.vc-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.vc-modal[hidden] {
  display: none !important;
}

.vc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 35, 56, .84);
  backdrop-filter: blur(6px);
}

.vc-modal__box {
  position: relative;
  width: min(960px, 100%);
  padding: .75rem;
  border-radius: 22px;
  background: var(--lapis-deep);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
}

.vc-modal__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.vc-modal__stage iframe,
.vc-modal__stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vc-modal__title {
  margin: .9rem .4rem .3rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--paper);
}

.vc-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--lapis-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(255, 107, 0, .9);
}

@media (max-width: 560px) {
  .vc-modal__close {
    top: .4rem;
    right: .4rem;
  }

  .vc-modal__box {
    padding: .5rem;
    border-radius: 16px;
  }
}

/* ---------- Fee tables (partner page) ---------- */

.fx-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1.75rem;
  align-items: start;
}

.fx-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 28, 24, .04), 0 20px 40px -32px rgba(15, 28, 24, .5);
}

.fx-table-title {
  margin: 0;
  padding: 1.2rem 1.5rem;
  background: var(--lapis);
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1.25;
}

.fx-table-wrap:nth-child(even) .fx-table-title {
  background: var(--kemar);
}

.fx-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.fx-table th {
  text-align: left;
  padding: .85rem 1.5rem;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.fx-table td {
  padding: .9rem 1.5rem;
  color: var(--ink-soft);
  line-height: 1.4;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.fx-table tbody tr:nth-child(even) td {
  background: rgba(245, 242, 234, .55);
}

.fx-table tbody tr:last-child td {
  border-bottom: 0;
}

.fx-table tbody tr:hover td {
  background: rgba(156, 59, 39, .06);
  color: var(--ink);
}

.fx-num {
  text-align: right;
  white-space: nowrap;
}

.fx-table td.fx-num {
  font-family: var(--display);
  font-weight: 800;
  color: var(--lapis);
  font-variant-numeric: tabular-nums;
}

.fx-table-wrap:nth-child(even) .fx-table td.fx-num {
  color: var(--kemar);
}

@media (max-width: 560px) {
  .fx-table-title {
    padding: 1rem 1.1rem;
  }

  .fx-table th,
  .fx-table td {
    padding: .75rem 1rem;
  }

  .fx-table th {
    font-size: .62rem;
  }

  .fx-table td.fx-num {
    font-size: .92rem;
  }
}

/* ---------- Why study: cards (venture page) and detail page ---------- */

.wr-tone-kemar {
  --tone: var(--kemar);
  --tone-text: var(--kemar);
  --tone-fg: var(--paper);
  --tone-bg: rgba(156, 59, 39, .08);
}

.wr-tone-lapis {
  --tone: var(--lapis);
  --tone-text: var(--lapis);
  --tone-fg: var(--paper);
  --tone-bg: rgba(21, 50, 78, .08);
}

.wr-tone-gold {
  --tone: var(--gold);
  --tone-text: #B84A00;
  --tone-fg: var(--lapis-deep);
  --tone-bg: rgba(255, 107, 0, .1);
}

.wr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.wr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.25rem 1.9rem 1.7rem;
  border-radius: 22px;
  background: var(--tone-bg);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.wr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -32px rgba(15, 28, 24, .55);
}

.wr-card__num {
  position: absolute;
  top: -12px;
  left: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tone);
  color: var(--tone-fg);
  font-family: var(--display);
  font-weight: 800;
  font-size: .82rem;
  box-shadow: 0 0 0 4px var(--paper);
}

.wr-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tone);
  color: var(--tone-fg);
}

.wr-card__icon svg,
.wr-hero__icon svg {
  width: 46%;
  height: 46%;
}

.wr-card__body h3 {
  font-size: 1.18rem;
  margin: 0 0 .45rem;
  color: var(--tone-text);
}

.wr-card__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
}

.wr-card__more {
  margin-top: auto;
  font-weight: 700;
  font-size: .92rem;
  color: var(--tone-text);
}

.wr-hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: linear-gradient(135deg, var(--tone-bg) 0%, var(--paper) 70%);
}

.wr-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 2rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.wr-crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.wr-crumbs a:hover {
  color: var(--kemar);
}

.wr-crumbs span {
  opacity: .5;
}

.wr-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.wr-hero__icon {
  width: 130px;
  height: 130px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tone);
  color: var(--tone-fg);
  box-shadow: 0 30px 60px -34px rgba(15, 28, 24, .6);
}

.wr-hero__copy {
  flex: 1;
  min-width: 280px;
}

.wr-hero h1 {
  color: var(--lapis);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 18ch;
  margin-bottom: .6rem;
}

.wr-hero__copy p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 58ch;
  margin: 0;
}

.wr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.wr-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 2.5rem;
}

.wr-checks li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.wr-check {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: .1rem;
}

.wr-check svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wr-check circle {
  fill: var(--tone);
}

.wr-check path {
  stroke: var(--tone-fg);
}

.wr-others {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.wr-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  background: var(--tone-bg);
  color: var(--tone-text);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: transform .2s ease;
}

.wr-chip:hover {
  transform: translateY(-2px);
}

.wr-chip__num {
  font-family: var(--mono);
  font-size: .7rem;
  opacity: .75;
}

@media (max-width: 900px) {
  .wr-hero__row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .wr-card {
    padding: 2rem 1.4rem 1.5rem;
  }

  .wr-checks {
    grid-template-columns: 1fr;
  }

  .wr-hero__icon {
    width: 96px;
    height: 96px;
  }
}

/* ---------- Eyebrow labels: no decorative line before the text ---------- */

.md-eyebrow::before,
.md-eyebrow::after,
.md-hero .md-eyebrow::before,
.md-slider__copy .md-eyebrow::before,
.md-hero__copy .md-eyebrow::before,
.md-head .md-eyebrow::before,
.md-cta .md-eyebrow::before,
.wr-hero .md-eyebrow::before {
  content: none;
  display: none;
}

/* ---------- Reason cards: white background, dark title ---------- */
.wr-card {
  background: #fff;
  border: 1px solid var(--line);
}

.wr-card__body h3 {
  color: var(--ink);
}