.offer__item > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer__item > svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    object-fit: cover;
}


.offer__item {
    position: relative;
    aspect-ratio: 1/1.3;
}

.offer__image-wrapper img {
    height: 45px;
    width: auto;
}
.swiper-button-disabled {
    display: none !important;
}
.offer__content-wrapper {
    position: relative;
    z-index: 5;
    height: calc(100% - 30px);
    padding: 20px;
}

.offer__item::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    opacity: 0.2;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 83.65%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%) black 100% / cover no-repeat;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.offer__icon-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: end;
}
.offer__icon-title-wrapper img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

a.offer__item-link {
    text-decoration: none;
    color: white;
}
h3.offer__title {
    font-weight: 500;
    margin: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    font-size: var(--font-size-h4);
    text-align: end;
}
span.offer__button {
    padding: 7px 10px;
    display: block;
    border: 1px solid white;
    width: fit-content;
}
.offer__text-button-wrapper {
    display: grid;
    gap: 10px;
}
.offer__content-wrapper {
    position: relative;
    z-index: 5;
    height: calc(100% - 30px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.offer__header-pagination-wrapper .global__header-wrapper {
    margin-bottom: 0;
}

.offer__header-pagination-wrapper {
    margin-bottom: var(--spacing-md);
}
.offer__header-pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.offer.block--custom.main-section {
    background-color: var(--color);
}
.offer__navigation > div {
    width: 45px;
    height: 45px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer span.swiper-pagination-bullet::after {
	border-bottom-color: var(--color);
}
.offer__navigation {
    display: flex;
    gap: 10px;
}
.offer__swiper-container {
    position: relative;
}
.offer__navigation {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
}
.swiper-button-disabled {
    opacity: 0.3;
}

@media screen and (max-width: 1600px){
    .offer__item > svg {
        width: 70px;
        height: 70px;
    }
}

.offer__pagination {
    display: flex;
    row-gap: 10px;
    justify-content: end;
}
.offer-bottom-pagination {
    display: none;
}
@media screen and (max-width: 1100px){
.offer-bottom-pagination{
    display: block;
    margin-top: 10px;
    width: 100%;
}
.offer-bottom-pagination span.swiper-pagination-bullet {
    width: 100%;
    flex: 1;
}
.offer-top-pagination {
    display: none;
}
.offer__pagination_bottom {
    display: flex;
    gap: 5px;
}
}

.offer__pagination_bottom span.swiper-pagination-bullet {
    margin: 0 !important;
}

.offer-swiper-button-prev {
    display: none !important;
}

.offer__navigation > div:hover {
    cursor: pointer;
}


.offer__swiper-container .swiper-slide img {
    animation: kenburns 8s ease-in-out infinite;
}

.offer-swiper:hover .swiper-slide {
    opacity: 0.4 !important;
}
.offer-swiper:hover .swiper-slide:hover {
    opacity: 1 !important;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    20% {
        transform: scale(1.05) translate(-2%, -1%);
    }
    40% {
        transform: scale(1.1) translate(-4%, -3%);
    }
    60% {
        transform: scale(1.12) translate(2%, 2%);
    }
    80% {
        transform: scale(1.08) translate(1%, 3%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.offer__item {
    overflow: hidden;
}
.offer__item svg path:nth-child(2) {
    fill: var(--color);
}

.offer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

@media screen and (min-width: 1100px){
    .offer__grid .offer__item {
        aspect-ratio: 1/0.7;
    }
}

@media screen and (max-width: 1500px){
    .offer__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }
}
@media screen and (max-width: 786px){
    .offer__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    .offer__grid .offer__item {
        aspect-ratio: unset;
    }
}

.offer__item svg {
    color: var(--color);
}

.offer__header-pagination-wrapper * {
    color: white;
}

h3.offer__mini-header.global__mini-header {
    color: white;
    opacity: 1;
}
h3.offer__mini-header.global__mini-header::before {
    background-color: white;
}

.global__header-wrapper {
    padding-left: 20px;
    border-left: 10px solid var(--color);
}

.offer.block--custom.main-section .global__header-wrapper {
    border-left: 5px solid white;
}
.offer__category-title {
    color: white;
    font-weight: 400;
    font-size: var(--font-size-h3);
    padding: 10px;
    border-bottom: 2px solid white;
}