/*
Theme Name: EDP 2026
Theme URI: https://esdepolitologos.com/
Author: Es De Politólogos
Description: Tema editorial, liviano y accesible para Es De Politólogos.
Version: 0.6.9
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: edp-2026
*/

:root {
  --edp-ink: #111827;
  --edp-muted: #5f6b7a;
  --edp-paper: #f5f4f0;
  --edp-white: #ffffff;
  --edp-line: #d9dde3;
  --edp-blue: #123f70;
  --edp-blue-dark: #0a294b;
  --edp-cyan: #1a91c8;
  --edp-sky: #e8f4f8;
  --edp-accent: #b7ca64;
  --edp-radius: 18px;
  --edp-shadow: 0 18px 50px rgba(10, 41, 75, 0.11);
  --edp-shell: min(1180px, calc(100vw - 40px));
  --edp-serif: Georgia, "Times New Roman", serif;
  --edp-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--edp-paper);
  color: var(--edp-ink);
  font-family: var(--edp-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

/*
 * Sistema tipográfico EDP.
 *
 * Elementor conserva la estructura de algunas páginas históricas, pero su kit
 * global no debe introducir Poppins o Montserrat en la identidad del portal.
 * Inter se reserva para interfaz y texto funcional; Georgia, para títulos y
 * lectura editorial.
 */
body.wp-theme-edp-2026,
body.wp-theme-edp-2026 a,
body.wp-theme-edp-2026 button,
body.wp-theme-edp-2026 input,
body.wp-theme-edp-2026 textarea,
body.wp-theme-edp-2026 select,
body.wp-theme-edp-2026 label,
body.wp-theme-edp-2026 p,
body.wp-theme-edp-2026 li,
body.wp-theme-edp-2026 dt,
body.wp-theme-edp-2026 dd {
  font-family: var(--edp-sans) !important;
}
body.wp-theme-edp-2026 #edp-content h1,
body.wp-theme-edp-2026 #edp-content h2,
body.wp-theme-edp-2026 #edp-content h3,
body.wp-theme-edp-2026 #edp-content h4,
body.wp-theme-edp-2026 #edp-content h5,
body.wp-theme-edp-2026 #edp-content h6,
body.wp-theme-edp-2026 #edp-content h1 *,
body.wp-theme-edp-2026 #edp-content h2 *,
body.wp-theme-edp-2026 #edp-content h3 *,
body.wp-theme-edp-2026 #edp-content h4 *,
body.wp-theme-edp-2026 #edp-content h5 *,
body.wp-theme-edp-2026 #edp-content h6 *,
body.wp-theme-edp-2026 .edp-footer h2 {
  font-family: var(--edp-serif) !important;
}
body.wp-theme-edp-2026 #edp-content .edp-content,
body.wp-theme-edp-2026 #edp-content .edp-content p,
body.wp-theme-edp-2026 #edp-content .edp-content li,
body.wp-theme-edp-2026 #edp-content .edp-content a,
body.wp-theme-edp-2026 #edp-content .edp-content blockquote,
body.wp-theme-edp-2026 #edp-content .edp-content figcaption {
  font-family: var(--edp-serif) !important;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--edp-blue); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--edp-cyan); outline-offset: 3px; }

.edp-shell { width: var(--edp-shell); margin-inline: auto; }
.edp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.edp-skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 9999; transform: translateY(-160%);
  background: var(--edp-white); color: var(--edp-blue-dark); padding: 10px 14px; border-radius: 8px;
}
.edp-skip-link:focus { transform: translateY(0); }

.edp-topbar { background: var(--edp-blue-dark); color: #dce8f3; font-size: 12px; letter-spacing: .04em; }
.edp-topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.edp-socials { display: flex; gap: 14px; align-items: center; }
.edp-socials a { color: #fff; text-decoration: none; opacity: .82; }
.edp-socials a:hover { opacity: 1; color: #fff; }

.edp-header { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--edp-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .edp-header { top: 32px; }
.edp-header__inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.edp-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--edp-ink); text-decoration: none; }
.edp-brand:hover { color: var(--edp-ink); }
.edp-brand__mark { width: 52px; height: 52px; border: 2px solid var(--edp-blue); border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--edp-blue); letter-spacing: -.06em; }
.edp-brand__logo { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; object-fit: cover; }
.edp-brand__claim { display: block; max-width: 235px; color: var(--edp-ink); font-size: 13px; font-weight: 750; line-height: 1.25; }
.edp-brand__name { display: block; font-size: 16px; font-weight: 850; line-height: 1.05; letter-spacing: -.02em; }
.edp-brand__tagline { display: block; margin-top: 4px; color: var(--edp-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.edp-header .edp-brand,
.edp-header .edp-brand__name { color: var(--edp-ink) !important; }

.edp-nav-desktop { justify-self: center; }
.edp-menu, .edp-menu ul { list-style: none; margin: 0; padding: 0; }
.edp-menu { display: flex; align-items: center; gap: 24px; }
.edp-menu > li { position: relative; }
.edp-menu a { display: block; color: var(--edp-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.edp-header .edp-menu a { color: var(--edp-ink) !important; }
.edp-menu > li > a { padding: 28px 0 26px; }
.edp-menu > li > a::after { content: ""; display: block; height: 2px; margin-top: 5px; background: var(--edp-cyan); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.edp-menu > li:hover > a::after, .edp-menu > .current-menu-item > a::after, .edp-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.edp-menu .sub-menu { position: absolute; top: calc(100% - 10px); left: -18px; min-width: 220px; padding: 10px; background: var(--edp-white); border: 1px solid var(--edp-line); border-radius: 12px; box-shadow: var(--edp-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.edp-menu li:hover > .sub-menu, .edp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.edp-menu .sub-menu a { padding: 9px 10px; border-radius: 8px; }
.edp-menu .sub-menu a:hover { background: var(--edp-sky); }
.edp-header__actions { position: relative; display: flex; align-items: center; gap: 10px; }
.edp-search-toggle { position: relative; }
.edp-search-toggle summary { cursor: pointer; list-style: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--edp-line); border-radius: 50%; }
.edp-search-toggle summary::-webkit-details-marker { display: none; }
.edp-search-toggle summary svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.edp-search-toggle[open] summary { background: var(--edp-sky); }
.edp-search-popover { position: absolute; right: 0; top: calc(100% + 12px); width: min(360px, calc(100vw - 40px)); padding: 16px; background: var(--edp-white); border: 1px solid var(--edp-line); border-radius: 14px; box-shadow: var(--edp-shadow); }
.edp-search-form { display: flex; gap: 8px; }
.edp-search-form label { flex: 1; }
.edp-search-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--edp-line); border-radius: 8px; }
.edp-search-form button { border: 0; border-radius: 8px; padding: 10px 15px; background: var(--edp-blue); color: #fff; font-weight: 800; cursor: pointer; }
.edp-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 17px; border-radius: 999px; background: var(--edp-blue); color: #fff; font-size: 13px; font-weight: 850; text-decoration: none; }
.edp-button:hover { background: var(--edp-blue-dark); color: #fff; }
.edp-button--light { background: #fff; color: var(--edp-blue-dark); }
.edp-button--light:hover { background: var(--edp-sky); color: var(--edp-blue-dark); }
.edp-button--outline { border: 1px solid currentColor; background: transparent; color: var(--edp-blue); }
.edp-mobile-nav { display: none; position: relative; }
.edp-mobile-nav summary { list-style: none; cursor: pointer; padding: 9px 12px; border: 1px solid var(--edp-line); border-radius: 9px; font-size: 13px; font-weight: 800; }
.edp-mobile-nav summary::-webkit-details-marker { display: none; }
.edp-mobile-nav__panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(340px, calc(100vw - 40px)); padding: 18px; border: 1px solid var(--edp-line); border-radius: 14px; background: var(--edp-white); box-shadow: var(--edp-shadow); }
.edp-mobile-nav .edp-menu { display: block; }
.edp-mobile-nav .edp-menu a { padding: 8px 0; }
.edp-mobile-nav .edp-menu .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 14px; }

.edp-main { min-height: 60vh; }
.edp-intro { padding: 54px 0 28px; }
.edp-eyebrow { margin: 0 0 10px; color: var(--edp-cyan); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.edp-intro h1 { max-width: 830px; margin: 0; font-family: var(--edp-serif); font-size: clamp(34px, 4.3vw, 50px); line-height: 1.02; font-weight: 500; letter-spacing: -.04em; }
.edp-intro p:not(.edp-eyebrow) { max-width: 690px; margin: 20px 0 0; color: var(--edp-muted); font-size: 18px; }
.edp-intro .edp-eyebrow { max-width: none; margin: 0 0 10px; color: var(--edp-cyan); font-family: var(--edp-sans); font-size: 12px; line-height: 1.2; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.edp-intro--statement h1 { max-width: 1040px; font-size: clamp(32px, 3.5vw, 40px); line-height: 1.08; }
.edp-topic-row { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 24px; }
.edp-topic-row a { padding: 7px 12px; border: 1px solid var(--edp-line); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--edp-blue-dark) !important; font-size: 13px; font-weight: 800; text-decoration: none; }
.edp-topic-row a:hover { border-color: var(--edp-cyan); background: var(--edp-sky); }

.edp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); align-items: start; gap: 22px; padding: 18px 0 64px; }
.edp-card { background: var(--edp-white); border: 1px solid var(--edp-line); border-radius: var(--edp-radius); overflow: hidden; }
.edp-card__media { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, var(--edp-blue-dark), var(--edp-blue)); }
.edp-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.edp-card:hover .edp-card__media img { transform: scale(1.025); }
.edp-placeholder { width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; color: rgba(255,255,255,.9); font-family: var(--edp-serif); font-size: 40px; }
.edp-lead { min-height: 0; display: block; box-shadow: var(--edp-shadow); }
.edp-lead .edp-card__media { aspect-ratio: 3 / 2; min-height: 0; }
.edp-lead__content { padding: clamp(24px, 3.2vw, 38px); }
.edp-kicker { margin: 0 0 12px; color: var(--edp-cyan); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.edp-lead h2 { margin: 0; font-family: var(--edp-serif); font-size: clamp(34px, 4vw, 54px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; }
.edp-lead h2 a, .edp-card h3 a { text-decoration: none; }
.edp-lead__excerpt { margin: 20px 0 0; color: var(--edp-muted); font-size: 16px; }
.edp-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; color: var(--edp-muted); font-size: 12px; }
.edp-secondary-stack { display: grid; gap: 22px; }
.edp-secondary { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
.edp-secondary .edp-card__media { aspect-ratio: 3 / 2; min-height: 0; }
.edp-secondary .edp-placeholder { min-height: 0; aspect-ratio: 3 / 2; }
.edp-card__content { padding: 20px; }
.edp-secondary h3, .edp-post-card h3 { margin: 0; font-family: var(--edp-serif); font-size: 23px; line-height: 1.12; font-weight: 600; letter-spacing: -.025em; }

.edp-section { padding: 70px 0; }
.edp-section--white { background: var(--edp-white); }
.edp-section--ink { background: var(--edp-blue-dark); color: #fff; }
.edp-section--tint { background: var(--edp-sky); }
.edp-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.edp-section-head h2 { margin: 0; font-family: var(--edp-serif); font-size: clamp(30px, 4vw, 46px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.edp-section-head p:not(.edp-eyebrow) { max-width: 520px; margin: 8px 0 0; color: var(--edp-muted); }
.edp-section-head .edp-eyebrow { margin: 0 0 10px; color: var(--edp-cyan); }
.edp-section--ink .edp-section-head p:not(.edp-eyebrow) { color: #bdd0df; }
.edp-section-link { color: var(--edp-blue); font-weight: 850; text-decoration: none; white-space: nowrap; }
.edp-section--ink .edp-section-link { color: #fff; }
.edp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.edp-post-card .edp-card__media { aspect-ratio: 3 / 2; }
.edp-post-card .edp-card__content { padding: 22px; }
.edp-post-card .edp-meta { margin-top: 16px; }
.edp-post-card__excerpt { margin: 14px 0 0; color: var(--edp-muted); font-size: 14px; }

.edp-academia { position: relative; overflow: hidden; }
.edp-academia::after { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; top: -170px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 56px rgba(255,255,255,.035), 0 0 0 112px rgba(255,255,255,.025); pointer-events: none; }
.edp-academia__intro { position: relative; z-index: 1; max-width: 760px; margin-bottom: 34px; }
.edp-academia__intro h2 { margin: 0; font-family: var(--edp-serif); font-size: clamp(38px, 5vw, 58px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.edp-academia__intro p { max-width: 650px; color: #c4d5e3; }
.edp-offers { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.edp-offer { min-height: 230px; padding: 27px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.2); border-radius: var(--edp-radius); background: rgba(255,255,255,.055); }
.edp-offer__number { color: #86cde9; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.edp-offer h3 { margin: 30px 0 10px; font-family: var(--edp-serif); font-size: 29px; font-weight: 500; }
.edp-offer > h3:first-child { margin-top: 0; }
.edp-offer p { margin: 0 0 24px; color: #c4d5e3; font-size: 14px; }
.edp-offer a { margin-top: auto; color: #fff; font-weight: 850; text-decoration: none; }

.edp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.edp-feature-panel { position: relative; min-height: 380px; padding: clamp(28px, 4vw, 44px); overflow: hidden; border-radius: var(--edp-radius); background: var(--edp-white); border: 1px solid var(--edp-line); }
.edp-feature-panel--blue { background: var(--edp-blue); color: #fff; border-color: transparent; }
.edp-feature-panel__label { color: var(--edp-cyan); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.edp-feature-panel--blue .edp-feature-panel__label { color: #a8ddf1; }
.edp-feature-panel h2 { max-width: 520px; margin: 34px 0 14px; font-family: var(--edp-serif); font-size: clamp(34px, 4vw, 50px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; }
.edp-feature-panel > h2:first-child { margin-top: 0; }
.edp-feature-panel p { max-width: 510px; color: var(--edp-muted); }
.edp-feature-panel--blue p { color: #dbe8f1; }
.edp-feature-panel--blue .edp-section-link { color: #fff; }
.edp-feature-panel__links { display: grid; justify-items: start; gap: 10px; margin-top: 22px; }
.edp-feature-panel__links .edp-section-link { white-space: normal; }

.edp-archive-header { padding: 62px 0 28px; }
.edp-archive-header h1, .edp-page-title { margin: 0; font-family: var(--edp-serif); font-size: clamp(34px, 4.2vw, 47px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; }
.edp-archive-header--statement h1 { max-width: 1050px; font-size: clamp(32px, 3.5vw, 39px); line-height: 1.08; }
.edp-archive-header h1.edp-eyebrow { margin-bottom: 10px; font-family: var(--edp-sans); font-size: 12px; line-height: 1.2; font-weight: 900; letter-spacing: .12em; }
.edp-archive-description { max-width: 720px; color: var(--edp-muted); font-size: 17px; }
.edp-listing { padding: 28px 0 80px; }
.edp-analysis-header { padding-bottom: 38px; }
.edp-analysis-header .edp-archive-description { margin-top: 18px; }
.edp-analysis-header .edp-archive-description > :first-child { margin-top: 0; }
.edp-analysis-header .edp-archive-description > :last-child { margin-bottom: 0; }
.edp-analysis-discovery { display: grid; gap: 34px; padding: 10px 0 52px; }
.edp-editorial-shelf { min-width: 0; padding: 24px; border: 1px solid var(--edp-line); border-radius: 18px; background: rgba(255,255,255,.76); box-shadow: 0 8px 28px rgba(10, 41, 75, .045); }
.edp-editorial-shelf__header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.edp-editorial-shelf__header h2 { margin: 0; font-family: var(--edp-serif); font-size: clamp(28px, 3.5vw, 40px); line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.edp-editorial-shelf__header h2 a { color: inherit; text-decoration: none; }
.edp-editorial-shelf__header h2 a:hover { text-decoration: underline; }
.edp-editorial-shelf__header .edp-eyebrow { margin-bottom: 6px; }
.edp-editorial-shelf__description { margin: 7px 0 0; color: var(--edp-muted); font-size: 14px; }
.edp-editorial-shelf__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.edp-editorial-shelf__all { color: var(--edp-blue); font-size: 12px; font-weight: 850; text-decoration: none; }
.edp-editorial-shelf__all:hover { text-decoration: underline; }
.edp-editorial-shelf__controls { display: flex; gap: 8px; }
.edp-editorial-shelf__controls button { width: 42px; height: 42px; border: 1px solid var(--edp-line); border-radius: 50%; background: #fff; color: var(--edp-blue-dark); font-size: 20px; font-weight: 800; cursor: pointer; }
.edp-editorial-shelf__controls button:hover:not(:disabled) { border-color: var(--edp-cyan); background: var(--edp-sky); }
.edp-editorial-shelf__controls button:disabled { cursor: default; opacity: .34; }
.edp-editorial-shelf__viewport { min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.edp-editorial-shelf__viewport::-webkit-scrollbar { display: none; }
.edp-editorial-shelf__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; }
.edp-editorial-card { min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--edp-line); border-radius: 13px; background: #fff; }
.edp-editorial-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--edp-blue-dark); text-decoration: none; }
.edp-editorial-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.edp-editorial-card:hover .edp-editorial-card__media img { transform: scale(1.02); }
.edp-editorial-card__media .edp-placeholder { min-height: 100%; }
.edp-editorial-card__content { padding: 14px; }
.edp-editorial-card .edp-kicker { margin-bottom: 7px; font-size: 9px; }
.edp-editorial-card h3 { margin: 0; color: var(--edp-ink); font-family: var(--edp-serif); font-size: 18px; line-height: 1.15; font-weight: 600; letter-spacing: -.015em; }
.edp-editorial-card h3 a { color: inherit; text-decoration: none; }
.edp-editorial-card h3 a:hover { text-decoration: underline; }
.edp-editorial-card__excerpt { display: -webkit-box; margin: 9px 0 0; overflow: hidden; color: var(--edp-muted); font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.edp-editorial-card .edp-meta { gap: 8px; margin-top: 12px; font-size: 10px; }
.edp-editorial-shelf--essential { border-color: rgba(26,145,200,.34); background: linear-gradient(135deg, rgba(232,244,248,.94), rgba(255,255,255,.88)); box-shadow: 0 13px 38px rgba(10,41,75,.08); }
.edp-editorial-shelf--essential .edp-editorial-shelf__header h2 { color: var(--edp-blue-dark); }
.edp-analysis-listing { padding-top: 10px; }
.edp-analysis-listing__title { margin: 0 0 24px; font-family: var(--edp-serif); font-size: clamp(30px, 4vw, 44px); line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.edp-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; }
.edp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.edp-pagination a, .edp-pagination span { width: auto; min-width: 34px; min-height: 34px; display: inline-grid; place-items: center; padding: 4px 8px; border: 1px solid var(--edp-line); border-radius: 8px; background: #fff; font-size: 13px; line-height: 1; text-decoration: none; }
.edp-pagination .prev, .edp-pagination .next { padding-inline: 11px; }
.edp-pagination .current { background: var(--edp-blue); border-color: var(--edp-blue); color: #fff; }

/* Agenda */
.edp-events-header .edp-archive-description { margin-top: 18px; }
.edp-events-listing { padding: 18px 0 88px; }
.edp-event-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 30px; }
.edp-event-filter select { min-width: 214px; min-height: 47px; padding: 9px 42px 9px 16px; border: 1px solid #c8cdd4; border-radius: 5px; background: var(--edp-white); color: var(--edp-ink); }
.edp-event-filter button { min-height: 47px; padding: 9px 19px; border: 0; border-radius: 5px; background: #111; color: #fff; font-weight: 800; cursor: pointer; }
.edp-event-filter button:hover { background: var(--edp-blue); }
.edp-event-filter__clear { color: var(--edp-blue); font-size: 13px; font-weight: 750; }
.edp-event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.edp-event-card { display: flex; min-width: 0; flex-direction: column; padding: 16px; border: 0; border-radius: 7px; background: rgba(255,255,255,.72); box-shadow: 0 5px 18px rgba(10,41,75,.1); }
.edp-event-card__topline { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.edp-event-card__type { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 9px; border-radius: 4px; background: #eff0f2; color: #171717; font-size: 13px; font-weight: 850; line-height: 1; }
.edp-event-card__date { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 0; color: var(--edp-ink); font-size: 13px; font-weight: 500; line-height: 1.2; }
.edp-event-card__date svg { flex: 0 0 auto; }
.edp-event-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 5px; background: #f0f2f4; text-decoration: none; }
.edp-event-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.edp-event-card:hover .edp-event-card__media img { transform: scale(1.02); }
.edp-event-card__media .edp-placeholder { min-height: 100%; }
.edp-event-card__actions { display: flex; align-items: center; margin-top: 22px; }
.edp-event-card__button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px 15px; border-radius: 5px; background: #111; color: #fff; font-size: 14px; font-weight: 850; text-decoration: none; }
.edp-event-card__button:hover { background: var(--edp-blue); color: #fff; }
.edp-event-single { padding: 38px 0 92px; }
.edp-event-single__navigation { max-width: 1040px; }
.edp-event-single__back { display: inline-block; margin-bottom: 20px; color: var(--edp-blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.edp-event-single__panel { max-width: 920px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 290px); align-items: start; gap: 22px; padding: 20px; border: 1px solid var(--edp-line); border-radius: 8px; background: var(--edp-white); }
.edp-event-single__main { min-width: 0; }
.edp-event-single__type { display: inline-flex; align-items: center; min-height: 25px; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: #111; color: #fff; font-size: 11px; font-weight: 850; line-height: 1; }
.edp-event-single__media { margin: 0 0 20px; overflow: hidden; border-radius: 6px; background: #f1f2f4; }
.edp-event-single__media img { width: 100%; max-height: 500px; margin: auto; object-fit: contain; }
.edp-event-single__header { max-width: 680px; }
.edp-event-single__header h1 { margin: 0; font-family: var(--edp-serif); font-size: clamp(27px, 3.1vw, 38px); line-height: 1.08; font-weight: 500; letter-spacing: -.03em; }
.edp-event-single__dek { margin: 10px 0 0; color: var(--edp-muted); font-size: 16px; line-height: 1.5; }
.edp-event-single__content { min-width: 0; margin-top: 24px; font-size: 17px; line-height: 1.7; }
body.wp-theme-edp-2026 #edp-content .edp-event-single__content,
body.wp-theme-edp-2026 #edp-content .edp-event-single__content p,
body.wp-theme-edp-2026 #edp-content .edp-event-single__content li,
body.wp-theme-edp-2026 #edp-content .edp-event-single__content a { font-family: var(--edp-sans) !important; }
.edp-event-details { position: sticky; top: 132px; padding: 20px; border: 1px solid var(--edp-line); border-radius: 7px; background: #fafafa; box-shadow: 0 5px 18px rgba(10,41,75,.06); }
.edp-event-details h2 { margin: 0 0 12px; color: var(--edp-ink); font-family: var(--edp-sans); font-size: 15px; line-height: 1.2; font-weight: 850; }
.edp-event-details dl { margin: 0; }
.edp-event-details dl > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 7px 0; }
.edp-event-details dt { color: var(--edp-ink); font-size: 13px; font-weight: 800; }
.edp-event-details dd { margin: 0; color: var(--edp-ink); font-size: 13px; text-align: right; }
.edp-event-details__button { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: center; margin-top: 20px; padding: 9px 14px; border-radius: 4px; background: #222; color: #fff; font-size: 13px; font-weight: 850; text-decoration: none; }
.edp-event-details__button:hover { background: var(--edp-blue); color: #fff; }

.edp-article { width: min(820px, calc(100vw - 40px)); margin: 0 auto; padding: 62px 0 88px; }
.edp-article__header { margin-bottom: 34px; }
.edp-article__header h1 { margin: 8px 0 18px; font-family: var(--edp-serif); font-size: clamp(34px, 4.5vw, 50px); line-height: 1.05; font-weight: 500; letter-spacing: -.04em; }
.edp-article__dek { color: var(--edp-muted); font-size: 20px; }
.edp-article__media { width: min(960px, calc(100vw - 40px)); margin: 0 0 42px 50%; transform: translateX(-50%); border-radius: var(--edp-radius); overflow: hidden; }
.edp-article__media img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.edp-content { font-family: var(--edp-serif); font-size: 19px; line-height: 1.82; }
.edp-content > * { max-width: 100%; }
.edp-content p { margin: 0 0 1.15em; }
.edp-content p:last-child { margin-bottom: 0; }
.edp-content .wp-block-spacer { height: 8px !important; }
.edp-content h2, .edp-content h3, .edp-content h4 { font-family: var(--edp-serif); line-height: 1.15; }
.edp-content h2 { margin: 1.8em 0 .65em; font-size: 32px; }
.edp-content h3 { margin: 1.55em 0 .55em; font-size: 25px; }
.edp-content a { color: var(--edp-blue); }
.edp-content blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--edp-cyan); color: var(--edp-blue-dark); font-size: 1.2em; }
.edp-content img { border-radius: 12px; }
.edp-content .alignwide { width: min(1060px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.edp-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.edp-page { width: min(1080px, calc(100vw - 40px)); margin: 0 auto; padding: 60px 0 90px; }
.edp-legacy-elementor-page { overflow: hidden; }
.edp-page__header { max-width: 820px; margin-bottom: 34px; }
.edp-empty { padding: 60px 0 100px; text-align: center; }

/* Biblioteca */
.edp-library-intro { padding-bottom: 34px; }
.edp-library-intro h1 { max-width: 760px; }
.edp-library-catalog { padding: 0 0 88px; }
.edp-library-search {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(210px, .75fr) auto;
  align-items: end; gap: 12px; padding: 20px; border: 1px solid var(--edp-line);
  border-radius: 16px; background: var(--edp-white); box-shadow: 0 8px 28px rgba(10, 41, 75, .06);
}
.edp-library-search label { display: block; margin: 0 0 7px; color: var(--edp-blue-dark); font-size: 12px; font-weight: 850; }
.edp-library-search input,
.edp-library-search select {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #bcc5cf;
  border-radius: 9px; background: #fff; color: var(--edp-ink);
}
.edp-library-search button {
  min-height: 50px; padding: 10px 24px; border: 0; border-radius: 9px;
  background: var(--edp-blue); color: #fff; font-weight: 850; cursor: pointer;
}
.edp-library-search button:hover { background: var(--edp-blue-dark); }
.edp-library-toolbar { min-height: 86px; display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 22px; }
.edp-library-toolbar h2 { margin: 0; font-family: var(--edp-serif); font-size: clamp(28px, 3vw, 38px); line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.edp-library-toolbar p { margin: 0; color: var(--edp-muted); font-size: 13px; font-weight: 700; }
.edp-library-toolbar a { color: var(--edp-blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.edp-library-discovery { display: grid; gap: 32px; margin: 34px 0 10px; }
.edp-book-shelf { min-width: 0; padding: 24px; border: 1px solid var(--edp-line); border-radius: 18px; background: rgba(255,255,255,.74); box-shadow: 0 8px 28px rgba(10, 41, 75, .045); }
.edp-book-shelf__header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.edp-book-shelf__header .edp-eyebrow { margin-bottom: 5px; }
.edp-book-shelf__header h2 { margin: 0; font-family: var(--edp-serif); font-size: clamp(28px, 3.5vw, 40px); line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.edp-book-shelf__header > div > p:last-child { margin: 7px 0 0; color: var(--edp-muted); font-size: 14px; }
.edp-book-shelf__controls { display: flex; gap: 8px; flex: 0 0 auto; }
.edp-book-shelf__controls button { width: 42px; height: 42px; border: 1px solid var(--edp-line); border-radius: 50%; background: #fff; color: var(--edp-blue-dark); font-size: 20px; font-weight: 800; cursor: pointer; }
.edp-book-shelf__controls button:hover:not(:disabled) { border-color: var(--edp-cyan); background: var(--edp-sky); }
.edp-book-shelf__controls button:disabled { cursor: default; opacity: .34; }
.edp-book-shelf__viewport { min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.edp-book-shelf__viewport::-webkit-scrollbar { display: none; }
.edp-book-shelf__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; }
.edp-shelf-card { min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--edp-line); border-radius: 13px; background: #fff; }
.edp-shelf-card__cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 3; padding: 10px; overflow: hidden; background: #eef1f4; text-decoration: none; }
.edp-shelf-card__cover img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.edp-shelf-card:hover .edp-shelf-card__cover img { transform: scale(1.02); }
.edp-shelf-card__cover .edp-placeholder { min-height: 100%; border-radius: 7px; background: var(--edp-blue-dark); }
.edp-shelf-card__body { padding: 13px 13px 15px; }
.edp-shelf-card__area { margin: 0 0 6px; color: var(--edp-cyan); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.edp-shelf-card h3 { margin: 0; color: var(--edp-ink); font-family: var(--edp-serif); font-size: 16px; line-height: 1.15; font-weight: 400; overflow-wrap: anywhere; }
.edp-shelf-card h3 a { color: inherit; font-weight: inherit; text-decoration: none; }
.edp-shelf-card h3 a:hover { text-decoration: underline; }
.edp-shelf-card__author { margin: 7px 0 0; color: var(--edp-ink); font-size: 12px; font-weight: 750; }
.edp-book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.edp-book-card {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--edp-line); border-radius: 15px;
  background: var(--edp-white); box-shadow: 0 7px 24px rgba(10, 41, 75, .055);
  transition: transform .2s ease, box-shadow .2s ease;
}
.edp-book-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10, 41, 75, .11); }
.edp-book-card__cover {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 3;
  padding: 14px; overflow: hidden; background: #eef1f4; text-decoration: none;
}
.edp-book-card__cover img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.edp-book-card:hover .edp-book-card__cover img { transform: scale(1.015); }
.edp-book-card__cover .edp-placeholder { min-height: 100%; border-radius: 8px; background: var(--edp-blue-dark); }
.edp-book-card__body { min-height: 158px; padding: 16px 16px 18px; }
.edp-book-card__area { margin: 0 0 8px; color: var(--edp-cyan); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.edp-book-card h2 { margin: 0; color: var(--edp-ink); font-family: var(--edp-serif); font-size: 19px; line-height: 1.13; font-weight: 400; letter-spacing: -.015em; overflow-wrap: anywhere; }
.edp-book-card h2 a { color: var(--edp-ink); font-weight: inherit; text-decoration: none; }
.edp-book-card h2 a:hover { color: var(--edp-ink); text-decoration: underline; }
.edp-book-card__author { margin: 10px 0 0; color: var(--edp-ink); font-size: 14px; font-weight: 750; }
.edp-book-card__year { margin: 4px 0 0; color: var(--edp-muted); font-size: 12px; }
.edp-library-empty { padding-top: 54px; border-top: 1px solid var(--edp-line); }
.edp-library-empty h2 { margin: 0; font-family: var(--edp-serif); font-size: 34px; font-weight: 500; }
.edp-library-empty p { color: var(--edp-muted); }

.edp-book-single { padding: 44px 0 90px; }
.edp-book-single__back { display: inline-block; margin-bottom: 20px; color: var(--edp-blue); font-size: 13px; font-weight: 850; text-decoration: none; }
.edp-book-single__panel {
  display: grid; grid-template-columns: minmax(250px, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 68px);
  align-items: start; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--edp-line);
  border-radius: var(--edp-radius); background: var(--edp-white); box-shadow: var(--edp-shadow);
}
.edp-book-single__cover {
  position: sticky; top: 132px; display: flex; align-items: flex-start; justify-content: center;
  min-height: 420px; margin: 0; padding: 16px; border-radius: 12px; background: #eef1f4;
}
.edp-book-single__cover img { width: 100%; height: auto; max-height: 620px; object-fit: contain; border-radius: 7px; }
.edp-book-single__cover .edp-placeholder { min-height: 420px; border-radius: 8px; background: var(--edp-blue-dark); }
.edp-book-single__main h1 {
  margin: 7px 0 22px; font-family: var(--edp-serif); font-size: clamp(32px, 4vw, 43px);
  line-height: 1.02; font-weight: 500; letter-spacing: -.04em;
}
.edp-book-meta { margin: 0 0 24px; padding: 0; }
.edp-book-meta > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--edp-line); }
.edp-book-meta dt { color: var(--edp-muted); font-size: 12px; font-weight: 750; }
.edp-book-meta dd { margin: 0; color: var(--edp-ink); font-size: 14px; font-weight: 800; }
.edp-book-single__download { margin-bottom: 28px; }
.edp-book-single__content { padding-top: 27px; border-top: 1px solid var(--edp-line); font-size: 17px; line-height: 1.75; }
.edp-book-single__content > :first-child { margin-top: 0; }

/* Asesoramiento académico */
.edp-advice__hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: clamp(38px, 7vw, 92px); padding: 72px 0 68px; }
.edp-advice__hero-copy { max-width: 780px; }
.edp-advice__hero h1 { margin: 0; font-family: var(--edp-serif); font-size: clamp(38px, 4.8vw, 54px); line-height: 1.02; font-weight: 500; letter-spacing: -.04em; }
.edp-advice__lead { max-width: 700px; margin: 22px 0 0; color: var(--edp-muted); font-size: 18px; line-height: 1.65; }
.edp-advice__actions, .edp-about__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.edp-advice__proof { padding: 9px 0; border-top: 1px solid var(--edp-line); border-bottom: 1px solid var(--edp-line); }
.edp-advice__proof > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 14px; padding: 19px 4px; }
.edp-advice__proof > div + div { border-top: 1px solid var(--edp-line); }
.edp-advice__proof strong { color: var(--edp-blue); font-family: var(--edp-serif); font-size: 40px; line-height: 1; font-weight: 500; }
.edp-advice__proof span { color: var(--edp-muted); font-size: 13px; font-weight: 750; line-height: 1.45; }
.edp-advice__section { padding: 72px 0; }
.edp-advice__section--white { background: var(--edp-white); }
.edp-advice__section-head { max-width: 760px; margin-bottom: 34px; }
.edp-advice__section-head h2, .edp-advice__ethics-layout h2, .edp-advice__cta h2 { margin: 0; font-family: var(--edp-serif); font-size: clamp(32px, 4vw, 44px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; }
.edp-advice__section-head > p:last-child, .edp-advice__ethics-layout > div > p:last-child { margin: 15px 0 0; color: var(--edp-muted); font-size: 16px; line-height: 1.65; }
.edp-advice__situations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--edp-line); border-bottom: 1px solid var(--edp-line); }
.edp-advice__situations article { min-width: 0; padding: 28px 28px 30px 0; }
.edp-advice__situations article + article { padding-left: 28px; border-left: 1px solid var(--edp-line); }
.edp-advice__situations span, .edp-about__work-grid span { color: var(--edp-cyan); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.edp-advice__situations h3, .edp-advice__steps h3 { margin: 15px 0 9px; font-family: var(--edp-serif); font-size: 24px; line-height: 1.12; font-weight: 600; }
.edp-advice__situations p, .edp-advice__steps p { margin: 0; color: var(--edp-muted); font-size: 14px; line-height: 1.62; }
.edp-advice__director-note { margin: 28px 0 0; padding: 18px 22px; border-left: 4px solid var(--edp-cyan); background: var(--edp-sky); color: var(--edp-blue-dark); line-height: 1.55; }
.edp-advice__process-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(44px, 8vw, 110px); }
.edp-advice__steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edp-line); }
.edp-advice__steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--edp-line); }
.edp-advice__steps li > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--edp-blue); color: #fff; font-size: 12px; font-weight: 900; }
.edp-advice__steps h3 { margin: 0 0 6px; font-size: 21px; }
.edp-advice__ethics-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(38px, 8vw, 100px); }
.edp-advice__ethics-list { list-style: none; margin: 0; padding: 8px 24px; border: 1px solid var(--edp-line); border-radius: 14px; background: #fafafa; }
.edp-advice__ethics-list li { position: relative; padding: 17px 0 17px 25px; color: var(--edp-ink); font-weight: 700; line-height: 1.5; }
.edp-advice__ethics-list li + li { border-top: 1px solid var(--edp-line); }
.edp-advice__ethics-list li::before { content: "×"; position: absolute; left: 0; top: 16px; color: var(--edp-cyan); font-size: 20px; font-weight: 900; line-height: 1; }
.edp-advice__cta { background: var(--edp-blue-dark); color: #fff; }
.edp-advice__cta > .edp-shell { min-height: 310px; display: flex; align-items: center; justify-content: space-between; gap: 54px; padding-block: 56px; }
.edp-advice__cta > .edp-shell > div { max-width: 720px; }
.edp-advice__cta .edp-eyebrow { color: #8bd2ed; }
.edp-advice__cta p:last-child { max-width: 680px; margin: 16px 0 0; color: #c5d5e2; }
.edp-advice__cta .edp-button { flex: 0 0 auto; }

/* Quiénes somos */
.edp-about__hero { max-width: none; padding: 78px 0 82px; }
.edp-about__hero h1 { max-width: 950px; margin: 0; font-family: var(--edp-serif); font-size: clamp(33px, 4vw, 46px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; }
.edp-about__lead { max-width: 780px; margin: 25px 0 0; color: var(--edp-ink); font-size: 20px; line-height: 1.58; }
.edp-about__hero > p:not(.edp-eyebrow):not(.edp-about__lead) { max-width: 760px; margin: 12px 0 0; color: var(--edp-muted); font-size: 16px; line-height: 1.65; }
.edp-about__section { padding: 78px 0; }
.edp-about__section--white { background: var(--edp-white); }
.edp-about__section--ink { background: var(--edp-blue-dark); color: #fff; }
.edp-about__narrow { max-width: none; }
.edp-about__story h2, .edp-about__section-head h2, .edp-about__beliefs h2, .edp-about__cta h2 { margin: 0; font-family: var(--edp-serif); font-size: clamp(33px, 4vw, 46px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; }
.edp-about__story p { max-width: 850px; margin: 22px 0 0; color: var(--edp-muted); font-size: 17px; line-height: 1.75; }
.edp-about__section-head { max-width: 820px; margin-bottom: 36px; }
.edp-about__section-head > p:last-child { max-width: 680px; margin: 15px 0 0; color: var(--edp-muted); line-height: 1.65; }
.edp-about__work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--edp-line); border-bottom: 1px solid var(--edp-line); }
.edp-about__work-grid article { min-width: 0; padding: 28px 25px; }
.edp-about__work-grid article + article { border-left: 1px solid var(--edp-line); }
.edp-about__work-grid h3 { margin: 17px 0 10px; font-family: var(--edp-serif); font-size: 25px; font-weight: 600; }
.edp-about__work-grid p { margin: 0; color: var(--edp-muted); font-size: 14px; line-height: 1.62; }
.edp-about__section--ink .edp-eyebrow { color: #8bd2ed; }
.edp-about__section--ink .edp-about__section-head > p:last-child { color: #c6d6e3; }
.edp-about__strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.edp-about__strengths p { margin: 0; padding: 28px 30px 0 0; color: #d9e4ec; line-height: 1.68; }
.edp-about__strengths p + p { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.22); }
.edp-about__beliefs { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); gap: clamp(45px, 9vw, 120px); }
.edp-about__beliefs > div:last-child { padding-top: 26px; }
.edp-about__beliefs > div:last-child p { margin: 0; color: var(--edp-muted); font-size: 16px; line-height: 1.75; }
.edp-about__beliefs > div:last-child p + p { margin-top: 18px; }
.edp-about__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 50px; padding-block: 76px; }
.edp-about__cta > div:first-child { max-width: 730px; }
.edp-about__cta > div:first-child > p:last-child { margin: 15px 0 0; color: var(--edp-muted); line-height: 1.65; }
.edp-about__cta .edp-about__actions { justify-content: flex-end; max-width: 540px; }
.edp-button--disabled { cursor: default; opacity: .52; user-select: none; }
.edp-button--disabled:hover { background: var(--edp-blue); }

.edp-footer { background: #071d35; color: #d4e0ea; }
.edp-footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 58px 0 44px; }
.edp-footer .edp-brand { color: #fff; }
.edp-footer .edp-brand__mark { border-color: #8acbe4; color: #fff; }
.edp-footer .edp-brand__tagline { color: #afc1d0; }
.edp-footer__brand { align-items: flex-start; }
.edp-footer__brand .edp-brand__logo { width: 68px; height: 68px; flex-basis: 68px; }
.edp-footer__brand .edp-brand__claim { max-width: 430px; color: #d4e0ea; font-size: 14px; font-weight: 600; line-height: 1.55; }
.edp-footer__intro { max-width: 470px; margin: 20px 0 0; color: #afc1d0; }
.edp-footer h2 { margin: 0 0 15px; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.edp-footer ul { list-style: none; margin: 0; padding: 0; }
.edp-footer li + li { margin-top: 8px; }
.edp-footer a { color: inherit; text-decoration: none; }
.edp-footer a:hover { color: #fff; }
.edp-footer__bottom { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #91a9bc; font-size: 12px; }

@media (max-width: 1080px) {
  .edp-nav-desktop { display: none; }
  .edp-mobile-nav { display: block; }
  .edp-header__inner { grid-template-columns: 1fr auto; }
  .edp-header__actions { justify-self: end; }
  .edp-lead { grid-template-columns: 1fr; }
  .edp-lead .edp-card__media { min-height: 360px; }
  .edp-hero-grid { grid-template-columns: 1fr; }
  .edp-secondary-stack { grid-template-columns: 1fr 1fr; }
  .edp-book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .edp-book-shelf__track { grid-auto-columns: calc((100% - 42px) / 4); }
  .edp-editorial-shelf__track { grid-auto-columns: calc((100% - 42px) / 4); }
  .edp-event-grid { gap: 20px; }
  .edp-about__work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edp-about__work-grid article:nth-child(3) { border-left: 0; }
  .edp-about__work-grid article:nth-child(n+3) { border-top: 1px solid var(--edp-line); }
}

@media (max-width: 900px) {
  .edp-library-search { grid-template-columns: 1fr 1fr; }
  .edp-library-search button { grid-column: 1 / -1; }
  .edp-book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .edp-book-shelf__track { grid-auto-columns: calc((100% - 28px) / 3); }
  .edp-editorial-shelf__track { grid-auto-columns: calc((100% - 28px) / 3); }
  .edp-book-single__panel { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 32px; }
  .edp-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edp-event-single__panel { grid-template-columns: minmax(0, 1fr) minmax(230px, 270px); }
  .edp-advice__hero { grid-template-columns: 1fr; align-items: start; }
  .edp-advice__proof { display: grid; grid-template-columns: 1fr 1fr; }
  .edp-advice__proof > div + div { border-top: 0; border-left: 1px solid var(--edp-line); }
  .edp-advice__process-layout, .edp-about__beliefs, .edp-about__cta { grid-template-columns: 1fr; }
  .edp-about__cta .edp-about__actions { justify-content: flex-start; max-width: none; }
}

@media (max-width: 760px) {
  :root { --edp-shell: min(100% - 28px, 1180px); }
  .admin-bar .edp-header { top: 46px; }
  .edp-topbar__inner { min-height: 30px; }
  .edp-topbar .edp-socials a:nth-child(n+4) { display: none; }
  .edp-header__inner { min-height: 0; grid-template-columns: 1fr; gap: 8px; padding-block: 10px; }
  .edp-brand { min-width: 0; gap: 10px; }
  .edp-brand__mark { width: 44px; height: 44px; }
  .edp-brand__logo { width: 44px; height: 44px; flex-basis: 44px; }
  .edp-header .edp-brand__claim { display: block; max-width: 285px; font-size: 12px; line-height: 1.2; }
  .edp-brand__tagline { display: none; }
  .edp-brand__name { font-size: 14px; }
  .edp-header__actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 40px auto; gap: 8px; }
  .edp-header__advice { grid-column: 1; grid-row: 1; justify-self: start; min-height: 38px; padding: 7px 14px; font-size: 12px; }
  .edp-search-toggle { position: static; display: block; grid-column: 2; grid-row: 1; }
  .edp-search-toggle summary { width: 40px; height: 38px; border-radius: 9px; }
  .edp-search-popover { right: 0; top: calc(100% + 12px); width: 100%; }
  .edp-mobile-nav { grid-column: 3; grid-row: 1; }
  .edp-mobile-nav summary { min-height: 38px; padding: 7px 11px; }
  .edp-intro { padding-top: 38px; }
  .edp-intro h1 { font-size: clamp(32px, 9vw, 38px); }
  .edp-hero-grid { padding-bottom: 44px; }
  .edp-lead .edp-card__media { min-height: 0; }
  .edp-lead__content { padding: 24px; }
  .edp-secondary-stack { grid-template-columns: 1fr; }
  .edp-secondary h3 { font-size: 20px; }
  .edp-grid, .edp-offers, .edp-split, .edp-footer__main { grid-template-columns: 1fr; }
  .edp-library-search { grid-template-columns: 1fr; }
  .edp-library-search button { grid-column: auto; }
  .edp-book-shelf { padding: 18px; }
  .edp-book-shelf__header { align-items: center; }
  .edp-book-shelf__header > div > p:last-child { display: none; }
  .edp-book-shelf__track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .edp-editorial-shelf { padding: 18px; }
  .edp-editorial-shelf__header { align-items: center; }
  .edp-editorial-shelf__description { display: none; }
  .edp-editorial-shelf__track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .edp-editorial-card__excerpt { display: none; }
  .edp-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .edp-book-card__cover { padding: 9px; }
  .edp-book-card__body { padding: 14px; }
  .edp-book-card h2 { font-size: 19px; }
  .edp-book-single { padding-top: 30px; }
  .edp-book-single__panel { grid-template-columns: 1fr; padding: 20px; }
  .edp-book-single__cover { position: static; width: min(360px, 100%); min-height: 0; margin-inline: auto; }
  .edp-book-meta > div { grid-template-columns: 1fr; gap: 2px; }
  .edp-section { padding: 52px 0; }
  .edp-section-head { align-items: flex-start; flex-direction: column; }
  .edp-offer { min-height: 205px; }
  .edp-feature-panel { min-height: 320px; }
  .edp-article { padding-top: 44px; }
  .edp-article__media { width: auto; margin-inline: 0; transform: none; }
  .edp-content { font-size: 18px; }
  .edp-content .wp-block-spacer { height: 0 !important; }
  .edp-footer__main { gap: 30px; }
  .edp-footer__brand .edp-brand__claim { display: block; max-width: 360px; }
  .edp-footer__bottom { padding: 16px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
  .edp-event-grid { grid-template-columns: 1fr; }
  .edp-event-filter { gap: 10px; }
  .edp-event-filter select { min-width: 0; flex: 1 1 190px; }
  .edp-event-single { padding-top: 28px; }
  .edp-event-single__panel { grid-template-columns: 1fr; padding: 14px; }
  .edp-event-single__media img { max-height: none; }
  .edp-event-details { position: static; }
  .edp-advice__hero, .edp-about__hero { padding: 48px 0 52px; }
  .edp-advice__hero h1 { font-size: clamp(34px, 10vw, 42px); }
  .edp-advice__proof { grid-template-columns: 1fr; }
  .edp-advice__proof > div + div { border-top: 1px solid var(--edp-line); border-left: 0; }
  .edp-advice__section, .edp-about__section { padding: 54px 0; }
  .edp-advice__situations, .edp-about__work-grid, .edp-about__strengths { grid-template-columns: 1fr; }
  .edp-advice__situations article, .edp-advice__situations article + article { padding: 23px 0; border-left: 0; }
  .edp-advice__situations article + article { border-top: 1px solid var(--edp-line); }
  .edp-advice__ethics-layout { grid-template-columns: 1fr; gap: 28px; }
  .edp-advice__cta > .edp-shell { min-height: 0; align-items: flex-start; flex-direction: column; gap: 26px; }
  .edp-about__work-grid article, .edp-about__work-grid article + article { padding: 24px 0; border-left: 0; }
  .edp-about__work-grid article + article { border-top: 1px solid var(--edp-line); }
  .edp-about__strengths p, .edp-about__strengths p + p { padding: 22px 0; border-left: 0; }
  .edp-about__strengths p + p { border-top: 1px solid rgba(255,255,255,.22); }
  .edp-about__cta { padding-block: 54px; }
}

@media (max-width: 430px) {
  .edp-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .edp-book-card { display: flex; flex-direction: column; }
  .edp-book-card__body { min-height: 174px; padding: 12px; }
  .edp-book-card__area { font-size: 9px; }
  .edp-book-card h2 { font-size: 17px; line-height: 1.15; }
  .edp-book-card__author { font-size: 13px; }
  .edp-book-card__cover { aspect-ratio: 2 / 3; min-height: 0; padding: 8px; }
  .edp-book-shelf { margin-inline: -4px; padding: 14px; border-radius: 14px; }
  .edp-book-shelf__header { gap: 12px; }
  .edp-book-shelf__header h2 { font-size: 25px; }
  .edp-book-shelf__controls button { width: 38px; height: 38px; }
  .edp-editorial-shelf { margin-inline: -4px; padding: 14px; border-radius: 14px; }
  .edp-editorial-shelf__header { gap: 12px; }
  .edp-editorial-shelf__header h2 { font-size: 25px; }
  .edp-editorial-shelf__actions { gap: 8px; }
  .edp-editorial-shelf__all { display: none; }
  .edp-editorial-shelf__controls button { width: 38px; height: 38px; }
  .edp-editorial-card__content { padding: 11px; }
  .edp-editorial-card h3 { font-size: 16px; }
  .edp-shelf-card__body { padding: 11px; }
  .edp-shelf-card h3 { font-size: 15px; }
}

@media (max-width: 300px) {
  .edp-book-grid { grid-template-columns: 1fr; }
  .edp-book-card__body { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
