/*
Theme Name: CampusQuota
Theme URI: https://campusquota.in
Author: CampusQuota
Author URI: https://campusquota.in
Description: A minimal, clean theme for CampusQuota. Careers360-inspired layout with a single font family and a site-wide colour system driven by the Customizer (Appearance > Customize > CampusQuota Options).
Version: 1.22.2
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: campusquota
*/

/* ============================================================
   CampusQuota design tokens.
   These defaults mirror the Customizer options. The Customizer
   overrides them at runtime by printing :root variables in
   the document head (see inc/customizer.php). Change a colour
   or font once in the Customizer and it updates everywhere.
   ============================================================ */
:root {
  --cq-primary: #f2622e;
  --cq-primary-dark: #d94f1e;
  --cq-navy: #1b1b4d;
  --cq-navy-2: #2a2a6b;
  --cq-ink: #191930;
  --cq-text: #3c3c55;
  --cq-muted: #6f7288;
  --cq-bg: #ffffff;
  --cq-hero-bg: #f4f2fe;
  --cq-soft: #f6f5fb;
  --cq-border: #e9e7f2;
  --cq-card: #ffffff;
  --cq-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --cq-radius: 12px;
  --cq-radius-pill: 999px;
  --cq-shadow: 0 8px 30px rgba(27, 27, 77, 0.08);
  --cq-container: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cq-bg);
  color: var(--cq-text);
  font-family: var(--cq-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--cq-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--cq-ink); line-height: 1.25; margin: 0 0 12px; font-weight: 700; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
button, input, select, textarea { font-family: inherit; font-size: 15px; }
.container { max-width: var(--cq-container); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.cq-header { background: #fff; border-bottom: 1px solid var(--cq-border); }
.cq-header-top { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.cq-logo { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--cq-navy); white-space: nowrap; line-height: 1.1; }
.cq-logo span { color: var(--cq-primary); }
.cq-logo-sub { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0.4px; color: var(--cq-muted); }
.cq-logo:hover { text-decoration: none; }
.cq-search { flex: 1; max-width: 560px; margin: 0 auto; }
.cq-search form { display: flex; align-items: center; background: var(--cq-soft); border: 1px solid transparent; border-radius: var(--cq-radius-pill); padding: 2px 6px 2px 16px; }
.cq-search form:focus-within { border-color: var(--cq-primary); background: #fff; }
.cq-search input[type="search"] { flex: 1; border: 0; background: transparent; outline: none; padding: 9px 8px 9px 0; color: var(--cq-ink); min-width: 0; }
.cq-search input[type="search"]::placeholder { color: var(--cq-muted); }
.cq-search button { border: 0; background: transparent; cursor: pointer; color: var(--cq-muted); display: flex; padding: 8px; }
.cq-search button svg { width: 18px; height: 18px; }
.cq-header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.cq-icon-btn { border: 0; background: transparent; cursor: pointer; color: var(--cq-navy); display: flex; padding: 6px; }
.cq-icon-btn svg { width: 22px; height: 22px; }
.cq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--cq-primary); color: #fff; border: 0; border-radius: var(--cq-radius-pill); padding: 10px 26px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cq-btn:hover { background: var(--cq-primary-dark); text-decoration: none; color: #fff; }
.cq-btn-outline { background: #fff; color: var(--cq-navy); border: 1px solid var(--cq-border); }
.cq-btn-outline:hover { border-color: var(--cq-primary); color: var(--cq-primary); background: #fff; }
.cq-menu-toggle { display: none; border: 1px solid var(--cq-border); background: #fff; border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--cq-navy); }
.cq-menu-toggle svg { width: 22px; height: 22px; display: block; }

/* ---------- Category nav ---------- */
.cq-nav { border-top: 1px solid var(--cq-border); background: #fff; }
.cq-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.cq-nav ul::-webkit-scrollbar { display: none; }
.cq-nav li { flex-shrink: 0; }
.cq-nav a { display: flex; align-items: center; gap: 7px; padding: 11px 12px; color: var(--cq-ink); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.cq-nav a:hover { color: var(--cq-primary); text-decoration: none; }
.cq-nav a svg { width: 17px; height: 17px; color: var(--cq-navy); flex-shrink: 0; }
.cq-nav .cq-caret { width: 12px; height: 12px; color: var(--cq-muted); }

/* ---------- Hero ---------- */
.cq-hero { background: var(--cq-hero-bg); padding: 56px 0 64px; }
.cq-hero-center { text-align: center; padding: 64px 0 72px; }
.cq-hero-inner { max-width: 880px; margin: 0 auto; }
.cq-hero h1 { font-size: 52px; line-height: 1.12; letter-spacing: -1.2px; font-weight: 800; color: var(--cq-ink); margin-bottom: 24px; }
.cq-hero-center h1 { font-size: 40px; font-weight: 700; line-height: 1.18; margin-bottom: 16px; }
.cq-hero-sub { font-size: 17px; color: var(--cq-text); max-width: 640px; margin: 0 auto 26px; }
.cq-hero-center .cq-hero-search { margin: 0 auto; }
.cq-popular-center { justify-content: center; }
.cq-hero-search { background: #fff; border-radius: var(--cq-radius-pill); box-shadow: var(--cq-shadow); padding: 5px 6px 5px 20px; display: flex; align-items: center; max-width: 520px; }
.cq-hero-search form { display: flex; align-items: center; flex: 1; }
.cq-hero-search input[type="search"] { flex: 1; border: 0; outline: none; padding: 10px 8px 10px 0; color: var(--cq-ink); min-width: 0; }
.cq-hero-search input[type="search"]::placeholder { color: var(--cq-muted); }
.cq-hero-search button { border: 0; background: transparent; cursor: pointer; color: var(--cq-muted); display: flex; padding: 8px; }
.cq-hero-search button svg { width: 19px; height: 19px; }
.cq-popular { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cq-pill { position: relative; display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--cq-border); border-radius: var(--cq-radius-pill); padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--cq-ink); margin-top: 10px; }
.cq-pill:hover { border-color: var(--cq-primary); color: var(--cq-primary); text-decoration: none; }
.cq-pill .cq-tag { position: absolute; top: -11px; left: 14px; background: var(--cq-primary); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: 0.6px; padding: 2px 7px; border-radius: 4px; }

/* Dark promo card */
.cq-promo { background: linear-gradient(135deg, var(--cq-navy) 0%, var(--cq-navy-2) 60%, #3a3a8f 100%); border-radius: 20px; color: #fff; padding: 34px 32px 28px; position: relative; overflow: hidden; box-shadow: 0 18px 44px rgba(27, 27, 77, 0.28); }
.cq-promo h2 { color: #fff; font-size: 27px; line-height: 1.3; font-weight: 700; margin: 0 0 10px; max-width: 340px; }
.cq-promo p { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; max-width: 380px; margin-bottom: 18px; }
.cq-promo .cq-btn { padding: 11px 22px; }
.cq-promo-badge { position: absolute; top: 22px; right: 22px; background: #fff; color: var(--cq-ink); border-radius: 10px; padding: 8px 12px; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.cq-promo-badge small { display: block; font-weight: 500; color: var(--cq-muted); font-size: 10px; }
.cq-promo-badge svg { width: 18px; height: 18px; color: #1faa59; flex-shrink: 0; }
.cq-cutoff { margin-top: 26px; background: rgba(255, 255, 255, 0.97); border-radius: 12px; padding: 14px 16px; color: var(--cq-ink); max-width: 260px; margin-left: auto; }
.cq-cutoff strong { font-size: 13.5px; display: block; }
.cq-cutoff small { color: var(--cq-muted); font-size: 11.5px; }
.cq-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 8px; }
.cq-bars i { flex: 1; border-radius: 3px 3px 0 0; background: #c9c6f2; display: block; }
.cq-bars i:nth-child(3) { background: #7d7bd6; }
.cq-bars i:nth-child(4) { background: var(--cq-primary); }
.cq-bars i:nth-child(5) { background: #5a58c9; }

/* ---------- Sections ---------- */
.cq-section { padding: 44px 0; }
.cq-section-soft { background: var(--cq-soft); }
.cq-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cq-section-head-center { flex-direction: column; align-items: center; text-align: center; }
.cq-section-head-center p { color: var(--cq-muted); max-width: 560px; margin: 0; }
.cq-section-head h2 { font-size: 22px; margin: 0; }
.cq-section-head a { font-weight: 600; font-size: 14.5px; }
.cq-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cq-card { background: var(--cq-card); border: 1px solid var(--cq-border); border-radius: var(--cq-radius); padding: 20px; }
.cq-card h3 { font-size: 17px; margin: 0 0 8px; }
.cq-card h3 a { color: var(--cq-ink); }
.cq-card h3 a:hover { color: var(--cq-primary); }
.cq-card p { color: var(--cq-muted); font-size: 14.5px; margin-bottom: 10px; }
.cq-card time { font-size: 12.5px; color: var(--cq-muted); }
.cq-empty { border: 1px dashed var(--cq-border); border-radius: var(--cq-radius); padding: 28px; text-align: center; color: var(--cq-muted); background: var(--cq-soft); }

/* Stream tiles */
.cq-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cq-tile { display: flex; align-items: center; gap: 12px; background: var(--cq-card); border: 1px solid var(--cq-border); border-radius: var(--cq-radius); padding: 16px; color: var(--cq-ink); font-weight: 600; font-size: 15px; }
.cq-tile:hover { border-color: var(--cq-primary); color: var(--cq-primary); text-decoration: none; }
.cq-tile svg { width: 22px; height: 22px; color: var(--cq-navy); flex-shrink: 0; }

/* ---------- College cards ---------- */
.cq-college-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cq-college-card { background: var(--cq-card); border: 1px solid var(--cq-border); border-radius: var(--cq-radius); overflow: hidden; display: flex; flex-direction: column; }
.cq-college-img { display: block; }
.cq-card-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.cq-card-initials { background: linear-gradient(135deg, var(--cq-navy), var(--cq-navy-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 800; letter-spacing: 1px; }
.cq-college-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cq-college-body h3 { font-size: 17.5px; margin: 0 0 4px; }
.cq-college-body h3 a { color: var(--cq-ink); }
.cq-college-body h3 a:hover { color: var(--cq-primary); }
.cq-college-meta { color: var(--cq-muted); font-size: 13.5px; margin-bottom: 12px; }
.cq-college-facts { display: grid; gap: 6px; margin-bottom: 14px; }
.cq-college-facts span { font-size: 13.5px; color: var(--cq-text); }
.cq-college-facts strong { color: var(--cq-muted); font-weight: 500; margin-right: 6px; }
.cq-college-link { margin-top: auto; font-weight: 600; font-size: 14px; }

/* ---------- Exam and tool cards ---------- */
.cq-exam-facts { display: grid; gap: 6px; margin-bottom: 12px; }
.cq-exam-facts span { font-size: 13.5px; color: var(--cq-text); }
.cq-exam-facts strong { color: var(--cq-muted); font-weight: 500; margin-right: 6px; }
.cq-tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cq-tool-card { display: flex; flex-direction: column; }
.cq-tool-card .cq-btn { margin-top: auto; align-self: flex-start; }
.cq-tool-type { display: inline-block; align-self: flex-start; background: var(--cq-hero-bg); color: var(--cq-navy); font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }

/* ---------- Why CampusQuota stats ---------- */
.cq-why { background: var(--cq-navy); color: #fff; }
.cq-why h2 { color: #fff; }
.cq-why .cq-section-head-center p { color: rgba(255, 255, 255, 0.75); }
.cq-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; margin-top: 8px; }
.cq-stat { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; padding: 28px 18px 24px; }
.cq-stat-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--cq-primary); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.cq-stat-icon svg { width: 26px; height: 26px; }
.cq-stat strong { display: block; font-size: 42px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.cq-stat span { color: rgba(255, 255, 255, 0.78); font-size: 15px; }

/* ---------- FAQ ---------- */
.cq-faq-section .cq-section-head { justify-content: center; text-align: center; }
.cq-faq { max-width: 780px; margin: 0 auto; }
.cq-faq details { background: #fff; border: 1px solid var(--cq-border); border-radius: var(--cq-radius); margin-bottom: 12px; padding: 16px 20px; }
.cq-faq summary { cursor: pointer; font-weight: 600; color: var(--cq-ink); font-size: 16px; }
.cq-faq summary::marker { color: var(--cq-primary); }
.cq-faq p { margin: 10px 0 0; color: var(--cq-text); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cq-cta { background: var(--cq-hero-bg); padding: 56px 0; }
.cq-cta-card { background: linear-gradient(135deg, var(--cq-navy) 0%, var(--cq-navy-2) 60%, #3a3a8f 100%); border-radius: 20px; color: #fff; text-align: center; padding: 48px 32px 72px; box-shadow: 0 18px 44px rgba(27, 27, 77, 0.25); }
.cq-cta-card h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.cq-cta-card p { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 0 auto 24px; }
.cq-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cq-cta-card .cq-cta-note { margin: 28px auto 0; font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.cq-btn-light { background: #fff; color: var(--cq-primary); }
.cq-btn-light:hover { background: #fff; color: var(--cq-primary-dark); }
.cq-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.cq-btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); text-decoration: none; }

/* ---------- Summary box (single college/course/exam) ---------- */
.cq-summary { border: 1px solid var(--cq-border); border-radius: var(--cq-radius); background: var(--cq-soft); padding: 6px 20px; margin-bottom: 26px; }
.cq-summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--cq-border); font-size: 15px; }
.cq-summary-row:last-child { border-bottom: 0; }
.cq-summary-row span { color: var(--cq-muted); }
.cq-summary-row strong { color: var(--cq-ink); font-weight: 600; text-align: right; }
.cq-cta-inline { background: var(--cq-hero-bg); border-radius: var(--cq-radius); padding: 26px 28px; margin-top: 32px; }
.cq-cta-inline h2 { font-size: 21px; margin-bottom: 8px; }
.cq-cta-inline p { margin-bottom: 16px; }

/* ---------- Content pages ---------- */
.cq-page { padding: 40px 0 56px; }
.cq-page h1 { font-size: 34px; letter-spacing: -0.5px; }
.cq-content { max-width: 780px; }
.cq-content img { border-radius: var(--cq-radius); }
/* Rich-text page content (exam pages and other single pages): headings, lists, tables. */
.cq-content h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; color: var(--cq-ink); margin: 28px 0 12px; }
.cq-content h3 { font-size: 18.5px; font-weight: 800; color: var(--cq-ink); margin: 24px 0 10px; }
.cq-content p { margin: 0 0 16px; line-height: 1.7; }
.cq-content ul, .cq-content ol { margin: 0 0 16px; padding-left: 22px; }
.cq-content li { margin-bottom: 7px; line-height: 1.65; }
.cq-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 16px; }
.cq-content th { background: var(--cq-navy); color: #fff; text-align: left; font-weight: 700; padding: 11px 14px; }
.cq-content td { padding: 10px 14px; border-top: 1px solid var(--cq-border); vertical-align: top; line-height: 1.55; }
.cq-content tbody tr:nth-child(even) td { background: var(--cq-soft); }
.cq-content a { color: var(--cq-primary); font-weight: 600; }
.cq-content a:hover { text-decoration: underline; }
.cq-content a.cq-btn { color: #fff; }
.cq-content a.cq-btn:hover { color: #fff; text-decoration: none; }
.cq-content a.cq-btn-light, .cq-content a.cq-btn-outline { color: var(--cq-navy); }
.cq-content a.cq-btn-light:hover, .cq-content a.cq-btn-outline:hover { color: var(--cq-navy); text-decoration: none; }
.cq-content strong { color: var(--cq-ink); }
@media (max-width: 640px) {
  .cq-content th, .cq-content td { padding: 9px 11px; }
}
/* Exam pages: layout, rounded table wrap, college cards, CTAs. */
.cq-exam-table-wrap { margin: 0 0 16px; }
.cq-exam-table-wrap .cq-exam-table { margin: 0; min-width: 560px; }
.cq-exam-college-grid { grid-template-columns: repeat(2, 1fr); margin: 0 0 16px; }
.cq-exam-content .cq-cta-inline { margin: 28px 0; }
.cq-exam-facts { max-width: 780px; }
@media (max-width: 640px) {
  .cq-exam-college-grid { grid-template-columns: 1fr; }
  .cq-exam-table-wrap .cq-exam-table { min-width: 520px; }
}
/* ---------- Mega menu ---------- */
.cq-nav-mega { position: relative; }
.cq-nav-mega .cq-mega-nav { overflow: visible; }
.cq-nav-item-row { display: flex; align-items: center; }
.cq-mega-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--cq-muted); }
.cq-mega-toggle svg { width: 15px; height: 15px; }
.cq-has-mega { position: static; }
.cq-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--cq-border); box-shadow: 0 28px 50px rgba(27, 27, 77, 0.14); padding: 26px 0 30px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 60; }
.cq-has-mega:hover .cq-mega, .cq-has-mega:focus-within .cq-mega { opacity: 1; visibility: visible; transform: none; }
.cq-mega-grid { max-width: var(--cq-container); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.cq-mega-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cq-mega h4 { font-size: 12.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--cq-navy); margin: 0 0 12px; }
.cq-nav .cq-mega-list { list-style: none; margin: 0; padding: 0; display: block; overflow: visible; }
.cq-mega-list li { margin: 0; }
.cq-nav .cq-mega-list a { display: block; padding: 6px 0; font-size: 14.5px; font-weight: 500; color: var(--cq-text); white-space: normal; }
.cq-nav .cq-mega-list a:hover { color: var(--cq-primary); }
.cq-nav a.cq-mega-more { display: inline-flex; padding: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--cq-primary); }
.cq-mega-feature { background: var(--cq-soft); border: 1px solid var(--cq-border); border-radius: 14px; padding: 18px; }
.cq-mega-feature h4 { color: var(--cq-primary-dark); }
.cq-mega-feature p { font-size: 14px; line-height: 1.55; color: var(--cq-text); margin: 0 0 14px; }
.cq-nav a.cq-mega-cta { color: #fff; padding: 9px 20px; font-size: 14px; }
.cq-nav a.cq-mega-cta:hover { color: #fff; }
@media (max-width: 960px) {
  .cq-nav-mega .cq-mega-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .cq-nav-item-row { justify-content: space-between; width: 100%; }
  .cq-mega-toggle { display: flex; align-items: center; }
  .cq-mega-toggle svg { transition: transform 0.2s ease; }
  .cq-has-mega.cq-open .cq-mega-toggle svg { transform: rotate(180deg); }
  .cq-mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 2px 0 16px 16px; }
  .cq-has-mega.cq-open .cq-mega { display: block; }
  .cq-mega-grid, .cq-mega-grid-3 { grid-template-columns: 1fr; gap: 18px; padding: 0; }
  .cq-mega-feature { padding: 14px; }
}

/* ---------- Blog ---------- */
.cq-blog-hero { background: var(--cq-hero-bg); padding: 44px 0 40px; }
.cq-blog-hero h1 { font-size: 36px; letter-spacing: -0.6px; margin: 0; }
.cq-blog-hero-sub { font-size: 16.5px; color: var(--cq-text); max-width: 720px; margin: 12px 0 0; line-height: 1.6; }
.cq-blog-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.cq-blog-chip { border: 1px solid var(--cq-border); background: #fff; color: var(--cq-ink); border-radius: var(--cq-radius-pill); padding: 8px 16px; font-size: 14px; font-weight: 600; }
.cq-blog-chip:hover { border-color: var(--cq-primary); color: var(--cq-primary); text-decoration: none; }
.cq-blog-chip.is-active { background: var(--cq-navy); border-color: var(--cq-navy); color: #fff; }
.cq-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cq-blog-card { border: 1px solid var(--cq-border); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.cq-blog-card-img { display: block; aspect-ratio: 16 / 9; background: var(--cq-soft); overflow: hidden; }
.cq-blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cq-blog-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--cq-primary); }
.cq-blog-card-placeholder svg { width: 44px; height: 44px; }
.cq-blog-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cq-blog-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--cq-muted); }
.cq-blog-tag { background: var(--cq-hero-bg); color: var(--cq-navy); font-weight: 700; border-radius: var(--cq-radius-pill); padding: 4px 11px; font-size: 12px; }
.cq-blog-card h2 { font-size: 19px; line-height: 1.35; margin: 0; }
.cq-blog-card h2 a { color: var(--cq-ink); }
.cq-blog-card h2 a:hover { color: var(--cq-primary); text-decoration: none; }
.cq-blog-card p { margin: 0; color: var(--cq-text); font-size: 14.5px; line-height: 1.6; flex: 1; }
.cq-blog-card-featured { grid-column: 1 / -1; flex-direction: row; }
.cq-blog-card-featured .cq-blog-card-img { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; }
.cq-blog-card-featured .cq-blog-card-body { padding: 28px 30px; }
.cq-blog-card-featured h2 { font-size: 25px; }
.cq-blog-empty { border: 1px solid var(--cq-border); border-radius: 16px; background: var(--cq-soft); padding: 34px; text-align: center; }
.cq-blog-empty h2 { margin: 0 0 10px; font-size: 23px; }
.cq-blog-empty p { max-width: 640px; margin: 0 auto 22px; line-height: 1.65; color: var(--cq-text); }
.cq-blog-empty-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 auto 26px; max-width: 860px; text-align: left; }
.cq-blog-empty-card { background: #fff; border: 1px solid var(--cq-border); border-radius: 14px; padding: 18px; display: grid; gap: 5px; }
.cq-blog-empty-card strong { color: var(--cq-ink); font-size: 15.5px; }
.cq-blog-empty-card span { color: var(--cq-muted); font-size: 13.5px; line-height: 1.5; }
.cq-blog-empty-card:hover { border-color: var(--cq-primary); text-decoration: none; }
@media (max-width: 960px) {
  .cq-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cq-blog-card-featured { flex-direction: column; }
  .cq-blog-card-featured .cq-blog-card-img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .cq-blog-empty-links { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cq-blog-grid { grid-template-columns: 1fr; }
  .cq-blog-hero h1 { font-size: 28px; }
  .cq-blog-empty { padding: 24px 18px; }
}

/* Exam and stream page sidebars scroll with the page (not sticky). */
.cq-college-sidebar.cq-exam-sidebar { position: static; }

/* Mobile header: logo on the left, menu icon on the right, no Login button. */
@media (max-width: 640px) {
  .cq-header-top { flex-wrap: nowrap; gap: 12px; }
  .cq-logo { order: 1; }
  .cq-menu-toggle { order: 3; margin-left: auto; display: flex; align-items: center; justify-content: center; }
  .cq-header-actions { display: none; }
}

/* Syllabus topic grids: topics as scannable chips instead of comma runs. */
.cq-content ul.cq-topic-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.cq-content ul.cq-topic-list li { background: var(--cq-soft); border: 1px solid var(--cq-border); border-radius: 10px; padding: 8px 12px; font-size: 14px; line-height: 1.45; margin: 0; }
.cq-meta { color: var(--cq-muted); font-size: 13.5px; margin-bottom: 18px; }
.cq-post-list { display: grid; gap: 18px; }
.cq-post-item { border: 1px solid var(--cq-border); border-radius: var(--cq-radius); padding: 20px; background: #fff; }
.cq-post-item h2 { font-size: 20px; margin: 0 0 8px; }
.cq-post-item h2 a { color: var(--cq-ink); }
.cq-post-item h2 a:hover { color: var(--cq-primary); }
.cq-pagination { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.cq-pagination a, .cq-pagination span { border: 1px solid var(--cq-border); border-radius: 8px; padding: 7px 13px; font-size: 14px; color: var(--cq-ink); }
.cq-pagination span.current, .cq-pagination a:hover { background: var(--cq-primary); border-color: var(--cq-primary); color: #fff; text-decoration: none; }

/* ---------- Footer ---------- */
.cq-footer { background: var(--cq-navy); color: rgba(255, 255, 255, 0.78); margin-top: 0; }
.cq-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 44px 0 32px; }
.cq-footer h3, .cq-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.cq-footer p { font-size: 14px; }
.cq-footer ul { list-style: none; margin: 0; padding: 0; }
.cq-footer li { margin-bottom: 8px; }
.cq-footer a { color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.cq-footer a:hover { color: #fff; }
.cq-footer-logo { font-size: 22px; font-weight: 800; color: #fff; }
.cq-footer-logo span { color: var(--cq-primary); }
.cq-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 16px 0; font-size: 13px; color: rgba(255, 255, 255, 0.55); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cq-hero h1 { font-size: 40px; }
  .cq-hero-center h1 { font-size: 34px; }
  .cq-cards { grid-template-columns: repeat(2, 1fr); }
  .cq-college-grid { grid-template-columns: repeat(2, 1fr); }
  .cq-tool-grid { grid-template-columns: repeat(2, 1fr); }
  .cq-tiles { grid-template-columns: repeat(2, 1fr); }
  .cq-footer-grid { grid-template-columns: 1fr 1fr; }
  .cq-search { display: none; }
}
@media (max-width: 640px) {
  .cq-hero { padding: 36px 0 44px; }
  .cq-hero h1 { font-size: 32px; }
  .cq-hero-center h1 { font-size: 28px; }
  .cq-cards { grid-template-columns: 1fr; }
  .cq-college-grid { grid-template-columns: 1fr; }
  .cq-tool-grid { grid-template-columns: 1fr; }
  .cq-stats { grid-template-columns: 1fr; gap: 24px; }
  .cq-tiles { grid-template-columns: 1fr 1fr; }
  .cq-header-actions .cq-icon-btn { display: none; }
  .cq-menu-toggle { display: block; }
  .cq-nav { display: none; }
  .cq-nav.open { display: block; }
  .cq-nav ul { flex-direction: column; }
  .cq-nav a { padding: 12px 4px; }
  .cq-promo-badge { position: static; margin-bottom: 14px; display: inline-flex; }
  .cq-footer-grid { grid-template-columns: 1fr; }
  .cq-page h1 { font-size: 27px; }
  .cq-summary-row { flex-direction: column; gap: 2px; }
  .cq-summary-row strong { text-align: left; }
}

/* ---------- About page ---------- */
.cq-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--cq-primary); margin: 0 0 10px; }
.cq-eyebrow-light { color: #ffb59e; }
.cq-about-hero { background: var(--cq-hero-bg); padding: 64px 0 72px; }
.cq-about-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.cq-about-hero-copy h1 { font-size: 44px; line-height: 1.15; letter-spacing: -1px; font-weight: 800; color: var(--cq-ink); margin: 0 0 18px; }
.cq-about-hero-sub { font-size: 17px; line-height: 1.65; color: var(--cq-text); max-width: 520px; margin: 0 0 28px; }
.cq-about-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.cq-about-hero-trust { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; font-weight: 600; color: var(--cq-ink); }
.cq-about-stars { display: inline-flex; gap: 2px; color: #f5a623; }
.cq-about-stars svg { width: 17px; height: 17px; }
.cq-dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--cq-muted); }
.cq-about-hero-media { position: relative; }
.cq-about-hero-media img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 56px rgba(27, 27, 77, 0.22); display: block; }
.cq-about-hero-badge { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 14px; box-shadow: 0 14px 36px rgba(27, 27, 77, 0.18); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.cq-about-hero-badge strong { font-size: 28px; font-weight: 800; color: var(--cq-primary); line-height: 1; }
.cq-about-hero-badge span { font-size: 13px; font-weight: 600; color: var(--cq-ink); line-height: 1.35; max-width: 130px; }
.cq-about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cq-about-split-reverse .cq-about-split-media { order: 2; }
.cq-about-split-reverse .cq-about-split-copy { order: 1; }
.cq-about-split-media img { width: 100%; height: auto; border-radius: 20px; display: block; box-shadow: 0 18px 44px rgba(27, 27, 77, 0.14); }
.cq-about-split-copy h2 { font-size: 32px; line-height: 1.25; letter-spacing: -0.5px; font-weight: 800; color: var(--cq-ink); margin: 0 0 16px; }
.cq-about-split-copy p { font-size: 15.5px; line-height: 1.7; color: var(--cq-text); margin: 0 0 14px; }
.cq-about-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.cq-about-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; color: var(--cq-ink); }
.cq-about-checks svg { width: 20px; height: 20px; color: var(--cq-primary); flex-shrink: 0; margin-top: 1px; }
.cq-about-vm-section .cq-section-head h2 { font-size: 30px; letter-spacing: -0.5px; }
.cq-about-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cq-about-vm-card { background: #fff; border: 1px solid var(--cq-border); border-radius: 18px; padding: 32px 30px; }
.cq-about-vm-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--cq-hero-bg); color: var(--cq-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cq-about-vm-icon svg { width: 26px; height: 26px; }
.cq-about-vm-card h3 { font-size: 21px; font-weight: 800; color: var(--cq-ink); margin: 0 0 10px; }
.cq-about-vm-card p { font-size: 15.5px; line-height: 1.7; color: var(--cq-text); margin: 0; }
.cq-about-principle { background: linear-gradient(135deg, var(--cq-navy) 0%, var(--cq-navy-2) 60%, #3a3a8f 100%); color: #fff; padding: 72px 0; }
.cq-about-principle-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.cq-about-principle-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); color: #ffb59e; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.cq-about-principle-icon svg { width: 30px; height: 30px; }
.cq-about-principle h2 { font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 14px; }
.cq-about-principle-lead { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); max-width: 680px; margin: 0 auto 36px; }
.cq-about-principle-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cq-about-principle-point { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 22px 20px; text-align: left; }
.cq-about-principle-point strong { display: block; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cq-about-principle-point span { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }
.cq-about-numbers { background: #fff; padding: 56px 0; border-bottom: 1px solid var(--cq-border); }
.cq-about-numbers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.cq-about-number strong { display: block; font-size: 36px; font-weight: 800; letter-spacing: -0.5px; color: var(--cq-navy); }
.cq-about-number span { font-size: 14px; font-weight: 600; color: var(--cq-muted); }
.cq-about-trust { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.cq-about-trust-media img { width: 100%; height: auto; border-radius: 20px; display: block; box-shadow: 0 18px 44px rgba(27, 27, 77, 0.14); }
.cq-about-trust-copy h2 { font-size: 32px; line-height: 1.25; letter-spacing: -0.5px; font-weight: 800; color: var(--cq-ink); margin: 0 0 20px; }
.cq-about-rating { background: var(--cq-soft); border: 1px solid var(--cq-border); border-radius: 18px; padding: 28px; margin-bottom: 18px; }
.cq-about-rating-score { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cq-about-rating-score strong { font-size: 44px; font-weight: 800; letter-spacing: -1px; color: var(--cq-navy); line-height: 1; }
.cq-about-stars-lg svg { width: 22px; height: 22px; }
.cq-about-rating-score span:last-child { font-size: 15px; font-weight: 600; color: var(--cq-muted); }
.cq-about-rating-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--cq-border); padding-top: 20px; }
.cq-about-rating-facts strong { display: block; font-size: 22px; font-weight: 800; color: var(--cq-ink); }
.cq-about-rating-facts span { font-size: 13px; color: var(--cq-muted); }
.cq-about-trust-note { font-size: 15px; line-height: 1.7; color: var(--cq-text); margin: 0; }
.cq-about-media-stack { position: relative; }
.cq-about-media-main { width: 100%; }
.cq-about-media-small { position: absolute; right: -16px; bottom: -24px; width: 46%; border: 4px solid #fff; border-radius: 16px; box-shadow: 0 16px 40px rgba(27, 27, 77, 0.22); }
.cq-about-team { display: grid; gap: 14px; margin-top: 24px; }
.cq-about-team-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--cq-border); border-radius: 14px; padding: 14px 18px; }
.cq-about-team-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--cq-hero-bg); color: var(--cq-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cq-about-team-icon svg { width: 22px; height: 22px; }
.cq-about-team-item strong { display: block; font-size: 19px; font-weight: 800; color: var(--cq-navy); line-height: 1.2; }
.cq-about-team-item span { font-size: 13.5px; color: var(--cq-muted); }
@media (max-width: 960px) {
  .cq-about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cq-about-hero-copy h1 { font-size: 36px; }
  .cq-about-split { grid-template-columns: 1fr; gap: 36px; }
  .cq-about-split-reverse .cq-about-split-media { order: 1; }
  .cq-about-split-reverse .cq-about-split-copy { order: 2; }
  .cq-about-numbers-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .cq-about-trust { grid-template-columns: 1fr; gap: 36px; }
  .cq-about-principle-points { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cq-about-hero { padding: 44px 0 52px; }
  .cq-about-hero-copy h1 { font-size: 30px; }
  .cq-about-hero-sub { font-size: 15.5px; }
  .cq-about-hero-badge { left: 12px; bottom: 12px; padding: 10px 14px; }
  .cq-about-hero-badge strong { font-size: 22px; }
  .cq-about-split-copy h2, .cq-about-trust-copy h2, .cq-about-principle h2 { font-size: 26px; }
  .cq-about-vm { grid-template-columns: 1fr; }
  .cq-about-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .cq-about-number strong { font-size: 30px; }
  .cq-about-rating-facts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cq-about-media-small { right: 8px; bottom: -16px; }
}

/* ---------- Contact page ---------- */
.cq-contact-hero { background: var(--cq-hero-bg); padding: 56px 0 64px; text-align: center; }
.cq-contact-hero-eyebrow { margin-bottom: 10px; }
.cq-contact-hero h1 { font-size: 42px; line-height: 1.15; letter-spacing: -1px; font-weight: 800; color: var(--cq-ink); margin: 0 0 14px; }
.cq-contact-hero-sub { font-size: 17px; line-height: 1.65; color: var(--cq-text); max-width: 560px; margin: 0 auto; }
.cq-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cq-contact-card { background: #fff; border: 1px solid var(--cq-border); border-radius: 18px; padding: 30px 28px; }
.cq-contact-card-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--cq-hero-bg); color: var(--cq-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cq-contact-card-icon svg { width: 24px; height: 24px; }
.cq-contact-card h3 { font-size: 19px; font-weight: 800; color: var(--cq-ink); margin: 0 0 8px; }
.cq-contact-card p { font-size: 15px; line-height: 1.65; color: var(--cq-text); margin: 0 0 6px; }
.cq-contact-card p:last-child { margin-bottom: 0; }
.cq-contact-card a { color: var(--cq-ink); font-weight: 600; }
.cq-contact-card a:hover { color: var(--cq-primary); }
.cq-contact-card-note { font-size: 13.5px; color: var(--cq-muted); }
.cq-contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.cq-contact-form-wrap h2, .cq-contact-map-wrap h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; color: var(--cq-ink); margin: 0 0 8px; }
.cq-contact-form-sub { font-size: 15px; line-height: 1.6; color: var(--cq-muted); margin: 0 0 24px; }
.cq-form-msg { border-radius: 12px; padding: 14px 18px; font-size: 14.5px; font-weight: 600; margin: 0 0 20px; }
.cq-form-msg-ok { background: #e6f7ec; color: #1d7a38; border: 1px solid #bfe6c9; }
.cq-form-msg-err { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }
.cq-contact-form { background: #fff; border: 1px solid var(--cq-border); border-radius: 18px; padding: 28px; display: grid; gap: 18px; }
.cq-form-row { display: grid; gap: 7px; }
.cq-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cq-form-row label { font-size: 14px; font-weight: 600; color: var(--cq-ink); }
.cq-form-row label span { color: var(--cq-primary); }
.cq-form-row input, .cq-form-row select, .cq-form-row textarea { width: 100%; font: inherit; font-size: 15px; color: var(--cq-ink); background: var(--cq-soft); border: 1px solid var(--cq-border); border-radius: 10px; padding: 11px 14px; outline: none; }
.cq-form-row input:focus, .cq-form-row select:focus, .cq-form-row textarea:focus { border-color: var(--cq-primary); background: #fff; }
.cq-form-row textarea { resize: vertical; min-height: 120px; }
.cq-contact-form .cq-btn { justify-self: start; padding: 12px 32px; }
.cq-contact-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--cq-border); box-shadow: 0 14px 36px rgba(27, 27, 77, 0.12); margin-bottom: 18px; }
.cq-contact-map iframe { width: 100%; height: 420px; display: block; }
.cq-contact-directions { width: 100%; }
@media (max-width: 960px) {
  .cq-contact-cards { grid-template-columns: 1fr; }
  .cq-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .cq-contact-hero { padding: 44px 0 52px; }
  .cq-contact-hero h1 { font-size: 30px; }
  .cq-contact-hero-sub { font-size: 15.5px; }
  .cq-form-row-2 { grid-template-columns: 1fr; }
  .cq-contact-form { padding: 22px 18px; }
  .cq-contact-map iframe { height: 320px; }
  .cq-contact-form .cq-btn { width: 100%; }
}

/* ---------- Legal pages ---------- */
.cq-legal-hero { background: var(--cq-hero-bg); padding: 48px 0 56px; text-align: center; }
.cq-legal-hero h1 { font-size: 38px; line-height: 1.15; letter-spacing: -0.8px; font-weight: 800; color: var(--cq-ink); margin: 0; }
.cq-legal-body { max-width: 780px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: var(--cq-text); }
.cq-legal-body p { margin: 0 0 16px; }
.cq-legal-body h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.3px; color: var(--cq-ink); margin: 32px 0 12px; }
.cq-legal-body h2:first-child { margin-top: 0; }
.cq-legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.cq-legal-body li { margin-bottom: 7px; }
.cq-legal-body a { color: var(--cq-primary); font-weight: 600; }
.cq-legal-body a:hover { text-decoration: underline; }
.cq-legal-updated { font-size: 14px; color: var(--cq-muted); margin: 0 0 24px; }
.cq-legal-note { background: var(--cq-hero-bg); border: 1px solid var(--cq-border); border-left: 4px solid var(--cq-primary); border-radius: 12px; padding: 20px 22px; margin: 0 0 16px; }
.cq-legal-note p { margin: 0 0 10px; }
.cq-legal-note p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .cq-legal-hero { padding: 40px 0 46px; }
  .cq-legal-hero h1 { font-size: 28px; }
  .cq-legal-body { font-size: 15.5px; }
}

/* ---------- Individual college page ---------- */
.cq-college-hero { background: var(--cq-navy) center/cover no-repeat; color: #fff; position: relative; }
.cq-college-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 27, 77, 0.82) 0%, rgba(27, 27, 77, 0.88) 55%, rgba(27, 27, 77, 0.94) 100%); }
.cq-college-hero-inner { position: relative; padding-top: 56px; padding-bottom: 52px; }
.cq-college-hero-top { display: flex; gap: 26px; align-items: flex-start; }
.cq-college-logo { width: 96px; height: 96px; min-width: 96px; border-radius: 18px; background: #fff; color: var(--cq-navy); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }
.cq-college-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cq-college-logo span { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.cq-college-hero-main { min-width: 0; }
.cq-college-eyebrow { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.cq-college-eyebrow a { color: rgba(255, 255, 255, 0.75); }
.cq-college-eyebrow a:hover { color: #fff; }
.cq-college-hero-main h1, .cq-college-hero-name { font-size: 36px; line-height: 1.15; letter-spacing: -0.8px; font-weight: 800; color: #fff; margin: 0 0 10px; }
.cq-college-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.85); margin: 0 0 12px; }
.cq-college-rating { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, 0.9); margin: 0; }
.cq-college-rating strong { color: #fff; font-size: 16px; }
.cq-stars { position: relative; display: inline-block; line-height: 1; font-size: 17px; letter-spacing: 1px; }
.cq-stars-bg { color: rgba(255, 255, 255, 0.35); }
.cq-stars-fg { position: absolute; left: 0; top: 0; color: #f5a623; overflow: hidden; white-space: nowrap; }
.cq-college-rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
.cq-college-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cq-college-pill { display: inline-block; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: #fff; }
.cq-college-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cq-btn-light { background: #fff; color: var(--cq-navy); }
.cq-btn-light:hover { background: #f0eefb; color: var(--cq-navy); }
.cq-btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.cq-btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cq-college-tabs { background: #fff; border-bottom: 1px solid var(--cq-border); position: sticky; top: 0; z-index: 20; }
.cq-college-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cq-college-tabs .container::-webkit-scrollbar { display: none; }
.cq-college-tabs a { padding: 14px 16px; font-size: 14.5px; font-weight: 600; color: var(--cq-text); white-space: nowrap; border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.cq-college-tabs a:hover { color: var(--cq-primary); }
.cq-college-tabs a.is-active { color: var(--cq-primary); border-bottom-color: var(--cq-primary); }
.cq-college-layout { padding: 40px 0 56px; background: #fff; }
.cq-college-layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.cq-college-main { min-width: 0; }
.cq-college-block { margin-bottom: 40px; }
.cq-college-block:last-child { margin-bottom: 0; }
.cq-college-block h1, .cq-college-block h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.5px; color: var(--cq-ink); margin: 0 0 14px; }
.cq-college-block h3 { font-size: 18.5px; font-weight: 800; color: var(--cq-ink); margin: 26px 0 12px; }
.cq-college-lead { font-size: 16px; line-height: 1.7; color: var(--cq-text); margin: 0 0 20px; }
.cq-college-text { font-size: 15.5px; line-height: 1.75; color: var(--cq-text); }
.cq-college-text p { margin: 0 0 14px; }
.cq-college-text p:last-child { margin-bottom: 0; }
.cq-college-note { font-size: 13.5px; line-height: 1.6; color: var(--cq-muted); background: var(--cq-soft); border: 1px solid var(--cq-border); border-radius: 12px; padding: 14px 16px; margin: 20px 0 0; }
.cq-check-list { list-style: none; margin: 0; padding: 0; }
.cq-check-list li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.65; color: var(--cq-text); margin-bottom: 12px; }
.cq-check-list li:last-child { margin-bottom: 0; }
.cq-check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--cq-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; }
.cq-facility-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.cq-facility-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; color: var(--cq-text); flex: 0 0 calc(50% - 12px); }
.cq-facility-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 4px; background: var(--cq-hero-bg); border: 1px solid var(--cq-border); }
.cq-fee-notes { background: var(--cq-soft); border: 1px solid var(--cq-border); border-radius: 12px; padding: 16px 18px; margin-top: 18px; }
.cq-fee-notes p { font-size: 14.5px; line-height: 1.6; color: var(--cq-text); margin: 0 0 8px; }
.cq-fee-notes p:last-child { margin-bottom: 0; }
.cq-table-wrap { overflow-x: auto; border: 1px solid var(--cq-border); border-radius: 14px; }
.cq-fee-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.cq-fee-table th { background: var(--cq-navy); color: #fff; text-align: left; font-weight: 700; padding: 13px 16px; white-space: nowrap; }
.cq-fee-table td { padding: 12px 16px; border-top: 1px solid var(--cq-border); color: var(--cq-text); vertical-align: top; }
.cq-fee-table tbody tr:nth-child(even) td { background: var(--cq-soft); }
.cq-fee-table td strong { color: var(--cq-ink); }
.cq-course-card { border: 1px solid var(--cq-border); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; }
.cq-course-card h3 { margin: 0 0 10px; font-size: 18px; }
.cq-course-card h3 a { color: var(--cq-ink); }
.cq-course-card h3 a:hover { color: var(--cq-primary); }
.cq-course-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--cq-muted); margin-bottom: 10px; }
.cq-course-meta strong { color: var(--cq-ink); }
.cq-course-card p { font-size: 14.5px; line-height: 1.65; color: var(--cq-text); margin: 0 0 14px; }
.cq-btn-small { padding: 9px 20px; font-size: 14px; }
.cq-stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 8px; }
.cq-stat-card { border: 1px solid var(--cq-border); border-radius: 14px; padding: 18px 16px; background: var(--cq-soft); text-align: center; }
.cq-stat-card span { display: block; font-size: 12.5px; color: var(--cq-muted); margin-bottom: 6px; }
.cq-stat-card strong { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; color: var(--cq-ink); }
.cq-recruiter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cq-recruiter-chips span { background: var(--cq-hero-bg); border: 1px solid var(--cq-border); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--cq-ink); }
.cq-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: cq-step; }
.cq-steps li { position: relative; padding-left: 48px; font-size: 15.5px; line-height: 1.65; color: var(--cq-text); counter-increment: cq-step; }
.cq-steps li::before { content: counter(cq-step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--cq-primary); color: #fff; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cq-college-cta-box { background: var(--cq-navy); border-radius: 18px; padding: 28px 30px; margin-top: 28px; }
.cq-college-cta-box h3 { color: #fff; margin: 0 0 8px; font-size: 20px; }
.cq-college-cta-box p { color: rgba(255, 255, 255, 0.85); font-size: 15px; line-height: 1.65; margin: 0 0 18px; }
.cq-college-cta-inline { background: var(--cq-hero-bg); border: 1px solid var(--cq-border); border-radius: 18px; padding: 26px 28px; margin-top: 40px; }
.cq-college-cta-inline h2 { font-size: 21px; margin: 0 0 6px; }
.cq-college-cta-inline p { font-size: 15px; color: var(--cq-text); margin: 0 0 16px; }
/* Rich-text sub-page content (WYSIWYG field): headings, lists, tables. */
.cq-section-intro { margin-bottom: 24px; }
.cq-section-intro h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; color: var(--cq-ink); margin: 28px 0 12px; }
.cq-section-intro h2:first-child { margin-top: 0; }
.cq-section-intro h3 { font-size: 18.5px; font-weight: 800; color: var(--cq-ink); margin: 24px 0 10px; }
.cq-section-intro h4 { font-size: 16.5px; font-weight: 700; color: var(--cq-ink); margin: 20px 0 8px; }
.cq-section-intro ul, .cq-section-intro ol { margin: 0 0 16px; padding-left: 22px; }
.cq-section-intro li { margin-bottom: 7px; }
.cq-section-intro li:last-child { margin-bottom: 0; }
.cq-section-intro table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 16px; }
.cq-section-intro th { background: var(--cq-navy); color: #fff; text-align: left; font-weight: 700; padding: 11px 14px; }
.cq-section-intro td { padding: 10px 14px; border-top: 1px solid var(--cq-border); vertical-align: top; }
.cq-section-intro tbody tr:nth-child(even) td { background: var(--cq-soft); }
.cq-section-intro a { color: var(--cq-primary); font-weight: 600; }
.cq-section-intro a:hover { text-decoration: underline; }
.cq-section-intro strong { color: var(--cq-ink); }
/* FAQ accordions (native <details>, no JS). */
.cq-faq-block { margin-top: 8px; }
.cq-faqs { display: block; }
.cq-faq { border: 1px solid var(--cq-border); border-radius: 14px; background: #fff; overflow: hidden; margin-bottom: 12px; width: 100%; box-sizing: border-box; }
.cq-faq:last-child { margin-bottom: 0; }
.cq-faq summary { list-style: none; cursor: pointer; position: relative; padding: 16px 52px 16px 18px; font-size: 15.5px; font-weight: 700; color: var(--cq-ink); line-height: 1.5; text-align: left; }
.cq-faq summary::-webkit-details-marker { display: none; }
.cq-faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--cq-hero-bg); border: 1px solid var(--cq-border); color: var(--cq-primary); font-size: 18px; font-weight: 700; line-height: 24px; text-align: center; }
.cq-faq[open ] summary::after { content: "–"; }
.cq-faq[open ] summary { border-bottom: 1px solid var(--cq-border); }
.cq-faq-a { padding: 16px 18px; font-size: 15px; line-height: 1.7; color: var(--cq-text); }
.cq-faq-a p { margin: 0; }
.cq-mq-course-card { display: flex; flex-direction: column; }
.cq-mq-course-card .cq-btn { align-self: flex-start; margin-top: auto; }
.cq-college-sidebar { display: grid; gap: 20px; position: sticky; top: 64px; }
.cq-sidebar-card { background: #fff; border: 1px solid var(--cq-border); border-radius: 18px; padding: 24px; box-shadow: 0 8px 26px rgba(27, 27, 77, 0.07); }
.cq-sidebar-card h3 { font-size: 18px; font-weight: 800; color: var(--cq-ink); margin: 0 0 8px; }
.cq-sidebar-card > p { font-size: 14px; line-height: 1.6; color: var(--cq-muted); margin: 0 0 16px; }
.cq-sidebar-form { background: var(--cq-soft); }
.cq-sidebar-form-fields { padding: 0; border: 0; background: transparent; display: grid; gap: 14px; }
.cq-sidebar-form-fields .cq-form-row textarea { min-height: 84px; }
.cq-sidebar-form-fields .cq-btn { width: 100%; justify-content: center; }
.cq-sidebar-card .cq-summary { margin-bottom: 0; border: 0; background: transparent; padding: 0; }
.cq-sidebar-card .cq-summary-row { padding: 9px 0; font-size: 14px; }
.cq-sidebar-call { background: var(--cq-navy); border-color: var(--cq-navy); }
.cq-sidebar-call h3 { color: #fff; }
.cq-sidebar-call > p { color: rgba(255, 255, 255, 0.82); }
.cq-sidebar-call .cq-btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.cq-sidebar-call .cq-btn:last-child { margin-bottom: 0; }
.cq-similar-item { display: block; padding: 12px 0; border-top: 1px solid var(--cq-border); }
.cq-similar-item:first-of-type { border-top: 0; padding-top: 2px; }
.cq-similar-item strong { display: block; font-size: 14.5px; color: var(--cq-ink); margin-bottom: 3px; }
.cq-similar-item span { font-size: 13px; color: var(--cq-muted); }
.cq-similar-item:hover strong { color: var(--cq-primary); }
@media (max-width: 1020px) {
  .cq-college-layout-grid { grid-template-columns: 1fr; gap: 36px; }
  .cq-college-sidebar { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .cq-sidebar-form { grid-column: 1 / -1; }
  .cq-stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cq-college-hero-inner { padding-top: 36px; padding-bottom: 34px; }
  .cq-college-hero-top { flex-direction: column; gap: 16px; }
  .cq-college-logo { width: 76px; height: 76px; min-width: 76px; border-radius: 14px; }
  .cq-college-logo span { font-size: 27px; }
  .cq-college-hero-main h1, .cq-college-hero-name { font-size: 25px; }
  .cq-college-hero-meta { font-size: 13.5px; }
  .cq-college-rating-row { gap: 4px 10px; }
  .cq-college-hero-actions { margin-top: 22px; }
  .cq-college-hero-actions .cq-btn { padding: 11px 18px; font-size: 14.5px; }
  .cq-college-tabs a { padding: 12px 12px; font-size: 13.5px; }
  .cq-college-layout { padding: 28px 0 44px; }
  .cq-college-block h1, .cq-college-block h2 { font-size: 21px; }
  .cq-facility-list { flex-direction: column; gap: 10px; }
  .cq-facility-list li { flex-basis: auto; }
  .cq-college-sidebar { grid-template-columns: 1fr; }
  .cq-stat-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cq-stat-card strong { font-size: 17px; }
  .cq-course-card { padding: 18px; }
  .cq-college-cta-box, .cq-college-cta-inline { padding: 22px 20px; }
}

/* ---------- Popups (Apply Now + Download Brochure) ---------- */
body.cq-modal-open { overflow: hidden; }
.cq-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cq-modal[hidden] { display: none; }
.cq-modal-overlay { position: absolute; inset: 0; background: rgba(15, 15, 40, 0.65); }
.cq-modal-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(15, 15, 40, 0.35); }
.cq-modal-close { position: absolute; top: 10px; right: 14px; z-index: 2; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--cq-ink); font-size: 26px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.cq-modal-body { padding: 24px 26px 26px; }
.cq-modal-body .cq-contact-form { display: grid; gap: 14px; }
.cq-modal-submit { width: 100%; justify-content: center; padding: 13px 26px; font-size: 16px; }
.cq-btn-navy { background: var(--cq-navy); color: #fff; }
.cq-btn-navy:hover { background: var(--cq-navy-2); }
/* Apply popup: navy header + trust points. */
.cq-modal-apply-head { background: var(--cq-navy); color: #fff; padding: 26px 26px 20px; border-radius: 18px 18px 0 0; }
.cq-modal-apply-head h3 { color: #fff; font-size: 24px; margin: 0 0 4px; }
.cq-modal-apply-head p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.cq-modal-trust { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cq-modal-trust li { font-size: 13.5px; font-weight: 600; color: var(--cq-navy); }
.cq-modal-trust li::before { content: "\2713"; color: var(--cq-primary); font-weight: 800; margin-right: 5px; }
.cq-modal-sub { font-size: 14.5px; color: var(--cq-text); }
.cq-modal-fine { font-size: 12.5px; color: var(--cq-muted); margin: 0; text-align: center; }
/* Brochure popup: light lavender, two-column on desktop. */
.cq-modal-brochure { max-width: 640px; background: var(--cq-hero-bg); }
.cq-modal-brochure-grid { display: grid; grid-template-columns: 1fr 1.15fr; }
.cq-modal-brochure-info { padding: 28px 24px; }
.cq-modal-brochure-icon { font-size: 40px; display: block; margin-bottom: 10px; }
.cq-modal-brochure-info h3 { font-size: 23px; margin: 0 0 4px; }
.cq-modal-brochure-info > p { color: var(--cq-text); font-size: 14.5px; margin: 0 0 14px; }
.cq-modal-brochure-info ul { margin: 0 0 14px; padding-left: 20px; font-size: 14.5px; color: var(--cq-text); }
.cq-modal-brochure-info li { margin-bottom: 5px; }
.cq-modal-brochure-note { font-size: 13.5px; color: var(--cq-muted); margin: 0; }
.cq-modal-brochure-form { background: #fff; padding: 28px 24px; border-radius: 0 18px 18px 0; }
.cq-modal-brochure-form .cq-contact-form { display: grid; gap: 14px; }
@media (max-width: 640px) {
  .cq-modal { padding: 12px; }
  .cq-modal-box { max-height: calc(100vh - 24px); }
  .cq-modal-body { padding: 20px 18px 22px; }
  .cq-modal-brochure-grid { grid-template-columns: 1fr; }
  .cq-modal-brochure-info { padding: 22px 18px 6px; }
  .cq-modal-brochure-info ul { margin-bottom: 8px; }
  .cq-modal-brochure-form { padding: 18px; border-radius: 0 0 18px 18px; }
}

/* ---------- Course pages (single-course.php) ---------- */
.cq-course-hero { background: var(--cq-hero-bg); padding: 44px 0 48px; }
.cq-crumbs { font-size: 13.5px; color: var(--cq-muted); margin: 0 0 14px; }
.cq-crumbs a { color: var(--cq-muted); }
.cq-crumbs a:hover { color: var(--cq-primary); }
.cq-parent-chip { display: inline-block; background: #fff; border: 1px solid var(--cq-border); color: var(--cq-navy); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; }
.cq-parent-chip:hover { border-color: var(--cq-primary); color: var(--cq-primary); }
.cq-course-hero h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.8px; font-weight: 800; color: var(--cq-ink); margin: 0 0 14px; max-width: 900px; }
.cq-course-hero .cq-hero-sub { margin: 0 0 24px; max-width: 760px; text-align: left; }
.cq-course-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.cq-course-fact { background: #fff; border: 1px solid var(--cq-border); border-radius: var(--cq-radius); padding: 12px 18px; }
.cq-course-fact span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--cq-muted); margin-bottom: 2px; }
.cq-course-fact strong { font-size: 15.5px; color: var(--cq-ink); }
.cq-course-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cq-course-elig { background: var(--cq-soft); border-radius: var(--cq-radius); padding: 14px 18px; font-size: 15px; margin: 18px 0 0; }
.cq-spec-grid { grid-template-columns: repeat(3, 1fr); }
.cq-spec-card { display: flex; flex-direction: column; }
.cq-spec-card .cq-college-link { margin-top: auto; }
.cq-college-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cq-demand { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.cq-demand-very-high { background: #e3f5e9; color: #137a37; }
.cq-demand-high { background: #e2ecfd; color: #1d4fd7; }
.cq-demand-moderate { background: #fdf1dc; color: #92580a; }
#career-scope .cq-course-table th:last-child, #career-scope .cq-course-table td:last-child { white-space: nowrap; width: 110px; }
/* Highlights table: key-value rows, first column narrow and shaded. */
.cq-highlights-table { width: 100%; border-collapse: collapse; background: var(--cq-card); border: 1px solid var(--cq-border); border-radius: var(--cq-radius); overflow: hidden; }
.cq-highlights-table th, .cq-highlights-table td { padding: 12px 16px; text-align: left; font-size: 15px; line-height: 1.6; border-bottom: 1px solid var(--cq-border); }
.cq-highlights-table tr:last-child th, .cq-highlights-table tr:last-child td { border-bottom: none; }
.cq-highlights-table th { width: 28%; color: var(--cq-ink); background: var(--cq-soft); font-weight: 700; }
.cq-highlights-table td { color: var(--cq-text); }
/* How CampusQuota Helps: four icon cards. */
.cq-help-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.cq-help-card { background: var(--cq-card); border: 1px solid var(--cq-border); border-radius: var(--cq-radius); padding: 22px 20px; }
.cq-help-card:hover { border-color: var(--cq-primary); }
.cq-help-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--cq-soft); color: var(--cq-navy); margin-bottom: 14px; }
.cq-help-icon svg { width: 24px; height: 24px; }
.cq-help-card h3 { font-size: 17px; color: var(--cq-ink); margin: 0 0 8px; }
.cq-help-card p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--cq-text); }
.cq-steps { list-style: none; counter-reset: cq-step; margin: 0; padding: 0; display: grid; gap: 14px; }
.cq-steps li { counter-increment: cq-step; position: relative; background: var(--cq-card); border: 1px solid var(--cq-border); border-radius: var(--cq-radius); padding: 18px 20px 18px 64px; }
.cq-steps li::before { content: counter(cq-step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--cq-navy); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.cq-steps li strong { display: block; font-size: 16.5px; color: var(--cq-ink); margin-bottom: 4px; }
.cq-steps li p { margin: 0; color: var(--cq-text); font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) {
  .cq-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .cq-course-hero h1 { font-size: 32px; }
  .cq-help-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cq-course-hero { padding: 32px 0 36px; }
  .cq-course-hero h1 { font-size: 27px; }
  .cq-spec-grid { grid-template-columns: 1fr; }
  .cq-course-fact { flex: 1 1 45%; }
  .cq-steps li { padding-left: 56px; }
  .cq-steps li::before { left: 12px; }
  .cq-help-cards { grid-template-columns: 1fr; }
  .cq-highlights-table th { width: 38%; }
}

/* ---------- College predictor (single-tool.php) ---------- */
.cq-predictor { background: #fff; border: 1px solid var(--cq-border); border-radius: 20px; padding: 28px 30px; box-shadow: var(--cq-shadow); }
.cq-predictor-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--cq-ink); margin: 0 0 6px; }
.cq-predictor-head p { color: var(--cq-text); font-size: 15.5px; margin: 0 0 20px; }
.cq-predictor-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.cq-predictor-field { display: flex; flex-direction: column; gap: 6px; }
.cq-predictor-field label { font-size: 13px; font-weight: 700; color: var(--cq-ink); }
.cq-predictor-field input, .cq-predictor-field select { border: 1px solid var(--cq-border); border-radius: 10px; padding: 11px 14px; font-size: 15px; font-family: inherit; color: var(--cq-ink); background: #fff; min-width: 200px; }
.cq-predictor-field input:focus, .cq-predictor-field select:focus { outline: 2px solid var(--cq-primary); outline-offset: 1px; border-color: var(--cq-primary); }
.cq-predictor-note { font-size: 13.5px; color: var(--cq-muted); margin: 16px 0 0; line-height: 1.6; }
.cq-predictor-results { margin-top: 22px; }
.cq-predictor-results:empty { margin-top: 0; }
.cq-predictor-summary { font-size: 17px; color: var(--cq-ink); margin-bottom: 14px; }
.cq-predictor-empty { color: var(--cq-text); font-size: 15.5px; line-height: 1.7; margin: 0 0 16px; }
.cq-predictor-table-wrap { overflow-x: auto; margin-bottom: 8px; }
.cq-predictor-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cq-predictor-table th, .cq-predictor-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--cq-border); vertical-align: top; }
.cq-predictor-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--cq-muted); }
.cq-predictor-table a { color: var(--cq-navy); font-weight: 600; }
.cq-predictor-table a:hover { color: var(--cq-primary); }
.cq-predictor-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 20px; white-space: nowrap; }
.cq-predictor-tag-safe { background: #e3f5e9; color: #137a37; }
.cq-predictor-tag-borderline { background: #fdf1dc; color: #92580a; }
.cq-predictor-near-head { font-size: 17px; font-weight: 800; color: var(--cq-ink); margin: 22px 0 10px; }
.cq-predictor-near { margin: 0 0 18px; padding-left: 20px; color: var(--cq-text); font-size: 15px; line-height: 1.8; }
.cq-predictor-near a { color: var(--cq-navy); font-weight: 600; }
@media (max-width: 640px) {
  .cq-predictor { padding: 22px 18px; }
  .cq-predictor-form { flex-direction: column; align-items: stretch; }
  .cq-predictor-field input, .cq-predictor-field select { width: 100%; min-width: 0; }
}

/* NEET predictor form: two columns on desktop, stacked on mobile. */
.cq-predictor-form-neet { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-items: end; }
.cq-predictor-form-neet .cq-predictor-field input, .cq-predictor-form-neet .cq-predictor-field select { width: 100%; min-width: 0; }
.cq-predictor-hint { font-size: 12.5px; color: var(--cq-muted); }
.cq-predictor-est { font-size: 13.5px; color: var(--cq-muted); font-weight: 400; }
@media (max-width: 640px) {
  .cq-predictor-form-neet { grid-template-columns: 1fr; }
}
