/* Reproductor de MEDIAFILMS TV adaptable */
iframe[src*="player.html"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    border: 0 !important;
}

/* Evita espacios adicionales alrededor del reproductor */
.mod-wrapper {
    margin: 0;
    padding: 0;
}

/* Encabezado adaptable */
.container-header .navbar-brand {
    max-width: 100%;
    min-width: 0;
}

.container-header .navbar-brand a {
    display: block;
    max-width: 100%;
    text-decoration: none;
}

.container-header .site-title {
    font-size: clamp(1.35rem, 7vw, 2rem);
    line-height: 1.1;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .container-header .grid-child {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    iframe[src*="player.html"] {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}
/* Footer MEDIAFILMS TV centrado */
.container-footer .grid-child {
    justify-content: center;
    text-align: center;
}

.container-footer .mod-custom {
    width: 100%;
}

.mediafilms-footer {
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    text-align: center;
}

.mediafilms-footer p {
    margin: 0.35rem 0;
}

.mediafilms-footer a {
    color: #ffffff;
    text-decoration: underline;
}
/* Tamaño del logo de MEDIAFILMS TV */
.container-header .navbar-brand img,
.container-header .brand-logo img {
    width: auto !important;
    max-width: 260px !important;
    max-height: 75px !important;
    height: auto !important;
    object-fit: contain;
}

/* Ajuste para celulares */
@media (max-width: 600px) {
    .container-header .navbar-brand img,
    .container-header .brand-logo img {
        max-width: 190px !important;
        max-height: 60px !important;
    }
}