/**
 * Product Hero Block
 * Synced with ACF: Product Hero
 * Full-width hero; inner content max-width 75rem, centered; purple gradient headline.
 */

.product-hero-block {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}

main:has(.product-hero-block) {
    max-width: none !important;
    overflow-x: visible !important;
}

.product-hero-section {
    position: relative;
    display: flex;
    min-height: 360px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-color: #000000;
}

@media (min-width: 768px) {
    .product-hero-section {
        min-height: 420px;
    }
}

@media (min-width: 1024px) {
    .product-hero-section {
        min-height: 480px;
    }
}

.product-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

/* Same vertical rhythm as topics-page-hero: clears fixed header; bottom space above next section */
.product-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 156px;
    padding-bottom: 120px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .product-hero-content {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (min-width: 1024px) {
    .product-hero-content {
        padding-left: 100px;
        padding-right: 100px;
    }
}

.product-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.product-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-hero-inner {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.product-hero-inner--placeholder {
    padding: 2rem 0;
}

.product-hero-placeholder {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* Eyebrow: small caps + letter-spacing */
.product-hero-eyebrow {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
}

@media (min-width: 768px) {
    .product-hero-eyebrow {
        font-size: 0.8125rem;
        letter-spacing: 0.22em;
    }
}

/* H1: purple gradient text (matches topics-page-hero) */
.product-hero-headline {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
    padding: 0;
}

.product-hero-headline-gradient {
    display: inline;
    background: linear-gradient(90deg, #ff7ae3 13.48%, #d970ff 45.77%, #ab80ff 76.85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .product-hero-headline {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .product-hero-headline {
        font-size: 3.75rem;
    }
}

/* Subheader */
.product-hero-subheader {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .product-hero-subheader {
        margin-top: 2rem;
        font-size: 1.125rem;
    }
}

/* CTAs: row, centered; single button stays centered */
.product-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .product-hero-ctas {
        margin-top: 2.5rem;
    }
}

.product-hero-ctas--single {
    justify-content: center;
}

/* Match topics / home CTA pill sizing */
.product-hero-cta.btn-filled-on-dark {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
}
