/*
Theme Name: De 0 a IA
Theme URI: https://de0aia.palmercanarias.es/
Author: Pálmer Canarias & SofIA
Description: Tema editorial, accesible y responsive creado para explicar la inteligencia artificial sin tecnicismos.
Version: 1.3.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: de0aia
*/

:root {
  --ink: #071125;
  --ink-soft: #0d1b38;
  --paper: #f7f8fb;
  --white: #ffffff;
  --text: #17213a;
  --muted: #68738b;
  --line: rgba(13, 27, 56, .12);
  --cyan: #36d7ff;
  --cyan-dark: #007f9e;
  --coral: #ff7a66;
  --violet: #9a8cff;
  --lime: #c8f36d;
  --shadow: 0 22px 60px rgba(7, 17, 37, .12);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --content: 1180px;
  --reading: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--ink); background: var(--cyan); }

.skip-link {
  position: fixed; left: 18px; top: -100px; z-index: 99999;
  padding: 10px 16px; color: var(--ink); background: var(--lime); border-radius: 8px;
}
.skip-link:focus { top: 18px; }
.wrap { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.reading-wrap { width: min(calc(100% - 40px), var(--reading)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px; color: var(--cyan-dark); font-size: .76rem; font-weight: 850;
  letter-spacing: .14em; line-height: 1.25; text-transform: uppercase;
}
.eyebrow--light { color: var(--cyan); }
.section { padding: clamp(70px, 8vw, 118px) 0; }
.section--white { background: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading h2, .page-hero h1, .archive-hero h1 {
  margin: 0; color: var(--ink); font-size: clamp(2.15rem, 5vw, 4.5rem); line-height: 1.02;
  letter-spacing: -.055em;
}
.section-heading p { max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 1000; color: var(--white);
  background: rgba(7, 17, 37, .88); border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px;
  color: var(--ink); background: linear-gradient(135deg, var(--coral), var(--cyan));
  font-size: .85rem; font-weight: 900; transform: rotate(-4deg);
}
.brand-name { font-size: 1.22rem; font-weight: 900; letter-spacing: -.04em; }
.brand-name span { color: var(--cyan); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 11px; border-radius: 10px; color: rgba(255,255,255,.82); font-size: .86rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); background: rgba(255,255,255,.1); }
.site-nav .nav-cta { margin-left: 8px; color: var(--ink); background: var(--lime); }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { color: var(--ink); background: var(--cyan); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; color: var(--white); background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 21px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

/* Portada */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: auto auto -35% -10%; width: 620px; height: 620px; border-radius: 50%; background: rgba(54,215,255,.1); filter: blur(90px); }
.hero-inner { position: relative; min-height: min(820px, calc(100vh - 76px)); display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: clamp(78px, 9vw, 130px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 6.2vw, 6.6rem); line-height: .92; letter-spacing: -.072em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 640px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 13px 21px; border: 1px solid transparent; border-radius: 14px; font-size: .94rem; font-weight: 850; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--ink); background: var(--lime); box-shadow: 0 12px 32px rgba(200,243,109,.16); }
.button--primary:hover { background: var(--cyan); }
.button--ghost { color: var(--white); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.button--ghost:hover { background: rgba(255,255,255,.12); }
.button--dark { color: var(--white); background: var(--ink); }
.hero-visual { position: relative; margin-right: -12vw; }
.hero-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 80px 0 80px var(--ink); pointer-events: none; }
.hero-visual img { width: 100%; min-width: 700px; border-radius: 48% 0 0 48%; mix-blend-mode: screen; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: rgba(255,255,255,.62); font-size: .82rem; font-weight: 750; }
.hero-proof span::before { content: "✓"; margin-right: 7px; color: var(--cyan); }

.quick-strip { position: relative; z-index: 3; margin-top: -34px; }
.quick-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); color: var(--white); background: var(--ink-soft); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); box-shadow: var(--shadow); }
.quick-item { padding: 24px 28px; }
.quick-item + .quick-item { border-left: 1px solid rgba(255,255,255,.1); }
.quick-item strong { display: block; color: var(--cyan); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.quick-item span { display: block; margin-top: 3px; font-weight: 720; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card { position: relative; min-height: 270px; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 34px rgba(7,17,37,.05); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.path-card:hover { transform: translateY(-7px); border-color: rgba(0,127,158,.35); box-shadow: var(--shadow); }
.path-number { display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--ink); background: var(--lime); font-weight: 900; }
.path-card:nth-child(2) .path-number, .path-card:nth-child(5) .path-number { background: var(--cyan); }
.path-card:nth-child(3) .path-number, .path-card:nth-child(6) .path-number { background: #ffc5ba; }
.path-card h3 { margin: 26px 0 9px; color: var(--ink); font-size: 1.45rem; line-height: 1.1; letter-spacing: -.035em; }
.path-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.path-arrow { position: absolute; right: 24px; bottom: 20px; color: var(--cyan-dark); font-size: 1.35rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 32px rgba(7,17,37,.05); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--ink-soft), #18315d); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-media img { transform: scale(1.035); }
.post-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--cyan); font-size: 3rem; font-weight: 950; }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.post-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--cyan-dark); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin: 0; color: var(--ink); font-size: 1.3rem; line-height: 1.18; letter-spacing: -.03em; }
.post-card h3 a { text-decoration: none; }
.post-card p { margin: 14px 0 20px; color: var(--muted); font-size: .9rem; line-height: 1.62; }
.text-link { margin-top: auto; color: var(--ink); font-size: .86rem; font-weight: 850; text-decoration: none; }
.text-link span { color: var(--coral); }
.section-actions { margin-top: 34px; text-align: center; }

.manifesto { overflow: hidden; color: var(--white); background: var(--ink); }
.manifesto-inner { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.manifesto-badge { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(54,215,255,.2), rgba(154,140,255,.08) 45%, transparent 70%); }
.manifesto-badge::before { content: "SOFIA"; display: grid; width: 48%; aspect-ratio: 1; place-items: center; border-radius: 34%; color: var(--ink); background: linear-gradient(135deg, var(--cyan), var(--coral)); font-size: clamp(1rem,3vw,2rem); font-weight: 950; letter-spacing: .08em; transform: rotate(-7deg); box-shadow: 0 28px 80px rgba(54,215,255,.22); }
.manifesto-copy blockquote { margin: 0; font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 850; line-height: 1.02; letter-spacing: -.05em; }
.manifesto-copy blockquote em { color: var(--cyan); font-style: normal; }
.manifesto-copy p { max-width: 650px; color: rgba(255,255,255,.68); }

.newsletter { padding: 70px 0; background: var(--coral); }
.newsletter-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: clamp(28px, 5vw, 58px); border-radius: var(--radius-lg); background: #fff1ed; }
.newsletter-card h2 { margin: 0; color: var(--ink); font-size: clamp(1.8rem,4vw,3.5rem); line-height: 1; letter-spacing: -.05em; }
.newsletter-card p { max-width: 680px; margin: 13px 0 0; color: #68453f; }

/* Pregúntale a SofIA */
.ask-hero { overflow: hidden; color: var(--white); background: var(--ink); }
.ask-hero-inner { min-height: 610px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 60px; padding-block: clamp(80px, 10vw, 140px); }
.ask-hero h1 { margin: 0; font-size: clamp(3.2rem, 7.5vw, 7.2rem); line-height: .9; letter-spacing: -.07em; }
.ask-hero h1 em { color: var(--cyan); font-style: normal; }
.ask-lead { max-width: 760px; color: rgba(255,255,255,.75); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.ask-note { max-width: 720px; margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.74); }
.ask-note strong { color: var(--lime); }
.ask-orbit { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(54,215,255,.28); border-radius: 50%; box-shadow: 0 0 100px rgba(54,215,255,.16); }
.ask-orbit::before, .ask-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.ask-orbit::before { inset: 12%; }
.ask-orbit::after { inset: 28%; background: linear-gradient(135deg,var(--cyan),var(--coral)); transform: rotate(12deg); border-radius: 34%; }
.ask-orbit span { position: relative; z-index: 1; color: var(--ink); font-weight: 950; letter-spacing: .12em; }
.ask-section { background: var(--paper); }
.ask-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(40px, 7vw, 100px); }
.ask-intro h2 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.05em; }
.ask-intro > p:not(.eyebrow) { color: var(--muted); }
.ask-steps { display: grid; gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.ask-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 15px; }
.ask-steps li > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; color: var(--ink); background: var(--lime); font-size: .78rem; font-weight: 900; }
.ask-steps strong { color: var(--ink); }
.ask-steps p { margin: 3px 0 0; color: var(--muted); font-size: .9rem; }
.ask-form-card { padding: clamp(26px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.ask-form-card h2 { margin: 0 0 26px; color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.ask-form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--ink); font-size: .86rem; font-weight: 850; }
.form-field label span { color: var(--muted); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 13px 15px; border: 1px solid #cbd4e2; border-radius: 12px; color: var(--ink); background: #fbfcfe; font: inherit; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(54,215,255,.25); border-color: var(--cyan-dark); }
.form-field small, .form-fineprint { color: var(--muted); font-size: .76rem; }
.form-field--trap { position: absolute; left: -9999px; }
.form-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: .82rem; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; }
.form-check a { color: var(--cyan-dark); font-weight: 750; }
.ask-form .button { border: 0; cursor: pointer; }
.form-fineprint { margin: -3px 0 0; }
.form-message { margin: 0 0 24px; padding: 17px 19px; border-radius: 13px; }
.form-message--success { color: #214816; background: #effbd7; border: 1px solid #b8df68; }
.form-message--error { color: #6a2922; background: #fff0ec; border: 1px solid #efb2a7; }
.answered-questions .section-heading h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.faq-item summary { display: grid; grid-template-columns: 1fr 30px; align-items: center; gap: 20px; padding: 22px 24px; color: var(--ink); font-weight: 850; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary b { color: var(--coral); font-size: 1.5rem; text-align: center; transition: transform .2s; }
.faq-item[open] summary b { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 24px; color: #39445b; }
.faq-signature { padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.faq-empty { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 22px; padding: 28px; border: 1px dashed #aab7c8; border-radius: var(--radius); background: var(--paper); }
.faq-empty > span { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 20px; color: var(--ink); background: var(--cyan); font-size: 2rem; font-weight: 950; }
.faq-empty h3 { margin: 0; color: var(--ink); }
.faq-empty p { margin: 5px 0 0; color: var(--muted); }

/* Ruta de 0 a IA */
.route-hero { color: var(--white); background: var(--ink); }
.route-hero-inner { padding-block: clamp(90px, 11vw, 155px); }
.route-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(3.1rem, 7vw, 7rem); line-height: .91; letter-spacing: -.07em; }
.route-hero h1 em { color: var(--cyan); font-style: normal; }
.route-hero p:not(.eyebrow) { max-width: 760px; color: rgba(255,255,255,.7); font-size: 1.17rem; }
.route-progress { max-width: 760px; height: 8px; margin-top: 32px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.route-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--coral),var(--cyan)); }
.route-hero small { display: block; margin-top: 11px; color: rgba(255,255,255,.5); }
.route-section:nth-of-type(odd) { background: var(--white); }
.route-group-heading { display: grid; grid-template-columns: 72px 1fr; align-items: end; gap: 22px; margin-bottom: 34px; }
.route-group-heading > span { display: grid; width: 68px; height: 68px; place-items: center; border-radius: 20px; color: var(--ink); background: var(--lime); font-size: 1.15rem; font-weight: 950; }
.route-group-heading h2 { margin: 0; color: var(--ink); font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.055em; }
.route-group-heading .eyebrow { margin-bottom: 7px; }
.chapter-list { display: grid; border-top: 1px solid var(--line); }
.chapter-row { display: grid; grid-template-columns: 70px 1fr 140px; align-items: center; gap: 22px; padding: 25px 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.chapter-row.is-ready { transition: padding .2s, background .2s; }
.chapter-row.is-ready:hover { padding-inline: 18px; background: #effcff; }
.chapter-number { color: #9ca7b8; font-size: 1.3rem; font-weight: 950; }
.is-ready .chapter-number { color: var(--coral); }
.chapter-copy h3 { margin: 0; color: var(--ink); font-size: clamp(1.08rem, 2vw, 1.42rem); line-height: 1.15; letter-spacing: -.025em; }
.chapter-copy p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; }
.chapter-status { color: #9ca7b8; font-size: .76rem; font-weight: 850; text-align: right; text-transform: uppercase; letter-spacing: .05em; }
.is-ready .chapter-status { color: var(--cyan-dark); }

/* Diccionario vivo */
.entry-content .glossary-intro { max-width: var(--reading); padding: 22px 24px; border-radius: 18px; color: var(--ink); background: #effcff; border: 1px solid #bcecf6; }
.entry-content .glossary-nav { max-width: var(--reading); display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; margin-bottom: 38px; }
.glossary-nav a { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink) !important; background: var(--paper); text-decoration: none; }
.entry-content .glossary-section { max-width: var(--reading); margin-top: 46px; }
.glossary-section > h2 { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.glossary-section > h2 span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--ink); background: var(--lime); }
.term-card { padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.term-card h3 { margin: 0 0 7px !important; color: var(--ink); font-size: 1.25rem !important; }
.term-card p { margin: 7px 0; }
.term-example { color: var(--muted); font-size: .93rem !important; }
.term-example strong { color: var(--coral); }

/* Entradas, páginas y archivos */
.page-hero, .archive-hero { padding: clamp(70px, 9vw, 120px) 0 58px; background: var(--white); }
.page-hero p, .archive-hero p { max-width: 680px; color: var(--muted); }
.archive-main { padding: 60px 0 100px; }
.article-hero { color: var(--white); background: var(--ink); padding: clamp(64px, 8vw, 108px) 0 0; }
.article-hero-inner { width: min(calc(100% - 40px), 980px); margin-inline: auto; text-align: center; }
.article-kicker { display: inline-flex; padding: 7px 12px; border-radius: 999px; color: var(--ink); background: var(--cyan); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.article-hero h1 { margin: 22px 0; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: .99; letter-spacing: -.058em; }
.article-byline { color: rgba(255,255,255,.65); font-size: .9rem; }
.article-image { width: min(calc(100% - 40px), 1120px); max-height: 620px; margin: 50px auto -80px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.article-image img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.article-content { padding: 130px 0 90px; background: var(--white); }
.article-content.no-image { padding-top: 80px; }
.entry-content { color: #26324b; }
.entry-content > * { max-width: var(--reading); margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--content); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { margin-top: 2.2em; color: var(--ink); font-size: clamp(1.7rem,3.2vw,2.55rem); line-height: 1.12; letter-spacing: -.035em; }
.entry-content h3 { margin-top: 1.8em; color: var(--ink); font-size: 1.45rem; line-height: 1.2; }
.entry-content p, .entry-content li { font-size: 1.06rem; }
.entry-content a { color: var(--cyan-dark); font-weight: 650; }
.entry-content blockquote { padding: 22px 26px; border-left: 5px solid var(--coral); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #fff3ef; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin-top: 2.2em; margin-bottom: 2.2em; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; }
.de0aia-video-consent { max-width: var(--content) !important; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.video-consent-copy { padding: clamp(34px, 7vw, 72px); color: var(--white); text-align: center; }
.video-consent-copy strong { display: block; font-size: 1.4rem; }
.video-consent-copy p { max-width: 580px; margin: 10px auto 22px; color: rgba(255,255,255,.7); }
.video-consent-frame, .video-consent-frame iframe { width: 100%; aspect-ratio: 16 / 9; }
.video-consent-frame iframe { display: block; height: auto; border: 0; }
.entry-footer { width: min(calc(100% - 40px), var(--reading)); margin: 0 auto 90px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.entry-footer strong { color: var(--ink); }
.reading-progress { position: fixed; z-index: 1200; top: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg,var(--coral),var(--cyan)); }
.admin-bar .reading-progress { top: 32px; }
.page-content { padding: 65px 0 100px; background: var(--white); }
.page-content .entry-content { width: min(calc(100% - 40px), var(--reading)); margin-inline: auto; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span { min-width: 44px; padding: 8px 13px; border-radius: 10px; text-align: center; text-decoration: none; }
.pagination .current { color: var(--white); background: var(--ink); }
.empty-state { padding: 48px; border-radius: var(--radius); background: var(--white); text-align: center; }

/* Pie */
.site-footer { color: rgba(255,255,255,.68); background: #040b18; }
.footer-main { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; padding: 70px 0 52px; }
.footer-brand p { max-width: 460px; }
.footer-title { margin: 0 0 14px; color: var(--white); font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

@media (max-width: 980px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .reading-progress { top: 46px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto; display: none; max-height: calc(100vh - 76px); overflow-y: auto; padding: 24px 20px 32px; background: rgba(7,17,37,.98); }
  .admin-bar .site-nav { top: 122px; }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 13px 10px; font-size: 1rem; }
  .site-nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { margin: -60px -28vw -170px 12vw; opacity: .78; }
  .hero-visual::after { box-shadow: inset 0 80px 80px var(--ink); }
  .path-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: .7fr 1.3fr; }
  .ask-hero-inner, .ask-layout { grid-template-columns: 1fr; }
  .ask-orbit { width: min(380px, 80%); margin-inline: auto; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap, .reading-wrap { width: min(calc(100% - 28px), var(--content)); }
  .section { padding: 68px 0; }
  .header-inner { min-height: 68px; }
  .site-nav { top: 68px; }
  .admin-bar .site-nav { top: 114px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero-inner { padding-top: 62px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions { display: grid; }
  .hero-visual { margin: -15px -55vw -100px 0; }
  .hero-visual img { min-width: 620px; }
  .quick-strip { margin-top: -12px; }
  .quick-strip-inner { grid-template-columns: 1fr; }
  .quick-item { padding: 18px 22px; }
  .quick-item + .quick-item { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .path-grid, .post-grid { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto-badge { width: 70%; margin-inline: auto; }
  .newsletter-card { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .ask-hero-inner { min-height: auto; }
  .ask-orbit { width: 70%; }
  .route-group-heading { grid-template-columns: 54px 1fr; gap: 14px; }
  .route-group-heading > span { width: 52px; height: 52px; border-radius: 15px; }
  .chapter-row { grid-template-columns: 42px 1fr; gap: 12px; padding: 21px 2px; }
  .chapter-status { grid-column: 2; text-align: left; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .article-hero h1 { font-size: clamp(2.35rem, 12vw, 4rem); }
  .article-image { margin-bottom: -44px; border-radius: var(--radius); }
  .article-content { padding-top: 84px; }
}

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

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
