/**
 * /contacts/ — Channel hub layout (Boost Hub PM shell).
 * Loaded only on contacts/index.php.
 */

body:has(.pmMissionProtoPage--contacts) .bx_breadcrumb {
    display: none !important;
}

.contactsPage {
    --contacts-amber: #fe9900;
    --contacts-amber-soft: rgba(254, 153, 0, 0.14);
    --contacts-text: rgba(255, 255, 255, 0.98);
    --contacts-muted: rgba(255, 255, 255, 0.56);
    --contacts-line: rgba(255, 255, 255, 0.1);
    --contacts-hover: rgba(255, 255, 255, 0.04);
}

.contactsPage.pmMissionProtoPage--contacts {
    padding: 0;
    min-width: 0;
}

/* —— Hero —— */
.contactsHero {
    margin: 0 0 28px;
    max-width: 40rem;
}

.contactsHero__brand {
    margin: 0 0 10px;
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--contacts-amber);
}

.contactsHero__title {
    margin: 0 0 0.45em;
    padding: 0;
    font-size: clamp(2.35rem, 3.8vw, 3.25rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: var(--contacts-text);
    text-wrap: balance;
}

/* Global main.css `h1::before` orange bar + left padding — not for this hero */
.contactsHero__title::before {
    content: none !important;
    display: none !important;
}

.contactsHero__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--contacts-muted);
}

/* —— Hours strip —— */
.contactsHoursStrip {
    display: grid;
    gap: 8px;
    margin: 0 0 36px;
    padding: 16px 0;
    border-top: 1px solid var(--contacts-line);
    border-bottom: 1px solid var(--contacts-line);
    animation: contactsStripIn 0.45s ease both;
}

@keyframes contactsStripIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.contactsHoursStrip__primary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 18px;
}

.contactsHoursStrip__label {
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--contacts-muted);
}

.contactsHoursStrip__value {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--contacts-text);
    font-variant-numeric: tabular-nums;
}

.contactsHoursStrip__note,
.contactsHoursStrip__topics {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--contacts-muted);
}

.contactsHoursStrip__topics {
    color: rgba(255, 255, 255, 0.45);
}

/* —— Channel list —— */
.contactsChannels__title {
    margin: 0 0 14px;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--contacts-text);
}

.contactsChannelList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
}

/* Beat global `.content ul li` (29px left pad + orange dash at top:12px). */
.contactsPage.content ul.contactsChannelList > li.contactsChannel {
    list-style: none;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 72px;
    margin: 0;
    padding: 18px 4px 18px 28px;
    overflow: visible;
    line-height: normal;
    border-bottom: 1px solid var(--contacts-line);
    transition: background-color 0.2s ease;
}

.contactsPage.content ul.contactsChannelList > li.contactsChannel:first-child {
    border-top: 1px solid var(--contacts-line);
}

.contactsPage.content ul.contactsChannelList > li.contactsChannel:last-child {
    margin: 0;
}

.contactsPage.content ul.contactsChannelList > li.contactsChannel:hover,
.contactsPage.content ul.contactsChannelList > li.contactsChannel:focus-within {
    background-color: var(--contacts-hover);
}

/* Global dash: pin to vertical center of the 44px glyph (not top of tall mobile rows). */
.contactsPage.content ul.contactsChannelList > li.contactsChannel::after {
    top: calc(18px + (44px - 2px) / 2);
    left: 0;
    transform: none;
    border-radius: 1px;
}

.contactsChannel {
    /* base hooks kept for non-.content contexts; layout owned by rule above */
}

.contactsChannel__glyph.footerFdb__contactGlyph {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--contacts-amber-soft);
    color: var(--contacts-amber);
    font-size: 1.35rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.contactsChannel:hover .contactsChannel__glyph,
.contactsChannel:focus-within .contactsChannel__glyph {
    transform: translateY(-1px);
}

.contactsChannel__body {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.contactsChannel__label {
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--contacts-muted);
}

.contactsChannel__value {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--contacts-text);
    word-break: break-word;
}

.contactsChannel__desc {
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--contacts-muted);
}

.contactsChannel__cta {
    flex: 0 0 auto;
}

.contactsChannel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 7.5rem;
    padding: 0 18px;
    border: 1px solid rgba(254, 153, 0, 0.45);
    border-radius: 10px;
    background: transparent;
    color: #ffd8a4;
    font: inherit;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contactsChannel__btn:hover,
.contactsChannel__btn:focus-visible {
    background: var(--contacts-amber-soft);
    border-color: var(--contacts-amber);
    color: #fff;
    text-decoration: none;
    outline: none;
}

.contactsChannel__btn:focus-visible {
    box-shadow: 0 0 0 2px rgba(254, 153, 0, 0.35);
}

.contactsChannel__btn.is-copied {
    background: rgba(80, 180, 100, 0.18);
    border-color: rgba(120, 210, 140, 0.55);
    color: #c8f0d0;
}

.contactsChannel__btn--link {
    color: #ffd8a4;
}

.contactsChannel__btn--link:visited {
    color: #ffd8a4;
}

.contactsCopyLive {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contactsChannels {
    position: relative;
    margin-bottom: 48px;
}

@media (max-width: 700px) {
    .contactsHero {
        margin-bottom: 22px;
    }

    .contactsHoursStrip {
        margin-bottom: 28px;
        padding: 14px 0;
    }

    .contactsHoursStrip__primary {
        flex-direction: column;
        gap: 4px;
    }

    .contactsPage.content ul.contactsChannelList > li.contactsChannel {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "glyph body"
            "cta cta";
        gap: 12px 14px;
        padding: 16px 0 16px 28px;
        align-items: start;
    }

    .contactsPage.content ul.contactsChannelList > li.contactsChannel::after {
        top: calc(16px + (44px - 2px) / 2);
    }

    .contactsChannel__glyph {
        grid-area: glyph;
    }

    .contactsChannel__body {
        grid-area: body;
    }

    .contactsChannel__cta {
        grid-area: cta;
    }

    .contactsChannel__btn {
        width: 100%;
    }

    .contactsChannel__value {
        font-size: 1.4rem;
    }
}
