/* Merus Iberia - article + listing styles (loaded after /assets/merus.css) */
    /* ===== Article page ===== */
    .article-page { padding: 0 0 var(--section-y); }
    .article-wrap { width: min(900px, calc(100% - 40px)); margin-inline: auto; }
    @media (max-width: 719px) { .article-wrap { width: calc(100% - 32px); } }
    .article-crumbs { padding: 28px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
    .article-crumbs a { color: var(--muted); }
    .article-crumbs a:hover { color: var(--accent); }
    .article-head { max-width: none; padding: 40px 0 36px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
    .article-head .eyebrow { margin-bottom: 16px; }
    .article-head h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 20px; text-wrap: balance; max-width: 900px; }
    .article-authors { font-size: 14px; color: var(--muted); line-height: 1.6; }
    .article-authors sup { font-size: 10px; }
    .article-lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--fg); letter-spacing: -0.01em; max-width: 900px; margin: 0 0 56px; text-wrap: pretty; }
    .article-section { display: grid; gap: 18px; margin-bottom: 64px; }
    .article-section > .prose { display: grid; gap: 16px; max-width: 900px; }
    .article-section h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
    .article-section p { font-size: 18px; line-height: 1.7; color: #2b2f36; margin: 0; }
    .article-section .kicker { margin-bottom: -6px; }
    .article-section .prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
    .article-section .prose li { font-size: 18px; line-height: 1.6; color: #2b2f36; padding-left: 4px; }
    .article-section .prose li::marker { color: var(--accent); }
    .article-section .prose li strong { color: var(--fg); }
    .article-cta p.kicker { font-size: 12px; }
    .table-scroll { max-width: 900px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
    .data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
    .data-table th, .data-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
    .data-table thead th { background: var(--surface); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
    .data-table thead th:last-child { color: var(--accent); background: var(--accent-wash); }
    .data-table tbody td:first-child { font-weight: 600; color: var(--fg); }
    .data-table tbody td:last-child { color: var(--fg); font-weight: 600; background: color-mix(in srgb, var(--accent-wash) 60%, var(--bg)); }
    .data-table tbody tr:last-child td { border-bottom: 0; }
    @media (max-width: 599px) {
      .data-table { min-width: 0; font-size: 13px; }
      .data-table th, .data-table td { padding: 10px 10px; }
      .data-table thead th { font-size: 10px; letter-spacing: 0.03em; }
      .data-table em { display: block; }
    }
    .data-table em { font-style: normal; color: var(--positive); font-weight: 600; }
    /* Desktop: the table uses the SAME 3-column grid (16px gap) as the photo row below,
       so Parámetro / Antes / Después sit exactly above photo 1 / 2 / 3. */
    @media (min-width: 760px) {
      .article-section .table-scroll { max-width: none; }
      .article-section .data-table, .article-section .data-table thead, .article-section .data-table tbody { display: block; min-width: 0; }
      .article-section .data-table tr { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 16px; border-bottom: 1px solid var(--border); }
      .article-section .data-table tbody tr:last-child { border-bottom: 0; }
      .article-section .data-table thead tr { background: var(--surface); }
      .article-section .data-table th, .article-section .data-table td { border-bottom: 0; }
      .article-section .fig-grid { grid-template-columns: repeat(3, 1fr); }
    }
    .fig-grid { display: grid; gap: 16px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    /* Case studies: 2-up grids, photos kept uncropped, date timelines, inline diagrams */
    .fig-grid.fig-natural figure img, .fig-natural img { aspect-ratio: auto; height: auto; object-fit: contain; }
    .timeline { display: grid; gap: 16px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .tl-col { display: grid; gap: 8px; }
    .tl-date { font-size: 15px; font-weight: 600; color: var(--fg); border-top: 3px solid var(--fg); padding-top: 8px; }
    .tl-note { font-size: 14px; font-style: italic; line-height: 1.45; color: var(--muted); }
    .tl-col img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--border); }
    .article-page figure.fig-svg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 18px 6px; }
    .fig-svg svg { width: 100%; height: auto; display: block; }
    @media (min-width: 760px) {
      .article-section .fig-grid.fig-grid-2 { grid-template-columns: repeat(2, 1fr); }
      .article-section .timeline { grid-template-columns: repeat(3, 1fr); }
    }
    .article-page figure { margin: 0; }
    .article-page figure img { border-radius: var(--radius-md); border: 1px solid var(--border); }
    .fig-grid figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
    .article-page figure.fig-wide { max-width: none; }
    .article-page figure.fig-wide img { width: 100%; height: auto; }
    .article-page figcaption { font-size: 13px; line-height: 1.45; color: var(--muted); padding: 8px 2px 0; }
    .fig-source { font-size: 13px; font-style: italic; color: var(--muted); margin-top: -4px; }
    .article-cta { max-width: 900px; margin: 8px 0 56px; padding: 32px 28px; border-radius: var(--radius-xl); background: var(--surface-dark); color: var(--on-dark); display: grid; gap: 14px; position: relative; overflow: hidden; }
    .article-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(0, 82, 255, 0.28), transparent 60%); pointer-events: none; }
    .article-cta > * { position: relative; }
    .article-cta .kicker { color: #8fb0ff; margin: 0; }
    .article-cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -0.03em; margin: 0; }
    .article-cta p { font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--on-dark) 72%, transparent); margin: 0; max-width: 60ch; }
    .article-cta .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
    @media (min-width: 768px) { .article-cta { padding: 40px 40px; } }
    .article-contacts { max-width: 900px; font-size: 14px; line-height: 1.7; color: var(--muted); display: grid; gap: 2px; padding-top: 24px; border-top: 1px solid var(--border); }
    .article-contacts .who { color: var(--fg); font-weight: 600; }
    .article-contacts .who + div + .who { margin-top: 10px; }
    .article-contacts a:hover { color: var(--accent); }

    /* Article index (listing) */
    .post-grid { display: grid; gap: 20px; }
    @media (min-width: 800px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
    .post-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
    .post-card:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); box-shadow: 0 12px 32px rgba(0, 82, 255, 0.08); transform: translateY(-2px); }
    .post-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; border-bottom: 1px solid var(--border); }
    .post-body { padding: 22px 24px 26px; display: grid; gap: 10px; }
    .post-body .kicker { margin: 0; }
    .post-body h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
    .post-body p { font-size: 15px; color: var(--muted); line-height: 1.55; }
    .post-body .prob-link { font-size: 13px; font-weight: 600; color: var(--accent); }

    .article-crumbs span[aria-current] { color: var(--fg); }
    .hub-head { margin-top: 28px; margin-bottom: 20px; }
    .hub-head h2 { margin-bottom: 8px; }
    .sector-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
    .sector-tabs button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); background: var(--bg); color: var(--fg); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
    .sector-tabs button:hover { border-color: var(--accent); }
    .sector-tabs button span { margin-left: 8px; font-weight: 500; color: var(--muted); }
    .sector-tabs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
    .sector-tabs button[aria-pressed="true"] span { color: rgba(255,255,255,.8); }
    .sector-tabs button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
    .post-card[hidden] { display: none; }
    .post-grid.hub { gap: 18px; }
    @media (min-width: 900px) { .post-grid.hub { grid-template-columns: repeat(3, 1fr); } }
    .post-grid.hub .post-card img { aspect-ratio: 16 / 10; }
    .post-grid.hub .post-body { padding: 16px 18px 20px; gap: 8px; }
    .post-grid.hub .post-body h2 { font-size: 18px; line-height: 1.25; }
    .post-grid.hub .post-body p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hub-list { display: grid; gap: 56px; }
    .hub-sector-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
    .hub-sector-head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
    .hub-sector-head h2 a:hover { color: var(--accent); }
    .hub-sector-head .meta { font-size: 13px; color: var(--muted); display: flex; gap: 16px; align-items: baseline; }
    .hub-sector-head .meta a { color: var(--accent); font-weight: 600; }
    .sector-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 40px; }
    .sector-chips a { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--accent-wash); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border)); }
    .sector-chips a:hover { background: var(--accent); color: #fff; }
