/* ============================================================
   COLLEGE DETAIL PAGE — hero, fact strip, content + sticky sidebar
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb svg { width: 13px; height: 13px; opacity: 0.5; }
.breadcrumb .current { color: var(--gold-light); font-weight: 600; }

/* ---------- College hero ---------- */
.college-hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--text-primary);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  isolation: isolate;
  overflow: hidden;
}
.college-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.15) 0%, transparent 68%);
  z-index: -1;
}

.college-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.college-hero .chip {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
}
.college-hero .chip-gold {
  background: rgba(212, 160, 23, 0.18);
  color: var(--gold-light);
  border-color: rgba(212, 160, 23, 0.34);
}

.college-hero h1 { color: #fff; margin-bottom: var(--space-sm); }
.college-hero-loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.college-hero-loc svg { width: 18px; height: 18px; color: var(--gold-light); }

.college-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ---------- Fact strip ---------- */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: calc(-1 * var(--space-2xl));
  position: relative;
  z-index: 2;
}
.fact-cell {
  background: var(--bg-white);
  padding: var(--space-lg);
  text-align: center;
}
.fact-cell-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dark-tertiary);
  margin-bottom: 4px;
}
.fact-cell-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}
.fact-cell-value.small { font-size: var(--text-sm); font-weight: 600; }
.fact-cell-value.unknown { color: var(--text-dark-tertiary); font-weight: 500; }

/* ---------- Two-column body ---------- */
.college-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
  padding-block: var(--section-y);
}

.college-section { margin-bottom: var(--space-2xl); }
.college-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}
.college-section p { margin-bottom: var(--space-md); }

.highlight-list { display: grid; gap: var(--space-sm); }
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 12px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-dark-secondary);
}
.highlight-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

/* ---------- Data table ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.data-table th {
  width: 38%;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-light);
  vertical-align: top;
}
.data-table td { color: var(--text-dark-secondary); }
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: none; }

/* ---------- Fee / cutoff caveat ---------- */
.caveat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 14px 16px;
  margin-top: var(--space-md);
  background: var(--gold-50);
  border: 1px solid var(--gold-100);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--gold-dark);
}
.caveat svg {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}
.caveat strong { color: var(--gold-dark); }

/* ---------- Sticky enquiry sidebar ---------- */
.college-aside { position: sticky; top: 98px; display: grid; gap: var(--space-lg); }

.aside-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.aside-card-head {
  padding: var(--space-lg);
  background: var(--gradient-hero);
  color: #fff;
}
.aside-card-head h3 { color: #fff; font-size: var(--text-lg); }
.aside-card-head p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-top: 4px;
}
.aside-card-body { padding: var(--space-lg); }

.aside-contact {
  display: grid;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

/* Related colleges */
.related-list { display: grid; gap: var(--space-sm); }
.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-smooth);
}
.related-item:hover { background: var(--primary-50); border-color: var(--primary-200); }
.related-item-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}
.related-item-meta { font-size: var(--text-xs); color: var(--text-dark-tertiary); }
.related-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

@media (max-width: 1024px) {
  .college-body { grid-template-columns: 1fr; }
  .college-aside { position: static; }
}
@media (max-width: 640px) {
  .fact-strip { grid-template-columns: 1fr 1fr; margin-top: calc(-1 * var(--space-lg)); }
  .college-hero-cta .btn { width: 100%; }
  .data-table th { width: 45%; }
}
