/* =====================================================
   CONFIGURACIÓN GENERAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;

    font-family: Arial, Helvetica, sans-serif;

    background: #ffffff;
    color: #222222;
}

img,
iframe {
    max-width: 80%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =====================================================
   LOADER
===================================================== */

.loader {
    display: none;
}


/* =====================================================
   BARRA SUPERIOR CELESTE
===================================================== */

.top {
    width: 100%;

    background: #55c5e8;
    color: #ffffff;
}

.top ul {
    width: 100%;

    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    list-style: none;
}

.top li {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #ffffff;

    font-size: 13px;
}

.top i {
    color: #ffffff;

    font-size: 15px;
}


/* =====================================================
   REDES SOCIALES
===================================================== */

.social {
    display: flex;
    align-items: center;

    gap: 10px;
}

.social a {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s;
}

.social a:hover {
    transform: scale(1.15);
}

.social i {
    color: #ffffff;

    font-size: 18px;

    transition: 0.3s;
}

.social a:hover i {
    color: #202020;
}


/* =====================================================
   BLOQUE RADIO Y TV SUPERIOR
===================================================== */

.medio {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;

    padding: 30px;

    display: flex;
    align-items: stretch;

    gap: 20px;
}

.live-box {
    width: 50%;
    min-width: 0;
    min-height: 140px;

    padding: 25px 35px;

    display: flex;
    align-items: center;

    gap: 25px;

    color: #ffffff;

    border-radius: 6px;

    transition: 0.3s ease;
}

.live-box:first-child {
    background: #55c5e8;
}

.live-box:nth-child(2) {
    background: #f2a04a;
}

.live-box:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.20);
}


/* =====================================================
   ICONOS RADIO Y TV
===================================================== */

.icono {
    width: 80px;
    height: 80px;

    min-width: 80px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);
}

.icono i {
    color: #ffffff;

    font-size: 38px;
}


/* =====================================================
   TEXTO RADIO Y TV
===================================================== */

.live-box h2 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 300;

    line-height: 1.2;
}

.live-box h2 span {
    font-weight: bold;
}

.live-box hr {
    width: 100%;
    height: 2px;

    margin-bottom: 10px;

    border: none;

    background: rgba(255, 255, 255, 0.85);
}

.live-box p {
    color: #ffffff;

    font-size: 14px;
    line-height: 1.5;
}


/* =====================================================
   MENU Y LOGO
===================================================== */

.menu {
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.logo {
    min-width: 0;
}

.logo img {
    display: block;

    width: 900px;
    max-width: 100%;

    height: auto;
}


/* =====================================================
   NAVEGACIÓN
===================================================== */

nav {
    display: flex;
    align-items: center;

    gap: 5px;
}

nav a {
    padding: 18px 14px;

    color: #333333;

    font-size: 13px;
    font-weight: bold;

    transition: 0.3s;
}

nav a:hover {
    color: #d71920;
}


/* =====================================================
   BOTÓN HAMBURGUESA
===================================================== */

.hamb {
    display: none;

    padding: 5px;

    border: none;

    background: transparent;

    color: #333333;

    font-size: 27px;

    cursor: pointer;
}

/*=====================================================
CONTENIDO PRINCIPAL
=====================================================*/

.contenido-principal{
    width:100%;
    max-width:1550px;
    margin:0 auto;
    padding:20px;

    display:grid;
    grid-template-columns:72% 28%;
    gap:35px;
    align-items:start;
}


/*=====================================================
TV
=====================================================*/

.tv-player{
    width:100%;
    background:#F79B21;
    padding:15px;

    display:flex;
    justify-content:center;
    align-items:center;

    box-sizing:border-box;
}

.tv-player iframe{
    display:block;
    width:100%;
    max-width:900px;
    height:620px;
    border:0;
}


/*=====================================================
RADIO
=====================================================*/

.radio-player{
    width:100%;
    max-width:100%;
    overflow:hidden;
    box-sizing:border-box;
}

.radio-player iframe{
    width:100%;
    max-width:100%;
    height:650px;      /* Ajusta si tu reproductor necesita más alto */
    display:block;
    border:0;
}


/*=====================================================
TABLETS
=====================================================*/

@media (max-width:1100px){

    .contenido-principal{
        grid-template-columns:65% 35%;
        gap:25px;
    }

    .tv-player iframe{
        height:500px;
    }

    .radio-player iframe{
        height:620px;
    }

}


/*=====================================================
CELULARES
=====================================================*/

@media (max-width:768px){

    .contenido-principal{
        grid-template-columns:1fr;
        gap:20px;
        padding:10px;
    }

    .tv-player{
        padding:10px;
    }

    .tv-player iframe{
        height:220px;
    }

    .radio-player{
        width:100%;
        overflow:visible;
    }

    .radio-player iframe{
        width:100%;
        height:640px;
    }

}


/*=====================================================
TÍTULOS TV Y RADIO
=====================================================*/

.bloque-titulo,
.radio-player-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;

    color:#fff;
    font-size:24px;
    font-weight:bold;
}

.tv-titulo i{
    color:#f2a04a;
    font-size:30px;
}

.radio-player-title i{
    color:#55c5e8;
    font-size:30px;
}
/* =====================================================
   TIEMPO + SANTORAL
===================================================== */

.informacion-extra {
    width: 100%;
    max-width: 1200px;

    margin: 40px auto 0;

    padding: 0 20px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 30px;
}


/* =====================================================
   TARJETA DEL TIEMPO
===================================================== */

.weather-card {
    width: 100%;
    min-width: 0;

    overflow: hidden;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #55c5e8,
        #279fc7
    );

    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

.weather-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 25px 30px;

    background: rgba(0, 0, 0, 0.12);
}

.weather-header h2 {
    margin-bottom: 5px;

    font-size: 25px;
}

.weather-header p {
    font-size: 14px;

    opacity: 0.9;
}

.weather-header > i {
    flex-shrink: 0;

    font-size: 50px;
}

.weather-main {
    display: flex;
    align-items: center;

    gap: 25px;

    padding: 30px;
}

.weather-temperature {
    font-size: 65px;
    font-weight: bold;

    line-height: 1;
}

.weather-description {
    display: flex;
    flex-direction: column;

    gap: 8px;

    font-size: 17px;
}

.weather-description span {
    font-size: 14px;

    opacity: 0.9;
}

.weather-details {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    padding: 20px 25px;

    background: rgba(0, 0, 0, 0.12);
}

.weather-details div {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 6px;

    text-align: center;

    font-size: 13px;
}

.weather-details i {
    font-size: 20px;
}

.weather-details span {
    opacity: 0.85;
}

.weather-details strong {
    font-size: 13px;
}


/* =====================================================
   TARJETA SANTORAL
===================================================== */

.santoral-card {
    width: 100%;
    min-width: 0;

    display: block;

    overflow: hidden;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #f2a04a,
        #df7d22
    );

    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

.santoral-header {
    width: 100%;

    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 25px 30px;

    background: rgba(0, 0, 0, 0.12);
}

.santoral-header > div {
    min-width: 0;
}

.santoral-header h2 {
    display: block;

    margin: 0 0 5px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.2;
}

.santoral-header p {
    display: block;

    margin: 0;

    color: #ffffff;

    font-size: 14px;

    opacity: 0.9;
}

.santoral-header > i {
    flex-shrink: 0;

    color: #ffffff;

    font-size: 45px;
}

.santo-principal {
    width: 100%;

    min-height: 170px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.santo-principal > i {
    display: block;

    margin-bottom: 12px;

    color: #ffffff;

    font-size: 38px;
}

.santo-principal h3 {
    display: block;

    width: 100%;

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 30px;
    line-height: 1.2;
}

.santo-principal p {
    display: block;

    width: 100%;

    margin: 0;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.5;

    opacity: 0.9;
}


/* =====================================================
   ENLACES
===================================================== */

.fuente-link {
    display: block;

    width: 100%;

    padding: 16px 25px;

    color: #ffffff;

    background: rgba(0, 0, 0, 0.15);

    font-size: 14px;
    font-weight: bold;

    text-align: right;

    transition: 0.3s;
}

.fuente-link:hover {
    background: rgba(0, 0, 0, 0.30);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    width: 100%;

    margin-top: 40px;

    overflow: hidden;

    background: #111111;

    color: #ffffff;
}

.footer-flex {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 45px 20px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;
}

.footer-flex > div {
    flex: 1;

    min-width: 0;
}

.footer-logo img {
    display: block;

    width: 100%;
    max-width: 250px;

    height: auto;
}

.footer-info h3 {
    margin: 0 0 15px;

    font-size: 22px;
}

.footer-flex p {
    color: #cccccc;

    font-size: 14px;

    line-height: 1.8;

    overflow-wrap: break-word;
}

.footer-flex i {
    margin-right: 8px;

    color: #55c5e8;
}

.footer-info .social {
    margin-top: 15px;

    display: flex;
    justify-content: flex-start;

    gap: 15px;
}

.footer-info .social a {
    color: #ffffff;

    font-size: 22px;
}


/* =====================================================
   COPYRIGHT
===================================================== */

.copyright {
    width: 100%;

    padding: 18px 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    background: #151515;

    color: #bbbbbb;

    font-size: 13px;

    line-height: 1.5;

    text-align: center;
}

.copyright b {
    color: #ffffff;
}


/* =====================================================
   TABLETS
===================================================== */

@media (max-width: 1000px) {

    .top ul {
        justify-content: center;

        flex-wrap: wrap;

        padding: 10px 0;
    }

    .medio {
        gap: 15px;
    }

    .live-box {
        gap: 15px;

        padding: 20px;
    }

    .icono {
        width: 70px;
        height: 70px;

        min-width: 70px;
    }

    .icono i {
        font-size: 30px;
    }

    .live-box h2 {
        font-size: 20px;
    }

    .live-box p {
        font-size: 12px;
    }

    nav a {
        padding: 15px 8px;

        font-size: 11px;
    }

    .tv-player,
    .radio-player {
        padding: 20px;
    }

    .bloque-titulo,
    .radio-player-title {
        font-size: 20px;
    }
}


/* =====================================================
   CELULARES
===================================================== */

@media (max-width: 700px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* BARRA SUPERIOR */

    .top ul {
        min-height: auto;

        padding: 15px 0;

        flex-direction: column;

        gap: 8px;

        text-align: center;
    }


    /* RADIO Y TV SUPERIOR */

    .medio {
        width: 100%;

        padding: 10px 15px;

        flex-direction: column;

        gap: 10px;
    }

    .live-box {
        width: 100%;

        min-height: 120px;

        padding: 20px;
    }

    .icono {
        width: 65px;
        height: 65px;

        min-width: 65px;
    }

    .icono i {
        font-size: 28px;
    }

    .live-box h2 {
        font-size: 18px;
    }

    .live-box p {
        font-size: 12px;
    }


    /* MENU */

    .menu {
        position: relative;

        min-height: 75px;

        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo img {
        width: 180px;
    }

    .hamb {
        display: block;
    }

    nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        z-index: 1000;

        width: 100%;

        flex-direction: column;

        background: #55c5e8;
    }

    nav a {
        width: 100%;

        padding: 16px;

        color: #ffffff;

        border-bottom: 1px solid rgba(255, 255, 255, 0.35);

        text-align: center;
    }

    nav a:hover {
        color: #202020;

        background: #ffffff;
    }


    /* CONTENIDO PRINCIPAL */

    main {
        padding: 25px 0 50px;
    }

    .contenido-principal {
        width: 100%;

        padding: 0 15px;

        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* TV */

    .tv-player {
        width: 100%;
        padding: 30px;
    }

    .tv-player iframe {
        width: 120%;
        height: 250px;
    }


    /* RADIO */

    .radio-player {
        width: 100%;

        padding: 15px;
    }

    .radio-player iframe {
        width: 100%;

        height: 1200px;
    }


    /* TÍTULOS */

    .bloque-titulo,
    .radio-player-title {
        margin-bottom: 15px;

        font-size: 20px;
    }

    .tv-titulo i,
    .radio-player-title i {
        font-size: 25px;
    }


    /* TIEMPO + SANTORAL */

    .informacion-extra {
        width: 100%;

        margin-top: 25px;

        padding: 0 15px;

        grid-template-columns: 1fr;

        gap: 25px;
    }

    .weather-header,
    .santoral-header {
        padding: 20px;
    }

    .weather-header h2,
    .santoral-header h2 {
        font-size: 22px;
    }

    .weather-header > i {
        font-size: 40px;
    }

    .santoral-header > i {
        font-size: 38px;
    }

    .weather-main {
        gap: 15px;

        padding: 25px 20px;
    }

    .weather-temperature {
        font-size: 55px;
    }

    .weather-description {
        font-size: 15px;
    }

    .weather-details {
        padding: 18px 10px;
    }

    .weather-details strong {
        font-size: 11px;
    }

    .santo-principal {
        min-height: 160px;

        padding: 20px;
    }

    .santo-principal h3 {
        font-size: 26px;
    }

    .santoral-card .fuente-link {
        padding: 15px 20px;

        font-size: 13px;

        text-align: center;
    }


    /* FOOTER */

    .footer-flex {
        width: 100%;

        padding: 35px 20px;

        flex-direction: column;

        align-items: center;

        gap: 30px;

        text-align: center;
    }

    .footer-flex > div {
        width: 100%;

        flex: none;
    }

    .footer-logo img {
        margin: 0 auto;

        max-width: 220px;
    }

    .footer-info h3 {
        font-size: 20px;
    }

    .footer-info .social {
        justify-content: center;
    }

    .footer-contact {
        width: 100%;
    }

    .footer-contact p {
        width: 100%;

        margin: 10px 0;

        text-align: center;

        overflow-wrap: anywhere;
    }

    .copyright {
        padding: 15px 10px;

        font-size: 12px;
    }
}


/* =====================================================
   CELULARES PEQUEÑOS
===================================================== */

@media (max-width: 400px) {

    .logo img {
        width: 150px;
    }

    .live-box {
        padding: 15px;
    }

    .live-box h2 {
        font-size: 16px;
    }

    .live-box p {
        font-size: 11px;
    }

    .icono {
        width: 58px;
        height: 58px;

        min-width: 58px;
    }

    .icono i {
        font-size: 24px;
    }

    .tv-player,
    .radio-player {
        padding: 10px;
    }

          

    .radio-player iframe {
        height: 1000px;
    }

    .bloque-titulo,
    .radio-player-title {
        font-size: 18px;
    }

    .weather-temperature {
        font-size: 48px;
    }

    .weather-description {
        font-size: 14px;
    }

    .weather-details strong {
        font-size: 10px;
    }

    .santo-principal h3 {
        font-size: 23px;
    }

    .footer-flex {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* =====================================================
   CARRUSEL SOBERANÍA
===================================================== */

.soberania-carrusel{
    width:100%;
    margin:20px auto;
    overflow:hidden;
    padding:10px 0;
}

/* CONTENEDOR */

.soberania-carrusel-pista{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:15px;
}

/* CADA IMAGEN */

.soberania-carrusel-pista a{

    flex:0 1 320px;      /* ancho flexible */
    max-width:320px;
    min-width:220px;

    aspect-ratio:16/9;   /* todos del mismo tamaño */

    overflow:hidden;
    border-radius:10px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#ffffff;
    box-shadow:0 4px 12px rgba(0,0,0,.12);

    transition:.3s;
}

/* IMÁGENES */

.soberania-carrusel-pista img{

    width:100%;
    height:100%;

    object-fit:contain;          /* llena el cuadro */
    object-position:center;    /* centrada */

    display:block;

    transition:transform .35s;
}

/* HOVER */

.soberania-carrusel-pista a:hover{

    box-shadow:0 10px 25px rgba(0,0,0,.20);

}

.soberania-carrusel-pista a:hover img{

    transform:scale(1.05);

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width:768px){

    .soberania-carrusel-pista{

        gap:12px;

    }

    .soberania-carrusel-pista a{

        flex:0 1 260px;
        min-width:220px;

    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width:480px){

    .soberania-carrusel{

        padding:5px 0;

    }

    .soberania-carrusel-pista{

        gap:10px;

    }

    .soberania-carrusel-pista a{

        flex:1 1 100%;
        max-width:100%;
        min-width:100%;

    }


}

.radio-presentacion {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}

.radio-presentacion h1 {
    font-size: 42px;
    font-weight: 800;
    color: #F79B21;
    margin: 0 0 10px;
    line-height: 1.2;
    text-transform: uppercase;
}

.radio-presentacion h2 {
    font-size: 24px;
    font-weight: 400;
    color: #555;
    margin: 0 0 30px;
    line-height: 1.4;
}

.radio-presentacion p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.radio-presentacion strong {
    color: #F79B21;
    font-weight: 700;
}

/* Tablets */
@media (max-width: 768px) {

    .radio-presentacion {
        padding: 25px 18px;
    }

    .radio-presentacion h1 {
        font-size: 32px;
    }

    .radio-presentacion h2 {
        font-size: 20px;
    }

    .radio-presentacion p {
        font-size: 17px;
        line-height: 1.7;
    }

}

/* Celulares */
@media (max-width: 480px) {

    .radio-presentacion {
        padding: 20px 15px;
    }

    .radio-presentacion h1 {
        font-size: 28px;
    }

    .radio-presentacion h2 {
        font-size: 18px;
    }

    .radio-presentacion p {
        font-size: 16px;
        line-height: 1.7;
        text-align: center;
    }

}