/* Calczora shared site frame: one header size, breadcrumbs and one footer on every page.
   Loaded last on each page, so these sizes win over the page's own stylesheet. */

/* ---------- Header: identical on every page ---------- */
.top { min-height: 64px; padding-block: 10px; }
.top .top-in { min-height: 64px; padding-block: 10px; }
.top .tw { font-size: 24px; }
.top .logo svg, .top .brand svg { width: 46px; height: 32px; }
.top .sq, .top .ctl { width: 44px; height: 44px; }
@media (max-width: 760px) {
  .top .tw { font-size: 22px; }
  .top .logo svg, .top .brand svg { width: 42px; height: 29px; }
}

/* ---------- Breadcrumbs (Home › Section › Page) ---------- */
.crumbs { margin: 0 0 14px; font-size: 13.5px; font-weight: 600; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: #12214e; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); opacity: .55; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-decoration: none; }
@media (hover: hover) { .crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.crumbs [aria-current] { color: #12214e; font-weight: 700; }
.crumbs.center ol { justify-content: center; }
.night .crumbs li, [data-theme="dark"] .crumbs li { color: #c3cde6; }
.night .crumbs [aria-current], [data-theme="dark"] .crumbs [aria-current] { color: #f1f4fb; }

/* ---------- Footer: same links on every page ---------- */
.sitefoot {
  display: grid; gap: 28px 32px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  padding: 34px 28px 22px; border-radius: 26px 26px 0 0; background: #fff; color: #535c73; font-size: 14.5px;
}
.sitefoot .about-col p { margin: 10px 0 0; max-width: 34ch; line-height: 1.55; }
.sitefoot .ft { font: 500 22px/1 var(--display); letter-spacing: -.035em; color: #12214e; text-decoration: none; }
.sitefoot .ft b { font-weight: 800; color: #f5a422; }
.sitefoot h2 { margin: 0 0 10px; font: 700 13px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #12214e; }
.sitefoot ul { margin: 0; padding: 0; list-style: none; }
.sitefoot li a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; color: inherit; text-decoration: none; }
@media (hover: hover) { .sitefoot li a:hover { color: #12214e; text-decoration: underline; text-underline-offset: 3px; } }
.sitefoot .soon { font-size: 11px; font-weight: 700; color: #8a5300; background: #fff1d2; padding: 2px 6px; border-radius: 99px; }
.sitefoot .base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; border-top: 1px solid rgba(18, 33, 78, .1); font-size: 13.5px; }
.sitefoot .base p { margin: 0; }
.night .sitefoot, [data-theme="dark"] .sitefoot { background: #141d3d; color: #a3aecb; }
.night .sitefoot .ft, .night .sitefoot h2, [data-theme="dark"] .sitefoot .ft, [data-theme="dark"] .sitefoot h2 { color: #f1f4fb; }
@media (hover: hover) { .night .sitefoot li a:hover, [data-theme="dark"] .sitefoot li a:hover { color: #fff; } }
.night .sitefoot .soon, [data-theme="dark"] .sitefoot .soon { color: #ffcf7a; background: rgba(245, 165, 36, .16); }
.night .sitefoot .base, [data-theme="dark"] .sitefoot .base { border-color: rgba(255, 255, 255, .1); }
.anim .sitefoot, .theming .sitefoot { transition: background-color .7s ease, color .7s ease; }
@media (max-width: 860px) {
  .sitefoot { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px 20px 18px; }
  .sitefoot .about-col { grid-column: 1 / -1; }
}
/* the CGPA page wraps its header row in .top-in, so the outer .top adds no extra height */
.top:has(> .top-in) { min-height: 0; padding-block: 0; }
.sitefoot li > span { display: inline-block; padding-block: 7px; line-height: 1.4; }
.sitefoot li > span .soon { margin-left: 4px; white-space: nowrap; vertical-align: 1px; }
.sitefoot li a { line-height: 1.4; }
.foot-wrap { margin-top: 56px; }
