/*List*/
.posts-block.style-offers {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.posts-block.style-offers .offer {
    padding: 30px;
    border-radius: 25px !important;
    background-color: #213b8f2e !important;
    color: var(--color-dark);
}

.posts-block.style-offers .offer .post-title {
    font-size: 1.5rem !important;
    line-height: 1;
    font-weight: 700;
    color: var(--color-primary) !important;
}

/*Responsive*/
@media screen and (max-width: 1024px) {
    .posts-block.style-offers {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .posts-block.style-offers {
        grid-template-columns: 1fr;
    }

    .posts-block.style-offers .offer {
        padding: 20px;
    }
}

/*Single*/

.single-offers {
    overflow-y: visible;
}

.single-offers .banner-offers-single {
    display: grid;
    padding: 220px 0 100px 0;
    color: var(--color-light);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.single-offers .banner-offers-single .container-xxl::before,
.single-offers .banner-offers-single .container-xxl::after {
    content: url('/wp-content/uploads/2025/03/round-footer.png');
    width: 100px;
    height: auto;
    position: absolute;
    z-index: -1;
}

.single-offers .banner-offers-single .container-xxl::before {
    left: -1%;
    transform: rotate(-90deg);
    animation: flotter-x 3s ease-in-out infinite;
}

.single-offers .banner-offers-single .container-xxl::after {
    bottom: 0;
    right: 5%;
    transform: rotate(180deg);
    animation: flotter-y 3s ease-in-out infinite;
}

.single-offers .banner-offers-single::after {
    background: var(--color-primary);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.single-offers .banner-offers-single .container-xxl {
    z-index: 49;
    width: 100%;
    display: grid;
    gap: 10px;
}

.single-offers .content-single {
    display: flex;
    gap: 4rem;
    padding-top: 80px;
}

.single-offers .content-single .content,
.single-offers .content-single .card-form {
    width: 100%;
}

.single-offers .content-single .card-form {
    max-width: 400px !important;
}

.single-offers .content-single .card-form>.wp-block-tlm-theme-section {
    position: sticky;
    z-index: 1;
    top: 12rem;
}

.single-offers .content-single .content .back {
    margin-bottom: 1rem !important;
}

.single-offers .content-single .content h2 {
    color: var(--color-primary) !important;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 1rem !important;
}

.single-offers .content-single .content p:has(img.alignright) {
    text-align: right;
}

.single-offers .content-single .content p:has(img.aligncenter) {
    text-align: center;
}

/*Responsive*/

@media screen and (max-width: 1400px) {
    .single-offers .banner-offers-single {
        padding: 160px 10px !important;
    }
}

@media screen and (max-width: 1340px) {
    .single-offers .banner-offers-single {
        padding: 160px 10px 60px 10px !important;
    }

    .single-offers .content-single {
        margin-inline: 2rem !important;
    }
}

@media screen and (max-width: 1024px) {
    .single-offers .content-single {
        padding-top: 40px;
        flex-direction: column;
        gap: 2rem;
    }

    .single-offers .content-single .card-form {
        max-width: 100% !important;
    }

    .single-offers .content-single .content h2 {
        font-size: 25px;
        line-height: 25px;
    }
}

@media screen and (max-width: 768px) {
    .single-offers .banner-offers-single {
        padding: 120px 10px 60px 10px !important;
    }

    .single-offers .content-single {
        margin-inline: 1rem !important;
    }

    .single-offers .banner-offers-single .container-xxl::before {
        left: -4%;
    }
}