/* Página /podcast. Base blanca; el amarillo #f8e603 es acento (botón principal, badge, segundero).
   Todo con prefijo pd-. Los selectores llevan .pd adelante para ganarle a los estilos globales de Webflow. */
.pd {
    --pd-yellow: #f8e603;
    --pd-ink: #131313;
    --pd-white: #fff;
    --pd-haze: #f3f3f1;
    --pd-muted: #5b5b57;
    --pd-line: #e3e3df;
    --pd-display: "Bricolage Grotesque", Inter, sans-serif;
    background: var(--pd-white);
    color: var(--pd-ink);
    font-family: Inter, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    text-align: left;
}
.pd *, .pd *::before, .pd *::after { box-sizing: border-box; }
.pd [hidden] { display: none !important; }
.pd h1, .pd h2, .pd h3, .pd p, .pd dl, .pd dd, .pd ul, .pd li {
    margin: 0; padding: 0; color: inherit; text-align: left; text-transform: none; letter-spacing: normal;
}
.pd ul { list-style: none; }
.pd a { color: inherit; text-decoration: none; }
.pd img { max-width: 100%; margin: 0; }  /* Webflow le pone margin-left:60px a todo img */
.pd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pd a:focus-visible, .pd button:focus-visible, .pd input:focus-visible, .pd audio:focus-visible {
    outline: 3px solid var(--pd-ink); outline-offset: 3px;
}

.pd-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Títulos */
.pd .pd-h1 {
    font: 800 clamp(40px, 6.4vw, 88px)/1 var(--pd-display);
    max-width: 13em;
    letter-spacing: -.035em;
}
.pd .pd-h2 {
    font: 700 clamp(28px, 3.6vw, 44px)/1.1 var(--pd-display);
    letter-spacing: -.02em;
    margin-bottom: 32px;
    max-width: 22ch;
}
.pd .pd-body { color: var(--pd-muted); max-width: 62ch; }
.pd .pd-body + .pd-body { margin-top: 16px; }

/* Botones */
.pd .pd-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 28px; margin: 0;
    font: 700 16px/1 var(--pd-display);
    border: 2px solid var(--pd-ink); border-radius: 999px;
    cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.pd .pd-btn--yellow { background: var(--pd-yellow); border-color: var(--pd-yellow); color: var(--pd-ink); }
.pd .pd-btn--yellow:hover { background: var(--pd-ink); border-color: var(--pd-ink); color: var(--pd-yellow); }
.pd .pd-btn--outline { background: transparent; color: var(--pd-ink); margin-top: 48px; }
.pd .pd-btn--outline:hover { background: var(--pd-ink); color: var(--pd-white); }
.pd .pd-btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: var(--pd-white); }
.pd .pd-btn--ghost:hover { background: var(--pd-white); color: var(--pd-ink); }

/* Hero (ref. Vercel): fondo sólido. Liso por defecto; con la clase pd-hero--graphite suma textura de grafito
   (grano fino + vetas horizontales, SVG inline). Escritorio: copy a la izquierda y tráiler a la derecha.
   Por debajo de 960px: textos centrados y tráiler debajo. */
.pd-hero { position: relative; overflow: hidden; color: var(--pd-white); background-color: #151514; }
.pd-hero--graphite { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .55' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .13 0 0 0 -.035'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .17 0 0 0 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); background-size: 800px 600px, 300px 300px; }
.pd .pd-hero-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; background: var(--pd-yellow); color: var(--pd-ink); font: 700 15px/1 var(--pd-display); padding: 11px 18px; border-radius: 999px; transition: transform .15s; }
.pd .pd-hero-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pd-ink); }
.pd .pd-hero-pill:hover { transform: translateY(-2px); }
.pd-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 88px; text-align: center; }
.pd .pd-hero .pd-h1 { margin: 0 auto; text-align: center; font-size: clamp(36px, 5.2vw, 72px); }
.pd .pd-hero-logo { display: block; width: min(72%, 250px); height: auto; margin: 0 auto; }  /* PNG recortado al contenido; en desktop se usa la versión alineada a la izquierda */
.pd .pd-hero-lead { font-size: clamp(17px, 1.8vw, 21px); max-width: 44ch; margin: 30px auto 32px; text-align: center; color: rgba(255,255,255,.88); text-wrap: balance; }
.pd-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pd .pd-hero-video { width: min(100%, 920px); margin: 56px auto 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.10); text-align: left; }
@media (min-width: 960px) {
    .pd-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; text-align: left; }
    .pd .pd-hero-copy { text-align: left; }
    .pd .pd-hero .pd-h1 { margin: 0; max-width: none; text-align: left; font-size: clamp(34px, 4.2vw, 60px); }
    .pd .pd-hero-logo { width: min(100%, 460px); margin: 0; }
    .pd .pd-hero-lead { margin: 32px 0 32px; max-width: 34ch; text-align: left; text-wrap: pretty; }
    .pd-hero-actions { justify-content: flex-start; }
    .pd .pd-hero-video { width: 100%; margin: 0; }
}

/* Bajada bajo el hero: centrada, tipografía liviana (ref. Mel Robbins) */
.pd-intro { padding: 56px 0; text-align: center; }
.pd .pd-intro-title { text-wrap: balance; font: 700 clamp(22px, 2.4vw, 32px)/1.2 var(--pd-display); letter-spacing: -.015em; max-width: 34em; margin: 0 auto; color: #3a3a37; text-align: center; }
.pd .pd-intro-sub { text-wrap: balance; margin: 16px auto 0; max-width: 56ch; text-align: center; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; font-weight: 400; color: var(--pd-muted); }

/* Último episodio / estreno */
.pd-latest { background: var(--pd-haze); padding: 88px 0; }
.pd-featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pd-featured-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pd .pd-badge { display: inline-block; background: var(--pd-yellow); color: var(--pd-ink); font: 700 14px/1 var(--pd-display); padding: 8px 14px; border-radius: 999px; }
.pd .pd-featured-title { font: 700 clamp(30px, 3.6vw, 46px)/1.08 var(--pd-display); letter-spacing: -.02em; }
.pd .pd-guest { font-weight: 600; color: var(--pd-ink); }
.pd .pd-when { color: var(--pd-muted); font-size: 15px; }
.pd .pd-desc { color: var(--pd-muted); white-space: pre-line; max-width: 54ch; }
.pd .pd-audio { width: 100%; height: 48px; }
.pd .pd-error { color: var(--pd-muted); }

/* Miniaturas */
.pd .pd-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--pd-ink); }
.pd .pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd .pd-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pd .pd-yt-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--pd-ink) 50% 0 / 101% auto no-repeat; }  /* 101%: recorta la franja oscura que trae el borde inferior del póster */
.pd .pd-yt-icon { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border-radius: 26px; background: var(--pd-yellow); color: var(--pd-ink); font: 700 15px/1 var(--pd-display); transform-origin: left bottom; transition: transform .15s; }  /* esquina y no centro: el centro del póster es la cara y el micrófono */
.pd .pd-yt-icon::before { content: ""; flex: none; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--pd-ink); }
.pd .pd-yt-soon { position: absolute; inset: 0; background: var(--pd-ink) 50% 0 / 101% auto no-repeat; }
.pd .pd-yt-soon::before { content: ""; position: absolute; inset: 0; background: rgba(10,10,9,.6); }
.pd .pd-soon-pill { position: absolute; left: 24px; bottom: 24px; display: grid; gap: 4px; text-align: left; padding: 14px 22px; border-radius: 16px; background: rgba(10,10,9,.88); border: 1px solid rgba(255,255,255,.18); color: var(--pd-white); }
.pd .pd-soon-pill b { font: 700 19px/1.15 var(--pd-display); }
.pd .pd-soon-pill span { font-size: 14px; color: rgba(255,255,255,.8); }
.pd .pd-yt-play:hover .pd-yt-icon, .pd .pd-yt-play:focus-visible .pd-yt-icon { transform: scale(1.08); }
.pd .pd-thumb-link { display: block; }
/* Episodio destacado (ref. Mel Robbins): columna angosta centrada en la página, todo alineado a la izquierda con el
   borde del video; título chico, video a todo el ancho de la columna, botones a la izquierda y compartir a la derecha */
.pd .pd-featured--episode .pd-when { margin-top: -4px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pd .pd-featured--episode .pd-featured-title { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -.015em; }
@media (min-width: 768px) {
    .pd .pd-featured--episode { max-width: 810px; margin: 0 auto; gap: 24px; }
    .pd .pd-featured--episode .pd-desc { max-width: none; font-size: 16px; }
    .pd .pd-featured--episode .pd-featured-actions { margin-top: 0; }
    .pd .pd-featured--episode .pd-featured-actions .pd-btn--share { margin-left: auto; }
}
}
.pd .pd-thumb img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
    /* zoom suave de la miniatura al pasar el mouse (el recuadro recorta el sobrante) */
    .pd .pd-thumb-link:hover .pd-thumb img, .pd .pd-card:hover .pd-thumb img { transform: scale(1.06); }
}

/* Portada cuadrada del show dentro del recuadro 16:9 */
.pd .pd-thumb--cover { background: #e2430e; }  /* naranja del borde de la portada: las barras laterales casi no se notan */
.pd .pd-thumb--cover img { object-fit: contain; }

/* Botones que llevan a Spotify: verde de marca al pasar el mouse, hacer click o enfocar con teclado */
.pd .pd-btn--spotify:hover, .pd .pd-btn--spotify:active, .pd .pd-btn--spotify:focus-visible { background: #1db954; border-color: var(--pd-ink); color: #000; }
/* Con video horizontal (estilo Mel Robbins): textos alineados a la izquierda con el borde del video,
   video a todo el ancho (16:9, sin recortes) y abajo el botón principal a la izquierda y compartir a la derecha */
.pd-featured--video { grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.pd .pd-featured--video > .pd-thumb { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
.pd-featured--video .pd-featured-body { align-items: flex-start; text-align: left; }
.pd-featured--video .pd-featured-actions { justify-content: flex-start; align-items: center; margin-top: -8px; }
.pd .pd-btn--icon { width: 52px; padding: 0; border-color: #c9c9c4; background: transparent; color: var(--pd-ink); }
.pd .pd-btn--icon:hover { border-color: var(--pd-ink); }
.pd .pd-btn--icon.is-msg { width: auto; padding: 0 20px; font-size: 14px; }
.pd .pd-btn--share { width: auto; padding: 0 20px; gap: 8px; font-size: 15px; }
.pd-featured-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pd .pd-featured-actions .pd-btn { margin-top: 0; }

/* Grillas y tarjetas */
.pd-section { padding: 96px 0; }
.pd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 24px; }
.pd .pd-card { display: block; width: 100%; min-width: 0; margin: 0; padding: 0; }
.pd .pd-card .pd-thumb { transition: transform .2s ease; }
.pd .pd-card:hover .pd-thumb { transform: translateY(-4px); }
.pd-card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.pd .pd-meta { font-size: 14px; line-height: 1.35; color: var(--pd-muted); }
.pd .pd-card-title { font: 700 19px/1.25 var(--pd-display); letter-spacing: -.01em; }
.pd .pd-card:hover .pd-card-title { text-decoration: underline; text-decoration-color: var(--pd-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pd .pd-card .pd-guest { font-size: 15px; color: var(--pd-muted); font-weight: 500; }

/* Plataformas */
.pd .pd-intro-label { margin: 36px 0 16px; text-align: center; font: 700 clamp(16px, 1.4vw, 18px)/1.3 var(--pd-display); color: #3a3a37; }
.pd .pd-links { max-width: 840px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; text-align: left; }
.pd .pd-links li { flex: 0 0 256px; max-width: 100%; }
@media (min-width: 1000px) {
    /* en desktop los 4 botones van en una sola línea */
    .pd .pd-links { max-width: 1112px; flex-wrap: nowrap; }
    .pd .pd-links li { flex: 1 1 0; min-width: 0; }
}
.pd .pd-links a { display: flex; align-items: center; gap: 12px; height: 100%; background: #000; color: var(--pd-white); border-radius: 12px; padding: 11px 18px; font: 700 18px/1.1 var(--pd-display); transition: background-color .15s; }
.pd .pd-links a:hover { background: #2c2c2c; }
.pd .pd-links img, .pd .pd-links svg { flex: none; width: 36px; height: 36px; border-radius: 9px; }
.pd .pd-links .pd-logo-light { filter: invert(1) hue-rotate(180deg); }  /* logo de Amazon oscuro -> claro sobre el botón negro */
.pd .pd-links small { display: block; font: 500 12px/1.3 Inter, sans-serif; color: rgba(255,255,255,.8); }

/* Newsletter */
.pd-news { background: var(--pd-haze); padding: 96px 0; }
.pd-news-card { background: var(--pd-ink); color: var(--pd-white); border-radius: 28px; padding: clamp(32px, 6vw, 72px); }
.pd .pd-news-card .pd-h2 { margin-bottom: 12px; max-width: 18ch; }
.pd .pd-news-card > p { color: rgba(255,255,255,.8); max-width: 46ch; margin-bottom: 28px; }
.pd .pd-embed { max-width: 520px; border-radius: 16px; overflow: hidden; background: var(--pd-white); }
.pd .pd-embed iframe { display: block; width: 100%; height: 150px; border: 0; }

/* Sheet mobile de suscripción */
.pd.pd-sheet { display: none; }
@media (max-width: 767px) {
    .pd.pd-sheet {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
        display: block; padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
        background: var(--pd-white); border-radius: 24px 24px 0 0;
        box-shadow: 0 -12px 40px rgba(0,0,0,.18);
        transform: translateY(110%); transition: transform .35s ease;
    }
    .pd.pd-sheet[hidden] { display: none !important; }
    .pd.pd-sheet.is-open { transform: translateY(0); }
    .pd .pd-sheet-title { font: 700 22px/1.15 var(--pd-display); padding-right: 36px; }
    .pd .pd-sheet-sub { color: var(--pd-muted); font-size: 15px; margin: 6px 0 16px; }
    .pd.pd-sheet .pd-embed { border: 1px solid var(--pd-line); }
    .pd-sheet-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; line-height: 1; color: var(--pd-ink); cursor: pointer; }
}

@media (max-width: 1023px) {
}
@media (max-width: 960px) {
    .pd-featured { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
    .pd { font-size: 16px; }
    .pd-wrap { padding: 0 20px; }
    .pd-hero-inner { padding-top: 48px; padding-bottom: 56px; }
    .pd .pd-hero-video { margin-top: 36px; border-radius: 14px; }
    .pd-intro { padding: 44px 0 44px; }
    .pd-section, .pd-latest, .pd-news { padding: 64px 0; }
    .pd .pd-featured--video { gap: 24px; }
    .pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
    .pd .pd-card-title { font-size: 16px; }
}
@media (max-width: 767px) {
    .pd .pd-yt-icon { left: 14px; bottom: 14px; height: 42px; padding: 0 16px 0 13px; border-radius: 21px; font-size: 13px; }
    .pd .pd-yt-icon::before { border-width: 6px 0 6px 10px; }
    /* en el thumb del episodio, el texto de la imagen queda abajo a la izquierda: en mobile el botón es un círculo a la derecha */
    .pd .pd-featured--episode .pd-yt-icon { left: auto; right: 14px; width: 42px; padding: 0; gap: 0; justify-content: center; font-size: 0; transform-origin: right bottom; }  /* solo el ícono de play (el botón ya tiene aria-label) */
    .pd .pd-featured--episode .pd-yt-icon::before { margin-left: 3px; }
    .pd .pd-soon-pill { left: 14px; bottom: 14px; padding: 10px 16px; width: max-content; max-width: calc(100% - 28px); }
    .pd .pd-soon-pill b { font-size: 16px; }
    .pd .pd-soon-pill span { font-size: 13px; }
}
@media (max-width: 420px) {
    .pd .pd-links li { flex-basis: 100%; }
    .pd .pd-hero-pill { font-size: 14px; padding: 10px 14px; }
    .pd .pd-meta { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .pd.pd-sheet, .pd .pd-card .pd-thumb, .pd .pd-thumb img { transition: none; }
    .pd .pd-thumb-link:hover .pd-thumb img, .pd .pd-card:hover .pd-thumb img { transform: none; }
}


