/* Footer: "Press & Media Mentions" (footer.php .globally-featured-section.fpx-press) — every page.
   Full width, matching "Our Offices" below: head row on the fluid footer gutter, the five mentions
   as one edge-to-edge row split by hairlines (no cards). Logo on a white chip, orange bar + warm
   tint on hover, "View" turns into an orange pill. Swipe row on small screens. Text unchanged. */

section.globally-featured-section.fpx-press {
    --pr-g: clamp(16px, 4.5vw, 88px);
    padding: 100px 0 0 !important;
    background: #000 !important;
}

section.fpx-press > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- head ---------- */
section.fpx-press .fpx-head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between;
    gap: 24px 48px;
    margin: 0 0 48px !important;
    padding: 0 var(--pr-g) !important;
}

section.fpx-press .fpx-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px !important;
    color: #ff9f0a !important;
    font-size: 13px !important;
    letter-spacing: .2em;
    text-transform: uppercase;
}

section.fpx-press .fpx-eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: #ff9f0a;
}

section.fpx-press .fpx-title {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(36px, 3.6vw, 56px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.03em;
}

section.fpx-press .fpx-lead {
    max-width: 460px;
    margin: 0 !important;
    color: rgba(255, 255, 255, .6) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    text-align: right !important;
}

/* ---------- mentions row ---------- */
section.fpx-press .fpx-press-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

section.fpx-press .fpx-press-card {
    position: relative;
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px clamp(20px, 2.2vw, 40px) 44px !important;
    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background .4s ease !important;
}

section.fpx-press .fpx-press-card:first-child {
    border-left: 0 !important;
    padding-left: var(--pr-g) !important;
}

section.fpx-press .fpx-press-card:last-child {
    padding-right: var(--pr-g) !important;
}

section.fpx-press .fpx-press-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 2px;
    background: #ff9f0a;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

section.fpx-press .fpx-press-card:hover {
    background: linear-gradient(180deg, rgba(255, 159, 10, .1), rgba(255, 159, 10, 0)) !important;
}

section.fpx-press .fpx-press-card:hover::after {
    transform: scaleX(1);
}

/* logo chip */
section.fpx-press .fpx-press-logo {
    width: 100%;
    height: 72px !important;
    margin: 0 0 26px !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

section.fpx-press .fpx-press-card:hover .fpx-press-logo {
    transform: translateY(-4px);
}

section.fpx-press .fpx-press-logo svg,
section.fpx-press .fpx-press-logo img {
    max-height: 34px !important;
}

section.fpx-press .fpx-press-logo img.fpx-logo-gcloud {
    max-height: 44px !important;
}

section.fpx-press .fpx-press-title {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    transition: color .3s ease;
}

section.fpx-press .fpx-press-card:hover .fpx-press-title {
    color: #ff9f0a !important;
}

section.fpx-press .fpx-press-text {
    margin: 0 0 24px !important;
    color: rgba(255, 255, 255, .6) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

section.fpx-press .fpx-press-link {
    display: inline-flex !important;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    padding: 9px 18px !important;
    border: 1px solid rgba(255, 159, 10, .5);
    border-radius: 999px;
    color: #ff9f0a !important;
    font-family: var(--bold);
    font-size: 14px !important;
    text-decoration: none !important;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

section.fpx-press .fpx-press-link i {
    color: inherit !important;
    transition: transform .3s ease;
}

section.fpx-press .fpx-press-link:hover,
section.fpx-press .fpx-press-card:hover .fpx-press-link {
    border-color: #ff9f0a;
    background: #ff9f0a;
    color: #111 !important;
}

section.fpx-press .fpx-press-link:hover i {
    transform: translate(2px, -2px);
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    section.fpx-press .fpx-press-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(280px, 36%);
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    section.fpx-press .fpx-press-grid::-webkit-scrollbar {
        display: none;
    }

    section.fpx-press .fpx-press-card {
        scroll-snap-align: start;
        flex-basis: auto !important;
    }
}

@media (max-width: 767px) {
    section.globally-featured-section.fpx-press {
        padding-top: 72px !important;
    }

    section.fpx-press .fpx-head {
        flex-direction: column;
        align-items: flex-start !important;
        margin-bottom: 32px !important;
        padding: 0 20px !important;
    }

    section.fpx-press .fpx-lead {
        text-align: left !important;
    }

    section.fpx-press .fpx-press-grid {
        grid-auto-columns: 80%;
    }

    section.fpx-press .fpx-press-card,
    section.fpx-press .fpx-press-card:first-child,
    section.fpx-press .fpx-press-card:last-child {
        padding: 32px 20px 36px !important;
    }
}
