/*
 * ENTÉRATE VEGAS — core design system (single source of truth)
 *
 * PHASE 1 AUDIT (condensed):
 * - Header: masthead lived in header.php with .etlv-simple-header; rosario strip duplicated
 *   newsletter CTA; JS .nav-links toggles did not match this header (dead path).
 * - Reportajes: page-reportajes used CSS background-image + inline styles; file-based items
 *   omitted synced WP “rosario story” pages; thumbnails fell through to empty-looking cards.
 * - Biografía: page-bibliografia mixed hardcoded copy with Customizer headshot only.
 *
 * This file: tokens, 8px spacing scale, site header, reportaje image cards, story video, bio.
 */

:root {
  /* ── Brand colors (legacy names preserved for style.css) ── */
  --ink:        #0B0E13;
  --ink-90:     #141821;
  --ink-80:     #1C222E;
  --ink-70:     #252D3C;
  --slate:      #3A4458;
  --steel:      #6B7A94;
  --silver:     #95A3B8;
  --mist:       #C8D1DC;
  --cloud:      #E8ECF1;
  --snow:       #F4F6F8;
  --white:      #FAFBFC;
  --gold:       #D4A017;
  --gold-light: #E8C44A;
  --gold-dim:   #A07B0E;
  --red:        #C41E2A;
  --red-bright: #E8293A;
  --teal:       #0A8F7F;
  --navy:       #0A1628;
  --cream:      #FAF7F0;
  --rose:       rgba(220,175,140,0.95);
  --rose-dim:   rgba(200,150,130,0.6);

  /* Semantic aliases */
  --etlv-color-primary:   var(--red);
  --etlv-color-accent:    var(--gold);
  --etlv-color-background: var(--cream);
  --etlv-color-text:      var(--ink);
  --etlv-color-surface:   var(--white);

  /* Typography — one stack definition; mirrors enqueued Google Fonts */
  --etlv-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --etlv-font-body:    'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --etlv-font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-display: var(--etlv-font-display);
  --font-body:    var(--etlv-font-body);
  --font-mono:    var(--etlv-font-mono);

  /* Layout */
  --gutter: clamp(16px, 3vw, 32px);
  --max-w:  1340px;

  /* 8px grid — use for padding/margin/gap */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;

  /* Header system (black bar) */
  --etlv-header-bg:       #000;
  --etlv-header-cta:      #ff0033;
  --etlv-header-inner:  1200px;
}

/* ===== HEADER PREMIUM (masthead) ===== */
.etlv-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #000;
  color: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.etlv-header-banner {
  width: 100%;
  line-height: 0;
  background: #000;
}

.etlv-header-banner a {
  display: block;
  outline: none;
}

.etlv-header-banner a:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(255, 0, 51, 0.65);
}

/* FULL IMAGE */
.etlv-header-banner img,
.etlv-header a.etlv-header-banner .etlv-masthead-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.etlv-header-banner-fallback {
  display: block;
  padding: 24px 20px;
  font-family: var(--etlv-font-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  color: #fff;
}

/* Sticky header compacts after scroll (etlv.js adds .etlv-header-shrink) */
.etlv-header-banner img,
.etlv-header-banner-fallback {
  transition: max-height 0.28s ease, padding 0.28s ease, font-size 0.28s ease;
}

.etlv-header.etlv-header-shrink .etlv-header-banner a {
  display: flex;
  justify-content: center;
}

.etlv-header.etlv-header-shrink .etlv-header-banner img {
  max-height: 80px;
  object-fit: cover;
}

.etlv-header.etlv-header-shrink .etlv-header-banner-fallback {
  padding: 10px 16px;
  font-size: 1.05rem;
}

.etlv-header.etlv-header-shrink .etlv-topbar-inner {
  padding-top: 4px;
  padding-bottom: 4px;
}

.etlv-header.etlv-header-shrink .etlv-breaking-inner {
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 13px;
}

.etlv-header.etlv-header-shrink .etlv-nav-wrap {
  padding-top: 8px;
  padding-bottom: 8px;
}

.etlv-header.etlv-header-shrink .etlv-header__newsletter.etlv-container {
  padding-top: 8px;
  padding-bottom: 10px;
}

/* TOPBAR */
.etlv-topbar {
  width: 100%;
  background: #111;
  color: #aaa;
  font-size: 12px;
}

.etlv-topbar-inner {
  max-width: var(--etlv-header-inner);
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.etlv-sponsor {
  color: #aaa;
}

.etlv-topbar-inner a.etlv-sponsor {
  color: #aaa;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  max-width: min(280px, 55vw);
}

.etlv-topbar-inner a.etlv-sponsor:hover,
.etlv-topbar-inner a.etlv-sponsor:focus-visible {
  opacity: 0.92;
  outline: none;
}

.etlv-topbar-inner a.etlv-sponsor img {
  display: block;
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

a.etlv-ad-link {
  color: #ff0033;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

a.etlv-ad-link:hover,
a.etlv-ad-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* BREAKING BAR */
.etlv-breaking {
  width: 100%;
  background: #ff0033;
  color: #fff;
}

.etlv-breaking-inner {
  max-width: var(--etlv-header-inner);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.35;
}

.etlv-breaking-label {
  flex-shrink: 0;
  font-weight: 800;
  color: #fff;
}

.etlv-breaking-text {
  color: #fff;
}

/* NAV */
.etlv-nav-wrap {
  position: relative;
  background: #000;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

.etlv-menu-toggle {
  display: none;
  margin: 0;
  padding: 4px 8px;
  font-size: 22px;
  line-height: 1;
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.etlv-menu-toggle:hover,
.etlv-menu-toggle:focus-visible {
  opacity: 0.85;
  outline: none;
}

.etlv-nav-wrap .etlv-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
  width: 100%;
  max-width: var(--etlv-header-inner);
  margin: 0 auto;
}

/* Header-only wrapper: flex row (newsletter row overrides alignment) */
.etlv-container {
  max-width: var(--etlv-header-inner);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* MENU */
.etlv-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.etlv-menu li {
  position: relative;
  margin: 0;
  padding: 0;
}

.etlv-menu li > a {
  color: #fff;
  text-decoration: none;
  font-family: var(--etlv-font-body);
  font-weight: 600;
}

.etlv-menu li > a:hover,
.etlv-menu li > a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.etlv-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.etlv-menu li:hover > .sub-menu,
.etlv-menu li:focus-within > .sub-menu {
  display: block;
}

.etlv-menu .sub-menu a {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.etlv-menu .sub-menu a:hover,
.etlv-menu .sub-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.etlv-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  transform: none;
}

.etlv-header__newsletter.etlv-container {
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px 16px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.etlv-header__newsletter .nl-email-input {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-family: var(--etlv-font-body);
  font-size: 0.875rem;
  outline: none;
  width: min(220px, 46vw);
  background: #fff;
  color: var(--ink);
}

.etlv-header__newsletter .nl-email-input:focus {
  border-color: var(--etlv-header-cta);
  box-shadow: 0 0 0 2px rgba(255, 0, 51, 0.25);
}

.etlv-header__newsletter .nl-submit-btn {
  padding: 8px 14px;
  background: var(--etlv-header-cta);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  white-space: nowrap;
  font-family: var(--etlv-font-body);
  cursor: pointer;
}

.etlv-header__newsletter .nl-submit-btn:hover {
  filter: brightness(1.08);
}

@media (max-width: 768px) {
  .etlv-menu-toggle {
    display: block;
    align-self: flex-start;
  }

  .etlv-nav-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .etlv-nav-wrap .etlv-nav {
    width: 100%;
    order: 2;
    display: flex;
    justify-content: stretch;
  }

  .etlv-nav-wrap .etlv-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
  }

  .etlv-nav-wrap .etlv-menu.active {
    display: flex;
  }

  .etlv-nav-wrap .etlv-menu > li > a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .etlv-nav-wrap .etlv-menu .sub-menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    background: #0d0d0d;
    border-radius: 0;
    padding: 0;
  }

  .etlv-nav-wrap .etlv-menu li:focus-within > .sub-menu,
  .etlv-nav-wrap .etlv-menu li:hover > .sub-menu {
    display: block;
  }

  .etlv-header__newsletter .nl-email-input {
    flex: 1;
    min-width: 0;
    width: auto;
  }
}

/* Admin / refresh banners */
.safe-mode-banner--ok {
  background: #e7f5e9;
  border-color: #2d7d46;
}

/* Utility copy (replaces inline color styles in JS) */
.etlv-msg-muted {
  color: var(--steel);
  margin: 0;
}

/* Reportajes — real <img> heroes (no background-image on cards) */
.reportaje-feature-media {
  position: relative;
  min-height: 280px;
  max-height: 420px;
  overflow: hidden;
  background: var(--ink-90);
}

.reportaje-feature-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reportaje-card-media {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--ink-90);
}

.reportaje-card-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reportaje-card-byline {
  font-size: 0.8rem;
  color: var(--silver);
  margin: 0;
  line-height: 1.4;
}

.reportaje-card-author {
  font-weight: 600;
  color: #c8d4e8;
}

.reportaje-feature-byline {
  font-size: 0.85rem;
  color: #adb7ca;
  margin: 0;
}

.reportajes-empty {
  grid-column: 1 / -1;
  margin: 0;
}

/* Story template video (no inline dimensions) */
.ev-story-shell .ev-story-video {
  width: 100%;
  border-radius: 18px;
  display: block;
  background: var(--ink);
}

/* Biografía prose */
.bio-prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mist);
}

.bio-prose p {
  margin: 0 0 var(--space-2);
}

.bio-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.bio-social-row a {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
}

.bio-social-row a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.bio-contact-mail {
  font-size: 0.85rem;
  color: var(--silver);
}

.bio-contact-mail a {
  color: var(--gold);
  font-weight: 600;
}

.bio-reportajes-cta {
  margin-top: var(--space-3);
  margin-bottom: 0;
}

/* Rosario strip (below header): bio lead uses Customizer; newsletter lives in header only */
.rosario-strip-bio-lead {
  font-size: 0.78rem;
  color: var(--slate);
  margin-top: var(--space-1);
  line-height: 1.45;
  max-width: 52ch;
}

/* ─── Blog index: lead hero (home.php) ─── */
.etlv-hero-post {
  margin-bottom: 40px;
}

.etlv-hero-post img {
  width: 100%;
  display: block;
}

.etlv-hero-post-body {
  padding: 16px 0;
}

.etlv-post-index .etlv-hero-post {
  display: grid;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--cloud);
}

@media (min-width: 768px) {
  .etlv-post-index .etlv-hero-post {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-4);
  }
}

.etlv-hero-post-media {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--cloud);
  text-decoration: none;
  color: inherit;
}

.etlv-hero-post-media:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.etlv-hero-post-media img {
  width: 100%;
  height: auto;
  display: block;
}

.etlv-hero-post-title {
  font-family: var(--etlv-font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  color: var(--ink);
}

.etlv-hero-post-title a {
  color: inherit;
  text-decoration: none;
}

.etlv-hero-post-title a:hover,
.etlv-hero-post-title a:focus-visible {
  color: var(--red);
  text-decoration: underline;
  outline: none;
}

.etlv-hero-post-excerpt {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--slate);
}

.etlv-sponsored-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.etlv-partner-block,
.etlv-ad-slot,
.etlv-inline-cta {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #e7e7e7;
  background: #fafafa;
}

.etlv-partner-name,
.etlv-ad-slot-label,
.etlv-inline-cta-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.etlv-ad-slot-title {
  font-family: var(--etlv-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--space-2);
  color: var(--ink);
}

.etlv-ad-slot-text {
  margin: 0 0 var(--space-3);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate);
}

.etlv-partner-cta,
.etlv-ad-slot-cta,
.etlv-inline-cta a,
.etlv-inline-cta-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* ─── Advertiser inquiry shortcode [etlv_ad_form] ─── */
.etlv-ad-form {
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  font-family: var(--etlv-font-body);
}

.etlv-ad-form-notice {
  margin: 0 0 var(--space-3);
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  border: 1px solid #e7e7e7;
}

.etlv-ad-form-notice--ok {
  background: #e8f5e9;
  color: #1b5e20;
}

.etlv-ad-form-notice--err {
  background: #ffebee;
  color: #b71c1c;
}

.etlv-form-success,
.etlv-form-error {
  max-width: 600px;
  margin: 0 auto 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  border: 1px solid #e7e7e7;
  box-sizing: border-box;
}

.etlv-form-success {
  background: #e8f5e9;
  color: #1b5e20;
}

.etlv-form-error {
  background: #ffebee;
  color: #b71c1c;
}

.etlv-ad-form-field {
  margin: 0;
}

.etlv-ad-form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.etlv-ad-form input[type="hidden"] {
  margin: 0;
  padding: 0;
  border: none;
}

.etlv-ad-form input:not([type="hidden"]),
.etlv-ad-form select,
.etlv-ad-form textarea {
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #ddd;
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
}

.etlv-ad-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.etlv-ad-form-actions {
  margin: 8px 0 0;
}

.etlv-ad-form button,
.etlv-ad-form-submit {
  background: #000;
  color: #fff;
  padding: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 4px;
}

.etlv-ad-form button:hover,
.etlv-ad-form button:focus-visible,
.etlv-ad-form-submit:hover,
.etlv-ad-form-submit:focus-visible {
  background: #333;
}

/* ─── WP post loop: home / archive / search (.etlv-card) ─── */
.etlv-post-index__header,
.etlv-archive-header {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--cloud);
}

.section--dark .etlv-post-index__header,
.section--dark .etlv-archive-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.etlv-archive-description {
  margin-top: var(--space-2);
  color: var(--silver);
  font-size: 0.95rem;
  max-width: 52ch;
}

.etlv-search-query {
  color: var(--gold);
}

.etlv-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--space-3);
  padding: var(--space-2) 0 var(--space-5);
}

.etlv-cards-grid .etlv-ad-slot--mid-feed {
  grid-column: 1 / -1;
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

.etlv-card {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--cloud);
  box-shadow: 0 8px 24px rgba(11, 14, 19, 0.06);
}

.etlv-card img {
  width: 100%;
  display: block;
}

.section--dark .etlv-card {
  background: rgba(31, 24, 43, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.etlv-card > a {
  position: relative;
  display: block;
  background: var(--cloud);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.etlv-card > a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.section--dark .etlv-card > a:focus-visible {
  outline-color: var(--gold);
}

.etlv-card > a img {
  width: 100%;
  height: auto;
  display: block;
}

.etlv-card-body {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.etlv-card-body h2 {
  font-family: var(--etlv-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--ink);
}

.section--dark .etlv-card-body h2 {
  color: #fff;
}

.etlv-card-body h2 a {
  color: inherit;
  text-decoration: none;
}

.etlv-card-body h2 a:hover,
.etlv-card-body h2 a:focus-visible {
  color: var(--red);
  text-decoration: underline;
  outline: none;
}

.section--dark .etlv-card-body h2 a:hover,
.section--dark .etlv-card-body h2 a:focus-visible {
  color: var(--gold);
}

.etlv-card-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slate);
  flex: 1;
}

.section--dark .etlv-card-body p {
  color: #a8b3c8;
}

.etlv-cards-empty {
  padding: var(--space-4) 0;
}

.etlv-post-index .navigation.posts-navigation,
.etlv-post-index .navigation.pagination {
  margin: var(--space-3) 0 var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.etlv-post-index .nav-previous a,
.etlv-post-index .nav-next a,
.etlv-post-index .page-numbers {
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.section--dark .etlv-post-index .nav-previous a,
.section--dark .etlv-post-index .nav-next a,
.section--dark .etlv-post-index .page-numbers {
  color: var(--gold);
}

/* ─── Single post (.etlv-single) ─── */
.etlv-single-main {
  padding-top: var(--space-4);
  padding-bottom: var(--space-6);
}

.etlv-single {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.etlv-single .etlv-hero {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.etlv-single h1 {
  font-family: var(--etlv-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 var(--space-3);
}

.etlv-single .etlv-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: var(--etlv-font-body);
  font-size: 1.05rem;
  color: var(--slate);
}

.etlv-single .etlv-content > *:first-child {
  margin-top: 0;
}

.etlv-single .etlv-content h2,
.etlv-single .etlv-content h3 {
  font-family: var(--etlv-font-display);
  color: var(--ink);
  margin: var(--space-4) 0 var(--space-2);
}

.etlv-single .etlv-content p {
  margin: 0 0 var(--space-3);
}

.etlv-single .etlv-content a {
  color: var(--red);
  text-decoration: underline;
}

.etlv-single .etlv-content a:hover,
.etlv-single .etlv-content a:focus-visible {
  color: var(--red-bright);
}

.etlv-single .etlv-content img {
  max-width: 100%;
  height: auto;
}

.etlv-single .etlv-partner-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.etlv-single .etlv-content .etlv-inline-cta .etlv-inline-cta-link,
.etlv-single .etlv-content .etlv-inline-cta a {
  color: #fff;
  text-decoration: none;
}

.etlv-page-links {
  margin-top: var(--space-4);
  font-size: 0.9rem;
}

.etlv-page-links-title {
  font-weight: 600;
  margin-right: var(--space-2);
}

/* ─── Author archive (.etlv-author) ─── */
.etlv-author-main {
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

.etlv-author {
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
}

.etlv-author-img img,
.etlv-author-img .avatar,
.etlv-author-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  display: inline-block;
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.etlv-author h1 {
  font-family: var(--etlv-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-2);
  line-height: 1.2;
}

.etlv-author-bio {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--silver);
  text-align: left;
}

/* ─── Biografía page (.etlv-bio) — page-bibliografia.php ─── */
.etlv-bio-main {
  padding-top: var(--space-4);
  padding-bottom: var(--space-6);
}

.etlv-bio {
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
}

.etlv-bio-img {
  width: 180px;
  max-width: 100%;
  height: auto;
  border-radius: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  margin-bottom: 20px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  display: inline-block;
}

.etlv-bio-name {
  font-family: var(--etlv-font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-3);
  line-height: 1.15;
}

.etlv-bio-body {
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mist);
}

.etlv-bio-body p {
  margin: 0 0 var(--space-3);
}

.etlv-bio-body a {
  color: var(--gold);
}

.etlv-bio-social {
  justify-content: center;
  margin-top: var(--space-4);
}
