.eya-double-post-carousel {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media screen and (min-width: 768px) {
    .eya-double-post-carousel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.eya-double-carousel-header {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding: 32px 16px;
}
@media (min-width:768px)  {
    .eya-double-carousel-header {
        padding: 0;
    }
}

.eya-double-carousel-title {
    width: fit-content;
}

.eya-double-carousel-slider {
    width: 100%;
}

.eya-double-carousel-slider-container {
    display: flex;
    flex-direction: column;
}
@media screen and (min-width: 1024px) {
    .eya-double-carousel-slider-container {
        display: grid;
        grid-template-columns: 50% 50%;
    }
}

@media (min-width: 768px) {
    .eya-double-carousel-slider-second {
        display: block;
    }
}

.eya-double-post-carousel .swiper-wrapper {
    flex-direction: row;
    transition-timing-function: linear;
    transition-property: transform;
}
@media (min-width: 768px) {
    .eya-double-post-carousel .swiper-wrapper {
        flex-direction: column;
        padding: 0 10px;
        width: calc(100% - 10px);
    }
}

.eya-double-carousel-slider[data-paused-translate] .swiper-wrapper {
    transition: none !important;
}

.eya-carousel-item {
    height: auto;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #D0D5DD;
}
@media (min-width: 768px) {
    .eya-carousel-item {
        width: calc(100% - 20px);
    }
}

.eya-carousel-item:hover {
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
}

.eya-carousel-item-image {
    display: flex;
    align-items:center;
    overflow: hidden;
    position: relative;
    margin: 16px;
    border-radius: 16px;
}

.eya-carousel-item-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.eya-carousel-item-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.eya-carousel-item:hover .eya-carousel-item-image img {
    transform: scale(1.05);
}

.eya-carousel-item-content {
    padding: 15px;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.eya-carousel-item-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.eya-carousel-item-title a {
    text-decoration: none;
    color: inherit;
}

.eya-carousel-item-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #777;
    margin-bottom: 0;
}

.eya-double-carousel-button-container {
    margin-top: 20px;
}

.eya-double-carousel-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4054b2;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.eya-double-carousel-button:hover {
    background-color: #3448a0;
    transform: translateY(-2px);
}