:root {
  --ink: #111;
  --muted: #666;
  --paper: #f7f5ef;
  --white: #fff;
  --line: #cfcac0;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Libre Franklin", Arial, sans-serif;
}
img { display: block; width: 100%; }
button { font: inherit; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.top-rule { height: 8px; background: #082f55; }
.masthead-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 190px;
  gap: 24px;
  align-items: center;
}
.brand-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-logo {
  display: block;
  width: min(760px, 100%);
  text-decoration: none;
  line-height: 0;
}
.brand-logo picture,
.brand-logo img {
  display: block;
  width: 100%;
}
.brand-logo img {
  height: auto;
  object-fit: contain;
}
.mobile-brand-name { display: none; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.masthead-copy { min-width: 0; text-align: center; }
.masthead-kicker {
  margin: 5px 0 7px;
  color: #8b6a27;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.masthead {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5.4vw, 4.95rem);
  line-height: .94;
  letter-spacing: -.048em;
  font-weight: 800;
  color: #0b2f53;
}
.masthead-flags {
  margin: 8px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  max-width: 560px;
}
.masthead-flags span {
  width: 23px;
  height: 23px;
  border: 1px solid #d2d2d2;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.masthead-flags span img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.masthead-deck {
  margin: 8px 0 0;
  color: #4f5963;
  font-family: Georgia, serif;
  font-size: .92rem;
  letter-spacing: .03em;
}
.edition-box {
  min-height: 88px;
  padding: 16px 14px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #3e4852;
  text-align: center;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
}
.edition-separator { width: 42px; height: 2px; background: #c39a45; }
.main-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.nav-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 14px 17px;
  cursor: pointer;
  color: #444;
  border-bottom: 3px solid transparent;
}
.nav-link:hover,
.nav-link.active { color: #000; border-bottom-color: #000; }

.page-shell { max-width: var(--max); margin: 0 auto; padding: 34px 24px 54px; }
.section-kicker {
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 0 8px;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .83rem;
  font-weight: 700;
}
.lead-story {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: stretch;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink);
}
.lead-copy { display: flex; flex-direction: column; justify-content: center; }
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .76rem;
}
.lead-title,
.secondary-title,
.article-title {
  font-family: "Playfair Display", Georgia, serif;
}
.lead-title {
  margin: 0;
  font-size: clamp(2.2rem, 4.7vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.lead-summary {
  margin: 18px 0;
  font-family: Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.55;
  color: #303030;
}
.lead-media {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: #f3f1ec;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  object-position: center;
}
.byline,
.article-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
  font-size: .87rem;
}
.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  
  border: 1px solid #aaa;
}
.secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
}
.secondary-card {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.secondary-card:first-child { padding-left: 0; }
.secondary-card:last-child { padding-right: 0; border-right: 0; }
.secondary-image { aspect-ratio: 16 / 10; object-fit: cover;  margin-bottom: 15px; }
.secondary-title { margin: 0 0 10px; font-size: 1.65rem; line-height: 1.08; }
.secondary-summary { margin: 0 0 14px; color: #444; font-family: Georgia, serif; line-height: 1.45; }
.card-clickable { cursor: pointer; }
.card-clickable:hover .lead-title,
.card-clickable:hover .secondary-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card-clickable:focus-visible { outline: 3px solid #555; outline-offset: 5px; }

.site-footer {
  background: #111;
  color: #eee;
  padding: 28px max(24px, calc((100% - var(--max)) / 2 + 24px));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: .85rem;
}
.site-footer p { margin: 5px 0 0; color: #aaa; }
.footer-editorial{max-width:520px;text-align:right}.footer-editorial p:first-child{color:#eee}.ai-assistance-note{font-size:.78rem;line-height:1.45}

.article-dialog {
  width: min(900px, calc(100% - 28px));
  max-height: 92vh;
  padding: 0;
  border: 0;
  box-shadow: 0 20px 80px rgba(0,0,0,.35);
}
.article-dialog::backdrop { background: rgba(0,0,0,.72); }
.dialog-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  margin: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid #999;
  background: white;
  cursor: pointer;
  font-size: 1.7rem;
}
.article-full { padding: 54px clamp(24px, 7vw, 78px) 70px; background: white; }
.article-section { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .77rem; }
.article-title { font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: .98; margin: 12px 0; letter-spacing: -.04em; }
.article-deck { font-family: Georgia, serif; font-size: 1.28rem; line-height: 1.45; color: #444; }
.article-image { margin: 28px 0 18px; max-height: 520px; object-fit: cover;  }
.article-body { font-family: Georgia, serif; font-size: 1.12rem; line-height: 1.78; margin-top: 30px; }
.article-body p { margin: 0 0 1.2em; }

@media (max-width: 820px) {
  .masthead-wrap { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px 12px; }
  .brand-logo { width: min(680px, 100%); }
  .masthead-copy { text-align: center; }
  .masthead-kicker { font-size: .62rem; letter-spacing: .12em; }
  .masthead-deck { font-size: .78rem; }
  .edition-box { grid-column: 1 / -1; min-height: auto; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .edition-separator { width: 2px; height: 18px; }
  .main-nav { overflow-x: auto; justify-content: flex-start; padding-inline: 8px; }
  .nav-link { white-space: nowrap; }
  .page-shell { padding-inline: 16px; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-media { order: -1; min-height: 0; }
  .secondary-grid { grid-template-columns: 1fr; gap: 26px; }
  .secondary-card,
  .secondary-card:first-child,
  .secondary-card:last-child { padding: 0 0 26px; border-right: 0; border-bottom: 1px solid var(--line); }
  .secondary-card:last-child { border-bottom: 0; }
  .site-footer { flex-direction: column; }
  .footer-editorial{text-align:left;max-width:none}
}

.admin-access{color:#ddd;text-underline-offset:3px}.admin-access:hover{color:#fff}


/* Publicidad RDI01 */
.ad-slot{position:relative;overflow:hidden;border:1px solid #c9bfd1;background:#e8dff0;display:grid;place-items:center;text-align:center}
.ad-slot-wide{min-height:150px;margin:30px 0 6px}
.ad-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:34px}
.ad-slot-compact{min-height:170px}
.ad-placeholder{padding:24px;color:#392d45;font-family:"Libre Franklin",sans-serif;direction:rtl}
.ad-placeholder strong{display:block;font-family:"Playfair Display",Georgia,serif;font-size:clamp(1.45rem,3vw,2.15rem);margin-bottom:8px}
.ad-placeholder span{display:block;font-size:1.05rem;font-weight:700;direction:ltr}
.ad-link{display:grid;place-items:center;width:100%;height:100%;min-height:inherit;overflow:hidden}
.ad-image{display:block;width:100%;height:100%;min-height:inherit;object-fit:cover;object-position:center;background:transparent}
@media(max-width:820px){.ad-row{grid-template-columns:1fr}.ad-slot-wide{min-height:125px}.ad-slot-compact{min-height:145px}}


/* Pantalla inicial de carga del diario */
.site-loading > .site-header,
.site-loading > .page-shell,
.site-loading > .site-footer { visibility: hidden; }
.newspaper-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f7f5ef;
  opacity: 1;
  transition: opacity .3s ease, visibility .3s ease;
}
.site-ready .newspaper-loader { opacity: 0; visibility: hidden; }
.loader-panel {
  width: min(680px, 100%);
  padding: clamp(34px, 7vw, 64px) clamp(22px, 6vw, 56px);
  border-top: 9px solid #111;
  border-bottom: 1px solid #111;
  text-align: center;
}
.loader-star { font-size: 2rem; margin-bottom: 12px; }
.loader-kicker {
  margin: 0 0 18px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.loader-panel h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 6vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}
.loader-panel p:not(.loader-kicker) { margin: 18px 0 0; color: #444; }
.loader-panel .loader-wait { margin-top: 6px; font-size: .92rem; color: #666; }
.loader-spinner {
  width: 42px;
  height: 42px;
  margin: 28px auto 8px;
  border: 3px solid #cfcac0;
  border-top-color: #111;
  border-radius: 50%;
  animation: rdi-loader-spin .8s linear infinite;
}
@keyframes rdi-loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .loader-spinner { animation-duration: 1.8s; }
}


/* Columna lateral de referencias */
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:34px;align-items:start}
.section-page{min-width:0}
.news-sidebar{position:sticky;top:20px;border-top:5px solid var(--ink);background:var(--white);padding:0 18px 18px;box-shadow:0 1px 0 var(--line)}
.sidebar-block+ .sidebar-block{margin-top:30px;padding-top:24px;border-top:1px solid var(--ink)}
.sidebar-block h2{margin:0 -18px 8px;padding:12px 18px 10px;border-bottom:1px solid var(--ink);font-family:"Playfair Display",Georgia,serif;font-size:1.5rem}
.sidebar-list{margin:0;padding:0;list-style:none}
.most-read-list{counter-reset:rdi-most-read}
.most-read-list .sidebar-item{counter-increment:rdi-most-read;display:grid;grid-template-columns:30px 1fr;gap:8px}
.most-read-list .sidebar-item::before{content:counter(rdi-most-read);font-family:"Playfair Display",Georgia,serif;font-size:1.65rem;font-weight:700;line-height:1.1;color:#777;padding-top:13px}
.sidebar-item{border-bottom:1px solid var(--line)}
.sidebar-item:last-child{border-bottom:0}
.sidebar-link{width:100%;padding:13px 0;border:0;background:transparent;text-align:left;cursor:pointer;color:var(--ink)}
.sidebar-link:hover .sidebar-title,.sidebar-link:focus-visible .sidebar-title{text-decoration:underline;text-underline-offset:3px}
.sidebar-link:focus-visible{outline:2px solid #555;outline-offset:3px}
.sidebar-section{display:block;margin-bottom:4px;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.sidebar-title{display:block;font-family:"Playfair Display",Georgia,serif;font-size:1.03rem;line-height:1.2}
.sidebar-author{display:block;margin-top:6px;font-size:.75rem;font-weight:600;line-height:1.25;color:var(--muted)}
@media(max-width:1020px){.content-layout{grid-template-columns:1fr}.news-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.news-sidebar .news-ticker{grid-column:1/-1}.sidebar-block+.sidebar-block{margin-top:0;padding-top:0;border-top:0}}
@media(max-width:620px){.news-sidebar{grid-template-columns:1fr}.sidebar-block+.sidebar-block{margin-top:24px;padding-top:20px;border-top:1px solid var(--ink)}}

.newspaper-loader .loader-star{background:url('assets/rdi-logo-icon.png') center/contain no-repeat;color:transparent;width:90px;height:90px;font-size:0;display:block;margin:auto}
@media (max-width: 520px) {
  .masthead-wrap { display: block; padding: 10px 12px 10px; }
  .brand-area { width: 100%; }
  .brand-logo { width: 100%; max-width: 460px; }
  .mobile-brand-name {
    display: block;
    margin-top: 1px;
    color: #071f42;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.05rem, 5.2vw, 1.36rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .035em;
    text-align: center;
    text-transform: uppercase;
  }
  .masthead-copy { width: 100%; }
  .masthead-kicker { display: none; }
  .masthead-flags { margin-top: 7px; }
  .masthead-deck { margin-top: 6px; font-size: .66rem; line-height: 1.25; }
  .edition-box { margin-top: 9px; }
}


/* RDI 3.4.14 — Boletín vertical de noticias israelíes */
.news-ticker{
  display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;border:1px solid var(--line);
  background:#fff;height:390px;overflow:hidden;position:relative;z-index:3;
}
.news-ticker-heading{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:14px 13px;border-bottom:1px solid var(--line);background:#f6f4ef;}
.news-ticker-label{
  display:flex;align-items:center;gap:9px;font-family:"Libre Franklin",sans-serif;
  font-size:.69rem;font-weight:900;line-height:1.35;letter-spacing:.055em;
}
.news-ticker-date{font-family:"Libre Franklin",sans-serif;font-size:.65rem;line-height:1.4;text-transform:capitalize;color:#5d6167;padding-left:16px;}
.ticker-dot{width:7px;height:7px;border-radius:50%;background:currentColor;animation:tickerPulse 1.4s ease-in-out infinite;}
.news-ticker-viewport{min-width:0;height:100%;overflow:hidden;position:relative;}
.news-ticker-track{display:flex;flex-direction:column;width:100%;will-change:transform;}
.news-ticker-track.is-running{animation:newsTickerScrollVertical var(--ticker-duration,90s) linear infinite;}
.news-ticker-track:hover,.news-ticker-track:focus-within{animation-play-state:paused;}
.news-ticker-group{display:flex;flex-direction:column;flex-shrink:0;width:100%;}
.news-ticker-item{
  display:grid;grid-template-columns:42px 1fr;align-items:start;gap:7px;padding:10px 11px;color:inherit;text-decoration:none;border-bottom:1px solid #e6e3dc;
  font-family:"Libre Franklin",sans-serif;font-size:.72rem;line-height:1.35;
}
.news-ticker-time{font-weight:850;font-variant-numeric:tabular-nums;color:#071f42;}
.news-ticker-copy{display:block;min-width:0;}
.news-ticker-item:hover .news-ticker-title{text-decoration:underline;text-underline-offset:2px;}
.news-ticker-source{display:block;margin-bottom:2px;font-size:.58rem;font-weight:850;letter-spacing:.045em;text-transform:uppercase;color:#77643d;}
.news-ticker-title{font-weight:600;}
.news-ticker-loading{padding:10px 16px;font-family:"Libre Franklin",sans-serif;font-size:.76rem;opacity:.65;}
@keyframes newsTickerScrollVertical{from{transform:translateY(-50%)}to{transform:translateY(0)}}
@keyframes tickerPulse{0%,100%{opacity:.4;transform:scale(.85)}50%{opacity:1;transform:scale(1.1)}}
@media(max-width:700px){
  .section-page>.news-ticker{height:310px;margin:14px 0 20px;border-top:4px solid var(--ink)}
  .news-ticker{height:310px}.news-ticker-heading{padding:10px 14px;gap:3px}.news-ticker-label{font-size:.68rem}.news-ticker-date{font-size:.64rem}.news-ticker-item{grid-template-columns:43px 1fr;padding:9px 11px;font-size:.72rem;gap:7px}
}
@media(prefers-reduced-motion:reduce){
  .news-ticker-viewport{overflow-y:auto}.news-ticker-track.is-running{animation:none}.news-ticker-group[aria-hidden="true"]{display:none}.ticker-dot{animation:none}
}

/* RDI 3.0 · contenido enriquecido, tags y notas relacionadas */
.article-body h2,.article-body h3{font-family:"Playfair Display",serif;line-height:1.2;margin:1.5em 0 .55em}.article-body blockquote{border-left:4px solid #b49a62;margin:1.4em 0;padding:.5em 1.1em;color:#555}.article-body ul,.article-body ol{padding-left:1.5rem}.article-body a{text-decoration:underline}.article-tags{display:flex;gap:7px;flex-wrap:wrap;margin:24px 0}.article-tags span{border:1px solid #bbb;border-radius:20px;padding:5px 10px;font-size:.78rem;background:#f5f3ee}.article-related{border-top:1px solid #bbb;padding-top:18px;margin-top:20px}.article-related h3{font-family:"Playfair Display",serif;font-size:1.45rem}.related-list{display:grid;gap:8px}.related-note{text-align:left;border:1px solid #ccc;background:#fff;padding:11px 13px;cursor:pointer}.related-note strong,.related-note small{display:block}.related-note small{color:#777;margin-top:3px}

/* RDI 3.1.6 · conservar visualmente el formato enriquecido publicado */
.article-body strong,.article-body b{font-weight:700!important}
.article-body em,.article-body i{font-style:italic!important}
.article-body u{text-decoration:underline!important}

/* RDI 3.3.0 — Comentarios de lectores */
.article-comments{margin-top:42px;padding-top:28px;border-top:2px solid #111}
.comments-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;border-bottom:1px solid #bbb;padding-bottom:12px}
.comments-heading h3{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:1.8rem}
.comments-heading span{font-size:.82rem;color:#666}
.comments-list{display:grid;gap:0;margin:10px 0 30px}
.reader-comment{padding:18px 0;border-bottom:1px solid #ddd}
.reader-comment header{display:flex;justify-content:space-between;gap:16px;align-items:baseline}
.reader-comment header strong{font-size:.95rem}
.reader-comment time{font-size:.76rem;color:#777}
.reader-comment p{margin:8px 0 0;white-space:pre-wrap;font-family:Georgia,serif;line-height:1.55}
.comments-empty,.comments-loading{color:#777;font-style:italic}
.comment-form{background:#f6f4ee;border:1px solid #d2cec3;padding:20px;display:grid;gap:13px}
.comment-form h4{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:1.35rem}
.comment-help{margin:-5px 0 4px;color:#666;font-size:.84rem}
.comment-form label{display:grid;gap:6px;font-size:.84rem;font-weight:700}
.comment-form input,.comment-form textarea{width:100%;border:1px solid #aaa;background:#fff;padding:10px 11px;font:inherit}
.comment-form textarea{resize:vertical}
.comment-form-footer{display:flex;justify-content:space-between;gap:15px;align-items:center}
.comment-form button{border:1px solid #111;background:#111;color:#fff;padding:10px 15px;font-weight:700;cursor:pointer}
.comment-form button:disabled{opacity:.55;cursor:wait}
.comment-message{font-size:.82rem;color:#555}
.comment-message.ok{color:#17642d}.comment-message.error{color:#a40000}
.comment-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:620px){.comments-heading,.reader-comment header,.comment-form-footer{align-items:flex-start;flex-direction:column}.comment-form button{width:100%}}

/* RDI 3.3.1 — Invitación visible a comentar */
.comment-cta{
  margin-top:12px;
  padding:0;
  border:0;
  background:transparent;
  color:#1769aa;
  font:700 .78rem/1.3 "Libre Franklin",sans-serif;
  letter-spacing:.01em;
  cursor:pointer;
  text-align:left;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.comment-cta:hover{color:#0d4f85}
.comment-cta:focus-visible{outline:2px solid #111;outline-offset:4px}
.lead-comment-cta{font-size:.82rem}
.secondary-comment-cta{display:inline-block;margin-top:0}

/* RDI 3.4.0 — Link directo y compartir */
.article-share-row{display:flex;align-items:center;gap:12px;margin:18px 0 6px;padding:12px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
.article-share-btn{border:1px solid #1d7a3a;background:#fff;color:#1d7a3a;padding:9px 13px;font:700 .8rem/1.2 "Libre Franklin",sans-serif;cursor:pointer}
.article-share-btn:hover{background:#1d7a3a;color:#fff}
.article-comment-btn{border:1px solid #1769aa;background:#fff;color:#1769aa;padding:9px 13px;font:700 .8rem/1.2 "Libre Franklin",sans-serif;cursor:pointer}
.article-comment-btn:hover{background:#1769aa;color:#fff}
.article-share-status{font-size:.78rem;color:#555}
@media(max-width:620px){.article-share-row{align-items:stretch;flex-direction:column}.article-share-btn{width:100%}}

/* RDI 3.4.4 — franja de banderas bajo la cabecera */
@media(max-width:620px){.masthead-flags{gap:3px;margin-top:7px;max-width:100%}.masthead-flags span{width:19px;height:19px;font-size:13px}}


/* RDI 3.4.7 — Acciones visibles: comentar y compartir */
.card-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:11px}
.card-actions .comment-cta,.card-actions .share-cta{margin:0;padding:0;border:0;background:transparent;font:700 .78rem/1.3 "Libre Franklin",sans-serif;letter-spacing:.01em;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.card-actions .comment-cta{color:#1769aa}
.card-actions .comment-cta:hover{color:#0d4f85}
.share-cta{color:#1d7a3a}
.share-cta:hover{color:#125b2a}
.card-actions button:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.lead-actions .comment-cta,.lead-actions .share-cta{font-size:.82rem}
@media(max-width:620px){.card-actions{gap:13px}.article-share-row{flex-direction:row;flex-wrap:wrap}.article-comment-btn,.article-share-btn{width:auto;flex:1 1 160px}}


/* RDI 3.4.13 · Marca diagonal Edición especial — responsive universal móvil */
.special-edition-ribbon{position:absolute;top:58px;left:-70px;width:300px;z-index:80;transform:rotate(-45deg);transform-origin:center;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .18s ease;text-align:center}
.special-edition-ribbon.is-visible{opacity:1;visibility:visible}
.special-edition-ribbon span{display:block;padding:6px 10px 5px;border-top:1px solid rgba(118,118,118,.58);border-bottom:1px solid rgba(118,118,118,.58);color:rgba(100,100,100,.68);background:rgba(255,255,255,.18);font-family:"Libre Franklin",Arial,sans-serif;font-size:.75rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;white-space:nowrap}

/* RDI 3.4.20 · iPhone + Android: etiqueta horizontal clara bajo la cabecera. */
@media(max-width:767px){
  .special-edition-ribbon{
    display:none;
    position:static;
    width:100%;
    height:auto;
    margin:0;
    transform:none;
    text-align:center;
  }
  .special-edition-ribbon.is-visible{display:block}
  .special-edition-ribbon span{
    position:static;
    width:100%;
    transform:none;
    padding:8px 12px 7px;
    border-top:1px solid #8f959c;
    border-bottom:1px solid #727981;
    color:#fff;
    background:linear-gradient(90deg,#777e86 0%,#aeb3b8 50%,#777e86 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
    font-size:clamp(.72rem,3.2vw,.88rem);
    line-height:1.2;
    letter-spacing:.16em;
    text-shadow:0 1px 1px rgba(0,0,0,.34);
  }
}
/* RDI 3.4.21 — Invitación al boletín por email */
.newsletter-dialog{width:min(600px,calc(100% - 28px));padding:0;border:0;border-radius:18px;overflow:hidden;color:#101828;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.42);text-align:center}
.newsletter-dialog::backdrop{background:rgba(3,12,28,.66);backdrop-filter:blur(3px)}
.newsletter-dialog[open]{animation:newsletter-in .28s ease-out}
.newsletter-dialog>*:not(.newsletter-close){margin-left:clamp(22px,6vw,48px);margin-right:clamp(22px,6vw,48px)}
.newsletter-close{position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;border-radius:50%;background:#edf2f7;color:#1b2638;font-size:28px;line-height:1;cursor:pointer}
.newsletter-mark{margin-top:42px!important;width:76px;height:76px;display:inline-grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#0c2f57,#2672b9);color:#fff;font:800 24px "Playfair Display",serif;box-shadow:0 8px 25px rgba(22,82,140,.28)}
.newsletter-kicker{margin-top:18px;margin-bottom:8px;color:#376f9f;font-size:.72rem;font-weight:800;letter-spacing:.16em}
.newsletter-dialog h2{margin-top:0;margin-bottom:12px;font:800 clamp(1.65rem,5vw,2.35rem)/1.08 "Playfair Display",serif;color:#101828}
.newsletter-dialog h2+p{margin-top:0;margin-bottom:24px;color:#526173;line-height:1.55}
.newsletter-form{margin-bottom:38px!important;text-align:left}
.newsletter-form>label:first-child{display:block;margin-bottom:7px;font-weight:700;font-size:.88rem}
.newsletter-row{display:flex;gap:9px}
.newsletter-row input{min-width:0;flex:1;padding:13px 14px;border:1px solid #bac7d6;border-radius:9px;font:inherit}
.newsletter-row input:focus{outline:3px solid rgba(38,114,185,.2);border-color:#2672b9}
.newsletter-row button{border:0;border-radius:9px;padding:12px 17px;background:#153f68;color:#fff;font-weight:800;cursor:pointer}
.newsletter-row button:disabled{opacity:.65;cursor:wait}
.newsletter-consent{display:flex;align-items:flex-start;gap:9px;margin-top:14px;color:#627083;font-size:.77rem;line-height:1.4}
.newsletter-consent input{margin-top:2px;accent-color:#153f68}
.newsletter-message{min-height:1.4em;margin:13px 0 0;color:#526173;text-align:center;font-weight:700;font-size:.85rem}
.newsletter-message.success{color:#137044}.newsletter-message.error{color:#b42318}
@keyframes newsletter-in{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:560px){.newsletter-dialog{border-radius:15px}.newsletter-mark{margin-top:34px!important;width:64px;height:64px}.newsletter-dialog h2{font-size:1.65rem}.newsletter-dialog h2+p{font-size:.92rem}.newsletter-row{display:block}.newsletter-row button{width:100%;margin-top:9px;padding:14px}.newsletter-form{margin-bottom:28px!important}}
@media(prefers-reduced-motion:reduce){.newsletter-dialog[open]{animation:none}}

/* RDI 3.4.27 · RDI-Videos01 */
.video-frame-block{border:1px solid var(--line);padding:14px;background:#fafafa}.editor-video-preview,.article-video-frame,.secondary-video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;overflow:hidden}.editor-video-preview iframe,.article-video-frame iframe,.secondary-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.editor-video-preview{margin-top:12px;max-width:640px}.article-video-frame{margin:28px 0 18px}.secondary-video-frame{margin-bottom:15px}

/* RDI 3.4.28 — acción destructiva exclusiva para borradores */
.danger-btn{border-color:#b42318!important;color:#b42318!important;background:#fff!important}
.danger-btn:hover{background:#fff2f0!important}

/* RDI 3.4.37 · Sección especial Mitos y Verdades */
.myths-truths-promo{display:flex;width:min(760px,92%);margin:26px auto 30px;padding:17px 34px;align-items:center;justify-content:center;gap:18px;border:1px solid #b7aa8e;border-radius:999px;background:linear-gradient(180deg,#fffef9,#f5f0e5);color:#25211b;box-shadow:0 10px 25px rgba(35,29,19,.18),inset 0 1px 0 #fff;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.myths-truths-promo:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(35,29,19,.24),inset 0 1px 0 #fff}
.myths-truths-promo .promo-pencil{font-size:2.2rem;transform:rotate(-12deg);line-height:1}
.myths-truths-promo small{display:block;font:700 .65rem/1.1 "Libre Franklin",sans-serif;letter-spacing:.2em;color:#786d5a;margin-bottom:2px}
.myths-truths-promo strong{display:block;font:700 clamp(1.65rem,4vw,2.55rem)/1.05 "Segoe Print","Bradley Hand","Comic Sans MS",cursive;letter-spacing:.015em}
.myths-truths-page .section-page{background:linear-gradient(90deg,#fff 0,#fffdf8 49.7%,#eee7da 50%,#fffdf8 50.3%,#fff 100%);padding:clamp(18px,3vw,34px);box-shadow:0 12px 32px rgba(28,25,20,.09)}
.myths-truths-page .section-kicker{font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;font-size:clamp(1.4rem,3vw,2rem);text-transform:none;letter-spacing:.02em}
.myths-empty{text-align:center;padding:70px 20px 90px}.myths-empty .myths-pencil{font-size:3rem}.myths-empty h2{font:700 clamp(2rem,5vw,3.4rem)/1.05 "Segoe Print","Bradley Hand","Comic Sans MS",cursive;margin:10px 0}.myths-empty p{max-width:560px;margin:auto;color:#676052}
@media(max-width:620px){.myths-truths-promo{width:96%;padding:14px 20px;gap:12px;margin:20px auto 24px}.myths-truths-promo .promo-pencil{font-size:1.8rem}.myths-truths-page .section-page{background:#fffdf8;padding:16px}}

/* RDI 3.4.43 · Mayor destaque visual para Mitos y Verdades */
.myths-truths-promo{width:min(900px,96%);padding:22px 38px;border:2px solid #8f7b52;background:linear-gradient(180deg,#fffdf5,#eee4cf);box-shadow:0 12px 30px rgba(35,29,19,.22),inset 0 1px 0 #fff}
.myths-truths-promo strong{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,5vw,3.15rem);font-weight:900;letter-spacing:.045em;text-transform:uppercase}
.myths-truths-promo em{display:block;margin-top:6px;font:600 clamp(.72rem,1.7vw,.9rem)/1.25 "Libre Franklin",sans-serif;letter-spacing:.04em;color:#665b48;font-style:normal}
.myths-truths-page .myths-title-banner{position:relative;text-align:center;margin:-2px 0 30px;padding:24px 16px 20px;border-top:7px solid #201d18;border-bottom:3px double #8f7b52;background:linear-gradient(180deg,#fffdf6,#f3ead8);box-shadow:0 7px 18px rgba(35,29,19,.10)}
.myths-truths-page .myths-title-main{display:block;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.45rem,7vw,4.8rem);font-weight:900;line-height:.95;letter-spacing:.055em;text-transform:uppercase;color:#201d18}
.myths-truths-page .myths-title-sub{display:block;margin-top:11px;font:700 clamp(.75rem,2vw,1rem)/1.3 "Libre Franklin",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#74664c}
@media(max-width:620px){.myths-truths-promo{padding:18px 14px}.myths-truths-promo strong{font-size:clamp(1.55rem,7vw,2.1rem)}.myths-truths-promo em{font-size:.68rem}.myths-truths-page .myths-title-banner{margin:0 0 22px;padding:20px 8px 16px}.myths-truths-page .myths-title-main{font-size:clamp(2rem,11vw,3rem);letter-spacing:.025em}.myths-truths-page .myths-title-sub{font-size:.67rem;letter-spacing:.055em}}


/* RDI 3.4.45 — Invitación editorial: nuevas voces */
.write-for-rdi{
  position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:24px;
  margin:36px 0 8px;padding:28px 30px;border:1px solid #cdbf9b;border-top:4px solid #9b7b3d;
  background:#f4f4f2;box-shadow:0 10px 26px rgba(38,31,19,.08);
}
.write-for-rdi-icon{display:grid;place-items:center;width:72px;height:72px;border:1px solid #cdbf9b;border-radius:50%;background:#fff;color:#806128;font-size:2rem;line-height:1}
.write-for-rdi-copy{min-width:0}
.write-for-rdi-kicker{margin:0 0 7px;color:#806128;font:800 .69rem/1.3 \"Libre Franklin\",sans-serif;letter-spacing:.12em;text-transform:uppercase}
.write-for-rdi h2{margin:0 0 8px;font-family:\"Playfair Display\",Georgia,serif;font-size:clamp(1.75rem,3vw,2.45rem);line-height:1.05}
.write-for-rdi p:not(.write-for-rdi-kicker):not(.write-for-rdi-email){max-width:760px;margin:0 0 16px;color:#3d3a34;font:500 .94rem/1.6 \"Libre Franklin\",sans-serif}
.write-for-rdi-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid #111;background:#111;color:#fff;text-decoration:none;font:800 .82rem/1.2 \"Libre Franklin\",sans-serif;letter-spacing:.015em}
.write-for-rdi-button:hover,.write-for-rdi-button:focus-visible{background:#806128;border-color:#806128}.write-for-rdi-button:focus-visible{outline:3px solid rgba(128,97,40,.24);outline-offset:3px}
.write-for-rdi-email{display:inline-block;margin:0 0 0 12px;color:#6f6553;font:700 .78rem/1.3 \"Libre Franklin\",sans-serif;overflow-wrap:anywhere}
@media(max-width:620px){
  .write-for-rdi{grid-template-columns:1fr;gap:13px;margin:28px 0 4px;padding:22px 18px;text-align:center;border-top-width:4px}
  .write-for-rdi-icon{width:58px;height:58px;margin:0 auto;font-size:1.65rem}
  .write-for-rdi-kicker{font-size:.62rem;letter-spacing:.09em}
  .write-for-rdi h2{font-size:clamp(1.65rem,8vw,2.15rem)}
  .write-for-rdi p:not(.write-for-rdi-kicker):not(.write-for-rdi-email){font-size:.9rem;line-height:1.52}
  .write-for-rdi-button{width:100%;min-height:48px;padding:13px 16px;font-size:.86rem;-webkit-tap-highlight-color:transparent}
  .write-for-rdi-email{display:block;margin:10px 0 0;font-size:.77rem}
}


/* RDI 3.4.48 — Tarjeta editorial visible + responsive */
.write-for-rdi{
  position:relative;
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  align-items:center;
  gap:24px;
  width:100%;
  box-sizing:border-box;
  margin:30px 0 18px;
  padding:28px 30px;
  border:1px solid #c9bea3;
  border-top:4px solid #9b7b3d;
  border-radius:14px;
  background:#efefec;
  box-shadow:0 8px 22px rgba(38,31,19,.10);
  overflow:hidden;
}
.write-for-rdi::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.55),transparent 46%);
}
.write-for-rdi-icon,.write-for-rdi-copy{position:relative;z-index:1}
.write-for-rdi-icon{
  display:grid;place-items:center;width:72px;height:72px;margin:0 auto;
  border:1px solid #c9bea3;border-radius:50%;background:#fff;color:#806128;
  font-size:2rem;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.05);
}
.write-for-rdi-kicker{margin:0 0 7px;color:#806128;font:800 .69rem/1.3 "Libre Franklin",sans-serif;letter-spacing:.12em;text-transform:uppercase}
.write-for-rdi h2{margin:0 0 9px;color:#25211b;font-family:"Playfair Display",Georgia,serif;font-size:clamp(1.75rem,3vw,2.4rem);line-height:1.08}
.write-for-rdi p:not(.write-for-rdi-kicker):not(.write-for-rdi-email){max-width:780px;margin:0 0 17px;color:#403c35;font:500 .95rem/1.58 "Libre Franklin",sans-serif}
.write-for-rdi-button{
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;
  padding:12px 20px;border:1px solid #1f1f1f;border-radius:7px;background:#1f1f1f;
  color:#fff!important;text-decoration:none!important;font:800 .84rem/1.2 "Libre Franklin",sans-serif;
  letter-spacing:.015em;box-shadow:0 3px 9px rgba(0,0,0,.12);
}
.write-for-rdi-button:hover,.write-for-rdi-button:focus-visible{background:#806128;border-color:#806128}
.write-for-rdi-email{display:inline-block;margin:0 0 0 13px;color:#655d4f;font:700 .8rem/1.3 "Libre Franklin",sans-serif;overflow-wrap:anywhere}
@media(max-width:700px){
  .write-for-rdi{grid-template-columns:1fr;gap:12px;margin:24px 0 14px;padding:22px 16px;text-align:center;border-radius:12px}
  .write-for-rdi-icon{width:56px;height:56px;font-size:1.55rem}
  .write-for-rdi-kicker{font-size:.61rem;letter-spacing:.085em}
  .write-for-rdi h2{font-size:clamp(1.55rem,7vw,2rem)}
  .write-for-rdi p:not(.write-for-rdi-kicker):not(.write-for-rdi-email){max-width:none;font-size:.9rem;line-height:1.5;margin-bottom:15px}
  .write-for-rdi-button{width:100%;box-sizing:border-box;min-height:50px;padding:14px 16px;font-size:.88rem;-webkit-tap-highlight-color:transparent}
  .write-for-rdi-email{display:block;margin:10px 0 0;font-size:.76rem}
}
@media(max-width:380px){
  .write-for-rdi{padding:20px 13px}
  .write-for-rdi h2{font-size:1.5rem}
}
