/**
 * msb-overrides.css — P-1064 MSB Global Services
 * Visual corrections only. No design changes.
 * Applied after on3step-style.css. Do not modify on3step-style.css directly.
 * Created: 2026-10-09 | Desktop visual correction pass
 */

/* ── FIX 1: Colocation stat block — normalize all 4 stats to consistent size ─
   .year .heading is 10.3rem — fine for short numeric values ($3B, 200+, $18B)
   but "Closed-Loop" (11 chars) wraps at that size in a col-md-4 column.
   Solution: reduce ALL 4 stats in the colocation block uniformly to 3.8rem
   via .colocation-stats scoping class. Adds white-space:nowrap to prevent
   any future wrapping. Does not affect stat blocks on other pages.
   ─────────────────────────────────────────────────────────────────────────── */
/* colocation uniform override removed — ChatGPT targeted class handles Closed-Loop only */

/* ── FIX 2: Underline offset — prevent underlines from clipping through text ─
   Adds breathing room below underlined text across all pages.
   Does NOT remove any underlines — purely a rendering improvement.
   ─────────────────────────────────────────────────────────────────────────── */
u {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.year .heading u {
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* Broad hover card gradient removed — ChatGPT msb-campus-contrast class handles Matrix card only (index.html inline style) */

/* ── FIX 4: Contact page map iframe — ensure visible height ──────────────────
   Google iframe embed needs explicit min-height to render.
   The map section uses auto height; iframe needs a floor.
   ─────────────────────────────────────────────────────────────────────────── */
section[aria-label="map"] iframe {
    min-height: 400px;
    display: block;
    width: 100%;
    border: 0;
}

/* ── Body text weight bump — Andy approved 2026-10-10 ──────────────────────
   Base body weight raised from 400 (Regular) to 500 (Medium) for readability.
   Headings and bold elements are unaffected — they already use 600/700.
   Font size and line-height unchanged.
   ─────────────────────────────────────────────────────────────────────────── */
body {
    font-weight: 500;
}

/* P-1064: desktop logo image optical alignment, without affecting document flow.
   Baseline 6aca4a3b. Replaces (does not stack with) the failed flex-link patch. */
@media only screen and (min-width: 1200px) {
  .navbar-default-white > .container-fluid > .row > a.navbar-brand.white > img {
    transform: translateY(-18px);
    -webkit-transform: translateY(-18px);
    -ms-transform: translateY(-18px);
  }
}
