﻿/* =========================================
   PAGE: STUDENT LIFE
   ========================================= */
.student-life-page .bg-cream {
  background: var(--cream);
}

.student-life-page .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.student-life-page .editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.student-life-page .editorial-split.reverse .editorial-copy {
  order: 2;
}

.student-life-page .editorial-split.reverse .editorial-image {
  order: 1;
}

.student-life-page .editorial-image img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(5, 43, 52, 0.1);
  width: 100%;
  object-fit: cover;
}

.student-life-page .chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.student-life-page .chips-list span {
  padding: 8px 16px;
  background: rgba(8, 63, 73, 0.06);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--base-deep);
}

.student-life-page .two-cols-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.student-life-page .bullet-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.student-life-page .bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.student-life-page .bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--maroon);
  border-radius: 50%;
}

.student-life-page .clubs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.student-life-page .club-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(5, 43, 52, 0.05);
  border-left: 4px solid var(--accent);
}

.student-life-page .club-card h4 {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.3rem;
  color: var(--base-deep);
  margin: 0 0 12px 0;
}

.student-life-page .club-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink);
}

@media (max-width: 768px) {
  .student-life-page .editorial-split,
  .student-life-page .two-cols-text,
  .student-life-page .clubs-grid {
    grid-template-columns: 1fr;
  }
  .student-life-page .editorial-split.reverse .editorial-copy {
    order: 1;
  }
  .student-life-page .editorial-split.reverse .editorial-image {
    order: 2;
  }
}

/* =========================================
   ENHANCED STUDENT LIFE LAYOUT
   ========================================= */
.student-life-page .inner-page-section .content-wrapper {
  width: var(--container);
  max-width: 1240px;
  margin-inline: auto;
}

.student-life-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--maroon);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.student-life-page .eyebrow::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.student-life-page .life-intro {
  background:
    radial-gradient(circle at 92% 12%, rgba(242, 170, 43, 0.13), transparent 24%),
    var(--paper);
}

.student-life-page .life-intro .content-wrapper {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(8, 63, 73, 0.08);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 20px 48px rgba(5, 43, 52, 0.09);
}

.student-life-page .life-intro .content-wrapper > p {
  max-width: 1020px;
  margin-bottom: 0;
  line-height: 1.85;
}

.student-life-page .editorial-split {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  gap: clamp(42px, 6vw, 76px);
}

.student-life-page .editorial-copy > p {
  color: var(--muted);
  line-height: 1.8;
}

.student-life-page .editorial-image {
  height: 460px;
  padding: 7px;
  overflow: hidden;
  border-radius: 26px 68px 26px 26px;
  background: var(--white);
  box-shadow: 0 24px 52px rgba(5, 43, 52, 0.16);
}

.student-life-page .editorial-image img {
  width: 100%;
  height: 100%;
  border-radius: 20px 62px 20px 20px;
  object-fit: cover;
  transition: filter 350ms ease, transform 500ms ease;
}

.student-life-page .editorial-image:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.student-life-page .chips-list {
  gap: 9px;
  margin-top: 22px;
}

.student-life-page .chips-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(8, 63, 73, 0.1);
  border-radius: 12px;
  color: var(--base-deep);
  background: var(--white);
  box-shadow: 0 7px 18px rgba(5, 43, 52, 0.06);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.student-life-page .chips-list span::before {
  color: var(--maroon);
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-size: 0.7rem;
  font-weight: 900;
}

.student-life-page .chips-list span:hover {
  color: var(--white);
  background: var(--maroon);
  transform: translateY(-3px);
}

.student-life-page .chips-list span:hover::before { color: var(--accent-bright); }

body.student-life-page .life-skills-work.inner-page-section {
  background:
    radial-gradient(circle at 92% 10%, rgba(242, 170, 43, 0.12), transparent 24%),
    var(--base-deep);
}

.student-life-page .two-cols-text {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.student-life-page .life-skills-work .text-block {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: #dce8ea;
  background: rgba(3, 43, 51, 0.7);
  transition: border-color 230ms ease, transform 230ms ease;
}

.student-life-page .life-skills-work .text-block:nth-child(2) {
  background: linear-gradient(145deg, var(--maroon), #a82345);
}

.student-life-page .life-skills-work .text-block:hover {
  border-color: rgba(242, 170, 43, 0.45);
  transform: translateY(-6px);
}

body.student-life-page .life-skills-work .text-block h2 { color: var(--white) !important; }
.student-life-page .life-skills-work .eyebrow { color: var(--accent-bright); }
.student-life-page .life-skills-work p { color: #dce8ea; }

.student-life-page .bullet-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
}

.student-life-page .bullet-list li {
  margin: 0;
  padding: 10px 12px 10px 36px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
  text-align: left;
}

.student-life-page .bullet-list li::before {
  top: 50%;
  left: 14px;
  width: auto;
  height: auto;
  color: var(--accent-bright);
  background: none;
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-size: 0.7rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.student-life-page .life-skills-work .bullet-list > li:hover {
  border-color: rgba(255, 200, 69, 0.48);
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
}

.student-life-page .life-skills-work .text-block:hover .section-icon {
  border-radius: 8px 18px 8px 18px;
  transform: rotate(-4deg) translateY(-2px);
}

.student-life-page .life-creative .editorial-copy h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 28px 0 12px;
  color: var(--base-deep);
}

.student-life-page .life-creative .editorial-copy h3 i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--maroon);
  font-size: 0.85rem;
}

.student-life-page .clubs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.student-life-page .club-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(8, 63, 73, 0.08);
  border-left: 0;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(5, 43, 52, 0.08);
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.student-life-page .club-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70px;
  height: 5px;
  border-radius: 999px 0 0 0;
  background: linear-gradient(90deg, var(--accent), var(--maroon));
  content: "";
}

.student-life-page .club-card:hover {
  box-shadow: 0 22px 44px rgba(5, 43, 52, 0.13);
  transform: translateY(-7px);
}

.student-life-page .club-card h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.16rem;
}

.student-life-page .club-card h4 i {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--maroon);
  background: rgba(142, 25, 53, 0.09);
  font-size: 0.9rem;
}

.student-life-page .club-card p {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .student-life-page .editorial-split { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr); }
  .student-life-page .clubs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .student-life-page .editorial-split,
  .student-life-page .two-cols-text,
  .student-life-page .clubs-grid { grid-template-columns: 1fr; }
  .student-life-page .editorial-split.reverse .editorial-copy { order: 1; }
  .student-life-page .editorial-split.reverse .editorial-image { order: 2; }
  .student-life-page .editorial-image { height: 360px; }
}

@media (max-width: 560px) {
  .student-life-page .life-intro .content-wrapper,
  .student-life-page .life-skills-work .text-block { padding: 24px 20px; }
  .student-life-page .editorial-image { height: 300px; border-radius: 20px 48px 20px 20px; }
  .student-life-page .chips-list {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
  .student-life-page .chips-list span {
    width: 100%;
    min-width: 0;
    padding: 11px 13px;
    justify-content: flex-start;
    line-height: 1.45;
  }
  .student-life-page .bullet-list { grid-template-columns: 1fr; }
  .student-life-page :is(.editorial-copy p, .club-card p, .life-intro p) { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .student-life-page .editorial-image img,
  .student-life-page .chips-list span,
  .student-life-page .life-skills-work .text-block,
  .student-life-page .club-card { transition: none; }
}

/* Open editorial sections with images extending slightly beyond the copy. */
body.student-life-page :is(.life-arena, .life-creative) .editorial-split {
  align-items: stretch;
}

body.student-life-page .life-creative .editorial-split {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 6vw, 76px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.student-life-page .life-creative .editorial-copy {
  padding: 0;
}

body.student-life-page .life-creative .creative-art-copy {
  order: 2;
}

body.student-life-page .life-creative .creative-layout > .editorial-image {
  order: 1;
  height: clamp(360px, 31vw, 440px);
  min-height: 0;
  margin-block: -10px 0;
  align-self: start;
}

body.student-life-page .life-creative .creative-field-trips {
  order: 3;
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 8px;
}

body.student-life-page .life-creative :is(.editorial-copy, .creative-field-trips) > p {
  color: var(--muted);
  line-height: 1.8;
}

body.student-life-page .life-creative .creative-field-trips h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  color: var(--base-deep);
}

body.student-life-page .life-creative .creative-field-trips h3 i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--maroon);
  font-size: 0.85rem;
}

body.student-life-page :is(.life-arena, .life-creative) .editorial-image {
  height: auto;
  min-height: 100%;
  margin-block: -16px;
  padding: 7px;
  align-self: stretch;
  border-radius: 26px 68px 26px 26px;
  background: var(--white);
  box-shadow: 0 24px 52px rgba(5, 43, 52, 0.16);
}

body.student-life-page :is(.life-arena, .life-creative) .editorial-image img {
  height: 100%;
  min-height: 100%;
  border-radius: 20px 62px 20px 20px;
}

@media (max-width: 760px) {
  body.student-life-page .life-creative .editorial-split {
    grid-template-columns: minmax(0, 1fr);
  }

  body.student-life-page .life-creative .editorial-copy {
    padding: 0;
  }

  body.student-life-page .life-creative .creative-layout > .editorial-image {
    height: 320px;
    min-height: 320px;
    margin-block: 0;
  }

  body.student-life-page .life-creative .creative-field-trips {
    grid-column: 1;
    padding-top: 0;
  }

  body.student-life-page :is(.life-arena, .life-creative) .editorial-image {
    height: 340px;
    min-height: 340px;
    margin-block: 0;
  }
}

@media (max-width: 430px) {
  body.student-life-page :is(.life-arena, .life-creative) .editorial-image {
    height: 260px;
    min-height: 260px;
  }

  body.student-life-page .life-creative .creative-layout > .editorial-image {
    height: 250px;
    min-height: 250px;
  }
}
