/* =========================================================
   Estilo y Vida — Especial Emisoras Unidas
   ========================================================= */

:root,
[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-alt: #101010;
  --card-bg: #1a1a1a;
  --card-bg-alt: #1f1f1f;
  --border-color: rgba(255, 255, 255, 0.08);
  --text: #f2f2f0;
  --text-muted: #a3a19a;
  --accent: #f5d042;
  --accent-strong: #ffe27a;
  --accent-text: #171400;
  --header-bg: rgba(10, 10, 10, 0.92);
  --footer-bg: #050505;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --ph-1: #2a2a2a;
  --ph-2: #232323;
}

[data-theme="light"] {
  --bg: #f7f5ef;
  --bg-alt: #ffffff;
  --card-bg: #ffffff;
  --card-bg-alt: #f1eee4;
  --border-color: rgba(20, 18, 10, 0.1);
  --text: #1b1a15;
  --text-muted: #6b6858;
  --accent: #c9971a;
  --accent-strong: #a97e12;
  --accent-text: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.92);
  --footer-bg: #17150f;
  --shadow: 0 10px 30px rgba(20, 15, 0, 0.08);
  --ph-1: #ece7d8;
  --ph-2: #e3ddc9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  transition: background-color .25s ease, color .25s ease;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container-xl {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(245, 208, 66, .12);
  border: 1px solid rgba(245, 208, 66, .35);
  border-radius: 999px;
  padding: .3rem .7rem;
}
[data-theme="light"] .eyebrow { color: #7a5c0f; background: rgba(201,151,26,.1); border-color: rgba(201,151,26,.35); }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: var(--accent-text);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  border: none;
  border-radius: 6px;
  padding: .75rem 1.4rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
}
.btn-accent:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--accent-text); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-color);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  border-radius: 6px;
  padding: .7rem 1.3rem;
  transition: border-color .2s ease, color .2s ease;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }

/* ---------- Placeholder de imagen ---------- */
.ph {
  position: relative;
  width: 100%;
  min-height: 160px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, var(--ph-1) 0 18px, var(--ph-2) 18px 36px);
  color: var(--text-muted);
  overflow: hidden;
}
.ph i { font-size: 2rem; opacity: .55; }
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%);
}
[data-theme="light"] .ph::after { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.12) 100%); }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.brand-mark { height: 34px; width: auto; border-radius: 4px; flex-shrink: 0; }
.brand-word {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .06em;
  line-height: 1;
  white-space: nowrap;
}
.brand-word span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); border-color: var(--accent); }
.main-nav a.link-proveedores { color: var(--accent-strong); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  font-size: 1.05rem;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-strong); transform: rotate(15deg); }
.theme-toggle .bi-moon-stars-fill { display: none; }
[data-theme="light"] .theme-toggle .bi-sun-fill { display: none; }
[data-theme="light"] .theme-toggle .bi-moon-stars-fill { display: inline; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { width: 100%; padding: .9rem 1.25rem; border-bottom: 1px solid var(--border-color); border-left: 2px solid transparent; }
  .main-nav a:hover, .main-nav a.active { border-left-color: var(--accent); border-bottom-color: var(--border-color); }
}

/* ================= BANNER ================= */
.ad-banner-wrap { padding: 1.4rem 0 .4rem; }
.ad-banner {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  height: 80px;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
  background: var(--card-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'Oswald', sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .ad-banner { max-width: 300px; height: 100px; }
}

/* ================= SECTION HEADINGS ================= */
.section { padding: 3rem 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}
.section-head h2 { font-size: 1.6rem; }
.section-head .sub { color: var(--text-muted); font-family: 'Roboto', sans-serif; text-transform: none; font-weight: 400; letter-spacing: 0; margin-top: .3rem; font-size: .95rem; }
.section-head-simple { margin-bottom: 1.8rem; }

/* ================= HERO DESTACADOS ================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.4rem;
}
.hero-side { display: flex; flex-direction: column; gap: 1.4rem; }
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--accent); }

.post-card--main .ph { min-height: 420px; }
.post-card--side .ph { min-height: 150px; }
@media (max-width: 850px) {
  .post-card--main .ph { min-height: 280px; }
}

.post-card__body { padding: 1.1rem 1.2rem 1.3rem; flex-shrink: 0; }
.post-card--main .post-card__body { padding: 1.4rem 1.5rem 1.7rem; }
.post-card__cat {
  font-family: 'Oswald', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.post-card__title {
  margin-top: .4rem;
  font-size: 1.05rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}
.post-card--main .post-card__title { font-size: 1.7rem; }
.post-card--side .post-card__title { font-size: .98rem; }
.post-card__excerpt {
  margin-top: .5rem;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.5;
  text-transform: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}
.post-card__meta {
  margin-top: .8rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--text-muted);
}

/* ================= GRID DESTACADOS (8) ================= */
.grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 991px) { .grid-8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-8 { grid-template-columns: 1fr; } }
.grid-8 .post-card .ph { min-height: 170px; }

/* ================= EMERGENCIAS ================= */
.emg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
@media (max-width: 991px) { .emg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .emg-grid { grid-template-columns: 1fr; } }

.emg-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.emg-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.emg-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 208, 66, .12);
  color: var(--accent);
  font-size: 1.5rem;
}
[data-theme="light"] .emg-card__icon { background: rgba(201,151,26,.12); color: var(--accent-strong); }
.emg-card__title { font-size: .95rem; letter-spacing: .02em; }
.emg-card__desc { margin-top: .5rem; color: var(--text-muted); font-size: .85rem; line-height: 1.45; text-transform: none; font-family: 'Roboto', sans-serif; font-weight: 400; }

/* ================= CTA ================= */
.cta {
  background: linear-gradient(120deg, var(--card-bg) 0%, var(--card-bg-alt) 100%);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  background: var(--accent);
  opacity: .12;
  border-radius: 50%;
  top: -140px; right: -100px;
}
.cta h2 { font-size: 1.7rem; }
.cta p { color: var(--text-muted); margin-top: .7rem; font-size: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta .btn-accent { margin-top: 1.6rem; font-size: .95rem; padding: .9rem 1.9rem; }

/* ================= FOOTER ================= */
.site-footer { background: var(--footer-bg); color: #e9e6da; margin-top: 3rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.2rem;
  padding: 3rem 0 2rem;
}
@media (max-width: 767px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .brand-word { color: #f5f3ea; }
.footer-tagline { margin-top: .9rem; color: #b4b1a4; font-size: .92rem; line-height: 1.6; max-width: 320px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease;
  color: #e9e6da;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 { font-size: .82rem; letter-spacing: .1em; color: var(--accent-strong); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { color: #cfccc0; font-size: .92rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-strong); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0;
  font-size: .8rem;
  color: #8f8c7f;
  text-align: center;
}

/* ================= PÁGINA PROVEEDORES ================= */
.provider-hero { padding: 2.6rem 0 1rem; text-align: center; }
.provider-hero h1 { font-size: 2rem; }
.provider-hero p { color: var(--text-muted); max-width: 560px; margin: .8rem auto 0; text-transform: none; font-family: 'Roboto', sans-serif; font-weight: 400; letter-spacing: 0; }

.provider-form {
  max-width: 720px;
  margin: 2rem auto 4rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text);
  border-radius: 6px;
  padding: .7rem .8rem;
  font-family: 'Roboto', sans-serif;
  font-size: .92rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-check { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; }
.form-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-check label { margin: 0; font-size: .88rem; color: var(--text); text-transform: none; font-family: 'Roboto', sans-serif; }
.form-note { margin-top: 1rem; font-size: .82rem; color: var(--text-muted); }
.form-success {
  display: none;
  margin-top: 1.2rem;
  padding: .9rem 1rem;
  border-radius: 8px;
  background: rgba(84, 190, 106, .12);
  border: 1px solid rgba(84, 190, 106, .4);
  color: #6bd57e;
  font-size: .9rem;
}
.form-success.show { display: block; }

.provider-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 767px) { .provider-perks { grid-template-columns: 1fr; } }
.perk { background: var(--card-bg-alt); border: 1px solid var(--border-color); border-radius: 10px; padding: 1.3rem; text-align: center; }
.perk i { font-size: 1.5rem; color: var(--accent); }
.perk h4 { margin-top: .7rem; font-size: .9rem; }
.perk p { margin-top: .4rem; font-size: .82rem; color: var(--text-muted); text-transform: none; font-family: 'Roboto', sans-serif; font-weight: 400; }

/* ================= ARTÍCULO ================= */
.article-page-wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.6rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.article-col { flex: 1 1 auto; min-width: 0; max-width: 780px; margin: 0 auto; }

/* Ocultos por defecto (móvil y tablet); solo aparecen cuando hay espacio real a los costados del texto */
.skyscraper { display: none; flex: 0 0 160px; width: 160px; }
@media (min-width: 1360px) { .skyscraper { display: block; } }
.ad-skyscraper {
  position: sticky;
  top: 88px;
  width: 160px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  background: var(--card-bg-alt);
  color: var(--text-muted);
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding: 1.4rem 0 0;
  font-size: .82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--text); }

.article-hero { padding: 1.2rem 0 0; max-width: 820px; margin: 0 auto; text-align: left; }
.article-hero h1 {
  margin-top: .8rem;
  font-size: 2.4rem;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
}
@media (max-width: 600px) { .article-hero h1 { font-size: 1.7rem; } }
.article-hero .lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
}
.article-meta__author { display: flex; align-items: center; gap: .7rem; }
.article-meta__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card-bg-alt);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.article-meta__name { font-size: .88rem; font-weight: 600; }
.article-meta__sub { font-size: .78rem; color: var(--text-muted); margin-top: .1rem; }

.article-cover {
  max-width: 1100px;
  margin: 2rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.article-cover figcaption {
  padding: .7rem 1rem;
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: .8rem;
}

.article-body {
  max-width: 720px;
  margin: 2.2rem auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-body p { margin: 0 0 1.3rem; }
.article-body h2 {
  margin: 2.4rem 0 1rem;
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: 0;
}
.article-body ul { margin: 0 0 1.3rem; padding-left: 1.2rem; }
.article-body li { margin-bottom: .5rem; }
.article-body strong { color: var(--text); }
.article-body blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: var(--card-bg-alt);
  border-radius: 0 8px 8px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.article-tags a {
  font-family: 'Oswald', sans-serif;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: .35rem .8rem;
  transition: border-color .2s ease, color .2s ease;
}
.article-tags a:hover { border-color: var(--accent); color: var(--accent-strong); }

.share-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-color);
}
.share-row span { font-size: .8rem; color: var(--text-muted); margin-right: .3rem; }
.share-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.share-row a:hover { border-color: var(--accent); color: var(--accent-strong); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 850px) { .related-grid { grid-template-columns: 1fr; } }
.related-grid .post-card .ph { min-height: 190px; }

/* ================= LISTADO / TENDENCIAS ================= */
.page-hero { padding: 2.2rem 0 .5rem; max-width: 720px; }
.page-hero h1 { margin-top: .8rem; font-size: 2.1rem; }
.page-hero p { margin-top: .8rem; color: var(--text-muted); font-size: 1rem; text-transform: none; font-family: 'Roboto', sans-serif; font-weight: 400; letter-spacing: 0; }

.filter-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 2rem; }
.filter-pill {
  font-family: 'Oswald', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.filter-pill:hover { border-color: var(--accent); color: var(--accent-strong); }
.filter-pill.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }

.tendencias-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.4rem;
  align-items: start;
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .tendencias-layout { grid-template-columns: 1fr; } }

.news-list { display: flex; flex-direction: column; gap: 1.2rem; }
.news-item {
  display: flex;
  gap: 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.news-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.news-item__thumb { flex: 0 0 220px; position: relative; min-height: 150px; }
.news-item__thumb .ph { position: absolute; inset: 0; min-height: 0; }
.news-item__body { padding: 1.1rem 1.3rem 1.1rem 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.news-item__body .post-card__title { font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin-top: .35rem; }
.news-item__excerpt { margin-top: .5rem; color: var(--text-muted); font-size: .88rem; line-height: 1.55; }
@media (max-width: 560px) {
  .news-item { flex-direction: column; }
  .news-item__thumb { flex-basis: auto; height: 160px; }
  .news-item__body { padding: 1rem 1.2rem 1.2rem; }
}

.pagination { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 2.4rem; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: 'Oswald', sans-serif;
  font-size: .85rem;
  color: var(--text-muted);
  padding: 0 .5rem;
  transition: border-color .2s ease, color .2s ease;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent-strong); }
.pagination .is-current { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }

.sidebar { display: flex; flex-direction: column; gap: 1.6rem; }
.widget {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.4rem;
}
.widget h4 {
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--accent-strong);
  margin-bottom: 1.1rem;
}
.widget-search { display: flex; gap: .5rem; }
.widget-search input {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text);
  border-radius: 6px;
  padding: .6rem .8rem;
  font-family: 'Roboto', sans-serif;
  font-size: .88rem;
  min-width: 0;
}
.widget-search input:focus { outline: none; border-color: var(--accent); }
.widget-search button {
  width: 40px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-text);
  cursor: pointer;
  flex-shrink: 0;
}

.most-read { display: flex; flex-direction: column; gap: 1rem; }
.most-read__item { display: flex; align-items: center; gap: .8rem; }
.most-read__rank {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--border-color);
  flex-shrink: 0;
  width: 24px;
}
.most-read__thumb {
  width: 56px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.most-read__thumb .ph { min-height: 0; height: 100%; }
.most-read__thumb i { font-size: 1.1rem; }
.most-read__title { font-size: .85rem; line-height: 1.35; }

.widget-cats { display: flex; flex-direction: column; gap: .1rem; }
.widget-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: .9rem;
  color: var(--text);
  transition: color .2s ease;
}
.widget-cats a:last-child { border-bottom: none; }
.widget-cats a:hover { color: var(--accent-strong); }
.widget-cats a span { color: var(--text-muted); font-size: .78rem; }

.widget-ad {
  display: flex; align-items: center; justify-content: center;
  min-height: 250px;
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  background: var(--card-bg-alt);
  color: var(--text-muted);
  font-family: 'Oswald', sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.widget-newsletter p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1rem; text-transform: none; font-family: 'Roboto', sans-serif; }
.widget-newsletter form { display: flex; flex-direction: column; gap: .7rem; }
.widget-newsletter input {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text);
  border-radius: 6px;
  padding: .7rem .8rem;
  font-family: 'Roboto', sans-serif;
  font-size: .88rem;
}
.widget-newsletter input:focus { outline: none; border-color: var(--accent); }
.widget-newsletter .btn-accent { justify-content: center; width: 100%; }

/* fade-in utility */
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
