/* ─────────────────────────────────────────────────────────────
 * Dunes Theme · article-v2.css
 * v2.24.0 — Premium single redesign (Reuters-style):
 *
 *   1. Tarjetas multi-autor (.et-bio-grid + .et-bio-card)
 *   2. Blockquote con franja AZUL lateral (sustituye franja roja/negra)
 *   3. H1/H2 con hairlines decorativos arriba y abajo
 *   4. Bloque "Related Content" inline (PC sidebar + móvil minimalista)
 *   5. Fixes móvil: byline reorganizado, botón "ver artículos", banners azules
 *
 * Carga DESPUÉS de pc.css y mobile.css para ganar especificidad.
 * ───────────────────────────────────────────────────────────── */

:root {
    --et-blue: #33519F;
    --et-blue-soft: #E9EEF8;
    --et-blue-ink: #1B3372;
    --et-line-soft: #E5E5E5;
    --et-quote-bg: #F5F5F5;  /* gris muy clarito para citas */
}

/* ─────────────────────────────────────────────────────────────
 * 1. BLOQUE MULTI-AUTOR (PC + MÓVIL)
 *    Render dentro de <aside class="et-bio-grid"> con N <article class="et-bio-card">.
 * ───────────────────────────────────────────────────────────── */
.et-bio-grid {
    max-width: 760px;
    margin: 48px auto 0 !important;
    padding: 32px 40px !important;
    border: 1px solid #E5E5E5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-sizing: border-box;
}
.et-bio-grid > .et-bio-card + .et-bio-card {
    margin-top: 22px !important;
    padding-top: 22px !important;
    border-top: 1px solid #F0F0F0 !important;
}

.et-bio-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: flex-start;
    font-family: 'Inter', sans-serif;
}
.et-bio-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F1F1F 0%, #525252 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.4px;
    text-decoration: none !important;
    border-bottom: 0 !important;
    overflow: hidden;
    flex-shrink: 0;
}
.et-bio-card__initials { color: #fff; }
.et-bio-card__main { min-width: 0; }
.et-bio-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.et-bio-card__id { min-width: 0; flex: 1; }
.et-bio-card__name {
    display: block;
    font-weight: 700;
    font-size: 17px;
    color: #0A0A0A !important;
    letter-spacing: -0.3px;
    line-height: 1.2;
    text-decoration: none !important;
    border-bottom: 0 !important;
    background: none !important;
}
.et-bio-card__name:hover {
    color: var(--et-blue) !important;
    text-decoration: none !important;
}
.et-bio-card__city {
    display: block;
    margin-top: 4px;
    font-size: 13.5px;
    color: var(--et-blue, #33519F);
    font-weight: 600;
    letter-spacing: -0.1px;
}
.et-bio-card__org {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #525252;
    font-weight: 500;
}

.et-bio-card__social {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
}
.et-bio-card__soc {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--et-line-soft);
    background: #fff;
    color: #1F1F1F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    text-decoration: none;
}
.et-bio-card__soc svg { width: 15px; height: 15px; }
.et-bio-card__soc:hover {
    border-color: var(--et-blue);
    color: var(--et-blue);
    background: var(--et-blue-soft);
}

.et-bio-card__text {
    margin: 14px 0 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #2A2A2A;
    font-weight: 400;
}

/* ─── MÓVIL: tarjetas más compactas, padding interno generoso ─── */
.et-bio-grid--mob {
    /* Sin márgenes laterales propios — la tarjeta ocupa el 100% del ancho
       del contenedor padre (que ya tiene su padding del artículo). Así coincide
       exactamente con el ancho de la noticia. */
    margin: 28px 0 0 !important;
    padding: 22px 20px !important;
    border: 1px solid var(--et-line-soft) !important;
    border-radius: 8px !important;
    background: #fff !important;
    max-width: none;
    width: 100% !important;
    box-sizing: border-box;
}
/* Si el theme renderiza el bloque fuera del padding del artículo (caso .et-m
   directo), añadimos un margen mínimo lateral solo en ese caso */
.et-m > .et-bio-grid--mob,
.et-m__art > .et-bio-grid--mob {
    margin: 28px var(--et-mob-pad, 16px) 0 !important;
    width: calc(100% - calc(var(--et-mob-pad, 16px) * 2)) !important;
}
.et-bio-grid--mob > .et-bio-card + .et-bio-card {
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid #F0F0F0 !important;
}
.et-bio-grid--mob > .et-bio-card { gap: 14px; grid-template-columns: 52px 1fr; }
.et-bio-grid--mob .et-bio-card__avatar { width: 52px; height: 52px; font-size: 18px; }
.et-bio-grid--mob .et-bio-card__name { font-size: 15.5px; }
.et-bio-grid--mob .et-bio-card__org { font-size: 12px; margin-top: 2px; }
.et-bio-grid--mob .et-bio-card__head { gap: 10px; }
.et-bio-grid--mob .et-bio-card__soc { width: 34px; height: 34px; }
.et-bio-grid--mob .et-bio-card__soc svg { width: 13px; height: 13px; }
.et-bio-grid--mob .et-bio-card__text { margin-top: 12px; font-size: 13.5px; }

/* ─────────────────────────────────────────────────────────────
 * 2. BLOCKQUOTE — fondo gris muy clarito, sin cursiva, sin franja
 * ───────────────────────────────────────────────────────────── */

/* PC — fondo gris muy clarito + franja azul a la izquierda, sin cursiva */
.et-body blockquote {
    margin: 40px 0 !important;
    padding: 22px 26px !important;
    border: 0 !important;
    border-left: 4px solid var(--et-blue) !important;
    background: var(--et-quote-bg) !important;
    text-align: left !important;
    border-radius: 0 6px 6px 0 !important;
    font-style: normal !important;
}
.et-body blockquote *,
.et-body blockquote p,
.et-body blockquote cite,
.et-body blockquote em,
.et-body blockquote i {
    font-style: normal !important;
}
.et-body blockquote .label {
    color: #525252 !important;
    margin-bottom: 12px !important;
}
.et-body blockquote p {
    font-size: 19px !important;
    line-height: 1.55 !important;
    letter-spacing: -0.2px !important;
    font-weight: 500 !important;
    color: #0A0A0A !important;
    margin: 0 0 14px !important;
    font-style: normal !important;
}
.et-body blockquote p:last-child { margin-bottom: 0 !important; }
.et-body blockquote .attr {
    justify-content: flex-start !important;
    margin-top: 8px;
}
.et-body blockquote .attr .rule { background: #BDBDBD !important; }
.et-body blockquote .attr-name { color: #0A0A0A !important; font-style: normal !important; }
.et-body blockquote .attr-role { color: #525252 !important; font-style: normal !important; }

/* Móvil — fondo gris muy clarito + franja azul a la izquierda, sin cursiva */
.et-m__art-body blockquote {
    margin: 24px 0 !important;
    padding: 18px 20px !important;
    border: 0 !important;
    border-left: 4px solid var(--et-blue) !important;
    background: var(--et-quote-bg) !important;
    text-align: left !important;
    border-radius: 0 6px 6px 0 !important;
    font-style: normal !important;
}
.et-m__art-body blockquote *,
.et-m__art-body blockquote p,
.et-m__art-body blockquote cite,
.et-m__art-body blockquote em,
.et-m__art-body blockquote i {
    font-style: normal !important;
}
.et-m__art-body blockquote .label,
.et-m__art-body blockquote span.label {
    color: #525252 !important;
    margin-bottom: 12px !important;
}
.et-m__art-body blockquote p {
    font-size: 16.5px !important;
    line-height: 1.5 !important;
    letter-spacing: -0.2px !important;
    color: #0A0A0A !important;
}
.et-m__art-body blockquote .attr {
    justify-content: flex-start !important;
}
.et-m__art-body blockquote .attr .rule { background: #BDBDBD !important; }
.et-m__art-body blockquote .attr-name { color: #0A0A0A !important; }
.et-m__art-body blockquote .attr-role { color: #525252 !important; }

/* ─────────────────────────────────────────────────────────────
 * 3. H1 / H2 con HAIRLINES arriba y abajo (estilo Reuters)
 * ───────────────────────────────────────────────────────────── */

/* PC — Titular del artículo */
.et-article__title {
    position: relative;
    padding: 28px 0 !important;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
}
/* PC — H2 dentro del cuerpo */
.et-body h2 {
    position: relative;
    padding: 22px 0 !important;
    margin: 40px 0 28px !important;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
}

/* Móvil — Headline del artículo */
.et-m__art-headline {
    position: relative;
    padding: 20px 0 !important;
    margin-top: 18px !important;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
}
/* Móvil — H2 dentro del cuerpo */
.et-m__art-body h2 {
    position: relative;
    padding: 16px 0 !important;
    margin: 32px 0 18px !important;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
}

/* ─────────────────────────────────────────────────────────────
 * 4. BLOQUE "RELATED CONTENT" INLINE — 2 cards a ancho COMPLETO
 *    Diseño premium: imagen 16:9 arriba, kicker + título debajo.
 * ───────────────────────────────────────────────────────────── */

.et-related-inline {
    clear: both;
    float: none;
    width: 100%;
    margin: 44px 0 40px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: 'Inter', sans-serif;
}

.et-related-inline__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}
.et-related-inline__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #0A0A0A;
    flex-shrink: 0;
}
.et-related-inline__rule {
    flex: 1;
    height: 1px;
    background: #DDD;
}

.et-related-inline__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.et-related-inline__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}
.et-related-inline__card:hover {
    transform: translateY(-2px);
    text-decoration: none;
}
.et-related-inline__card:hover .et-related-inline__title {
    color: var(--et-blue);
}
.et-related-inline__card:hover .et-related-inline__thumb {
    transform: scale(1.03);
}

.et-related-inline__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #E5E5E5 center/cover no-repeat;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.4s ease;
    display: block;
}
.et-related-inline__thumb-fallback {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1F1F1F 0%, #525252 100%);
}

.et-related-inline__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 4px 0;
}
.et-related-inline__cat {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: var(--et-blue);
    text-transform: uppercase;
    line-height: 1;
}
.et-related-inline__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.35px;
    color: #0A0A0A;
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Móvil: 1 columna, mismo lenguaje visual ── */
.et-related-inline--mob {
    margin: 32px 0;
}
.et-related-inline--mob .et-related-inline__grid {
    grid-template-columns: 1fr;
    gap: 22px;
}
.et-related-inline--mob .et-related-inline__title {
    font-size: 16px;
    line-height: 1.3;
    -webkit-line-clamp: 3;
}
.et-related-inline--mob .et-related-inline__cat { font-size: 10px; }
.et-related-inline--mob .et-related-inline__thumb { aspect-ratio: 16 / 9; }

/* ─────────────────────────────────────────────────────────────
 * 5. FIXES MÓVIL: byline reorganizado + tools horizontales + fixes color
 * ───────────────────────────────────────────────────────────── */

/* Byline v2 — SELF-CONTAINED. El elemento ya no lleva la clase original
   `.et-m__art-byline` para no heredar sus border-top/border-bottom.
   Solo UNA hairline al FINAL del bloque completo (antes del hero). */
.et-m__art-byline--v2 {
    margin: 0 var(--et-mob-pad, 16px);
    padding: 16px 0 14px;
    border: 0;
    border-bottom: 1px solid #E5E3DD; /* ÚNICA línea, separa byline del hero */
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
/* Garantía adicional: matamos cualquier border en TODOS los descendientes */
.et-m__art-byline--v2 .et-m__art-byline-row,
.et-m__art-byline--v2 .et-m__art-avatar,
.et-m__art-byline--v2 .et-m__art-author,
.et-m__art-byline--v2 .et-m__art-author-name,
.et-m__art-byline--v2 .et-m__art-author-role,
.et-m__art-byline--v2 .et-m__art-author-date,
.et-m__art-byline--v2 .et-m__art-author-meta,
.et-m__art-byline--v2 .et-m__art-tools,
.et-m__art-byline--v2 .et-m__art-tool,
.et-m__art-byline--v2 .et-m__art-tool span {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    background-image: none !important;
}
.et-m__art-byline--v2 .et-m__art-byline-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.et-m__art-byline--v2 .et-m__art-byline-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Tools en fila debajo, agrupados en una barra única SIN cajas individuales.
   Cada botón es "ghost" (sin border, sin fondo) para evitar líneas visuales
   paralelas (border-top + border-bottom de cada caja). El gap entre botones
   es generoso para que se lean como acciones separadas. */
.et-m__art-byline--v2 .et-m__art-tools {
    display: flex !important;
    gap: 18px !important;
    align-self: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
.et-m__art-byline--v2 .et-m__art-tool {
    width: auto !important;
    height: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: #525252 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    transform: none !important;
    box-shadow: none !important;
}
.et-m__art-byline--v2 .et-m__art-tool:hover,
.et-m__art-byline--v2 .et-m__art-tool:active,
.et-m__art-byline--v2 .et-m__art-tool:focus {
    color: var(--et-blue) !important;
    background: transparent !important;
    border: 0 !important;
    transform: none !important;
}
.et-m__art-byline--v2 .et-m__art-tool svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0;
    stroke: currentColor !important;
}
.et-m__art-byline--v2 .et-m__art-tool span {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    letter-spacing: -0.1px !important;
    color: inherit !important;
}

/* ─── Fix botón "Ver todos sus artículos" (texto azul sobre fondo azul) ─── */
.et-m__art-bio-link,
.et-bio-card__name {
    -webkit-tap-highlight-color: transparent;
}
.et-m__art-bio-link:hover,
.et-m__art-bio-link:active,
.et-m__art-bio-link:focus {
    color: var(--et-blue) !important;
    background: transparent !important;
    text-decoration: none;
}
/* En el viejo .et-m__art-bio si quedara, normalizamos el contraste activo */
.et-m__art-bio a:active,
.et-m__art-bio a:focus {
    background: transparent !important;
    color: var(--et-blue) !important;
}

/* ─────────────────────────────────────────────────────────────
 * 6. ICONO INSTAGRAM (footer móvil) — icono IZQUIERDA + texto DERECHA
 *    Asegura layout horizontal en cualquier social con texto.
 * ───────────────────────────────────────────────────────────── */
.et-m__footer-social a,
.et-pcv2-footer__social a {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: left;
}
.et-m__footer-social a svg,
.et-pcv2-footer__social a svg {
    flex-shrink: 0;
    order: 0;
}
.et-m__footer-social a span,
.et-pcv2-footer__social a span {
    order: 1;
    font-size: 13px;
    font-weight: 600;
    color: inherit;
    line-height: 1;
}

/* ─────────────────────────────────────────────────────────────
 * 7. Banners separator: rojo → azul del theme
 * ───────────────────────────────────────────────────────────── */
.et-m-sep--banner .et-m-sep__banner {
    background: linear-gradient(135deg, #F4F7FC 0%, #E9EEF8 100%) !important;
    border-left: 3px solid var(--et-blue) !important;
}
.et-m-sep__banner-mark { color: var(--et-blue) !important; }

/* ─────────────────────────────────────────────────────────────
 * 8. RESPONSIVE: en pantallas < 768px caemos a 1 columna stack
 * ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .et-related-inline__grid { grid-template-columns: 1fr !important; gap: 22px !important; }
    .et-related-inline__title { font-size: 16px !important; }
    .et-related-inline__thumb { aspect-ratio: 16 / 9 !important; }
}

/* ════════════════════════════════════════════════════════════════
 * 9. PLUGIN DUNES AI — overrides para sus plantillas
 *    .dai-tpl__   → Noticia estándar
 *    .dai-tpl-op__ → Opinión
 *    .dai-tpl-tv__ → Viajes
 * ════════════════════════════════════════════════════════════════ */

/* ─── BLOCKQUOTE — fondo gris muy clarito + franja azul izquierda, sin cursiva ─── */
.dai-tpl__body blockquote,
.dai-tpl-op__body blockquote,
.dai-tpl-tv__body blockquote,
.dunes-template .dai-tpl__body blockquote {
    margin: 32px 0 !important;
    padding: 22px 26px !important;
    border: 0 !important;
    border-left: 4px solid var(--et-blue) !important;
    background: var(--et-quote-bg) !important;
    text-align: left !important;
    border-radius: 0 6px 6px 0 !important;
    color: #0A0A0A !important;
    font-style: normal !important;
}
.dai-tpl__body blockquote *,
.dai-tpl-op__body blockquote *,
.dai-tpl-tv__body blockquote *,
.dai-tpl__body blockquote p,
.dai-tpl-op__body blockquote p,
.dai-tpl-tv__body blockquote p,
.dai-tpl__body blockquote cite,
.dai-tpl-op__body blockquote cite,
.dai-tpl-tv__body blockquote cite,
.dai-tpl__body blockquote em,
.dai-tpl-op__body blockquote em,
.dai-tpl-tv__body blockquote em,
.dai-tpl__body blockquote i,
.dai-tpl-op__body blockquote i,
.dai-tpl-tv__body blockquote i {
    font-style: normal !important;
}
.dai-tpl__body blockquote p,
.dai-tpl-op__body blockquote p,
.dai-tpl-tv__body blockquote p {
    font-size: 18px !important;
    line-height: 1.55 !important;
    margin: 0 0 12px !important;
    font-weight: 500 !important;
    color: #0A0A0A !important;
}
.dai-tpl__body blockquote p:last-child,
.dai-tpl-op__body blockquote p:last-child,
.dai-tpl-tv__body blockquote p:last-child { margin-bottom: 0 !important; }
.dai-tpl__body blockquote cite,
.dai-tpl-op__body blockquote cite,
.dai-tpl-tv__body blockquote cite {
    color: #525252 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

/* ─── H1 / H2 con hairlines decorativos (estilo Reuters) ─── */
.dai-tpl__title,
.dai-tpl-op__title,
.dai-tpl-tv__title {
    padding: 26px 0 !important;
    border-top: 1px solid #DDD !important;
    border-bottom: 1px solid #DDD !important;
    margin-bottom: 22px !important;
}
.dai-tpl-tv__title {
    /* En viajes el título va sobre el hero con overlay → ahí no aplica el hairline */
    border-top: 0 !important;
    border-bottom: 0 !important;
    padding: 0 !important;
}

.dai-tpl__body h2,
.dai-tpl-op__body h2,
.dai-tpl-tv__body h2 {
    padding: 18px 0 !important;
    margin: 36px 0 22px !important;
    border-top: 1px solid #DDD !important;
    border-bottom: 1px solid #DDD !important;
}

/* ─── Botón "+ Seguir / Siguiendo" del byline ─── */
.dai-tpl__byline-follow {
    background: #fff !important;
    color: var(--et-blue) !important;
    border: 1px solid var(--et-blue) !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    cursor: pointer;
    transition: all 0.15s !important;
    -webkit-tap-highlight-color: transparent !important;
    text-decoration: none !important;
}
.dai-tpl__byline-follow:hover,
.dai-tpl__byline-follow:focus {
    background: var(--et-blue) !important;
    color: #fff !important;
    border-color: var(--et-blue) !important;
}
.dai-tpl__byline-follow:active {
    /* fix azul-sobre-azul: el browser fuerza tap-highlight → forzamos fondo blanco al tocar */
    background: var(--et-blue-soft) !important;
    color: var(--et-blue) !important;
    border-color: var(--et-blue) !important;
}
.dai-tpl__byline-follow.is-following {
    background: var(--et-blue) !important;
    color: #fff !important;
}
.dai-tpl__byline-follow.is-following .dai-tpl__byline-follow-label {
    color: #fff !important;
}
.dai-tpl__byline-follow .dai-tpl__byline-follow-label { color: inherit !important; }

/* ─── Bio cards multi-autor cuando se insertan dentro del .dai-tpl__main ─── */
.dai-tpl__main .et-bio-grid,
.dai-tpl-op__main .et-bio-grid,
.dai-tpl-tv__main .et-bio-grid {
    max-width: none;
    margin-top: 48px;
    padding-left: 0;
    padding-right: 0;
}
.dai-tpl__main .et-bio-grid--mob,
.dai-tpl-op__main .et-bio-grid--mob,
.dai-tpl-tv__main .et-bio-grid--mob {
    margin: 32px 0 0;
}

/* ─── Related inline DENTRO del body del plugin: ancho completo del container ─── */
.dai-tpl__body .et-related-inline,
.dai-tpl-op__body .et-related-inline,
.dai-tpl-tv__body .et-related-inline {
    width: 100%;
    margin: 40px 0;
    float: none;
}

/* ─── Hero del template viajes: el H1 va con overlay, no hairlines ─── */
.dai-tpl-tv__hero h1.dai-tpl-tv__title,
.dunes-template-viajes .dai-tpl-tv__title {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* ════════════════════════════════════════════════════════════════
 * 10. INSTAGRAM CTA INLINE — rediseño móvil:
 *     - Icono IG grande separado a la IZQUIERDA → SE OCULTA en móvil
 *     - El botón "Seguir" lleva el icono Instagram dentro, al lado
 *       del texto, gradient nativo. Premium y compacto.
 *
 *     Layout móvil:
 *       ┌──────────────────────────────────────────┐
 *       │  Título · Síguenos en Instagram          │
 *       │  Subtítulo en 2 líneas                   │
 *       │                                          │
 *       │       [📷 Seguir en Instagram →]         │
 *       └──────────────────────────────────────────┘
 * ════════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
    .dai-igc-inline {
        flex-wrap: wrap !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 16px 18px !important;
        background: #FAFAFA !important;
        border: 1px solid #EAEAEA !important;
        border-radius: 14px !important;
    }
    /* En móvil escondemos el logo separado — el icono va DENTRO del CTA */
    .dai-igc-inline__logo {
        display: none !important;
    }
    .dai-igc-inline__text {
        order: 1 !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        margin-bottom: 4px !important;
        align-items: center !important;
    }
    .dai-igc-inline__title {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0A0A0A !important;
        letter-spacing: -0.2px !important;
        line-height: 1.3 !important;
    }
    .dai-igc-inline__sub {
        font-size: 13px !important;
        color: #525252 !important;
        font-weight: 400 !important;
        line-height: 1.45 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* CTA con icono Instagram inline al lado del texto "Seguir" */
    .dai-igc-inline__cta {
        order: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 auto !important;
        padding: 12px 22px !important;
        background: linear-gradient(135deg, #FFC939 0%, #FE5C5C 40%, #D81989 70%, #553EFF 100%) !important;
        color: #fff !important;
        border: 0 !important;
        border-radius: 999px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
        box-shadow: 0 4px 14px rgba(216,25,137,0.25) !important;
        text-decoration: none !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }
    /* Icono Instagram inline AL INICIO del botón (antes del texto "Seguir") */
    .dai-igc-inline__cta::before {
        content: "";
        display: inline-block;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='2' width='20' height='20' rx='5' ry='5'/><path d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/><line x1='17.5' y1='6.5' x2='17.51' y2='6.5'/></svg>");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    .dai-igc-inline__cta:hover {
        background: linear-gradient(135deg, #FFC939 0%, #FE5C5C 40%, #D81989 70%, #553EFF 100%) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 18px rgba(216,25,137,0.32) !important;
        color: #fff !important;
    }
    .dai-igc-inline__cta svg {
        stroke: #fff !important;
        width: 14px !important;
        height: 14px !important;
    }
}

/* ════════════════════════════════════════════════════════════════
 * 21. OPINIÓN (plantilla plugin) — bold/italic forzados (v2.31.5)
 *
 *  En posts de la categoría opinión, las negritas e itálicas del WYSIWYG
 *  a veces se perdían visualmente porque el CSS del plugin solo cambia el
 *  color. Forzamos aquí los estilos correctos con !important.
 * ════════════════════════════════════════════════════════════════ */
.dai-tpl-op__body strong,
.dai-tpl-op__body b,
.dunes-template-opinion .dai-tpl-op__body strong,
.dunes-template-opinion .dai-tpl-op__body b {
    font-weight: 800 !important;
    color: #0A0A0A !important;
}
.dai-tpl-op__body em,
.dai-tpl-op__body i,
.dunes-template-opinion .dai-tpl-op__body em,
.dunes-template-opinion .dai-tpl-op__body i {
    font-style: italic !important;
    color: #1F1F1F !important;
}
.dai-tpl-op__body u,
.dunes-template-opinion .dai-tpl-op__body u {
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}

/* Pullquote (cita destacada del autor) inyectado automáticamente */
.et-opinion-pullquote {
    margin: 36px 0;
    padding: 28px 28px 22px;
    background: #F5F5F5;
    border-left: 5px solid #33519F;
    border-radius: 0 8px 8px 0;
    position: relative;
}
.et-opinion-pullquote__mark {
    display: block;
    margin-bottom: 8px;
    opacity: 0.85;
}
.et-opinion-pullquote__text {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.32 !important;
    color: #0A0A0A !important;
    letter-spacing: -0.4px !important;
    font-style: normal !important;
}
.et-opinion-pullquote__cite {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #33519F;
    text-transform: uppercase;
    font-style: normal;
}
@media (max-width: 600px) {
    .et-opinion-pullquote { margin: 24px 0; padding: 20px 18px 16px; }
    .et-opinion-pullquote__text { font-size: 18px !important; }
}

/* ════════════════════════════════════════════════════════════════
 * 18. HERO MÓVIL v3 (v2.31.0) — estilo NYT/El Periódico
 *
 *   Foto 16:10 + Kicker caps + Título HUGE + Autores en caps |
 *   Hairline azul corta + Lead text + Bullets verticales azules.
 * ════════════════════════════════════════════════════════════════ */
.et-m-hero-lv--v3 {
    margin: 0;
    padding: 0;
}
.et-m-hero-lv__figure {
    margin: 0;
    padding: 0;
}
.et-m-hero-lv__photo--v3 {
    display: block;
    /* v2.31.1 — la foto respeta los márgenes laterales del resto del home */
    width: calc(100% - calc(var(--et-mob-pad, 16px) * 2));
    margin: 0 var(--et-mob-pad, 16px);
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: #1F1F1F;
    border-radius: 4px;
}
/* v2.31.3 — Caption + crédito de la imagen del hero */
.et-m-hero-lv__figcap {
    margin: 8px var(--et-mob-pad, 16px) 0;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    line-height: 1.45;
    color: #525252;
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
}
.et-m-hero-lv__figcap-text { color: #525252; }
.et-m-hero-lv__figcap-credit {
    color: #8C8C8C;
    font-style: italic;
}
.et-m-hero-lv__figcap-credit::before { content: '· '; opacity: 0.55; }

/* v2.31.6 — Separador entre meta items: barra vertical fina gris claro */
.et-m-hero-lv__authors-dot {
    display: inline-block;
    width: 1px;
    height: 11px;
    border-radius: 0;
    background: #E5E5E5;
    vertical-align: middle;
    margin: 0 2px;
}
.et-m-hero-lv__m-date,
.et-m-hero-lv__m-custom {
    color: #8C8C8C;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}
.et-m-hero-lv__m-custom { color: #33519F; }

/* v2.31.3 — Banner debajo del hero */
.et-m-hero-lv__ad {
    margin: 18px var(--et-mob-pad, 16px) 6px;
    padding: 0;
    text-align: center;
}
.et-m-hero-lv__ad-label {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #8C8C8C;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1;
}
.et-m-hero-lv__ad-img {
    display: block;
    width: 100%;
}
.et-m-hero-lv__ad-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.et-m-hero-lv__body--v3 {
    padding: 22px var(--et-mob-pad, 16px) 14px;
}
/* v2.31.6 — Kicker oficial del theme dentro del título.
   Hereda font del <h1>/<h3>, solo cambia el color a azul Harbor.
   Reforzamos con !important por si otro CSS antiguo lo override. */
.et-m-card__kicker,
.et-m-hero-lv__title .et-m-card__kicker,
.et-m-dest__h .et-m-card__kicker {
    color: #33519F !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline !important;
}
.et-m-hero-lv__title--v3 {
    margin: 0 0 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -1.2px;
    color: #0A0A0A;
}
.et-m-hero-lv__title--v3 a {
    color: inherit;
    text-decoration: none;
}
.et-m-hero-lv__authors {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #1F1F1F;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.et-m-hero-lv__authors-sep {
    color: #BDBDBD;
    font-weight: 400;
    margin: 0 2px;
}
.et-m-hero-lv__author-role {
    color: #8C8C8C;
    font-weight: 500;
    letter-spacing: 1px;
    margin-left: 6px;
}
.et-m-hero-lv__rule {
    display: block;
    width: 36px;
    height: 2px;
    background: #33519F;
    margin: 0 0 12px;
}
.et-m-hero-lv__lead {
    margin: 0 0 18px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: #1F1F1F;
    font-weight: 400;
    letter-spacing: -0.2px;
}
/* Bullets v3 — heredan el estilo de --v3 del CSS de mobile.css con barra azul vertical */
.et-m-hero-lv__related--v3 {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}
.et-m-hero-lv__related--v3 li {
    position: relative;
    padding: 10px 0 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #0A0A0A;
    border-top: 1px solid #EEE;
}
.et-m-hero-lv__related--v3 li:first-child { border-top: 0; }
.et-m-hero-lv__related--v3 li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    bottom: 11px;
    width: 2px;
    background: #33519F;
}
.et-m-hero-lv__related--v3 li a {
    color: inherit;
    text-decoration: none;
}

/* ════════════════════════════════════════════════════════════════
 * 19. DESTACADAS MÓVIL v2 (v2.31.0) — formato lista
 *
 *   [Foto 4:3]   Título grande 2-3 líneas
 *                autor                       13 💬
 *   ────────────────────────────────────────────
 * ════════════════════════════════════════════════════════════════ */
.et-m-dest {
    margin: 24px var(--et-mob-pad, 16px) 20px;
    font-family: 'Inter', sans-serif;
}
.et-m-dest__head {
    margin-bottom: 6px !important;
    padding: 0 !important;
}
.et-m-dest__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.et-m-dest__item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #EFEFEF;
    align-items: flex-start;
}
.et-m-dest__item:last-child { border-bottom: 0; }
.et-m-dest__photo {
    position: relative;
    display: block;
    width: 96px;
    aspect-ratio: 4 / 3;
    background: #E5E5E5 center/cover no-repeat;
    border-radius: 4px;
    overflow: hidden;
}
.et-m-dest__photo.has-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}
.et-m-dest__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.et-m-dest__play svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.et-m-dest__body {
    min-width: 0;
    padding-top: 0;
}
/* v2.31.5 — Kicker (categoría) sobre cada título */
.et-m-dest__kicker {
    display: block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 1.8px !important;
    color: #33519F !important;
    text-transform: uppercase !important;
    margin: 0 0 4px !important;
    line-height: 1 !important;
}
.et-m-dest__city {
    color: #33519F;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.et-m-dest__h {
    margin: 0 0 8px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.3px;
    color: #0A0A0A;
}
.et-m-dest__h a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.et-m-dest__h a:hover { color: #33519F; }
/* v2.31.6 — meta sin space-between (creaba hueco enorme); items en flex-start
   con barras verticales finas grises entre ellos */
.et-m-dest__meta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 0 !important;
    font-size: 11.5px;
    color: #525252;
    line-height: 1.2;
}
.et-m-dest__meta > * {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-left: 1px solid #E5E5E5;
}
.et-m-dest__meta > *:first-child {
    padding-left: 0;
    border-left: 0;
}
.et-m-dest__author {
    font-weight: 500;
    color: #525252;
    letter-spacing: -0.1px;
}
.et-m-dest__comments {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #525252 !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 11.5px;
}
.et-m-dest__comments svg { color: #BDBDBD; width: 11px; height: 11px; }
.et-m-dest__comments:hover { color: #33519F !important; }

/* ════════════════════════════════════════════════════════════════
 * 20. EDITORIAL MÓVIL (v2.31.0) — columnistas estilo Bangkok Post
 *
 *   EDITORIAL >
 *   ──────────────────────────────────────────────
 *   ┌──────────────────────────────┬──┐
 *   │ NOMBRE COLUMNISTA            │○│
 *   │ ROL EN CAPS PEQUEÑO          │  │
 *   └──────────────────────────────┴──┘
 *   (uno destacado en azul theme)
 * ════════════════════════════════════════════════════════════════ */
.et-m-edit {
    margin: 28px var(--et-mob-pad, 16px);
    font-family: 'Inter', sans-serif;
}
.et-m-edit__head {
    margin-bottom: 14px;
}
.et-m-edit__title-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0A0A0A !important;
    text-decoration: none !important;
}
.et-m-edit__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
    color: #0A0A0A;
    text-transform: uppercase;
    line-height: 1;
}
.et-m-edit__title-arrow { color: #0A0A0A; }
.et-m-edit__rule {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #0A0A0A;
    margin-top: 8px;
}

.et-m-edit__list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* v2.31.5 — Card estilo Bangkok Post con FLEXBOX stretch:
   - Esquinas izquierdas suaves, derechas SÚPER redondeadas
   - Avatar usando flex con height 100% para que abarque ARRIBA-ABAJO
   - Aspect-ratio 1:1 → el avatar es siempre cuadrado/circular
   - Casi toca el borde derecho (right: 4px) */
/* v2.31.6 — Card editorial con avatar de DIMENSIONES FIJAS (110×110)
   para evitar bugs de aspect-ratio en Safari móvil. La card tiene
   min-height: 120px para que el avatar quede arropado con poco margen. */
.et-m-edit__item {
    background: #F2F2F2;
    border-radius: 8px 70px 70px 8px;
    transition: background .15s;
    overflow: hidden;
    position: relative;
    min-height: 120px;
}
.et-m-edit__item.is-highlight {
    background: #E9EEF8;
}
.et-m-edit__item:hover { background: #EAEAEA; }
.et-m-edit__item.is-highlight:hover { background: #DCE5F4; }

.et-m-edit__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 5px 5px 20px;
    text-decoration: none !important;
    min-height: 120px;
}
.et-m-edit__info {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 0;
    align-self: center;
}
.et-m-edit__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.et-m-edit__name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #0A0A0A;
    line-height: 1.15;
    text-transform: uppercase;
}
/* v2.31.4 — primer item (post más reciente) en azul theme */
.et-m-edit__item.is-highlight .et-m-edit__name { color: #33519F; }

/* Título del POST debajo del autor (no uppercase, peso medio) */
.et-m-edit__post-title {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    color: #1F1F1F;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: none;
}
.et-m-edit__item.is-highlight .et-m-edit__post-title { color: #1B3372; }

/* v2.31.6 — AVATAR dimensiones FIJAS 110×110. Sin aspect-ratio (que falla
   en Safari mobile con flex stretch). Centrado verticalmente en una card
   de 120px de alto → 5px de margen arriba/abajo. */
.et-m-edit__avatar {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    align-self: center;
    border-radius: 50%;
    background: #BDBDBD center/cover no-repeat;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 32px;
}
.et-m-edit__avatar-fallback {
    font-size: 30px;
    letter-spacing: -0.4px;
}

/* ════════════════════════════════════════════════════════════════
 * 17. DESTACADAS MÓVIL (v2.30.0) — bloque Reuters style
 *
 *   ┌──┬──────────────────────────┐
 *   │┃│ DESTACADAS · subtítulo    │   ← rule vertical azul + título
 *   └──┴──────────────────────────┘
 *
 *   ┌──────────────────────────────┐
 *   │     [IMAGEN 16:10]           │  ← lead con imagen grande
 *   ├──────────────────────────────┤
 *   │ CATEGORÍA                    │
 *   │ Título grande 2 líneas       │
 *   │ autor · hace 3 h             │
 *   ├──────────────────────────────┤  ← hairlines suaves
 *   │ CATEGORÍA                    │
 *   │ Título 2 líneas              │
 *   │ meta                         │
 *   ├──────────────────────────────┤
 *   │ ... (3 noticias sin imagen)  │
 *   └──────────────────────────────┘
 * ════════════════════════════════════════════════════════════════ */
.et-m-destacadas {
    margin: 28px var(--et-mob-pad, 16px);
    font-family: 'Inter', sans-serif;
}

/* Header sección */
.et-m-destacadas__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.et-m-destacadas__rule {
    display: inline-block;
    width: 3px;
    height: 22px;
    background: #33519F;
    flex-shrink: 0;
}
.et-m-destacadas__title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.4px;
    color: #0A0A0A;
    text-transform: uppercase;
    line-height: 1;
}
.et-m-destacadas__sub {
    font-size: 12px;
    color: #8C8C8C;
    font-weight: 500;
    letter-spacing: -0.1px;
}

/* Categoría (kicker) reutilizable */
.et-m-destacadas__cat {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #33519F;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1;
}
.et-m-destacadas__cat:hover { color: #0A0A0A; }
.et-m-destacadas__cat--sm { font-size: 9.5px; letter-spacing: 1.6px; margin-bottom: 6px; }

/* Lead — noticia principal con foto */
.et-m-destacadas__lead {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #E5E5E5;
}
.et-m-destacadas__lead-photo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #E5E5E5 center/cover no-repeat;
    border-radius: 6px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: transform .25s ease;
    position: relative;
}
.et-m-destacadas__lead-photo:hover { transform: translateY(-1px); }
.et-m-destacadas__lead-photo-fallback {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #1F1F1F 0%, #33519F 100%);
}
.et-m-destacadas__lead-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.6px;
    color: #0A0A0A;
}
.et-m-destacadas__lead-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.et-m-destacadas__lead-title a:hover { color: #33519F; }

/* Lista de 3 noticias sin imagen */
.et-m-destacadas__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.et-m-destacadas__item {
    padding: 16px 0;
    border-bottom: 1px solid #EFEFEF;
}
.et-m-destacadas__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.et-m-destacadas__item-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: #0A0A0A;
}
.et-m-destacadas__item-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.et-m-destacadas__item-title a:hover { color: #33519F; }

/* Meta (autor · hora) */
.et-m-destacadas__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #8C8C8C;
    font-weight: 500;
}
.et-m-destacadas__meta-author {
    color: #525252;
    font-weight: 600;
    letter-spacing: -0.1px;
}
.et-m-destacadas__meta-time {
    font-family: 'JetBrains Mono', monospace;
    color: #8C8C8C;
    font-size: 11px;
}
.et-m-destacadas__meta-dot {
    width: 2px;
    height: 2px;
    background: #BDBDBD;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
 * 16. LIVE MÓVIL v2 (v2.29.1) — clon premium del live de PC
 *
 *  Layout:
 *   ┌───────────────────────────┐
 *   │     SLIDER 16:9           │
 *   │  ○ ○ ● ○ ○                │
 *   ├───────────────────────────┤
 *   │ ● EN VIVO                 │
 *   │ Título grande del hilo    │
 *   │ Subtítulo                 │
 *   ├───────────────────────────┤
 *   │ ┃ Hace 16 min  · ÚLTIMA   │
 *   │ ┃ Título 1 línea con …    │
 *   │ ┃                         │
 *   │ ┃ Hace 21 min             │
 *   │ ┃ Título 1 línea          │
 *   ├───────────────────────────┤
 *   │  Ver hilo completo →      │
 *   └───────────────────────────┘
 * ════════════════════════════════════════════════════════════════ */
.et-m-livev2 {
    margin: 24px var(--et-mob-pad, 16px);
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 14px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

/* ── Slider ── */
.et-m-livev2__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0A0A0A;
    overflow: hidden;
}
.et-m-livev2__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.et-m-livev2__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.et-m-livev2__slide-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 16px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.78), transparent);
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.1px;
}
.et-m-livev2__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.et-m-livev2__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.et-m-livev2__dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* ── Header ── */
.et-m-livev2__head {
    padding: 18px 18px 14px;
}
.et-m-livev2__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    background: #C8102E;
    color: #fff !important;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-decoration: none !important;
    line-height: 1;
}
.et-m-livev2__pulse {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: etMlivePulse 1.4s ease-out infinite;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
}
@keyframes etMlivePulse {
    0%   { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70%  { transform: scale(1);   box-shadow: 0 0 0 8px rgba(255,255,255,0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.et-m-livev2__title {
    margin: 12px 0 6px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.7px;
    color: #0A0A0A;
}
.et-m-livev2__title a {
    color: inherit;
    text-decoration: none;
}
.et-m-livev2__title a:hover { color: #C8102E; }
.et-m-livev2__sub {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: #525252;
    font-weight: 400;
}

/* ── Timeline ── */
.et-m-livev2__feed {
    list-style: none;
    margin: 0;
    padding: 4px 18px 14px;
    position: relative;
}
.et-m-livev2__feed::before {
    /* Línea vertical conectora detrás de los dots */
    content: '';
    position: absolute;
    left: 24px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: #E5E5E5;
}
.et-m-livev2__entry {
    position: relative;
    padding: 10px 0 10px 24px;
    list-style: none;
}
.et-m-livev2__entry-dot {
    position: absolute;
    left: 0;
    top: 16px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #BDBDBD;
    z-index: 1;
}
.et-m-livev2__entry.is-latest .et-m-livev2__entry-dot {
    border-color: #C8102E;
    background: #C8102E;
    box-shadow: 0 0 0 4px rgba(200,16,46,0.12);
}
.et-m-livev2__entry-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.et-m-livev2__entry-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #8C8C8C;
    letter-spacing: 0;
    font-weight: 500;
}
.et-m-livev2__entry-now {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    background: #FFF1E5;
    color: #C8102E;
    border-radius: 4px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.6;
}
.et-m-livev2__entry-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #0A0A0A;
    text-decoration: none;
    letter-spacing: -0.15px;
    line-height: 1.35;
    transition: color .15s;
}
.et-m-livev2__entry-title:hover {
    color: #C8102E;
    text-decoration: none;
}
.et-m-livev2__entry.is-latest .et-m-livev2__entry-title {
    font-weight: 700;
    color: #0A0A0A;
}

/* ── CTA ── */
.et-m-livev2__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    background: #FAFAFA;
    border-top: 1px solid #F0F0F0;
    color: #0A0A0A !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: background .15s, color .15s;
}
.et-m-livev2__cta:hover {
    background: #C8102E;
    color: #fff !important;
}
.et-m-livev2__cta svg {
    stroke: currentColor;
    transition: transform .15s;
}
.et-m-livev2__cta:hover svg { transform: translateX(3px); }

/* ── Estado sin cobertura ── */
.et-m-livev2__empty {
    padding: 28px 22px;
    text-align: center;
}
.et-m-livev2__badge--off {
    background: #E5E5E5 !important;
    color: #525252 !important;
}
.et-m-livev2__pulse--off {
    background: #BDBDBD !important;
    animation: none !important;
    box-shadow: none !important;
}
.et-m-livev2__empty-title {
    margin: 14px 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: #0A0A0A;
    letter-spacing: -0.3px;
}
.et-m-livev2__empty-text {
    margin: 0;
    font-size: 13px;
    color: #525252;
    line-height: 1.45;
}

/* ════════════════════════════════════════════════════════════════
 * 15. EMBEDS PREMIUM — frame con header (icono + servicio + host) +
 *     media (iframe / blockquote oficial) + footer (disclaimer + ↗).
 *
 *     Una sola caja redondeada con header coloreado por servicio,
 *     media centrado y footer clicable. Compatible con PC y móvil.
 * ════════════════════════════════════════════════════════════════ */
.et-embed-frame,
.et-embed-frame * { box-sizing: border-box; }

.et-embed-frame {
    --et-embed-accent: #33519F;
    margin: 36px 0;
    padding: 0;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    background: #FFFFFF;
    overflow: hidden;
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    transition: box-shadow .2s, border-color .2s;
    clear: both;
    width: 100%;
    max-width: 100%;
}
.et-embed-frame:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    border-color: #D4D4D4;
}

/* ── HEADER ── */
.et-embed-frame__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #F0F0F0;
    background: #FAFAFA;
}
.et-embed-frame__icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--et-embed-accent);
    border-radius: 6px;
    flex-shrink: 0;
}
.et-embed-frame__service {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #0A0A0A;
    text-transform: uppercase;
}
.et-embed-frame__host {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #8C8C8C;
    margin-left: auto;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── MEDIA ── */
.et-embed-frame__media {
    padding: 18px 18px 14px;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}
.et-embed-frame__media > iframe {
    width: 100% !important;
    max-width: 720px !important;
    border: 0 !important;
    display: block;
}

/* iframes (YouTube, Vimeo, Spotify) — ratio fijo */
.et-embed-frame__iframe {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}
.et-embed-frame__iframe iframe {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* Aspect específico por servicio */
.et-embed-frame--tiktok .et-embed-frame__iframe { aspect-ratio: 9 / 16; max-width: 380px; margin: 0 auto; }
.et-embed-frame--spotify .et-embed-frame__iframe { aspect-ratio: auto; height: 152px; }

/* Blockquotes oficiales (Twitter / IG / TikTok / FB / Threads) */
.et-embed-frame__media blockquote.twitter-tweet,
.et-embed-frame__media blockquote.instagram-media,
.et-embed-frame__media blockquote.tiktok-embed,
.et-embed-frame__media .fb-post,
.et-embed-frame__media blockquote.text-post-media {
    margin: 0 auto !important;
    max-width: 540px !important;
    width: 100% !important;
}

/* Link card (fallback cuando no hay SDK) */
.et-embed-frame__linkcard {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    background: #FAFAFA;
    border: 1px dashed #E5E5E5;
    border-radius: 8px;
    color: #0A0A0A !important;
    text-decoration: none !important;
    width: 100%;
    transition: background .15s;
}
.et-embed-frame__linkcard:hover {
    background: #F5F5F5;
}
.et-embed-frame__linkcard strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--et-embed-accent);
}
.et-embed-frame__linkcard span {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: #525252;
    word-break: break-all;
}

/* ── FOOTER ── */
.et-embed-frame__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid #F0F0F0;
    background: #FAFAFA;
    color: #525252 !important;
    text-decoration: none !important;
    font-size: 12px;
    line-height: 1.4;
    transition: background .15s, color .15s;
}
.et-embed-frame__foot:hover {
    background: var(--et-embed-accent);
    color: #FFFFFF !important;
    text-decoration: none !important;
}
.et-embed-frame__foot-text {
    flex: 1;
    min-width: 0;
}
.et-embed-frame__foot-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: inherit;
    transition: transform .15s;
}
.et-embed-frame__foot:hover .et-embed-frame__foot-arrow {
    transform: translate(2px, -2px);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .et-embed-frame { margin: 24px 0; border-radius: 10px; }
    .et-embed-frame__head { padding: 9px 12px; gap: 8px; }
    .et-embed-frame__service { font-size: 11px; }
    .et-embed-frame__host { font-size: 10px; }
    .et-embed-frame__media { padding: 14px 12px 12px; }
    .et-embed-frame__foot { padding: 10px 12px; font-size: 11.5px; }
    .et-embed-frame--tiktok .et-embed-frame__iframe { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
 * 12. CTAs PREMIUM — estilo Google promoter, para sidebar y home
 *
 *     Markup base:
 *       <a class="et-cta et-cta--{slug} et-cta--{variant}" style="--et-cta-accent: #xxx">
 *           <span class="et-cta__icon"><svg/></span>
 *           <span class="et-cta__text">
 *               <strong class="et-cta__title">Título</strong>
 *               <span class="et-cta__sub">Subtítulo</span>
 *           </span>
 *           <span class="et-cta__btn">CTA <svg→/></span>
 *       </a>
 *
 *     Variantes: inline (default — fila horizontal) | stack (columna sidebar)
 * ════════════════════════════════════════════════════════════════ */

.et-cta,
.et-cta * { box-sizing: border-box; }

.et-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: 12px;
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    line-height: 1.4;
    width: 100%;
    max-width: 100%;
    text-decoration: none !important;
    color: #1F1F1F;
    transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
    box-shadow: none;
    -webkit-font-smoothing: antialiased;
}
.et-cta:hover {
    border-color: var(--et-cta-accent, #33519F);
    background: rgba(0,0,0,0.02);
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
    text-decoration: none !important;
}

.et-cta__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.025);
    border-radius: 8px;
}
.et-cta__icon svg { display: block; }
.et-cta__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.et-cta__title {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #0A0A0A;
    letter-spacing: -0.1px;
    line-height: 1.25;
    margin: 0;
    padding: 0;
}
.et-cta__sub {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 400;
    color: #525252;
    line-height: 1.35;
    margin: 0;
    padding: 0;
}
.et-cta__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    color: #0A0A0A;
    border: 1px solid #D4D4D4;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1px;
    text-transform: none;
    white-space: nowrap;
    line-height: 1;
    transition: border-color .18s, color .18s, background .18s;
}
.et-cta:hover .et-cta__btn {
    border-color: var(--et-cta-accent, #33519F);
    background: var(--et-cta-accent, #33519F);
    color: #FFFFFF;
}
.et-cta__btn svg { stroke: currentColor; flex-shrink: 0; }

/* ── Variante STACK (sidebar) — icono arriba, texto columna ── */
.et-cta--stack {
    flex-direction: row;
    gap: 12px;
    padding: 14px 14px;
    margin: 10px 0 0;
    align-items: center;
    background: #FAFAFA;
}
.et-cta--stack .et-cta__icon {
    width: 40px; height: 40px;
    background: #FFFFFF;
    border: 1px solid #ECECEC;
}
.et-cta--stack .et-cta__btn {
    padding: 6px 10px;
    font-size: 10.5px;
    border-radius: 999px;
}

/* Móvil: el CTA inline pasa a wrap, el botón cae a línea propia */
@media (max-width: 600px) {
    .et-cta {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
        border-radius: 10px;
    }
    .et-cta__text { flex-basis: calc(100% - 46px); }
    .et-cta__btn {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 12.5px;
    }
}

/* ════════════════════════════════════════════════════════════════
 * 13. SIDEBAR STICKY — bloque "Tu esTenerife" en PC
 *
 *     Layout compacto: 1 fila por servicio, icono + título + flecha.
 *     Hairline separa cada fila. Hover: icono y flecha cogen el color
 *     del servicio (--et-cta-accent).
 * ════════════════════════════════════════════════════════════════ */
.et-cta-sidebar {
    position: sticky;
    top: 110px;
    margin-top: 24px;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}
.et-cta-sidebar__head {
    padding: 12px 16px 10px;
    background: #FAFAFA;
    border-bottom: 1px solid #ECECEC;
}
.et-cta-sidebar__kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: #525252;
    text-transform: uppercase;
}
.et-cta-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.et-cta-sidebar__item + .et-cta-sidebar__item {
    border-top: 1px solid #F0F0F0;
}
.et-cta-sidebar__link {
    display: grid;
    grid-template-columns: 32px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #0A0A0A !important;
    text-decoration: none !important;
    transition: background .15s, color .15s;
    background: #fff;
}
.et-cta-sidebar__link:hover {
    background: rgba(0,0,0,0.02);
    text-decoration: none !important;
}
.et-cta-sidebar__icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border-radius: 8px;
    transition: background .15s;
}
.et-cta-sidebar__link:hover .et-cta-sidebar__icon {
    background: var(--et-cta-accent, #33519F);
}
.et-cta-sidebar__icon svg {
    width: 18px;
    height: 18px;
    transition: stroke .15s, fill .15s;
}
.et-cta-sidebar__link:hover .et-cta-sidebar__icon svg {
    stroke: #fff !important;
    fill: none !important;
}
.et-cta-sidebar__label {
    font-size: 13.5px;
    font-weight: 600;
    color: #0A0A0A;
    letter-spacing: -0.1px;
    line-height: 1.25;
}
.et-cta-sidebar__link:hover .et-cta-sidebar__label {
    color: var(--et-cta-accent, #33519F);
}
.et-cta-sidebar__arrow {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #BDBDBD;
    transition: color .15s, transform .15s;
}
.et-cta-sidebar__link:hover .et-cta-sidebar__arrow {
    color: var(--et-cta-accent, #33519F);
    transform: translateX(3px);
}
/* En móvil el sidebar también se muestra dentro del artículo (no sticky).
   Se renderiza al final del artículo, antes del bloque de autores. */
@media (max-width: 1100px) {
    .et-cta-sidebar {
        position: static !important;
        margin: 28px var(--et-mob-pad, 16px) 0;
        width: calc(100% - calc(var(--et-mob-pad, 16px) * 2));
        box-sizing: border-box;
    }
    /* Si está dentro de un container que ya tiene padding lateral (ej.
       .dai-tpl__main, .et-m__art), respetamos el padre y sin margen propio. */
    .dai-tpl__main .et-cta-sidebar,
    .dai-tpl-op__main .et-cta-sidebar,
    .dai-tpl-tv__main .et-cta-sidebar,
    .et-m__art .et-cta-sidebar,
    .et-m .et-cta-sidebar {
        margin: 28px 0 0;
        width: 100%;
    }
}

/* ════════════════════════════════════════════════════════════════
 * 14. CTAs en HOME (PC + móvil) — posiciones específicas
 *     El template inyecta directamente <a class="et-cta">; no requiere
 *     reglas extra salvo márgenes para que respiren con el bloque.
 * ════════════════════════════════════════════════════════════════ */
.et-pcv2-econ__a > .et-cta,
.et-pcv2-wqo__weather > .et-cta,
.et-pcv2-wqo__quakes > .et-cta {
    margin: 18px 0 0;
}

/* Móvil — los CTAs en los bloques home también deben respirar */
.et-m-weather > .et-cta,
.et-m-seismic > .et-cta,
.et-m-economia > .et-cta,
.et-m-economy > .et-cta {
    margin: 16px var(--et-mob-pad, 16px);
    width: calc(100% - calc(var(--et-mob-pad, 16px) * 2));
}

/* ════════════════════════════════════════════════════════════════
 * 11. SHARE-BAR (plantillas plugin) — móvil: NO al inicio, debajo del byline
 *     El share-bar se mueve via JS (assets/js/article-v2.js) tras renderizar
 *     el header. Pero por si JS no carga, lo escondemos arriba en móvil.
 * ════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    /* Variante por defecto: si el share está como hermano directo del article
       (antes del header), lo escondemos para que el reposicionado JS muestre
       su clon debajo del byline. */
    .dai-tpl__article > .dai-tpl__share:not(.dai-tpl__share--moved) {
        display: none !important;
    }
    /* En móvil quitamos la border-bottom del byline original para que NO
       genere una segunda línea por encima del share-bar movido. */
    .dai-tpl__byline {
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 14px !important;
    }
    .dai-tpl__share--moved {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        /* Única línea visible: border-bottom (separa share-bar del hero). */
        margin: 0 0 22px !important;
        padding: 0 0 16px !important;
        border-top: 0 !important;
        border-bottom: 1px solid #E5E5E5 !important;
        width: 100% !important;
    }
    .dai-tpl__share--moved .dai-tpl__share-btn {
        width: 40px !important;
        height: 40px !important;
    }
}
