@charset "UTF-8";

/* FANCY OFFERS CSS */

.fancyOff {
    position: relative;
    display: flex;
    overflow: hidden;
    height: clamp(800px, 44.79vw, 860px );
    flex-direction: row;
    align-items: center;
}

section.fancyOff::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var( --fadeToWhite );
    z-index: 1;
}

section.fancyOff .offBg {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

section.fancyOff .offBg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fancyOff .offers-holder {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.offer-item {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 40px;
    width: fit-content;
}

.offer-item button.offTitle {
    position: relative;
    border-radius: 40px 40px 0 0;
    width: fit-content;
    padding: 24px 24px 24px 48px;
    display: flex;
    gap: 24px;
    background-color: transparent;
    z-index: 5;
}

.offer-item button.offTitle h3 {
    text-transform: none;
    font-family: var(--heading-font);
    letter-spacing: normal;
    margin-bottom: 0;
    color: #0B1F44;
}

.offer-item button.offTitle .bArr {
    transform: rotate( -45deg );
    transition: transform .5s linear;
}

.offer-item button.offTitle:hover .bArr {
    transform: rotate( 0 );
    transition: transform .5s linear;
}

.offer-item button.offTitle.active {
    padding: 48px 48px 0;
}

.offer-item button.offTitle.active .bArr {
    opacity: 0;
}

.offer-item .offContent.panel {
    display: flex !important;
    max-height: 0;
    max-width: 0;
    overflow: hidden;
    will-change: max-height, max-width;
    transition: all .3s ease;
}

.offContent p {
    margin-bottom: 24px;
    opacity: 0;
    will-change: opacity;
    transition: opacity 1s linear;
}

.offContent.show p {
    opacity: 1;
    transition: opacity 1s linear .5s;
}

.offer-item .offContent.panel.show {
    position: relative;
    padding: 16px 48px 48px;
    color: #0B1F44;
    display: flex !important;
    max-height: 500px;
    max-width: 50vw;
    transition: all .3s ease;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
}

.offer-item .offContent.panel .row.flex.arBtn {
    width: 100%;
    justify-items: end;
    justify-content: end;
}

.offer-item .offContent.panel .btn.btn-orange.ap {
    background-color: transparent;
    position: relative;
    padding: 0;
    margin: 0;
    display: none;
}

.offer-item .offContent.panel.show .btn.btn-orange.ap {
    display: block;
}

.offer-item .offContent .btn.btn-orange.ap .bArr {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.offer-item .offContent .btn.btn-orange.ap .bArr img {
    transform: rotate(0);
}

@media ( max-width: 1024px ) {
    .offer-item .offContent.panel.show {
        max-width: 100%
    }

    .fancyOff {
        height: fit-content;
        padding: 80px 0 119px;
    }

    .fancyOff .offers-holder {
        align-items: end;
    }
}

@media ( max-width: 567px ) {
    .offer-item button.offTitle h3 {
        font-size: 22px;
        line-height: 125%;
    }

    .offContent p {
        margin-bottom: 16px;
    }
}