/* Blog de Embarca. Cabecera, pie, tokens y tipografía (Archivo) de la portada, vía site-chrome.css.
   Generado junto con las páginas por tools/blog/build.py: no editar a mano las páginas. */
/* Los tokens de color y la tipografía son los de la portada (site-chrome.css): fondo claro, sin modo oscuro. */
:root {
  --paper: var(--bg); --surface: #FFFFFF; --band: var(--tabs-bg); --ink-3: #4F6B79;
  --accent: var(--link); --ok: #1B6F45; --sea: #115E8A; --sea-2: #7FB2CF; --land: #E7E2D6;
  --font: var(--body); color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }

.foot { margin-top: 72px; }
/* Índice */
.blog-hero { background: var(--band); }
.blog-hero .wrap { padding-top: 48px; padding-bottom: 44px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.blog-hero h1 { font-weight: 650; font-size: clamp(36px, 8vw, 56px); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.blog-hero p.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 36em; }
.group-title { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 52px 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.card { border-bottom: 1px solid var(--rule); }
.card a.card-link { display: block; padding: 22px 0; color: inherit; text-decoration: none; }
.card h2 { font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 6px; text-wrap: balance; }
.card a.card-link:hover h2 { color: var(--accent); }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 42em; }
.card .meta { font-size: 13px; color: var(--ink-3); margin-top: 8px; letter-spacing: .02em; }
@media (min-width: 900px) { .cards.two { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.card.feature h2 { font-size: 28px; }

/* Artículo */
.article { max-width: 1440px; margin: 0 auto; padding: 40px 16px 0; }
@media (min-width: 420px) { .article { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 720px) { .article { padding-top: 56px; } }
/* Columna de lectura estrecha y centrada (38rem con 19px, unos 70 caracteres por línea); tablas y figuras anchas salen de ella hasta el ancho del pie. */
.article.article.article > * { max-width: 38rem; margin-inline: auto; }
@media (min-width: 900px) { .article { font-size: 19px; } }
.article.article.article > .table-scroll { max-width: none; }
.article.article.article > .diagram { max-width: min(960px, 100%); }
.crumbs { font-size: 14px; color: var(--ink-3); margin: 0 0 22px; }
.crumbs a { color: var(--ink-2); }
.article h1 { font-weight: 650; font-size: clamp(32px, 7vw, 48px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.byline { font-size: 14px; color: var(--ink-3); margin: 0 0 28px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.article .standfirst { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 28px; }
.article h2 { font-weight: 650; font-size: clamp(24px, 5vw, 30px); line-height: 1.15; letter-spacing: -0.02em; margin: 2.4rem 0 .7rem; text-wrap: balance; }
.article h3 { font-weight: 600; font-size: 20px; line-height: 1.25; margin: 1.8rem 0 .4rem; }
.article p { margin: 0 0 1.1rem; }
.article ul, .article ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.article li { margin-bottom: .5rem; }
.article strong { font-weight: 700; }
.article blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 4px solid var(--accent); color: var(--ink-2); }
.article blockquote p { margin: 0 0 .6rem; }
.note, .warn { border-radius: 12px; padding: 14px 16px; font-size: 16px; line-height: 1.5; margin: 1.4rem 0; }
.note { background: var(--band); color: var(--ink); }
.warn { background: var(--warn-bg); color: var(--warn-ink); }
.note p:last-child, .warn p:last-child { margin-bottom: 0; }
.article .story { border-left: 4px solid var(--accent, #E8503A); background: var(--band); border-radius: 0 12px 12px 0; padding: 4px 20px 6px; margin: 1.8rem 0; }
.article .story h3 { margin-top: .9rem; }
.article .story .tag { font-size: 13px; color: var(--ink-3); margin-top: -.2rem; }
.article figure.promo { display: flex; flex-direction: column; align-items: center; margin: 1.8rem 0; }
.promo-frame { width: min(300px, 78vw); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #0B1A24; border: 1px solid var(--rule); }
.promo-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.promo-pick { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.promo-pick button { font: inherit; font-size: 14px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); cursor: pointer; }
.promo-pick button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.jose-todo { background: var(--warn-bg); color: var(--warn-ink); border: 1px dashed currentColor; border-radius: 8px; padding: 1px 8px; font-weight: 600; }
.article figure { margin: 1.8rem 0; }
.article figure.shot { display: flex; flex-direction: column; align-items: center; }
.article figure.shot img { width: min(260px, 70vw); border-radius: 18px; border: 1px solid var(--rule); }
.article figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; line-height: 1.45; }
figure.shot figcaption { text-align: center; max-width: 30em; }
.diagram { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 8px; }
.diagram svg { width: 100%; height: auto; display: block; }
.table-scroll { overflow-x: auto; margin: 1.4rem 0; -webkit-overflow-scrolling: touch; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; min-width: 40rem; }
.article th, .article td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; border-bottom: 2px solid var(--ink); }
.article tbody th { font-weight: 700; white-space: nowrap; }
.article td.em { color: var(--accent); font-weight: 700; }
.sources { font-size: 15px; color: var(--ink-2); }
.sources li { margin-bottom: .35rem; }
.cta-box { margin: 3rem 0 0; background: var(--band); border-radius: 16px; padding: 24px 22px; }
.cta-box h2 { margin-top: 0; font-size: 24px; }
.cta-box p { color: var(--ink-2); }
.cta-box .btn { display: inline-flex; background: var(--cta-bg); color: var(--cta-ink); font-weight: 700; text-decoration: none; padding: 14px 24px; }
.related { margin-top: 2.6rem; }
.related h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin: 0; border-bottom: 1px solid var(--rule); }
.related li a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.related li a:hover { color: var(--accent); }
.related li span { display: block; font-weight: 400; color: var(--ink-3); font-size: 14px; }

/* Diagramas SVG: colores de los tokens para que sigan el modo claro y oscuro */
.sv-water { fill: var(--sea-2); opacity: .55; }
.sv-sea { fill: var(--sea); opacity: .35; }
.sv-land { fill: var(--land); }
.sv-line { stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-thin { stroke: var(--ink-3); fill: none; stroke-width: 1.4; }
.sv-dash { stroke: var(--ink-2); fill: none; stroke-width: 1.8; stroke-dasharray: 7 5; }
.sv-acc { stroke: var(--accent); fill: none; stroke-width: 2.4; stroke-linecap: round; }
.sv-acc-fill { fill: var(--accent); }
.sv-ok { stroke: var(--ok); fill: none; stroke-width: 2.4; stroke-dasharray: 7 5; }
.sv-fill { fill: var(--ink); }
.sv-text { fill: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 600; }
.sv-sub { fill: var(--ink-2); font-family: var(--font); font-size: 13px; font-weight: 500; }
.sv-boat { fill: var(--surface); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
