/* =========================================================
   CAMPUS LIFE OVERVIEW PAGE — page-specific only.
   Loaded solely by campus-life.php via $pageExtraCss.
   ========================================================= */

/* ---- Section Scaffolding ---- */
.cl-section {
  padding: 72px 0 88px;
}
.cl-section--tint {
  background: var(--cream);
}
.cl-section--white {
  background: #ffffff;
}

.cl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}
.cl-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-500);
}

.cl-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--green-900);
  max-width: 720px;
  margin: 0 0 14px;
}

.cl-lede {
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 44px;
}

/* =========================================================
   CAMPUS FACTS STRIP
   ========================================================= */
.cl-fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.cl-fact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 16px -8px rgba(10, 61, 38, 0.08);
  transition: transform .2s ease, border-color .2s ease;
}

.cl-fact-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
}

.cl-fact-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
  margin-bottom: 6px;
}

.cl-fact-number span {
  color: var(--gold-500);
}

.cl-fact-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   CORE PILLARS OF CAMPUS LIFE (6-Card Grid)
   ========================================================= */
.cl-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.cl-pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.cl-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--green-700);
}

.cl-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .2s ease, color .2s ease;
}

.cl-pillar-card:hover .cl-pillar-icon {
  background: var(--green-900);
  color: var(--gold-500);
}

.cl-pillar-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.cl-pillar-card p {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 24px;
  flex-grow: 1;
}

.cl-pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--green-700);
  margin-top: auto;
  transition: gap .2s ease, color .2s ease;
}

.cl-pillar-card:hover .cl-pillar-link {
  color: var(--gold-600);
  gap: 12px;
}

/* =========================================================
   STUDENT CLUBS HUB
   ========================================================= */
.cl-clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.cl-club-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all .2s ease;
  text-decoration: none;
  color: var(--ink);
}

.cl-club-tile:hover {
  background: var(--green-100);
  border-color: var(--green-700);
  transform: translateX(4px);
}

.cl-club-tile-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cl-club-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}

.cl-club-tile:hover .cl-club-icon {
  background: var(--green-900);
  color: var(--gold-500);
}

.cl-club-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-900);
}

.cl-club-arrow {
  color: var(--ink-soft);
  transition: transform .2s ease, color .2s ease;
  flex-shrink: 0;
}

.cl-club-tile:hover .cl-club-arrow {
  color: var(--green-900);
  transform: translateX(4px);
}

/* =========================================================
   STUDENT LIFE EXPERIENCE (3-Feature Cards)
   ========================================================= */
.cl-life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.cl-life-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.cl-life-badge {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  width: fit-content;
  margin-bottom: 16px;
}

.cl-life-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 12px;
  line-height: 1.35;
}

.cl-life-card p {
  font-size: .91rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   CAMPUS VISIT & TOUR CALLOUT
   ========================================================= */
.cl-tour-box {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  box-shadow: var(--shadow-card);
  margin-top: 48px;
}

.cl-tour-text {
  max-width: 650px;
}

.cl-tour-text h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.cl-tour-text p {
  font-size: .98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.cl-tour-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
  .cl-fact-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .cl-pillars-grid,
  .cl-life-grid,
  .cl-clubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cl-tour-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 30px;
  }
}

@media (max-width: 640px) {
  .cl-section {
    padding: 52px 0 68px;
  }
  .cl-fact-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cl-pillars-grid,
  .cl-life-grid,
  .cl-clubs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cl-pillar-card,
  .cl-life-card {
    padding: 26px 20px;
  }
  .cl-tour-box {
    padding: 30px 20px;
  }
  .cl-tour-actions {
    width: 100%;
  }
  .cl-tour-actions .btn {
    width: 100%;
  }
}
