/* YouTube Gallery Shortcode — d56d7393 */

.yt-gallery-d56d7393 {
    text-align: center;
    padding: 50px 0;
    background: #c5d8aa8a;
}

.yt-gallery-d56d7393__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.yt-gallery-d56d7393__row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.yt-gallery-d56d7393__col {
    width: calc(25% - 15px);
}

.yt-gallery-d56d7393__video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: #ddd;
    border-radius: 8px;
}

.yt-gallery-d56d7393__video-wrap:hover {
    transform: scale(1.03);
}

.yt-gallery-d56d7393__video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.yt-gallery-d56d7393__more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.yt-gallery-d56d7393__btn {
    display: inline-block;
    background-color: #0065ca;
    color: #fff !important;
    border: 2px solid #0065ca;
    padding: 7px 28px;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.yt-gallery-d56d7393__btn:hover {
    background-color: #7fc21b;
    border-color: #7fc21b;
}

.yt-gallery-d56d7393__error {
    color: #c00;
    font-size: 15px;
}

/* Tablet — 2 per row */
@media (max-width: 768px) {
    .yt-gallery-d56d7393__col {
        width: calc(50% - 15px);
    }
}

/* Mobile — 1 per row */
@media (max-width: 480px) {
    .yt-gallery-d56d7393__col {
        width: 100%;
    }
}
