/* cv-audit-fixes.css - design/layout audit 28 Nov 2026 (P0-2, P0-3, P1-4..P1-8, P2-9). Loaded after cv-bundle.css. */

/* P0-3: Font Awesome subset is missing this alias glyph (fa-file-arrow-down). */
.fa-file-download::before { content: "\f56d"; }

/* P0-2: bottom chrome. mobile-bottom-nav already has "Enquire Now", so the floating lead button is redundant on mobile. */
@media (max-width: 768px) {
  html body .cv-lf { display: none !important; }
  html body .ul3-mobile-filter-bar { position: sticky; top: 60px; }
}

/* P1-4: desktop header 121px -> 87px, single-row nav. */
@media (min-width: 992px) {
  html body .hv-bar { padding: 0 !important; }
  html body .hv-bar__inner { height: 50px !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; align-items: center !important; }
  html body .hv-logo { display: flex !important; align-items: center; height: 40px; line-height: 0; }
  html body .hv-subnav .navbar { min-height: 36px !important; }
  html body .hv-subnav .navbar-nav .nav-link { padding: 6px 14px !important; line-height: 1.3 !important; }
}
@media (min-width: 992px) and (max-width: 1279px) {
  html body .hv-subnav .navbar-nav .nav-link { padding: 6px 9px !important; font-size: 13px; }
}

/* P1-5: sticky college sidebar must be scrollable inside the viewport. */
@media (min-width: 992px) { html body .ud3-sidebar { max-height: calc(100vh - 150px) !important; overflow-y: auto !important; overscroll-behavior: contain; scrollbar-width: thin; } }

/* P1-6: 12px floor for micro text. */
.card .badge, .ud3 small, .cv-meta, [class*="__label"], [class*="__meta"] { font-size: max(12px, .75rem); }

/* P1-6: tap targets on mobile. */
@media (max-width: 768px) {
  html body .breadcrumb-item a, html body .cp2-crumb a { display: inline-block; padding-block: 12px; }
  html body footer a { display: inline-block; padding-block: 9px; }
  html body .ud3-tab, html body .ul3-chip, html body .cv-uni-card__btn, html body .cv-uni-card__quick-link { min-height: 44px; }
  html body .ud3-source-line a, html body .ud3 a[href*="source"] { padding-block: 12px; display: inline-block; }
}

/* P1-7: homepage card - one primary CTA + compact 44x44 WhatsApp icon button. */
.cv-uni-card__quick-link--whatsapp { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.cv-uni-card__quick-link--whatsapp i { font-size: 22px; margin: 0; }

/* P1-8: swipe cue on horizontal strips. */
.ud3-tabs, .ul3-chip-row, .cl6-pop-row, .el6-featured__scroll { overflow-x: auto; scroll-snap-type: x proximity; }
.ud3-tab, .ul3-chip, .cl6-pop-card, .el6-feat-card { scroll-snap-align: start; }
@media (max-width: 768px) {
  .ud3-tabs, .ul3-chip-row, .cl6-pop-row, .el6-featured__scroll {
    -webkit-mask-image: linear-gradient(to right, #000 92%, transparent);
    mask-image: linear-gradient(to right, #000 92%, transparent);
  }
}

/* P2-9: one H1 scale (404 numeral keeps its own size) and a tighter hero. */
html body h1:not(.display-1) { font-size: clamp(26px, 2.4vw + 14px, 38px) !important; line-height: 1.2; }
html body .cp2-hero, html body .el6-hero, html body .cd2-hero { padding-top: 4px !important; padding-bottom: 24px !important; }
html body .sa-hero { padding-top: 28px !important; padding-bottom: 36px !important; }
html body .cp2-crumb { margin-bottom: 4px !important; }
html body .cp2-eyebrow, html body .cd2-hero__badges { margin-bottom: 4px !important; min-height: 0 !important; }
html body .cp2-eyebrow { padding-top: 3px !important; padding-bottom: 3px !important; line-height: 1.3 !important; }
@media (max-width: 768px) {
  html body .cp2-hero, html body .el6-hero, html body .cd2-hero { padding-top: 2px !important; padding-bottom: 18px !important; }
  html body .sa-hero { padding-top: 16px !important; padding-bottom: 28px !important; }
}

/* Mobile readability: 12px floor for micro-text (badges, chips, labels, meta, trust lines, bottom-nav labels). */
@media (max-width: 768px) {
  html body :is(.cv-uni-card__stat-label, .cv-uni-card__ribbon, .cv-optional, .ud3-vbadge, .cv-uni-card__chip, .step-number, .step-desc,
    .ul6-loc, .ul6-dot, .ul6-badge, .ul3-filter-label, .el6-badge, .cl6-tag, a.badge, .ud3-nirf-label, .ud3-badge, .cvc-chip,
    .cvp-side__chip, .cvp-head__chip, .cv-form-trust, .cv-form-trust a, .hv2-trust, .hv2-trust span, .hv2-trust strong,
    .ul6-spec span, .cv-uni-card__featured, .ud3-sidebar__trust span, .ud3-stat span, .stat-chip, .wa-help-footer, .ud3 small, .ud3 dd a, .ud3-hero__meta *, .ul3-feat-card__info span, .ud3-hero__meta span, .mobile-bottom-nav .nav-item span, dd a, small, .small) {
    font-size: 12px !important;
  }
  /* footer link rows: 44px tap targets */
  html body footer a { display: inline-flex; align-items: center; min-height: 44px !important; padding-block: 0; }
  html body .breadcrumb-item a, html body .cp2-crumb a, html body .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px !important; }
}
