/* ===========================================================================
 * GlobalXess design system
 *
 * Self-contained layout primitives. Tailwind's pre-compiled bundle ships
 * only the utilities the original template happened to use, so any new
 * grid / sidebar / hero pattern was silently failing. This file owns the
 * page-level layout from the hero down so the visual structure no longer
 * depends on which Tailwind utilities are or aren't in the bundle.
 *
 * All class names are prefixed `gxs-` so they don't collide with anything.
 * Loaded AFTER style.css so its rules win when both files declare a value.
 * ========================================================================= */

:root {
    --gxs-orange: #ea580c;
    --gxs-orange-strong: #c2410c;
    /* Used for white-on-orange CTAs. #c2410c passes 4.5:1 (AA normal text),
       #ea580c does NOT (3.66:1) -- this token exists so the CTA button
       and the brand orange remain visually distinct decisions. */
    --gxs-orange-cta: #c2410c;
    --gxs-orange-cta-hover: #9a3412;
    --gxs-orange-soft: #fff7ed;
    --gxs-orange-300: #fdba74;
    --gxs-emerald: #059669;
    --gxs-text: #0f172a;
    --gxs-text-muted: #475569;
    --gxs-text-subtle: #64748b;
    --gxs-text-inverse: #f8fafc;
    --gxs-text-on-dark: #e2e8f0;
    --gxs-surface: #ffffff;
    --gxs-surface-soft: #f8fafc;
    --gxs-surface-alt: #f1f5f9;
    --gxs-border: #e2e8f0;
    --gxs-border-strong: #cbd5e1;
    --gxs-dark: #0f172a;
    --gxs-radius: 0.5rem;
    --gxs-radius-lg: 0.75rem;
    --gxs-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --gxs-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --gxs-container: 80rem;
    --gxs-content: 48rem;
    --gxs-header-h: 64px;
}

/* ---------- Container & sections --------------------------------------- */

.gxs-container {
    width: 100%;
    max-width: var(--gxs-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .gxs-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .gxs-container { padding-left: 2rem; padding-right: 2rem; }
}

.gxs-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .gxs-section { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
@media (min-width: 1024px) { .gxs-section { padding-top: 4.5rem; padding-bottom: 4.5rem; } }

.gxs-section--tight { padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .gxs-section--tight { padding-top: 2.5rem; padding-bottom: 2.5rem; } }

.gxs-section--alt { background: var(--gxs-surface-soft); }
.gxs-section--strong { background: var(--gxs-dark); color: var(--gxs-text-on-dark); }
.gxs-section--bordered { border-top: 1px solid var(--gxs-border); border-bottom: 1px solid var(--gxs-border); }

/* ---------- Hero ------------------------------------------------------- */

.gxs-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--gxs-dark);
    background-image: url('/images/header-background.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    border-bottom: 1px solid var(--gxs-border);
}
.gxs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg,
        rgba(15, 23, 42, 0.96) 0%,
        rgba(15, 23, 42, 0.88) 45%,
        rgba(15, 23, 42, 0.55) 90%,
        rgba(15, 23, 42, 0.40) 100%);
    z-index: 0;
}
.gxs-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}
@media (min-width: 768px) {
    .gxs-hero__inner { padding-top: 4rem; padding-bottom: 4rem; }
}
@media (min-width: 1024px) {
    .gxs-hero__inner { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}
.gxs-hero__breadcrumbs {
    font-size: 0.75rem;
    color: rgba(241, 245, 249, 0.75);
    margin-bottom: 1rem;
}
.gxs-hero__breadcrumbs a {
    color: rgba(241, 245, 249, 0.75);
    text-decoration: none;
}
.gxs-hero__breadcrumbs a:hover { color: var(--gxs-orange-300); }
.gxs-hero__breadcrumbs .sep { margin: 0 0.5rem; opacity: 0.5; }
.gxs-hero__breadcrumbs .current { color: #fff; }

.gxs-hero__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gxs-orange-300);
    margin-bottom: 0.75rem;
}
.gxs-hero__title {
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
    max-width: 48rem;
}
.gxs-hero__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem 1rem;
}
.gxs-hero__dial {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
    color: var(--gxs-orange-300);
    font-weight: 600;
}
.gxs-hero__iso {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.75);
    text-transform: uppercase;
}
.gxs-hero__subtitle {
    margin-top: 0.875rem;
    color: rgba(241, 245, 249, 0.92);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 42rem;
}
@media (min-width: 768px) { .gxs-hero__subtitle { font-size: 1.125rem; } }

.gxs-hero__meta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2.5rem;
}
.gxs-hero__meta dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(203, 213, 225, 0.85);
    margin-bottom: 0.25rem;
}
.gxs-hero__meta dd {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.gxs-hero__meta-stamp {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(203, 213, 225, 0.85);
}

.gxs-hero__actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ---------- Buttons ---------------------------------------------------- */

.gxs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--gxs-radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
/* Use the AA-compliant CTA shade (#c2410c, 5.47:1 white-on-orange) for
   the primary button so Lighthouse / axe color-contrast passes. The
   lighter --gxs-orange (#ea580c, 3.66:1) is kept for orange-on-white
   accents like links, eyebrows and chip backgrounds where the contrast
   direction is reversed and 4.5:1 is satisfied. */
.gxs-btn--primary { background: var(--gxs-orange-cta); color: #fff; }
.gxs-btn--primary:hover { background: var(--gxs-orange-cta-hover); color: #fff; }
.gxs-btn--ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.gxs-btn--ghost-on-dark:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.gxs-btn--secondary { background: #fff; color: var(--gxs-dark); border-color: var(--gxs-border); }
.gxs-btn--secondary:hover { background: var(--gxs-surface-soft); }
.gxs-btn--block { width: 100%; }

/* Compact variant for the header nav */
.gxs-btn--sm { height: 2.25rem; padding: 0 0.85rem; font-size: 0.8125rem; }

/* Missing Tailwind utilities ------------------------------------------
   style.css was pre-compiled and only ships the orange shades the
   original template happened to use (orange-50, -100, -300, -500,
   -600). The 700/800 shades are required for the AA-compliant CTAs
   (white-on-orange-600 = 3.66:1 fails; white-on-orange-700 = 5.47:1).
   We define them locally so existing markup that says
   `bg-orange-700` / `hover:bg-orange-800` renders the intended color
   without us having to refactor every CTA. */
.bg-orange-700 { background-color: #c2410c; }
.bg-orange-800 { background-color: #9a3412; }
.hover\:bg-orange-700:hover { background-color: #c2410c; }
.hover\:bg-orange-800:hover { background-color: #9a3412; }
.text-orange-300 { color: #fdba74; }
.hover\:text-orange-300:hover { color: #fdba74; }

/* Tiny responsive utility - hide below 640px so the header doesn't get crowded
   on small phones. The site otherwise has its own bespoke media-query system
   because the Tailwind utility bundle is incomplete. */
.gxs-hidden-xs { display: none; }
@media (min-width: 640px) { .gxs-hidden-xs { display: inline-flex; } }

/* ---------- Page shell (8/4 or 7/5 grid with sticky aside) ------------- */

.gxs-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .gxs-shell {
        grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
        gap: 2.5rem;
    }
    .gxs-shell--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .gxs-shell--single { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
    .gxs-shell { gap: 3rem; }
}
.gxs-shell__main { min-width: 0; }
.gxs-shell__aside { min-width: 0; }
@media (min-width: 768px) {
    .gxs-shell__aside--sticky {
        position: sticky;
        top: calc(var(--gxs-header-h) + 1rem);
        align-self: start;
    }
}

.gxs-stack > * + * { margin-top: 1.5rem; }
.gxs-stack--lg > * + * { margin-top: 2.5rem; }

/* ---------- Prose for long-form content -------------------------------- */

.gxs-prose { max-width: var(--gxs-content); color: var(--gxs-text); }
.gxs-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gxs-text);
    margin: 0 0 0.75rem 0;
    line-height: 1.25;
}
.gxs-prose h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gxs-text);
    margin: 1.75rem 0 0.5rem 0;
}
.gxs-prose p { color: var(--gxs-text-muted); line-height: 1.65; margin: 0 0 0.875rem 0; }
.gxs-prose p:last-child { margin-bottom: 0; }
.gxs-prose strong { color: var(--gxs-text); font-weight: 600; }
.gxs-prose ul { margin: 0.5rem 0 0.5rem 1.25rem; padding: 0; color: var(--gxs-text-muted); line-height: 1.65; }
.gxs-prose ul li { margin-bottom: 0.5rem; }
.gxs-prose a { color: var(--gxs-orange-strong); text-decoration: underline; }
.gxs-prose a:hover { color: var(--gxs-orange); }

.gxs-prose-block + .gxs-prose-block { margin-top: 2rem; }

/* ---------- Cards & info panels --------------------------------------- */

.gxs-card {
    background: #fff;
    border: 1px solid var(--gxs-border);
    border-radius: var(--gxs-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--gxs-shadow-sm);
}
@media (min-width: 768px) { .gxs-card { padding: 1.5rem; } }
.gxs-card--soft { background: var(--gxs-surface-soft); }
.gxs-card--accent { background: var(--gxs-orange-soft); border-color: #fed7aa; }
.gxs-card--warn { background: #fffbeb; border-color: #fcd34d; color: #78350f; }

/* Edge-to-edge image card used to embed the dynamically rendered country
 * map on /coverage/{slug} and /coverage/{slug}/{type}. The PNG is the SAME
 * URL the OG-image scraper hits, so one render + one OutputCache entry
 * powers both the social preview and the on-page visual. */
.gxs-card--map {
    padding: 0;
    overflow: hidden;
    background: var(--gxs-dark);
}
.gxs-card__map {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.gxs-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gxs-text);
    margin: 0 0 0.75rem 0;
}
.gxs-card__body { color: var(--gxs-text-muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }
.gxs-card__body p { margin: 0 0 0.75rem 0; }
.gxs-card__body p:last-child { margin-bottom: 0; }
.gxs-card__cta { margin-top: 1rem; }

.gxs-keyvals {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 1rem;
    row-gap: 0.5rem;
    font-size: 0.875rem;
    margin: 0;
}
.gxs-keyvals dt { color: var(--gxs-text-subtle); }
.gxs-keyvals dd { margin: 0; color: var(--gxs-text); }
.gxs-keyvals dd.is-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- Generic list (rounded container, divided rows) ------------- */

.gxs-list {
    background: #fff;
    border: 1px solid var(--gxs-border);
    border-radius: var(--gxs-radius-lg);
    overflow: hidden;
    box-shadow: var(--gxs-shadow-sm);
}
.gxs-list__group + .gxs-list__group { border-top: 1px solid var(--gxs-border); }
.gxs-list__group-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    background: var(--gxs-surface-soft);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gxs-text-muted);
    cursor: pointer;
    list-style: none;
}
.gxs-list__group-summary::-webkit-details-marker { display: none; }
.gxs-list__group-summary .meta { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--gxs-text-subtle); margin-left: 0.5rem; font-size: 0.75rem; }
.gxs-list__group-summary .chev { width: 16px; height: 16px; transition: transform 120ms ease; }
details[open] > .gxs-list__group-summary .chev { transform: rotate(180deg); }

.gxs-list__rows { list-style: none; margin: 0; padding: 0; }
.gxs-list__row {
    display: block;
    padding: 0.875rem 1rem;
    color: inherit;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
}
.gxs-list__row:first-child { border-top: 0; }
.gxs-list__row:hover { background: #fff7ed; }

.gxs-list__row-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: center;
}
@media (min-width: 640px) {
    .gxs-list__row-inner {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1fr) auto;
        gap: 1rem;
    }
}

.gxs-list__country {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    min-width: 0;
}
.gxs-list__country .iso { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; color: var(--gxs-text-subtle); width: 2rem; flex-shrink: 0; }
.gxs-list__country .name { font-weight: 500; color: var(--gxs-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gxs-list__country .dial { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; color: var(--gxs-orange-strong); margin-left: auto; }
@media (min-width: 640px) { .gxs-list__country .dial { margin-left: 0; } }

.gxs-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.gxs-tag {
    display: inline-flex;
    align-items: center;
    height: 1.25rem;
    padding: 0 0.45rem;
    border-radius: 0.25rem;
    background: var(--gxs-surface-alt);
    border: 1px solid var(--gxs-border);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gxs-text-muted);
    line-height: 1;
    white-space: nowrap;
}

.gxs-list__capabilities { font-size: 0.8rem; color: var(--gxs-text-subtle); }
.gxs-list__capabilities .ok { color: #047857; }
@media (min-width: 640px) { .gxs-list__capabilities { text-align: right; } }

.gxs-list__chev {
    display: none;
    color: var(--gxs-orange-strong);
    font-weight: 600;
    font-size: 0.8rem;
}
@media (min-width: 640px) { .gxs-list__chev { display: inline; } }

/* ---------- Product list (Country page: type rows) -------------------- */

.gxs-products { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.gxs-products__row {
    background: #fff;
    border: 1px solid var(--gxs-border);
    border-radius: var(--gxs-radius);
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem 1.5rem;
    align-items: center;
}
.gxs-products__row:hover { border-color: var(--gxs-orange-300); background: #fff7ed; box-shadow: var(--gxs-shadow-sm); }
@media (min-width: 640px) {
    .gxs-products__row {
        grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr) auto;
    }
}
.gxs-products__name { display: flex; flex-direction: column; }
.gxs-products__name strong { color: var(--gxs-text); font-size: 1rem; font-weight: 600; }
.gxs-products__name span.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; color: var(--gxs-text-subtle); margin-top: 2px; }
.gxs-products__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem 1.25rem; font-size: 0.85rem; }
.gxs-products__stats dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gxs-text-subtle); }
.gxs-products__stats dd { margin: 0; color: var(--gxs-text); }
.gxs-products__cta { display: none; color: var(--gxs-orange-strong); font-size: 0.85rem; font-weight: 600; text-align: right; }
@media (min-width: 640px) { .gxs-products__cta { display: inline; } }

/* ---------- Tables (areacodes etc.) ----------------------------------- */

.gxs-table-wrap { overflow-x: auto; }
.gxs-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
.gxs-table thead th {
    border-bottom: 1px solid var(--gxs-border);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gxs-text-subtle);
    font-weight: 500;
    padding: 0.5rem 1rem 0.5rem 0;
}
.gxs-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.gxs-table tbody tr:last-child { border-bottom: 0; }
.gxs-table td { padding: 0.625rem 1rem 0.625rem 0; vertical-align: top; }
.gxs-table .is-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.gxs-table .is-strong { color: var(--gxs-text); font-weight: 500; }
.gxs-table .is-muted { color: var(--gxs-text-subtle); }

/* ---------- Form ------------------------------------------------------ */

.gxs-form { display: flex; flex-direction: column; gap: 1rem; }
.gxs-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .gxs-form__row--2 { grid-template-columns: 1fr 1fr; } }
.gxs-field { display: flex; flex-direction: column; gap: 0.35rem; }
.gxs-field > label { font-size: 0.85rem; font-weight: 500; color: var(--gxs-text); }
.gxs-field > input,
.gxs-field > textarea,
.gxs-field > select {
    width: 100%;
    border: 1px solid var(--gxs-border-strong);
    border-radius: var(--gxs-radius);
    padding: 0.55rem 0.75rem;
    font: inherit;
    font-size: 0.9rem;
    background: #fff;
    color: var(--gxs-text);
}
.gxs-field > input:focus,
.gxs-field > textarea:focus,
.gxs-field > select:focus {
    outline: none;
    border-color: var(--gxs-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}
.gxs-field--hidden { position: absolute; left: -10000px; }

/* ---------- Contact channels list ------------------------------------- */

.gxs-channels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.gxs-channel { display: flex; gap: 0.875rem; align-items: flex-start; }
.gxs-channel__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: var(--gxs-orange-soft);
    color: var(--gxs-orange-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gxs-channel__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gxs-text-subtle); }
.gxs-channel__value { display: block; font-size: 1rem; color: var(--gxs-text); font-weight: 500; text-decoration: none; margin-top: 1px; }
.gxs-channel__value:hover { color: var(--gxs-orange-strong); }
.gxs-channel__value.is-block { font-weight: 400; }
.gxs-channel__sub { font-size: 0.8rem; color: var(--gxs-text-subtle); margin-top: 2px; }

/* ---------- Booth floorplan card (ITW blog sidebar) ------------------- */

.gxs-floorplan-card .gxs-card__title { margin-bottom: 0.125rem; }

.gxs-floorplan-card__subtitle {
    margin: 0 0 0.875rem 0;
    font-size: 0.8rem;
    color: var(--gxs-text-subtle);
}

.gxs-floorplan-card__map {
    background: #ffffff;
    border: 1px solid var(--gxs-border);
    border-radius: 0.625rem;
    padding: 0.375rem;
    overflow: hidden;
}
.gxs-floorplan-card__map svg {
    display: block;
    width: 100%;
    height: auto;
}

.gxs-floorplan-card__caption {
    margin: 0.75rem 0 0 0;
    font-size: 0.825rem;
    color: var(--gxs-text-muted);
    line-height: 1.5;
}
.gxs-floorplan-card__caption strong { color: var(--gxs-orange-strong); font-weight: 700; }

.gxs-floorplan-card__pulse {
    transform-origin: 150px 180px;
    transform-box: fill-box;
    animation: gxs-floorplan-pulse 2.4s ease-in-out infinite;
}
@keyframes gxs-floorplan-pulse {
    0%, 100% { transform: scale(0.85); opacity: 0.95; }
    50%      { transform: scale(1.15); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
    .gxs-floorplan-card__pulse { animation: none; }
}

/* ---------- CTA strip (orange→emerald) -------------------------------- */

.gxs-cta-strip {
    background-image: linear-gradient(90deg, var(--gxs-orange) 0%, var(--gxs-emerald) 100%);
    color: #fff;
    text-align: center;
}
.gxs-cta-strip h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem 0; color: #fff; }
@media (min-width: 768px) { .gxs-cta-strip h2 { font-size: 2rem; } }
.gxs-cta-strip p { color: rgba(255, 255, 255, 0.92); margin: 0 auto 1.75rem auto; max-width: 36rem; line-height: 1.55; }

/* ---------- Solutions cards grid (home + related products) ------------ */

.gxs-cards-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gxs-cards-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
@media (min-width: 1024px) { .gxs-cards-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.gxs-cards-grid--2 { }
@media (min-width: 1024px) { .gxs-cards-grid--2 { grid-template-columns: 1fr 1fr; } }

.gxs-card-link {
    display: block;
    background: #fff;
    border: 1px solid var(--gxs-border);
    border-radius: var(--gxs-radius-lg);
    padding: 1.25rem;
    text-decoration: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
    color: inherit;
}
.gxs-card-link:hover { border-color: var(--gxs-orange-300); box-shadow: var(--gxs-shadow-md); }
.gxs-card-link__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--gxs-orange-soft);
    color: var(--gxs-orange-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gxs-card-link__title { margin: 0.875rem 0 0.5rem 0; font-size: 1.0625rem; font-weight: 600; color: var(--gxs-text); }
.gxs-card-link:hover .gxs-card-link__title { color: var(--gxs-orange-strong); }
.gxs-card-link__body { margin: 0; color: var(--gxs-text-muted); font-size: 0.85rem; line-height: 1.55; }

/* ---------- Centred section header ------------------------------------ */

.gxs-section-head { max-width: 36rem; margin: 0 auto 2.5rem auto; text-align: center; }
.gxs-section-head h2 { font-size: 1.75rem; font-weight: 700; color: var(--gxs-text); line-height: 1.2; margin: 0; }
@media (min-width: 768px) { .gxs-section-head h2 { font-size: 2.25rem; } }
.gxs-section-head p { margin: 0.75rem 0 0 0; color: var(--gxs-text-muted); font-size: 1rem; line-height: 1.55; }

/* ---------- Filter bar (Coverage hub) --------------------------------- */

.gxs-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .gxs-filter-bar { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.gxs-filter-bar__intro { max-width: 36rem; }
.gxs-filter-bar__intro h2 { font-size: 1.25rem; font-weight: 600; color: var(--gxs-text); margin: 0; }
.gxs-filter-bar__intro p { margin: 0.25rem 0 0 0; font-size: 0.875rem; color: var(--gxs-text-muted); }
.gxs-filter-bar__controls { display: flex; flex-direction: column; gap: 0.625rem; align-items: stretch; }
@media (min-width: 768px) { .gxs-filter-bar__controls { align-items: flex-end; } }

.gxs-filter-search {
    width: 100%;
    border: 1px solid var(--gxs-border-strong);
    border-radius: var(--gxs-radius);
    padding: 0.5rem 0.75rem;
    font: inherit;
    font-size: 0.875rem;
    background: #fff;
}
@media (min-width: 768px) { .gxs-filter-search { width: 18rem; } }
.gxs-filter-search:focus { outline: none; border-color: var(--gxs-orange); box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18); }

.gxs-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gxs-chip {
    display: inline-flex;
    align-items: center;
    height: 1.75rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--gxs-border-strong);
    background: #fff;
    color: var(--gxs-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.gxs-chip:hover { background: var(--gxs-surface-soft); }
.gxs-chip[aria-pressed="true"] {
    background: var(--gxs-orange-soft);
    color: var(--gxs-orange-strong);
    border-color: var(--gxs-orange-300);
}

/* ---------- Map legend ------------------------------------------------ */

.gxs-legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; font-size: 0.75rem; color: var(--gxs-text-muted); margin-top: 0.75rem; }
.gxs-legend__sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }

/* ---------- Misc helpers --------------------------------------------- */

.gxs-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gxs-orange-strong);
}
.gxs-section-eyebrow { color: var(--gxs-text-subtle); }

.gxs-divider { border: 0; border-top: 1px solid var(--gxs-border); margin: 0; }

.gxs-text-center { text-align: center; }
.gxs-mt-2 { margin-top: 0.5rem; }
.gxs-mt-3 { margin-top: 0.75rem; }
.gxs-mt-4 { margin-top: 1rem; }
.gxs-mt-6 { margin-top: 1.5rem; }
.gxs-mt-8 { margin-top: 2rem; }

/* ---------- 3-up cards-grid variant --------------------------------- */

@media (min-width: 1024px) {
    .gxs-cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Section eyebrow heading (left aligned) ------------------- */

.gxs-section__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gxs-orange-strong);
    margin: 0 0 0.5rem 0;
}
.gxs-section__h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gxs-text);
    margin: 0 0 1.25rem 0;
    line-height: 1.2;
}
@media (min-width: 768px) { .gxs-section__h2 { font-size: 1.75rem; } }

/* ---------- At-a-glance lead paragraph ------------------------------- */

.gxs-lead { font-size: 1.125rem; line-height: 1.6; color: var(--gxs-text); font-weight: 500; margin: 0; }
.gxs-lead + p { margin-top: 1rem; color: var(--gxs-text-muted); line-height: 1.65; }

/* ---------- FAQ accordion (details/summary) -------------------------- */

.gxs-faq {
    border: 1px solid var(--gxs-border);
    border-radius: var(--gxs-radius-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--gxs-shadow-sm);
}
.gxs-faq__item + .gxs-faq__item { border-top: 1px solid var(--gxs-border); }
.gxs-faq__item > summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    color: var(--gxs-text);
    font-weight: 600;
    font-size: 0.95rem;
}
.gxs-faq__item > summary::-webkit-details-marker { display: none; }
.gxs-faq__item > summary::after {
    content: "";
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-top: 0.4rem;
    border-right: 2px solid var(--gxs-text-subtle);
    border-bottom: 2px solid var(--gxs-text-subtle);
    transform: rotate(45deg);
    transition: transform 150ms ease;
}
.gxs-faq__item[open] > summary::after { transform: rotate(-135deg); margin-top: 0.6rem; }
.gxs-faq__item[open] > summary { color: var(--gxs-orange-strong); }
.gxs-faq__body { padding: 0 1.25rem 1.25rem 1.25rem; color: var(--gxs-text-muted); line-height: 1.65; font-size: 0.9rem; margin: 0; }

/* ---------- Hero meta row (category + date + reading time on dark) --- */

.gxs-hero__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.8rem;
}
.gxs-hero__meta-row .gxs-pill { color: #fff; }
.gxs-hero__byline { color: rgba(226, 232, 240, 0.85); font-size: 0.85rem; margin: 0.875rem 0 0 0; }
.gxs-hero__byline a { color: var(--gxs-orange-300); text-decoration: underline; }
.gxs-hero__byline a:hover { color: #fff; }

/* ---------- Pills / category badges ---------------------------------- */

.gxs-pill {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.gxs-pill--light { background: var(--gxs-surface-alt); color: var(--gxs-text); border-color: var(--gxs-border); }
.gxs-pill--orange { background: var(--gxs-orange-soft); color: var(--gxs-orange-strong); border-color: #fed7aa; }

/* ---------- Blog cards grid ----------------------------------------- */

/* Blog index: single-column wide media-row cards.
   Layout: image on the left (40% on >=640px, full-width-stacked below), text on the right.
   The card is one big <a> anchor so the entire row is clickable. */
.gxs-blog-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gxs-blog-card {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--gxs-border);
    border-radius: var(--gxs-radius-lg);
    box-shadow: var(--gxs-shadow-sm);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
@media (min-width: 640px) {
    .gxs-blog-card { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
}
@media (min-width: 1024px) {
    .gxs-blog-card { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}

.gxs-blog-card:hover { border-color: var(--gxs-orange-300); box-shadow: var(--gxs-shadow-md); transform: translateY(-1px); }

.gxs-blog-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}
@media (min-width: 640px) { .gxs-blog-card__media { aspect-ratio: auto; height: 100%; min-height: 100%; } }
.gxs-blog-card__media img,
.gxs-blog-card__media svg.fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gxs-blog-card__media svg.fallback { padding: 2.5rem; opacity: 0.4; color: #fff; }

.gxs-blog-card__body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.gxs-blog-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--gxs-text-subtle); }
.gxs-blog-card__title { font-size: 1.25rem; font-weight: 600; color: var(--gxs-text); margin: 0; line-height: 1.3; }
@media (min-width: 1024px) { .gxs-blog-card__title { font-size: 1.4rem; } }
.gxs-blog-card:hover .gxs-blog-card__title { color: var(--gxs-orange-strong); }
.gxs-blog-card__excerpt { font-size: 0.95rem; color: var(--gxs-text-muted); line-height: 1.55; margin: 0; }
.gxs-blog-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.8rem; color: var(--gxs-text-subtle); margin-top: 0.5rem; }
.gxs-blog-card__cta { color: var(--gxs-orange-strong); font-weight: 600; }

/* ---------- Article share row --------------------------------------- */

.gxs-share { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.gxs-share__label { font-size: 0.8rem; font-weight: 500; color: var(--gxs-text-subtle); }
.gxs-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid var(--gxs-border);
    background: #fff;
    color: var(--gxs-text-muted);
    text-decoration: none;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.gxs-share__btn:hover { background: var(--gxs-orange-soft); color: var(--gxs-orange-strong); border-color: var(--gxs-orange-300); }

/* ---------- Author card --------------------------------------------- */

.gxs-author { display: flex; gap: 0.875rem; align-items: flex-start; }
.gxs-author__avatar {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gxs-orange) 0%, var(--gxs-emerald) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.gxs-author__name { font-size: 0.95rem; font-weight: 600; color: var(--gxs-text); margin: 0; }
.gxs-author__role { font-size: 0.75rem; color: var(--gxs-text-subtle); margin: 0.1rem 0 0 0; text-transform: uppercase; letter-spacing: 0.04em; }
.gxs-author__bio { font-size: 0.85rem; color: var(--gxs-text-muted); line-height: 1.55; margin: 0.5rem 0 0 0; }

/* ---------- Compact link list (sidebar) ----------------------------- */

.gxs-linklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gxs-linklist__item { border-top: 1px solid #f1f5f9; }
.gxs-linklist__item:first-child { border-top: 0; }
.gxs-linklist__link {
    display: block;
    padding: 0.625rem 0;
    color: var(--gxs-text);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
}
.gxs-linklist__link:hover { color: var(--gxs-orange-strong); }
.gxs-linklist__link .meta { display: block; margin-top: 0.125rem; font-size: 0.7rem; color: var(--gxs-text-subtle); }

/* ---------- Category list (sidebar) --------------------------------- */

.gxs-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gxs-cats__btn {
    display: inline-flex;
    align-items: center;
    height: 1.75rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--gxs-border-strong);
    background: #fff;
    color: var(--gxs-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
}
.gxs-cats__btn:hover { background: var(--gxs-surface-soft); color: var(--gxs-text); }
.gxs-cats__btn .count { margin-left: 0.4rem; color: var(--gxs-text-subtle); font-size: 0.7rem; }

/* ---------- Breadcrumbs on light background -------------------------- */

.gxs-crumbs {
    font-size: 0.8rem;
    color: var(--gxs-text-subtle);
    margin: 0 0 1rem 0;
}
.gxs-crumbs a { color: var(--gxs-text-subtle); text-decoration: none; }
.gxs-crumbs a:hover { color: var(--gxs-orange-strong); }
.gxs-crumbs .sep { margin: 0 0.4rem; opacity: 0.5; }
.gxs-crumbs .current { color: var(--gxs-text); }

/* ---------- Pull-quote (case-study sidebar / detail blockquote) ------ */

.gxs-quote {
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    border-left: 4px solid var(--gxs-orange);
    background: var(--gxs-surface-soft);
    border-radius: 0 var(--gxs-radius-lg) var(--gxs-radius-lg) 0;
}
.gxs-quote p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.55;
    font-style: italic;
    color: var(--gxs-text);
}
.gxs-quote footer {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--gxs-text-subtle);
    font-style: normal;
}

/* ---------- A-Z navigation strip (glossary) -------------------------- */

.gxs-az-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    background: var(--gxs-surface-soft);
    border: 1px solid var(--gxs-border);
    border-radius: var(--gxs-radius);
    position: sticky;
    top: 0.5rem;
    z-index: 5;
}
.gxs-az-nav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.45rem;
    border-radius: var(--gxs-radius);
    background: #fff;
    border: 1px solid var(--gxs-border-strong);
    color: var(--gxs-text);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 120ms ease, color 120ms ease;
}
.gxs-az-nav__item:hover { background: var(--gxs-orange); color: #fff; border-color: var(--gxs-orange); }

/* ---------- Glossary list ------------------------------------------- */

.gxs-glossary-letter { margin: 2.5rem 0; scroll-margin-top: 6rem; }
.gxs-glossary-letter__h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gxs-border);
    color: var(--gxs-text);
}
.gxs-glossary { margin: 0; padding: 0; }
.gxs-glossary__dt {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 1.25rem 0 0.35rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gxs-text);
    scroll-margin-top: 6rem;
}
.gxs-glossary__dd {
    margin: 0 0 0 0;
    color: var(--gxs-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}
.gxs-glossary__anchor {
    color: var(--gxs-text-subtle);
    text-decoration: none;
    font-weight: 400;
    opacity: 0;
    transition: opacity 120ms ease, color 120ms ease;
}
.gxs-glossary__dt:hover .gxs-glossary__anchor,
h2:hover .gxs-glossary__anchor { opacity: 1; color: var(--gxs-orange-strong); }
