/* Global News Hub · portada y artículos (v2.0). Réplica de la plantilla "Portada de noticias" y "Artículo de noticia"
   de Claude Design (Pharmarket Design System). Fuentes alojadas en la página (licencia SIL OFL, ver carpeta fuentes). */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fuentes/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fuentes/open-sans-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap; src: url(/fuentes/open-sans-latin-wght-italic.woff2) format("woff2"); }

/* Tokens del Pharmarket Design System */
:root {
  --pm-blue: #00a3ff; --pm-blue-600: #0086d2; --pm-blue-700: #006299; --pm-blue-soft: #ccedff; --pm-blue-wash: #e5f6ff; --pm-blue-50: #f5f8ff;
  --pm-navy: #082e42; --pm-navy-900: #001d37; --pm-navy-800: #00264a; --pm-navy-700: #004166;
  --pm-fg-1: #082e42; --pm-fg-2: #333333; --pm-fg-3: #666666; --pm-fg-4: #86878a;
  --pm-bg-soft: #fafafa; --pm-bg-tint: #f5f8ff;
  --pm-border: #edeeee; --pm-border-strong: #ced5d9; --pm-border-soft: #e8eef4;
  --pm-success-bg: #e1fbeb; --pm-warning: #ff8515;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --long: "Open Sans", "Plus Jakarta Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #ffffff; color: var(--pm-fg-1); font-family: var(--body); letter-spacing: -0.02em; -webkit-font-smoothing: antialiased; }
a { color: #006299; }
a:hover { color: #082e42; }
img { display: block; max-width: 100%; }
button, input { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid rgba(0, 163, 255, .45); outline-offset: 2px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--pm-navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.saltar:focus { top: 12px; color: #fff; }
.contenedor { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 30; background: #ffffff; border-bottom: 1px solid var(--pm-border); }
.cab__in { max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__iso { height: 30px; width: auto; }
.logo__txt { height: 20px; width: auto; }
.cab__nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 320px; }
.cab__nav a { padding: 12px 16px; border-radius: 1000px; font-size: 15px; font-weight: 600; color: var(--pm-fg-1); text-decoration: none; }
.cab__nav a:hover { background: var(--pm-bg-tint); color: var(--pm-fg-1); }
.cab__nav a[aria-current="page"] { color: var(--pm-navy); background: var(--pm-blue-wash); }
.cab__der { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cab__buscar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 1000px; background: rgba(237, 238, 238, .6); color: var(--pm-fg-3); }
.cab__buscar svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 18px; }
.cab__buscar input { border: 0; background: transparent; font-size: 15px; width: 170px; color: var(--pm-fg-1); outline: none; }
.btn-navy { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 1000px; background: var(--pm-navy); color: #ffffff; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn-navy:hover { background: var(--pm-navy-700); color: #ffffff; }
.progreso { height: 4px; background: var(--pm-border-soft); }
.progreso div { width: 0; height: 4px; background: var(--pm-blue); transition: width .08s linear; }

/* ---------- Portada ---------- */
.p-hero { background: var(--pm-bg-tint); border-bottom: 1px solid var(--pm-border-soft); }
.p-hero__in { max-width: 1280px; margin: 0 auto; padding: 56px 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.p-hero__tit { max-width: 820px; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pm-blue-700); }
.p-hero h1 { margin: 0; font-family: var(--display); font-size: 48px; line-height: 1.08; font-weight: 700; color: var(--pm-navy); }
.p-cifras { display: flex; flex-wrap: wrap; gap: 16px; }
.p-cifra { flex: 1 1 200px; background: #ffffff; border: 1px solid var(--pm-border); border-radius: 18px; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.p-cifra .n { font-size: 30px; font-weight: 800; color: var(--pm-navy); min-height: 1.25em; }
.p-cifra .t { font-size: 14px; color: var(--pm-fg-3); }

.p-filtros { max-width: 1280px; margin: 0 auto; padding: 32px 24px 0; display: flex; flex-direction: column; gap: 16px; }
.p-filtros__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.p-lineas { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 1000px; border: 1px solid var(--pm-border-strong); background: #ffffff; color: var(--pm-navy); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.pill:hover { border-color: var(--pm-navy); color: var(--pm-navy); }
.pill[aria-current="page"] { background: var(--pm-navy); border-color: var(--pm-navy); color: #ffffff; }
.p-buscar { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 1000px; border: 1px solid var(--pm-border-strong); color: var(--pm-fg-3); flex: 0 1 380px; }
.p-buscar:focus-within { border-color: var(--pm-blue); box-shadow: 0 0 0 4px rgba(0, 163, 255, .18); }
.p-buscar svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 18px; }
.p-buscar input { border: 0; background: transparent; font-size: 15px; width: 100%; color: var(--pm-fg-1); outline: none; }
.p-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 1000px; border: 0; background: var(--pm-bg-tint); color: var(--pm-navy); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.cat span { color: var(--pm-fg-3); font-weight: 500; }
.cat:hover { background: var(--pm-blue-wash); color: var(--pm-navy); }
.cat[aria-pressed="true"] { background: var(--pm-blue-wash); }

.p-bloque { max-width: 1280px; margin: 0 auto; padding: 32px 24px 0; }
.dest { display: flex; flex-wrap: wrap; background: #ffffff; border: 1px solid var(--pm-border); border-radius: 32px; overflow: hidden; text-decoration: none; color: var(--pm-fg-1); }
.dest:hover { color: var(--pm-fg-1); box-shadow: 0 12px 40px rgba(8, 46, 66, .08); }
.dest__img { flex: 1 1 520px; aspect-ratio: 16 / 9; background: var(--pm-blue-soft); position: relative; overflow: hidden; }
.dest__txt { flex: 1 1 380px; padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.dest h2 { margin: 0; font-family: var(--display); font-size: 32px; line-height: 1.15; font-weight: 700; color: var(--pm-navy); }
.dest p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--pm-fg-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 1000px; font-size: 12px; color: var(--pm-navy); }
.chip--dest { background: var(--pm-blue-soft); font-weight: 700; }
.chip--cat { border: 1px solid var(--pm-border-strong); font-weight: 600; }
.meta { font-size: 14px; color: var(--pm-fg-3); }

.p-lista h2 { margin: 0 0 20px; font-family: var(--display); font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--pm-navy); }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tarjeta { display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--pm-border); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--pm-fg-1); }
.tarjeta:hover { color: var(--pm-fg-1); box-shadow: 0 12px 40px rgba(8, 46, 66, .08); }
.tarjeta__img { aspect-ratio: 16 / 9; background: var(--pm-blue-soft); position: relative; overflow: hidden; }
.tarjeta__txt { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.etq { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pm-blue-700); }
.tarjeta h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--pm-navy); }
.tarjeta p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--pm-fg-3); }
.tarjeta .meta { font-size: 13px; }
.dest__img img, .tarjeta__img img, .dest__img svg, .tarjeta__img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.vacio, .error-caja { grid-column: 1 / -1; padding: 44px 24px; text-align: center; border: 1px dashed var(--pm-border-strong); border-radius: 24px; color: var(--pm-fg-3); font-size: 16px; line-height: 1.5; }
.error-caja { border-style: solid; border-color: #ffd2d4; background: #fff7f7; color: #a3262b; }
.error-caja .pill { margin-top: 14px; }

.cargando .tarjeta__img, .cargando .linea-esq { background: linear-gradient(90deg, #eef3f7 0%, #f7f9fb 50%, #eef3f7 100%); background-size: 200% 100%; animation: brillo 1.4s ease-in-out infinite; }
.linea-esq { height: 14px; border-radius: 8px; }
.linea-esq.larga { height: 20px; width: 85%; }
@keyframes brillo { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.p-paginas { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.p-paginas a, .p-paginas span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 18px; border-radius: 1000px; border: 1px solid var(--pm-border-strong); color: var(--pm-navy); font-size: 15px; font-weight: 600; text-decoration: none; }
.p-paginas .num { width: 44px; padding: 0; }
.p-paginas [aria-current] { background: var(--pm-navy); border-color: var(--pm-navy); color: #ffffff; font-weight: 700; }
.p-paginas [aria-disabled] { opacity: .45; }
.p-paginas .puntos { border: 0; min-width: 16px; padding: 0 2px; }

/* ---------- Boletín y pie ---------- */
.boletin { padding: 64px 24px; }
.boletin__caja { max-width: 1280px; margin: 0 auto; background: var(--pm-navy); border-radius: 32px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.boletin__txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.boletin h2 { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.2; font-weight: 700; color: #ffffff; }
.boletin p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--pm-blue-soft); }
.boletin form { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 12px; }
.boletin input { flex: 1 1 220px; height: 52px; padding: 0 20px; border: 0; border-radius: 1000px; font-size: 16px; color: var(--pm-fg-1); }
.boletin button { height: 52px; padding: 0 24px; border: 0; border-radius: 1000px; background: var(--pm-blue); color: var(--pm-navy); font-size: 16px; font-weight: 700; cursor: pointer; }
.boletin button:hover { background: #33b5ff; }

.pie { border-top: 1px solid var(--pm-border); background: #ffffff; }
.pie__in { max-width: 1280px; margin: 0 auto; padding: 40px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.pie__marca { display: flex; flex-direction: column; gap: 10px; }
.pie__marca .logo__iso { height: 26px; }
.pie__marca .logo__txt { height: 17px; }
.pie__marca p { margin: 0; font-size: 14px; color: var(--pm-fg-3); }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.pie nav a, .pie nav button { color: var(--pm-fg-3); text-decoration: none; background: none; border: 0; padding: 0; font-size: 14px; cursor: pointer; }
.pie nav a:hover, .pie nav button:hover { color: var(--pm-navy); }

/* ---------- Artículo ---------- */
.a-hero { background: radial-gradient(circle at 76% 46%, rgba(0, 163, 255, .42) 0%, rgba(0, 163, 255, 0) 44%), linear-gradient(115deg, #082e42 0%, #00264a 38%, #004166 68%, #006299 100%); color: #ffffff; }
.a-hero__in { max-width: 1400px; margin: 0 auto; padding: 80px 24px 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.a-hero__txt { flex: 1 1 560px; max-width: 780px; display: flex; flex-direction: column; gap: 28px; }
.a-hero__cat { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 19px; }
.a-hero__cat a { color: var(--pm-blue-soft); text-decoration: none; }
.a-hero__cat a:hover { color: #ffffff; }
.a-hero__cat a:first-child { font-weight: 700; }
.a-hero__cat a:last-child { font-weight: 500; }
.a-hero__cat span { color: rgba(255, 255, 255, .45); }
.a-hero h1 { margin: 0; font-family: var(--display); font-size: 52px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; }
.a-hero__datos { max-width: 690px; border-top: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); padding: 18px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; font-size: 19px; }
.a-hero__datos span { display: inline-flex; align-items: center; gap: 12px; }
.a-hero__datos svg { fill: none; stroke: #ccedff; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 22px; }
.a-hero__autor { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 19px; }
.a-hero__avatar { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 1000px; background: #ffffff; display: flex; align-items: center; justify-content: center; }
.a-hero__avatar img { width: 40px; height: auto; }
.a-hero__autor b { color: var(--pm-blue-soft); font-weight: 400; }
.a-hero__ilus { flex: 1 1 400px; display: flex; justify-content: center; }
.a-hero__ilus svg { width: 100%; max-width: 520px; height: auto; }

.a-cuerpo { max-width: 1400px; margin: 0 auto; padding: 56px 24px 80px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.a-izq { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 104px; }
.a-indice { display: flex; flex-direction: column; gap: 12px; }
.a-indice__cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.a-indice__cab p { margin: 0; font-family: var(--display); font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--pm-navy); }
.a-indice__cab button { width: 44px; height: 44px; border: 0; background: transparent; color: #006299; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.a-indice__cab svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.a-indice__cab button[aria-expanded="false"] svg { transform: rotate(180deg); }
.a-indice ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; font-size: 16px; line-height: 1.45; }
.a-indice ol a { display: block; padding: 8px 0; color: var(--pm-fg-3); text-decoration: none; }
.a-indice ol a:hover { color: var(--pm-navy); }
.a-indice ol a.activo { color: #006299; font-weight: 700; }
.a-compartir { border-top: 1px solid var(--pm-border); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.a-compartir p { margin: 0; font-size: 14px; font-weight: 700; color: var(--pm-fg-1); }
.a-compartir div { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-pill { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 1000px; border: 1px solid var(--pm-border-strong); background: #ffffff; color: var(--pm-navy); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-pill:hover { border-color: var(--pm-navy); color: var(--pm-navy); }
.btn-pill--navy { background: var(--pm-navy); border-color: var(--pm-navy); color: #ffffff; }
.btn-pill--navy:hover { background: var(--pm-navy-700); color: #ffffff; }

.a-centro { flex: 999 1 560px; min-width: 0; max-width: 760px; font-family: var(--long); font-size: 18px; line-height: 1.7; color: var(--pm-fg-2); letter-spacing: 0; }
.a-bajada { margin: 0; padding-top: 28px; border-top: 3px solid var(--pm-border); font-size: 22px; line-height: 1.6; color: var(--pm-fg-3); }
.foto { margin: 32px 0 0; }
.foto__img { width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; border: 1px solid var(--pm-blue-soft); background: var(--pm-blue-wash); overflow: hidden; }
.foto__img img, .foto__img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto figcaption, .cuerpo figcaption { margin-top: 10px; font-family: var(--body); font-size: 14px; line-height: 1.5; color: var(--pm-fg-3); letter-spacing: -0.02em; }
.cuerpo > p { margin: 20px 0 0; }
.cuerpo > p:first-child { margin-top: 32px; }
.cuerpo > p strong.fecha { color: var(--pm-fg-1); }
.cuerpo strong, .cuerpo b { color: var(--pm-fg-1); }
.cuerpo a { color: #006299; }
.cuerpo h2 { margin: 56px 0 0; font-family: var(--display); font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--pm-navy); scroll-margin-top: 120px; }
.cuerpo h2 + p { margin-top: 16px; }
.cuerpo h3 { margin: 36px 0 0; font-family: var(--display); font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; color: var(--pm-navy); }
.cuerpo h3 + p { margin-top: 12px; }
.cuerpo ul, .cuerpo ol { margin: 20px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.cuerpo blockquote { margin: 40px 0 0; padding: 28px 32px; border-radius: 24px; background: var(--pm-bg-tint); border: 1px solid var(--pm-blue-soft); display: flex; flex-direction: column; gap: 14px; }
.cuerpo blockquote > svg { fill: none; stroke: #006299; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cuerpo blockquote p { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.45; font-weight: 600; letter-spacing: -0.02em; color: var(--pm-navy); }
.cuerpo blockquote footer { font-family: var(--body); font-size: 15px; color: var(--pm-fg-3); letter-spacing: -0.02em; }
.cuerpo blockquote footer strong { color: var(--pm-fg-1); }
.cuerpo .tabla { margin: 32px 0 0; }
.cuerpo .tabla > div { overflow-x: auto; border: 1px solid var(--pm-border); border-radius: 18px; }
.cuerpo table { width: 100%; min-width: 520px; border-collapse: collapse; font-family: var(--body); font-size: 15px; line-height: 1.5; letter-spacing: -0.01em; }
.cuerpo thead tr, .cuerpo tr:first-child:has(th) { background: var(--pm-bg-tint); }
.cuerpo th { text-align: left; padding: 12px 20px; font-weight: 700; color: var(--pm-navy); }
.cuerpo td { padding: 12px 20px; border-top: 1px solid var(--pm-border); }
.cuerpo tbody tr:nth-child(even) { background: var(--pm-bg-soft); }
.apoyo { margin: 32px 0 0; }
.apoyo a { display: block; border-radius: 18px; border: 1px solid var(--pm-blue-soft); overflow: hidden; background: #ffffff; }
.apoyo img { width: 100%; height: auto; }

.fuente { margin-top: 48px; border: 1px solid var(--pm-border); border-radius: 24px; padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; font-family: var(--body); font-size: 16px; line-height: 1.5; letter-spacing: -0.02em; }
.fuente h2 { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pm-blue-700); }
.fuente__medio { margin: 0; font-size: 17px; color: var(--pm-fg-1); }
.fuente__medio a { color: #006299; font-weight: 600; }
.fuente__otras p { margin: 0 0 6px; font-weight: 700; color: var(--pm-fg-1); }
.fuente__otras ul { margin: 0; padding-left: 20px; color: var(--pm-fg-3); }
.fuente__otras a { color: #006299; }
.fuente__nota { margin: 0; padding-top: 16px; border-top: 1px solid var(--pm-border); font-size: 14px; color: var(--pm-fg-3); }
.fuente__nota button { background: none; border: 0; padding: 0; color: #006299; text-decoration: underline; cursor: pointer; font-size: 14px; }

.a-der { flex: 1 1 280px; max-width: 320px; display: flex; flex-direction: column; gap: 20px; }
.cta { border-radius: 24px; background: linear-gradient(160deg, #004166 0%, #082e42 100%); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cta h2 { margin: 0; font-family: var(--display); font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; }
.cta p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--pm-blue-soft); }
.cta a { display: inline-flex; align-items: center; justify-content: center; height: 48px; border-radius: 1000px; background: var(--pm-blue); color: var(--pm-navy); font-size: 15px; font-weight: 700; text-decoration: none; }
.cta a:hover { background: #33b5ff; color: var(--pm-navy); }
.ficha { border: 1px solid var(--pm-border); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ficha h2 { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pm-blue-700); }
.ficha dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ficha dl div { display: flex; flex-direction: column; gap: 2px; }
.ficha dt { font-size: 13px; color: var(--pm-fg-3); }
.ficha dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--pm-navy); }

.relacionadas { background: var(--pm-bg-tint); padding: 64px 24px; }
.relacionadas__in { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.relacionadas__cab { display: flex; flex-direction: column; gap: 8px; }
.relacionadas h2 { margin: 0; font-family: var(--display); font-size: 32px; line-height: 1.15; font-weight: 700; color: var(--pm-navy); }
.relacionadas__fila { display: flex; flex-wrap: wrap; gap: 24px; }
.relacionadas__fila .tarjeta { flex: 1 1 300px; max-width: calc((100% - 48px) / 3); }

.a-cargando { max-width: 1400px; margin: 0 auto; padding: 80px 24px; }

/* Ventana "Cómo elaboramos las noticias" */
dialog.como { max-width: 560px; width: calc(100% - 32px); border: 0; border-radius: 24px; padding: 32px; color: var(--pm-fg-2); box-shadow: 0 24px 80px rgba(8, 46, 66, .25); }
dialog.como::backdrop { background: rgba(8, 46, 66, .45); }
dialog.como h2 { margin: 0 0 12px; font-family: var(--display); font-size: 26px; color: var(--pm-navy); }
dialog.como ol { margin: 12px 0 20px; padding-left: 22px; line-height: 1.6; }
dialog.como p { line-height: 1.6; margin: 0 0 12px; }

.aviso-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--pm-navy); color: #fff; padding: 12px 18px; border-radius: 1000px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 40px rgba(8, 46, 66, .2); transition: all .22s; z-index: 50; max-width: calc(100% - 32px); text-align: center; }
.aviso-toast.ver { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Pantallas pequeñas ---------- */
@media (max-width: 1080px) {
  .a-izq { position: static; max-width: none; flex-basis: 100%; }
  .relacionadas__fila .tarjeta { max-width: none; }
}
@media (max-width: 700px) {
  .cab__in { padding: 12px 16px; gap: 8px 16px; flex-wrap: wrap; }
  .cab .logo__iso { height: 24px; }
  .cab .logo__txt { height: 16px; }
  .btn-navy { height: 40px; padding: 0 16px; font-size: 14px; }
  .cab__nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .cab__nav a { padding: 10px 12px; white-space: nowrap; }
  .cab__der { margin-left: auto; }
  .cab__buscar { display: none; }
  .p-hero__in { padding: 36px 16px 32px; gap: 20px; }
  .p-hero h1 { font-size: 34px; }
  .p-cifra { flex-basis: 140px; padding: 14px 16px; }
  .p-cifra .n { font-size: 24px; }
  .p-filtros, .p-bloque { padding-left: 16px; padding-right: 16px; }
  .p-buscar { flex: 1 1 100%; }
  .p-cats { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .cat { flex-shrink: 0; }
  .p-grid { grid-template-columns: 1fr; }
  .dest__img { flex-basis: 100%; }
  .dest__txt { padding: 24px 20px 26px; }
  .dest h2 { font-size: 26px; }
  .a-hero__in { padding: 40px 16px 48px; gap: 28px; }
  .a-hero h1 { font-size: 34px; }
  .a-hero__cat, .a-hero__datos, .a-hero__autor { font-size: 16px; }
  .a-hero__avatar { flex-basis: 56px; width: 56px; height: 56px; }
  .a-hero__avatar img { width: 32px; }
  .a-hero__ilus { flex-basis: 100%; }
  .a-hero__ilus svg { max-width: 240px; }
  .a-cuerpo { padding: 32px 16px 56px; }
  .a-centro { font-size: 17px; }
  .a-bajada { font-size: 19px; }
  .cuerpo h2 { font-size: 25px; margin-top: 44px; }
  .cuerpo blockquote { padding: 22px 20px; }
  .cuerpo blockquote p { font-size: 19px; }
  .fuente { padding: 22px 20px; }
  .a-der { max-width: none; flex-basis: 100%; }
  .relacionadas { padding: 44px 16px; }
  .relacionadas h2 { font-size: 26px; }
  .boletin { padding: 44px 16px; }
  .boletin__caja { padding: 32px 24px; }
  .boletin h2 { font-size: 24px; }
  .pie__in { padding: 32px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Imágenes del Flujo 07 v2 (Fotos 2 a 5 de la plantilla), temas ---------- */
.a-hero__foto { width: 100%; height: auto; max-width: 560px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.a-hero__foto--3d { aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; max-width: 520px; }
.foto-v2 { margin: 32px 0 0; }
.foto-v2__img { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid var(--pm-blue-soft); background: var(--pm-blue-wash); overflow: hidden; }
.foto-v2__img a { display: block; width: 100%; height: 100%; }
.foto-v2__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-v2__img--datos { aspect-ratio: auto; background: #ffffff; }
.foto-v2__img--datos img { height: auto; object-fit: contain; }
.foto-v2__img--diagrama { padding: 20px 16px; }
.foto-v2__img--diagrama a { display: flex; justify-content: center; height: auto; }
.foto-v2__img--diagrama img { width: auto; max-width: 100%; height: auto; max-height: 640px; }
.dos-col { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.dos-col__txt { flex: 1 1 300px; min-width: 0; }
.dos-col__txt > p { margin: 0 0 16px; }
.dos-col__txt > p:last-child { margin-bottom: 0; }
.dos-col .foto-v2 { margin: 0; flex: 1 1 280px; min-width: 0; }
.dos-col .foto-v2__img:not(.foto-v2__img--datos) { aspect-ratio: 4 / 3; }
.cuerpo h2 + .dos-col { margin-top: 20px; }
.galeria { margin: 40px 0 0; }
.galeria__fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.galeria__item { display: flex; flex-direction: column; gap: 8px; }
.galeria__item .foto-v2__img:not(.foto-v2__img--datos) { aspect-ratio: 4 / 3; }
.galeria__item span { font-family: var(--body); font-size: 14px; line-height: 1.5; color: var(--pm-fg-3); letter-spacing: -0.02em; }
.temas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--body); letter-spacing: -0.02em; }
.temas > span { font-size: 14px; font-weight: 700; color: var(--pm-fg-1); margin-right: 4px; }
.temas a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 1000px; background: var(--pm-bg-tint); color: var(--pm-navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.temas a:hover { background: var(--pm-blue-wash); color: var(--pm-navy); }
@media (max-width: 700px) { .a-hero__foto { max-width: 100%; } }

/* ---------- Página para entrar con la clave del equipo (versión en Cloudflare) ---------- */
.entrar { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--pm-blue-wash, #e5f6ff); }
.entrar__caja { width: 100%; max-width: 420px; background: #ffffff; border: 1px solid var(--pm-blue-soft, #ccedff); border-radius: 24px; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 40px rgba(8, 46, 66, 0.08); }
.entrar__caja .logo { margin-bottom: 8px; }
.entrar__caja h1 { margin: 0; font-size: 26px; color: #082e42; letter-spacing: -0.02em; }
.entrar__caja p { margin: 0; color: #333333; }
.entrar__caja input[type="password"] { font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid #ced5d9; border-radius: 999px; outline: none; }
.entrar__caja input[type="password"]:focus { border-color: #00a3ff; box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.2); }
.entrar__caja .btn-navy { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.entrar__error { color: #b42318 !important; font-weight: 600; }
