/* ============================================================
   Radio Reloj Pasto — Estilos del Home
   Paleta: #1A5276 (azul), #F5A200 (naranja), #FFFFFF (blanco)
   ============================================================ */

/* ── 1. HEADER ─────────────────────────────────────────────── */
.mg-nav-widget-area-back {
    background-color: #1A5276 !important;
}
.mg-nav-widget-area-back .overlay {
    background-color: rgba(0,0,0,0) !important;
}
.mg-menu-full {
    background: #1A5276;
    border-top: 3px solid #F5A200;
}
.navbar-wp {
    background: #1A5276 !important;
}
.navbar-wp .nav-link,
.navbar-wp .nav-link:focus {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: .03em;
    padding: 14px 16px !important;
    transition: color .2s, background .2s;
}
.navbar-wp .nav-link:hover,
.navbar-wp .nav-link:active,
.navbar-wp li.active > .nav-link,
.navbar-wp li.current-menu-item > .nav-link {
    color: #F5A200 !important;
    background: rgba(255,255,255,.07) !important;
}
/* Logo + texto de emisora en header */
.site-title a,
.site-title a:hover  { color: #fff !important; }
.site-description    { color: rgba(255,255,255,.75) !important; }

/* Barra superior de fecha/hora/redes */
.mg-head-detail {
    background: #122d40;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.mg-head-detail .info-left li,
.mg-head-detail .info-right li a {
    color: rgba(255,255,255,.8) !important;
}

/* ── 2. BREAKING NEWS / TICKER ─────────────────────────────── */
.mg-latest-news-sec {
    background: #F5A200;
    padding: 0;
    border-bottom: 2px solid #e09200;
}
.mg-latest-news {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 0;
}
.bn_title {
    flex-shrink: 0;
    background: #1A5276;
    padding: 8px 20px;
    margin-right: 0;
}
.bn_title .title {
    color: #F5A200 !important;
    font-size: .8rem !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    white-space: nowrap;
}
/* Flecha decorativa que conecta el label con el ticker */
.bn_title .title span {
    display: none;
}
.bn_title::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 0; bottom: 0;
    width: 0;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 14px solid #1A5276;
}
.bn_title { position: relative; }

.mg-latest-news-slider {
    flex: 1;
    overflow: hidden;
}
.mg-latest-news-slider a {
    color: #1A5276 !important;
    font-weight: 700;
    font-size: .88rem;
    margin: 0 28px;
    white-space: nowrap;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mg-latest-news-slider a:hover {
    color: #0d2f40 !important;
    text-decoration: underline !important;
}
.mg-latest-news-slider a::before {
    content: '◆';
    font-size: .5rem;
    color: #1A5276;
    opacity: .6;
}

/* ── 3. SLIDER PRINCIPAL ───────────────────────────────────── */
.mg-fea-area {
    background: #0d2f40;
    position: relative;
}
.mg-fea-area .overlay {
    background: linear-gradient(135deg, rgba(26,82,118,.95) 0%, rgba(13,47,64,.85) 100%);
    padding: 30px 0;
}
/* Controles Owl Carousel (v1.x) en naranja */
.homemain .owl-buttons .owl-prev,
.homemain .owl-buttons .owl-next {
    background: #F5A200 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    opacity: 1 !important;
    transition: background .2s, transform .15s !important;
}
.homemain .owl-buttons .owl-prev:hover,
.homemain .owl-buttons .owl-next:hover {
    background: #fff !important;
    transform: scale(1.08) !important;
}
.homemain .owl-buttons .owl-prev i,
.homemain .owl-buttons .owl-next i {
    color: #1A5276 !important;
}
/* Panel lateral de tabs (Reciente/Popular/Tendencia) */
.top-right-area {
    background: rgba(255,255,255,.05);
    border-radius: 6px;
    padding: 16px;
}
.top-right-area .nav-tabs {
    border-bottom: 2px solid #F5A200;
}
.top-right-area .nav-tabs .nav-link {
    color: rgba(255,255,255,.7) !important;
    font-size: .8rem;
    border: none;
}
.top-right-area .nav-tabs .nav-link.active {
    background: #F5A200 !important;
    color: #1A5276 !important;
    font-weight: 700;
    border-radius: 4px 4px 0 0;
}
/* Título de cada slide */
.mg-blog-post .title a,
.mg-blog-post-2 .title a {
    color: #fff !important;
}
.mg-blog-post .cat-links a,
.mg-blog-post-2 .cat-links a {
    background: #F5A200 !important;
    color: #1A5276 !important;
}

/* ── 4. SECCIÓN NOTICIAS (col-md-8 + col-md-4) ─────────────── */
/* Encabezados de sección con acento naranja */
.mg-sec-title h4::before,
.mg-widget .wtitle::before {
    background: #F5A200 !important;
}
.mg-sec-title h4,
.mg-widget h2.widgettitle,
.mg-widget h4 {
    color: #1A5276 !important;
    font-weight: 700;
    border-bottom: 2px solid #F5A200;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
/* Cards de noticias */
.mg-blog-post-3 .title a,
.mg-blog-post-3 .mg-blog-inner .title a:hover {
    color: #1A5276 !important;
}
.cat-links a {
    background: #F5A200 !important;
    color: #1A5276 !important;
    font-size: .72rem;
    font-weight: 700;
}

/* ── 5. SIDEBAR — WIDGET EN VIVO ───────────────────────────── */
.rr-sidebar-player {
    background: linear-gradient(135deg, #1A5276 0%, #0d2f40 100%);
    border-radius: 10px;
    padding: 28px 20px 22px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(26,82,118,.3);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.rr-sidebar-player::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(245,162,0,.08);
    border-radius: 50%;
}
/* Animación de ondas */
.rr-player-wave {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 36px;
    gap: 4px;
    margin-bottom: 16px;
}
.rr-player-wave span {
    display: block;
    width: 5px;
    border-radius: 3px;
    background: #F5A200;
    animation: rr-wave 1.3s ease-in-out infinite;
}
.rr-player-wave span:nth-child(1) { height: 18px; animation-delay: 0s; }
.rr-player-wave span:nth-child(2) { height: 28px; animation-delay: .15s; }
.rr-player-wave span:nth-child(3) { height: 36px; animation-delay: .3s; }
.rr-player-wave span:nth-child(4) { height: 22px; animation-delay: .15s; }
.rr-player-wave span:nth-child(5) { height: 14px; animation-delay: 0s; }
@keyframes rr-wave {
    0%, 100% { transform: scaleY(.4); opacity: .6; }
    50%       { transform: scaleY(1);  opacity: 1; }
}
.rr-player-label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .18em;
    color: #F5A200;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}
.rr-player-label::before,
.rr-player-label::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #F5A200;
    opacity: .4;
}
.rr-player-station {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}
.rr-sidebar-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F5A200;
    color: #1A5276;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: .04em;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(245,162,0,.4);
    width: 100%;
    justify-content: center;
}
.rr-sidebar-play-btn:hover {
    background: #ffd055;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245,162,0,.5);
}
.rr-sidebar-play-btn:active {
    transform: translateY(0);
}
.rr-sidebar-play-btn svg {
    width: 16px;
    height: 16px;
    fill: #1A5276;
    flex-shrink: 0;
}
.rr-player-freq {
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    margin-top: 14px;
    letter-spacing: .06em;
}

/* ── 6. SECCIÓN CLASIFICADOS ───────────────────────────────── */
.rr-clasificados-banner {
    background: linear-gradient(135deg, #F5A200 0%, #f5c200 100%);
    padding: 50px 0;
    margin: 40px 0 0;
    border-top: 4px solid #e09200;
    border-bottom: 4px solid #e09200;
}
.rr-clasificados-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .rr-clasificados-inner { flex-direction: column; text-align: center; }
}
.rr-clasificados-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}
.rr-clasificados-content {
    flex: 1;
}
.rr-clasificados-content h3 {
    color: #1A5276;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.25;
}
.rr-clasificados-content p {
    color: rgba(26,82,118,.8);
    font-size: .95rem;
    margin: 0;
}
.rr-clasificados-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1A5276;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    padding: 14px 30px;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .03em;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(26,82,118,.35);
}
.rr-clasificados-btn:hover {
    background: #0d2f40;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,82,118,.45);
}
.rr-clasificados-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ── 7. FOOTER ─────────────────────────────────────────────── */
footer.footer {
    background-color: #1A5276 !important;
}
footer.footer .overlay {
    background: rgba(13,47,64,.7) !important;
}
.mg-footer-widget-area,
.mg-footer-bottom-area {
    background: transparent;
}
.mg-footer-widget-area .mg-widget h2,
.mg-footer-widget-area .mg-widget h4,
.mg-footer-widget-area .widgettitle {
    color: #F5A200 !important;
    border-bottom-color: rgba(245,162,0,.3) !important;
}
.mg-footer-widget-area .mg-widget p,
.mg-footer-widget-area .mg-widget li a,
.mg-footer-widget-area .mg-widget li,
.site-description-footer,
.site-title-footer a {
    color: rgba(255,255,255,.8) !important;
}
.mg-footer-widget-area .mg-widget li a:hover {
    color: #F5A200 !important;
}
.rr-footer-freq {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
    letter-spacing: .08em;
    font-weight: 600;
}
.mg-footer-copyright p,
.mg-footer-copyright a {
    color: rgba(255,255,255,.6) !important;
    font-size: .8rem;
}
.divide-line {
    border-color: rgba(255,255,255,.12) !important;
}

/* ── 8. "You Missed" en footer ─────────────────────────────── */
.missed-inner .mg-sec-title h4 {
    color: #fff !important;
    border-bottom-color: #F5A200 !important;
}
.missed-inner .title a {
    color: #fff !important;
}

/* ── 9. Utilities ──────────────────────────────────────────── */
.mg-social li a {
    background: rgba(255,255,255,.1) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.mg-social li a:hover {
    background: #F5A200 !important;
    color: #1A5276 !important;
}
