/* ------- START section difference ------- */
.video-cards-section-v1 {
    background-color: var(--section-bg-color, #F1F1F1);
    color: var(--intro-text-color, #3F4543);
    padding: 0;
}

.video-cards-section-v1 .media-cards-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: clamp(20px, 5.128205128205128dvw, 80px);
    padding-right: clamp(20px, 5.128205128205128dvw, 80px);
    padding-top: clamp(40px, 10.256410256410255dvw, 60px);
    padding-bottom: clamp(40px, 10.256410256410255dvw, 60px);
}

.video-cards-section-v1 .info {
    max-width: 820px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5em;
    text-align: center;
}

.video-cards-section-v1 .info .title {
    margin: 0;
    padding-top: 0;
    padding-bottom: clamp(16px, 4.102564102564102dvw, 20px);
    color: var(--section-title-color, var(--primary-color));
}

.video-cards-section-v1 .info .text p {
    font-size: 18px;
    margin: 0;
    padding-bottom: clamp(22px, 5.641025641025641dvw, 24px);
}

.video-cards-section-v1 .media-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
}

.video-cards-section-v1 .media-list>div:nth-of-type(1) {
    transform: rotate(-6deg);
}

.video-cards-section-v1 .media-list>div:nth-of-type(2) {
    transform: rotate(6deg);
}

.video-cards-section-v1 .media-list>div:nth-of-type(3) {
    transform: rotate(-6deg);
}

@media (min-width: 1024px) {
    .video-cards-section-v1 .media-list {
        flex-direction: row;
    }

    .video-cards-section-v1 .media-list>div:nth-of-type(1) {
        transform: rotate(-6deg) translateY(24px);
    }

    .video-cards-section-v1 .media-list>div:nth-of-type(2) {
        transform: translateY(0);
    }

    .video-cards-section-v1 .media-list>div:nth-of-type(3) {
        transform: rotate(6deg) translateY(24px);
    }
}

.video-cards-section-v1 .card {
    color: var(--card-text-color, #fff);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: clamp(294px, 75.38461538461539dvw, 372px);
    height: clamp(483px, 123.84615384615385dvw, 597px);

    &:hover,
    &:focus {
        .image img {
            transform: scale(1.1);
        }
    }
}

.video-cards-section-v1 .card .title {
    margin-left: clamp(20px, 5.128205128205128dvw, 24px);
    margin-right: clamp(20px, 5.128205128205128dvw, 24px);
    text-align: center;
    font-weight: 500;
    font-size: 1.5em;
    color: var(--bottom-title-color, #000);
}

.video-cards-section-v1 .card .image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    margin-left: clamp(20px, 5.128205128205128dvw, 24px);
    width: clamp(252px, 64.61538461538461dvw, 321px);


    & img {
        height: clamp(396px, 101.53846153846153dvw, 505px);
        width: 100%;
        object-fit: cover;
        transition: all .35s ease-in-out;
    }
}

.video-cards-section-v1 .card .image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, #1D1D1D 0%, #00000000 50%);
    transition: all .35s ease-in-out;
}
.video-cards-section-v1 .card:hover .image:after {
    background: linear-gradient(0deg, #1D1D1D 0%, #00000000 90%);
}
.video-cards-section-v1 .card .details {
    position: absolute;
    bottom: 0;
    transform: translateY(-120px);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all .35s ease-in-out;

    .h4 {
        margin-bottom: .25em;
    }
}
.video-cards-section-v1 .card:hover .details {
    gap: 0.5rem;
}
.video-cards-section-v1 .card .details h3,
.video-cards-section-v1 .card .details p {
    margin: 0;
    padding: 0;
    color: currentColor;
    line-height: 1.3;
}

.video-cards-section-v1 .card .details p {
    display: block;
    padding-right: clamp(32px, 8.205128205128204dvw, 36px);
}

@media (min-width: 1024px) {
    .video-cards-section-v1 .card .details p {
        max-height: 0px;
        overflow: hidden;
        transition: all .35s ease-in-out;
    }

    .video-cards-section-v1 .card:hover .details p,
    .video-cards-section-v1 .card:focus-within .details p {
        max-height: 500px;
    }
}

.video-cards-section-v1 .card .details .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--icon-bg-color, var(--primary-color));
    color: var(--icon-color, var(--primary-color-contrast));
    border-radius: 100%;
    padding: 0.75rem;
    position: relative;
    width: clamp(74px, 18.974358974358974dvw, 84px);
    min-width: clamp(74px, 18.974358974358974dvw, 84px);
    height: clamp(74px, 18.974358974358974dvw, 84px);

    & svg {
        display: block;
        margin-inline: auto;
        width: 75%;
        height: 100%;
        fill: currentColor;
    }
}

.video-cards-section-v1 .card:hover .details .icon,
.video-cards-section-v1 .card:focus-within .details .icon {
    background-color: transparent;

    &>span {
        position: relative;

        &::before {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 60px;
            height: 60px;
            background-color: var(--icon-bg-color, var(--primary-color));
            color: var(--icon-color, var(--primary-color-contrast));
            transform: rotate(45deg) translate(-60%, -12%);
            transform-origin: center center;
            content: '';
            display: block;
            margin-left: -10px;
            border-radius: 4px;
        }

        &::after {
            position: absolute;
            content: '';
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            mask-image: url("data:image/svg+xml,%3Csvg fill='%23000000' version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='800px' height='800px' viewBox='0 0 408.221 408.221' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cpath d='M204.11,0C91.388,0,0,91.388,0,204.111c0,112.725,91.388,204.11,204.11,204.11c112.729,0,204.11-91.385,204.11-204.11 C408.221,91.388,316.839,0,204.11,0z M286.547,229.971l-126.368,72.471c-17.003,9.75-30.781,1.763-30.781-17.834V140.012 c0-19.602,13.777-27.575,30.781-17.827l126.368,72.466C303.551,204.403,303.551,220.217,286.547,229.971z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            mask-repeat: no-repeat no-repeat;
            mask-position: center center;
            mask-size: 85%;
            background-color: var(--icon-color, var(--primary-color-contrast));
        }
    }

    & svg {
        opacity: 0;
    }
}

.video-cards-section-v1 .card .play-btn a {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    font-size: 0;
    text-indent: -999px;
    overflow: hidden; 
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    .video-cards-section-v1 .media-list>div:nth-of-type(1) {
        margin-left: -2vw;
    }


    .video-cards-section-v1 .card {
        width: clamp(294px, 75.38461538461539dvw, 300px);
        height: clamp(483px, 123.84615384615385dvw, 500px);
    }

    .video-cards-section-v1 .card .image {
        width: clamp(252px, 64.61538461538461dvw, 280px);

        img {
            height: clamp(396px, 101.53846153846153dvw, 425px);
        }
    }
}

@media only screen and (max-width: 600px) {
    .video-cards-section-v1 .info .button a {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
    }
}

/* ------- END section difference ------- */
