/* Main hero */
.main-hero-card{
    position: relative;
    height: 97vh;
    min-height: min(600px, 97vh);
    width: 100%;

    display: flex;
}

.main-hero-bg{
    position: absolute;
    top: 0;
    left:0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.main-hero-bg video,.main-hero-bg img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main-hero-card-content{

    height: 100%;
    color:var(--light);
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space);
    z-index: 2;
    flex: 1;
    background-color: rgba(0, 0, 0, .3);
}



.main-hero-card-content-title img{
    display: block;
    height: 150px;

    object-fit: contain;
    object-position: center;

}

.artist-month {
    display: flex;
    flex-direction: column;
}

.artist-month-label {
    color: var(--highlight);
    margin-bottom: 4px;
}

.artist-month h1{
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.btn-bulletin {
    background-color: var(--dark2) !important;
    font-weight: normal !important;
}



.hero-carrousel{
    display: flex;
    flex-direction: column-reverse;
    z-index: 2;
    padding: var(--space) var(--space) var(--space) 0;
    color:var(--light);
    background-color: rgba(0, 0, 0, .3);
    max-width: 400px;
}


/* Hero cards Container */
.hero-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    background-color: var(--dark2);
}

/* Hero cards */
.hero-card {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    background-color: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space);
    z-index: 1;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.bg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-card .bg img {
    object-position: top center;
}

/* Dark overlay for readability */
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent, rgba(0,0,0,0.7));
    z-index: 3;
}

.hero-card-content {
    position: relative;
    z-index: 4;
    height: 100%;
    color: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card-content-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-content-title img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.hero-card-content-title span {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-card-footer {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-card-footer h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
    line-height: 1.1;
}

.hero-card-footer p {
    font-size: 0.9rem;
    margin: 0 0 8px 0;
    opacity: 0.8;
}

@media (max-width: 1100px) {
    /* Main hero */
        /* Main hero */
    .main-hero-card {
        --hero-h: calc(100vh - 80px - env(safe-area-inset-bottom, 0px) - 3vh);
        height: auto;
        flex-direction: column;
        background-color: var(--dark);
    }

    @supports (height: 100dvh) {
        .main-hero-card {
            --hero-h: calc(100dvh - 80px - env(safe-area-inset-bottom, 0px) - 3vh);
        }
    }

    .main-hero-bg {
        height: var(--hero-h);
        min-height: min(500px, var(--hero-h));
    }

    .main-hero-card-content {
        box-sizing: border-box;
        height: auto;
        min-height: var(--hero-h);
        justify-content: space-between;
    }


    .hero-card {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: auto;
        flex-direction: column;
        background-color: var(--dark);
        gap: 8px;
    }

    .hero-card-content {
        height: 100%;
        padding-bottom: 0;
        position: relative;
        z-index: 4;
    }

    .hero-card-content section {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .artist-month h1 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }

    .artist-month {
        align-items: flex-end;
    }

    .hero-bio {
        padding-top: 0;
        box-shadow: none;
        position: relative;
        z-index: 1;
    }

    .hero-bio section {
        width: 100%;
        padding: 8px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-bio section h2 {
        display: none;
    }

    .hero-carrousel {
        max-width: none;
        background-color: var(--light);
        padding: 8px;
    }

    .hero-carrousel .carousel-item h3,
    .hero-carrousel .carousel-country {
        color: #1a1a1a;
        text-shadow: none;
    }
}

@media (max-width: 768px) {
    .hero-card {
        aspect-ratio: auto;
        min-height: 240px;
    }

    .hero-card-content {
        height: auto;
        min-height: 220px;
    }
}