/* ============================================================
   Biblia Adentro Radio — estilos del reproductor y la página
   ============================================================ */
.radio-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #16293f;
    color: #fff;
    border-top: 3px solid #C26A3D;
    box-shadow: 0 -6px 20px rgba(0,0,0,.18);
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: .88rem;
}
.radio-bar-btn {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.12); color: #fff;
    font-size: .95rem; transition: background .15s;
}
.radio-bar-btn:hover { background: rgba(255,255,255,.22); }
.radio-bar-btn.principal { background: #C26A3D; width: 44px; height: 44px; }
.radio-bar-btn.principal:hover { background: #a8562e; }
.radio-bar img {
    width: 42px; height: 42px; border-radius: 8px; object-fit: cover;
    background: #2b4f7d; flex: 0 0 auto;
}
.radio-bar-info { flex: 1 1 auto; min-width: 0; }
.radio-bar-title {
    display: block; color: #fff; text-decoration: none; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.radio-bar-title:hover { color: #E7D8B9; }
.radio-bar-meta {
    display: block; color: rgba(255,255,255,.65); font-size: .78rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.radio-bar-progress {
    flex: 0 0 180px; height: 6px; border-radius: 10px; background: rgba(255,255,255,.18);
    cursor: pointer; overflow: hidden;
}
.radio-bar-progress-fill { height: 100%; width: 0; background: #C26A3D; border-radius: 10px; }
.radio-bar-time { flex: 0 0 auto; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; font-size: .78rem; }
.radio-bar input[type="range"] { flex: 0 0 90px; accent-color: #C26A3D; }
.radio-bar-link { color: rgba(255,255,255,.7); text-decoration: none; padding: 0 4px; }
.radio-bar-link:hover { color: #fff; }

/* Empuje del contenido para que la barra no tape el pie */
.radio-page-con-barra { padding-bottom: 90px; }

/* ------------------------------- página /radio/ */
.radio-hero {
    background: linear-gradient(135deg, #1F3A5F, #16293f);
    color: #fff; padding: 64px 0 52px;
}
.radio-hero h1 { color: #fff; font-size: 2.4rem; font-weight: 900; margin: 10px 0 12px; }
.radio-hero p { color: rgba(255,255,255,.82); max-width: 720px; }
.radio-hero .radio-live {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(194,106,61,.22); border: 1px solid rgba(194,106,61,.6);
    color: #fff; border-radius: 30px; padding: 6px 14px; font-size: .8rem; font-weight: 700;
}
.radio-hero .radio-live span {
    width: 8px; height: 8px; border-radius: 50%; background: #ff5c5c;
    animation: radio-pulso 1.6s infinite;
}
@keyframes radio-pulso { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.radio-episodio {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid #e8e2d6; border-radius: 14px;
    padding: 14px 18px; margin-bottom: 10px; width: 100%;
}
.radio-episodio img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.radio-episodio-info { flex: 1 1 auto; min-width: 0; }
.radio-episodio-info strong { display: block; color: #1F3A5F; font-size: .98rem; line-height: 1.3; }
.radio-episodio-info small { color: #6b7280; font-size: .8rem; }
.radio-episodio button {
    flex: 0 0 auto; border: 0; border-radius: 40px; cursor: pointer;
    background: #C26A3D; color: #fff; font-weight: 700; font-size: .82rem;
    padding: 8px 18px;
}
.radio-episodio button:hover { background: #a8562e; }

@media (max-width: 768px) {
    .radio-bar { gap: 8px; padding: 8px 10px; }
    .radio-bar-progress { flex: 0 0 80px; }
    .radio-bar-time, .radio-bar input[type="range"], .radio-bar-link { display: none; }
    .radio-bar img { width: 36px; height: 36px; }
    .radio-hero { padding: 44px 0 36px; }
    .radio-hero h1 { font-size: 1.8rem; }
    .radio-episodio { flex-wrap: wrap; }
}

/* ------------------------------- parrilla de programacion */
.radio-bloque {
    background: #fff;
    border: 1px solid #e8e2d6;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}
.radio-bloque-actual {
    border-color: #C26A3D;
    box-shadow: 0 8px 24px rgba(31,58,95,.10);
}
.radio-bloque-cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #f9f7f3;
    border-bottom: 1px solid #efe9dd;
}
.radio-bloque-cabecera strong { display: block; color: #1F3A5F; font-size: .98rem; }
.radio-bloque-cabecera small { color: #6b7280; font-size: .8rem; }
.radio-bloque-items { list-style: none; margin: 0; padding: 6px 0; }
.radio-bloque-items li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 7px 18px;
    font-size: .87rem;
    border-bottom: 1px dashed #f0ece2;
}
.radio-bloque-items li:last-child { border-bottom: 0; }
.radio-hora { flex: 0 0 48px; color: #C26A3D; font-weight: 700; font-variant-numeric: tabular-nums; }
.radio-item-titulo { flex: 1 1 auto; color: #2c2c2c; }
.radio-item-serie { flex: 0 0 auto; color: #6b7280; font-size: .8rem; }
.radio-mas { color: #6b7280; font-style: italic; }
@media (max-width: 600px) {
    .radio-item-serie { display: none; }
    .radio-bloque-items li { gap: 8px; }
}
