/* Horní text banneru */
.extended-banner-title {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    font-weight: bold;
    font-family: Montserrat, sans-serif;
}

/* Spodní text banneru */
.extended-banner-text {
    font-size: 35px;
    font-weight: bold;
    font-family: Montserrat, sans-serif;
}

/* Banner podbarvení tlačítka */
.banner-wrapper .extended-banner-texts .extended-banner-link {
    background-color: #161617b3;
}

.benefitBanner__picture {
    max-width: 25%;
}

.benefitBanner__data {
    width: 230px;
}

.latest-contribution-product {
    font-size: 1.3em;
}

.banner-wrapper a {
    position: relative;
    display: block;
}

.banner-wrapper a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, #d66344cc, transparent);
    z-index: 1;
    pointer-events: none;
}

.banner-wrapper .extended-banner-texts {
    position: absolute;
    z-index: 2;
}

@media (max-width: 767px) {
    a.extended-empty .extended-banner-texts {
        display: none !important;
    }
}

#carousel .item a {
    display: block;
}

@media (min-width: 768px) {
    #carousel .item a {
        position: relative;
    }

    #carousel .item a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #d66344cc 0%, transparent 50%);
        z-index: 1;
        pointer-events: none;
    }

    #carousel .item .extended-banner-texts {
        position: absolute;
        z-index: 2;
    }

    #carousel .item .extended-banner-texts .extended-banner-link {
        background-color: #161617b3;
    }

    #carousel .item .extended-banner-texts .extended-banner-link:hover {
        background-color: var(--color-primary-hover);
    }
}

@media (max-width: 1200px) {
    #carousel .item a::before {
        width: 100% !important;
    }
}

/* --- BENEFITY --- */
/* --- Hlavní kontejner --- */
.benefitBanner {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    margin: 40px 0 !important;
    width: 100% !important;
    border: none !important;
}

/* --- Jednotlivý benefit --- */
.benefitBanner__item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.benefitBanner__item::after,
.benefitBanner__item::before {
    display: none !important;
}

.benefitBanner__picture {
    flex: 0 0 40px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.benefitBanner__img {
    width: 100% !important;
    height: auto !important;
}

/* --- Obal textu --- */
.benefitBanner__content {
    display: block !important;
    text-align: left !important;
    word-break: normal !important;
    padding: 0 !important;
}

/* --- Texty --- */
.benefitBanner__title {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
    word-break: normal !important;
}

.benefitBanner__data {
    font-size: 12px !important;
    line-height: 1.3 !important;
    word-break: normal !important;
}

/* --- RESPONZIVITA --- */
@media (max-width: 1100px) {
    .benefitBanner {
        grid-template-columns: repeat(2, 1fr) !important;
        row-gap: 25px !important;
    }
}

@media (max-width: 576px) {
    .benefitBanner {
        grid-template-columns: 1fr !important;
    }
}