/* Blog banner: Figma 3483:5084, 3485:5446, 3502:8777, 3485:5459. */
.blog-hero,
.blog-hero .hero__slide,
.blog-hero .hero__container {
    min-height: 660px;
}

.blog-hero__slides {
    display: grid;
}

.blog-hero .hero__slide {
    position: relative;
    grid-area: 1 / 1;
    background: var(--color-text);
}

.blog-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero .blog-hero__overlay {
    background: linear-gradient(90deg, rgb(0 0 0 / 11%), rgb(0 0 0 / 11%)),
        linear-gradient(118.487deg, rgb(0 0 0 / 59%) 39.882%, rgb(102 102 102 / 0%) 82.983%);
}

.blog-hero .hero__container {
    padding: 110px 72px;
}

.blog-hero .blog-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: min(540px, 100%);
    min-width: 0;
    overflow-wrap: anywhere;
}

.blog-hero .hero__title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
}

.blog-hero .hero__eyebrow {
    width: min(347px, 100%);
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
}

.blog-hero .blog-hero__button {
    width: min(204px, 100%);
    min-height: 47px;
    padding: 14px 4px;
    border: 1px solid var(--color-surface);
    border-radius: var(--radius);
    background: rgb(255 255 255 / 13%);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
}

.blog-hero .blog-hero__button:hover {
    background: rgb(255 255 255 / 24%);
}

.blog-hero .blog-hero__button:focus-visible,
.blog-hero .blog-hero__arrow:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 4px;
}

.blog-hero .blog-hero__arrow {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
}

.blog-hero .hero__counter {
    bottom: 38px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.blog-hero .hero__counter b {
    font-weight: 600;
}

.blog-hero .blog-hero__counter-line {
    position: relative;
    display: block;
    width: 61px;
    height: 2px;
    background: transparent;
}

.blog-hero__counter-highlight {
    position: absolute;
    top: 0;
    left: -0.5px;
}

@media (max-width: 900px) {
    .blog-hero,
    .blog-hero .hero__slide,
    .blog-hero .hero__container {
        min-height: 560px;
    }
}

@media (max-width: 620px) {
    .blog-hero,
    .blog-hero .hero__slide,
    .blog-hero .hero__container {
        min-height: 500px;
    }

    .blog-hero .hero__container {
        padding: 64px 0 128px;
    }

    .blog-hero .hero__title {
        font-size: 26px;
    }

    .blog-hero .hero__arrow {
        top: auto;
        bottom: 26px;
        transform: none;
    }

    .blog-hero .hero__arrow--prev {
        left: 0;
    }

    .blog-hero .hero__arrow--next {
        right: 0;
    }

    .blog-hero .hero__arrow:hover {
        transform: scale(1.04);
    }

    .blog-hero .hero__counter {
        bottom: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-hero .hero__slide {
        transition: none;
    }
}
