/* =========================================================
   COLLEGE DETAIL PAGE — listing-single
   Requires: global.css loaded first
========================================================= */
.page-college { background: var(--bg); }

/* --- Breadcrumb --- */
.clg-breadcrumb { font-size: .92rem; margin: 16px 0 10px; }
.clg-breadcrumb a { color: #5b677a; text-decoration: none; }
.clg-breadcrumb a:hover { color: var(--brand-ink); }
.clg-breadcrumb .current { color: #1f2630; font-weight: 600; }

/* --- Hero --- */
.clg-hero { padding: 66px 0 12px; }
.clg-heroCard {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-m); overflow: hidden;
}
.clg-cover { position: relative; height: 240px; background: #dfe7ef; }
.clg-cover-img { width: 100%; height: 100%; object-fit: cover; }
.clg-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,15,25,.35), rgba(10,15,25,0) 55%); pointer-events: none; }
.clg-coverMeta {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.pill-lite {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .34rem .62rem; border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  font-size: .85rem; color: #1f2630;
  box-shadow: 0 10px 18px rgba(16,24,40,.10);
}
a.pill-lite:hover { text-decoration: none; background: #fff; }
.pill-lite .ico { width: 15px; height: 15px; }

/* --- Head --- */
.clg-head {
  display: grid; grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px; padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
@media (max-width: 900px) { .clg-head { grid-template-columns: 1fr; } }

.clg-titleRow { display: flex; gap: 12px; align-items: flex-start; }
.clg-logo {
  width: 64px; height: 64px; border-radius: 14px; margin-top: -40px; position: relative; z-index: 2; border: 3px solid #fff;
  border: 1px solid #eef2f8; background: #fff;
  box-shadow: var(--shadow-s);
  display: grid; place-items: center; flex: none; overflow: hidden;
}
.clg-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clg-titleCol { min-width: 0; }
.clg-title { margin: 0; font-size: 1.35rem; line-height: 1.25; color: #1f2630; }
.clg-submeta .pin { width: 15px; height: 15px; color: var(--brand); vertical-align: -2px; }
.clg-rate { color: #556171; }
.clg-rate:hover { text-decoration: none; }
.clg-rate b { color: #1f2630; }
.clg-contactRow { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 4px; }
.clg-getcontact {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--brand); background: #fff; color: var(--brand-ink); font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  transition: background .15s;
}
.clg-getcontact:hover { background: #fff5f1; }
.clg-getcontact .ico, .clg-contactOut .ico { width: 16px; height: 16px; }
.clg-contactOut { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; background: #ecf8f1; color: var(--ok); font-weight: 700; }
.clg-contactOut a { color: inherit; }
.clg-web { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 600; }
.clg-web .ico { width: 16px; height: 16px; }

/* --- Sub-meta --- */
.clg-submeta {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 8px; color: #556171; font-size: .92rem;
}
.clg-submeta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-college .dot { color: #c7cfdd; }
.page-college .star { color: #f59e0b; }
.page-college .muted { color: #6b7380; }

/* --- Approvals --- */
.trust {
  display: inline-flex; align-items: center; gap: 6px;
  color: #7a8494; font-size: .9rem; white-space: nowrap;
}
.trust::before {
  content: "\2713"; width: 16px; height: 16px;
  border-radius: 50%; display: inline-grid; place-items: center;
  background: rgba(15,23,42,.06); border: 1px solid rgba(15,23,42,.12);
  color: #6b7380; font-size: .75rem; line-height: 1;
}

/* --- CTA --- */
.clg-cta { display: grid; gap: 10px; align-content: start; }
.clg-cta .btn { min-height: 42px; width: 100%; }
.clg-cta .ico { width: 16px; height: 16px; }

/* --- Nav tabs inside hero --- */
.clg-heroNav { background: #fff; padding: 10px 12px 12px; }
.clg-navWrap { position: relative; display: flex; align-items: center; gap: 10px; }
.clg-navRow {
  display: flex; align-items: center; gap: 10px;
  overflow: auto; padding: 6px 2px;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-behavior: smooth; flex: 1;
}
.clg-navRow::-webkit-scrollbar { display: none; }
.clg-tab {
  flex: none; border: 1px solid #dfe4ee; background: #fff;
  border-radius: 999px; padding: .44rem .74rem;
  color: #1f2630; font-size: .9rem; text-decoration: none; white-space: nowrap;
}
.clg-tab:hover { border-color: rgba(241,94,55,.28); text-decoration: none; }
.clg-tab.is-active {
  background: rgba(241,94,55,.10);
  border-color: rgba(241,94,55,.28);
  color: var(--brand-ink);
}
.clg-navFade {
  position: absolute; right: 46px; top: 0; bottom: 0; width: 60px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 75%);
  display: none;
}
.clg-navNext { flex: none; display: none; cursor: pointer; color: var(--ink); }
.clg-navNext .ico { width: 16px; height: 16px; }
.clg-navWrap.has-more .clg-navFade, .clg-navWrap.has-more .clg-navNext { display: grid; }
.clg-navWrap.has-more .clg-navFade { display: block; }

/* --- Layout --- */
.clg-surface { padding: 14px 0 50px; }
.clg-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px; align-items: start;
}
@media (max-width: 1024px) { .clg-grid { grid-template-columns: minmax(0, 1fr); } }
.clg-main { min-width: 0; }

/* --- Content cards --- */
.clg-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-m);
  padding: 14px; margin-bottom: 12px;
}
.clg-cardHead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 8px;
}
.clg-h2 { margin: 0; font-size: 1.15rem; color: #1f2630; line-height: 1.25; }
.clg-p { margin: 0; color: #556171; line-height: 1.7; }
.clg-p + .clg-p { margin-top: .7rem; }
.clg-p strong { color: #1f2630; }
.clg-more { margin: .9rem 0 0; font-weight: 600; }
.clg-p + .clg-more { margin-top: .7rem; }
.clg-h3 { margin: 16px 0 8px; font-size: 1.02rem; }
.about-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.about-text.is-open { display: block; }
.link { color: var(--brand-ink); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* --- Byline --- */
.clg-byline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin: 14px 0 12px; padding: 10px 12px;
  background: #fff; border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px; box-shadow: 0 8px 18px rgba(16,24,40,.06);
  font-size: .92rem; color: #6b7380;
}
.clg-byItem { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.clg-byIcon {
  width: 22px; height: 22px; border-radius: 8px;
  display: inline-grid; place-items: center;
  background: rgba(15,23,42,.05); border: 1px solid rgba(15,23,42,.08);
  font-size: .85rem;
}
.clg-bySep { color: #c7cfdd; }
.clg-byLink { color: var(--brand-ink); text-decoration: none; font-weight: 600; }
.clg-byIcon .ico { width: 13px; height: 13px; }
.clg-byLink:hover { text-decoration: underline; }

.collapseBtn {
  width: 34px; height: 34px; border-radius: 50%; color: var(--ink); flex: none;
  border: 1px solid #dfe4ee; background: #fff;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-s);
}
.collapseBtn .ico { width: 16px; height: 16px; transition: transform .15s; }
.collapseBtn[aria-expanded="false"] .ico { transform: rotate(-90deg); }
.bullet { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; color: #556171; line-height: 1.7; }
.bullet--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .bullet--2 { grid-template-columns: 1fr; } }
.steps { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 10px; color: #556171; line-height: 1.7; }
.steps b { color: #1f2630; }

/* --- Facts --- */
.facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 10px 0 0; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.fact {
  border: 1px solid #eef2f8; background: #fbfcfe;
  border-radius: 14px; padding: 10px 12px;
}
.fact .k { font-size: .78rem; color: #6b7380; }
.fact .k { margin: 0; }
.fact .v { margin: 2px 0 0; color: #1f2630; font-weight: 600; }

/* --- Course rows --- */
.course-list { display: grid; gap: 12px; margin-top: 12px; }
.course-row {
  display: grid; grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 14px; align-items: center;
  border: 1px solid #eef2f8; border-radius: 16px;
  background: #fff; padding: 12px; box-shadow: var(--shadow-s);
}
@media (max-width: 900px) { .course-row { grid-template-columns: 1fr; } }
.course-badge { display: flex; align-items: center; gap: 10px; }
.course-tag { margin: 0; font-size: 1rem; line-height: 1.3; color: #1f2630; }
.course-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; margin: 0; }
.course-col .v { margin: 0; font-weight: 600; }
@media (max-width: 720px) { .course-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .course-col .v { font-size: .9rem; } }
.course-col .k { font-size: .78rem; color: #6b7380; margin-bottom: 4px; }
.course-col .v { font-size: .98rem; color: #1f2630; }
.course-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: nowrap; }
.page-college td .link-btn { white-space: nowrap; }
@media (max-width: 900px) { .course-actions { justify-content: flex-start; } }
.btn-sm { padding: .48rem .72rem; border-radius: 12px; font-size: .9rem; }
.btn-outline {
  background: #fff; color: var(--brand-ink);
  border: 1px solid rgba(241,94,55,.35);
}
.btn-outline:hover { border-color: rgba(241,94,55,.6); }

/* --- Tables --- */
.table-wrap { overflow-x: auto; border: 1px solid #eef2f8; border-radius: 14px; margin-top: 10px; -webkit-overflow-scrolling: touch; }
.page-college table { width: 100%; border-collapse: collapse; background: #fff; }
.page-college th,
.page-college td { padding: 10px 12px; border-bottom: 1px solid #eef2f8; text-align: left; font-size: .95rem; }
.page-college thead th {
  background: #f4f6f9; color: #3b4553; font-family: var(--font-head); font-weight: 600; font-size: .86rem; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.page-college tbody th { font-weight: 600; color: #1f2630; }
.page-college tbody tr:nth-child(even) { background: #fbfcfe; }
.page-college tbody tr:last-child > * { border-bottom: 0; }
.page-college .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.page-college .na { color: #8a94a3; }
.cmp-city { font-weight: 400; }
/* Wordy table becomes stacked rows on phones (all columns stay visible) */
@media (max-width: 640px) {
  .stack thead { display: none; }
  .stack tr { display: grid; padding: 10px 12px; border-bottom: 1px solid #eef2f8; }
  .stack th, .stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 3px 0; text-align: right; }
  .stack th { font-size: 1rem; padding-bottom: 6px; text-align: left; }
  .stack td::before { content: attr(data-l); color: #6b7380; font-size: .86rem; text-align: left; flex: none; }
  .stack td.num { white-space: normal; }
}
.page-college td { color: #2a3342; }
.note-lite { margin-top: 10px; font-size: .9rem; color: #6b7380; }

/* --- Sidebar --- */
.side { position: relative; }
.side-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-m);
  padding: 14px; margin-bottom: 12px;
}
.side-title { margin: 0; font-size: 1.05rem; color: #1f2630; }
.side-links { display: grid; gap: 10px; margin-top: 10px; }
.side-links a { text-decoration: none; color: #1f2630; line-height: 1.35; padding-left: 14px; position: relative; }
.side-links a::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.side-links a:hover { color: var(--brand-ink); }
.side-sub { margin: 8px 0 12px; font-size: .92rem; }
.btn-block { width: 100%; min-height: 44px; }
.btn-block .ico { width: 16px; height: 16px; }
.contact-card { padding: 0; overflow: hidden; }
.contact-card .side-title { padding: 18px 18px 0; }
.contact-card .ct-list { margin: 12px 18px 16px; }
.ct-note { margin: 10px 0 0; font-size: .82rem; color: #6b7380; line-height: 1.5; }
.contact-card .ct-list dd .is-shown, .contact-card .ct-list dd.is-shown a { font-weight: 700; }
.ct-claim {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; align-items: start;
  margin: 0; padding: 14px 18px 16px; background: #f7f8fb; border-top: 1px solid var(--line);
}
.ct-claim__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: #3b4553; }
.ct-claim__ico .ico { width: 17px; height: 17px; }
.ct-claim p { margin: 0; font-size: .86rem; line-height: 1.45; color: #556171; }
.ct-claim p b { display: block; color: #1f2630; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 1px; }
.ct-claim__btn { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 600; font-size: .88rem; }
.ct-claim__btn .ico { width: 14px; height: 14px; }
.side-colleges { display: grid; gap: 10px; margin: 10px 0 12px; }
.side-clg { display: flex; gap: 10px; align-items: center; color: #1f2630; }
.side-clg:hover { text-decoration: none; }
.side-clg:hover b { color: var(--brand-ink); }
.side-clg img { border-radius: 8px; flex: none; }
.side-clg b { display: block; font-size: .92rem; line-height: 1.3; }
.side-clg small { color: #6b7380; font-size: .8rem; }
.side-more { width: 100%; }
.side-sticky { position: sticky; top: 132px; }
@media (max-width: 1024px) { .side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; } .side-sticky { position: static; } }
@media (max-width: 640px) { .side { grid-template-columns: 1fr; } }

.apply-form { display: grid; gap: 10px; margin-top: 10px; }
.apply-form input,
.apply-form select {
  width: 100%; border: 1px solid #dfe4ee; border-radius: 12px;
  padding: .6rem .7rem; font-size: .95rem; outline: none; background: #fff;
}
.apply-form input:focus,
.apply-form select:focus {
  outline: 2px solid rgba(241,94,55,.25); outline-offset: 2px;
}

/* --- FAQ --- */
/* FAQ styles live in global.css */
.lf-q[aria-expanded="true"] 
/* --- About read-more toggle --- */
.is-hidden { display: none !important; }
.about-toggle {
  border: 0; background: transparent; padding: 0; margin: 8px 0 0;
  font: inherit; color: var(--brand-ink); font-weight: 600; cursor: pointer; text-decoration: none;
}
.about-readmore { margin-left: 6px; white-space: nowrap; }
.about-showless { display: inline-block; margin-top: 8px; }
.about-toggle:hover { text-decoration: underline; }

/* --- Comments UI --- */
.gk-comments { width: 100%; }
.gk-commentBox {
  border: 1px solid #e8edf6; background: #fbfcfe;
  border-radius: 16px; padding: 14px;
}
.gk-label { display: block; font-size: .92rem; color: #1f2630; margin-bottom: 8px; }
.gk-textarea {
  width: 100%; border: 1px solid #dfe4ee; border-radius: 12px;
  padding: 12px; font-size: .98rem; line-height: 1.5;
  outline: none; background: #fff; resize: vertical; min-height: 120px;
}
.gk-textarea:focus { outline: 2px solid rgba(241,94,55,.22); outline-offset: 2px; }
.gk-textarea[disabled] { background: #f6f7fb; cursor: not-allowed; color: #7a8494; }

.gk-commentActions {
  margin-top: 12px; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 8px; text-align: center;
}
.gk-help { margin: 0; font-size: .9rem; color: #6b7380; }

.gk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none;
  border-radius: 999px; padding: 12px 18px; font-size: .95rem; line-height: 1;
  user-select: none;
}
.gk-btn-primary {
  background: linear-gradient(180deg, #ff8a5c 0%, var(--brand) 100%);
  color: #fff; box-shadow: 0 12px 20px rgba(241,94,55,.18); min-width: 260px;
}
.gk-btn-primary:hover { transform: translateY(-1px); filter: saturate(1.02); }
.gk-btn-primary:active { transform: translateY(0); }

.gk-btn-ico {
  width: 22px; height: 22px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22);
}

.gk-divider { border: 0; border-top: 1px solid #eef2f8; margin: 16px 0; }

.gk-countRow {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.gk-countTitle { margin: 0; font-size: 1rem; color: #1f2630; }

.gk-sort { display: flex; align-items: center; gap: 8px; }
.gk-sortLabel { font-size: .9rem; color: #6b7380; }
.gk-select {
  border: 1px solid #dfe4ee; border-radius: 12px;
  padding: .5rem .7rem; font-size: .92rem; background: #fff;
}

.gk-commentList { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }

.gk-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px;
  padding: 14px; border: 1px solid #eef2f8; border-radius: 16px; background: #fff;
}
.gk-avatar {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center; color: #fff; background: #0ea5a4;
}
.gk-metaRow {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
}
.gk-name { margin: 0; font-size: .95rem; color: #1f2630; }
.gk-date { font-size: .82rem; color: #6b7380; }
.gk-text { margin: 6px 0 0; color: #2a3342; line-height: 1.65; font-size: .98rem; }

.gk-actionsRow {
  margin-top: 10px; display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap; color: #6b7380; font-size: .92rem;
}
.gk-actionBtn {
  background: transparent; border: 0; padding: 0; cursor: pointer; color: #6b7380;
}
.gk-actionBtn:hover { color: var(--brand); }

.gk-replyWrap { margin-top: 10px; padding-top: 10px; border-top: 1px solid #eef2f8; }
.gk-replyForm { display: flex; flex-direction: column; gap: 10px; }
.gk-replyBox {
  width: 100%; border: 1px solid #dfe4ee; border-radius: 12px;
  padding: 10px 12px; min-height: 92px; resize: vertical;
  font-size: .95rem; outline: none;
}
.gk-replyBox:focus { outline: 2px solid rgba(241,94,55,.22); outline-offset: 2px; }
.gk-replyActions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gk-btn-lite {
  border-radius: 12px; padding: .55rem .8rem; font-size: .92rem;
  border: 1px solid #dfe4ee; background: #fff; color: #1f2630;
}
.gk-btn-lite:hover { border-color: rgba(241,94,55,.30); color: var(--brand); }
.gk-btn-mini {
  border-radius: 12px; padding: .55rem .8rem; font-size: .92rem;
  border: 0; background: linear-gradient(180deg, #ff8a5c 0%, var(--brand) 100%); color: #fff;
}

.gk-replies {
  margin-top: 12px; display: flex; flex-direction: column; gap: 12px;
  padding-left: 10px; border-left: 2px solid #eef2f8;
}
.gk-replyItem {
  display: grid; grid-template-columns: 44px 1fr; gap: 10px;
  padding: 12px; border: 1px solid #eef2f8; border-radius: 14px; background: #fbfcfe;
}

.gk-empty {
  margin-top: 14px; padding: 14px;
  border: 1px dashed #dfe4ee; border-radius: 16px;
  color: #6b7380; background: #fbfcfe;
}

/* --- Comments pagination --- */
.gk-pagination {
  margin-top: 14px; display: flex; align-items: center;
  justify-content: center; gap: 8px; flex-wrap: wrap;
}
.gk-pageBtn,
.gk-pageNum {
  text-decoration: none; border: 1px solid #dfe4ee; background: #fff;
  color: #1f2630; padding: .5rem .75rem; border-radius: 12px; font-size: .92rem;
}
.gk-pageBtn:hover,
.gk-pageNum:hover { border-color: rgba(241,94,55,.35); color: var(--brand); }
.gk-pageNum.is-active {
  background: linear-gradient(180deg, #ff8a5c 0%, var(--brand) 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 18px rgba(241,94,55,.16);
}
.gk-pageBtn.is-disabled { opacity: .5; pointer-events: none; }
.gk-pageDots { color: #94a3b8; padding: 0 .25rem; user-select: none; }

/* --- Mobile overrides --- */
@media (max-width: 560px) {
  .clg-cover { height: 200px; }
  .clg-title { font-size: 1.12rem; }
  .clg-head { padding: 12px; }
  .clg-heroNav { padding: 10px 10px 12px; }
  .clg-navFade { right: 44px; }
  .clg-byline { gap: 8px; padding: 10px; }
  .clg-bySep { display: none; }
  .clg-byItem { white-space: normal; }
  .gk-btn-primary { min-width: 100%; }
  .gk-item { grid-template-columns: 44px 1fr; padding: 12px; }
  .gk-avatar { width: 40px; height: 40px; }
}

/* =========================================================
   ADDITIONS — sticky section bar, reviews summary, sources
========================================================= */
.clg-sticky {
  position: fixed; left: 0; right: 0; top: 64px; z-index: 110; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(16,24,40,.08);
  transform: translateY(-120%); transition: transform .2s ease; visibility: hidden;
}
.clg-sticky.is-on { transform: none; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .clg-sticky { transition: none; } }
.clg-sticky__in { display: flex; align-items: center; gap: 12px; height: 54px; }
.clg-sticky__in img { border-radius: 8px; flex: none; }
.clg-sticky__name { font-weight: 700; color: #1f2630; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.clg-sticky__tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.clg-sticky__tabs::-webkit-scrollbar { display: none; }
.clg-sticky__tabs a { flex: none; padding: 16px 10px 13px; color: #556171; font-size: .9rem; font-weight: 600; border-bottom: 3px solid transparent; }
.clg-sticky__tabs a:hover { text-decoration: none; color: #1f2630; }
.clg-sticky__tabs a.is-active { color: #1f2630; border-bottom-color: var(--brand); }
.clg-sticky .btn { flex: none; }
@media (max-width: 760px) {
  .clg-sticky__name, .clg-sticky__in img { display: none; }
  .clg-sticky .btn { padding: .4rem .7rem; }
}

.review-sum { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: center; max-width: 560px; }
.review-avg { text-align: center; border-right: 1px solid #eef2f8; padding-right: 18px; display: grid; gap: 2px; }
.review-avg b { font-size: 2.4rem; line-height: 1; color: #1f2630; }
.review-avg span { font-size: .86rem; color: #6b7380; }
.review-avg .star { color: var(--star); font-size: 1rem; letter-spacing: 2px; }
.review-bars { display: grid; gap: 6px; }
.rb { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 8px; align-items: center; font-size: .84rem; color: #6b7380; }
.rb-track { height: 8px; background: #eef1f5; border-radius: 99px; overflow: hidden; }
.rb-track span { display: block; height: 100%; background: var(--star); border-radius: 99px; }
.rb-n { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .review-sum { grid-template-columns: 1fr; } .review-avg { border: 0; padding: 0; } }

.gk-text { margin: 6px 0 0; }
.gk-name { font-weight: 600; }
@media (max-width: 900px) {
  .clg-logo { margin-top: -34px; width: 56px; height: 56px; }
  .clg-cta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .clg-cover { height: 170px; }
  .clg-title { font-size: 1.12rem; }
}

/* =========================================================
   v4 streamline: roomier cards, border instead of heavy shadow,
   byline row in the head, same rhythm as the About page.
========================================================= */
.clg-heroCard { border-radius: 16px; box-shadow: var(--shadow-s); }
.clg-head { padding: 20px 22px 18px; gap: 18px 24px; }
.clg-byRow { padding: 12px 22px; border-bottom: 1px solid rgba(15,23,42,.08); background: #fbfcfd; }
.clg-byRow .page-head__by { margin: 0; }
.clg-heroNav { padding: 10px 18px 12px; }
.clg-surface { padding: 20px 0 64px; }
.clg-grid { gap: 24px; }
.clg-card { border-radius: 16px; box-shadow: none; padding: 22px 24px; margin-bottom: 16px; }
.clg-cardHead { margin-bottom: 12px; }
.clg-h2 { font-size: 1.22rem; color: #141a24; }
.side-card { border-radius: 16px; box-shadow: none; padding: 18px; margin-bottom: 16px; }
.side-title { font-size: 1.02rem; color: #141a24; }
.clg-card.pgt { padding: 24px 24px 0; }
.clg-card.pgt .pgt__foot { margin: 20px -24px 0; padding: 14px 24px; }
.clg-card.pgt .pgt__grid { grid-template-columns: minmax(0, 1fr); }
.clg-card.pgt .pgt__people { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.clg-card.pgt .pgt__dates { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .clg-head { padding: 14px; } .clg-byRow { padding: 10px 14px; }
  .clg-card { padding: 18px 16px; }
  .clg-card.pgt { padding: 18px 16px 0; } .clg-card.pgt .pgt__foot { margin: 18px -16px 0; padding: 14px 16px; }
}
.side-card.contact-card { padding: 0; }
.clg-card.pgt .pgt__people { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* v5: student reviews */
.stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; color: #dfe3ea; }
.stars::before { content: "★★★★★"; }
.stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--star); }
.stars > span::before { content: "★★★★★"; }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rv-write { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; font-size: .9rem; }
.rv-write .ico { width: 15px; height: 15px; }
.rv-summary { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfd; }
.rv-score { display: grid; justify-items: center; gap: 6px; text-align: center; padding-right: 20px; border-right: 1px solid var(--line); }
.rv-score b { font-family: var(--font-head); font-weight: 600; font-size: 2.4rem; line-height: 1; color: #141a24; }
.rv-score > span { font-size: .82rem; color: #6b7380; }
.rv-cats { margin: 0; display: grid; gap: 7px; }
.rv-cats div { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 10px; font-size: .86rem; }
.rv-cats dt { color: #3b4553; }
.rv-cats dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 8px; }
.rv-cats dd b { font-weight: 600; color: #1f2630; text-align: right; }
.rv-cbar { height: 6px; background: #eef1f5; border-radius: 99px; overflow: hidden; }
.rv-cbar span { display: block; height: 100%; background: #2f7d5b; border-radius: 99px; }
@media (max-width: 760px) {
  .rv-summary { grid-template-columns: minmax(0, 1fr); }
  .rv-score { border-right: 0; padding-right: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
}
.rv-list { margin-top: 6px; }
.rv-item { padding: 20px 0; border-bottom: 1px solid #eef2f6; }
.rv-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #1f2a44; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem; flex: none; }
.rv-who { display: grid; line-height: 1.35; margin-right: auto; }
.rv-who b { font-weight: 600; color: #141a24; }
.rv-who span { font-size: .84rem; color: #6b7380; }
.rv-verified { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: #e5f4ea; color: #1f7a45; font-size: .76rem; font-weight: 600; }
.rv-verified .ico { width: 13px; height: 13px; }
.rv-line { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; }
.rv-line b { font-weight: 600; font-size: .92rem; }
.rv-line time { margin-left: 6px; font-size: .82rem; color: #6b7380; }
.rv-title { margin: 0 0 8px; font-size: 1.02rem; font-weight: 500; color: #141a24; }
.rv-body { margin: 0; display: grid; gap: 8px; }
.rv-body div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
.rv-body dt { font-size: .84rem; font-weight: 600; color: #3b4553; }
.rv-body dd { margin: 0; font-size: .93rem; color: #2a3342; line-height: 1.6; }
@media (max-width: 560px) { .rv-body div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.rv-foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.rv-help { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid #d5dce6; background: #fff; font: inherit; font-size: .84rem; color: #3b4553; cursor: pointer; }
.rv-help:hover { border-color: #9aa5b4; }
.rv-help.is-on { background: #1f2630; border-color: #1f2630; color: #fff; }
.rv-report { font-size: .84rem; color: #6b7380; }
.rv-bottom { display: grid; gap: 8px; padding-top: 16px; }
.rv-all { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 500; }
.rv-all .ico { width: 15px; height: 15px; }
.rv-bottom p { margin: 0; font-size: .88rem; color: #556171; }
.clg-h2, .side-title { font-weight: 500; }

/* ---- 13c additions: no-cover hero, initials, masked contact, review text, photo viewer ---- */
.clg-logo__ini { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--brand-ink); background: #fff3ee; }
.clg-heroCard--nocover .clg-head { padding-top: 22px; }
.side-clg__ini { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; background: #fff3ee; color: var(--brand-ink); font-weight: 700; font-size: .85rem; }
.mask-btn { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.mask-btn .masked { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.mask-btn__go { color: var(--brand-ink); font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 2px; }
.mask-btn:hover .mask-btn__go { text-decoration-thickness: 2px; }
.mask-btn:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 4px; }
.rv-text { margin: 8px 0 0; color: #3b4553; line-height: 1.6; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(5,9,15,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox-content { max-width: min(92vw, 1100px); max-height: 74vh; object-fit: contain; border-radius: 10px; background: #111; }
.gallery-caption { color: #fff; margin-top: 12px; font-size: 1rem; text-align: center; min-height: 1.4em; }
.gallery-counter { position: absolute; top: 18px; left: 20px; color: rgba(255,255,255,.75); font-size: .95rem; }
.gallery-close { position: absolute; top: 10px; right: 16px; border: 0; background: none; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; padding: 4px 10px; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
.gallery-nav:hover, .gallery-close:hover { background: var(--brand); }
.gallery-prev { left: 14px; } .gallery-next { right: 14px; }
@media (max-width: 560px) { .gallery-nav { top: auto; bottom: 14px; transform: none; } }
button.pill-lite { border: 0; cursor: pointer; font: inherit; }
.clg-byline .av { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: #1f2937; color: #fff; font-size: .62rem; font-weight: 700; vertical-align: middle; }
/* narrow screens: nothing in the title block may be cut off */
.clg-titleCol, .clg-submeta, .clg-submeta-row > * { min-width: 0; }
.clg-submeta-row .trust { white-space: normal; }
.clg-cta .btn { min-width: 0; white-space: normal; text-align: center; }
.clg-heroCard--nocover .clg-logo { margin-top: 0; }
@media (max-width: 560px) { .clg-heroCard--nocover .clg-logo { margin-top: 0; } .clg-cta .btn { padding-left: 10px; padding-right: 10px; } }

/* --- Course cards: columns follow the data (I1) --- */
.course-details { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.course-sub { margin: 4px 0 0; font-size: .82rem; line-height: 1.35; color: #6b7380; }
.course-badge > div { min-width: 0; }
@media (max-width: 720px) { .course-details { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
@media (max-width: 480px) { .course-details { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; } .course-actions { flex-wrap: wrap; } }
