/* Generado de site.css: estilos editoriales sin cabecera ni footer antiguos. */
:root {
  --ink: #10243f;
  --ink-2: #173657;
  --ink-3: #426078;
  --paper: #fffdf8;
  --paper-2: #f5f2e9;
  --line: #d9dedb;
  --accent: #f0644a;
  --accent-dark: #c94530;
  --mint: #bde8d5;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(16, 36, 63, .10);
  --content: 1180px;
  --article: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

button,
input { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--white); border-radius: 9px; }

.skip-link:focus { top: 1rem; }

.shell { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }

.hero { position: relative; overflow: hidden; padding: 3.7rem 0 3.2rem; background: var(--ink); color: var(--white); }

.hero::before { content: ""; position: absolute; width: 360px; height: 360px; right: -190px; top: -150px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.02); }

.hero-grid { position: relative; display: grid; gap: 2.3rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }

.hero h1 { max-width: 13ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 10vw, 5.7rem); line-height: .98; letter-spacing: -.055em; font-weight: 700; }

.hero-lead { max-width: 580px; margin: 1.35rem 0 0; color: #dce8ef; font-size: clamp(1.03rem, 2.3vw, 1.2rem); }

.hero-aside { align-self: end; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }

.stat { min-height: 105px; padding: 1rem; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; }

.stat strong { display: block; color: var(--mint); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }

.stat span { display: block; margin-top: .6rem; color: #cbd9e3; font-size: .8rem; }

.search-wrap { position: relative; z-index: 2; margin-top: -1.45rem; }

.search-box { display: flex; align-items: center; gap: .65rem; padding: .75rem .85rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }

.search-box svg { flex: 0 0 auto; color: var(--ink-3); }

.search-box input { width: 100%; padding: .35rem 0; color: var(--ink); border: 0; outline: 0; background: transparent; }

.search-box kbd { display: none; padding: .16rem .42rem; color: var(--ink-3); background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; font-size: .7rem; }

.search-results { display: none; position: absolute; inset: calc(100% + .45rem) 0 auto; max-height: 56vh; overflow: auto; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }

.search-results.is-open { display: block; }

.search-result { display: block; padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-decoration: none; }

.search-result:last-child { border: 0; }

.search-result:hover { background: var(--paper-2); }

.search-result small { display: block; color: var(--accent-dark); font-weight: 750; }

.section { padding: 3.6rem 0; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

.section-head h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1; letter-spacing: -.04em; }

.section-head p { max-width: 50ch; margin: .65rem 0 0; color: var(--ink-3); }

.text-link { flex: none; color: var(--accent-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.topics { display: flex; gap: .6rem; margin: 1.5rem 0 0; padding: 0 0 .35rem; overflow-x: auto; scrollbar-width: thin; }

.topic-chip { flex: none; padding: .62rem .86rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; }

.topic-chip:hover { border-color: var(--accent); }

.featured { display: grid; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }

.featured-media { min-height: 255px; background: var(--ink-2); }

.featured-media img { width: 100%; height: 100%; min-height: 255px; object-fit: cover; }

.featured-copy { padding: 1.5rem; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .85rem; color: var(--ink-3); font-size: .77rem; font-weight: 650; }

.category { color: var(--accent-dark); font-weight: 800; text-decoration: none; }

.featured h2 { margin: .75rem 0 .85rem; font-family: Georgia, serif; font-size: clamp(1.85rem, 6vw, 3.15rem); line-height: 1.06; letter-spacing: -.04em; }

.featured h2 a { text-decoration: none; }

.featured p { color: var(--ink-3); }

.read-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: .7rem; color: var(--accent-dark); font-weight: 800; text-decoration: none; }

.read-link::after { content: "\2192"; transition: transform .2s ease; }

.read-link:hover::after { transform: translateX(.25rem); }

.card-grid { display: grid; gap: 1rem; }

.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }

.card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(16,36,63,.09); }

.card-media { aspect-ratio: 16/9; overflow: hidden; background: var(--paper-2); }

.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.card:hover .card-media img { transform: scale(1.035); }

.card-copy { display: flex; flex: 1; flex-direction: column; padding: 1.1rem; }

.card h3 { margin: .55rem 0 .65rem; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.12; letter-spacing: -.025em; }

.card h3 a { text-decoration: none; }

.card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--ink-3); font-size: .9rem; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

.card .read-link { margin-top: auto; padding-top: 1rem; font-size: .86rem; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 2rem; }

.pagination a,
.pagination span { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: .3rem; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; }

.pagination .current { color: var(--white); background: var(--ink); border-color: var(--ink); }

.category-grid { display: grid; gap: .8rem; }

.category-card { position: relative; min-height: 160px; padding: 1.3rem; overflow: hidden; color: var(--white); background: var(--ink); border-radius: var(--radius); text-decoration: none; }

.category-card:nth-child(2n) { background: var(--ink-2); }

.category-card:nth-child(3n) { color: var(--ink); background: var(--mint); }

.category-card span { font-size: .78rem; font-weight: 750; opacity: .78; }

.category-card strong { display: block; max-width: 12ch; margin-top: 1.4rem; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.05; }

.category-card::after { content: "\2197"; position: absolute; right: 1rem; top: .75rem; font-size: 1.4rem; }

.cta { margin: 1rem 0 4rem; padding: 2.2rem 1.3rem; color: var(--white); background: var(--accent); border-radius: 24px; }

.cta h2 { max-width: 13ch; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }

.cta p { max-width: 52ch; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .72rem 1rem; color: var(--white); background: var(--ink); border: 0; border-radius: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }

.listing-hero { padding: 3.4rem 0 2.6rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }

.listing-hero h1 { max-width: 14ch; margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 9vw, 5rem); line-height: .98; letter-spacing: -.05em; }

.listing-hero p { max-width: 60ch; color: var(--ink-3); }

.article-hero { padding: 2.8rem 0 2rem; }

.breadcrumbs { display: flex; gap: .45rem; overflow: hidden; color: var(--ink-3); font-size: .76rem; white-space: nowrap; }

.breadcrumbs a { text-decoration: none; }

.article-hero h1 { max-width: 1000px; margin: 1rem 0 1.1rem; font-family: Georgia, serif; font-size: clamp(2.45rem, 9vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }

.article-dek { max-width: 760px; margin: 0 0 1.3rem; color: var(--ink-3); font-size: clamp(1.05rem, 2.5vw, 1.24rem); }

.article-cover { width: min(calc(100% - 2rem), 1280px); max-height: 720px; margin: 0 auto; overflow: hidden; background: var(--paper-2); border-radius: 20px; }

.article-cover img { width: 100%; height: 100%; max-height: 720px; object-fit: cover; }

.article-layout { display: grid; gap: 2rem; padding: 2.6rem 0 4.5rem; }

.article-aside { display: none; }

.toc { padding: 1.1rem; background: var(--paper-2); border-radius: 14px; }

.toc strong { display: block; margin-bottom: .55rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

.toc a { display: block; padding: .32rem 0; color: var(--ink-3); font-size: .79rem; line-height: 1.35; text-decoration: none; }

.toc .toc-h3 { padding-left: .8rem; }

.article-content { min-width: 0; max-width: var(--article); }

.article-content > :first-child { margin-top: 0; }

.article-content h2,
.article-content h3,
.article-content h4 { scroll-margin-top: 90px; color: var(--ink); font-family: Georgia, serif; line-height: 1.08; letter-spacing: -.025em; }

.article-content h2 { margin: 2.7rem 0 1rem; font-size: clamp(1.8rem, 5.8vw, 2.7rem); }

.article-content h3 { margin: 2.1rem 0 .8rem; font-size: clamp(1.45rem, 4.6vw, 2rem); }

.article-content p,
.article-content li { color: #253d54; }

.article-content a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.article-content img { display: block; margin: 1.8rem auto; border-radius: 15px; }

.article-content figure { margin: 1.8rem 0; }

.article-content figure img { margin: 0 auto; }

.article-content figcaption { margin-top: .5rem; color: var(--ink-3); font-size: .78rem; text-align: center; }

.article-content blockquote { margin: 2rem 0; padding: 1.2rem 1.3rem; background: var(--paper-2); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }

.article-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }

.article-content th,
.article-content td { padding: .7rem; border: 1px solid var(--line); text-align: left; }

.article-content .wp-block-button__link { display: inline-flex; padding: .7rem 1rem; color: var(--white); background: var(--ink); border-radius: 10px; text-decoration: none; }

.article-tools { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }

.tool-button { min-height: 42px; padding: .55rem .8rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-weight: 700; cursor: pointer; }

.post-nav { display: grid; gap: .8rem; margin-top: 2rem; }

.post-nav a { padding: 1rem; background: var(--paper-2); border-radius: 13px; text-decoration: none; }

.post-nav small { display: block; color: var(--ink-3); }

.related { padding: 3rem 0; background: var(--paper-2); }

.empty-state { padding: 4rem 0; text-align: center; }

.empty-state h1 { font-family: Georgia, serif; font-size: clamp(3rem, 12vw, 7rem); line-height: 1; }

@media (min-width: 620px) {
.shell { width: min(calc(100% - 3rem), var(--content)); }

.hero { padding: 5rem 0 4.3rem; }

.search-box { padding: .9rem 1rem; }

.search-box kbd { display: inline-block; }

.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.category-grid { grid-template-columns: repeat(2, 1fr); }

.cta { padding: 3rem; }

.post-nav { grid-template-columns: repeat(2, 1fr); }

}

@media (min-width: 900px) {
.hero-grid { grid-template-columns: minmax(0, 1.8fr) minmax(260px, .7fr); align-items: end; }

.hero-aside { grid-template-columns: 1fr; }

.featured { grid-template-columns: 1.15fr .85fr; min-height: 440px; }

.featured-media img { min-height: 440px; }

.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 2.4rem; }

.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }

.category-grid { grid-template-columns: repeat(4, 1fr); }

.article-layout { grid-template-columns: 230px minmax(0, var(--article)); justify-content: center; gap: 3.5rem; }

.article-aside { display: block; }

.toc { position: sticky; top: 100px; max-height: calc(100vh - 125px); overflow: auto; }

}

@media (min-width: 1180px) {
.hero-aside { grid-template-columns: repeat(2, 1fr); }

.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.article-layout { grid-template-columns: 260px minmax(0, var(--article)) 120px; }

.article-layout::after { content: ""; }

}

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

}
