/*!
 * EPDL 2026 · Hoolistic
 * Fichas de autor/a y lectura, reproductor, listados, reseñas y formulario.
 */

.epdl-ficha, .epdl-rejilla, .epdl-resenas, .epdl-ficha-nav { --tinta: #2b2622; --gris: #e6e6e6; color: var(--tinta); font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
.epdl-ficha *, .epdl-rejilla *, .epdl-resenas *, .epdl-ficha-nav * { box-sizing: border-box; }
.epdl-ficha a, .epdl-rejilla a, .epdl-resenas a { color: var(--tinta); }
.epdl-ficha a:focus-visible, .epdl-rejilla a:focus-visible, .epdl-resenas a:focus-visible, .epdl-ficha-nav a:focus-visible,
.epdl-ficha button:focus-visible, .epdl-resenas button:focus-visible, .epdl-form input:focus-visible, .epdl-form select:focus-visible, .epdl-form textarea:focus-visible {
	outline: 3px solid var(--tinta); outline-offset: 3px; box-shadow: 0 0 0 6px #fff;
}
.epdl-ficha .screen-reader-text, .epdl-rejilla .screen-reader-text, .epdl-ficha-nav .screen-reader-text, .epdl-resenas .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Palabras caladas: bloque del color --caja, letra en tinta (fondo de cada palabra). */
.epdl-calado { font-family: "EPDL Calado", "Bebas Neue", Impact, sans-serif; font-weight: 400; text-transform: uppercase; line-height: 1.046; letter-spacing: 0; word-spacing: .14em; color: var(--caja, #ced0a4); margin: 0; }
.epdl-calado > span { display: inline-block; background: var(--hueco, #2b2622); }
a.epdl-calado:link, a.epdl-calado:visited, a.epdl-calado:hover, a.epdl-calado:focus { color: var(--caja, #ced0a4); }
a.epdl-calado { text-decoration: none; display: inline-block; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
a.epdl-calado:hover { transform: rotate(-2deg); }

.epdl-migas { font-size: 18px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.epdl-migas a { text-underline-offset: 3px; }

/* ========================================================================
   Reproductor
   ======================================================================== */

.epdl-rp { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; background: var(--rp-fondo, #ced0a4); padding: 28px clamp(18px, 3vw, 44px); color: #2b2622; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
.epdl-rp audio { display: none; }
.epdl-rp__boton { position: relative; width: 156px; height: 156px; flex: none; }
.epdl-rp__anillo { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 50%; font: 700 15px "Barlow Condensed", sans-serif; letter-spacing: 3.2px; fill: #2b2622; }
.epdl-rp.is-playing .epdl-rp__anillo { animation: epdl-giro 16s linear infinite; }
@keyframes epdl-giro { to { transform: rotate(360deg); } }
.epdl-rp__play { position: absolute; left: 28px; top: 28px; width: 100px; height: 100px; border-radius: 50%; border: 0; padding: 0; background: #2b2622; color: var(--rp-fondo, #ced0a4); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.epdl-rp__play:hover { transform: scale(1.04); }
.epdl-rp__play svg, .epdl-rp__mini-play svg { width: 44%; height: 44%; grid-area: 1 / 1; }
.epdl-rp__play svg:last-child, .epdl-rp__mini-play svg:last-child { display: none; }
.epdl-rp.is-playing .epdl-rp__play svg:first-child, .epdl-rp.is-playing .epdl-rp__mini-play svg:first-child { display: none; }
.epdl-rp.is-playing .epdl-rp__play svg:last-child, .epdl-rp.is-playing .epdl-rp__mini-play svg:last-child { display: block; }
.epdl-rp__cuerpo { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.epdl-rp__titulo { --caja: var(--rp-caja); font-size: clamp(26px, 2.4vw, 34px); }
.epdl-rp__onda { position: relative; height: 72px; }
.epdl-rp__onda:focus-within { outline: 3px solid #2b2622; outline-offset: 6px; box-shadow: 0 0 0 9px #fff; }
.epdl-rp__barras { position: absolute; inset: 0; display: flex; align-items: center; gap: 3px; pointer-events: none; }
.epdl-rp__barras span { flex: 1 1 0; min-width: 2px; height: calc(var(--h, .5) * 100%); background: #7a6f58; border-radius: 3px; transition: background-color .15s; }
.epdl-rp__barras span.is-on { background: #2b2622; }
.epdl-rp__pos { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.epdl-rp__pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.epdl-rp__tiempo { margin: 0; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.epdl-rp__controles { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.epdl-rp__btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #2b2622; background: transparent; color: #2b2622; display: grid; place-items: center; cursor: pointer; padding: 0; font: 700 20px "Barlow Condensed", sans-serif; transition: background-color .15s, color .15s; }
.epdl-rp__btn svg { width: 26px; height: 26px; }
.epdl-rp__btn svg text { font-family: "Barlow Condensed", sans-serif; }
.epdl-rp__btn:hover { background: #2b2622; color: var(--rp-fondo, #ced0a4); }
.epdl-rp__vel { width: auto; min-width: 64px; padding: 0 14px; border-radius: 24px; }
.epdl-rp__leer { font-size: 19px; font-weight: 700; padding: 10px 4px; color: #2b2622; text-underline-offset: 4px; }
.epdl-rp :focus-visible { outline: 3px solid #2b2622; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }

/* Minirreproductor fijo mientras suena y el reproductor queda fuera de la vista */
.epdl-rp__mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9970; background: #2b2622; color: #fff; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 14px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
.epdl-rp__mini[hidden] { display: none; }
.epdl-rp__mini-barra { grid-column: 1 / -1; height: 4px; background: #6b6457; border-radius: 2px; position: relative; overflow: hidden; }
.epdl-rp__mini-barra span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--rp-fondo, #ced0a4); }
.epdl-rp__mini-play { width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; background: var(--rp-fondo, #ced0a4); color: #2b2622; display: grid; place-items: center; cursor: pointer; }
.epdl-rp__mini-txt { margin: 0; min-width: 0; font-size: 17px; font-weight: 700; line-height: 1.15; }
.epdl-rp__mini-txt > span { font-weight: 500; font-variant-numeric: tabular-nums; }
.epdl-rp__mini-cerrar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.epdl-rp__mini-cerrar svg { width: 18px; height: 18px; }
.epdl-rp__mini :focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #2b2622; }
@media (min-width: 768px) { .epdl-rp__mini { left: auto; right: 24px; bottom: 24px; width: 420px; border-radius: 4px; } }

/* ========================================================================
   Ficha de autor/a
   ======================================================================== */

.epdl-ficha { background: var(--gris); }
.epdl-ficha__cab { max-width: 1280px; margin: 0 auto; padding: 32px 5% 56px; display: flex; flex-direction: column; gap: 28px; }
.epdl-ficha__foto { position: relative; border-radius: clamp(36px, 6vw, 90px); overflow: hidden; height: clamp(300px, 36vw, 520px); background: #cfcfcf; }
.epdl-ficha__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: 30% 30%; }
.epdl-ficha__ko { position: absolute; right: 6%; top: 14%; margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-family: "EPDL Calado", "Bebas Neue", sans-serif; font-size: clamp(40px, 6.6vw, 104px); line-height: 1.046; text-transform: uppercase; color: #ededed; }
.epdl-ficha__ko span { display: block; white-space: nowrap; }
/* Sin retrato: fondo de papel en tinta para que el nombre calado se lea (contraste AA) */
.epdl-ficha__foto--vacia { background: #2b2622 url(../img/textura-papel.webp) center / cover; background-blend-mode: multiply; }
.epdl-ficha__foto--vacia .epdl-ficha__ko { color: #ced0a4; }
.epdl-ficha__nombre { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.epdl-ficha__nombre h1 { margin: 0; font-family: inherit; font-size: clamp(34px, 3.4vw, 46px); font-weight: 700; line-height: 1.05; color: var(--tinta); text-transform: none; letter-spacing: 0; }
.epdl-ficha__nombre p { margin: 0; font-size: 20px; font-weight: 600; }

.epdl-ficha__mitades { display: flex; flex-wrap: wrap; }
.epdl-ficha__texto, .epdl-ficha__relacion { flex: 1 1 480px; min-width: 0; background: var(--c); padding: 48px 5% 56px; display: flex; flex-direction: column; gap: 32px; }
.epdl-ficha__texto h2 { font-size: clamp(34px, 3.4vw, 46px); }
.epdl-ficha__relacion h2 { font-size: clamp(26px, 2.2vw, 30px); }
.epdl-ficha__parrafos { max-width: 62ch; font-size: clamp(18px, 1.45vw, 21px); font-weight: 500; line-height: 1.45; }
.epdl-ficha__parrafos p { margin: 0 0 .8em; }
.epdl-ficha__nota { margin: -16px 0 0; font-size: 16px; font-weight: 600; }
.epdl-ficha__enlaces h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.epdl-ficha__enlaces ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.epdl-ficha__enlaces a { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 600; text-underline-offset: 3px; padding: 6px 0; }
.epdl-ficha__enlaces svg { width: 16px; height: 16px; flex: none; }
.epdl-ficha__libro { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; }
.epdl-ficha__portada-link { display: block; flex: none; }
.epdl-ficha__portada { display: block; width: 190px !important; height: auto !important; transform: rotate(-3deg); box-shadow: 0 14px 30px rgba(43, 38, 34, .3); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.epdl-ficha__portada-link:hover .epdl-ficha__portada { transform: rotate(0) scale(1.03); }
.epdl-ficha__libro > div { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.epdl-ficha__libro-t { margin: 0; font-size: 30px; font-weight: 700; font-style: italic; line-height: 1.1; }
.epdl-ficha__libro-t a { text-decoration: none; }
.epdl-ficha__libro-t a:hover { text-decoration: underline; }
.epdl-ficha__libro-d { margin: 0; font-size: 18px; font-weight: 600; }
.epdl-ficha__cta { font-size: 24px; padding: 6px 0; }

/* ========================================================================
   Ficha de lectura
   ======================================================================== */

.epdl-ficha__hero { overflow: hidden; }
.epdl-ficha__hero-in { max-width: 1280px; margin: 0 auto; padding: 40px 5% 0; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-end; }
.epdl-ficha__collage { position: relative; flex: 0 1 380px; min-width: 260px; height: 520px; }
.epdl-ficha__recorte { position: absolute; right: -40px; bottom: 0; width: 280px !important; height: auto; }
.epdl-ficha__portada-grande { position: absolute; left: 0; bottom: 56px; width: 270px !important; height: auto !important; transform: rotate(-4deg); box-shadow: 0 18px 36px rgba(43, 38, 34, .35); }
.epdl-ficha__suelo { position: absolute; left: -60px; bottom: -34px; width: 520px !important; max-width: none !important; height: auto; }
.epdl-ficha__detalle { position: absolute; right: -70px; top: 24px; width: 190px !important; height: auto; opacity: .95; }
.epdl-ficha__collage--nube .epdl-ficha__recorte { width: 210px !important; bottom: 250px; right: -20px; }
.epdl-ficha__collage--nube .epdl-ficha__detalle { top: auto; bottom: 30px; right: -60px; width: 200px !important; }
.epdl-ficha__collage--salto .epdl-ficha__recorte { width: 200px !important; bottom: 30px; right: -50px; }
.epdl-ficha__collage--salto .epdl-ficha__detalle { right: auto; left: 150px; top: 0; width: 160px !important; }
.epdl-ficha__collage--andando .epdl-ficha__recorte { width: 230px !important; right: -60px; }
@media (prefers-reduced-motion: no-preference) {
	.epdl-ficha__detalle { animation: epdl-ficha-flota 7s ease-in-out infinite alternate; }
	@keyframes epdl-ficha-flota { to { transform: translate(-10px, 8px) rotate(-3deg); } }
}
.epdl-ficha__hero-txt { flex: 1 1 460px; min-width: 0; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.epdl-ficha__titulo { font-size: clamp(42px, 5.4vw, 84px); line-height: 1.12; }
.epdl-ficha__de { margin: 0; font-size: 26px; font-weight: 600; }
.epdl-ficha__de a { font-weight: 700; text-underline-offset: 4px; }
.epdl-ficha__chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.epdl-ficha__chips li { background: #fef69f; padding: 4px 12px; font-size: 17px; font-weight: 700; }
.epdl-ficha__rp-wrap { max-width: 1280px; margin: 0 auto; padding: 40px 5%; }
.epdl-ficha__persona { display: flex; align-items: center; gap: 18px; text-decoration: none; padding: 4px 0; }
.epdl-ficha__avatar { width: 112px !important; height: 112px !important; border-radius: 50%; object-fit: cover; object-position: 30% 30%; flex: none; }
.epdl-ficha__persona > span { display: flex; flex-direction: column; gap: 2px; }
.epdl-ficha__persona-n { font-size: 30px; font-weight: 700; line-height: 1.05; text-decoration: underline; text-underline-offset: 4px; }
.epdl-ficha__persona-s { font-size: 18px; font-weight: 600; }
.epdl-sin-imagen { display: grid; place-items: center; background: #ced0a4; font-family: "EPDL Calado", "Bebas Neue", sans-serif; color: #2b2622; text-align: center; padding: 12px; }
span.epdl-ficha__portada-grande.epdl-sin-imagen, span.epdl-ficha__portada.epdl-sin-imagen { aspect-ratio: 2 / 3; font-size: 22px; }
span.epdl-ficha__portada.epdl-sin-imagen { width: 190px; }

/* Navegación anterior / siguiente */
.epdl-ficha-nav { background: #2b2622; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px 5%; }
.epdl-ficha-nav a { font-size: clamp(20px, 1.8vw, 26px); padding: 6px 0; }
.epdl-ficha-nav a:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px #2b2622; }

/* ========================================================================
   Listados
   ======================================================================== */

.epdl-rejilla { max-width: 1280px; margin: 0 auto; padding: 48px 5% 64px; display: flex; flex-direction: column; gap: 28px; }
.epdl-rejilla h2 { font-size: clamp(32px, 3vw, 44px); }
.epdl-rejilla__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 24px; }
.epdl-rejilla--autores .epdl-rejilla__lista { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.epdl-rejilla--libros .epdl-rejilla__lista { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.epdl-autor-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; height: 100%; }
.epdl-autor-card__foto { display: block; aspect-ratio: 1; border-radius: 32px; overflow: hidden; background: #ced0a4; }
.epdl-autor-card__foto img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 25%; filter: grayscale(1); transition: filter .35s, transform .6s cubic-bezier(.16, .84, .3, 1); }
.epdl-autor-card:hover .epdl-autor-card__foto img, .epdl-autor-card:focus-visible .epdl-autor-card__foto img { filter: none; transform: scale(1.04); }
.epdl-autor-card__foto .epdl-sin-imagen { width: 100%; height: 100%; font-size: 72px; }
.epdl-autor-card__nombre { font-size: 22px; line-height: 1.25; }
.epdl-autor-card__libro { font-size: 18px; font-weight: 500; font-style: italic; }
.epdl-libro-card { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; text-decoration: none; padding: 12px; margin: -12px; transition: background-color .2s; }
.epdl-libro-card:hover { background: rgba(255, 255, 255, .55); }
.epdl-libro-card__portada { width: 110px !important; height: auto !important; box-shadow: 0 8px 18px rgba(43, 38, 34, .22); }
span.epdl-libro-card__portada { aspect-ratio: 2 / 3; font-size: 14px; }
.epdl-libro-card__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.epdl-libro-card__t { font-size: 24px; font-weight: 700; font-style: italic; line-height: 1.1; }
.epdl-libro-card__a { font-size: 18px; font-weight: 600; }
.epdl-libro-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.epdl-chip { background: #fef69f; padding: 2px 9px; font-size: 15px; font-weight: 700; }

/* ========================================================================
   Reseñas y formulario
   ======================================================================== */

.epdl-resenas { max-width: 1280px; margin: 0 auto; padding: 48px 5% 64px; display: flex; flex-direction: column; gap: 22px; background: transparent; }
.epdl-resenas__cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.epdl-resenas__cab h2 { font-size: clamp(30px, 3vw, 40px); }
.epdl-resenas__cta { font-size: 24px; padding: 8px 0; }
.epdl-resenas__intro, .epdl-resenas__n { max-width: 70ch; font-size: 19px; font-weight: 500; margin: 0; }
.epdl-resenas__intro p { margin: 0 0 .7em; }
.epdl-resenas__cta { background: none; border: 0; cursor: pointer; }
.epdl-resenas__cta[aria-expanded="true"] { opacity: .55; }
.epdl-resenas__car { position: relative; }
.epdl-resenas__car .epdl-car__ctrl { justify-content: flex-end; margin-bottom: 12px; }
.epdl-resenas__lista { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.epdl-resenas__lista::-webkit-scrollbar { display: none; }
.epdl-resena { scroll-snap-align: start; background: #fff; padding: 22px 24px; border-top: 6px solid #a0c49a; display: flex; flex-direction: column; gap: 6px; }
.epdl-resena:nth-child(3n+2) { border-top-color: #fef69f; }
.epdl-resena:nth-child(3n) { border-top-color: #c3914a; }
.epdl-resena__texto { max-height: 15.5em; overflow: hidden; position: relative; }
.epdl-resena__texto.is-corto::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.epdl-resena.is-abierta .epdl-resena__texto { max-height: none; }
.epdl-resena.is-abierta .epdl-resena__texto::after { display: none; }
.epdl-resena__mas { align-self: flex-start; margin-top: 8px; background: none; border: 0; padding: 4px 0; font: 700 18px "Barlow Condensed", sans-serif; color: #2b2622; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.epdl-resena__mas:hover { background: #fef69f; }
.epdl-form[hidden] { display: none; }
@media (max-width: 1024px) { .epdl-resenas__lista { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .epdl-resenas__lista { grid-auto-columns: 88%; gap: 14px; } }
.epdl-resena h3 { margin: 0 0 4px; font-size: 24px; font-weight: 700; line-height: 1.15; }
.epdl-resena h4 { margin: 8px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.epdl-resena p { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.4; }
.epdl-resena .epdl-resena__firma { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.epdl-resena__firma span { font-weight: 500; }
.epdl-resenas__cerrado { font-size: 19px; font-weight: 600; background: #fff; padding: 16px 20px; margin: 0; }

.epdl-aviso { padding: 16px 20px; font-size: 18px; font-weight: 500; }
.epdl-aviso p { margin: 0; }
.epdl-aviso ul { margin: 8px 0 0; padding-left: 20px; }
.epdl-aviso--ok { background: #d9eadf; border-left: 6px solid #1f5f4a; }
.epdl-aviso--error { background: #f7dfe2; border-left: 6px solid #8a1f2d; }
.epdl-aviso--error a { color: #6e1622; font-weight: 700; }

.epdl-form { background: #ced0a4; padding: 32px clamp(18px, 4vw, 48px) 36px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 24px; }
.epdl-form h3 { font-size: clamp(26px, 2.4vw, 32px); }
.epdl-form__ayuda { margin: 0; max-width: 70ch; font-size: 18px; font-weight: 500; }
.epdl-form__campo { display: flex; flex-direction: column; gap: 6px; max-width: 900px; }
.epdl-form__campo label, .epdl-form__check label { font-size: 19px; font-weight: 700; }
.epdl-form__nota { margin: 0; font-size: 16px; font-weight: 500; }
.epdl-form input[type="text"], .epdl-form input[type="email"], .epdl-form input[type="tel"], .epdl-form input[type="url"], .epdl-form input[type="file"], .epdl-form select, .epdl-form textarea {
	width: 100%; font: 500 18px/1.35 "Barlow Condensed", "Arial Narrow", sans-serif; color: #2b2622; background: #fff; border: 2px solid #2b2622; border-radius: 0; padding: 12px 14px; min-height: 48px;
}
.epdl-form textarea { resize: vertical; }
.epdl-form__campo--clave input { max-width: 360px; font-size: 20px; letter-spacing: .06em; }
.epdl-form .is-error input, .epdl-form .is-error select, .epdl-form .is-error textarea { border-color: #8a1f2d; border-width: 3px; }
.epdl-form__error { margin: 0; font-size: 16px; font-weight: 700; color: #6e1622; }
.epdl-form__check { display: flex; gap: 12px; align-items: flex-start; max-width: 900px; }
.epdl-form__check input { width: 26px; height: 26px; margin: 2px 0 0; flex: none; accent-color: #2b2622; }
.epdl-form__check.is-error label { color: #6e1622; }
.epdl-form__trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.epdl-form__enviar { align-self: flex-start; background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 30px; }
.epdl-form__enviar:hover { transform: rotate(-2deg); }

/* ========================================================================
   Móvil
   ======================================================================== */

@media (max-width: 767px) {
	.epdl-ficha__cab { padding: 18px 16px 32px; gap: 18px; }
	.epdl-ficha__foto { height: 300px; border-radius: 40px; }
	.epdl-ficha__ko { top: auto; bottom: 18px; right: 16px; font-size: 40px; gap: 4px; }
	.epdl-ficha__nombre { flex-direction: column; gap: 2px; }
	.epdl-ficha__nombre p { font-size: 18px; }
	.epdl-ficha__texto, .epdl-ficha__relacion { flex-basis: 100%; padding: 32px 18px 36px; gap: 22px; }
	.epdl-ficha__parrafos { font-size: 18px; }
	.epdl-ficha__portada { width: 170px !important; }
	.epdl-ficha__hero-in { padding: 18px 16px 0; gap: 16px; flex-direction: column-reverse; align-items: stretch; }
	.epdl-ficha__hero-txt { padding-bottom: 0; flex-basis: auto; }
	.epdl-ficha__collage { flex-basis: auto; min-width: 0; height: 340px; }
	.epdl-ficha__recorte { width: 210px !important; right: -20px; }
	.epdl-ficha__portada-grande { width: 190px !important; left: 14px; bottom: 40px; }
	.epdl-ficha__suelo { width: 470px !important; left: -40px; bottom: -24px; }
	.epdl-ficha__detalle { width: 130px !important; right: 0; top: 0; }
	.epdl-ficha__collage--nube .epdl-ficha__recorte { width: 170px !important; bottom: 110px; right: -10px; }
	.epdl-ficha__collage--nube .epdl-ficha__detalle { bottom: 10px; right: 0; width: 140px !important; }
	.epdl-ficha__collage--salto .epdl-ficha__recorte { width: 140px !important; bottom: 20px; right: 0; }
	.epdl-ficha__collage--salto .epdl-ficha__detalle { left: 160px; width: 110px !important; }
	.epdl-ficha__collage--andando .epdl-ficha__recorte { width: 160px !important; right: -10px; }
	.epdl-ficha__titulo { font-size: 42px; line-height: 1.14; }
	.epdl-ficha__de { font-size: 21px; }
	.epdl-ficha__rp-wrap { padding: 18px 16px 32px; }
	.epdl-ficha__avatar { width: 88px !important; height: 88px !important; }
	.epdl-ficha__persona-n { font-size: 26px; }

	.epdl-rp { flex-direction: column; align-items: stretch; padding: 22px 18px 20px; gap: 16px; }
	.epdl-rp__boton { align-self: center; width: 148px; height: 148px; order: 2; }
	.epdl-rp__play { left: 26px; top: 26px; width: 96px; height: 96px; }
	.epdl-rp__cuerpo { display: contents; }
	.epdl-rp__titulo { order: 1; font-size: 26px; }
	.epdl-rp__onda { order: 3; height: 60px; }
	.epdl-rp__barras { gap: 2px; }
	.epdl-rp__pie { order: 4; flex-direction: column; }
	.epdl-rp__tiempo { align-self: center; font-size: 18px; }
	.epdl-rp__controles { justify-content: center; }
	.epdl-rp__btn { width: 52px; height: 52px; }
	.epdl-rp__vel { min-width: 72px; }

	.epdl-ficha-nav { flex-direction: column; padding: 24px 18px; }
	.epdl-ficha-nav a:last-child { align-self: flex-end; }

	.epdl-rejilla { padding: 32px 16px 48px; }
	.epdl-rejilla--autores .epdl-rejilla__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.epdl-rejilla--libros .epdl-rejilla__lista { grid-template-columns: 1fr; }
	.epdl-autor-card__foto { border-radius: 22px; }
	.epdl-autor-card__nombre { font-size: 18px; }
	.epdl-libro-card { grid-template-columns: 88px 1fr; }
	.epdl-libro-card__portada { width: 88px !important; }
	.epdl-libro-card__t { font-size: 22px; }

	.epdl-resenas { padding: 32px 16px 48px; }
	.epdl-form { padding: 24px 18px 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.epdl-rp.is-playing .epdl-rp__anillo { animation: none; }
	.epdl-rp *, .epdl-ficha *, .epdl-rejilla * { transition: none !important; }
}

/* Hueco para el logo y el botón «Menú» cuando la página empieza con un bloque de texto */
.elementor-widget-epdl-menu + .elementor-widget-epdl-columnas .epdl-cols__col { padding-top: max(120px, calc(9 * var(--cq, 1vw))); }
@media (max-width: 1300px) {
	.elementor-widget-epdl-menu + .elementor-widget-epdl-ficha-autor .epdl-ficha__cab { padding-top: 96px; }
}
@media (max-width: 767px) {
	.elementor-widget-epdl-menu + .elementor-widget-epdl-columnas .epdl-cols__col:first-child { padding-top: 96px; }
	.elementor-widget-epdl-menu + .elementor-widget-epdl-columnas .epdl-cols__col:not(:first-child) { padding-top: calc(9 * var(--cq, 1vw)); }
	.elementor-widget-epdl-menu + .elementor-widget-epdl-ficha-libro .epdl-ficha__hero-in { padding-top: 92px; }
}

/* Formularios de concursos y Red MED */
.epdl-formulario { padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px); background: #e6e6e6; scroll-margin-top: 20px; }
.epdl-formulario > h2 { max-width: 1000px; margin: 0 auto 20px; font-size: clamp(30px, 3.4vw, 46px); }
.epdl-formulario > .epdl-aviso, .epdl-formulario > .epdl-form, .epdl-formulario > .epdl-resenas__cerrado { max-width: 1000px; margin-left: auto; margin-right: auto; }
.epdl-form__grupo { border: 0; padding: 0; margin: 0; }
.epdl-form__grupo legend { padding: 0; margin-bottom: 8px; font-size: 19px; font-weight: 700; }
.epdl-form__opcion { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 18px; font-weight: 500 !important; cursor: pointer; }
.epdl-form__opcion input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: #2b2622; }
.epdl-form .is-error.epdl-form__grupo legend { color: #6e1622; }
.epdl-form input[type="file"] { padding: 10px; cursor: pointer; }
.epdl-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 2px solid #2b2622; background: #fef69f; color: #2b2622; font: 700 16px/1 "Barlow Condensed", "Arial Narrow", sans-serif; cursor: pointer; }
.epdl-form__subiendo { font-weight: 700; }
.epdl-form__enviar[disabled] { opacity: .6; cursor: progress; }

/* Texto largo */
.epdl-texto { background: var(--epdl-bg, #e6e6e6); padding: clamp(40px, 6vw, 88px) clamp(16px, 5vw, 64px); }
.epdl-texto__in { max-width: 860px; margin: 0 auto; }
.epdl-texto__t { margin: 0 0 24px; font-size: clamp(30px, 3.6vw, 50px); }
.epdl-texto__c { font: 500 19px/1.6 "Barlow Condensed", "Arial Narrow", sans-serif; color: #2b2622; }
.epdl-texto__c h2, .epdl-texto__c h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; line-height: 1.2; margin: 1.6em 0 .5em; color: #2b2622; }
.epdl-texto__c h2 { font-size: 26px; }
.epdl-texto__c h3 { font-size: 22px; }
.epdl-texto__c p, .epdl-texto__c ul, .epdl-texto__c ol { margin: 0 0 1em; }
.epdl-texto__c li { margin-bottom: .35em; }
.epdl-texto__c a { color: #2b2622; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 700; }
.epdl-texto__c a:hover { background: #fef69f; }
.epdl-texto__c table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 17px; }
.epdl-texto__c th, .epdl-texto__c td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid rgba(43, 38, 34, .3); }
.epdl-texto__c th { font-weight: 700; }
.epdl-texto__c .epdl-pendiente { background: #fef69f; padding: 0 4px; }

/* Descargas */
.epdl-descargas { background: #fff; padding: clamp(36px, 5vw, 64px) clamp(16px, 5vw, 64px); }
.epdl-descargas h2 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 40px); }
.epdl-descargas__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.epdl-descargas__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 18px; background: #2b2622; color: #fef69f; text-decoration: none; font: 700 20px/1.2 "Barlow Condensed", "Arial Narrow", sans-serif; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.epdl-descargas__btn:hover { transform: rotate(-1.5deg); color: #fff; }
.epdl-descargas__btn:focus-visible { outline: 3px solid #2b2622; outline-offset: 3px; box-shadow: 0 0 0 6px #fef69f; }
.epdl-descargas__f { font-weight: 500; color: #ced0a4; }
.epdl-descargas__nota { margin: 16px 0 0; font-size: 17px; font-weight: 500; }
.elementor-widget-epdl-menu + .elementor-widget-epdl-autores-texto .epdl-split__body,
.elementor-widget-epdl-menu + .elementor-widget-epdl-autores-texto .epdl-split__media { padding-top: max(120px, calc(9 * var(--cq, 1vw))); }
.elementor-widget-epdl-menu + .elementor-widget-epdl-texto .epdl-texto { padding-top: max(130px, calc(10 * var(--cq, 1vw))); }
@media (max-width: 767px) {
	.elementor-widget-epdl-menu + .elementor-widget-epdl-autores-texto .epdl-split__media { padding-top: calc(6 * var(--cq, 1vw)); }
	.elementor-widget-epdl-menu + .elementor-widget-epdl-autores-texto .epdl-split__body { padding-top: 96px; }
}
/* Enlaces dentro de textos y formularios: siempre en tinta y subrayados (el tema los pinta en rosa) */
.epdl-form a, .epdl-aviso a, .epdl-resenas__intro a, .epdl-split__text a, .epdl-cols__text a, .epdl-descargas__nota a { color: #2b2622; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 700; }
.epdl-form a:hover, .epdl-split__text a:hover, .epdl-cols__text a:hover { background: #fef69f; color: #2b2622; }
@media (max-width: 480px) {
	.epdl-form__enviar { font-size: clamp(20px, 6.6vw, 30px); max-width: 100%; }
	.epdl-calado > span { max-width: 100%; overflow-wrap: anywhere; }
}

/* Reproductor compacto (carrusel de la portada) */
.epdl-rp--compacto { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 14px; padding: 0; background: transparent; }
.epdl-rp--compacto .epdl-rp__play { position: static; width: 58px; height: 58px; flex: none; color: var(--rp-fondo, #fef69f); }
.epdl-rp--compacto .epdl-rp__cuerpo { display: flex; flex: 1 1 auto; gap: 4px; }
.epdl-rp--compacto .epdl-rp__onda { height: 40px; }
.epdl-rp--compacto .epdl-rp__barras { gap: 2px; }
.epdl-rp--compacto .epdl-rp__barras span { background: rgba(43, 38, 34, .35); }
.epdl-rp--compacto .epdl-rp__barras span.is-on { background: #2b2622; }
.epdl-rp--compacto .epdl-rp__tiempo { font-size: 16px; align-self: auto; }
.epdl-rp--compacto .epdl-rp__onda:focus-within { outline-offset: 3px; box-shadow: none; }

/* Carrusel de lecturas */
.epdl-car { background: var(--epdl-bg, #e6e6e6); padding: clamp(40px, 5vw, 80px) 0 clamp(40px, 5vw, 72px); color: #2b2622; overflow: hidden; }
.epdl-car__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 5vw, 72px); margin-bottom: clamp(20px, 2.4vw, 32px); }
.epdl-car__t { font-size: clamp(30px, 3.4vw, 48px); }
.epdl-car__ctrl { display: flex; gap: 10px; }
.epdl-car__btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #2b2622; background: transparent; color: #2b2622; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .15s, color .15s; }
.epdl-car__btn:hover { background: #2b2622; color: #fef69f; }
.epdl-car__btn svg { width: 24px; height: 24px; grid-area: 1 / 1; }
.epdl-car__btn[data-car="pausa"] svg:last-child, .epdl-car__btn[aria-pressed="true"] svg:first-child { display: none; }
.epdl-car__btn[aria-pressed="true"] svg:last-child { display: block; }
.epdl-car__btn:focus-visible, .epdl-car a:focus-visible { outline: 3px solid #2b2622; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.epdl-car__pista { list-style: none; margin: 0; padding: 4px clamp(16px, 5vw, 72px) 12px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * clamp(16px, 5vw, 72px) - 2 * 24px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 clamp(16px, 5vw, 72px); scrollbar-width: none; overscroll-behavior-x: contain; }
.epdl-car__pista::-webkit-scrollbar { display: none; }
.epdl-car__item { scroll-snap-align: start; background: var(--c, #fef69f); border-radius: 22px; padding: 22px; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 18px 18px; align-content: start; }
.epdl-car__portada { grid-row: 1; display: block; align-self: start; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.epdl-car__item:hover .epdl-car__portada { transform: rotate(-3deg); }
.epdl-car__img { width: 112px !important; height: auto; box-shadow: 0 10px 22px rgba(43, 38, 34, .28); }
.epdl-car__img.epdl-sin-imagen { display: grid; place-items: center; aspect-ratio: 2 / 3; background: #fff; font-size: 14px; }
.epdl-car__txt { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.epdl-car__titulo { font-family: "Bebas Neue", "Barlow Condensed", sans-serif !important; font-size: clamp(26px, 2.1vw, 32px) !important; line-height: 1 !important; }
.epdl-car__titulo a { color: #2b2622; text-decoration: none; }
.epdl-car__titulo a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.epdl-car__autor { display: flex; align-items: center; gap: 10px; color: #2b2622; text-decoration: none; font-size: 18px; font-weight: 700; line-height: 1.15; }
.epdl-car__autor:hover span { text-decoration: underline; text-underline-offset: 3px; }
.epdl-car__avatar { width: 44px !important; height: 44px !important; border-radius: 50%; object-fit: cover; flex: none; filter: grayscale(1); }
.epdl-car__item .epdl-rp--compacto { grid-column: 1 / -1; align-self: end; }
.epdl-car__pie { padding: 0 clamp(16px, 5vw, 72px); margin: clamp(18px, 2vw, 28px) 0 0 !important; }
.epdl-car__todas { font-size: clamp(22px, 2vw, 28px); padding: 6px 0; }
@media (max-width: 1024px) {
	.epdl-car__pista { grid-auto-columns: calc((100% - 2 * clamp(16px, 5vw, 72px) - 24px) / 2); }
}
@media (max-width: 640px) {
	.epdl-car__pista { grid-auto-columns: 84%; gap: 14px; }
	.epdl-car__item { grid-template-columns: 88px minmax(0, 1fr); padding: 18px; }
	.epdl-car__img { width: 88px !important; }
	.epdl-car__btn { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.epdl-car__pista { scroll-behavior: auto; }
	.epdl-car * { transition: none !important; }
}

/* Crédito de foto con licencia libre */
.epdl-ficha__credito { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 2; margin: 0; max-width: 70%; padding: 3px 10px; background: rgba(43, 38, 34, .78); color: #fff; font: 500 13px/1.3 "Barlow Condensed", sans-serif; border-radius: 10px; text-align: center; }
.epdl-ficha__credito a { color: #fff; text-decoration: underline; }
.epdl-resena__mas[hidden], .epdl [hidden] { display: none !important; }
