/* ==========================================
   Patient Education Videos
   ========================================== */

.patient-videos-section {
    padding: 60px 0;
    background: #ffffff;
}

.patient-video-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.patient-video-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.patient-video-link:hover .patient-video-card {
    transform: translateY(-7px);
    border-color: #d8dded;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.11);
}


/* ==========================================
   Video
   ========================================== */

.patient-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f2f3f7;
}

.patient-video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================
   Content
   ========================================== */

.patient-video-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.patient-video-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.den-h5 {
       color: #58595B;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.video-time {
    flex: 0 0 auto;
    margin: 0;
    padding: 5px 10px;
    color: #141b5d;
    background: #eef2ff;
    border-radius: 50px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.patient-video-content p {
   flex: 1;
    margin-bottom: 18px;
    color: rgb(88, 89, 91);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    
}

.den-section-subtext a {
    color: #141b5d;
text-decoration: none;
font-weight: 600;
}

/* ==========================================
   Arrow
   ========================================== */

.video-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #141b5d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-card-link i {
    transition: transform 0.3s ease;
}

.patient-video-link:hover .video-card-link i {
    transform: translateX(6px);
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1199.98px) {

    .patient-videos-section {
        padding: 60px 0;
    }

    .patient-video-content {
        padding: 18px;
    }

    .den-h5 {
        font-size: 17px;
    }
}


@media (max-width: 767.98px) {

    .patient-videos-section {
        padding: 45px 0;
    }

    .patient-video-card {
        border-radius: 14px;
    }

    .patient-video-content {
        padding: 18px;
    }

    .patient-video-header {
        gap: 8px;
    }

    .den-h5 {
        font-size: 17px;
    }

    .patient-video-content p {
        font-size: 14px;
        line-height: 1.65;
    }
}


@media (max-width: 575.98px) {

    .patient-videos-section {
        padding: 35px 0;
    }

    .patient-video-content {
        padding: 16px;
    }

    .den-h5 {
        font-size: 16px;
    }

    .video-time {
        font-size: 11px;
        padding: 4px 8px;
    }
}

