/* Videoteca (shortcode [huge_it_videogallery], ver videos.php) */
.vg {
    padding: 30px 0 60px;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #373634;
}
.vg-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.vg-media img,
.vg-media iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}
.vg-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}
.vg-play img {
    transition: transform .3s, opacity .3s;
}
.vg-play:hover img,
.vg-play:focus img {
    transform: scale(1.04);
    opacity: .85;
}
.vg-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 48px;
    margin: -24px 0 0 -34px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7c-.8-2.9-2.5-5.4-5.4-6.2C55.8.1 34 0 34 0S12.2.1 6.9 1.6c-3 .7-4.6 3.2-5.4 6.1C.1 13.4 0 24 0 24s.1 10.6 1.5 16.3c.8 2.9 2.5 5.4 5.4 6.2C12.2 47.9 34 48 34 48s21.8-.1 27.1-1.6c3-.7 4.6-3.2 5.4-6.1C67.9 34.6 68 24 68 24s-.1-10.6-1.5-16.3z' fill='%23f00'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") no-repeat;
    opacity: .9;
    transition: opacity .2s;
}
.vg-play:hover::after,
.vg-play:focus::after {
    opacity: 1;
}
.vg-play:focus-visible {
    outline: 3px solid #1F91AA;
    outline-offset: -3px;
}

/* Video destacado */
.vg-featured {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #E2E2D8;
}
.vg-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 3px 10px;
    background: #958275;
    color: #fff;
    font-size: .85em;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.vg-featured__info h2 {
    margin: 0 0 14px;
    font-family: Montserrat-Black, "Segoe UI", Arial, sans-serif;
    font-size: 1.8em;
    line-height: 1.2;
    color: #5D5755;
}
.vg-featured__info p {
    margin: 0;
    line-height: 1.6;
}

/* Grilla */
.vg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.vg-grid.vg-js .vg-card--extra {
    display: none;
}
.vg-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
    transition: box-shadow .2s;
}
.vg-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.vg-card__info {
    padding: 16px 18px 20px;
}
.vg-card__info h3 {
    margin: 0 0 8px;
    font-size: 1.1em;
    line-height: 1.3;
    color: #5D5755;
}
.vg-card__info p {
    margin: 0;
    font-size: .92em;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ver más */
.vg-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.vg-more button {
    padding: 8px 22px;
    border: 0;
    background: #605855;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
}
.vg-more button:hover,
.vg-more button:focus {
    background: #958275;
}

@media (max-width: 991px) {
    .vg-featured {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .vg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .vg-grid {
        grid-template-columns: 1fr;
    }
    .vg-featured__info h2 {
        font-size: 1.4em;
    }
}
