/*
Theme Name: Podcast Con Ingenio
Theme URI: https://podcastconingenio.com
Author: Ingenionic
Description: Tema para podcastconingenio.com. Crea las 12 páginas de la arquitectura, lee los episodios del RSS y trae la marca del podcast (azul marino y dorado).
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: podcast-con-ingenio
*/

/* ============ Fuente ============ */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============ Variables ============ */
:root {
	--navy: #0b2545;
	--navy-900: #071e38;
	--navy-700: #123a63;
	--gold: #d4af37;
	--gold-600: #b8962f;
	--ink: #0f2341;
	--body: #44546b;
	--line: #dfe4ec;
	--grey: #eef1f5;
	--grey-200: #f6f8fa;
	--white: #fff;
	--wrap: 1100px;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(11, 42, 77, .06), 0 8px 24px rgba(11, 42, 77, .06);
	--ease: cubic-bezier(.2, .7, .3, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 86px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
	margin: 0;
	background: var(--white);
	color: var(--body);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.pci-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.pci-skip:focus { left: 0; color: #fff; }

.pci-wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ============ Cabecera ============ */
.pci-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--line);
}
.pci-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.pci-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.pci-logo__icon { width: 40px; height: 40px; flex: none; }
.pci-logo__img { max-height: 44px; width: auto; }
.pci-logo__text { display: grid; line-height: 1; }
.pci-logo__top {
	font-size: .6rem; letter-spacing: .34em; text-transform: uppercase;
	font-weight: 700; color: var(--navy); opacity: .85;
}
.pci-logo__name { font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; }
.pci-logo--light, .pci-logo--light .pci-logo__top { color: #fff; }

.pci-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pci-nav a {
	display: block; padding: 9px 13px; border-radius: 8px;
	font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.pci-nav a:hover { background: var(--grey); }
.pci-nav__cta { background: var(--navy); color: #fff !important; padding-inline: 20px; }
.pci-nav__cta:hover { background: var(--navy-700); }

.pci-menu-toggle {
	display: none; align-items: center; gap: 9px; border: 1px solid var(--line);
	background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: .9rem;
	padding: 9px 14px; border-radius: 9px; cursor: pointer;
}
.pci-menu-toggle__bars, .pci-menu-toggle__bars::before, .pci-menu-toggle__bars::after {
	display: block; width: 17px; height: 2px; background: currentColor; border-radius: 2px;
}
.pci-menu-toggle__bars { position: relative; }
.pci-menu-toggle__bars::before, .pci-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.pci-menu-toggle__bars::before { top: -5px; }
.pci-menu-toggle__bars::after { top: 5px; }

@media (max-width: 860px) {
	.pci-menu-toggle { display: inline-flex; }
	.pci-nav {
		position: absolute; inset: 68px 0 auto; display: none;
		background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px;
		box-shadow: var(--shadow);
	}
	.pci-menu-open .pci-nav { display: block; }
	.pci-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.pci-nav a { padding: 13px 12px; font-size: 1.02rem; }
	.pci-nav__cta { text-align: center; margin-top: 8px; }
}

/* ============ Migas ============ */
.pci-crumbs { border-bottom: 1px solid var(--line); font-size: .86rem; }
.pci-crumbs .pci-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 11px 0; }
.pci-crumbs a { color: var(--body); text-decoration: none; }
.pci-crumbs a:hover { color: var(--navy); text-decoration: underline; }
.pci-crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.pci-crumbs__sep { color: #9fb0c4; }

/* ============ Secciones ============ */
.pci-section { padding: clamp(44px, 6vw, 76px) 0; }
.pci-section > .wp-block-group__inner-container,
.pci-section > .wp-block-columns,
.pci-section > * { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.pci-section.alignfull { width: 100%; }

.pci-kicker {
	color: var(--gold); font-size: .78rem; font-weight: 800;
	letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px;
}
.pci-lead { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: var(--ink); }
.pci-sub { color: var(--body); margin-top: -.4em; }
.pci-center { text-align: center; }
.pci-more { text-align: center; margin-top: 18px; }
.pci-more a { font-weight: 700; color: var(--navy); }
.pci-subhead {
	display: flex; align-items: center; gap: 14px; font-size: .95rem; font-weight: 800;
	letter-spacing: .02em; color: var(--ink); margin: 34px 0 16px;
}
.pci-subhead::before { content: ""; width: 34px; height: 3px; background: var(--gold); border-radius: 2px; flex: none; }

/* ============ Portada: hero ============ */
.pci-hero {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(120% 140% at 85% 20%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%);
}
.pci-hero h1, .pci-hero h2 { color: #fff; }
.pci-hero p { color: rgba(255, 255, 255, .86); }
.pci-hero .pci-lead { color: #fff; }
.pci-hero__text { max-width: 44ch; font-size: .98rem; }
.pci-hero--home { padding-block: clamp(52px, 7vw, 86px); }
/* Todo el hero se alinea a la izquierda del contenedor.
   El !important responde al que aplica WordPress a los bloques centrados. */
.pci-hero > * {
	margin-left: max(20px, calc(50% - var(--wrap) / 2)) !important;
	margin-right: auto !important;
}
.pci-hero--home > * { max-width: min(58%, 620px); }
.pci-hero::after {
	content: ""; position: absolute; right: max(20px, calc(50% - var(--wrap) / 2)); top: 50%;
	width: min(34vw, 300px); aspect-ratio: 1; transform: translateY(-50%);
	background: url("assets/img/icon-light.svg") center/contain no-repeat;
	opacity: .96; pointer-events: none;
}
@media (max-width: 860px) {
	.pci-hero--home > * { max-width: 100%; }
	.pci-hero::after { position: static; transform: none; margin: 26px auto 0; width: 160px; display: block; }
	.pci-hero--home { padding-bottom: 34px; }
}

/* ============ Botones ============ */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 14px 26px; border-radius: 10px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
	transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.wp-block-button__link:hover { transform: translateY(-1px); }
.pci-btn-gold .wp-block-button__link { background: var(--gold); color: var(--navy); }
.pci-btn-gold .wp-block-button__link:hover { background: var(--gold-600); color: var(--navy); }
.pci-btn-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.pci-btn-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.pci-btn-link .wp-block-button__link {
	background: transparent; color: var(--navy); padding: 14px 4px; text-decoration: underline;
	text-underline-offset: 4px;
}
.pci-navy .pci-btn-link .wp-block-button__link, .pci-navy a { color: #fff; }

.pci-ico { display: inline-flex; }
.pci-ico svg { width: 1em; height: 1em; display: block; }

/* ============ Reproductor ============ */
.pci-player { background: var(--grey); border-radius: var(--radius); padding: 22px; }
.pci-player--full { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 0; overflow: hidden; }
.pci-player--full .pci-player__main { padding: 26px; background: var(--grey-200); border-bottom: 1px solid var(--line); }
.pci-player__main { display: flex; gap: 22px; align-items: center; }
.pci-player__art { width: 122px; height: 122px; border-radius: 10px; object-fit: cover; flex: none; background: var(--navy); }
.pci-player__body { min-width: 0; flex: 1; }
.pci-player__kicker {
	color: var(--gold-600); font-size: .72rem; font-weight: 800; letter-spacing: .16em;
	text-transform: uppercase; margin: 0 0 4px;
}
.pci-player__title { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin: 0 0 2px; }
.pci-player__show { color: var(--body); font-size: .92rem; margin: 0 0 10px; }
.pci-player__controls { display: flex; align-items: center; gap: 16px; margin-top: 12px; }

.pci-play, .pci-mute, .pci-ep__play {
	display: inline-grid; place-items: center; border: 0; background: transparent;
	color: var(--navy); cursor: pointer; padding: 0;
}
.pci-play {
	width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; flex: none;
	transition: transform .16s var(--ease), background .16s var(--ease);
}
.pci-play:hover { background: var(--navy-700); transform: scale(1.04); }
.pci-play svg { width: 26px; height: 26px; }
.pci-play__off, .is-playing .pci-play__on { display: none; }
.is-playing .pci-play__off { display: block; }
.pci-mute svg { width: 22px; height: 22px; }
.pci-mute__off, .is-muted .pci-mute__on { display: none; }
.is-muted .pci-mute__off { display: block; }

.pci-progress { flex: 1; min-width: 0; }
.pci-progress input[type="range"] {
	--pct: 0%;
	-webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; cursor: pointer; margin: 0;
}
.pci-progress input[type="range"]::-webkit-slider-runnable-track {
	height: 5px; border-radius: 4px;
	background: linear-gradient(90deg, var(--gold) var(--pct), #c8d2de var(--pct));
}
.pci-progress input[type="range"]::-moz-range-track { height: 5px; border-radius: 4px; background: #c8d2de; }
.pci-progress input[type="range"]::-moz-range-progress { height: 5px; border-radius: 4px; background: var(--gold); }
.pci-progress input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; width: 15px; height: 15px; margin-top: -5px;
	border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.pci-progress input[type="range"]::-moz-range-thumb {
	width: 15px; height: 15px; border-radius: 50%; background: var(--navy);
	border: 3px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.pci-progress__times {
	display: flex; justify-content: space-between; font-size: .8rem;
	color: var(--body); font-variant-numeric: tabular-nums;
}

/* Lista de episodios */
.pci-list { padding: 22px 26px 26px; }
.pci-list__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.pci-list__title { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.pci-list__count { color: var(--body); font-size: .9rem; margin-right: auto; }
.pci-search {
	display: flex; align-items: center; gap: 9px; border: 1px solid var(--line);
	border-radius: 9px; padding: 9px 14px; background: #fff; min-width: 240px; color: var(--body);
}
.pci-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 42, 77, .1); }
.pci-search svg { width: 18px; height: 18px; flex: none; }
.pci-search input { border: 0; outline: 0; font: inherit; font-size: .95rem; width: 100%; background: transparent; color: var(--ink); }
.pci-list__items { list-style: none; margin: 0; padding: 0; max-height: 540px; overflow-y: auto; }
.pci-ep {
	display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
	background: transparent; border: 0; border-top: 1px solid var(--line);
	padding: 11px 12px; cursor: pointer; font: inherit; color: var(--ink); border-radius: 8px;
}
.pci-ep:hover { background: var(--grey-200); }
.pci-ep.is-active { background: #fdf3dc; }
.pci-ep__play { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); flex: none; }
.pci-ep.is-active .pci-ep__play { background: var(--gold); border-color: var(--gold); }
.pci-ep__play svg { width: 15px; height: 15px; }
.pci-ep__art { width: 42px; height: 42px; border-radius: 7px; flex: none; object-fit: cover; background: var(--navy); }
.pci-ep__title { font-size: .95rem; font-weight: 600; flex: 1; min-width: 0; }
.pci-ep.is-active .pci-ep__title { font-weight: 800; }
.pci-ep__dur { color: var(--body); font-size: .83rem; font-variant-numeric: tabular-nums; flex: none; }
.pci-list__empty { padding: 22px 12px; color: var(--body); }
@media (max-width: 680px) {
	.pci-player__main { flex-direction: column; align-items: flex-start; gap: 16px; }
	.pci-player__art { width: 92px; height: 92px; }
	.pci-player__controls { width: 100%; }
	.pci-search { width: 100%; }
	.pci-ep__art { display: none; }
}
.pci-spotify-embed iframe { border-radius: 12px; display: block; }
.pci-admin-note {
	background: #fff8e5; border: 1px solid #f0d58c; border-radius: 10px;
	padding: 12px 16px; font-size: .92rem; color: #6b4e00;
}
.pci-admin-note a { color: #6b4e00; }

/* ============ Plataformas ============ */
.pci-platforms {
	display: grid; gap: 14px; margin-top: 22px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.pci-platform {
	display: flex; align-items: center; gap: 11px; padding: 15px 18px;
	border: 1px solid var(--line); border-radius: 11px; background: #fff;
	text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem;
	transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.pci-platform:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.pci-platform__logo { flex: none; width: 28px; height: 28px; }
.pci-platform__logo svg { width: 100%; height: 100%; display: block; }
.pci-platform__name { flex: 1; }
.pci-platform .pci-ico svg { width: 15px; height: 15px; color: var(--body); }

/* ============ Freddy ============ */
.pci-band { background: var(--grey); }
.pci-host { gap: 40px; align-items: center; }
.pci-host h2 { margin-bottom: .1em; }
.pci-host__role { color: var(--body); font-size: 1.05rem; position: relative; padding-bottom: 18px; }
.pci-host__role::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px;
	background: var(--gold); border-radius: 2px;
}
.pci-host .wp-block-buttons { align-items: center; }

/* ============ Tarjetas de temporada ============ */
.pci-grid { display: grid; gap: 18px; }
.pci-grid--seasons { grid-template-columns: repeat(4, 1fr); }
.pci-grid--micro { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .pci-grid--seasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
	.pci-grid--seasons, .pci-grid--micro { grid-template-columns: 1fr; }
}
.pci-card, .pci-mcard {
	display: block; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; background: #fff; text-decoration: none; color: var(--ink);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.pci-card:hover, .pci-mcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c3cedd; color: var(--ink); }
.pci-card.is-current, .pci-mcard.is-current { border-color: var(--gold); }
.pci-card__top {
	position: relative; display: block; height: 104px;
	background: linear-gradient(135deg, var(--navy-700), var(--navy) 60%, var(--navy-900));
	overflow: hidden;
}
.pci-card__num {
	position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
	font-size: 2.6rem; font-weight: 300; color: rgba(255, 255, 255, .82); line-height: 1; letter-spacing: .02em;
}
.pci-card__art { position: absolute; inset: 0 0 0 auto; height: 100%; width: 72%; object-fit: cover; }
.pci-badge {
	position: absolute; right: 10px; top: 10px; z-index: 2; background: var(--gold); color: var(--navy);
	font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	padding: 4px 9px; border-radius: 999px;
}
.pci-card__body, .pci-mcard__body { display: block; padding: 13px 16px 15px; }
.pci-card__title { display: block; font-size: 1rem; font-weight: 800; color: var(--ink); }
.pci-card__more {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
	font-size: .88rem; font-weight: 600; color: var(--navy); text-decoration: underline;
	text-underline-offset: 3px;
}
.pci-mcard {
	position: relative; display: flex; align-items: center; gap: 16px; min-height: 108px;
	background: linear-gradient(120deg, var(--navy-900), var(--navy) 70%); border-color: transparent;
}
.pci-mcard__art { width: 40%; height: 100%; max-height: 108px; object-fit: cover; flex: none; }
.pci-mcard__body { flex: 1; padding-right: 18px; }
.pci-mcard .pci-card__title { color: #fff; }
.pci-mcard .pci-card__more { color: var(--gold); }

/* ============ Ecosistema ============ */
.pci-navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.pci-navy h2, .pci-navy h3 { color: #fff; }
.pci-navy p { color: rgba(255, 255, 255, .85); }
.pci-navy .pci-kicker { color: var(--gold); }
.pci-eco { gap: 32px; align-items: center; }
.pci-eco .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 782px) { .pci-eco .wp-block-buttons { justify-content: flex-start; } }

/* ============ Suscripción ============ */
.pci-subscribe-section { background: var(--grey-200); border-top: 1px solid var(--line); }
.pci-sub-cols { gap: 36px; align-items: center; }
.pci-subscribe form { display: flex; gap: 10px; flex-wrap: wrap; }
.pci-subscribe input[type="text"], .pci-subscribe input[type="email"] {
	flex: 1; min-width: 200px; padding: 14px 16px; border: 1px solid var(--line);
	border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.pci-subscribe input[type="submit"], .pci-subscribe button[type="submit"] {
	padding: 14px 26px; border: 0; border-radius: 10px; background: var(--gold);
	color: var(--navy); font: inherit; font-weight: 800; cursor: pointer;
}
.pci-subscribe input[type="submit"]:hover, .pci-subscribe button[type="submit"]:hover { background: var(--gold-600); }
.pci-privacy { font-size: .82rem; color: var(--body); margin: 12px 0 0; max-width: 60ch; }

/* ============ Página de temporada ============ */
.pci-hero--season { padding-block: clamp(44px, 5.5vw, 70px); }
.pci-hero--season > * { max-width: min(62%, 640px); }
.pci-hero--listen > * { max-width: min(62%, 640px); }
.pci-hero--season h1 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
.pci-hero--season::after,
.pci-hero--listen::after { background-image: none; }
/* El número grande (01…08, M1) lo inyecta functions.php según la página. */
.pci-is-season .pci-hero--season::before { position: absolute; right: max(20px, calc(50% - var(--wrap) / 2)); top: 50%;
	transform: translateY(-50%); font-size: clamp(5rem, 13vw, 10rem); font-weight: 200;
	color: rgba(255, 255, 255, .22); line-height: 1; pointer-events: none;
}
.pci-hero--season::after {
	content: ""; position: absolute; right: max(20px, calc(50% - var(--wrap) / 2)); top: 50%;
	width: min(30vw, 260px); aspect-ratio: 2/1; transform: translateY(-50%);
	background: var(--pci-art, none) center right/contain no-repeat; opacity: .9;
}
@media (max-width: 860px) {
	.pci-hero--season > *, .pci-hero--listen > * { max-width: 100%; }
	.pci-is-season .pci-hero--season::before, .pci-hero--season::after { display: none; }
}
.pci-hero--listen::after { background-image: url("assets/img/icon-light.svg"); }

.pci-qpq { gap: 0; }
.pci-qpq .wp-block-column { padding: 0 28px; border-left: 1px solid var(--line); }
.pci-qpq .wp-block-column:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 782px) {
	.pci-qpq .wp-block-column { padding: 0 0 22px; border-left: 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
	.pci-qpq .wp-block-column:last-child { border-bottom: 0; }
}
.pci-qpq-section { padding-bottom: clamp(20px, 2vw, 28px); }
.pci-episodes-section { padding-top: clamp(28px, 3vw, 40px); }
.pci-num { font-size: 2.1rem; font-weight: 300; color: var(--gold); line-height: 1; margin: 0 0 6px; }
.pci-qpq h3 { margin-bottom: .35em; }
.pci-qpq p:last-child { margin-bottom: 0; font-size: .98rem; }

.pci-episodes { margin: 20px 0 0; }
.pci-episodes table, .pci-episodes table.has-fixed-layout { border-collapse: collapse; width: 100%; background: #fff; table-layout: auto; }
.pci-episodes th, .pci-episodes td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.pci-episodes thead th {
	background: var(--grey-200); font-size: .82rem; letter-spacing: .04em; color: var(--ink);
	text-transform: none; font-weight: 800; border-bottom: 1px solid var(--line);
}
.pci-episodes tbody td:first-child { width: 70px; font-variant-numeric: tabular-nums; color: var(--body); font-weight: 700; }
.pci-episodes tbody td:last-child { width: 180px; }
.pci-episodes tbody tr:hover { background: var(--grey-200); }
.pci-episodes a { color: var(--navy); font-weight: 600; }
.wp-block-table.pci-episodes { overflow-x: auto; }
@media (max-width: 600px) {
	.pci-episodes th, .pci-episodes td { padding: 11px 10px; font-size: .92rem; }
	.pci-episodes tbody td:last-child { width: auto; }
}

.pci-snav-section { padding-top: 0; }
.pci-snav {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	border-top: 1px solid var(--line); padding-top: 26px;
}
.pci-snav__link {
	display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink);
	font-weight: 700; padding: 10px 14px; border-radius: 10px;
}
.pci-snav__link:hover { background: var(--grey); color: var(--ink); }
.pci-snav__link--next { justify-self: end; text-align: right; }
.pci-snav__link small {
	display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--body);
}
.pci-snav__link .pci-ico svg { width: 18px; height: 18px; }
.pci-snav__home { font-weight: 700; text-decoration: none; color: var(--navy); white-space: nowrap; }
.pci-snav__home:hover { text-decoration: underline; }
@media (max-width: 680px) {
	.pci-snav { grid-template-columns: 1fr; text-align: left; }
	.pci-snav__link--next { justify-self: start; text-align: left; }
	.pci-snav__home { text-align: center; }
}

/* Chips de temporada en /escuchar */
.pci-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 20px; }
.pci-chip {
	display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
	border: 1px solid var(--line); border-radius: 999px; background: #fff;
	text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 600;
}
.pci-chip:hover { border-color: var(--navy); background: var(--grey-200); color: var(--ink); }
.pci-chip .pci-ico svg { width: 14px; height: 14px; }

/* ============ Pie ============ */
.pci-footer { background: var(--navy-900); color: rgba(255, 255, 255, .8); padding: 30px 0; }
.pci-footer__inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pci-footer__handle {
	color: rgba(255, 255, 255, .78); font-size: .92rem; padding-left: 22px;
	border-left: 1px solid rgba(255, 255, 255, .22);
}
.pci-footer__social { display: flex; gap: 20px; list-style: none; margin: 0 0 0 auto; padding: 0; flex-wrap: wrap; }
.pci-footer__group {
	font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
	color: rgba(255, 255, 255, .45); align-self: center;
}
.pci-footer__group:not(:first-child) { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); }
.pci-footer__social a {
	color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .9rem;
	display: inline-flex; align-items: center; gap: 5px;
}
.pci-footer__social a:hover { color: #fff; text-decoration: underline; }
.pci-footer__social .pci-ico svg { width: 13px; height: 13px; }
.pci-footer__domain { font-size: .9rem; color: rgba(255, 255, 255, .62); }
@media (max-width: 860px) {
	.pci-footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
	.pci-footer__handle { padding-left: 0; border-left: 0; }
	.pci-footer__social { margin-left: 0; gap: 16px; }
}

/* ============ Páginas sueltas (entradas, 404) ============ */
.pci-generic { padding: 60px 0; }
.pci-entry { margin-bottom: 40px; }
.pci-hero--404 { padding-block: clamp(60px, 9vw, 120px); }
.pci-hero--404::after { display: none; }

/* ============ Editor ============ */
.editor-styles-wrapper .pci-section { padding: 28px 0; }
.editor-styles-wrapper .pci-hero { border-radius: 10px; }
