/* ============================================================
   andresromero.ar — estilos 2026
   Tipografía: Ubuntu Sans / Ubuntu Sans Mono
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:        #0e0f11;
  --surface:   #15161a;
  --surface-2: #1c1d21;
  --line:      #222328;
  --line-2:    #2c2d33;
  --line-3:    #3a3b41;

  --text:      #c9cacd;
  --text-2:    #a9aaaf;
  --muted:     #8a8b91;
  --bright:    #f2f2f2;

  --accent:      #ff0068;
  --accent-soft: #4a1a2c;

  --font:      'Ubuntu Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:      'Ubuntu Sans Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter:    clamp(20px, 4vw, 32px);
  --section:   clamp(80px, 11vw, 128px);
  --header-h:  72px;
  --ease:      cubic-bezier(.2, .7, .2, 1);
}

/* ── RESET / BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--bright); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
strong { color: var(--bright); font-weight: 500; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--bright); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--bg); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.band { border-top: 1px solid var(--line); }
.band--surface { background: var(--surface); border-top-color: var(--line-2); }

/* ── TIPOGRAFÍA ─────────────────────────────────────────── */
.h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; color: var(--bright); text-wrap: balance; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: var(--bright); text-wrap: balance; }
.h2--sm { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; }
.h2--lg { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.h3 { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: var(--bright); }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: #b5b6ba; max-width: 620px; }
.lead--sm { font-size: 17px; max-width: 560px; }
.muted { color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.kicker--muted { font-size: 14px; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.mono-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.mono-label { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ── BOTONES ────────────────────────────────────────────── */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--font); border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-primary { background: var(--bright); color: var(--bg); font-weight: 600; }
.btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-outline { border-color: var(--line-3); color: var(--bright); }
.btn-outline:hover { border-color: var(--bright); color: var(--bright); }
.btn-accent { background: var(--accent); color: var(--bg); font-weight: 600; }
.btn-accent:hover { background: var(--bright); color: var(--bg); }

/* ── HEADER / NAV ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 15, 17, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--bright); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.nav-brand:hover { color: var(--bright); }
.nav-brand-mark { width: 28px; height: 28px; fill: var(--accent); transition: transform .4s var(--ease); }
.nav-brand:hover .nav-brand-mark { transform: rotate(-12deg); }
.nav-menu { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-menu > a:not(.btn) { color: var(--text); position: relative; }
.nav-menu > a:not(.btn):hover, .nav-menu > a[aria-current="page"] { color: var(--bright); }
.nav-menu > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-lang { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.nav-lang a { color: var(--muted); padding: 10px 2px; }
.nav-lang a:hover { color: var(--bright); }
.nav-lang .is-current { color: var(--bright); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-3); border-radius: 50%; background: transparent; color: var(--bright); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .nav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-menu > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-menu > a[aria-current="page"]::after { display: none; }
  .nav-lang { padding: 14px 0; font-size: 15px; }
  .nav-menu .btn { margin-top: 12px; }
}

/* ── HERO ───────────────────────────────────────────────── */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 8vw, 96px); }
.hero-text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-text .btn-row { padding-top: 8px; }
.hero-photo { flex: 1 1 300px; display: flex; justify-content: center; }
.portrait { position: relative; width: min(340px, 72vw); aspect-ratio: 1; }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.portrait-ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--line-2); }
.portrait-dot { position: absolute; right: 6%; top: 6%; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); z-index: 1; box-shadow: 0 0 0 6px var(--bg); }

/* ── DATOS ──────────────────────────────────────────────── */
.stats { border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 32px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; color: var(--bright); }
.stat-txt { font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 24px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ── SECCIONES ──────────────────────────────────────────── */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head-text { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.section-head-aside { max-width: 420px; }

/* Qué hago */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--bg); padding: 40px 36px 44px; display: flex; flex-direction: column; gap: 18px; }
.pillar p { color: var(--text-2); }
.pillar .mono-meta { margin-top: auto; padding-top: 12px; }
.icon-accent { width: 32px; height: 32px; color: var(--accent); stroke-width: 1.6 !important; }

/* Pantalla.ar */
.pantalla { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px) clamp(24px, 4.5vw, 56px); display: flex; flex-wrap: wrap; gap: 64px; }
.pantalla-main { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pantalla-main .btn-row { padding-top: 8px; }
.pantalla-logo { height: 40px; width: auto; align-self: flex-start; }
.pantalla-side { flex: 1 1 320px; }
.service-list { margin-top: 8px; }
.service-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.service-list li span:first-child { color: var(--bright); font-weight: 500; }
.service-list li span:last-child { color: var(--muted); font-size: 15px; text-align: right; }

/* Trabajos */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-3); background: transparent; color: var(--text); font: 500 14px var(--font); cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--bright); color: var(--bright); }
.chip[aria-pressed="true"] { background: var(--bright); border-color: var(--bright); color: var(--bg); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.work-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.work-card:hover { color: var(--text); border-color: var(--line-3); transform: translateY(-4px); }
.work-card[hidden] { display: none; }
.work-media { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.03); }
.work-media-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.work-media-empty svg { width: 44px; height: 44px; stroke-width: 1.4; }
.work-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-title { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--bright); }
.work-desc { font-size: 16px; color: var(--text-2); }
.work-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--bright); font-weight: 500; font-size: 15px; }
.work-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.work-card:hover .work-link svg { transform: translateX(3px); }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tag--accent { color: var(--accent); }

.work-card--featured { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
.work-card--featured .work-media { flex: 3 1 480px; min-width: 0; aspect-ratio: 16 / 9; }
.work-card--featured .work-body { flex: 2 1 320px; padding: clamp(28px, 4vw, 40px); justify-content: center; gap: 14px; }
.work-card--featured .work-title { font-size: 30px; letter-spacing: -0.02em; }
.work-card--featured .work-link { margin-top: 0; }
.work-card--featured .tag--accent { border: 1px solid var(--accent-soft); padding: 4px 10px; border-radius: 999px; }

/* Trayectoria / contacto (dos columnas) */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split-side { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.split-side .btn-row { padding-top: 8px; }
.split-main { flex: 999 1 520px; min-width: 0; }

.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.timeline li:last-child { border-bottom: 1px solid var(--line-2); }
.timeline-when { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 3px; }
.timeline h3 { font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--bright); margin-bottom: 4px; }
.timeline p { font-size: 16px; color: var(--text-2); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

.contact-mail { align-self: flex-start; font-size: clamp(19px, 2vw, 22px); font-weight: 500; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.social { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-top: 12px; font-size: 15px; }
.social a { color: var(--text); display: inline-block; padding: 10px 0; }
.social a:hover { color: var(--accent); }

/* ── FORMULARIOS ────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 1px solid #33343a; background: var(--bg);
  color: var(--bright); font: 400 16px var(--font);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { padding: 14px 16px; resize: vertical; min-height: 140px; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8b91' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 0, 104, .18); }
.form .btn { align-self: flex-start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert svg { width: 20px; height: 20px; flex: none; }
.alert--ok { background: rgba(46, 204, 113, .08); border: 1px solid rgba(46, 204, 113, .35); color: #b7f0cf; }
.alert--error { background: rgba(255, 0, 104, .08); border: 1px solid var(--accent-soft); color: #ffc2d8; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--bright); }
#aw-footer { font-size: 13px; }

.btn-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line-3); color: var(--bright);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.btn-top svg { width: 18px; height: 18px; }
.btn-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.btn-top:hover { color: var(--bg); background: var(--accent); border-color: var(--accent); }

/* ── ANIMACIÓN DE ENTRADA (solo si hay JS) ──────────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   PÁGINAS INTERIORES (CV y legales)
   ============================================================ */
.page-hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.page-hero-text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-hero-text .btn-row { padding-top: 8px; }

/* CV */
.cv-card { flex: 1 1 300px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.cv-card-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.cv-card a, .cv-card span { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--text); font-size: 15px; word-break: break-word; }
.cv-card a:hover { color: var(--accent); }
.cv-card i { width: 18px; text-align: center; color: var(--muted); }

.cv-block { padding-block: 56px; border-top: 1px solid var(--line); }
.cv-block-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.cv-block-head .kicker { flex: none; }
.cv-block-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; color: var(--bright); }
.cv-profile { font-size: 19px; line-height: 1.7; color: #b5b6ba; max-width: 820px; }

.cv-timeline article { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.cv-timeline article:last-child { border-bottom: 1px solid var(--line-2); }
.cv-period { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 3px; }
.cv-timeline h3, .cv-item h3 { font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--bright); }
.cv-sub { color: var(--accent); font-size: 15px; margin: 2px 0 8px; }
.cv-timeline p:not(.cv-sub), .cv-item p:not(.cv-sub) { font-size: 16px; color: var(--text-2); }
@media (max-width: 640px) { .cv-timeline article { grid-template-columns: 1fr; gap: 6px; } }

.cv-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 0 64px; }
.cv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.cv-item { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.cv-item > i { color: var(--accent); font-size: 20px; margin-bottom: 4px; }
.cv-list .cv-item + .cv-item { margin-top: 12px; }
.cv-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-tools span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-3); border-radius: 999px; font-size: 15px; color: var(--text); }
.cv-tools i { color: var(--muted); }

/* Legales */
.legal { max-width: 760px; padding-bottom: var(--section); }
.legal h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--bright); margin: 48px 0 12px; }
.legal h3 { font-size: 19px; font-weight: 600; color: var(--bright); margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { border-bottom: 1px solid var(--accent); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.legal th { color: var(--bright); font-weight: 500; background: var(--surface); }

/* Impresión del CV */
@media print {
  .site-header, .site-footer, .btn-top, .skip-link, .btn-row { display: none !important; }
  body { background: #fff; color: #222; font-size: 11pt; }
  .h1, .cv-block-head h2, .cv-timeline h3, .cv-item h3, strong { color: #000; }
  .cv-card, .cv-item { background: #fff; border-color: #ccc; }
  .cv-block { padding-block: 18px; break-inside: avoid-page; }
}
