/* ══════════════════════════════════════════════════════════════════
   PARTNERSHIPS PAGE
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────── */
.sh-ph-hero {
    background: var(--sh-color-secondary);
    padding: 5.5rem 1.5rem 5rem;
    text-align: center;
}

.sh-ph-hero .sh-eyebrow {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    margin-bottom: 1.25rem !important;
}

.sh-ph-hero__title {

    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 1rem auto !important;
    line-height: 1.15 !important;
}

.sh-ph-hero__lead {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    max-width: 640px;
    margin: 0 auto !important;
}

/* ── Partner logo marquee ────────────────────────────────────── */
.sh-ph-partners-wrap {
    background: var(--sh-color-white);
    padding: 3.5rem 0 3rem;
    overflow: hidden;
}

.sh-ph-partners-wrap__title {

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sh-color-secondary);
    text-align: center;
    margin: 0 0 2rem;
}

.sh-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.sh-marquee__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: sh-marquee-scroll 40s linear infinite;
}

.sh-marquee:hover .sh-marquee__track {
    animation-play-state: paused;
}

@keyframes sh-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.sh-marquee__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 56px;
    padding: 0 0.75rem;
}

.sh-marquee__item img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.65;
    filter: grayscale(1);
    transition: opacity var(--sh-transition-fast), filter var(--sh-transition-fast);
}

.sh-marquee__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.sh-marquee__item a:hover img,
.sh-marquee__item img:hover {
    opacity: 1;
    filter: grayscale(0);
}

.sh-marquee__item--text {

    font-size: 0.8rem;
    font-weight: 600;
    color: #8E9490;
    text-align: center;
    line-height: 1.35;
    white-space: nowrap;
    padding: 0 0.75rem;
}

/* ── Categorised partner list ────────────────────────────────── */
.sh-ph-partners-cats {
    background: var(--sh-color-bg);
    padding: 4rem 1.5rem;
}

.sh-ph-partners-cats__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sh-ph-partners-cat__label {

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sh-color-secondary);
    margin: 0 0 0.875rem !important;
}

.sh-ph-partners-cats .wp-block-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sh-ph-partners-cats .wp-block-list li {
    background: var(--sh-color-white);
    border: 1.5px solid var(--sh-color-border);
    border-radius: var(--sh-radius-pill);
    padding: 0.45rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sh-color-text);
    transition: border-color var(--sh-transition-fast), box-shadow var(--sh-transition-fast);
}

.sh-ph-partners-cats .wp-block-list li:hover {
    border-color: var(--sh-color-secondary);
    box-shadow: 0 2px 8px rgba(42, 111, 119, 0.1);
}

.sh-ph-partners-cats .wp-block-list li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* ── CTA banner ──────────────────────────────────────────────── */
.sh-ph-cta {
    background: var(--sh-color-primary);
    padding: 4rem 1.5rem;
    text-align: center;
}

.sh-ph-cta__inner {
    max-width: 640px;
    margin: 0 auto;
}

.sh-ph-cta__text {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 0 1.75rem !important;
    line-height: 1.6 !important;
}

.sh-ph-cta .wp-block-button__link {
    background: #fff !important;
    color: var(--sh-color-primary) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 2rem;
    border-radius: var(--sh-radius-pill);
    border: none;
    transition: opacity var(--sh-transition-fast);
    text-decoration: none;
}

.sh-ph-cta .wp-block-button__link:hover {
    opacity: 0.9;
}

/* ── Partnership type cards ──────────────────────────────────── */
.sh-ph-types {
    background: var(--sh-color-bg);
    padding: 4.5rem 1.5rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sh-ph-hero {
        padding: 3.5rem 1.25rem 3rem;
    }

    .sh-ph-partners-cats {
        padding: 3rem 1.25rem;
    }

    .sh-ph-cta {
        padding: 3rem 1.25rem;
    }

    .sh-ph-types {
        padding: 3rem 1.25rem;
    }
}
