/* ==== Support page hero (/support-page/) ====
   Loaded only by templates/store/support.html; own sp-* class names. */

.sp-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: -1.5rem;               /* cancel the page container's .pt-4 */
    margin-bottom: 48px;
    /* same size as the Services / Solutions heroes */
    min-height: clamp(420px, 52vw, 560px);
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #0b174f;
    color: #fff;
}
.sp-hero__inner {
    width: min(1180px, 100% - 32px);
    margin-inline: auto;
    padding-block: 56px;
}

.sp-kicker {
    margin: 0 0 12px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #ff6b7a;
}
body .sp-hero .sp-hero__title {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -.03em;
    color: #fff !important;
}
.sp-hero__lede {
    max-width: 36rem;
    margin: 0;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    color: rgba(222, 230, 255, .82);
}

.sp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}
.sp-btn--primary { background: #ed0920; color: #fff !important; }
.sp-btn--primary:hover { background: #c7081c; color: #fff !important; }
.sp-btn--ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }
.sp-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff !important; }
.sp-btn:focus-visible { outline: 3px solid #ffb3bd; outline-offset: 3px; }

.sp-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-size: .9rem;
    color: rgba(222, 230, 255, .75);
}

@media (max-width: 767.98px) {
    .sp-hero { min-height: clamp(360px, 72vw, 440px); align-items: flex-end; margin-bottom: 36px; }
    .sp-hero__inner { padding-block: clamp(96px, 24vw, 160px) 32px; }
    body .sp-hero .sp-hero__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
}
@media (max-width: 575.98px) {
    .sp-actions .sp-btn { flex: 1 1 100%; }
}

/* Self-Help Resources rows: light-theme colours. The old dark-theme hover in
   site.css turned the text white on the white card, so it vanished on hover/tap. */
.compact-row {
    color: #0b174f;
    background: #f7f9fc;
    border-color: #e3e9f2;
}
.compact-row span { color: #0b174f; }
.compact-row strong { color: #ed0920; font-size: .82rem; font-weight: 700; }
.compact-row:hover,
.compact-row:focus-visible,
.compact-row:active {
    color: #0b174f;
    background: #eef3fa;
    border-color: #c9d6ea;
}
.compact-row:hover span,
.compact-row:focus-visible span,
.compact-row:active span { color: #0b174f; }
.compact-row:focus-visible { outline: 2px solid #0b174f; outline-offset: 2px; }


.sp-hero-image { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:right 28%; }
.sp-hero::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(90deg, rgba(5,12,36,.96), rgba(5,12,36,.82) 48%, rgba(5,12,36,.22)); }
@media(max-width:575.98px) {
    .sp-hero::before { background:linear-gradient(rgba(5,12,36,.78), rgba(5,12,36,.94)); }
}

/* Priority matrix on phones: one card per priority instead of a table cut off at the screen edge. */
@media(max-width:575.98px) {
    .support-matrix { min-width: 0 !important; }
    .support-matrix thead { display:none; }
    .support-matrix, .support-matrix tbody, .support-matrix tr, .support-matrix td { display:block; width:100%; }
    .support-matrix tr { padding:.85rem 1rem; border-bottom:1px solid var(--stroke, #dce4ef); }
    .support-matrix tr:last-child { border-bottom:0; }
    body .support-matrix tbody td { display:flex; justify-content:space-between; gap:1rem; padding:.2rem 0 !important; border:0 !important; text-align:right !important; }
    .support-matrix td::before { content:attr(data-label); color:#5b6685; font-size:.8rem; font-weight:600; text-align:left; white-space:nowrap; }
    .support-matrix td:first-child { padding-bottom:.35rem !important; text-align:left !important; }
    .support-matrix td:first-child::before { display:none; }
}
