.section-slider-posts {
    margin-bottom: 50px;
    margin-top: 24px;
}

.section-slider-posts .swiper-section-slider-posts-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 10px;
}

.section-slider-posts .swiper-section-slider-posts-btn {
    margin-top: 10px;
}

.section-slider-posts .container {
    padding-right: 0;
}

.section-slider-posts .swiper-section-slider-posts .swiper-slide {
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: space-between;
}

.section-slider-posts .swiper-section-slider-posts-img img {
    object-fit: cover;
    object-position: center;
    min-height: 275px;
    border-radius: 8px;
    width: 100%;
    display: flex;
}

.section-slider-posts .swiper-section-slider-posts-title {
    font-weight: 700;
    font-size: calc(1.2rem * var(--font-scale));
    line-height: 160%;
    letter-spacing: 0.2px;
    text-align: center;
    vertical-align: middle;
    color: #F5F5F3;
}

.section-slider-posts .post-btn {
    background-color: #C5A178;
}

.section-slider-posts .swiper-section-slider-posts-title h3 {
    font-weight: 600;
    font-size: calc(1.8rem * var(--font-scale));
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #212121;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    /* margin-top: 10px; */
}

.section-slider-posts .post-btn {
    background: #c5a178;
    width: 100%;
    margin: 0;
    margin-top: 10px;
    font-weight: 700;
    font-size: calc(1.2rem * var(--font-scale));
    line-height: 160%;
    letter-spacing: 0.2px;
    text-align: center;
    vertical-align: middle;
    color: #F5F5F3;
    transition: 0.3s ease;
}

.section-slider-posts .post-btn:hover {
    color: #212121;
}

.section-slider-posts .post-btn svg path {
    transition: 0.3s ease;
}

.section-slider-posts .post-btn:hover svg path {
    fill: #212121;
}

.section-slider-posts .swiper-section-slider-posts-img {
    overflow: hidden;
    border-radius: 8px;
}

.section-slider-posts .swiper-section-slider-posts-img img {
    transition: transform 0.4s ease;
    display: block;
    width: 100%;
    height: auto;

}

.section-slider-posts .swiper-section-slider-posts-img:hover img {
    transform: scale(1.05);
}

.contrast-yellow-black .section-slider-posts .post-btn {
    background: var(--wcag-black);
    color: var(--wcag-yellow);
}

.contrast-yellow-black .section-slider-posts .section-header h2 {
    color: var(--wcag-black);
}

.contrast-yellow-black .section-slider-posts .swiper-section-slider-posts-title h3 {
    color: var(--wcag-black);
}

.contrast-yellow-black .section-slider-posts .post-btn svg path {
    fill: var(--wcag-yellow);
}

.contrast-black-yellow .section-slider-posts .post-btn {
    background: var(--wcag-yellow);
    color: var(--wcag-black);
}

.contrast-black-yellow .section-slider-posts .section-header h2 {
    color: var(--wcag-yellow);
}

.contrast-black-yellow .section-slider-posts .swiper-section-slider-posts-title h3 {
    color: var(--wcag-yellow);
}

.contrast-black-yellow .section-slider-posts .post-btn svg path {
    fill: var(--wcag-black);
}

@media (min-width: 768px) {
    .section-slider-posts {
        margin-top: 48px;
    }
}

@media (min-width: 1200px) {
    .section-slider-posts {
        margin-top: 72px;
    }
}

@media (min-width: 1600px) {
    .section-slider-posts .container {
        padding-right: 24px;
    }
}