/**
 * DDL Theme — Estilos principales
 * Replica exacta del diseno sindicado-digital-v2.html
 *
 * @package DDL_Theme
 */

/* ── VARIABLES ── */
:root {
  --bg: #F2F0EB;
  --ink: #0C0C0C;
  --ink-60: #5A5A5A;
  --ink-20: #DDDAD3;
  --flash: #E8380D;
  --flash-2: #1A6EFF;
  --white: #FFFFFF;
  --paper: #FAF8F4;
  --f-display: 'Barlow Condensed', sans-serif;
  --f-body: 'DM Sans', sans-serif;
  --f-serif: 'DM Serif Display', serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); line-height: 1.65; overflow-x: hidden; }

/* ── HEADER ── */
header.ddl-header {
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1380px;
  margin: auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 70px;
  gap: 3rem;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo-mark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-mark em {
  font-style: normal;
  color: var(--flash);
}
.logo-divider {
  width: 1px;
  height: 22px;
  background: var(--ink-60);
}
.logo-sub {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--ink-60);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
nav.ddl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
nav.ddl-nav a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-60);
  text-decoration: none;
  padding: 0 9px;
  height: 70px;
  line-height: 70px;
  transition: color 0.18s;
  position: relative;
}
nav.ddl-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 9px; right: 9px;
  height: 2px;
  background: var(--flash);
  transform: scaleX(0);
  transition: transform 0.22s var(--ease);
}
nav.ddl-nav a:hover { color: var(--ink); }
nav.ddl-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 12px; align-items: center; }

/* ── BOTONES GLOBALES ── */
.btn-outline {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.18s;
  cursor: pointer;
  background: none;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-solid {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--flash);
  color: var(--white);
  border: 1.5px solid var(--flash);
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.18s;
  cursor: pointer;
}
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }

/* ── HERO ── */
.hero {
  max-width: 1380px;
  margin: auto;
  padding: 0 2.5rem;
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--ink);
}
.hero-left {
  padding-right: 5%;
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}
.issue-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-60);
}
.issue-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--flash);
}
.hero-headline {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
}
.hero-headline .accent { color: var(--flash); }
.hero-headline .italic {
  font-family: var(--f-serif);
  font-style: italic;
  text-transform: none;
  font-weight: 400;
  font-size: 0.7em;
  color: var(--ink-60);
  letter-spacing: 0;
  display: block;
  line-height: 1.2;
  margin-top: 0.15em;
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--ink-60);
  line-height: 1.8;
  max-width: 480px;
  border-left: 3px solid var(--flash);
  padding-left: 18px;
}
.hero-ctas { display: flex; gap: 12px; }

/* Hero right: featured article + list */
.hero-right {
  padding-left: 5%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-featured {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  padding: 2.4rem;
  position: relative;
  min-height: 320px;
  text-decoration: none;
  overflow: hidden;
  transition: opacity 0.2s;
}
.hero-featured:hover { opacity: 0.92; }
.hero-fig {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background:
    linear-gradient(to bottom, rgba(12,12,12,0.1) 0%, rgba(12,12,12,0.88) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(232,56,13,0.04) 0px,
      rgba(232,56,13,0.04) 1px,
      transparent 1px,
      transparent 14px
    );
}
.hero-geo {
  position: absolute;
  top: 24px; right: 24px;
  width: 80px; height: 80px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-geo::before {
  content: '';
  width: 50px; height: 50px;
  border: 2px solid var(--flash);
  border-radius: 50%;
}
.feat-cat {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flash);
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}
.feat-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}
.feat-date {
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  position: relative;
  z-index: 1;
}
.hero-list {
  border-top: 1px solid var(--ink);
}
.hlist-item {
  display: grid;
  grid-template-columns: 3ch 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--ink-20);
  text-decoration: none;
  color: inherit;
  transition: all 0.18s;
}
.hlist-item:hover .hlist-title { color: var(--flash); }
.hlist-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-20);
  padding-top: 2px;
  transition: color 0.18s;
}
.hlist-item:hover .hlist-num { color: var(--flash); }
.hlist-cat {
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 4px;
}
.hlist-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.18s;
}

/* ── SECTION UTILITY ── */
.container { max-width: 1380px; margin: auto; padding: 0 2.5rem; }
.section-bar {
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.section-label {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--flash);
}
.section-more {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.18s;
}
.section-more:hover { color: var(--flash); }
.section-more::after { content: '\2192'; font-size: 1em; }

/* ── NORMATIVO ── */
.normativo-section {
  border-bottom: 1px solid var(--ink);
  padding: 56px 0;
}
.norma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
}
.norma-card {
  border-right: 1px solid var(--ink);
  padding: 2.2rem 2rem 2.2rem 0;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: background 0.18s;
}
.norma-card:last-child { border-right: none; }
.norma-card:first-child { padding-left: 0; }
.norma-card:not(:first-child) { padding-left: 2rem; }
.norma-card:hover { background: rgba(232,56,13,0.03); }
.norma-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--ink-20);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  transition: color 0.18s;
}
.norma-card:hover .norma-num { color: var(--flash); opacity: 0.4; }
.norma-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 1.15;
}
.norma-desc {
  font-size: 0.85rem;
  color: var(--ink-60);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}
.norma-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--f-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1.5px solid var(--ink-20);
  color: var(--ink-60);
  transition: all 0.18s;
}
.norma-card:hover .chip { border-color: var(--flash); color: var(--flash); }

/* 2nd row normativo */
.norma-grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-top: 0;
}

/* ── ARTICULOS ── */
.articulos-section {
  border-bottom: 1px solid var(--ink);
  padding: 56px 0;
}
.tabs-row { display: flex; gap: 0; margin-top: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--ink-20); }
.tab-btn {
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  background: none;
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  transition: all 0.18s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.on { color: var(--ink); border-bottom-color: var(--flash); }

.art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.art-card {
  border-right: 1px solid var(--ink-20);
  padding: 0 2rem 0 0;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.18s;
}
.art-card:hover { opacity: 0.72; }
.art-card:first-child { padding-left: 0; }
.art-card:not(:first-child) { padding-left: 2rem; }
.art-card:last-child { border-right: none; }
.art-visual {
  height: 180px;
  background: var(--ink);
  margin-bottom: 1.4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Abstract geometric shapes */
.art-visual.v1 { background: var(--ink); }
.art-visual.v1::before {
  content: '';
  width: 100px; height: 100px;
  border: 20px solid var(--flash);
  border-radius: 50%;
  opacity: 0.6;
}
.art-visual.v1::after {
  content: '';
  position: absolute;
  width: 120px; height: 2px;
  background: rgba(255,255,255,0.2);
  transform: rotate(-30deg);
}
.art-visual.v2 { background: #0C1A2E; }
.art-visual.v2::before {
  content: '';
  width: 80px; height: 80px;
  background: var(--flash-2);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: 0.5;
}
.art-visual.v3 { background: #1A1A1A; }
.art-visual.v3::before {
  content: '';
  width: 90px; height: 90px;
  border: 2px solid rgba(255,255,255,0.2);
  transform: rotate(45deg);
}
.art-visual.v3::after {
  content: '';
  position: absolute;
  width: 60px; height: 60px;
  border: 2px solid var(--flash);
  transform: rotate(45deg);
}
.art-cat {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--flash);
  padding: 3px 10px;
}
.art-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.art-excerpt {
  font-size: 0.84rem;
  color: var(--ink-60);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.art-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--ink-20);
  padding-top: 0.8rem;
}
.art-date { font-family: var(--f-display); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--ink-60); text-transform: uppercase; }
.art-read {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flash);
  text-decoration: none;
}

/* ── TAB PANELS ── */
.tab-panel { display: none; }
.tab-panel.active { display: grid; }

/* ── BIBLIOTECA ── */
.biblioteca-section {
  background: var(--ink);
  padding: 56px 0;
  border-bottom: 1px solid #222;
}
.biblioteca-section .section-label { color: var(--bg); }
.biblioteca-section .section-more { color: rgba(242,240,235,0.4); }
.biblioteca-section .section-more:hover { color: var(--flash); }
.biblioteca-section .section-bar { border-bottom-color: #333; }
.bib-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border: 1px solid #2A2A2A;
}
.bib-card {
  padding: 2rem 1.8rem;
  border-right: 1px solid #2A2A2A;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.18s;
  color: inherit;
}
.bib-card:last-child { border-right: none; }
.bib-card:hover { background: rgba(232,56,13,0.08); }
.bib-type {
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flash);
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #2A2A2A;
}
.bib-shape {
  width: 56px; height: 56px;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: border-color 0.18s;
  position: relative;
}
.bib-card:hover .bib-shape { border-color: var(--flash); }
.bib-shape-inner {
  width: 28px; height: 28px;
  background: #333;
  transition: background 0.18s;
}
.bib-card:hover .bib-shape-inner { background: var(--flash); }
.bib-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: rgba(242,240,235,0.9);
  margin-bottom: auto;
  padding-bottom: 1.4rem;
}
.bib-dl {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,240,235,0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 1.2rem;
  border-top: 1px solid #2A2A2A;
  transition: color 0.18s;
  margin-top: 1rem;
}
.bib-dl::before {
  content: '';
  width: 18px; height: 2px;
  background: currentColor;
}
.bib-card:hover .bib-dl { color: var(--flash); }

/* Row 2 biblioteca */
.bib-grid-2 {
  grid-template-columns: repeat(4, 1fr);
  border-top: none;
}

/* ── NOTICIAS + SENTENCIAS ── */
.news-sent-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--ink);
}
.ns-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 0;
  margin-top: 40px;
}
.ns-left { border-right: 1px solid var(--ink); padding-right: 4%; }
.ns-right { padding-left: 4%; }

/* Noticia principal */
.noticia-main {
  display: block;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--ink-20);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  transition: opacity 0.18s;
}
.noticia-main:hover { opacity: 0.72; }
.nm-header { display: flex; align-items: center; gap: 14px; margin-bottom: 1.2rem; }
.nm-cat {
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--flash);
  color: var(--white);
  padding: 3px 10px;
}
.nm-date { font-family: var(--f-display); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--ink-60); text-transform: uppercase; }
.nm-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.nm-excerpt { font-size: 0.88rem; color: var(--ink-60); line-height: 1.8; }

/* Lista de noticias mini */
.noticia-mini {
  display: grid;
  grid-template-columns: 3ch 1fr;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ink-20);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.18s;
}
.noticia-mini:hover { opacity: 0.65; }
.noticia-mini:last-child { border-bottom: none; }
.nm-n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-20);
  padding-top: 2px;
}
.nm-mc { font-family: var(--f-display); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flash); margin-bottom: 3px; }
.nm-mt { font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; line-height: 1.3; color: var(--ink); }
.nm-md { font-family: var(--f-display); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--ink-60); text-transform: uppercase; margin-top: 4px; }

/* Sentencias */
.ns-right-label {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ns-right-label::before { content: ''; width: 8px; height: 8px; background: var(--flash-2); border-radius: 50%; }
.sent-item {
  border-bottom: 1px solid var(--ink-20);
  padding: 1.4rem 0;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.18s;
}
.sent-item:hover { opacity: 0.65; }
.sent-item:last-child { border-bottom: none; }
.sent-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sent-trib { font-family: var(--f-display); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--flash-2); }
.sent-date { font-family: var(--f-display); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--ink-60); text-transform: uppercase; }
.sent-title { font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; color: var(--ink); line-height: 1.35; margin-bottom: 6px; }
.sent-tags { display: flex; gap: 5px; }
.stag { font-family: var(--f-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border: 1.5px solid var(--ink-20); color: var(--ink-60); }

/* ── NEWSLETTER ── */
.nl-section {
  background: var(--flash);
  padding: 72px 0;
}
.nl-inner {
  max-width: 1380px;
  margin: auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.nl-heading {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.nl-heading span { color: rgba(255,255,255,0.4); }
.nl-desc { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 1rem; line-height: 1.75; }
.nl-form-wrap { display: flex; flex-direction: column; gap: 12px; }
.nl-input {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 14px 20px;
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s;
}
.nl-input::placeholder { color: rgba(255,255,255,0.4); }
.nl-input:focus { border-color: var(--white); background: rgba(255,255,255,0.2); }
.nl-btn {
  background: var(--white);
  color: var(--flash);
  border: none;
  padding: 14px 32px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s;
  align-self: flex-start;
}
.nl-btn:hover { background: var(--ink); color: var(--white); }
.nl-fine { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.nl-message {
  font-size: 0.85rem;
  padding: 8px 14px;
  display: none;
}
.nl-message.success { color: var(--white); background: rgba(255,255,255,0.15); display: block; }
.nl-message.error { color: var(--white); background: rgba(0,0,0,0.25); display: block; }

/* ── FOOTER ── */
footer.ddl-footer {
  background: var(--ink);
  color: rgba(242,240,235,0.45);
  padding: 56px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid #222;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}
.ft-brand .logo-mark { font-size: 2rem; }
.ft-brand .logo-mark em { color: var(--flash); }
.ft-desc { font-size: 0.85rem; color: rgba(242,240,235,0.4); line-height: 1.8; margin-top: 1rem; }
.ft-col h5 {
  font-family: var(--f-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242,240,235,0.35);
  margin-bottom: 1.2rem;
}
.ft-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(242,240,235,0.55);
  text-decoration: none;
  margin-bottom: 0.55rem;
  transition: color 0.18s;
}
.ft-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: rgba(242,240,235,0.35); text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* ── EVENTOS ── */
.eventos-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
}
.eventos-subtitle {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eventos-subtitle::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--flash);
  border-radius: 50%;
}
.eventos-empty {
  padding: 3rem 0;
  color: var(--ink-60);
  font-size: 0.95rem;
}

/* Card Evento */
.evento-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border-bottom: 1px solid var(--ink-20);
  border-right: 1px solid var(--ink-20);
  transition: background 0.18s;
}
.evento-card:hover { background: rgba(12,12,12,0.03); }
.evento-card:nth-child(2n) { border-right: none; }
.evento-card:nth-last-child(-n+2) { border-bottom: none; }

.evento-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 4px;
}
.evento-dia {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.evento-mes {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flash);
  margin-top: 2px;
}

.evento-body { display: flex; flex-direction: column; gap: 8px; }

.evento-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.evento-tipo {
  font-family: var(--f-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--flash);
  color: var(--white);
  padding: 2px 8px;
}
.evento-modalidad {
  font-family: var(--f-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1.5px solid var(--ink-20);
  color: var(--ink-60);
}
.evento-modalidad--virtual { border-color: var(--flash-2); color: var(--flash-2); }
.evento-modalidad--presencial { border-color: #2a9d2a; color: #2a9d2a; }
.evento-modalidad--hibrido { border-color: #b48a1e; color: #b48a1e; }

.evento-costo {
  font-family: var(--f-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.evento-costo--free { color: #2a9d2a; }

.evento-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}
.evento-title a { text-decoration: none; color: inherit; transition: color 0.18s; }
.evento-title a:hover { color: var(--flash); }

.evento-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--ink-60);
}
.evento-detail { display: flex; align-items: center; gap: 4px; }
.evento-icon { font-size: 0.9rem; }

.evento-ponente {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  text-transform: uppercase;
}

.evento-actions { display: flex; gap: 1rem; align-items: center; margin-top: 4px; }
.evento-btn {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--flash);
  color: var(--white);
  padding: 8px 18px;
  text-decoration: none;
  transition: background 0.18s;
}
.evento-btn:hover { background: var(--ink); }
.evento-link {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  text-decoration: none;
  transition: color 0.18s;
}
.evento-link:hover { color: var(--flash); }

/* Single Evento */
.evento-single-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.evento-pasado {
  font-family: var(--f-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--ink-20);
  color: var(--ink-60);
}
.evento-info-box {
  background: var(--paper);
  border: 1px solid var(--ink-20);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.evento-info-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
}
.evento-info-row strong {
  display: block;
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 2px;
}
.evento-info-row span:last-child { color: var(--ink); }
.evento-info-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── WORDPRESS OVERRIDES ── */
/* Neutralizar estilos del tema padre GeneratePress */
.site-header,
.site-footer,
.site-content,
.site-navigation,
#page { all: unset; display: block; }

/* Evitar conflictos con classes de GP */
.inside-article { padding: 0; }
.entry-header,
.entry-content,
.entry-summary { margin: 0; }
img { max-width: 100%; height: auto; }
