.homepage-hero {
    width: 100%;
}

.homepage-hero__stage {
    position: relative;
    width: 100%;
    height: clamp(30rem, 70vh, 40.75rem);
    height: clamp(30rem, 70svh, 40.75rem);
    overflow: hidden;
}

.homepage-hero__teasers {
    position: relative;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: calc(100% - 2rem);
    margin: clamp(-5rem, -15vw, -3rem) auto 0;
}

.homepage-hero__card {
    min-width: 0;
    padding: 1.25rem;
    overflow-wrap: anywhere;
}

.homepage-hero__card-title {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
    line-height: 1.25;
}

.homepage-hero__card-topic {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.homepage-hero__card-detail {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.homepage-hero__card-detail i {
    flex: 0 0 auto;
    margin-top: 0.25rem;
}

.hero-slider__attribution {
    position: absolute;
    bottom: clamp(6rem, calc(15vw + 3rem), 8rem);
    left: 50%;
    z-index: 20;
    display: block;
    max-width: calc(100% - 2rem);
    transform: translateX(-50%);
}

.hero-slider__attribution > a {
    max-width: 100%;
    background: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
}

.hero-slider__attribution span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-slider__attribution > a:hover {
    background: rgba(0, 0, 0, 0.75);
}

.hero-slider__pagination {
    position: absolute;
    bottom: clamp(3rem, 15vw, 5rem);
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transform: translateX(-50%);
    margin-bottom: 0.5rem;
}

.hero-slider__pagination .hero-slider__bullet {
    width: 0.75rem !important;
    height: 0.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.35);
}

.hero-slider__pagination .hero-slider__bullet:hover,
.hero-slider__pagination .hero-slider__bullet:focus-visible {
    background: #fff !important;
}

.hero-slider__pagination .hero-slider__bullet.glide__bullet--active {
    border-color: #fff !important;
    background: #426e5d !important;
}

@media (min-width: 768px) {
    .homepage-hero__stage {
        height: 40.75rem;
    }

    .homepage-hero__teasers {
        width: 83vw;
        max-width: 100rem;
        margin-top: clamp(-5rem, -6vw, -3rem);
    }

    .hero-slider__attribution {
        bottom: clamp(7rem, 10vw, 9rem);
    }

    .hero-slider__pagination {
        bottom: clamp(4rem, 6vw, 5rem);
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .homepage-hero__teasers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }

    .homepage-hero__card {
        padding: clamp(1.25rem, 2vw, 2rem);
    }

    .homepage-hero__card-title {
        margin-bottom: 1rem;
        font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    }

    .homepage-hero__card-topic {
        margin-bottom: 1.5rem;
        font-size: 1.125rem;
    }

    .homepage-hero__card-detail {
        font-size: 1.125rem;
    }
}
