/* JJT */
.fgm-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.fgm-wrapper__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.fgm-wrapper__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    transition: background 0.3s ease;
}

.fgm-wrapper__overlay:hover {
    background: rgba(0, 0, 0, 0.08);
}

.fgm-wrapper__hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 30px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-family: sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fgm-wrapper__overlay:hover .fgm-wrapper__hint {
    opacity: 1;
}

@media (max-width: 768px) and (orientation: portrait) {
    .fgm-wrapper {
        aspect-ratio: 9 / 16;
    }
}

@media (max-width: 1024px) and (orientation: portrait) {
    .fgm-wrapper {
        aspect-ratio: 3 / 4;
    }
}

/* Cover pleca abajo */
.fgm2-wrapper__cover-plot {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 50px;
    background: #000000;
    z-index: 5;
}

/* PLOT */
/* Mac / PC */
.fgm2-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.fgm2-wrapper__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* iPad Horizontal */
@media (max-width: 1024px) and (orientation: landscape) {
    .fgm2-wrapper {
        aspect-ratio: 4 / 3;
    }
}

/* iPad Vertical */
@media (max-width: 1024px) and (orientation: portrait) {
    .fgm2-wrapper {
        aspect-ratio: 2 / 3;
    }
}

/* Teléfono Horizontal */
@media (max-width: 768px) and (orientation: landscape) {
    .fgm2-wrapper {
        aspect-ratio: 16 / 9;
    }
}

/* Teléfono Vertical */
@media (max-width: 768px) and (orientation: portrait) {
    .fgm2-wrapper {
        aspect-ratio: 9 / 16;
    }
}

/* Cover pleca abajo */
.fgm2-wrapper__cover-jjt {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 50px;
    background: #000000;
    z-index: 5;
}


