/* ============================================
   GROWTHPERIENCIA — blog.css
   Blog-specific styles (extends styles.css)
   ============================================ */

/* BLOG HERO */
#blog-hero {
  padding: 160px 0 80px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(13,66,119,0.2) 0%, transparent 70%),
              var(--bg-deep);
  text-align: center;
}
#blog-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
}
.blog-hero-content { max-width: 640px; margin: 0 auto; }
.blog-hero-content .section-tag { margin-bottom: 16px; display: block; }
.blog-hero-content .hero-sub { font-size: 1.1rem; color: var(--text-mid); text-align: center; max-width: 580px; margin: 0 auto; }

/* ── FILTERS BLOCK: pills centered + search centered below ── */
#blog-filters { padding: 0 0 40px; }

/* Category pills — horizontally centered */
.blog-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

/* Centering wrapper for the search input */
.blog-search-center {
  display: flex;
  justify-content: center;
}

/* filter pills */
.filter-pill {
  padding: 8px 20px;
  border-radius: 100px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-mid);
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.filter-pill:hover {
  background: rgba(198,165,22,0.08);
  border-color: rgba(198,165,22,0.3);
  color: var(--text);
}
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-deep);
}

/* POSTS GRID */
#blog-posts { padding: 0 0 100px; padding-top: 0; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: rgba(6,30,56,0.6);
  border: 1px solid rgba(198,165,22,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.3s;
  cursor: pointer;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: rgba(198,165,22,0.25);
}
.post-card-img {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.post-card-img-icon {
  font-size: 3rem; opacity: 0.5;
}
.post-card-body { padding: 24px; }
.post-category {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 10px; display: block;
}
.post-card h3 {
  font-size: 1rem; color: var(--text); margin-bottom: 10px;
  font-family: var(--font-heading); text-transform: uppercase; line-height: 1.3;
}
.post-card p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.post-read-more {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.post-card:hover .post-read-more { gap: 8px; }

/* Light mode overrides for blog */
:root.light .post-card { background: rgba(255,255,255,0.85); border-color: rgba(13,66,119,0.1); }
:root.light .filter-pill { background: rgba(13,66,119,0.05); border-color: rgba(13,66,119,0.12); color: var(--text-mid); }
:root.light .filter-pill:hover { background: rgba(198,165,22,0.08); border-color: rgba(198,165,22,0.3); }
:root.light .filter-pill.active { background: var(--gold); border-color: var(--gold); color: var(--bg-deep); }
:root.light #blog-hero {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(13,66,119,0.1) 0%, transparent 70%),
              var(--bg-deep);
}
:root.light #blog-hero h1 { color: var(--text); }
:root.light .newsletter-box {
  background: rgba(255,255,255,0.8);
  border-color: rgba(13,66,119,0.15);
}
:root.light .newsletter-content h2 { color: var(--text); }
:root.light .newsletter-form input {
  background: rgba(13,66,119,0.04);
  border-color: rgba(13,66,119,0.15);
  color: var(--text);
}
:root.light .newsletter-form input::placeholder { color: var(--text-dim); }

/* NEWSLETTER */
#blog-newsletter { padding: 80px 0 120px; }
.newsletter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: rgba(13,66,119,0.15);
  border: 1px solid rgba(198,165,22,0.15);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.newsletter-content h2 {
  color: var(--white); font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 12px;
}
.newsletter-content p { color: var(--text-mid); font-size: 0.95rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.3s;
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form .btn-primary { cursor: pointer; border: none; }

/* RESPONSIVE BLOG */
@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-box { grid-template-columns: 1fr; gap: 36px; padding: 48px 36px; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  #blog-hero { padding: 120px 0 60px; }
  .newsletter-box { padding: 40px 24px; }
  .filter-pills { gap: 8px; }
}

/* CMS article date */
.post-date {
  font-size: 0.75rem;
  color: var(--text-dim, rgba(10,30,60,0.35));
  margin-bottom: 12px;
}

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* RESULTS BAR — count left, sort right */
.blog-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}
.results-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim, rgba(255,255,255,0.35));
  letter-spacing: 0.04em;
  min-width: 4ch;
}
.blog-sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.sort-btns { display: flex; gap: 6px; }
.sort-btn {
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-mid);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sort-btn:hover {
  background: rgba(198,165,22,0.08);
  border-color: rgba(198,165,22,0.3);
  color: var(--white);
}
.sort-btn.active {
  background: rgba(198,165,22,0.15);
  border-color: rgba(198,165,22,0.4);
  color: var(--gold);
}

/* ── search — pill-shaped, prominent width, centered ── */
.blog-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(500px, 100%);
}

.blog-search-icon {
  position: absolute;
  left: 15px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.25s;
}
.blog-search:focus-within .blog-search-icon {
  color: rgba(198,165,22,0.75);
}

#blog-search-input {
  width: 100%;
  padding: 11px 36px 11px 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  -webkit-appearance: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
#blog-search-input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}
#blog-search-input:focus {
  outline: none;
  border-color: rgba(198,165,22,0.45);
  background: rgba(198,165,22,0.03);
  box-shadow: 0 0 0 3px rgba(198,165,22,0.08);
}
#blog-search-input::-webkit-search-cancel-button,
#blog-search-input::-ms-clear { display: none; }

.blog-search-clear {
  position: absolute;
  right: 9px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.blog-search-clear:hover {
  color: var(--text);
  background: rgba(255,255,255,0.09);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .blog-filter-pills { gap: 6px; }
  .blog-results-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* COVER IMAGE */
.post-card-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* POST CARD FOOTER — date + author */
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.post-date-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-dim, rgba(255,255,255,0.35));
}
.post-date-updated {
  color: var(--text-dim, rgba(255,255,255,0.3));
  font-size: 0.72rem;
}

/* AUTHOR CHIP */
.post-author {
  display: flex;
  align-items: center;
  gap: 7px;
}
.post-author-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(198,165,22,0.2);
  flex-shrink: 0;
}
.post-author-avatar-placeholder {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.post-author-info {
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-author-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-mid, rgba(255,255,255,0.6));
}
.post-author-li {
  color: rgba(198,165,22,0.6);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
}
.post-author-li:hover { color: var(--gold, #C6A516); }

/* BLOG EMPTY STATE */
.blog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-mid, rgba(255,255,255,0.5));
}
.blog-empty p { font-size: 1.05rem; margin-bottom: 8px; }
.blog-empty-sub { font-size: 0.88rem; opacity: 0.7; }

/* Light mode overrides */
:root.light .sort-btn {
  background: rgba(13,66,119,0.04);
  border-color: rgba(13,66,119,0.12);
  color: var(--text-mid);
}
:root.light .sort-btn:hover {
  background: rgba(198,165,22,0.08);
  border-color: rgba(198,165,22,0.3);
}
:root.light .sort-btn.active {
  background: rgba(198,165,22,0.12);
  border-color: rgba(198,165,22,0.35);
  color: var(--gold);
}
:root.light .filter-divider { background: rgba(13,66,119,0.12); }
:root.light .post-author-avatar-placeholder { background: rgba(13,66,119,0.07); }
:root.light .post-date-row { color: var(--text-dim, rgba(10,30,60,0.35)); }

@media (max-width: 600px) {
  .post-card-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}

:root.light .blog-results-bar { border-bottom-color: rgba(13,66,119,0.1); }
:root.light .results-count { color: var(--text-dim, rgba(10,30,60,0.4)); }

/* ============================================
   ARTICLE READER PAGE
   ============================================ */

/* Article hero */
#article-hero {
  padding-top: 80px;
  position: relative;
}

/* Cover image/gradient — reduced from 420px to keep hero compact */
.article-cover {
  height: 360px;
  background: linear-gradient(135deg, #0D4277 0%, #1A5FA0 100%);
  position: relative;
}
.article-cover--photo {
  background-size: cover;
  background-position: center;
}
.article-cover--photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(2,13,26,0.35) 0%, rgba(2,13,26,0.65) 100%);
}

/* Hero inner: tighter vertical padding so content starts close after the cover */
.article-hero-inner {
  padding: 24px 0 0;
}

/* ── PROBLEMA 4: "Volver al blog" breadcrumb ──
   The back link is now an independent top-level row, visually separated
   from the category + title block below it.
*/
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  /* Own block row — bottom border acts as a visual separator from meta below */
  display: block;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.article-back svg {
  display: inline;
  vertical-align: middle;
  margin-right: 4px;
}
.article-back:hover { color: var(--gold); }

#article-hero .post-category {
  display: inline-block;
  margin-bottom: 16px;
}

#article-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  max-width: 820px;
  line-height: 1.2;
  margin-bottom: 28px;
}

/* Article meta bar */
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-meta-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-mid);
}
.article-meta-updated {
  color: var(--text-dim, rgba(255,255,255,0.35));
  font-size: 0.78rem;
}
.article-meta-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(198,165,22,0.25);
  flex-shrink: 0;
}
.article-author-avatar-ph {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.article-author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
}
.article-author-li {
  color: rgba(198,165,22,0.6);
  display: flex; align-items: center;
  text-decoration: none;
  transition: color 0.2s;
}
.article-author-li:hover { color: var(--gold); }

/* Article body layout */
#article-body-section { padding: 0 0 30px; }
.article-layout { max-width: 760px; margin: 0 auto; }

/* Article content typography */
.article-content {
  color: var(--text, rgba(255,255,255,0.85));
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  color: var(--white, #fff);
  margin-top: 2em;
  margin-bottom: 0.6em;
  line-height: 1.25;
}
.article-content h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.article-content h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
.article-content h3 { font-size: 1.2rem; color: var(--gold); }
.article-content h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mid); }
.article-content p  { margin-bottom: 1.4em; }
.article-content a  { color: var(--gold); text-underline-offset: 3px; }
.article-content a:hover { opacity: 0.8; }
.article-content strong, .article-content b { color: var(--white); font-weight: 700; }
.article-content em, .article-content i { font-style: italic; }
.article-content ul, .article-content ol {
  padding-left: 1.6em;
  margin-bottom: 1.4em;
}
.article-content li { margin-bottom: 0.5em; }
.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 20px;
  margin: 2em 0;
  background: rgba(198,165,22,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-style: italic;
}
.article-content pre, .article-content code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
}
.article-content code { padding: 2px 6px; }
.article-content pre  { padding: 20px; overflow-x: auto; margin-bottom: 1.4em; }
.article-content pre code { background: none; border: none; padding: 0; }
.article-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.6em 0;
  display: block;
}
.article-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 2.5em 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4em;
  font-size: 0.9rem;
}
.article-content th, .article-content td {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.article-content th {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .article-cover { height: 220px; }
  .article-hero-inner { padding: 16px 0 0; }
  .article-back { padding-bottom: 16px; margin-bottom: 18px; }
  #article-title { font-size: 1.7rem; }
  #article-body-section { padding: 0 0 30px; }
  .article-content { font-size: 0.98rem; }
}

/* ── Seguir leyendo ── */
#related-section {
  padding: 60px 0 40px;
}
.related-heading {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 28px;
}
.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--bg-card, #0d1f38);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-color: var(--gold, #C9A84C);
}
.related-card-img {
  width: 100%;
  height: 140px;
  position: relative;
  flex-shrink: 0;
}
.related-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold, #C9A84C);
  color: #061E38;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 20px;
}
.related-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.related-card-body h3 {
  color: var(--white, #fff);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin: 0;
}
.related-card-body p {
  color: var(--text-mid, #a0aec0);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-read-more {
  color: var(--gold, #C9A84C);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: auto;
}
@media (max-width: 768px) {
  .related-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   THEME TOGGLE BUTTON
══════════════════════════════════════════ */
.theme-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}
.theme-toggle:hover { background: rgba(255,255,255,0.08); color: #fff; }
.icon-moon { display: block; }
.icon-sun  { display: none; }
:root.light .icon-moon { display: none; }
:root.light .icon-sun  { display: block; }
:root.light .theme-toggle { color: #0D4277; }
:root.light .theme-toggle:hover { background: rgba(13,66,119,0.08); }

/* ══════════════════════════════════════════
   LIGHT MODE — ARTICLE PAGE
══════════════════════════════════════════ */

/* Base: fondo blanco, texto oscuro */
:root.light body {
  background: #ffffff;
  color: #0a1828;
}

/* Nav */
:root.light .site-header,
:root.light .blog-header {
  background: rgba(255,255,255,0.95);
  border-bottom-color: rgba(13,66,119,0.1);
}
:root.light .nav-logo-text { color: #0a1828; }
:root.light .nav-logo-text span { color: #0D4277; }
:root.light .nav-links a { color: rgba(10,24,40,0.6); }
:root.light .nav-links a:hover { color: #0D4277; }
:root.light .tl-item { color: rgba(10,24,40,0.55); }
:root.light .tl-item:hover,
:root.light .tl-item.active { color: #0D4277; }
:root.light .tl-lamp-bar { background: #0D4277; }
:root.light .tl-lamp-glow-1,
:root.light .tl-lamp-glow-2,
:root.light .tl-lamp-glow-3 { background: rgba(13,66,119,0.15); }
:root.light .hamburger span { background: rgba(10,24,40,0.55); }
:root.light .mobile-nav { background: #fff; border-top-color: rgba(13,66,119,0.1); }
:root.light .mobile-link { color: rgba(10,24,40,0.7); }
:root.light .mobile-link:hover { color: #0D4277; }

/* Hero del artículo */
:root.light #article-hero { background: #f5f7fa; }
:root.light .article-cover { opacity: 0.7; }
:root.light #article-category { background: #0D4277; color: #fff; }
:root.light #article-title { color: #061E38; }
:root.light .article-back { color: rgba(10,24,40,0.55); }
:root.light .article-back:hover { color: #0D4277; }
:root.light .article-meta-date,
:root.light .article-meta-updated { color: rgba(10,24,40,0.5); }
:root.light .article-author-name { color: #061E38; }

/* Cuerpo del artículo */
:root.light #article-body-section { background: #ffffff; }
:root.light .article-content { color: #1a2a40; }
:root.light .article-content h1,
:root.light .article-content h2,
:root.light .article-content h3,
:root.light .article-content h4 { color: #061E38; }
:root.light .article-content p { color: #2d4060; }
:root.light .article-content a { color: #0D4277; }
:root.light .article-content a:hover { color: #1a5fa0; }
:root.light .article-content blockquote {
  border-left-color: #0D4277;
  background: rgba(13,66,119,0.05);
  color: #2d4060;
}
:root.light .article-content strong { color: #061E38; }
:root.light .article-content code {
  background: rgba(13,66,119,0.07);
  color: #0D4277;
}
:root.light .article-content pre,
:root.light .code-block {
  background: #1e293b;
  color: #e2e8f0;
}
:root.light .article-content table th { background: #0D4277; color: #fff; }
:root.light .article-content table td { color: #2d4060; border-color: rgba(13,66,119,0.1); }
:root.light .article-content table tr:nth-child(even) { background: rgba(13,66,119,0.03); }
:root.light figcaption { color: rgba(10,24,40,0.5); }

/* Seguir leyendo */
:root.light #related-section { background: #f5f7fa; }
:root.light .related-heading { color: #061E38; }
:root.light .related-card {
  background: #fff;
  border-color: rgba(13,66,119,0.1);
}
:root.light .related-card:hover { border-color: #0D4277; box-shadow: 0 8px 32px rgba(13,66,119,0.12); }
:root.light .related-card-badge { background: #0D4277; color: #fff; }
:root.light .related-card-body h3 { color: #061E38; }
:root.light .related-card-body p { color: rgba(10,24,40,0.6); }
:root.light .related-read-more { color: #0D4277; }

/* Newsletter */
:root.light #blog-newsletter { background: #fff; }
:root.light .newsletter-box { background: #f0f4fa; border-color: rgba(13,66,119,0.15); }
:root.light .newsletter-content h2 { color: #061E38; }
:root.light .newsletter-content p { color: rgba(10,24,40,0.6); }
:root.light .newsletter-form input {
  background: #fff;
  border-color: rgba(13,66,119,0.2);
  color: #061E38;
}
:root.light .newsletter-form input::placeholder { color: rgba(10,24,40,0.4); }
:root.light .newsletter-form input:focus { border-color: #0D4277; }

/* Footer */
:root.light footer { background: #f5f7fa; border-top-color: rgba(13,66,119,0.1); }
:root.light .footer-brand p { color: rgba(10,24,40,0.55); }
:root.light .footer-nav-links a { color: rgba(10,24,40,0.6); }
:root.light .footer-nav-links a:hover { color: #0D4277; }
:root.light .footer-social a { color: rgba(10,24,40,0.5); }
:root.light .footer-social a:hover { color: #0D4277; }
:root.light .footer-bottom p { color: rgba(10,24,40,0.4); }
:root.light .footer-bottom { border-top-color: rgba(13,66,119,0.08); }

/* Blog index: filtros activos y sort buttons en light = azul en lugar de gold */
:root.light .filter-pill.active { background: #0D4277; border-color: #0D4277; color: #fff; }
:root.light .filter-pill:hover { background: rgba(13,66,119,0.08); border-color: rgba(13,66,119,0.25); color: #0D4277; }
:root.light .sort-btn.active { background: rgba(13,66,119,0.1); border-color: rgba(13,66,119,0.3); color: #0D4277; }
:root.light .sort-btn:hover { background: rgba(13,66,119,0.06); border-color: rgba(13,66,119,0.2); }
:root.light .post-card-category { color: #0D4277; }
:root.light .post-read-more { color: #0D4277; }
:root.light .post-card h2 { color: #061E38; }
:root.light #blog-hero h1 { color: #061E38; }
:root.light .blog-hero-content .hero-sub { color: rgba(10,24,40,0.6); }
