/*
Theme Name: GoUni
Theme URI: https://gouni.example
Author: GoUni Web Team
Author URI: https://gouni.example
Description: GoUni — a further-study consulting agency theme for students and parents. Includes a built-in CMS (universities, courses, scholarships, guides, testimonials, FAQs, consultants), an eligibility matcher, a university & course explorer, and a scholarships hub. No page-builder plugins required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gouni
Tags: education, consulting, custom-post-types, block-styles, wide-blocks, full-width-template
*/

/* ==========================================================================
   GoUni — Design tokens
   ========================================================================== */
:root {
  /* Palette derived from the GoUni Consulting logo:
     dark slate ground, lime-green cube, gold face, olive wordmark. */
  --gu-navy: #22343d;        /* logo background slate (deep brand) */
  --gu-navy-700: #2d434d;
  --gu-blue: #5f8f24;        /* primary action green (AA on white) */
  --gu-blue-600: #517d1e;    /* primary hover */
  --gu-teal: #9ccd1a;        /* lime highlight (cube top) */
  --gu-amber: #f5c518;       /* gold (cube left face) */
  --gu-amber-600: #e0b20e;
  --gu-ink: #1c2a22;
  --gu-body: #3f4a44;
  --gu-muted: #6d7b72;
  --gu-line: #e4eadf;
  --gu-bg: #ffffff;
  --gu-bg-soft: #f5f8ee;
  --gu-bg-tint: #eef5db;
  --gu-white: #ffffff;
  --gu-success: #5f8f24;
  --gu-radius: 14px;
  --gu-radius-sm: 10px;
  --gu-radius-lg: 24px;
  --gu-shadow-sm: 0 1px 3px rgba(16,32,46,.06), 0 1px 2px rgba(16,32,46,.04);
  --gu-shadow: 0 10px 30px rgba(15,42,74,.08);
  --gu-shadow-lg: 0 24px 60px rgba(15,42,74,.14);
  --gu-maxw: 1180px;
  --gu-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --gu-serif: "Fraunces", "Georgia", serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--gu-font);
  color: var(--gu-body);
  background: var(--gu-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gu-blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gu-navy); }
h1, h2, h3, h4, h5 { color: var(--gu-ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.gu-container { width: 100%; max-width: var(--gu-maxw); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
section { scroll-margin-top: 90px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.gu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.gu-btn:active { transform: translateY(1px); }
.gu-btn--primary { background: var(--gu-blue); color: #fff; box-shadow: 0 8px 20px rgba(95,143,36,.28); }
.gu-btn--primary:hover { background: var(--gu-blue-600); color: #fff; box-shadow: 0 12px 26px rgba(95,143,36,.34); }
.gu-btn--accent { background: var(--gu-amber); color: var(--gu-navy); box-shadow: 0 8px 20px rgba(245,197,24,.34); }
.gu-btn--accent:hover { background: var(--gu-amber-600); color: var(--gu-navy); }
.gu-btn--ghost { background: transparent; color: var(--gu-navy); border-color: var(--gu-line); }
.gu-btn--ghost:hover { border-color: var(--gu-blue); color: var(--gu-blue); }
.gu-btn--light { background: #fff; color: var(--gu-navy); }
.gu-btn--light:hover { background: var(--gu-bg-tint); color: var(--gu-navy); }
.gu-btn--block { width: 100%; }
.gu-btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ==========================================================================
   Section helpers
   ========================================================================== */
.gu-section { padding: 84px 0; }
.gu-section--soft { background: var(--gu-bg-soft); }
.gu-section--navy { background: var(--gu-navy); color: #cdd8e6; }
.gu-section--navy h2, .gu-section--navy h3 { color: #fff; }
.gu-eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gu-blue); margin-bottom: 14px; }
.gu-section--navy .gu-eyebrow { color: var(--gu-amber); }
.gu-section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.gu-section-head p { color: var(--gu-muted); font-size: 1.08rem; }
.gu-section--navy .gu-section-head p { color: #b6c4d6; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.gu-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--gu-line); }
.gu-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; flex-wrap: nowrap; }
.gu-brand-wrap { flex: none; }
.gu-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--gu-navy); letter-spacing: -.02em; white-space: nowrap; }
.gu-brand__mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--gu-teal), var(--gu-amber)); display: inline-grid; place-items: center; color: var(--gu-navy); font-weight: 800; font-size: 1.05rem; flex: none; }
/* Keep an uploaded Custom Logo from stretching the header bar. */
.gu-brand-wrap .custom-logo-link { display: inline-block; }
.gu-brand-wrap .custom-logo { max-height: 46px; width: auto; }
.gu-brand span em { color: var(--gu-blue); font-style: normal; }
.gu-nav { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1 1 auto; justify-content: center; }
.gu-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; min-width: 0; flex-wrap: nowrap; }
.gu-nav li { min-width: 0; }
.gu-nav a { display: inline-block; padding: 10px 11px; border-radius: 8px; color: var(--gu-ink); font-weight: 500; font-size: .93rem; white-space: nowrap; }
.gu-nav a:hover, .gu-nav .current-menu-item > a { background: var(--gu-bg-tint); color: var(--gu-blue); }
.gu-nav .menu-item-has-children { position: relative; }
.gu-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--gu-line); border-radius: 12px; box-shadow: var(--gu-shadow); padding: 8px; display: none; flex-direction: column; }
.gu-nav .menu-item-has-children:hover .sub-menu { display: flex; }
.gu-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.gu-btn--sm { padding: 11px 16px; font-size: .9rem; white-space: nowrap; }
.gu-menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.gu-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--gu-navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ==========================================================================
   Hero + Matcher
   ========================================================================== */
.gu-hero { background: radial-gradient(1200px 600px at 80% -10%, var(--gu-bg-tint), transparent), var(--gu-bg); overflow: hidden; }
.gu-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 84px; }
.gu-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gu-bg-tint); color: var(--gu-navy); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 999px; margin-bottom: 20px; }
.gu-hero h1 { margin-bottom: 18px; }
.gu-hero__lede { font-size: 1.16rem; color: var(--gu-body); max-width: 560px; margin-bottom: 26px; }
.gu-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.gu-hero__trust { display: flex; gap: 26px; flex-wrap: wrap; color: var(--gu-muted); font-size: .92rem; }
.gu-hero__trust strong { display: block; color: var(--gu-navy); font-size: 1.4rem; font-weight: 800; }
.gu-hero__media { position: relative; }
.gu-hero__media img { border-radius: var(--gu-radius-lg); box-shadow: var(--gu-shadow-lg); }
.gu-hero__media--placeholder { aspect-ratio: 4/3.4; border-radius: var(--gu-radius-lg); background: linear-gradient(150deg, #dbe8fb, #eaf7f5 60%, #fff3d6); box-shadow: var(--gu-shadow-lg); display: grid; place-items: center; color: var(--gu-navy); }

.gu-matcher { background: #fff; border: 1px solid var(--gu-line); border-radius: var(--gu-radius-lg); box-shadow: var(--gu-shadow); padding: 26px; }
.gu-matcher h3 { margin-bottom: 6px; }
.gu-matcher__sub { color: var(--gu-muted); font-size: .95rem; margin-bottom: 18px; }
.gu-field { margin-bottom: 14px; }
.gu-field label { display: block; font-weight: 600; font-size: .9rem; color: var(--gu-navy); margin-bottom: 6px; }
.gu-field select, .gu-field input, .gu-field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--gu-line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--gu-ink); background: #fff; transition: border .16s ease, box-shadow .16s ease;
}
.gu-field select:focus, .gu-field input:focus, .gu-field textarea:focus { outline: none; border-color: var(--gu-blue); box-shadow: 0 0 0 3px rgba(95,143,36,.16); }
.gu-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gu-matcher__note { font-size: .82rem; color: var(--gu-muted); margin-top: 10px; text-align: center; }

/* ==========================================================================
   Service cards
   ========================================================================== */
.gu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gu-cards--4 { grid-template-columns: repeat(4, 1fr); }
.gu-card { background: #fff; border: 1px solid var(--gu-line); border-radius: var(--gu-radius); padding: 30px; box-shadow: var(--gu-shadow-sm); transition: transform .16s ease, box-shadow .18s ease; }
.gu-card:hover { transform: translateY(-4px); box-shadow: var(--gu-shadow); }
.gu-card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gu-bg-tint); color: var(--gu-blue); display: grid; place-items: center; margin-bottom: 16px; font-size: 1.5rem; }
.gu-card h3 { margin-bottom: 8px; }
.gu-card p { color: var(--gu-muted); font-size: .98rem; margin-bottom: 14px; }
.gu-card a.gu-link { font-weight: 600; }
.gu-link::after { content: " \2192"; }

/* ==========================================================================
   Destinations
   ========================================================================== */
.gu-dest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gu-dest { position: relative; border-radius: var(--gu-radius); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--gu-shadow-sm); background-size: cover; background-position: center; }
.gu-dest__flag { font-size: 2rem; }
.gu-dest__body { position: relative; z-index: 2; padding: 18px; width: 100%; background: linear-gradient(to top, rgba(9,20,35,.9), rgba(9,20,35,0)); }
.gu-dest__bg { position: absolute; inset: 0; background: linear-gradient(150deg, var(--gu-navy), var(--gu-blue)); z-index: 1; }
.gu-dest h3 { color: #fff; margin-bottom: 4px; font-size: 1.15rem; }
.gu-dest small { display: block; color: #cfe0f5; font-size: .8rem; }
.gu-dest__meta { margin-top: 10px; font-size: .82rem; color: #dbe7f6; }
.gu-dest__meta b { color: #fff; }

/* ==========================================================================
   How we help (feature rows)
   ========================================================================== */
.gu-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; padding: 34px 0; }
.gu-feature:nth-child(even) .gu-feature__media { order: -1; }
.gu-feature__media--ph { aspect-ratio: 16/11; border-radius: var(--gu-radius-lg); background: linear-gradient(150deg, #e4eefb, #eefaf8); box-shadow: var(--gu-shadow); display: grid; place-items: center; color: var(--gu-blue); font-weight: 700; }
.gu-feature__img { width: 100%; height: auto; border-radius: var(--gu-radius-lg); box-shadow: var(--gu-shadow); display: block; }
.gu-feature__img--photo { aspect-ratio: 16/11; object-fit: cover; }
.gu-feature ul { list-style: none; padding: 0; margin: 14px 0 0; }
.gu-feature li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--gu-body); }
.gu-feature li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--gu-bg-tint); color: var(--gu-blue); font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
.gu-step-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--gu-blue); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }

/* ==========================================================================
   Why us / stats
   ========================================================================== */
.gu-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gu-why__item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--gu-radius); padding: 28px; }
.gu-why__item h3 { color: #fff; margin-bottom: 8px; }
.gu-why__item p { color: #b6c4d6; font-size: .96rem; }
.gu-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.gu-stat { text-align: center; }
.gu-stat strong { display: block; font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--gu-navy); font-weight: 800; letter-spacing: -.02em; }
.gu-section--navy .gu-stat strong { color: var(--gu-amber); }
.gu-stat span { color: var(--gu-muted); font-size: .95rem; }
.gu-section--navy .gu-stat span { color: #b6c4d6; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.gu-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gu-testi { background: #fff; border: 1px solid var(--gu-line); border-radius: var(--gu-radius); padding: 26px; box-shadow: var(--gu-shadow-sm); display: flex; flex-direction: column; }
.gu-testi__scholarship { align-self: flex-start; background: #fff5df; color: var(--gu-amber-600); font-weight: 700; font-size: .78rem; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.gu-testi__quote { color: var(--gu-body); font-size: 1rem; margin-bottom: 18px; flex: 1; }
.gu-testi__who { display: flex; align-items: center; gap: 12px; }
.gu-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--gu-blue), var(--gu-teal)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.gu-testi__who b { color: var(--gu-ink); display: block; font-size: .96rem; }
.gu-testi__who small { color: var(--gu-muted); font-size: .82rem; }

/* ==========================================================================
   Logo marquee
   ========================================================================== */
.gu-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.gu-logo-chip { background: #fff; border: 1px solid var(--gu-line); border-radius: 12px; padding: 16px 22px; font-weight: 700; color: var(--gu-navy); box-shadow: var(--gu-shadow-sm); }

/* ==========================================================================
   Cards grid (universities / scholarships / guides)
   ========================================================================== */
.gu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gu-grid--4 { grid-template-columns: repeat(4, 1fr); }
.gu-tile { background: #fff; border: 1px solid var(--gu-line); border-radius: var(--gu-radius); overflow: hidden; box-shadow: var(--gu-shadow-sm); transition: transform .16s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.gu-tile:hover { transform: translateY(-4px); box-shadow: var(--gu-shadow); }
.gu-tile__media { aspect-ratio: 16/9; background: linear-gradient(150deg, #dce8fa, #e9f7f4); position: relative; overflow: hidden; }
.gu-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.gu-tile__tag { position: absolute; top: 12px; left: 12px; background: rgba(15,42,74,.9); color: #fff; font-size: .75rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.gu-tile__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.gu-tile__body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.gu-tile__meta { color: var(--gu-muted); font-size: .86rem; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.gu-tile__meta span { display: inline-flex; align-items: center; gap: 5px; }
.gu-tile__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--gu-line); }
.gu-tile__price { font-weight: 700; color: var(--gu-navy); }
.gu-tile__price small { display: block; color: var(--gu-muted); font-weight: 500; font-size: .72rem; }

/* ==========================================================================
   University logos
   ========================================================================== */
.gu-logo { background: #fff; border: 1px solid var(--gu-line); border-radius: 14px; display: grid; place-items: center; overflow: hidden; flex: none; }
.gu-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }
.gu-logo--sm { width: 76px; height: 76px; }
.gu-logo--lg { width: 104px; height: 104px; border-radius: 18px; box-shadow: var(--gu-shadow-sm); }
.gu-logo--mono { background: var(--gu-logo-c, var(--gu-navy)); border-color: transparent; }
.gu-logo--mono span { color: #fff; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.gu-logo--sm.gu-logo--mono span { font-size: 1.5rem; }
.gu-logo--lg.gu-logo--mono span { font-size: 2rem; }

/* Logo-led university tile */
.gu-tile--uni .gu-tile__logobar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 20px 0; background: transparent;
}
.gu-tile--uni .gu-tile__rank {
  background: var(--gu-bg-tint); color: var(--gu-blue); font-size: .76rem; font-weight: 700;
  padding: 6px 11px; border-radius: 999px; white-space: nowrap;
}
.gu-tile--uni .gu-tile__body { padding-top: 16px; }
.gu-tile--uni:hover .gu-logo { border-color: var(--gu-blue); }

/* ==========================================================================
   Explorer / filters
   ========================================================================== */
.gu-explorer { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.gu-filters { background: #fff; border: 1px solid var(--gu-line); border-radius: var(--gu-radius); padding: 22px; position: sticky; top: 96px; }
.gu-filters h4 { font-size: 1rem; margin: 0 0 14px; }
.gu-filter-group { border-top: 1px solid var(--gu-line); padding: 14px 0; }
.gu-filter-group:first-of-type { border-top: 0; padding-top: 0; }
.gu-filter-group legend { font-weight: 600; font-size: .9rem; color: var(--gu-navy); margin-bottom: 8px; padding: 0; }
.gu-check { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; font-size: .92rem; color: var(--gu-body); cursor: pointer; }
.gu-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.gu-toolbar__count { color: var(--gu-muted); font-size: .92rem; }
.gu-search { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.gu-empty { text-align: center; padding: 50px; color: var(--gu-muted); background: #fff; border: 1px dashed var(--gu-line); border-radius: var(--gu-radius); }

/* ==========================================================================
   Matcher results page
   ========================================================================== */
.gu-match-result { display: none; }
.gu-match-result.is-active { display: block; }
.gu-pill { display: inline-block; background: var(--gu-bg-tint); color: var(--gu-blue); border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 600; margin: 0 6px 6px 0; }

/* ==========================================================================
   Discipline finder quiz
   ========================================================================== */
.gu-matcher__divider { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--gu-muted); font-size: .85rem; }
.gu-matcher__divider::before, .gu-matcher__divider::after { content: ""; flex: 1; height: 1px; background: var(--gu-line); }

.gu-quiz__bar { height: 8px; border-radius: 99px; background: var(--gu-line); overflow: hidden; margin-bottom: 10px; }
.gu-quiz__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gu-blue), var(--gu-teal)); border-radius: 99px; transition: width .3s ease; }
.gu-quiz__count { text-align: center; color: var(--gu-muted); font-size: .88rem; margin-bottom: 22px; }
.gu-quiz__q h3 { font-size: 1.45rem; text-align: center; margin-bottom: 22px; }
.gu-quiz__opts { display: grid; gap: 12px; }
.gu-quiz__opt {
  text-align: left; font-family: inherit; font-size: 1.02rem; color: var(--gu-ink);
  background: #fff; border: 2px solid var(--gu-line); border-radius: 14px;
  padding: 18px 20px; cursor: pointer; transition: border-color .15s ease, transform .12s ease, box-shadow .18s ease;
}
.gu-quiz__opt:hover { border-color: var(--gu-blue); transform: translateY(-2px); box-shadow: var(--gu-shadow-sm); }
.gu-quiz__opt.is-selected { border-color: var(--gu-blue); background: var(--gu-bg-tint); }

.gu-result-card { background: #fff; border: 1px solid var(--gu-line); border-radius: var(--gu-radius); padding: 24px; margin-bottom: 16px; box-shadow: var(--gu-shadow-sm); }
.gu-result-card.is-top { border: 2px solid var(--gu-blue); box-shadow: var(--gu-shadow); }
.gu-result-card__head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.gu-result-card__icon { font-size: 2.2rem; }
.gu-result-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.gu-result-card p { color: var(--gu-muted); font-size: .98rem; }
.gu-result-card__courses { color: var(--gu-body) !important; font-size: .92rem !important; }
.gu-fit { display: flex; align-items: center; gap: 10px; }
.gu-fit__bar { flex: 1; max-width: 180px; height: 7px; background: var(--gu-line); border-radius: 99px; overflow: hidden; }
.gu-fit__bar i { display: block; height: 100%; background: var(--gu-teal); border-radius: 99px; }
.gu-fit b { font-size: .82rem; color: var(--gu-blue); }

/* ==========================================================================
   Application status tracker
   ========================================================================== */
.gu-tracker { list-style: none; margin: 0; padding: 8px 0; position: relative; }
.gu-tracker__step { position: relative; padding: 0 0 26px 40px; }
.gu-tracker__step:last-child { padding-bottom: 0; }
.gu-tracker__step::before { content: ""; position: absolute; left: 13px; top: 22px; bottom: -4px; width: 2px; background: var(--gu-line); }
.gu-tracker__step:last-child::before { display: none; }
.gu-tracker__dot { position: absolute; left: 4px; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--gu-line); }
.gu-tracker__label { font-weight: 600; color: var(--gu-muted); }
.gu-tracker__step.is-done .gu-tracker__dot { background: var(--gu-blue); border-color: var(--gu-blue); }
.gu-tracker__step.is-done .gu-tracker__dot::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .7rem; font-weight: 700; }
.gu-tracker__step.is-done::before { background: var(--gu-blue); }
.gu-tracker__step.is-done .gu-tracker__label { color: var(--gu-ink); }
.gu-tracker__step.is-current .gu-tracker__dot { background: var(--gu-amber); border-color: var(--gu-amber); box-shadow: 0 0 0 5px rgba(245,197,24,.25); }
.gu-tracker__step.is-current .gu-tracker__label { color: var(--gu-ink); }
.gu-tracker-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.gu-faq { max-width: 820px; margin: 0 auto; }
.gu-faq__item { border: 1px solid var(--gu-line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.gu-faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px; font-size: 1.05rem; font-weight: 600; color: var(--gu-ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: inherit; }
.gu-faq__q::after { content: "+"; font-size: 1.5rem; color: var(--gu-blue); transition: transform .2s ease; }
.gu-faq__item.is-open .gu-faq__q::after { transform: rotate(45deg); }
.gu-faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.gu-faq__a-inner { padding: 0 22px 20px; color: var(--gu-muted); }

/* ==========================================================================
   Parents section
   ========================================================================== */
.gu-parents-hero { background: linear-gradient(150deg, var(--gu-bg-tint), #fff); border-radius: var(--gu-radius-lg); padding: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.gu-parents-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gu-parents-list .gu-card__icon { background: #fff5df; color: var(--gu-amber-600); }

/* ==========================================================================
   Contact / CTA
   ========================================================================== */
.gu-cta { background: linear-gradient(135deg, var(--gu-navy), var(--gu-blue)); border-radius: var(--gu-radius-lg); padding: 56px; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.gu-cta h2 { color: #fff; }
.gu-cta p { color: #d6e2f2; }
.gu-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gu-contact-info li { list-style: none; display: flex; gap: 12px; margin-bottom: 16px; }
.gu-contact-info { padding: 0; }
.gu-contact-info .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--gu-bg-tint); color: var(--gu-blue); display: grid; place-items: center; flex: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.gu-footer { background: var(--gu-navy); color: #a9b8cc; padding: 64px 0 26px; }
.gu-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.gu-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.gu-footer ul { list-style: none; padding: 0; margin: 0; }
.gu-footer li { margin-bottom: 10px; }
.gu-footer a { color: #a9b8cc; }
.gu-footer a:hover { color: #fff; }
.gu-footer__brand p { color: #8ea1ba; font-size: .95rem; max-width: 340px; }
.gu-social { display: flex; gap: 10px; margin-top: 16px; }
.gu-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.gu-social a:hover { background: var(--gu-blue); }
.gu-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* ==========================================================================
   Single / content
   ========================================================================== */
.gu-page-hero { background: var(--gu-bg-soft); padding: 56px 0; border-bottom: 1px solid var(--gu-line); }
.gu-breadcrumb { font-size: .86rem; color: var(--gu-muted); margin-bottom: 12px; }
.gu-breadcrumb a { color: var(--gu-muted); }
.gu-prose { max-width: 760px; margin: 0 auto; }
.gu-prose img { border-radius: var(--gu-radius); margin: 22px 0; }
.gu-prose h2 { margin-top: 1.6em; }
.gu-uni-header { display: grid; grid-template-columns: 104px 1fr auto; gap: 22px; align-items: center; }
.gu-uni-logo { width: 90px; height: 90px; border-radius: 16px; background: #fff; border: 1px solid var(--gu-line); display: grid; place-items: center; font-weight: 800; color: var(--gu-navy); font-size: 1.4rem; box-shadow: var(--gu-shadow-sm); }
.gu-rank-row { display: flex; gap: 30px; flex-wrap: wrap; margin: 24px 0; }
.gu-rank { background: #fff; border: 1px solid var(--gu-line); border-radius: 12px; padding: 16px 22px; text-align: center; box-shadow: var(--gu-shadow-sm); }
.gu-rank strong { display: block; font-size: 1.6rem; color: var(--gu-navy); }
.gu-rank span { font-size: .8rem; color: var(--gu-muted); }
.gu-course-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border: 1px solid var(--gu-line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.gu-course-row h4 { margin: 0 0 3px; font-size: 1.02rem; }
.gu-course-row small { color: var(--gu-muted); }

/* ==========================================================================
   Pagination / misc
   ========================================================================== */
.gu-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.gu-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--gu-line); border-radius: 10px; color: var(--gu-ink); font-weight: 600; }
.gu-pagination .current { background: var(--gu-blue); color: #fff; border-color: var(--gu-blue); }
.gu-notice { background: var(--gu-bg-tint); border: 1px solid #cfe0fb; border-radius: 12px; padding: 16px 18px; color: var(--gu-navy); font-size: .95rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Prevent sideways scrolling without breaking the sticky header.
   overflow-x: clip (unlike hidden) does not create a scroll container. */
body { max-width: 100%; overflow-x: clip; }
img, svg, iframe, video, table { max-width: 100%; }

/* Collapse the nav to a hamburger before the links can overflow the bar.
   Below this width the full menu no longer fits alongside the logo + CTAs. */
@media (max-width: 1180px) {
  .gu-nav { display: none; }
  .gu-menu-toggle { display: block; }
  .gu-header.is-open .gu-nav {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gu-line);
    flex-direction: column; align-items: stretch; padding: 12px; gap: 2px;
    max-height: calc(100vh - 74px); overflow-y: auto; box-shadow: var(--gu-shadow);
  }
  .gu-header.is-open .gu-nav ul { flex-direction: column; align-items: stretch; }
  .gu-header.is-open .gu-nav a { padding: 12px 14px; font-size: 1rem; }
  .gu-header.is-open .gu-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding-left: 16px; }
}

@media (max-width: 1024px) {
  .gu-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .gu-dest-grid { grid-template-columns: repeat(3, 1fr); }
  .gu-cards, .gu-cards--4, .gu-why, .gu-testi-grid, .gu-grid, .gu-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gu-stats { grid-template-columns: repeat(2, 1fr); }
  .gu-explorer { grid-template-columns: 1fr; }
  .gu-filters { position: static; }
  .gu-cta, .gu-parents-hero, .gu-contact-grid, .gu-parents-list { grid-template-columns: 1fr; }
  .gu-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .gu-container { padding: 0 18px; }
  .gu-section { padding: 56px 0; }

  /* Header: hide the secondary CTA, keep a compact Apply button visible. */
  .gu-header__actions .gu-btn--ghost { display: none; }
  .gu-header__actions .gu-btn { padding: 10px 14px; font-size: .9rem; }
  .gu-header__bar { height: 66px; }
  .gu-brand { font-size: 1.15rem; }
  .gu-header.is-open .gu-nav { top: 66px; max-height: calc(100vh - 66px); }

  /* Stack the big grids. */
  .gu-feature, .gu-uni-header, .gu-course-row { grid-template-columns: 1fr; }
  .gu-feature { gap: 24px; }
  .gu-feature:nth-child(even) .gu-feature__media { order: 0; }
  .gu-cards, .gu-cards--4, .gu-why, .gu-testi-grid, .gu-grid, .gu-grid--4, .gu-dest-grid, .gu-footer__grid, .gu-field--row, .gu-parents-list { grid-template-columns: 1fr; }

  /* Hero + CTAs. */
  .gu-hero__grid { padding: 44px 0 56px; }
  .gu-hero__cta { flex-direction: column; }
  .gu-hero__cta .gu-btn { width: 100%; }
  .gu-hero__trust { gap: 18px; }
  .gu-matcher { padding: 20px; }

  /* Sections & cards. */
  .gu-section-head { margin-bottom: 36px; }
  .gu-cta, .gu-parents-hero { padding: 28px; text-align: center; }
  .gu-cta > div:last-child, .gu-parents-hero > div:last-child { justify-self: center; }
  .gu-page-hero { padding: 40px 0; }
  .gu-dest { min-height: 200px; }

  /* University detail: stack header, center the apply button, tidy course rows. */
  .gu-uni-header { text-align: center; justify-items: center; gap: 14px; }
  .gu-course-row { gap: 8px; text-align: left; }
  .gu-course-row .gu-btn { width: 100%; }
  .gu-rank-row { gap: 12px; }
  .gu-rank { flex: 1 1 40%; padding: 12px 14px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .gu-section { padding: 44px 0; }
  .gu-btn { padding: 13px 20px; }
  .gu-btn--lg { padding: 15px 24px; font-size: 1rem; }
  .gu-cta, .gu-parents-hero { padding: 22px; }
  .gu-matcher { padding: 16px; }
  .gu-testi, .gu-card, .gu-tile__body { padding: 18px; }
  .gu-rank { flex: 1 1 100%; }
  .gu-logo-chip { padding: 12px 16px; font-size: .9rem; }
}
