/* =========================================================
   07-home-videos.css
   Home video cards
========================================================= */

.me-home-videos-section {
    max-width: 1400px;
    margin: 40px auto;
}

.me-home-videos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.me-home-videos .box {
    background: #ffffff;
    border: 1px solid #dfe7f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 36, 64, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.me-home-videos .box:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(15, 36, 64, 0.16);
}

.me-home-videos .box h3 {
    min-height: 58px;
    margin: 0;
    padding: 16px 18px;
    background: #ffffff;
    color: #152235;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}

.me-home-videos .textwidget,
.me-home-videos .box p {
    margin: 0;
}

.me-home-videos iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

@media (max-width: 1100px) {
    .me-home-videos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .me-home-videos {
        grid-template-columns: 1fr;
    }
}