/* ── Public college pages — admit.college/colleges/[slug] ─────────────────── */
:root {
  --navy:  #0e1c38;
  --gold:  #c8922a;
  --gold2: #e8b84b;
  --cream: #f8f4ed;
  --text:  #1a1828;
  --text2: #3a3750;
  --text3: #6b6882;
  --border: rgba(14,28,56,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
.pub-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 2.5rem;
  background: rgba(14,28,56,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,146,42,.12);
}
.pub-nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.pub-nav-mark {
  width: 32px; height: 32px;
  border: 2px solid var(--gold); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--gold); font-weight: 700;
}
.pub-nav-name { font-size: 1.1rem; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.pub-nav-links { display: flex; align-items: center; gap: .4rem; }
.pub-nav-link {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: .84rem; padding: .38rem .8rem; border-radius: 6px;
  transition: color .15s;
}
.pub-nav-link:hover { color: #fff; }
.pub-nav-btn {
  background: var(--gold); color: var(--navy);
  font-size: .84rem; font-weight: 700;
  padding: .42rem 1.1rem; border-radius: 7px;
  text-decoration: none; transition: background .15s;
}
.pub-nav-btn:hover { background: var(--gold2); }

/* ── PAGE WRAPPER ── */
.college-page { max-width: 860px; margin: 0 auto; padding: 0 1.5rem 4rem; }

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: .78rem; color: var(--text3);
  padding: 1.25rem 0 .25rem;
}
.breadcrumb a { color: var(--text3); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }

/* ── HERO ── */
.hero { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--border); }
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: .4rem;
}
.subhead { font-size: .9rem; color: var(--text3); margin-bottom: 1.75rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem .75rem; text-align: center;
}
.stat-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text3); margin-bottom: .35rem; }
.stat-value { display: block; font-size: 1.45rem; font-weight: 800; color: var(--navy); line-height: 1; }

.cta-primary {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  font-size: .95rem; font-weight: 700;
  padding: .8rem 2rem; border-radius: 10px;
  text-decoration: none; transition: background .15s;
}
.cta-primary:hover { background: var(--gold2); }
.cta-sub { font-size: .75rem; color: var(--text3); margin-top: .5rem; }

/* ── CONTENT BLOCKS ── */
.content-block { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.content-block h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--navy);
  margin-bottom: 1rem;
}
.content-block p { font-size: .9rem; color: var(--text2); margin-bottom: 1rem; line-height: 1.7; }
.content-block p:last-child { margin-bottom: 0; }

/* ── DATA TABLE ── */
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: .75rem; }
.data-table td { padding: .6rem .5rem; border-bottom: 1px solid var(--border); color: var(--text2); }
.data-table td:first-child { color: var(--text3); width: 50%; }
.data-table tr:last-child td { border-bottom: none; }

/* ── CALLOUT ── */
.callout {
  background: var(--navy); border-radius: 16px;
  padding: 2.25rem 2rem; margin: 2rem 0; text-align: center;
}
.callout h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: .6rem; }
.callout p { font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: 1.5rem; line-height: 1.65; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: .1rem 0;
}
.faq-item summary {
  padding: 1rem 1.5rem 1rem 0;
  font-size: .92rem; font-weight: 600; color: var(--navy);
  cursor: pointer; list-style: none; position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem; color: var(--gold); font-weight: 700; line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  font-size: .88rem; color: var(--text2); line-height: 1.7;
  padding: 0 0 1rem;
}

/* ── SIMILAR SCHOOLS ── */
.similar-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: .5rem; }
.similar-list li a {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: .85rem 1rem;
  text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.similar-list li a:hover { border-color: var(--gold); box-shadow: 0 2px 12px rgba(200,146,42,.12); }
.similar-list strong { display: block; font-size: .88rem; color: var(--navy); font-weight: 700; }
.similar-list span { font-size: .78rem; color: var(--text3); margin-top: .15rem; display: block; }

/* ── PAGE FOOTER ── */
.page-footer { padding: 1.5rem 0 .5rem; }
.page-footer p { font-size: .75rem; color: var(--text3); }

/* ── SITE FOOTER ── */
.pub-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding: 1.75rem 2.5rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.pub-footer-logo { display: flex; align-items: center; gap: .5rem; }
.pub-footer-mark {
  width: 26px; height: 26px;
  border: 1.5px solid var(--gold); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--gold); font-weight: 700;
}
.pub-footer-name { font-size: .88rem; color: var(--navy); font-weight: 700; }
.pub-footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.pub-footer-links a { font-size: .78rem; color: var(--text3); text-decoration: none; }
.pub-footer-links a:hover { color: var(--navy); }
.pub-footer-copy { font-size: .74rem; color: var(--text3); }

/* ── COLLEGES INDEX ── */
.colleges-index { max-width: 960px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.colleges-index-hero { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border); }
.colleges-index-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: .5rem; }
.colleges-index-hero p { font-size: .92rem; color: var(--text3); line-height: 1.7; }
.state-jump { padding: 1.25rem 0; font-size: .82rem; line-height: 2; color: var(--text3); border-bottom: 1px solid var(--border); }
.state-jump a { color: var(--navy); text-decoration: none; margin-right: .4rem; font-weight: 600; }
.state-jump a:hover { color: var(--gold); }
.state-section { padding: 2rem 0 .5rem; }
.state-section h2 { font-size: 1rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.school-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .5rem; }
.school-list li a {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: 9px; padding: .7rem 1rem;
  text-decoration: none; font-size: .88rem;
  transition: border-color .15s;
}
.school-list li a:hover { border-color: var(--gold); }
.school-list .sn { font-weight: 600; color: var(--navy); }
.school-list .sr { font-size: .76rem; color: var(--text3); white-space: nowrap; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .pub-nav { padding: .75rem 1.25rem; }
  .pub-nav-links .pub-nav-link { display: none; }
  .college-page { padding: 0 1rem 3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .similar-list { grid-template-columns: 1fr; }
  .pub-footer { padding: 1.5rem 1.25rem; flex-direction: column; align-items: flex-start; }
  .school-list { grid-template-columns: 1fr; }
}
