/* ============================================================
   FelixChess — Figma Banner
   Hero with background image, eyebrow, title, subtitle, CTA
   ============================================================ */

.fc-banner--figma {
    --fc-banner-bg: #202020;
    --fc-banner-accent: #9de000;
    --fc-banner-text: #ffffff;
    --fc-banner-muted: rgba(255 255 255 / 0.92);
    --fc-banner-height: 627px;

    position: relative;
    min-height: var(--fc-banner-height);
    margin: 0;
    overflow: hidden;
    background: var(--fc-banner-bg);
    color: var(--fc-banner-text);
    border-radius: 0;
    isolation: isolate;
}

.fc-banner--figma .fc-banner__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fc-banner--figma .fc-banner__media picture,
.fc-banner--figma .fc-banner__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}

.fc-banner--figma .fc-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
            linear-gradient(
                    rgba(32 32 32 / 0.18),
                    rgba(32 32 32 / 0.18)
            );
}

.fc-banner--figma .fc-banner__body {
    position: relative;
    z-index: 2;
    min-height: var(--fc-banner-height);
    max-width: 1512px;
    margin-inline: auto;
    padding: 184px 109px 80px;
    display: block;
}

.fc-banner--figma .fc-banner__content {
    max-width: 720px;
    margin: 0;
    display: block;
    text-align: left;
    color: var(--fc-banner-text);
    animation: none;
}

.fc-banner--figma .fc-banner__eyebrow {
    margin: 0;
    color: var(--fc-banner-text);
    font-size: clamp(0.78rem, 1.05vw, 1rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.fc-banner--figma .fc-banner__accent-line {
    display: block;
    width: 45px;
    height: 3px;
    margin-top: 18px;
    margin-bottom: 18px;
    background: var(--fc-banner-accent);
}

.fc-banner--figma .fc-banner__title {
    margin: 0;
    color: var(--fc-banner-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.8rem, 8.45vw, 8rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0;
}

.fc-banner--figma .fc-banner__subline {
    max-width: none;
    margin-top: 34px;
    color: var(--fc-banner-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    font-weight: 400;
    line-height: 1.2;
}

.fc-banner--figma .fc-banner__actions {
    margin-top: 41px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 21px;
    animation: none;
}

.fc-banner--figma .fc-banner__cta {
    min-width: 145px;
    min-height: 41px;
    padding: 0 28px;
    border-radius: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.72rem, 1.05vw, 1rem);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
            background-color 180ms ease,
            color 180ms ease,
            border-color 180ms ease,
            transform 180ms ease;
}

.fc-banner--figma .fc-banner__cta--primary {
    background: var(--fc-banner-accent);
    border: 3px solid var(--fc-banner-accent);
    color: #202020;
    box-shadow: none;
}

.fc-banner--figma .fc-banner__cta--secondary {
    background: transparent;
    border: 3px solid var(--fc-banner-accent);
    color: var(--fc-banner-accent);
    backdrop-filter: none;
}

.fc-banner--figma .fc-banner__cta:hover,
.fc-banner--figma .fc-banner__cta:focus-visible {
    transform: translateY(-1px);
}

.fc-banner--figma .fc-banner__cta--primary:hover,
.fc-banner--figma .fc-banner__cta--primary:focus-visible {
    background: #b8ff28;
    border-color: #b8ff28;
    color: #202020;
    box-shadow: none;
}

.fc-banner--figma .fc-banner__cta--secondary:hover,
.fc-banner--figma .fc-banner__cta--secondary:focus-visible {
    background: var(--fc-banner-accent);
    border-color: var(--fc-banner-accent);
    color: #202020;
}

@media (max-width: 62em) {
    .fc-banner--figma {
        --fc-banner-height: 520px;
    }

    .fc-banner--figma .fc-banner__body {
        min-height: var(--fc-banner-height);
        padding: 110px 32px 60px;
    }

    .fc-banner--figma .fc-banner__title {
        font-size: clamp(3.2rem, 12vw, 5.5rem);
    }
}

@media (max-width: 47.99em) {
    .fc-banner--figma {
        --fc-banner-height: 480px;
    }

    .fc-banner--figma .fc-banner__overlay {
        background: rgba(32 32 32 / 0.48);
    }

    .fc-banner--figma .fc-banner__body {
        padding: 88px 22px 44px;
    }

    .fc-banner--figma .fc-banner__subline {
        margin-top: 24px;
    }

    .fc-banner--figma .fc-banner__actions {
        margin-top: 30px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .fc-banner--figma .fc-banner__cta {
        min-width: 132px;
        min-height: 38px;
        padding-inline: 20px;
    }
}