/* ============================================================
   ESPACIO ROJO — Blog
   Índice, artículo, índice de contenidos, tarjetas, newsletter.
   ============================================================ */

.blog-wrapper { max-width: 1100px; margin: 0 auto; padding: 4rem clamp(1.5rem, 4vw, 3rem); }

/* ---------- BUSCADOR + FILTROS ---------- */
.blog-toolbar { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }

.search-wrap { position: relative; max-width: 420px; width: 100%; }
.search-wrap > i {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted-light); font-size: 0.85rem; pointer-events: none;
}
.search-input {
  width: 100%; border: 1px solid var(--border); border-radius: 100px;
  padding: 0.7rem 2.6rem 0.7rem 2.6rem; background: var(--white); color: var(--ink);
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem; outline: none;
  transition: border-color var(--ease-out), box-shadow var(--ease-out);
}
.search-input::placeholder { color: var(--muted-light); }
.search-input:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-glow); }
.search-clear {
  position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted-light); cursor: pointer;
  font-size: 0.85rem; padding: 0.25rem; display: none;
}
.search-clear.visible { display: block; }
.search-clear:hover { color: var(--red); }

.filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.filter-btn {
  font-family: 'DM Sans', sans-serif; font-size: 0.86rem; font-weight: 500;
  padding: 0.5rem 1.15rem; border-radius: 100px; border: 1px solid var(--border);
  background: var(--white); color: var(--muted); cursor: pointer; transition: all var(--ease-out);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.filter-count { opacity: 0.55; font-size: 0.78em; margin-left: 0.35em; }

.results-line { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.results-line strong { color: var(--ink); font-weight: 600; }
.active-tag {
  display: inline-flex; align-items: center; gap: 0.4rem; background: var(--red-glow);
  color: var(--red); padding: 0.2rem 0.7rem; border-radius: 100px; font-weight: 500;
}
.active-tag button { background: none; border: none; color: inherit; cursor: pointer; font-size: 0.75rem; padding: 0; }

/* ---------- DESTACADO ---------- */
.featured-post {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  margin-bottom: 3rem; background: var(--white); transition: box-shadow var(--ease);
}
.featured-post:hover { box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1); }
.featured-cover { display: flex; align-items: center; justify-content: center; min-height: 260px; font-size: 3rem; }
.featured-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.featured-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; background: var(--red-glow); color: var(--red);
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1rem; width: fit-content;
}
.featured-title {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.75rem;
}
.featured-title a { color: inherit; }
.featured-title a::after { content: ''; position: absolute; inset: 0; }
.featured-post { position: relative; }
.featured-excerpt { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.featured-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.8rem; color: var(--muted-light); flex-wrap: wrap; }
.featured-read {
  color: var(--red); font-size: 0.88rem; font-weight: 500; display: flex;
  align-items: center; gap: 0.4rem; margin-top: 1.25rem; transition: gap var(--ease-out);
}
.featured-post:hover .featured-read { gap: 0.7rem; }

/* ---------- GRID DE POSTS ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.post-card {
  position: relative; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--white); display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0, 0, 0, 0.09); border-color: var(--border-strong); }
.post-card:focus-within { border-color: var(--red); }
.post-cover { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 0.6rem; }
.post-title { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.post-title a { color: inherit; }
/* El enlace del título cubre toda la tarjeta: un solo destino para lectores de pantalla */
.post-title a::after { content: ''; position: absolute; inset: 0; }
.post-excerpt { color: var(--muted); font-size: 0.86rem; line-height: 1.62; margin-bottom: 1rem; flex: 1; }
.post-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.77rem; color: var(--muted-light); }
.post-read { color: var(--red); font-size: 0.82rem; font-weight: 500; display: flex; align-items: center; gap: 0.35rem; }

/* ---------- PAGINACIÓN ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; padding: 0 0.75rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--white); color: var(--muted);
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: all var(--ease-out);
}
.page-btn:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.page-btn[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---------- VACÍO ---------- */
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--muted); grid-column: 1 / -1; }
.empty-state i { font-size: 2.5rem; color: var(--border-strong); margin-bottom: 1rem; }
.empty-state h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--ink); }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--ink); border-radius: 20px; padding: 3rem; margin-top: 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 65%);
}
.newsletter h3 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; line-height: 1.25; color: #fff; margin-bottom: 0.5rem; position: relative; }
.newsletter p { color: rgba(255, 255, 255, 0.5); font-size: 0.95rem; margin-bottom: 1.75rem; position: relative; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 440px; margin: 0 auto; position: relative; }
.newsletter-input {
  flex: 1; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 100px;
  padding: 0.75rem 1.25rem; background: rgba(255, 255, 255, 0.06); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem; outline: none; transition: border-color var(--ease-out);
}
.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.newsletter-input:focus { border-color: var(--red); }
.newsletter-btn {
  background: var(--red); color: #fff; border: none; border-radius: 100px;
  padding: 0.75rem 1.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  font-weight: 500; cursor: pointer; white-space: nowrap; transition: background var(--ease-out);
}
.newsletter-btn:hover:not(:disabled) { background: var(--red-deep); }
.newsletter-btn:disabled { opacity: 0.6; cursor: wait; }
.newsletter-note { position: relative; font-size: 0.78rem; color: rgba(255, 255, 255, 0.3); margin-top: 1rem; margin-bottom: 0; }
.newsletter-msg { position: relative; margin-top: 1rem; font-size: 0.88rem; color: #4ade80; min-height: 1.2em; }
.newsletter-msg.error { color: #ff8a93; }

/* ============================================================
   ARTÍCULO
   ============================================================ */
.reading-progress { position: fixed; top: var(--nav-h); left: 0; height: 3px; width: 0; background: var(--red); z-index: 899; transition: width 0.1s linear; }

.post-hero {
  padding-top: var(--nav-h); min-height: 50vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-left: clamp(1.5rem, 6vw, 6rem); padding-right: clamp(1.5rem, 6vw, 6rem); padding-bottom: 4.5rem;
}
.post-hero-bg { position: absolute; inset: 0; background: var(--ink); }
.post-hero-glow { position: absolute; top: -80px; right: -80px; width: 500px; height: 500px; pointer-events: none; }
.post-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.post-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.post-cat-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(230, 57, 70, 0.18);
  border: 1px solid rgba(230, 57, 70, 0.3); color: #ff8a93; font-size: 0.72rem; font-weight: 600;
  padding: 0.32rem 0.85rem; border-radius: 100px; margin-bottom: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.post-hero h1 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.03em; color: #fff; line-height: 1.1; margin-bottom: 1rem;
}
.post-hero-meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; color: rgba(255, 255, 255, 0.45); font-size: 0.84rem; }
.post-hero-meta i { color: var(--red); margin-right: 4px; font-size: 0.8rem; }

.article-wrapper {
  display: grid; grid-template-columns: 1fr 300px; gap: 4rem; max-width: 1080px;
  margin: 0 auto; padding: 4rem clamp(1.5rem, 4vw, 3rem); align-items: start;
}
.article-body { min-width: 0; }

.article-content { font-size: 1.05rem; line-height: 1.82; color: #2a2a2a; }
.article-content p { margin-bottom: 1.5rem; }
.article-content h2 {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem; color: var(--ink); line-height: 1.2; scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}
.article-content h3 {
  font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.75rem;
  color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-content ul ul, .article-content ol ol, .article-content ul ol, .article-content ol ul { margin: 0.5rem 0 0.25rem; }
.article-content li { margin-bottom: 0.6rem; color: var(--muted); }
.article-content li strong { color: var(--ink); }
.article-content strong { color: var(--ink); font-weight: 600; }
.article-content em { font-style: italic; }
.article-content blockquote {
  border-left: 3px solid var(--red); padding: 1rem 1.5rem; margin: 2rem 0;
  background: rgba(230, 57, 70, 0.04); border-radius: 0 12px 12px 0;
  font-style: italic; font-size: 1.05rem; color: var(--muted);
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content a { color: var(--red); text-decoration: underline; text-decoration-color: rgba(230, 57, 70, 0.35); transition: text-decoration-color var(--ease-out); }
.article-content a:hover { text-decoration-color: var(--red); }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.article-content img { border-radius: 12px; margin: 1.5rem 0; }

/* Ilustraciones: imagen sola en su párrafo, con el alt de pie */
.article-content .post-figure { margin: 2rem 0; }
.article-content .post-figure img {
  display: block; width: 100%; max-width: 560px; margin: 0 auto;
  border: 1px solid var(--border); background: var(--cream);
}
.article-content .post-figure figcaption {
  margin-top: 0.7rem; font-size: 0.87rem; line-height: 1.6;
  color: var(--muted); text-align: center;
}

/* Código */
.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.87em;
  background: rgba(13, 13, 13, 0.06); padding: 0.15em 0.4em; border-radius: 5px; color: var(--ink);
}
.article-content pre {
  background: var(--ink); color: #e8e8e8; padding: 1.25rem 1.4rem; border-radius: 12px;
  overflow-x: auto; margin-bottom: 1.5rem; font-size: 0.88rem; line-height: 1.6;
}
.article-content pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

/* Tablas — el renderer viejo las escupía como texto con pipes */
.table-scroll { overflow-x: auto; margin-bottom: 1.5rem; border: 1px solid var(--border); border-radius: 12px; }
.article-content table { border-collapse: collapse; width: 100%; font-size: 0.92rem; background: var(--white); }
.article-content th, .article-content td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.article-content th { background: var(--cream); font-weight: 600; color: var(--ink); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.article-content td { color: var(--muted); }
.article-content tbody tr:last-child td { border-bottom: none; }

/* ---------- ÍNDICE DE CONTENIDOS ---------- */
.toc { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.35rem 1.5rem; margin-bottom: 2.5rem; }
.toc-title { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-light); margin-bottom: 0.9rem; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: 0.5rem; }
.toc li.toc-h2 { counter-increment: toc; }
.toc li.toc-h3 { padding-left: 1.1rem; }
.toc a { font-size: 0.89rem; color: var(--muted); line-height: 1.5; transition: color var(--ease-out); display: inline-block; }
.toc a::before { content: counter(toc) '. '; color: var(--red); font-weight: 600; }
.toc li.toc-h3 a::before { content: '— '; }
.toc a:hover, .toc a.active { color: var(--red); }

/* ---------- TAGS ---------- */
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.article-tag {
  font-size: 0.76rem; background: var(--cream); color: var(--muted); padding: 0.3rem 0.8rem;
  border-radius: 100px; border: 1px solid var(--border); font-weight: 500; transition: all var(--ease-out);
}
a.article-tag:hover { border-color: var(--red); color: var(--red); background: var(--red-glow); }

/* ---------- CTA DE PRODUCTO EN ARTÍCULO ---------- */
.inline-cta {
  margin: 2.5rem 0; padding: 1.6rem 1.8rem; border-radius: 16px;
  background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--red);
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.inline-cta-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.inline-cta h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.4rem; }
.inline-cta p { font-size: 0.89rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.7rem; }
.inline-cta a { font-size: 0.86rem; font-weight: 500; color: var(--red); display: inline-flex; align-items: center; gap: 0.4rem; }
.inline-cta a:hover { gap: 0.65rem; }

/* ---------- AUTOR ---------- */
.author-box {
  margin-top: 2.5rem; padding: 1.75rem; background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; display: flex; gap: 1.25rem; align-items: flex-start;
}
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); display: flex;
  align-items: center; justify-content: center; font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 800; color: var(--red); flex-shrink: 0;
}
.author-name { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.15rem; }
.author-role { color: var(--red); font-size: 0.76rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.author-bio { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

/* ---------- COMPARTIR ---------- */
.share-row { margin-top: 2rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.share-label { font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; padding: 0.45rem 0.95rem; border-radius: 100px; border: 1px solid var(--border);
  background: var(--white); color: var(--muted); cursor: pointer; transition: all var(--ease-out);
}
.share-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-glow); }

/* ---------- SIDEBAR ---------- */
.article-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.sidebar-card-title { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-light); margin-bottom: 1.1rem; }
.sidebar-post { display: flex; gap: 0.85rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-post-title { font-size: 0.85rem; font-weight: 500; line-height: 1.4; margin-bottom: 0.2rem; transition: color var(--ease-out); }
.sidebar-post:hover .sidebar-post-title { color: var(--red); }
.sidebar-post-meta { font-size: 0.73rem; color: var(--muted-light); }

.sidebar-cta { background: var(--ink); border-radius: 16px; padding: 1.6rem; position: relative; overflow: hidden; }
.sidebar-cta::before { content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(230, 57, 70, 0.22) 0%, transparent 65%); }
.sidebar-cta h4 { font-family: 'Syne', sans-serif; font-size: 1.02rem; font-weight: 700; line-height: 1.35; color: #fff; margin-bottom: 0.6rem; position: relative; }
.sidebar-cta p { font-size: 0.83rem; color: rgba(255, 255, 255, 0.5); line-height: 1.6; margin-bottom: 1.1rem; position: relative; }
.sidebar-cta-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; background: var(--red); color: #fff;
  font-size: 0.84rem; font-weight: 500; padding: 0.55rem 1.15rem; border-radius: 100px;
  position: relative; transition: background var(--ease-out);
}
.sidebar-cta-btn:hover { background: var(--red-deep); }

/* ---------- RELACIONADOS ---------- */
.related-section { max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem) 5rem; }
.related-title { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.75rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.related-card {
  position: relative; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--white); transition: transform var(--ease), box-shadow var(--ease);
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08); }
.related-cover { height: 96px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.related-body { padding: 1.15rem; }
.related-cat { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 0.45rem; }
.related-post-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.45rem; }
.related-post-title a::after { content: ''; position: absolute; inset: 0; }
.related-meta { font-size: 0.75rem; color: var(--muted-light); }

/* ---------- NAVEGACIÓN ANTERIOR / SIGUIENTE ---------- */
.post-nav { max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem) 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-nav-item {
  position: relative; border: 1px solid var(--border); border-radius: 14px; padding: 1.15rem 1.35rem;
  background: var(--white); transition: border-color var(--ease-out), transform var(--ease-out);
}
.post-nav-item:hover { border-color: var(--red); transform: translateY(-2px); }
.post-nav-item.next { text-align: right; }
.post-nav-dir { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-light); margin-bottom: 0.35rem; }
.post-nav-title { font-family: 'Syne', sans-serif; font-size: 0.92rem; font-weight: 700; line-height: 1.35; }

/* ---------- NO ENCONTRADO ---------- */
.not-found { max-width: 620px; margin: 0 auto; padding: 8rem 2rem; text-align: center; }
.not-found i { font-size: 3rem; color: var(--border-strong); margin-bottom: 1.25rem; }
.not-found h1, .not-found h2 { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 0.6rem; }
.not-found p { color: var(--muted); margin-bottom: 1.75rem; line-height: 1.7; }
.btn-red {
  display: inline-flex; align-items: center; gap: 0.5rem; background: var(--red); color: #fff;
  padding: 0.7rem 1.5rem; border-radius: 100px; font-size: 0.9rem; font-weight: 500;
  transition: background var(--ease-out);
}
.btn-red:hover { background: var(--red-deep); }

@media (max-width: 980px) {
  .article-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-sidebar { position: static; }
}
@media (max-width: 780px) {
  .featured-post { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter { padding: 2rem 1.5rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item.next { text-align: left; }
}
