/* Shared inner-page hero and content primitives. */

/* Shared inner-page hero with the arena photograph from the original design. */
.bkbasketbol-main-content.bk-has-page-hero {
    padding-top: 0 !important;
}

.bk-page-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 292px;
    padding: 54px 0 58px;
    background-image:
        linear-gradient(90deg, rgba(10, 10, 27, .89) 0%, rgba(19, 19, 52, .80) 55%, rgba(38, 34, 101, .72) 100%),
        url('/assets/front/content/extra-images/IMG_1337.jpg');
    background-image:
        linear-gradient(90deg, rgba(10, 10, 27, .89) 0%, rgba(19, 19, 52, .80) 55%, rgba(38, 34, 101, .72) 100%),
        image-set(
            url('/assets/front/content/extra-images/IMG_1337-1920.webp') type('image/webp'),
            url('/assets/front/content/extra-images/IMG_1337.jpg') type('image/jpeg')
        );
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.bk-page-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: #ed1c24;
}

.bk-page-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bk-page-hero__inner::before,
.bk-page-hero__inner::after {
    display: none;
}

.bk-page-hero__content {
    min-width: 0;
    max-width: 850px;
    padding-left: 24px;
    border-left: 4px solid #ed1c24;
}

.bk-page-hero__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #ff3340;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.bk-page-hero h1 {
    margin: 0;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(42px, 5.4vw, 74px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.bk-page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.bk-page-hero__meta time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .78);
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.bk-page-hero__meta time i {
    color: #ed1c24;
    font-size: 14px;
}

.bk-page-hero__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: #fff;
    background: rgba(38, 34, 101, .72);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

/* The oversized header logo hangs below the navigation bar. Keep detail hero
   copy clear of that overlap while preserving the hero's existing height. */
.bk-news-detail-page .bk-page-hero__content,
.bk-gallery-detail-page .bk-page-hero__content {
    flex: 1 1 auto;
    max-width: none;
    transform: translateY(24px);
}

.bk-news-detail-page .bk-page-hero__inner,
.bk-gallery-detail-page .bk-page-hero__inner {
    width: calc(100% - 48px);
    max-width: 1160px;
    gap: 24px;
}

/* Oswald is the shared display face used throughout the club UI. Its tall
   Turkish glyphs need a little extra leading at hero sizes so descenders and
   accents never meet the next line. */
.bk-news-detail-page .bk-page-hero h1,
.bk-gallery-detail-page .bk-page-hero h1 {
    line-height: 1.12;
    letter-spacing: -.012em;
}

/* Album names vary from a short event label to a full fixture description.
   Keep short names emphatic while progressively reducing long titles. */
.bk-gallery-detail-page .bk-page-hero h1.bk-page-title--medium {
    font-size: clamp(38px, 4.6vw, 64px);
    text-wrap: balance;
}

.bk-gallery-detail-page .bk-page-hero h1.bk-page-title--long {
    font-size: clamp(34px, 3.8vw, 54px);
    text-wrap: balance;
}

.bk-gallery-detail-page .bk-page-hero h1.bk-page-title--xlong {
    font-size: clamp(30px, 3.2vw, 46px);
    text-wrap: balance;
}

.bk-page-hero__action:hover,
.bk-page-hero__action:focus {
    border-color: #ed1c24;
    color: #fff;
    background: #ed1c24;
    transform: translateY(-2px);
}

.bk-page-hero__mark {
    position: relative;
    display: flex;
    width: 132px;
    height: 132px;
    flex: 0 0 132px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 34px;
    color: #fff;
    background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .16), transparent 38%), linear-gradient(145deg, #ed1c24, #990d14);
    box-shadow: 0 24px 62px rgba(116, 7, 14, .34);
    transform: rotate(4deg);
}

.bk-page-hero__mark::after {
    position: absolute;
    inset: 9px;
    content: '';
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 26px;
}

.bk-page-hero__mark i {
    position: relative;
    z-index: 1;
    font-size: 44px;
    transform: rotate(-4deg);
}

@media (max-width: 767px) {
    .bk-page-hero {
        min-height: 220px;
        padding: 38px 0 44px;
        background-image:
            linear-gradient(90deg, rgba(10, 10, 27, .98) 0%, rgba(19, 19, 52, .80) 55%, rgba(38, 34, 101, .60) 100%),
            url('/assets/front/content/extra-images/IMG_1337.jpg') !important;
        background-image:
            linear-gradient(90deg, rgba(10, 10, 27, .98) 0%, rgba(19, 19, 52, .80) 55%, rgba(38, 34, 101, .60) 100%),
            image-set(
                url('/assets/front/content/extra-images/IMG_1337-1920.webp') type('image/webp'),
                url('/assets/front/content/extra-images/IMG_1337.jpg') type('image/jpeg')
            ) !important;
    }

    .bk-page-hero__inner {
        gap: 16px;
    }

    .bk-page-hero__content {
        padding-left: 16px;
        border-left-width: 3px;
    }

    .bk-page-hero h1 {
        font-size: clamp(34px, 9vw, 48px);
    }

    .bk-page-hero__meta {
        gap: 10px;
        margin-top: 16px;
    }

    .bk-page-hero__action {
        min-height: 38px;
        padding: 8px 13px;
    }

    .bk-news-detail-page .bk-page-hero__content,
    .bk-gallery-detail-page .bk-page-hero__content {
        transform: translateY(14px);
    }

    .bk-gallery-detail-page .bk-page-hero h1.bk-page-title--medium {
        font-size: clamp(30px, 8vw, 42px);
    }

    .bk-gallery-detail-page .bk-page-hero h1.bk-page-title--long {
        font-size: clamp(27px, 7.2vw, 38px);
    }

    .bk-gallery-detail-page .bk-page-hero h1.bk-page-title--xlong {
        font-size: clamp(24px, 6.5vw, 34px);
    }

    .bk-page-hero__mark {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
        border-radius: 20px;
    }

    .bk-page-hero__mark::after {
        inset: 6px;
        border-radius: 15px;
    }

    .bk-page-hero__mark i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .bk-page-hero__mark {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .bk-page-hero__mark i {
        font-size: 23px;
    }
}
