/* ==========================================================================
   Great Commission University: shared styles
   Values come from the approved design (design/*.dc.html, docs/DESIGN-SYSTEM.md).
   Page-specific styles live in assets/css/pages/<page>.css.
   Most page sections keep the exact inline styles of the design files.
   ========================================================================== */

:root {
  --navy: #1C305E;
  --navy-dark: #0F1C3A;
  --footer: #15143A;
  --gold: #E8B44C;
  --gold-light: #F2D49B;
  --gold-dark: #6B5A33;
  --bronze: #8A6A2C;
  --bronze-icon: #B8913F;
  --cream: #F4F1EA;
  --text: #1C305E;
  --text-muted: #46536A;
  --text-on-dark: #E6EBF2;
  --line: #E3E8EF;
  --line-warm: #DCD3C0;
  --white: #FFFFFF;

  --font-display: 'Bodoni Moda', Didot, serif;
  --font-ui: Jost, 'Avenir Next', sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

/* ---------- base ---------- */

/* No global box-sizing reset: the design files use the browser default
   (content-box) and set border-box explicitly where they need it. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #FFFFFF; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
[hidden] { display: none !important; }

/* The design's page wrapper */
.gcu-page {
  font-family: var(--font-body);
  color: var(--text);
  background: #FFFFFF;
  line-height: 1.55;
  font-size: 17px;
  overflow-x: clip;
}

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gcu-cream :focus-visible, .gcu-sitemap :focus-visible { outline-color: var(--bronze); }

/* Skip link */
.gcu-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 18px; background: var(--gold); color: var(--navy);
  font-family: var(--font-ui); font-weight: 500; text-decoration: none; border-radius: 3px;
}
.gcu-skip:focus { top: 12px; }
#main { display: block; height: 0; outline: none; }

/* ---------- top ribbon ---------- */

.gcu-ribbon { background: var(--navy-dark); color: var(--text-on-dark); font-size: 14px; }
.gcu-ribbon__in {
  max-width: 1240px; margin: 0 auto; padding: 9px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px;
}
.gcu-ribbon__side { display: flex; gap: 22px; flex: 1 1 0; justify-content: flex-start; }
.gcu-ribbon__side--end { justify-content: flex-end; }
.gcu-ribbon__side a { color: var(--text-on-dark); text-decoration: none; font-weight: 500; }
.gcu-ribbon__side a:hover { color: #FFFFFF; text-decoration: underline; }
.gcu-ribbon__msg { text-align: center; }
.gcu-ribbon__msg a { color: var(--gold-light); }

/* ---------- header (sits on top of the page hero) ---------- */

.gcu-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.gcu-header__in {
  max-width: 1240px; margin: 0 auto; padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.gcu-header__logo { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.gcu-header__logo img { height: clamp(30px, 2.9vw, 42px); width: auto; max-width: 100%; display: block; }
.gcu-header__right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.gcu-nav-wide { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.gcu-header__ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.gcu-hbtn {
  padding: 7px 22px; border-radius: 3px; text-decoration: none;
  font-family: var(--font-ui); font-weight: 500; font-size: 14px; letter-spacing: 0.16em;
  text-transform: uppercase; line-height: 1.4;
}
.gcu-hbtn--gold { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.gcu-hbtn--gold:hover { background: var(--gold-light); color: var(--navy); }
.gcu-hbtn--line { padding: 7px 20px; background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.75); }
.gcu-hbtn--line:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }

.gcu-topnav {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 40px;
  font-family: var(--font-ui); font-weight: 400; font-size: 21px;
}
.gcu-dd { position: relative; }
.gcu-dd__link { color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.gcu-dd__link:hover { color: var(--gold-light); }
.gcu-dd__link.is-current { color: var(--gold-light); }

/* Dropdowns (from the design) */
.gcu-drop a { display: block; padding: 10px 22px; color: var(--navy); text-decoration: none; font-family: var(--font-ui); font-size: 18px; font-weight: 400; white-space: nowrap; }
.gcu-drop a:hover { background: var(--cream); color: var(--navy-dark); }
.gcu-drop a[aria-current] { color: var(--bronze); }
.gcu-drop-first { font-weight: 600 !important; border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 12px !important; }
.gcu-drop-sep { display: block; height: 1px; background: var(--line); margin: 6px 0; }
.gcu-dd-menu {
  display: none; position: absolute; top: calc(100% + 18px); z-index: 30; min-width: 260px;
  background: #FFFFFF; border-radius: 14px; padding: 10px 0;
  box-shadow: 0 20px 44px rgba(15, 28, 58, 0.28); text-align: left;
}
.gcu-dd-menu--left { left: -22px; }
.gcu-dd-menu--right { right: -22px; }
.gcu-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.gcu-dd:hover .gcu-dd-menu, .gcu-dd:focus-within .gcu-dd-menu, .gcu-dd.is-open .gcu-dd-menu { display: block; }
.gcu-dd.is-closed .gcu-dd-menu { display: none; }

/* Menu buttons */
.gcu-menu-big {
  background: transparent; border: 0; padding: 0; color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-family: inherit;
}
.gcu-menu-big__disc {
  width: 56px; height: 56px; border-radius: 999px; background: var(--gold); border: 3px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--navy); color: var(--navy);
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
}
.gcu-menu-big__text { font-family: var(--font-ui); font-size: 20px; font-weight: 400; }
.gcu-menu-inline {
  width: 48px; height: 48px; background: transparent; border: 0; padding: 0; color: #FFFFFF;
  cursor: pointer; align-items: center; justify-content: center; display: none;
}
[data-menu-toggle][aria-expanded="true"] .gcu-ico-open,
[data-menu-toggle][aria-expanded="false"] .gcu-ico-close { display: none; }

@media (max-width: 1200px) { .gcu-about-long { display: none !important; } }
@media (max-width: 1000px) {
  .gcu-menu-big, .gcu-nav-wide, .gcu-ribbon { display: none !important; }
  .gcu-menu-inline { display: inline-flex !important; }
}

/* ---------- Menu overlay (from the design) ---------- */

.gcu-sitemap {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  background: var(--cream); color: var(--navy);
  box-shadow: 0 24px 48px rgba(15, 28, 58, 0.3);
  max-height: calc(100vh - 140px); overflow-y: auto;
}
.gcu-sitemap a:focus-visible, .gcu-sitemap summary:focus-visible { outline: 3px solid var(--bronze); }
.gcu-mm { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.35fr); }
.gcu-mm > * { padding: 44px 36px; border-left: 1px solid var(--line-warm); }
.gcu-mm > *:first-child { border-left: 0; }
.gcu-mm h3 { margin: 0 0 22px; font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--navy); }
.gcu-mm-list { display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.gcu-mm-list--pills { gap: 12px; }
.gcu-mm-list a { color: var(--navy); text-decoration: none; }
.gcu-mm-list a:hover { color: var(--bronze); }
.gcu-mm-pill {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 11px 22px;
  border: 1.5px solid var(--navy); border-radius: 999px; color: var(--navy); text-decoration: none;
  font-family: var(--font-ui); font-size: 18px; background: transparent; transition: background .2s, color .2s;
}
.gcu-mm-list a.gcu-mm-pill:hover { background: var(--navy); color: #FFFFFF; }
.gcu-mm-tiles { display: flex; flex-direction: column; gap: 14px; }
.gcu-mm-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 24px 26px; border-radius: 16px; text-decoration: none; transition: transform .2s;
}
.gcu-mm-tile:hover { transform: translateY(-2px); }
.gcu-mm-tile span { font-family: var(--font-display); font-size: 22px; line-height: 1.15; }
.gcu-mm-tile b {
  white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-ui); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 15px;
}
.gcu-mm-tile--apply { background: var(--gold); color: var(--navy); min-height: 220px; }
.gcu-mm-tile--apply span { font-size: 30px; }
.gcu-mm-tile--apply:hover { color: var(--navy); }
.gcu-mm-tile--info { background: var(--navy); color: #FFFFFF; min-height: 120px; }
.gcu-mm-tile--info:hover { color: #FFFFFF; }
.gcu-mm-tile--give { background: #120F0B; color: #D9B46A; min-height: 120px; }
.gcu-mm-tile--give:hover { color: #D9B46A; }
.gcu-mm details { border-bottom: 1px solid var(--line-warm); }
.gcu-mm details:first-of-type { border-top: 1px solid var(--line-warm); }
.gcu-mm summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-family: var(--font-ui); font-weight: 500; font-size: 24px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy);
}
.gcu-mm summary::-webkit-details-marker { display: none; }
.gcu-mm-plus { transition: transform .25s; color: var(--bronze-icon); flex: 0 0 auto; }
.gcu-mm details[open] .gcu-mm-plus { transform: rotate(45deg); }
.gcu-mm details .gcu-mm-list { padding: 0 0 22px; gap: 11px; font-size: 17px; }
.gcu-mm a[aria-current] { color: var(--bronze); font-weight: 600; }
@media (max-width: 1000px) {
  .gcu-mm { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gcu-mm-nav { order: -1; grid-column: 1 / -1; }
  .gcu-mm-tiles { grid-column: 1 / -1; }
  .gcu-mm > * { padding: 28px 24px; border-left: 0; border-top: 1px solid var(--line-warm); }
}
@media (max-width: 560px) { .gcu-mm { grid-template-columns: minmax(0, 1fr); } }

/* ---------- sticky section bar ---------- */

nav[data-spy] a { transition: color .15s; }
nav[data-spy] a:hover { color: var(--bronze); }
nav[data-spy] a[aria-current="location"] { color: var(--bronze); box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
nav[data-spy] .gcu-home:hover span { background: var(--bronze) !important; }

/* ---------- shared accordions (FAQ, policies) ---------- */

.ac-plus { transition: transform .2s; flex: 0 0 auto; }

/* ---------- footer ---------- */

.gcu-footer { background: var(--footer); color: #C9CCE0; font-size: 15px; }
.gcu-footer__in { max-width: 1320px; margin: 0 auto; padding: 96px 24px 56px; display: flex; flex-wrap: wrap; gap: 56px 72px; }
.gcu-footer__about { flex: 1 1 280px; min-width: 0; max-width: 360px; }
.gcu-footer__brand { display: flex; align-items: center; gap: 18px; text-decoration: none; margin-bottom: 26px; }
.gcu-footer__brand img { width: 68px; height: auto; display: block; flex: 0 0 auto; }
.gcu-footer__name { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.gcu-footer__name span { font-family: var(--font-display); font-size: 26px; line-height: 1.05; color: #FFFFFF; white-space: nowrap; }
.gcu-footer__mission { margin: 0 0 22px; font-size: 15px; line-height: 1.65; }
.gcu-footer__addr { margin: 0 0 4px; font-size: 16px; }
.gcu-footer__tel { margin: 0; font-size: 16px; }
.gcu-footer__tel a { color: #C9CCE0; }
.gcu-footer__cols { flex: 3 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 40px 24px; }
.gcu-footer__cols nav { display: flex; flex-direction: column; gap: 11px; }
.gcu-footer__cols nav > a { color: #FFFFFF; text-decoration: none; font-size: 16px; line-height: 1.4; }
.gcu-footer__cols nav > a:hover { color: var(--gold-light); text-decoration: underline; }
.gcu-footer__head { margin: 0 0 6px; }
.gcu-footer__head a, .gcu-footer__head span {
  font-family: var(--font-ui); font-size: 15px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
}
.gcu-footer__head a:hover { color: var(--gold-light); }
.gcu-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.gcu-footer__bottom-in {
  max-width: 1320px; margin: 0 auto; padding: 22px 24px 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #9C9FBC;
}
.gcu-footer__bottom a { color: #C9CCE0; }
.gcu-footer :focus-visible { outline-color: var(--gold); }

/* Give page footer: same layout, Give palette */
.gcu-footer--give { background: #0B0907; color: #CFC6B4; }
.gcu-footer--give .gcu-footer__tel a { color: #CFC6B4; }
.gcu-footer--give .gcu-footer__head a, .gcu-footer--give .gcu-footer__head span { color: #D9B46A; }
.gcu-footer--give .gcu-footer__cols nav > a:hover { color: #E9CF95; }
.gcu-footer--give .gcu-footer__bottom { border-top-color: #2A241A; }
.gcu-footer--give .gcu-footer__bottom-in { color: #8F8573; }
.gcu-footer--give .gcu-footer__bottom a { color: #CFC6B4; }

/* Small screens: let long words and addresses wrap instead of running off the edge */
.gcu-page a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (max-width: 560px) { .gcu-page .ac-word { white-space: normal; } }

/* Phones: keep the logo and the menu button on one line (the logo shrinks a little) */
@media (max-width: 560px) {
  .gcu-header__in { flex-wrap: nowrap; gap: 16px; }
  .gcu-header__logo { flex: 1 1 auto; }
  .gcu-header__right { flex: 0 0 auto; }
}

/* Apply page: Populi application shown inside the page */
.apply-form-wrap { position: relative; border: 1px solid #D5DCE6; border-radius: 14px; background: #F8F9FB; overflow: hidden; }
.apply-loading { position: absolute; left: 0; right: 0; top: 140px; text-align: center; font-family: var(--font-ui); font-size: 16px; color: #6B5A33; }
.apply-form { position: relative; display: block; width: 100%; height: 900px; border: 0; background: transparent; }
@media (max-width: 560px) { .apply-form { height: 760px; } }
.apply-lang[aria-current] { background: #1C305E; border-color: #1C305E !important; color: #FFFFFF; }

/* Give page: its own palette (the design's wrapper uses near-black text) */
.gcu-page--give { color: #120F0B; }

/* News: filter buttons (from the design's inline styles) */
.nw-filters button { padding: 9px 18px; border-radius: 999px; border: 1.5px solid #1C305E; background: transparent; color: #1C305E; font-family: Jost, 'Avenir Next', sans-serif; font-size: 15px; cursor: pointer; }
.nw-filters button[aria-pressed="true"] { background: #1C305E; color: #FFFFFF; }
.nw-filters button:hover { border-color: #8A6A2C; }

/* News article text written in the news admin */
.nw-body p { margin: 0 0 22px; }
.nw-body a { color: #1C305E; }
.nw-body .nw-quote { margin: 40px 0; padding: 6px 0 6px 28px; border-left: 3px solid #E8B44C; font-family: 'Bodoni Moda', Didot, serif; font-size: 26px; line-height: 1.4; color: #1C305E; }
