/* Mentorship program page — Framer layout, Udyogwardhini course theme */

body:has(#mentorship-hero) {
  background-color: #fff8f0;
}

/* Single continuous cream band: hero + objective (no section seam) */
.mentorship-intro {
  background: #fff8f0;
}

.mentorship-hero {
  position: relative;
  padding: 0;
  background: #fff8f0;
  border: none;
  margin: 0;
}

.mentorship-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 36rem;
  background: #fff8f0;
}

/* Solid cream cap across both columns — must sit above the objective block */
.mentorship-hero__inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: #fff8f0;
  z-index: 10;
  pointer-events: none;
}

.mentorship-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 2.5rem 3.5rem max(1.5rem, calc((100vw - 1140px) / 2 + 0.75rem));
  max-width: 40rem;
  width: 100%;
  box-sizing: border-box;
  background: #fff8f0;
}

.mentorship-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.mentorship-hero__tagline {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.mentorship-hero__price {
  font-size: 1.15rem;
  color: #f47725;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.mentorship-hero__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.mentorship-hero__highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 1rem;
  color: #333;
}

.mentorship-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e8f0fa;
}

.mentorship-hero__highlights img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Full-height, edge-bleed image (Framer template) */
.mentorship-hero__media {
  position: relative;
  min-height: 100%;
  align-self: stretch;
  overflow: hidden;
  background: #fff8f0;
}

.mentorship-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 0;
  display: block;
  border: none;
  vertical-align: top;
  /* Trim scaled JPEG bottom edge before it renders as a visible line */
  clip-path: inset(0 0 3px 0);
}

/* Fade the image into the shared cream background (desktop + stacked mobile) */
.mentorship-hero__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 248, 240, 0) 0%, #fff8f0 55%);
  pointer-events: none;
  z-index: 2;
}

.mentorship-cta {
  cursor: pointer;
  text-decoration: none;
  align-self: flex-start;
}

/* home.css sets margin-top:-20px on all .cta-fill-btn — reset inside hero */
.mentorship-hero .mentorship-cta {
  margin-top: 0;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.mentorship-objective {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  background: #fff8f0;
  border: none;
  margin: 0;
}

/* Section titles: matched line-height + opaque bg so nothing strikes through glyphs */
.mentorship-objective .title,
.mentorship-curriculum .title,
.mentorship-support .title,
.mentorship-register .title,
.mentorship-alumni .title {
  line-height: 1.2;
  border: none;
  box-shadow: none;
  text-decoration: none;
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 0 0.75rem;
}

.mentorship-objective .title {
  background-color: #fff8f0;
}

.mentorship-curriculum .title,
.mentorship-register .title,
.mentorship-alumni .title {
  background-color: #ffffff;
}

.mentorship-support .title {
  background-color: #fff7f0;
}

.mentorship-objective__body {
  max-width: 760px;
  margin: 1.5rem auto 0;
  color: #444;
  line-height: 1.7;
  font-size: 1.05rem;
}

.mentorship-objective__body p {
  border: none;
  box-shadow: none;
}

.mentorship-curriculum {
  padding: 3.5rem 0 2rem;
}

.mentorship-month-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.mentorship-month-card__banner {
  min-height: 160px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.mentorship-month-card__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.65));
}

.mentorship-month-card__banner--solid {
  background: linear-gradient(135deg, #f47725, #e05a00);
  min-height: 100px;
  align-items: center;
}

.mentorship-month-card__banner--solid::before {
  display: none;
}

.mentorship-month-card__banner h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.mentorship-month-card__body {
  padding: 1.5rem;
  display: block;
}

@media (min-width: 992px) {
  .mentorship-month-card__body {
    column-count: 2;
    column-gap: 1.75rem;
  }

  .mentorship-module {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.25rem;
  }
}

.mentorship-module h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.75rem;
}

.mentorship-month-card__body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.75rem;
}

.mentorship-month-card__body h4:first-child {
  margin-top: 0;
}

.mentorship-month-card__body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.mentorship-month-card__body li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.4rem;
  color: #555;
  line-height: 1.5;
}

.mentorship-month-card__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-top: 2px solid #f58634;
  border-right: 2px solid #f58634;
  transform: rotate(45deg);
}

.mentorship-photo-grid {
  column-count: 4;
  column-gap: 1rem;
  margin: 0 0 2.5rem;
}

.mentorship-photo-grid__item {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.mentorship-photo-grid__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.mentorship-alumni {
  padding: 3.5rem 0 4rem;
  background: #fff;
}

.mentorship-alumni__heading {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #111;
  margin: 0 0 2rem;
}

.mentorship-alumni__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mentorship-alumni__track::-webkit-scrollbar {
  height: 6px;
}

.mentorship-alumni__track::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 999px;
}

.mentorship-alumni__card {
  position: relative;
  flex: 0 0 min(220px, 72vw);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
  scroll-snap-align: start;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  background: #1a1a1a;
}

.mentorship-alumni__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mentorship-alumni__card:hover .mentorship-alumni__image {
  transform: scale(1.04);
}

.mentorship-alumni__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 1;
}

.mentorship-alumni__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.75rem 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.88) 72%);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mentorship-alumni__name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.mentorship-alumni__meta {
  font-size: 0.82rem;
  opacity: 0.9;
  line-height: 1.25;
}

.mentorship-support {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0;
  background-image: var(--support-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  z-index: 1;
}

.mentorship-support__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.18) 100%);
  z-index: 0;
  pointer-events: none;
}

.mentorship-support__inner {
  position: relative;
  z-index: 1;
}

.mentorship-support__content {
  max-width: 34rem;
}

.mentorship-support__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1.25rem;
}

.mentorship-support__bullets {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.mentorship-support__bullets li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #fff;
}

.mentorship-support__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #fff;
}

.mentorship-support__note {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.mentorship-support__cta {
  display: inline-block;
  background: #2f6fed;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mentorship-support__cta:hover {
  background: #1f5ad4;
  color: #fff !important;
  transform: translateY(-1px);
}

.mentorship-support__media {
  display: none;
}

@media (max-width: 767.98px) {
  .mentorship-support__media img {
    height: 12rem;
  }
}

.mentorship-register {
  padding: 3rem 0 4rem;
}

.mentorship-hero__inner:not(:has(.mentorship-hero__media)) {
  grid-template-columns: 1fr;
}

.mentorship-hero__inner:not(:has(.mentorship-hero__media)) .mentorship-hero__content {
  max-width: 40rem;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .mentorship-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mentorship-hero__content {
    max-width: none;
    padding: 2.5rem 1.25rem 2rem;
    order: 2;
  }

  .mentorship-hero__media {
    min-height: 16rem;
    order: 1;
  }

  .mentorship-hero__image {
    position: relative;
    height: 16rem;
    width: 100%;
    object-position: center 22%;
    clip-path: inset(0 0 4px 0);
  }

  .mentorship-hero__media::after {
    height: 56px;
    background: linear-gradient(to bottom, rgba(255, 248, 240, 0) 0%, #fff8f0 45%);
  }

  .mentorship-photo-grid {
    column-count: 3;
  }

  /* Support: image on top, copy below (course-style mobile stack) */
  .mentorship-support {
    padding: 0;
    background-image: none;
    background-color: #111;
  }

  .mentorship-support__overlay {
    display: none;
  }

  .mentorship-support__media {
    display: block;
    width: 100%;
    margin: 0;
  }

  .mentorship-support__media img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .mentorship-support__inner {
    padding: 2rem 0 2.75rem;
  }

  .mentorship-support__content {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .mentorship-hero__media {
    min-height: 14rem;
  }

  .mentorship-hero__image {
    height: 14rem;
  }

  .mentorship-photo-grid {
    column-count: 2;
  }
}

@media (max-width: 479.98px) {
  .mentorship-photo-grid {
    column-count: 1;
  }

  .mentorship-photo-grid__item {
    border-radius: 12px;
  }

  .mentorship-photo-grid__item img {
    border-radius: 12px;
  }
}
