/*
 * Blaupunkt 2026 homepage / Television category banner.
 * Self-contained CSS-compatible SCSS module: no mixins or dependencies.
 * All rules scoped to .bp-television to avoid affecting existing theme.
 */
.bp-television,
.bp-television *,
.bp-television *::before,
.bp-television *::after {
    box-sizing: border-box;
}

.bp-television {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    aspect-ratio: 2007 / 783;
    overflow: hidden;
    margin: 0;
    background: #cdd1d1;
    font-family: 'Roboto', Arial, sans-serif;
}

.bp-television__picture,
.bp-television__image {
    display: block;
    width: 100%;
    height: 100%;
}

.bp-television__picture {
    position: absolute;
    inset: 0;
}

.bp-television__image {
    object-fit: cover;
    object-position: center center;
}

.bp-television__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}

.bp-television__link {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: clamp(13px, 1.1vw, 23px);
    max-width: 92%;
    margin-left: 5%;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    pointer-events: auto;
    transform: translate(0, -1%);
}

.bp-television__title {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: clamp(30px, 3.2vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 16px rgba(0, 0, 0, .30);
}

.bp-television__link:hover,
.bp-television__link:focus,
.bp-television__link:visited {
    color: #fff;
    text-decoration: none;
}

.bp-television__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(38px, 2.6vw, 50px);
    height: clamp(38px, 2.6vw, 50px);
    flex: 0 0 auto;
    background: #ffbf23;
    color: #0b1114;
    border-radius: 50%;
    transition: transform .22s ease, background-color .22s ease;
}

.bp-television__link:hover .bp-television__arrow,
.bp-television__link:focus-visible .bp-television__arrow {
    transform: translateX(5px);
    background: #ffd04a;
}

.bp-television__link:focus-visible {
    outline: 3px solid #007dad;
    outline-offset: 4px;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .bp-television {
        aspect-ratio: 1030 / 775;
        min-height: 260px;
    }

    .bp-television__image {
        object-position: 50% 50%;
    }

    .bp-television__overlay {
        padding: 12px;
    }

    .bp-television__link {
        gap: 15px;
        margin-left: 0;
        transform: translateY(-2%);
        padding: 10px 12px;
    }

    .bp-television__title {
        font-size: clamp(29px, 7.8vw, 42px);
        line-height: 1.12;
        text-shadow: 0 2px 11px rgba(0, 0, 0, .22);
    }

    .bp-television__arrow {
        width: 40px;
        height: 40px;
    }
    .bp-television__arrow svg {
        width: 24px;
        height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-television__arrow { transition: none; }
}
