/* Ediciones regionales: misma estructura de El Mundo, distintivo propio por ciudad */

/* ───────── Selector de edición: arriba, como cambio de zona ───────── */
/* discreto: una pastilla pequeña arriba a la derecha; la lista de mundos solo aparece al tocarla */
.ed-zona { position: relative; z-index: 60; max-width: 1280px; margin: 0 auto; padding: 10px 20px 0; display: flex; justify-content: flex-end; }
.ed-menu { position: relative; }
.ed-abre { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.28); box-shadow: inset 0 0 0 1px rgba(15,23,42,.08); font: 600 12px var(--sans); color: var(--ink); cursor: pointer; opacity: .78; transition: opacity .2s, background .2s; }
.ed-abre:hover, .ed-abre[aria-expanded="true"] { opacity: 1; background: rgba(255,255,255,.6); }
.ed-abre:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ed-abre-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.ed-abre .ed-logo .logo-mx { --lf: 16px; }
.ed-abre .ed-logo .logo-mx[data-t="sports"] { --lf: 22px; margin: -3px 0 -2px; }
.ed-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ed-abre svg { opacity: .6; transition: transform .25s ease; }
.ed-abre[aria-expanded="true"] svg { transform: rotate(180deg); }
.ed-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 600px; max-width: calc(100vw - 32px); padding: 14px; border-radius: 22px; background: rgba(255,255,255,.82);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .2s ease, transform .22s ease; }
.ed-panel.abierto { opacity: 1; transform: none; }
.ed-panel-t { margin: 2px 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ed-lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ed-switch-label, .ed-glider { display: none; }
/* indicador que se desliza y se ilumina con el color de la zona */
.ed-glider { position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; z-index: 0; pointer-events: none;
  transition: transform .6s cubic-bezier(.65,0,.25,1.25), width .6s cubic-bezier(.65,0,.25,1.25), background .6s ease, box-shadow .6s ease; }
.ed-glider[data-ed="mx"] { background: linear-gradient(180deg, #4C6E90, #2E4A66); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(226,198,140,.55), 0 8px 26px -6px rgba(62,92,122,.75), 0 0 34px -4px rgba(184,134,47,.45); }

.ed-glider[data-ed="puebla"] { background: linear-gradient(180deg, #2B52BC, #1A3585); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(143,169,214,.7), 0 8px 26px -6px rgba(31,63,154,.75), 0 0 34px -4px rgba(217,144,42,.4); }
/* cada mundo es una tarjeta blanca con su logo, su nombre y su dominio; el mundo actual lleva el filo y la palomita */
.ed-btn { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 100px; padding: 16px 14px 12px; border: 0; border-radius: 16px;
  background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(15,23,42,.07); font: 600 14px var(--sans); color: var(--ink); cursor: pointer; text-align: left; transition: background .2s, box-shadow .2s, transform .2s; }
.ed-btn:hover:not([aria-pressed="true"]) { background: #fff; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(15,23,42,.12), 0 10px 22px -14px rgba(15,23,42,.4); }
.ed-btn[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); cursor: default; }
.ed-btn .ed-logo { display: block; max-width: 100%; }
.ed-btn .logo-mx { --lf: 22px; max-width: 100%; }
.ed-btn .logo-mx[data-t="sports"] { --lf: 33px; margin: -6px 0 -4px; }
.ed-check { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--spring, ease); }
.ed-check::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ed-btn[aria-pressed="true"] .ed-check { opacity: 1; transform: none; }
/* la O y la ciudad de cada logo en el color de su mundo */
.ed-logo { --logo-tinta: #141414; }
.ed-logo[data-ed="mx"] { --logo-acento: #3E5C7A; }
.ed-logo[data-ed="puebla"] { --logo-acento: #1F3F9A; }
.ed-logo[data-ed="miami"] { --logo-acento: #A548D0; }
.ed-logo[data-ed="hidalgo"] { --logo-acento: #1E6B4A; }
.ed-logo[data-ed="nuevoleon"] { --logo-acento: #D9602A; }
.ed-logo[data-ed="usa"] { --logo-acento: #B22234; }
.ed-logo[data-ed="canada"] { --logo-acento: #C8102E; }
.ed-logo[data-ed="espana"] { --logo-acento: #AA151B; }
.ed-logo[data-ed="sports"] { --logo-acento: #D71A28; }
.ed-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.ed-txt b { font-weight: 700; font-size: 13px; }
.ed-txt small { font-size: 11px; font-weight: 500; opacity: .62; }
.ed-sw { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: box-shadow .45s ease; }
.ed-btn[aria-pressed="true"] .ed-sw { box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(15,23,42,.25); }
.ed-sw-mx { background: linear-gradient(180deg, #7D93AB, #3E5C7A); }

.ed-sw-puebla { background: #fff; box-shadow: inset 0 0 0 3px #1F3F9A, inset 0 0 0 5px #fff, inset 0 0 0 6px #8FA9D6; }
html.embed .ed-zona, html.embed .ed-portal { display: none; }

/* portal a la otra zona: círculo que crece desde el botón con el color de la edición */
.ed-portal { position: fixed; inset: 0; z-index: 300; pointer-events: none; visibility: hidden; display: grid; place-items: center; overflow: hidden;
  clip-path: circle(0px at var(--px, 50%) var(--py, 0)); }
.ed-portal::before { content: ""; position: absolute; inset: 0; opacity: .13; }
.ed-portal.entra { visibility: visible; pointer-events: auto; animation: ed-abre .64s cubic-bezier(.7,0,.25,1) forwards; }
.ed-portal.sale { clip-path: circle(150vmax at var(--px, 50%) var(--py, 0)); animation: ed-cierra .65s ease forwards; }
@keyframes ed-abre { to { clip-path: circle(150vmax at var(--px, 50%) var(--py, 0)); } }
@keyframes ed-cierra { to { opacity: 0; } }
.ed-portal-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 24px; opacity: 0; transform: translateY(16px) scale(.97); }
.ed-portal.entra .ed-portal-in { animation: ed-texto .7s .28s cubic-bezier(.2,.8,.2,1) forwards; }
.ed-portal.sale .ed-portal-in { animation: none; opacity: 1; transform: scale(1.04); transition: transform .65s ease; }
@keyframes ed-texto { to { opacity: 1; transform: none; } }
.ed-portal-logo { --lf: 40px; display: flex; align-items: center; margin-bottom: 8px; }
.ed-portal strong { font-size: clamp(44px, 8vw, 96px); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.ed-portal em { font-style: normal; font-size: 16px; opacity: .78; max-width: min(92vw, 72ch); text-wrap: balance; } /* una sola línea si cabe; en pantallas chicas se parte parejo */
.ed-portal[data-ed="mx"] { color: #fff; --logo-tinta: #fff; --logo-fondo: #1C2B3C; background: radial-gradient(70% 60% at 50% 40%, #4C6E90, #1C2B3C 75%); }
.ed-portal[data-ed="mx"]::before { background: url("greca.svg") 0 0 / 40px 28px repeat; opacity: .24; }
.ed-portal[data-ed="mx"] em { color: #E9CB86; opacity: 1; }

.ed-portal[data-ed="puebla"] { color: #fff; --logo-tinta: #fff; --logo-fondo: #13234F; background: radial-gradient(70% 60% at 50% 40%, #2B52BC, #13234F 78%); }
.ed-portal[data-ed="puebla"]::before { background: url("talavera.svg") 0 0 / 120px 120px repeat; filter: brightness(0) invert(1); opacity: .1; }
.ed-portal[data-ed="puebla"] em { color: #F6C46A; opacity: 1; }

@media (max-width: 767.98px) {
  .ed-zona { padding: 8px 14px 0; }
  .ed-abre { height: 26px; font-size: 11.5px; }
  .ed-lista { grid-template-columns: 1fr 1fr; }
  .ed-btn { min-height: 84px; gap: 8px; padding: 13px 12px 10px; }
  .ed-btn .logo-mx { --lf: 17px; }
  .ed-btn .logo-mx[data-t="sports"] { --lf: 26px; }
  .ed-portal-logo { --lf: 32px; }
}

/* ═════════ MX: paleta "Acero y cielo" — base sobria de diario, color en el fondo (bahía) y en pocos acentos ═════════
*/
html[data-ed="mx"] {
  --bg: #EFF2F5;
  --ink: #142030;
  --muted: #4F5B6B;
  --read: #142030;
  --accent: #3E5C7A;
  --accent-d: #3E5C7A;
  --m-acento2: #7D93AB;
  --m-fondo:
    radial-gradient(46% 40% at 4% 0%, rgba(80,200,215,.28), transparent 70%),
    radial-gradient(44% 40% at 96% 6%, rgba(110,165,235,.24), transparent 70%),
    radial-gradient(50% 44% at 90% 96%, rgba(40,140,160,.20), transparent 70%),
    radial-gradient(46% 40% at 6% 96%, rgba(150,210,235,.24), transparent 70%);
  --m-boton: linear-gradient(180deg, #4C6E90, #2E4A66);
  --m-linea: #7D93AB;
  --m-pie: linear-gradient(160deg, #1C2B3C, #30465E);
  --m-live: #C0392B;
}
html[data-ed="mx"] body { background: var(--bg); }
html[data-ed="mx"] body::before { content: ""; position: fixed; inset: -10vh -10vw; z-index: -1; pointer-events: none; background: var(--m-fondo); }
/* vidrio esmerilado */
html[data-ed="mx"] .lg { background-color: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); }
html[data-ed="mx"] .lg-dark { background-color: rgba(10, 20, 36, .5); }
html[data-ed="mx"] .lg-accent,
html[data-ed="mx"] .progress { background: var(--m-boton); }
html[data-ed="mx"] .lg-accent { box-shadow: 0 10px 24px -10px rgba(10,20,40,.55), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -3px 8px rgba(0,0,0,.25); }
html[data-ed="mx"] .lg-accent::before { background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(255,255,255,0) 40%, rgba(255,255,255,0) 70%, rgba(255,255,255,.6)); }
/* titulares con serifa */
html[data-ed="mx"] .lead-panel h1,
html[data-ed="mx"] .lead-panel .lead-h,
html[data-ed="mx"] .sec-head h2,
html[data-ed="mx"] .top-read h2,
html[data-ed="mx"] .brief-head h2,
html[data-ed="mx"] .latest-head h2,
html[data-ed="mx"] .special-panel h2,
html[data-ed="mx"] .nl-form h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }
html[data-ed="mx"] .card h3,
html[data-ed="mx"] .feature-panel h3,
html[data-ed="mx"] .brief-card h3,
html[data-ed="mx"] .video-main h3,
html[data-ed="mx"] .rank h3 { font-family: var(--serif); }
html[data-ed="mx"] .rank-n,
html[data-ed="mx"] .brief-n { font-family: var(--serif); font-weight: 600; color: var(--accent); opacity: .3; }
/* acentos contados */
html[data-ed="mx"] .sec-head { position: relative; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
html[data-ed="mx"] .sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--m-linea); }
html[data-ed="mx"] .kicker { color: var(--accent-d); }
html[data-ed="mx"] .eyebrow { color: var(--m-acento2); }
html[data-ed="mx"] .feature-panel .kicker,
html[data-ed="mx"] .special-panel .eyebrow { color: rgba(255,255,255,.85); }
html[data-ed="mx"] .pill-soft,
html[data-ed="mx"] .video-tag { color: var(--accent-d); background: color-mix(in srgb, var(--accent) 9%, transparent); }
html[data-ed="mx"] .seg[aria-pressed="true"],
html[data-ed="mx"] .card-h:hover h3 { color: var(--accent-d); }
html[data-ed="mx"] .live { background: var(--m-live); }
html[data-ed="mx"] .dot-live { background: var(--m-live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--m-live) 18%, transparent); }
html[data-ed="mx"] :focus-visible { outline-color: rgba(62,92,122,.55); }
/* pie azul acero; el sello del logo se invierte */
html[data-ed="mx"] .footer-card { color: #fff; background: var(--m-pie); --logo-tinta: #fff; --logo-fondo: var(--ink); }
html[data-ed="mx"] .footer-card > * { position: relative; z-index: 1; }
html[data-ed="mx"] .footer-card .footer-desc,
html[data-ed="mx"] .footer-card a { color: rgba(255,255,255,.8); }
html[data-ed="mx"] .footer-cols a:hover { color: #fff; }

/* ═════════ PUEBLA: talavera, azul cobalto sobre loza y arreglitos ═════════ */
html[data-ed="puebla"] {
  --bg: #F8F5EE;
  --ink: #13234F;
  --muted: #4E5874;
  --read: #1B2647;
  --accent: #1F3F9A;
  --accent-d: #1A3585;
  --cobalto: #1F3F9A;
  --cobalto-l: #8FA9D6;
  --ocre: #D9902A;
  --loza: #FBF9F4;
}
html[data-ed="puebla"] body { background: var(--bg); }
/* azulejo muy tenue de fondo */
html[data-ed="puebla"] body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .055;
  background: url("talavera.svg") 0 0 / 150px 150px repeat;
}
html[data-ed="puebla"] .lg { background-color: rgba(251,249,244,.66); }
html[data-ed="puebla"] .lg::before { background: linear-gradient(140deg, rgba(255,255,255,1), rgba(255,255,255,.4) 40%, rgba(255,255,255,.9)); }
html[data-ed="puebla"] .lg-dark { background-color: rgba(19, 35, 79, .55); }
html[data-ed="puebla"] .lg-accent,
html[data-ed="puebla"] .progress { background: linear-gradient(180deg, #2B52BC, #1A3585); }
html[data-ed="puebla"] .lg-accent { box-shadow: 0 10px 24px -8px rgba(31,63,154,.6), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 8px rgba(10,20,70,.35); }
/* aro de plato: banda cobalto, loza y filete azul claro */
html[data-ed="puebla"] .latest,
html[data-ed="puebla"] .brief-card,
html[data-ed="puebla"] .mini,
html[data-ed="puebla"] .footer-card,
html[data-ed="puebla"] .nl-form,
html[data-ed="puebla"] .search-box {
  box-shadow: 0 14px 34px -16px rgba(19,35,79,.35), inset 0 0 0 3px var(--cobalto), inset 0 0 0 7px var(--loza), inset 0 0 0 8px var(--cobalto-l);
}
html[data-ed="puebla"] .lead,
html[data-ed="puebla"] .feature,
html[data-ed="puebla"] .special,
html[data-ed="puebla"] .newsletter,
html[data-ed="puebla"] .video-main .video-thumb {
  box-shadow: 0 0 0 4px var(--cobalto), 0 0 0 8px var(--bg), 0 0 0 9.5px var(--cobalto-l), 0 22px 40px -18px rgba(19,35,79,.45);
}
/* arreglitos en las esquinas */
html[data-ed="puebla"] .latest,
html[data-ed="puebla"] .footer-card { background-image: url("talavera.svg"), url("talavera.svg"); background-repeat: no-repeat; background-size: 110px, 110px; background-position: right -26px top -26px, left -26px bottom -26px; }
html[data-ed="puebla"] .brief-card { background-image: url("talavera.svg"); background-repeat: no-repeat; background-size: 92px; background-position: right -20px bottom -20px; }
/* títulos con remate de talavera y doble filete como el borde del plato */
html[data-ed="puebla"] .sec-head { border-bottom: 3px solid var(--cobalto); position: relative; margin-bottom: 34px; }
html[data-ed="puebla"] .sec-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1.5px; background: var(--cobalto-l); }
html[data-ed="puebla"] .sec-head h2,
html[data-ed="puebla"] .top-read h2,
html[data-ed="puebla"] .brief-head h2,
html[data-ed="puebla"] .lead-panel h1,
html[data-ed="puebla"] .lead-panel .lead-h,
html[data-ed="puebla"] .special-panel h2,
html[data-ed="puebla"] .nl-form h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }
html[data-ed="puebla"] .sec-head h2,
html[data-ed="puebla"] .top-read h2 { display: flex; align-items: center; gap: 12px; }
html[data-ed="puebla"] .sec-head h2::before,
html[data-ed="puebla"] .top-read h2::before { content: ""; width: 34px; height: 34px; flex: none; background: url("talavera.svg") center / contain no-repeat; }
html[data-ed="puebla"] .kicker { color: var(--cobalto); }
html[data-ed="puebla"] .eyebrow { color: var(--ocre); }
html[data-ed="puebla"] .nl-form .eyebrow { color: var(--cobalto); }
html[data-ed="puebla"] .rank-n { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--cobalto); opacity: .55; }
html[data-ed="puebla"] .brief-n { font-family: var(--serif); font-style: italic; font-weight: 500; color: rgba(31,63,154,.4); }
html[data-ed="puebla"] .pill-soft,
html[data-ed="puebla"] .video-tag { color: var(--cobalto); background: rgba(31,63,154,.09); box-shadow: inset 0 0 0 1px rgba(31,63,154,.25); }
html[data-ed="puebla"] .live { background: var(--ocre); }
html[data-ed="puebla"] .dot-live { background: var(--ocre); box-shadow: 0 0 0 4px rgba(217,144,42,.2); }
html[data-ed="puebla"] .seg[aria-pressed="true"] { color: var(--cobalto); }
html[data-ed="puebla"] .special-panel .eyebrow { color: #F6C46A; }
html[data-ed="puebla"] .lead::after { background: linear-gradient(180deg, rgba(19,35,79,.35), rgba(0,0,0,0) 30%); }

/* ═════════ MX · detalles: el Ángel de la Independencia en línea dorada y greca, al estilo de los arreglitos de Puebla ═════════ */
html[data-ed="mx"] { --oro: #B8862F; --oro-l: #E2C68C; }
/* marco de filete dorado en tarjetas de vidrio */
html[data-ed="mx"] .latest,
html[data-ed="mx"] .brief-card,
html[data-ed="mx"] .mini,
html[data-ed="mx"] .nl-form,
html[data-ed="mx"] .search-box {
  box-shadow: 0 14px 34px -16px rgba(20,32,48,.32), inset 0 0 0 1.5px var(--oro), inset 0 0 0 5px rgba(255,255,255,.5), inset 0 0 0 6px var(--oro-l);
}
html[data-ed="mx"] .lead,
html[data-ed="mx"] .feature,
html[data-ed="mx"] .special,
html[data-ed="mx"] .newsletter,
html[data-ed="mx"] .video-main .video-thumb {
  box-shadow: 0 0 0 2px var(--oro), 0 0 0 6px var(--bg), 0 0 0 7px var(--oro-l), 0 22px 40px -18px rgba(20,32,48,.45);
}
/* el Ángel como remate */
html[data-ed="mx"] .latest { background-image: url("angel.svg"); background-repeat: no-repeat; background-size: auto 92px; background-position: right 18px top 14px; }
html[data-ed="mx"] .brief-card { background-image: url("angel.svg"); background-repeat: no-repeat; background-size: auto 70px; background-position: right 16px bottom 14px; }
html[data-ed="mx"] .footer-card { background: url("angel.svg") left 330px bottom -2px / auto 176px no-repeat, var(--m-pie); }
html[data-ed="mx"] .sec-head h2,
html[data-ed="mx"] .top-read h2 { display: flex; align-items: center; gap: 10px; }
html[data-ed="mx"] .sec-head h2::before,
html[data-ed="mx"] .top-read h2::before { content: ""; width: 18px; height: 44px; flex: none; background: url("angel.svg") center / contain no-repeat; }
/* doble filete bajo cada sección */
html[data-ed="mx"] .sec-head { border-bottom: 2px solid var(--accent); margin-bottom: 34px; }
html[data-ed="mx"] .sec-head::after { left: 0; right: 0; width: auto; bottom: -8px; height: 1.5px; background: var(--oro); }
html[data-ed="mx"] .eyebrow { color: var(--oro); }
html[data-ed="mx"] .nl-form .eyebrow { color: var(--accent); }
html[data-ed="mx"] .special-panel .eyebrow { color: #E9CB86; }
html[data-ed="mx"] .rank-n { font-style: italic; font-weight: 500; color: var(--oro); opacity: .75; }
html[data-ed="mx"] .brief-n { font-style: italic; font-weight: 500; color: var(--oro); opacity: .6; }

/* luz de mediodía: arena y bruma de mar, muy suave, para que el vidrio tenga qué refractar */

/* titulares Didone, como revista de lujo */

/* etiquetas espaciadas en arena */

/* filete fino doble: negro y arena */

/* pie negro; el sello del logo se invierte */

@media (max-width: 767.98px) {
  html[data-ed="mx"] .footer-card { background: url("angel.svg") right 18px top 18px / auto 96px no-repeat, var(--m-pie); }
  html[data-ed="mx"] .latest { background-size: auto 70px; }
}

/* ═════════ Menú de vidrio con el tono de cada edición: tinte sutil, filete y orla ═════════ */
.nav-orla { display: none; }
html[data-ed] .topbar .nav-orla { display: block; position: absolute; left: 34px; right: 34px; bottom: 3px; height: 8px; pointer-events: none; z-index: 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
html[data-ed] .topbar .nav > :not(.nav-orla):not(.progress) { position: relative; z-index: 1; }
html[data-ed] .topbar .nav-links::before { content: ""; flex: none; align-self: center; margin-right: 8px; }
/* Con poco ancho, el adorno junto a las secciones y la orla de la barra se quitan: le dejan lugar al logo y a las secciones */
@media (max-width: 991.98px) { html[data-ed] .topbar .nav-links::before { display: none; } }
@media (max-width: 575.98px) { html[data-ed] .topbar .nav-orla { display: none; } }

/* MX: vidrio con un dejo dorado, filete de oro y greca */
html[data-ed="mx"] .topbar .nav,
html[data-ed="mx"].is-scrolled .topbar .nav {
  background-color: rgba(253,248,236,.6);
  box-shadow: 0 14px 36px -14px rgba(60,44,12,.28), 0 2px 6px -2px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 0 0 1px rgba(184,134,47,.42), inset 0 0 0 4px rgba(255,252,244,.45), inset 0 0 0 5px rgba(226,198,140,.45);
}
html[data-ed="mx"] .topbar .nav-orla { background: url("greca.svg") 0 0 / 11.5px 8px repeat-x; opacity: .75; }
html[data-ed="mx"] .topbar .nav-links::before { width: 15px; height: 11px; background: url("greca.svg") center / contain no-repeat; opacity: .9; }

/* Puebla: aro de plato en el menú y cenefa de talavera */
html[data-ed="puebla"] .topbar .nav,
html[data-ed="puebla"].is-scrolled .topbar .nav {
  background-color: rgba(251,249,244,.66);
  box-shadow: 0 14px 36px -14px rgba(19,35,79,.3), 0 2px 6px -2px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 0 0 1.5px rgba(31,63,154,.6), inset 0 0 0 4px rgba(251,249,244,.6), inset 0 0 0 5px rgba(143,169,214,.6);
}
html[data-ed="puebla"] .topbar .nav-orla { height: 10px; bottom: 3px; background: url("talavera.svg") 0 50% / 10px 10px repeat-x; opacity: .85; }
html[data-ed="puebla"] .topbar .nav-links::before { width: 18px; height: 18px; background: url("talavera.svg") center / contain no-repeat; }

/* barra inferior en móvil: mismo vidrio y filete que el menú */
html[data-ed="mx"] .tabbar-pill {
  background-color: rgba(253,248,236,.66);
  box-shadow: 0 14px 36px -14px rgba(60,44,12,.28), inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(184,134,47,.42), inset 0 0 0 4px rgba(255,252,244,.45), inset 0 0 0 5px rgba(226,198,140,.45);
}
html[data-ed="mx"] .tab[aria-current="page"] { color: #7A5A1E; background: rgba(255,251,240,.95); box-shadow: inset 0 0 0 1px rgba(184,134,47,.45); }
html[data-ed="puebla"] .tabbar-pill {
  background-color: rgba(251,249,244,.7);
  box-shadow: 0 14px 36px -14px rgba(19,35,79,.3), inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1.5px rgba(31,63,154,.6), inset 0 0 0 4px rgba(251,249,244,.6), inset 0 0 0 5px rgba(143,169,214,.6);
}
html[data-ed="puebla"] .tab[aria-current="page"] { color: var(--cobalto); background: rgba(255,255,255,.92); box-shadow: inset 0 0 0 1px rgba(31,63,154,.4); }

/* el arreglito de la esquina no tapa las columnas del pie */
html[data-ed="puebla"] .footer-cols { padding-right: 48px; }
@media (max-width: 767.98px) { html[data-ed="puebla"] .footer-cols { padding-right: 0; } }

/* Puebla: texto claro sobre paneles oscuros y foco en cobalto */
html[data-ed="puebla"] .feature-panel .kicker { color: rgba(255,255,255,.85); }
html[data-ed="puebla"] :focus-visible { outline-color: rgba(31,63,154,.55); }

/* ═════════ Interiores: la misma voz de la portada en notas, secciones, autores y páginas ═════════ */
html[data-ed] .art-head h1,
html[data-ed] .arch-head h1,
html[data-ed] .prose h2,
html[data-ed] .prose h3,
html[data-ed] .autor-caja h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }

html[data-ed="puebla"] .art-figure img { box-shadow: 0 0 0 4px var(--cobalto), 0 0 0 8px var(--bg), 0 0 0 9.5px var(--cobalto-l), 0 22px 40px -18px rgba(19,35,79,.45); }
html[data-ed="mx"] .art-figure img { box-shadow: 0 0 0 2px var(--oro), 0 0 0 6px var(--bg), 0 0 0 7px var(--oro-l), 0 22px 40px -18px rgba(20,32,48,.45); }

html[data-ed="puebla"] .autor-caja { box-shadow: 0 14px 34px -16px rgba(19,35,79,.35), inset 0 0 0 3px var(--cobalto), inset 0 0 0 7px var(--loza), inset 0 0 0 8px var(--cobalto-l); }
html[data-ed="mx"] .autor-caja { box-shadow: 0 14px 34px -16px rgba(20,32,48,.32), inset 0 0 0 1.5px var(--oro), inset 0 0 0 5px rgba(255,255,255,.5), inset 0 0 0 6px var(--oro-l); }

/* MX y Puebla: la sección activa se marca con una línea fina, por encima de la cenefa */
html[data-ed="mx"] .topbar .nav-links a,
html[data-ed="puebla"] .topbar .nav-links a { position: relative; transition: color .2s; }
html[data-ed="mx"] .topbar .nav-links a:hover,
html[data-ed="puebla"] .topbar .nav-links a:hover,
html[data-ed="mx"] .topbar .nav-links a[aria-current="page"],
html[data-ed="puebla"] .topbar .nav-links a[aria-current="page"] { background: none; box-shadow: none; }
html[data-ed="mx"] .topbar .nav-links a:hover,
html[data-ed="mx"] .topbar .nav-links a[aria-current="page"] { color: #7A5A1E; }
html[data-ed="puebla"] .topbar .nav-links a:hover,
html[data-ed="puebla"] .topbar .nav-links a[aria-current="page"] { color: var(--cobalto); }
html[data-ed="mx"] .topbar .nav-links a[aria-current="page"],
html[data-ed="puebla"] .topbar .nav-links a[aria-current="page"] { font-weight: 650; }
html[data-ed="mx"] .topbar .nav-links a[aria-current="page"]::after,
html[data-ed="puebla"] .topbar .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: currentColor; }

/* ═════════ Perfil de autor: la portada toma el color y el adorno de cada edición ═════════ */
.perfil::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
html[data-ed] .perfil h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }

html[data-ed="puebla"] .perfil { background: radial-gradient(90% 140% at 12% 0%, #2B52BC, #13234F 72%); box-shadow: 0 0 0 4px var(--cobalto), 0 0 0 8px var(--bg), 0 0 0 9.5px var(--cobalto-l), 0 22px 40px -18px rgba(19,35,79,.45); }
html[data-ed="puebla"] .perfil::before { background: url("talavera.svg") 0 0 / 120px 120px repeat; filter: brightness(0) invert(1); opacity: .07; }
html[data-ed="puebla"] .perfil .eyebrow { color: #F6C46A; }
html[data-ed="mx"] .perfil { background: radial-gradient(90% 140% at 12% 0%, #4C6E90, #1C2B3C 72%); box-shadow: 0 0 0 2px var(--oro), 0 0 0 6px var(--bg), 0 0 0 7px var(--oro-l), 0 22px 40px -18px rgba(20,32,48,.45); }
html[data-ed="mx"] .perfil::before { background: url("greca.svg") 0 0 / 40px 28px repeat; opacity: .14; }
html[data-ed="mx"] .perfil .eyebrow { color: #E9CB86; }


/* Miami: la tarjeta de la revista toma el atardecer de su portada (lila y rosa sobre la bahía) */
html[data-ed="miami"] .revista.lg-soft { background: linear-gradient(125deg, rgba(255,255,255,.72) 0%, rgba(247,214,226,.62) 55%, rgba(206,208,243,.6) 100%); }
html[data-ed="miami"] .revista-eyebrow { color: #9A3E6B; }
