/* =========================================================
   Шоу-бэнд «Поющие официанты»
   ========================================================= */

.band-hero {
    position: relative;
    width: 100%;
    height: 800px;
    background:
        linear-gradient(90deg, var(--c-black) 7%, transparent 20%, transparent 80%, var(--c-black) 93%),
        url("../assets/showband/camera.webp"),
        url("../assets/scene/smoke.webp"),
        url("../assets/scene/div-bar.webp"),
        url("../assets/scene/form-left-curtain.webp"),
        url("../assets/scene/form-right-curtain.webp"),
        url("../assets/showband/stage.webp"),
        var(--c-ink);
    background-position: center, top left calc(25% - 100px), center, top -30px center, right calc(50% - 126px) center, right calc(50% - 216px) center, top 0 right calc(50% - 166px);
    background-size: auto, auto, cover, 1920px 72px, cover, cover, auto;
    background-repeat: no-repeat;
}

.band-hero__content {
    position: relative;
    top: calc(57% - 5px);
    left: calc(50% - 385px);
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 64px 16px;
    width: 471px;
    height: 105px;
    transform: translate(-50%, -50%);

    h1 {
        width: 100%;
        color: var(--c-white);
        font-family: var(--font-display);
        font-size: var(--text-3xl);
        font-weight: 700;
        line-height: var(--lh-3xl);
        text-transform: uppercase;
    }
}

.band-hero__gallery {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 12px 24px;
    border: none;
    background: none;
    color: var(--c-white-50);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    text-decoration: none;
    cursor: pointer;
}

.band-hero__gallery:hover {
    color: var(--c-white);
}


/* ---------- О шоу ---------- */

:root {
    /* Подвал идёт сразу за блоком «О шоу» */
    --footer-gap: 0px;
    --footer-gap-tablet: 0px;
    --footer-gap-mobile: 0px;
}

.band {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.band__divider {
    position: relative;
    top: -42px;
}

.band-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 20% auto;
    column-gap: 64px;
    width: 1200px;
    height: 576px;
    margin-top: 96px;

    p {
        color: #B4B5BB;
        font-size: var(--text-base);
        line-height: var(--lh-base);
    }
}

.band-about__title {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 50%;
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 400;
    line-height: var(--lh-3xl);
    text-transform: uppercase;
}

.band-about__text {
    display: flex;
    gap: 24px;

    > div {
        flex-basis: 50%;
        width: 50%;
        height: fit-content;
    }

    p {
        margin-bottom: 16px;
    }
}

.band-about__person {
    display: grid;
    grid-template-columns: 60px auto;
    grid-template-rows: auto auto;
    width: 100%;
    height: fit-content;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--c-line);

    img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        margin-top: 6px;
    }
}

.band-about__name {
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: var(--lh-3xl);
    text-transform: uppercase;
}

/* =========================================================
   Планшет и мобильный
   ========================================================= */

@media (max-width: 1279px) {
    .band-hero {
        height: 700px;
    }

    .band-hero__gallery {
        padding: 0 12px;
    }

    .band-about {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        margin-top: 100px;

        p { font-size: var(--text-sm); }
    }

    .band-about__title {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        margin-bottom: 32px;
        font-size: var(--text-xl);
    }

    .band-about__name {
        font-size: var(--text-xl);
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .band-hero__content {
        left: calc(50% - 100px);
    }

    .band-about {
        width: 736px;
        height: 387px;
    }
}

@media (max-width: 767px) {
    .band-hero {
        background:
            linear-gradient(90deg, var(--c-black) 7%, transparent 20%, transparent 80%, var(--c-black) 93%),
            url("../assets/scene/div-bar.webp"),
            url("../assets/showband/stage.webp"),
            var(--c-ink);
        background-position: center, top -30px center, top 0 center;
        background-size: auto, 1920px 72px, auto;
        background-repeat: no-repeat;
    }

    .band-hero__content {
        position: absolute;
        top: 60%;
        left: 16px;
        right: 16px;
        width: auto;
        height: auto;
        gap: 40px 8px;
        transform: none;
    }

    .band__divider {
        background-size: cover;
    }

    .band-about {
        width: auto;
        height: auto;
        margin-bottom: 64px;
        padding: 0 16px;
    }

    .band-about__text {
        margin-top: 24px;
    }
}

/* Кнопка «Назад» поверх первого экрана, под меню */
.back-link--hero {
    position: absolute;
    top: calc(var(--nav-height) + 16px);
    left: max(24px, (100% - 1200px) / 2);
    z-index: 2;
}

@media (max-width: 767px) {
    .back-link--hero {
        left: 16px;
    }
}
