/* Escaparate del podcast dentro de Thinkific (/pages/frogmacion-podcast).
   Va en S3 porque el editor de Thinkific se come los <style> del HTML pegado,
   pero respeta los <link>. Mismo mecanismo que la hoja de los tomos. */

.escaparate {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.escaparate h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 16px;
}

.escaparate h3 {
    font-size: 1.25rem;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(127, 183, 204, .35);
}

.esc-intro {
    font-size: 1.1rem;
    margin: 0 0 24px;
}

.esc-cta {
    margin: 24px 0;
    text-align: center;
}

.esc-boton {
    display: inline-block;
    background: #7fb7cc;
    color: #10222b;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.esc-boton:hover {
    color: #10222b;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(127, 183, 204, .4);
}

/* Los dos reproductores, uno al lado del otro y apilados en móvil */
.esc-players {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.esc-players iframe {
    max-width: 100%;
    border-radius: 12px;
}

.esc-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}

.esc-ep a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(127, 183, 204, .3);
    border-radius: 10px;
    text-decoration: none;
    height: 100%;
    transition: background .2s ease, border-color .2s ease;
}

.esc-ep a:hover {
    background: rgba(127, 183, 204, .12);
    border-color: #7fb7cc;
}

.esc-num {
    flex: 0 0 auto;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .5px;
    opacity: .75;
}

.esc-tit {
    font-weight: 600;
}

@media (max-width: 600px) {
    .escaparate {
        padding: 20px 14px 32px;
    }

    .escaparate h2 {
        font-size: 1.5rem;
    }
}

/* El bloque de la biblioteca escribe <h2>, pero el editor de Thinkific lo
   convierte en <h1>, así que estilamos los dos. Y con clamp: el 3.5rem fijo de
   codex-system.css no tiene regla de móvil y el titular se sale de la pantalla. */
.index-header h1,
.index-header h2 {
    font-size: clamp(1.9rem, 7vw, 3.5rem);
    line-height: 1.05;
    overflow-wrap: break-word;
}

.index-header h2 {
    font-family: var(--font-heading, Montserrat, sans-serif);
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


