.hero {
    margin-top: 12px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: auto 380px;
    column-gap: 25px;
}

.hero-banner {
    /* aspect-ratio: 985 / 586; */

    min-height: 586px;

    border-radius: 6px;

    background: #5C5D62;
    background: linear-gradient(0deg, rgba(92, 93, 98, 1) 0%, rgba(215, 216, 218, 1) 100%);
    background-image: url(../images/hero-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;

    padding: 40px;

    display: flex;
    flex-direction: column;
    justify-content: end;
}

.hero-banner__slogan {
    margin: 0 0 auto 0;

    background: rgba(255, 255, 255, 0.4);
    border-radius: 0 6px 6px 0;
    padding: 6px 16px;
    border-left: 3px solid #911504;

    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.01em;
    width: fit-content;
}

.hero-banner__header {
    font-weight: 500;

    font-size: 4.2cqw;
    line-height: 4.5cqw; 

    letter-spacing: -0.04em;
    color: #fff;
}

.hero-banner__text {
    color: #fff;    
    font-size: 16px;
    line-height: 21px;

    width: 80%;
}

.hero-banner__text p {
    margin: 15px 0;
}

.hero-banner__btns {
    display: flex;
    column-gap: 15px;
}

.btn-white {
    background: #fff;

    border-radius: 4px;
    padding: 0 24px;

    text-align: center;

    font-size: 16px;
    color: #911504;
    white-space: nowrap;

    text-decoration: none;

    display: flex;
    align-items: center;
    height: 60px;
}

.btn-white:hover, .btn-white:focus, .btn-white:active {
    opacity: 0.8;
}

.btn-transparent-blur {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0 24px;

    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);

    font-size: 16px;
    color: #fff;
    white-space: nowrap;

    text-decoration: none;

    display: flex;
    align-items: center;
    column-gap: 10px;

    height: 60px;
}

.btn-transparent-blur:hover, .btn-transparent-blur:focus, .btn-transparent-blur:active {
    opacity: 0.8;
}

.btn-transparent-blur::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;

    background-image: url(../icons/pdf.png);
    background-repeat: no-repeat;
    background-size: contain;

}

.hero-slider {
    background: #f2f2f2;
    border-radius: 6px;
    padding: 15px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#js-hero-slider {
    width: 100%;
    height: 91%;
}

#js-hero-slider-pagination {
    position: relative;
}

#js-hero-slider-pagination .swiper-pagination-bullet {
    border: 1px solid #000;
    opacity: 1;
    background: transparent;
}

#js-hero-slider-pagination .swiper-pagination-bullet-active {
    background: #000;
}
/* 
.hero-slider .swiper-wrapper {
    height: 91%;
} */

.hero-slide-item {
    /* display: grid !important;
    grid-template-rows: auto 20% 20%; */

    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.hero-slide-item .image {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;

    aspect-ratio: 350 / 404;
    width: 100%;
    height: auto;

    display: flex;
    /* align-items: center; */
}

.hero-slide-item .image a {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

.hero-slide-item .image img {
    display: block;
    max-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: center;

    margin: 0 auto;
}

.hero-slide-item .name {
    font-size: 24px;
    line-height: 27px;
    text-align: center;

    display: -webkit-box; /* Required for line-clamp in older WebKit browsers */
    line-clamp: 2;
    -webkit-line-clamp: 2; /* Limits to 2 lines */
    -webkit-box-orient: vertical; /* Required for line-clamp */
    overflow: hidden; /* Hides overflowing content */
    text-overflow: ellipsis; /* Adds ellipsis if text overflows */
}

.hero-slide-item .name a, .hero-slide-item .name a:visited {
    text-decoration: none;
}

.hero-slide-item .name a:hover, .hero-slide-item .name a:focus, .hero-slide-item .name a:active {
    text-decoration: underline;
}

.hero-slide-item .price {
    font-size: 14px;
    text-align: center;
}

.hero-slide-item .price s {
    opacity: 0.6;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .hero-slider {
        display: none;
    }

    .hero-wrapper {
        grid-template-columns: auto;
    }
}

@media (max-width: 767px) {
    .hero-banner {
        min-height: auto;
    }

    .hero-banner__slogan {
        font-size: 15px;
    }

    .hero-banner__header {
        font-size: 6.2cqw;
        line-height: 6.5cqw;
    }

    .hero-banner__btns {
        flex-wrap: wrap;
        row-gap: 15px;
    }

    .btn-white, .btn-transparent-blur {
        height: 40px;
    }

}

@media (max-width: 575px) {
    .hero-banner {
        padding: 13px;
    }

    .hero-banner__slogan {
        font-size: 12px;
    }
}