/* =========================================================
   college-page.css — the college profile as its own page
   (#college/<id>). The look of the profile itself (hero, key
   numbers, sections, tables) is still in college-detail.css;
   this file only places it on a normal page instead of a pop-up.
   ========================================================= */
.cpage{gap:18px}
.cprofile{display:block;min-width:0}

/* Hero: rounded like a card, the name is now the page's main heading (h1) */
.cprofile .mh{border-radius:20px}
.cprofile .mh h1{font-size:clamp(34px,5.4vw,60px);font-weight:800;line-height:1.02;letter-spacing:-.015em;color:#fff;text-wrap:balance}

/* Save button inside the hero, styled like the other hero buttons */
.cprofile .mh-acts .save.big{height:42px;padding:0 16px;gap:7px;font:600 14.5px var(--f-body);background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.cprofile .mh-acts .save.big:hover{background:rgba(255,255,255,.26);color:#fff;border-color:rgba(255,255,255,.5)}
.cprofile .mh-acts .save.big.on{background:#fff;color:#16163A;border-color:#fff}
.cprofile .mh-acts .save.big.on:hover{background:#fff;color:#16163A}
@media (max-width:700px){.cprofile .mh-acts .save.big{height:40px;padding:0 14px;font-size:14px}}

/* Section menu sticks just under the site header (--cp-top is set by the page script) */
.cprofile .pnav{top:calc(env(safe-area-inset-top,0px) + var(--cp-top,56px));z-index:15;padding-left:0;padding-right:0}
.cprofile .sheetbody{padding-left:0;padding-right:0}
.cprofile .mstats{padding-left:0;padding-right:0}
.cprofile .kfacts{margin-left:0;margin-right:0}
.cprofile .psec{scroll-margin-top:calc(var(--cp-top,56px) + 60px)}

/* Links under the profile */
.cp-foot{display:flex;flex-wrap:wrap;gap:10px;padding-top:6px}
.cp-foot a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:600;font-size:14.5px;text-decoration:none}
.cp-foot a:hover{border-color:var(--accent);color:var(--accent)}
