/* ---------- Tokens ---------- */
:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --paper: #fdfcfa;
  --paper-dim: #f4f2ee;
  --line: #e2ddd4;
  --accent: #8a3b2e;
  --accent-soft: #c98f7e;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 760px;
  --max-wide: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max-wide); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: var(--max); }

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 500;
  transition: width 0.1s ease-out;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  position: sticky;
  top: 0;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(6px);
  z-index: 100;
}
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header__brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.site-header__nav a { color: var(--ink-soft); }
.site-header__nav a:hover { color: var(--ink); }
.search-trigger {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--ink-soft);
  cursor: pointer;
}
.search-trigger:hover { border-color: var(--ink-soft); color: var(--ink); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}
.search-overlay[hidden] { display: none; }
.search-overlay__panel {
  background: var(--paper);
  width: min(600px, 90vw);
  border-radius: 10px;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
}
.search-overlay__input {
  font-family: var(--serif);
  font-size: 20px;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 40px 14px 0;
  width: 100%;
  background: transparent;
  color: var(--ink);
}
.search-overlay__input:focus { outline: none; border-bottom-color: var(--accent); }
.search-overlay__close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--ink-soft);
  cursor: pointer;
}
.search-overlay__results {
  margin-top: 14px;
  overflow-y: auto;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 6px;
  border-radius: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  transition: background 0.15s;
}
.search-result:hover { background: var(--paper-dim); }
.search-result:last-child { border-bottom: none; }
.search-result__img { width: 56px; height: 34px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: var(--paper-dim); }
.search-result__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-result__title { display: block; font-family: var(--serif); font-size: 16px; line-height: 1.3; }
.search-result__meta { display: block; font-size: 11px; color: var(--tema-color, var(--ink-soft)); text-transform: uppercase; letter-spacing: 0.03em; }
.search-empty { font-family: var(--sans); color: var(--ink-soft); font-size: 14px; padding: 12px 0; }

/* ---------- Hero / home ---------- */
.hero { padding: 72px 0 40px; }
.hero__kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 14px;
}
.hero__title {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 500;
}
.hero__lede { font-size: 20px; color: var(--ink-soft); max-width: 620px; }

.featured { padding: 20px 0 56px; }
.featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-dim);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.featured__card:hover {
  border-color: var(--tema-color, var(--accent-soft));
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.featured__card-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.featured__card-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tema-color, var(--accent));
  margin-bottom: 10px;
}
.featured__title { font-size: 28px; margin: 0 0 12px; line-height: 1.25; }
.featured__excerpt { color: var(--ink-soft); margin: 0 0 14px; font-size: 17px; }
.featured__meta { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); }

@media (max-width: 720px) {
  .featured__card { grid-template-columns: 1fr; }
  .featured__card-img { min-height: 200px; }
}

.section-title {
  font-size: 22px;
  margin: 0 0 24px;
  font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

/* ---------- Post card grid ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.post-card:hover {
  border-color: var(--tema-color, var(--accent-soft));
  box-shadow: 0 14px 32px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}
.post-card__img-wrap {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: var(--paper-dim);
}
.post-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card__tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tema-color, var(--accent));
}
.post-card__title { font-size: 18px; line-height: 1.35; }
.post-card__meta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.see-all {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ---------- Temas grid ---------- */
.temas-grid { padding-bottom: 60px; }
.temas-grid__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.tema-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.15s, transform 0.15s;
}
.tema-card:hover { border-color: var(--tema-color, var(--accent-soft)); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.06); }
.tema-card__title { font-size: 17px; font-weight: 600; }
.tema-card__desc { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.tema-card__count { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--tema-color, var(--accent)); margin-top: 4px; }

.archive-page__header, .temas-page .archive-page__header { padding: 60px 0 24px; }
.archive-page__title { font-size: 36px; margin: 0 0 10px; }
.archive-page__count { color: var(--ink-soft); font-size: 16px; }

/* ---------- Post ---------- */
.post { padding: 0 0 0; }

.post__hero { position: relative; width: 100%; max-height: 420px; overflow: hidden; background: var(--paper-dim); }
.post__hero-img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.post__hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253,252,250,0) 55%, rgba(253,252,250,1) 100%);
}

.post__header { padding-top: 44px; }
.post__meta { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 18px; }
.post__tema-tag { color: var(--tema-color, var(--accent)); }
.post__escuela-tag { color: var(--ink-soft); font-weight: 500; }
.post__dot { color: var(--line); }
.post__title { font-size: 40px; line-height: 1.18; margin: 0 0 18px; font-weight: 500; }
.post__subline { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); margin: 0 0 32px; display: flex; gap: 8px; align-items: center; }

.post__body h2 {
  font-size: 26px;
  margin: 48px 0 16px;
  font-weight: 600;
  line-height: 1.3;
  padding-left: 14px;
  border-left: 3px solid var(--tema-color, var(--accent));
}
.post__body h3 { font-size: 21px; margin: 36px 0 14px; font-weight: 600; }
.post__body p { margin: 0 0 22px; }
.post__body > p:first-of-type {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}
.post__body ul { margin: 0 0 24px; padding-left: 22px; }
.post__body li { margin-bottom: 10px; }
.post__body li::marker { color: var(--tema-color, var(--accent)); }
.post__body { padding-bottom: 20px; }

/* ---------- Related ---------- */
.related { background: var(--paper-dim); padding: 48px 0 56px; margin-top: 24px; }
.related__title { font-size: 20px; margin: 0 0 20px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related__card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.related__card:hover { border-color: var(--tema-color, var(--accent-soft)); transform: translateY(-2px); }
.related__card-img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.related__card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.related__card-tag { font-family: var(--sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--tema-color, var(--accent)); }
.related__card-title { font-size: 16px; line-height: 1.35; }

/* ---------- Comments ---------- */
.comments { padding: 48px 0 80px; }
.comments__title { font-size: 20px; margin: 0 0 20px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 40px; }
.site-footer__inner { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.site-footer__inner p { margin: 0 0 4px; }
.site-footer__fine { font-size: 12px; opacity: 0.8; }
.site-footer__fine a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Ad placeholders ---------- */
.ad {
  border: 1.5px dashed #b8aea0;
  background: #f0ece4;
  color: #8a8070;
  font-family: var(--sans);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 6px;
}
.ad__label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.ad__dims { font-size: 11px; opacity: 0.75; }

.ad--banner { width: 100%; max-width: 728px; height: 90px; margin: 0 auto 36px; }
.ad--rect { width: 100%; max-width: 336px; height: 180px; margin: 32px auto; }

/* Real AdSense units (once site.adsense.publisherId + slots are filled in)
   reuse the same spacing as the placeholders they replace. */
.ad-slot { text-align: center; overflow: hidden; }
.ad-slot--banner { max-width: 728px; margin: 0 auto 36px; }
.ad-slot--rect { max-width: 336px; margin: 32px auto; }

.ad--popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 220px;
  height: 160px;
  z-index: 800;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.ad--popup.is-visible { transform: translateY(0); opacity: 1; }

.ad--corner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: 170px;
  height: 56px;
  z-index: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.ad__close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: #8a8070;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero__title { font-size: 32px; }
  .post__title { font-size: 28px; }
  .site-header__nav { gap: 14px; }
  .ad--popup { width: 160px; height: 130px; right: 12px; bottom: 12px; }
  .ad--corner { width: 140px; height: 48px; left: 12px; bottom: 12px; font-size: 10px; }
  .ad--banner { height: 70px; }
  .post__hero, .post__hero-img { max-height: 220px; }
  .post__header { padding-top: 28px; }
  .post-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 16px; }
}

/* =====================================================================
   Rediseño: hero, tarjetas con chip, lectura, índice, compartir, pie
   ===================================================================== */
:root {
  --paper: #fbf9f5;
  --paper-dim: #f3efe7;
  --accent: #8a3b2e;
  --shadow: 0 18px 44px rgba(40, 28, 18, 0.10);
}
body { background: var(--paper); }

/* Cabecera más limpia */
.site-header { background: rgba(251, 249, 245, 0.86); backdrop-filter: blur(10px); padding: 16px 0; }
.site-header__brand { font-size: 23px; letter-spacing: -0.01em; }
.site-header__brand::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #d49a63);
  vertical-align: 1px;
}
.site-header__nav a { position: relative; }
.site-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--accent); transition: right .2s;
}
.site-header__nav a:hover::after { right: 0; }

/* Hero de portada */
.hero {
  position: relative;
  padding: 84px 0 40px;
  background:
    radial-gradient(900px 340px at 82% -10%, rgba(214, 150, 96, 0.22), transparent 70%),
    radial-gradient(700px 300px at 8% 10%, rgba(60, 110, 138, 0.14), transparent 70%);
}
.hero__title { font-size: 58px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; max-width: 780px; }
.hero__lede { font-size: 21px; max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .02em;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink-soft); background: rgba(255,255,255,.6);
  transition: all .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); background: #fff; transform: translateY(-1px); }

/* Ensayo destacado a lo grande */
.featured { padding: 24px 0 60px; }
.featured .wrap { max-width: 1080px; }
.featured__card {
  grid-template-columns: 1.25fr 1fr;
  border-radius: 18px;
  border: none;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.featured__card-img { min-height: 340px; }
.featured__card-body { padding: 44px 40px; }
.featured__title { font-size: 32px; letter-spacing: -0.01em; }
.featured__card:hover { box-shadow: 0 26px 60px rgba(40, 28, 18, .16); }

.section-title { font-size: 26px; letter-spacing: -0.01em; border-top: none; padding-top: 12px; }
.archive-list .wrap, .temas-grid .wrap { max-width: 1080px; }

/* Tarjetas */
.post-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 26px; }
.post-card { border-radius: 14px; border: none; box-shadow: 0 2px 14px rgba(40, 28, 18, .07); background: #fff; }
.post-card:hover { box-shadow: 0 22px 44px rgba(40, 28, 18, .14); transform: translateY(-5px); }
.post-card__img-wrap { position: relative; }
.post-card__chip {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: rgba(20, 20, 24, .55); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
}
.post-card__body { padding: 20px 22px 22px; gap: 10px; }
.post-card__title { font-size: 20px; line-height: 1.28; font-weight: 600; letter-spacing: -0.005em; }
.post-card__excerpt { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.post-card__meta { text-transform: none; font-size: 12px; letter-spacing: 0; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

/* Temas */
.tema-card {
  border: none; border-radius: 14px; background: #fff;
  box-shadow: 0 2px 12px rgba(40,28,18,.06);
  border-top: 4px solid var(--tema-color, var(--accent));
}
.tema-card__title { font-size: 18px; }

/* Ensayo: cabecera inmersiva */
.post__hero { max-height: 520px; }
.post__hero-img { max-height: 520px; }
.post__hero-fade { background: linear-gradient(180deg, rgba(251,249,245,0) 60%, rgba(251,249,245,1) 100%); }
.post__header { padding-top: 24px; }
.breadcrumb { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); display: flex; gap: 8px; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: .4; }
.post__title { font-size: 46px; line-height: 1.1; letter-spacing: -0.02em; }
.post__tema-tag {
  background: color-mix(in srgb, var(--tema-color, var(--accent)) 12%, white);
  padding: 4px 12px; border-radius: 999px;
}

/* Lectura */
.post__body { font-size: 20px; line-height: 1.72; }
.post__body > p:first-of-type { font-size: 23px; line-height: 1.55; }
.post__body > p:first-of-type::first-letter {
  float: left;
  font-size: 4.3em;
  line-height: .82;
  padding: 6px 12px 0 0;
  font-weight: 600;
  color: var(--tema-color, var(--accent));
}
.post__body h2 {
  border-left: none; padding-left: 0;
  font-size: 28px; letter-spacing: -0.01em; margin: 56px 0 18px;
}
.post__body h2::before {
  content: ""; display: block; width: 44px; height: 4px; border-radius: 2px;
  background: var(--tema-color, var(--accent)); margin-bottom: 16px;
}
.post__body blockquote {
  margin: 34px 0; padding: 6px 0 6px 26px;
  border-left: 4px solid var(--tema-color, var(--accent));
  font-size: 23px; line-height: 1.5; font-style: italic; color: var(--ink);
}
.post__body strong { font-weight: 600; }
.post__body a { color: var(--tema-color, var(--accent)); text-decoration: underline; text-underline-offset: 3px; }
.prose > h2:first-child::before { display: none; }
.prose > p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }

/* Índice del ensayo */
.toc {
  margin: 0 0 40px; padding: 22px 26px; border-radius: 14px;
  background: var(--paper-dim);
  border-left: 4px solid var(--tema-color, var(--accent));
  font-family: var(--sans);
}
.toc[hidden] { display: none; }
.toc__title { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.toc__list { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.5; }
.toc__list li { margin: 6px 0; }
.toc__list a:hover { color: var(--tema-color, var(--accent)); text-decoration: underline; }

/* Compartir */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0 28px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--sans); }
.share__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-right: 6px; }
.share__btn {
  font: 500 13px var(--sans); color: var(--ink-soft); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer;
  transition: all .15s;
}
.share__btn:hover { color: #fff; background: var(--tema-color, var(--accent)); border-color: var(--tema-color, var(--accent)); }

/* Autor */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 2px 14px rgba(40,28,18,.07); margin-bottom: 12px;
}
.author-box__mark {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--tema-color, var(--accent)), #d49a63);
  color: #fff; font: 600 22px var(--serif);
}
.author-box__name { margin: 0 0 4px; font: 600 16px var(--sans); }
.author-box__text { margin: 0; font: 400 15px/1.55 var(--sans); color: var(--ink-soft); }
.author-box__text a { color: var(--tema-color, var(--accent)); text-decoration: underline; text-underline-offset: 3px; }

/* Relacionados */
.related { background: linear-gradient(180deg, var(--paper-dim), var(--paper)); }
.related__card { border: none; border-radius: 12px; box-shadow: 0 2px 12px rgba(40,28,18,.07); background: #fff; }
.related__card:hover { box-shadow: 0 16px 34px rgba(40,28,18,.13); }

/* Pie de página */
.site-footer { background: #1f1b18; color: #cfc7bb; border-top: none; margin-top: 70px; padding: 54px 0 24px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer__brand { font: 600 22px var(--serif); color: #fff; margin: 0 0 10px; }
.site-footer__tag { font: 14px/1.6 var(--sans); max-width: 340px; margin: 0; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; font: 14px var(--sans); }
.site-footer__col a:hover { color: #fff; }
.site-footer__head { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 4px; }
.site-footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font: 12px var(--sans); opacity: .7; }

@media (max-width: 720px) {
  .hero { padding: 52px 0 24px; }
  .hero__title { font-size: 36px; }
  .featured__card { grid-template-columns: 1fr; }
  .featured__card-img { min-height: 210px; }
  .featured__card-body { padding: 26px 22px; }
  .post__title { font-size: 31px; }
  .post__body { font-size: 18px; }
  .post__body > p:first-of-type { font-size: 20px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .post-grid { grid-template-columns: 1fr; }
}
