

.custom-stories-cards .section-description {
    margin: 0 0 60px 0;
    max-width: 600px;
}

.custom-stories-cards .cards-container {
    display: flex;
    gap: 30px 20px;
}

.custom-stories-cards .carousel-card {
    width: 50%;
}

.cards-top {
    align-items: flex-start;
}

.cards-bottom {
    align-items: flex-end;
}

.custom-stories-cards .swiper-slide {
    margin-right: 36px;
}

.custom-stories-cards .carousel-card {
    display: flex;
    flex-direction: column;
}

.custom-stories-cards .carousel-card-img {
    height: 0;
    max-width: unset;
    padding-bottom: 80%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.custom-stories-cards .carousel-card img {
    border-radius: 12px;
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease-in-out;
}

.custom-stories-cards .carousel-card:hover .carousel-card img {
    transform: scale(1.1);
}

.custom-stories-cards .carousel-card .card-title svg {
    margin-right: 10px;
}

.custom-stories-cards .carousel-card .card-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.custom-stories-cards .carousel-card .card-description {
    margin: 0 0 16px 0;
    max-width: unset;
}

.custom-stories-cards .carousel-card .card-link {
    display: flex;
    align-items: flex-end;
}

.custom-stories-cards .card-socials {
    display: flex;
    gap: 10px;
    margin: 0;
}

.custom-stories-cards .carousel-card .card-link svg  {
    margin-left: 10px;
    width: 0;
    opacity: 0;
    transition: opacity 0.1s ease-in-out, width 0.1s ease-in-out;
}

.custom-stories-cards .carousel-card:hover .card-link svg  {
    margin-left: 10px;
    opacity: 1;
    width: 24px;
}

.custom-stories-cards .carousel-card .card-link  {
    margin-bottom: 10px;
}

@media ( max-width: 1200px ) {

    .custom-stories-cards .carousel-card-img {
        padding-bottom: 100%;
    }

}

@media ( max-width: 700px ) {
    .custom-stories-cards .cards-container {
        flex-wrap: wrap;
    }

    .custom-stories-cards .carousel-card {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }

    .custom-stories-cards .carousel-card-img {
        padding-bottom: 125%;
    }

    .custom-stories-cards .carousel-card:hover .card-link svg,
    .custom-stories-cards .carousel-card .card-link svg {
        margin-left: 6px;
        opacity: 1;
        width: 18px;
        height: 20px;
    }

    .custom-stories-cards .carousel-card .card-description {
        margin: 0 0 12px 0;
    }

    .custom-stories-cards .carousel-card .social-link svg {
        width: 32px;
        height: 32px;
    }


}
