/* Cuba Despierta: componentes del sitio (los utilitarios viven en tailwind.css) */
:root {
  /* Paleta de marca */
  --brand: #dc3423;        /* rojo: fondos con texto blanco (contraste 4,6:1) */
  --brand-dark: #c92b1c;   /* rojo para texto sobre fondo claro (5,5:1) */
  --brand-light: #ff5a47;  /* rojo para texto sobre fondo oscuro */
  --brand-tint: #ffd9d4;   /* resaltado suave */
  --gold: #f3d488;         /* acento sobre negro */
  /* Neutros */
  --ink: #111111;
  --ink-900: #161616;
  --ink-950: #0e0e0e;
  --page: #f8fafb;
  --line: #e8e8e8;
  --line-strong: #d4d4d4;
  --soft: #f1f1f1;
  --thumb: #d8d8d8;
  --muted: #525252;        /* texto secundario (7,8:1 sobre blanco) */
  --text-soft: #737373;    /* texto terciario (4,7:1 sobre blanco) */
}
html { scroll-behavior: smooth; }
body { font-feature-settings: "kern"; }
img { max-width: 100%; }
.bw { filter: grayscale(1); }

/* Accesibilidad */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--brand-dark); color: #fff; font-weight: 700; font-size: 14px; transition: top .15s ease; }
.skip-link:focus { top: 8px; outline: 2px solid #fff; outline-offset: 2px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--brand); color: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-weight: 800; letter-spacing: .04em; font-size: 15px; }
.logo-text span:last-child { color: var(--brand-dark); font-size: 10.5px; letter-spacing: .28em; margin-top: 3px; }
.logo-light { color: #fff; }
.logo-light .logo-text span:last-child { color: var(--brand-light); }

/* Navegación */
.nav-link { position: relative; padding: .35rem .8rem; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
.nav-link:hover { color: var(--brand-dark); }
.nav-link.is-active { color: var(--brand-dark); }
.nav-link.is-active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -6px; height: 2px; background: var(--brand); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border: 0; color: var(--ink); cursor: pointer; }
.icon-btn:hover { color: var(--brand-dark); }

/* Botones (esquinas rectas, mayúsculas, como la referencia) */
.btn-red, .btn-black, .btn-white, .btn-outline, .btn-outline-dark { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-red { background: var(--brand); color: #fff; }
.btn-red:hover { background: var(--brand-dark); }
.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { background: #2a2a2a; }
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-white:hover { background: var(--soft); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* Titulares de sección */
.kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); }
.on-dark .kicker, .kicker-light { color: var(--brand-light); }
.h-section { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: -.005em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.link-arrow:hover { color: var(--brand-dark); }

/* Hero */
.hero { background: var(--ink-900); color: #fff; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); font-weight: 800; line-height: 1.04; text-transform: uppercase; letter-spacing: -.01em; }
.hero-photo { position: relative; min-height: 260px; background: #2a2a2a; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: contrast(1.08) brightness(.95); }
/* Degradado negro que funde la foto con el fondo del hero (a la izquierda; abajo en móvil) */
.hero-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #161616 0%, rgba(22,22,22,.55) 35%, rgba(22,22,22,0) 70%); }
@media (min-width: 768px) {
  .hero-photo::after { background: linear-gradient(to right, #161616 0%, rgba(22,22,22,.92) 12%, rgba(22,22,22,.55) 32%, rgba(22,22,22,0) 68%); }
}
.hero-strip { background: var(--brand); color: #fff; }
.hero-strip > * + * { border-left: 1px solid rgba(255,255,255,.28); }
@media (max-width: 767px) { .hero-strip > * + * { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); } }

/* Tarjetas de categoría (barra negra inferior) */
.cat-card { display: flex; flex-direction: column; min-height: 360px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.cat-card .cat-body { padding: 2.25rem 2rem 1.75rem; }
.cat-card .cat-icon { display: block; margin-bottom: 1.6rem; color: var(--ink); transition: color .25s ease; }
.cat-card .cat-title { font-size: 1.125rem; font-weight: 800; line-height: 1.3; }
.cat-card .cat-desc { margin-top: .75rem; font-size: .875rem; line-height: 1.75; color: var(--text-soft); }
.cat-card .cat-bar { margin-top: auto; display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 1.05rem 1.6rem; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background-color .25s ease; }
.cat-card:hover, .cat-card:focus-visible { transform: translateY(-10px); box-shadow: 0 22px 44px -14px rgba(0,0,0,.22); border-color: var(--line-strong); }
.cat-card:hover .cat-icon, .cat-card:focus-visible .cat-icon { color: var(--brand); }
.cat-card:hover .cat-bar, .cat-card:focus-visible .cat-bar { background: var(--brand); }
@media (prefers-reduced-motion: reduce) { .cat-card:hover, .cat-card:focus-visible { transform: none; } }

/* Carrusel */
.carousel { scroll-padding-inline: 6px; display: flex; gap: 1.5rem; overflow-x: auto; padding: 16px 6px 40px !important; margin: -16px -6px -40px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 640px) { .carousel > * { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1024px) { .carousel > * { flex-basis: calc((100% - 4.5rem) / 4); } }
.arrow-btn { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.arrow-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Tarjetas de artículo */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; height: 100%; }
.post-card:hover h3, .post-card:hover h2 { color: var(--brand-dark); }
.post-thumb { position: relative; overflow: hidden; background: var(--thumb); aspect-ratio: 16 / 10; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.03); }
.post-meta { font-size: 11.5px; font-weight: 600; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }
.pill { display: inline-block; background: var(--brand); color: #fff; padding: .25rem .6rem; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Filtros por categoría */
.chip { display: inline-flex; align-items: center; padding: .5rem .9rem; border: 1px solid var(--line-strong); background: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Efeméride */
.split-dark { background: #111; color: #fff; }
.date-badge { display: inline-block; background: var(--brand); color: #fff; padding: .3rem .7rem; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Cifras */
.stats { background: var(--brand); color: #fff; }
.stat-num { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1; }
.stat-label { margin-top: .4rem; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Franja llamativa */
.cta-band { background: var(--brand); color: #fff; }

/* Épocas */
.epoca { display: block; background: #fff; border: 1px solid var(--line); padding: 1.25rem; text-decoration: none; color: inherit; height: 100%; }
.epoca:hover { border-color: var(--ink); }
.epoca-num { font-size: 1.4rem; font-weight: 800; color: var(--brand-dark); line-height: 1; }
.epoca-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.epoca-dark .epoca-num { color: var(--brand-light); }
.epoca-dark:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* Pie de página */
.foot-h { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.foot-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.foot-list li + li { margin-top: .55rem; }
.foot-list a { color: #a3a3a3; text-decoration: none; }
.foot-list a:hover { color: #fff; text-decoration: underline; }

/* Texto de artículo */
.prose-cd { font-size: 1.0625rem; line-height: 1.8; color: #262626; max-width: 46rem; }
.prose-cd > * + * { margin-top: 1.25rem; }
.prose-cd h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 3px solid var(--ink); color: var(--ink); scroll-margin-top: 90px; }
.prose-cd h3 { font-size: 1.2rem; font-weight: 700; margin-top: 2rem; color: var(--ink); }
.prose-cd a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose-cd ul, .prose-cd ol { padding-left: 1.4rem; }
.prose-cd ul { list-style: square; }
.prose-cd ol { list-style: decimal; }
.prose-cd li + li { margin-top: .4rem; }
.prose-cd blockquote { border-left: 4px solid var(--brand); background: #fff; padding: 1rem 1.25rem; font-size: 1.05rem; color: #262626; }
.prose-cd img { width: 100%; height: auto; }
.prose-cd table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose-cd th, .prose-cd td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose-cd th { background: var(--soft); }
.prose-cd hr { border: 0; border-top: 1px solid var(--line); }
.prose-cd strong { font-weight: 700; }

/* Migas de pan */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: 12.5px; color: #a3a3a3; }
.crumbs a { color: var(--line-strong); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs-light { color: var(--muted); }
.crumbs-light a { color: var(--muted); }
.crumbs-light a:hover { color: var(--ink); }

/* Formularios */
.field { width: 100%; border: 1px solid var(--line-strong); background: #fff; padding: .8rem 1rem; font: inherit; font-size: 15px; color: var(--ink); }
.field:focus { border-color: var(--ink); }
label.lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; }

/* Paginación */
.pager a, .pager span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); background: #fff; font-weight: 700; font-size: 13px; text-decoration: none; color: var(--ink); padding: 0 .7rem; }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Publicidad reservada */
.ad-slot { display: block; min-height: 250px; border: 1px dashed var(--line-strong); background: #fafafa; }

/* Aviso de contenido de ejemplo (solo en local) */
.example-flag { background: #fff3cd; color: #664d03; border: 1px solid #ffe69c; padding: .5rem .8rem; font-size: 13px; }

/* Buscador (modal) */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 10vh 1rem 1rem; background: rgba(14, 14, 14, .82); }
.modal-backdrop.active { display: flex; }
body.modal-open { overflow: hidden; }
.search-box { width: 100%; max-width: 640px; max-height: 78vh; display: flex; flex-direction: column; background: #fff; overflow: hidden; }
.search-form { display: flex; align-items: center; gap: .75rem; padding: .25rem 1rem; border-bottom: 1px solid var(--line); }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0 !important; background: transparent; font: inherit; font-size: 1.05rem; padding: 1rem 0; -webkit-appearance: none; appearance: none; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form:focus-within { box-shadow: inset 0 -3px 0 var(--brand); }
#search-results { list-style: none; margin: 0; padding: .5rem; overflow-y: auto; }
#search-results li a { display: block; padding: .7rem .85rem; text-decoration: none; color: inherit; }
#search-results li.is-active { background: var(--soft); }
#search-results li.is-active .s-title { color: var(--brand-dark); }
.s-sec { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.s-title { display: block; font-weight: 800; font-size: 1rem; line-height: 1.25; }
.s-snip { display: block; font-size: .85rem; line-height: 1.5; color: var(--muted); margin-top: .25rem; }
#search-results mark { background: var(--brand-tint); color: inherit; padding: 0 1px; }
.s-head, .s-empty { padding: .6rem .85rem; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.s-empty { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .9rem; line-height: 1.55; }

/* Modal de efeméride (ficha emergente al tocar una fecha) */
.efem-modal { position: relative; width: 100%; max-width: 640px; max-height: 78vh; overflow-y: auto; background: #fff; padding: 2.75rem 2rem 2rem; }
.efem-modal:focus { outline: none; }
.efem-modal [data-eclose] { position: absolute; top: .5rem; right: .5rem; }
.efem-modal-title { margin-top: .9rem; font-size: 1.4rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
.efem-modal-body { margin-top: 1rem; font-size: .95rem; line-height: 1.7; color: var(--muted); }
.efem-modal-body img { display: block; width: 100%; height: auto; margin-bottom: 1rem; }
.efem-modal-foot { margin-top: 1.5rem; }
@media (max-width: 480px) { .efem-modal { padding: 2.5rem 1.25rem 1.5rem; } }

/* Enlace de cabecera de sección con flecha roja y subrayado corto */
.link-cta { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.link-cta svg { color: var(--brand); }
.link-cta::after { content: ''; position: absolute; left: 0; bottom: 0; width: 58px; height: 2px; background: var(--brand); transition: width .25s ease; }
.link-cta:hover::after { width: 100%; }

/* Página del blog */
.blog-hero { background: #111; color: #fff; border-bottom: 3px solid var(--brand); }
.blog-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 800; line-height: 1.08; text-transform: uppercase; letter-spacing: -.01em; }
.kicker-chip { display: inline-block; background: #fff; color: var(--brand-dark); padding: .35rem .8rem; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pill-chip { display: inline-flex; align-items: center; padding: .55rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 9999px; background: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.pill-chip:hover { border-color: var(--ink); }
.pill-chip.is-active { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .25s ease, transform .25s ease; }
.blog-card:hover { box-shadow: 0 16px 32px -12px rgba(0,0,0,.2); transform: translateY(-4px); }
.blog-card-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--thumb); overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-tag { position: absolute; left: 0; top: 14px; background: var(--brand-dark); color: #fff; padding: .35rem .8rem; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.4rem 1.2rem; }
.blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: 12px; color: var(--muted); }
.blog-card-title { margin-top: .9rem; font-size: 1.1rem; font-weight: 800; line-height: 1.35; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a::after { content: ''; position: absolute; inset: 0; } /* toda la tarjeta es clicable */
.blog-card { position: relative; }
.blog-card:hover .blog-card-title a { color: var(--brand-dark); }
.blog-card-desc { margin-top: .75rem; font-size: .875rem; line-height: 1.7; color: var(--text-soft); }
.blog-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 11.5px; }
.blog-card-desc + .blog-card-foot, .blog-card-title + .blog-card-foot { margin-top: 1.1rem; }
.blog-card-author { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); }
.blog-card-author svg { color: var(--brand-dark); }
.blog-card-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.blog-card-more svg { color: var(--brand-dark); }

.blog-cta { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; justify-content: space-between; background: #161616; color: #fff; padding: 2rem 2.25rem; border-left: 4px solid var(--brand); border-radius: 4px; }
@media (min-width: 768px) { .blog-cta { flex-direction: row; align-items: center; } }
@media (prefers-reduced-motion: reduce) { .blog-card:hover { transform: none; } }

/* Blog en la portada: tarjeta grande + tarjetas horizontales */
.blog-card.is-feature .blog-card-thumb { aspect-ratio: 2.1 / 1; }
.blog-card.is-feature .blog-card-tag { left: 18px; top: 18px; border-radius: 2px; }
.blog-card.is-feature .blog-card-body { padding: 1.9rem 2rem 1.6rem; }
.blog-card.is-feature .blog-card-title { font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); line-height: 1.3; margin-top: 1rem; }
.blog-card.is-feature .blog-card-desc { font-size: .95rem; }
.blog-card.is-feature .blog-card-foot { margin-top: 1.4rem; padding-top: 1.3rem; }
.blog-row { display: flex; gap: 1.4rem; align-items: center; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.06); position: relative; transition: box-shadow .25s ease, transform .25s ease; }
.blog-row:hover { box-shadow: 0 14px 28px -12px rgba(0,0,0,.2); transform: translateY(-3px); }
.blog-row-thumb { flex: none; width: 140px; height: 110px; border-radius: 3px; overflow: hidden; background: var(--thumb); }
.blog-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-row-kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-dark); }
.blog-row-title { margin-top: .45rem; font-size: 1.02rem; font-weight: 800; line-height: 1.35; }
.blog-row-title a { color: inherit; text-decoration: none; }
.blog-row-title a::after { content: ''; position: absolute; inset: 0; }
.blog-row:hover .blog-row-title a { color: var(--brand-dark); }
.blog-row .blog-card-meta { margin-top: .6rem; }
@media (max-width: 480px) { .blog-row { flex-direction: column; align-items: stretch; } .blog-row-thumb { width: 100%; height: 160px; } }
@media (prefers-reduced-motion: reduce) { .blog-row:hover { transform: none; } }

/* Página de artículo */
.art-hero { background: #111; color: #fff; border-bottom: 3px solid var(--brand); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: 13.5px; font-weight: 600; color: var(--line-strong); }
.art-tag { display: inline-block; background: var(--brand); color: #fff; padding: .4rem .85rem; border-radius: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.art-title { max-width: 62rem; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; }
.art-card { background: #fff; border-radius: 4px; box-shadow: 0 8px 30px -10px rgba(0,0,0,.25); overflow: hidden; }
.art-cover { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.art-caption { padding: .85rem 2rem 0; font-size: 13.5px; font-style: italic; line-height: 1.6; color: var(--muted); }
.art-body { padding: 2rem 1.25rem 2.25rem; }
@media (min-width: 640px) { .art-body { padding: 2.25rem 2.75rem 2.75rem; } }
.art-body .prose-cd { max-width: none; }
.callout { margin: 0 0 2rem; padding: 1.4rem 1.6rem; background: #fff4f2; border-left: 4px solid var(--brand); border-radius: 2px; }
.callout-title { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; font-weight: 800; }
.callout-title svg { color: var(--brand-dark); }
.callout ul { margin: .9rem 0 0; padding-left: 1.2rem; list-style: disc; font-size: .98rem; line-height: 1.75; color: #262626; }
.callout li + li { margin-top: .6rem; }
.callout li::marker { color: var(--brand-dark); }
.art-sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 3px solid var(--ink); }
.art-sources h2 { font-size: 1.25rem; font-weight: 800; }
.art-sources ul { margin-top: .8rem; padding-left: 1.2rem; list-style: square; font-size: .92rem; line-height: 1.7; color: #262626; }

.side-cta { background: #161616; color: #fff; padding: 1.9rem 1.75rem; border-top: 3px solid var(--brand); border-radius: 4px; box-shadow: 0 8px 30px -10px rgba(0,0,0,.35); }
.side-card { display: block; background: #fff; padding: 1.75rem; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.06); color: inherit; transition: box-shadow .2s ease; }
.side-title { margin-bottom: 1.1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 800; }
.side-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.side-list li + li { margin-top: .15rem; }
.side-list a { display: flex; align-items: flex-start; gap: .6rem; padding: .5rem 0; color: #262626; text-decoration: none; line-height: 1.4; }
.side-list a:hover { color: var(--brand-dark); }
.side-list svg { flex: none; margin-top: 2px; color: var(--brand-dark); }
.side-list-pin a { font-weight: 500; }
@media (min-width: 1024px) { .side-sticky { position: sticky; top: 92px; } }

/* ===== Portadas de sección (Historia, Cultura, Descubre Cuba) ===== */
.sec-hero { background: #161616; color: #fff; }
.sec-hero-in { max-width: 1240px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.sec-hero-text { padding: 3rem 0 3.25rem; align-self: center; }
.sec-hero h1 { font-size: clamp(2.4rem, 1.4rem + 3vw, 3.9rem); font-weight: 800; line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; margin-top: .9rem; }
.sec-hero p.lead { margin-top: 1.1rem; max-width: 30rem; color: #d4d4d4; font-size: 1.05rem; line-height: 1.6; }
.sec-stats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.7rem; }
.sec-stats li { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(255,255,255,.25); padding: .5rem .85rem; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.sec-stats li b { color: var(--gold); font-size: 15px; letter-spacing: 0; }
.sec-hero .hero-photo { min-height: 340px; margin: 0; }
.sec-hero-band { height: 3px; background: var(--brand); }

.blk { max-width: 1240px; margin: 0 auto; padding: 3.5rem 2rem 0; }
.blk-last { padding-bottom: 4.5rem; }
.blk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }

/* Línea de tiempo (Historia) */
.tl { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.tl::before { content: ''; position: absolute; left: 0; right: 0; top: 2.5rem; height: 2px; background: var(--line-strong); }
.tl-item { position: relative; }
.tl-item > a { display: block; padding: 3.5rem 1.1rem 0 0; text-decoration: none; color: inherit; }
.tl-dot { position: absolute; top: 2rem; z-index: 1; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); }
.tl-item.on .tl-dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px rgba(220,52,35,.16); }
.tl-year { position: absolute; top: 0; left: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tl-item.on .tl-year { color: var(--brand-dark); }
.tl-title { display: block; font-size: 1.02rem; font-weight: 800; line-height: 1.25; }
.tl-item > a:hover .tl-title { color: var(--brand-dark); }
.tl-count { margin-top: .5rem; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tl-item.on .tl-count { color: var(--brand-dark); }
.tl-item:not(.on) .tl-count { color: #666; }
.tl-desc { display: block; margin-top: .5rem; font-size: 13px; line-height: 1.55; color: var(--text-soft); }
.tl-item.special .tl-dot { border-radius: 2px; background: var(--ink); border-color: var(--ink); }
.tl-item.special .tl-year { color: var(--ink); }

/* Mosaico de fotos (Cultura) */
.mosaic { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 1rem; }
.tile { position: relative; display: block; height: 100%; overflow: hidden; background: #2a2a2a; color: #fff; text-decoration: none; }
.mosaic > li { min-height: 0; }
.mosaic > li.big { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); transform: scale(1.12); transition: transform .5s ease; }
.tile:hover img { transform: scale(1.2); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,14,.92) 0%, rgba(14,14,14,.35) 55%, rgba(14,14,14,.1) 100%); }
.tile-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.5rem; }
.tile-body svg { color: var(--brand-light); }
.tile-title { margin-top: .5rem; font-size: 1.35rem; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.tile.big .tile-title { font-size: 1.9rem; }
.tile-meta { display: flex; align-items: center; justify-content: space-between; margin-top: .55rem; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tile-badge { display: inline-block; padding: .25rem .55rem; background: var(--brand); color: #fff; }
.tile-badge.soon { background: rgba(255,255,255,.14); color: #e5e5e5; border: 1px solid rgba(255,255,255,.3); }
.tile::before { content: ''; position: absolute; z-index: 3; left: 0; bottom: 0; height: 4px; width: 0; background: var(--brand); transition: width .35s ease; }
.tile:hover::before { width: 100%; }

/* Categorías (Descubre Cuba) */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cgrid > li { display: flex; }
.cgrid > li > .cc { flex: 1; }
.cc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.cc:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -14px rgba(0,0,0,.22); }
.cc-body { padding: 1.5rem 1.4rem 1.2rem; }
.cc-ico { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; background: var(--soft); color: var(--ink); margin-bottom: 1rem; transition: background .25s, color .25s; }
.cc:hover .cc-ico { background: var(--brand); color: #fff; }
.cc.soon .cc-ico { color: #9a9a9a; }
.cc-title { font-size: 1.02rem; font-weight: 800; line-height: 1.25; }
.cc-desc { margin-top: .45rem; font-size: 13px; line-height: 1.6; color: var(--text-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-bar { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.4rem; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cc.soon .cc-bar { background: var(--soft); color: #666; }
.cc:hover .cc-bar { background: var(--brand); color: #fff; }
.cc-cta-wrap { grid-column: span 3; display: flex; }
.cc-cta { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: #161616; color: #fff; padding: 1.6rem 2rem; border-left: 4px solid var(--brand); }
.cc-cta h3 { font-size: 1.25rem; font-weight: 800; }
.cc-cta p { margin-top: .35rem; font-size: 14px; color: #a3a3a3; }

/* Banner de la serie especial (Historia) */
.serie-banner { display: grid; grid-template-columns: 1.2fr 1fr; background: #111; color: #fff; text-decoration: none; }
.serie-img { position: relative; display: block; min-height: 230px; }
.serie-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.serie-txt { display: block; padding: 2.2rem; }
.serie-title { display: block; margin-top: .6rem; font-size: 1.9rem; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.serie-desc { display: block; margin-top: .8rem; color: var(--line-strong); line-height: 1.6; }
.serie-txt .link-arrow { margin-top: 1.3rem; }
.serie-banner:hover .serie-title { color: var(--brand-light); }

/* Secciones: adaptación a pantallas pequeñas */
@media (max-width: 1023px) {
  .sec-hero-in { grid-template-columns: 1fr; padding: 0 1rem; gap: 0; }
  .sec-hero-in .hero-photo { order: -1; min-height: 220px; margin: 0 -1rem; }
  .sec-hero-text { padding: 2rem 0 2.5rem; }
  .blk { padding: 2.5rem 1rem 0; }
  .cgrid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cc-cta-wrap { grid-column: span 2; }
  .cc-cta { flex-direction: column; align-items: flex-start; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaic > li, .mosaic > li.big { grid-row: auto; height: 260px; }
  .mosaic > li.big { grid-column: span 2; height: 320px; }
  .serie-banner { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .tl-item > a { padding: 0 0 1.6rem 2.2rem; }
  .tl-dot { top: .2rem; }
  .tl-year { position: static; display: block; margin-bottom: .2rem; }
}
@media (max-width: 560px) {
  .cgrid { grid-template-columns: 1fr; }
  .cc-cta-wrap { grid-column: auto; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic > li.big { grid-column: auto; }
}

.sec-hero .hero-photo img { transform: scale(1.14); }

/* ===== Blog (barra de herramientas, destacado, rejilla) ===== */
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.blog-search { display: flex; align-items: center; gap: .6rem; width: 300px; max-width: 100%; padding: 0 .95rem; height: 42px; border: 1px solid var(--line-strong); border-radius: 9999px; background: #fff; color: var(--text-soft); }
.blog-search:focus-within { border-color: var(--ink); }
.blog-search input { flex: 1; min-width: 0; border: 0; outline: 0 !important; background: transparent; font: inherit; font-size: 14px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.blog-search input::-webkit-search-cancel-button { display: none; }
.feat-post { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 1.6rem; transition: box-shadow .25s ease; }
.feat-post:hover { box-shadow: 0 16px 32px -12px rgba(0,0,0,.2); }
.feat-img { position: relative; display: block; min-height: 340px; background: var(--thumb); }
.feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-img .blog-card-tag { left: 18px; top: 18px; border-radius: 2px; }
.feat-body { padding: 2.4rem 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.feat-body h2 { margin-top: 1rem; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 1.9rem); font-weight: 800; line-height: 1.15; }
.feat-body h2 a { color: inherit; text-decoration: none; }
.feat-body h2 a::after { content: ''; position: absolute; inset: 0; }
.feat-body p.d { margin-top: 1rem; color: var(--text-soft); line-height: 1.7; }
.feat-body .btn-black { align-self: flex-start; margin-top: 1.6rem; position: relative; z-index: 1; }
.blog-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 768px) { .blog-grid-2, .blog-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .blog-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.blog-grid .blog-card { height: 100%; }
.blog-grid-2 .blog-card-thumb { aspect-ratio: 2 / 1; }
/* pies de tarjeta siempre alineados abajo */
.blog-card-desc { margin-bottom: 1.1rem; }
.blog-card .blog-card-foot { margin-top: auto; }
.blog-card-desc + .blog-card-foot, .blog-card-title + .blog-card-foot { margin-top: auto; }
.blog-card.is-feature .blog-card-foot { margin-top: 1.4rem; }

/* ===== Contacto ===== */
.sec-hero.has-overlap .sec-hero-text { padding-bottom: 5.5rem; }
.c-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; margin-top: -4rem; position: relative; }
.c-card { background: #fff; border-radius: 4px; box-shadow: 0 8px 30px -10px rgba(0,0,0,.25); padding: 2.4rem 2.6rem 2.6rem; }
.c-card h2 { font-size: 1.5rem; font-weight: 800; }
.c-card .sub { margin-top: .4rem; color: var(--text-soft); font-size: .95rem; }
.req { color: var(--brand-dark); }
.opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-soft); }
.c-error { margin-top: 1.2rem; padding: .9rem 1.1rem; border-left: 4px solid var(--brand); background: #fff4f2; color: #7a1b10; font-size: 14px; font-weight: 600; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.8rem; }
.fld { position: relative; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld > label, .fld > legend { display: block; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .45rem; }
.fld .in { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line-strong); background: #fff; padding: 0 1rem; height: 50px; color: #6b6b6b; transition: border-color .15s; }
.fld .in:focus-within, .fld .ta:focus-within { border-color: var(--ink); }
.fld .in svg { flex: none; }
.fld .in input { flex: 1; min-width: 0; border: 0; outline: 0 !important; background: transparent; font: inherit; font-size: 15px; color: var(--ink); height: 100%; }
.fld .ta { border: 1px solid var(--line-strong); background: #fff; position: relative; }
.fld .ta textarea { display: block; width: 100%; min-height: 150px; border: 0; outline: 0 !important; background: transparent; font: inherit; font-size: 15px; color: var(--ink); padding: 1rem 1rem 2rem; resize: vertical; }
.fld .count { position: absolute; right: .9rem; bottom: .6rem; font-size: 12px; color: var(--text-soft); pointer-events: none; }
.fld ::placeholder { color: #8a8a8a; opacity: 1; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.choice-wrap { display: block; cursor: pointer; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; height: 100%; padding: .9rem 1rem; border: 1px solid var(--line-strong); background: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.25; text-transform: none; letter-spacing: 0; transition: border-color .15s, background .15s; }
.choice svg { color: #6b6b6b; }
.choice-wrap:hover .choice { border-color: var(--ink); }
.choice-wrap input:checked + .choice { border-color: var(--brand); background: #fff4f2; box-shadow: inset 0 0 0 1px var(--brand); }
.choice-wrap input:checked + .choice svg { color: var(--brand-dark); }
.choice-wrap input:focus-visible + .choice { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.chk { display: flex !important; align-items: flex-start; gap: .7rem; margin: 0 !important; font-size: 13.5px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--muted); line-height: 1.5; cursor: pointer; position: relative; }
.chk input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.chk .box { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid var(--line-strong); background: #fff; color: transparent; margin-top: 1px; }
.chk input:checked + .box { background: var(--brand); border-color: var(--brand); color: #fff; }
.chk input:focus-visible + .box { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.c-ok { text-align: center; padding: 2rem 1rem; }
.c-ok-ico { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; background: var(--brand); color: #fff; margin-bottom: 1.2rem; }
.c-side .side-cta { margin-bottom: 1.5rem; }
.ch-row { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.ch-row:first-child { border-top: 0; padding-top: .3rem; }
.ch-row svg { color: var(--brand-light); flex: none; margin-top: 2px; }
.ch-row b { display: block; font-size: 14px; }
.ch-row span { display: block; font-size: 13.5px; color: #a3a3a3; margin-top: .15rem; line-height: 1.5; }
.ch-row a { color: #e5e5e5; text-decoration: underline; text-underline-offset: 3px; }
.tips { list-style: none; margin: 0; padding: 0; }
.tips li { display: flex; gap: .8rem; padding: .85rem 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.tips li:first-child { border-top: 0; padding-top: 0; }
.tips svg { color: var(--brand-dark); flex: none; margin-top: 2px; }
.tips b { display: block; font-size: 14.5px; }
.tips span { color: var(--text-soft); }

@media (max-width: 1023px) {
  .feat-post { grid-template-columns: 1fr; }
  .feat-img { min-height: 220px; }
  .feat-body { padding: 1.6rem; }
  .c-grid { grid-template-columns: 1fr; margin-top: -2.5rem; }
  .c-card { padding: 1.6rem 1.25rem 1.8rem; }
  .f2 { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr 1fr; }
  .sec-hero.has-overlap .sec-hero-text { padding-bottom: 3.5rem; }
}

/* ===== Franja de suscripción ===== */
.sub-band { display: grid; grid-template-columns: 1fr; gap: 1.6rem; align-items: center; padding: 2rem 1.5rem; }
@media (min-width: 900px) { .sub-band { grid-template-columns: 1fr minmax(340px, 480px); gap: 2.5rem; padding: 2.4rem 2.6rem; } }
.sub-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.sub-field { flex: 1 1 220px; display: flex; align-items: center; gap: .6rem; background: #fff; color: #6b6b6b; padding: 0 1rem; height: 52px; }
.sub-field svg { flex: none; }
.sub-field input { flex: 1; min-width: 0; border: 0; outline: 0 !important; background: transparent; font: inherit; font-size: 15px; color: var(--ink); height: 100%; }
.sub-field input::placeholder { color: #6b6b6b; opacity: 1; }
.sub-field:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
.sub-form .btn-black { height: 52px; flex: none; }
.sub-form .btn-black:disabled { opacity: .6; cursor: wait; }
.sub-msg { min-height: 1.3rem; margin-top: .75rem; font-size: 14px; font-weight: 700; color: #fff; }
.sub-msg.is-ok::before { content: '✓ '; }
.sub-note { margin-top: .35rem; font-size: 12.5px; line-height: 1.55; color: #fff; }

/* ===== Diccionario cubano ===== */
.dic-hero-search { display: flex; align-items: center; gap: .6rem; width: 100%; max-width: 440px; padding: 0 .5rem 0 1.1rem; height: 50px; border: 1px solid rgba(255,255,255,.28); border-radius: 9999px; background: rgba(255,255,255,.08); color: #fff; margin-top: 1.9rem; }
.dic-hero-search:focus-within { border-color: #fff; background: rgba(255,255,255,.14); }
.dic-hero-search input { flex: 1; min-width: 0; border: 0; outline: 0 !important; background: transparent; font: inherit; font-size: 14.5px; color: #fff; }
.dic-hero-search input::placeholder { color: rgba(255,255,255,.65); }
.dic-hero-search input::-webkit-search-cancel-button { display: none; }
.dic-hero-search button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; background: var(--brand); color: #fff; border: 0; border-radius: 9999px; cursor: pointer; transition: background-color .15s; }
.dic-hero-search button:hover { background: var(--brand-dark); }

.dic-layout { display: grid; grid-template-columns: 220px minmax(0,1fr) 300px; gap: 2rem; align-items: start; }
@media (max-width: 1080px) { .dic-layout { grid-template-columns: 1fr; } }

.dic-az { position: sticky; top: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 1.3rem; }
@media (max-width: 1080px) { .dic-az { position: static; } }
.dic-az h2 { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding-bottom: .8rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.dic-az-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.dic-az-grid a, .dic-az-grid span { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; font-size: 12.5px; font-weight: 700; border-radius: 3px; text-decoration: none; }
.dic-az-grid a { background: var(--soft); color: var(--ink); transition: background-color .15s, color .15s; }
.dic-az-grid a:hover, .dic-az-grid a.is-active { background: var(--brand); color: #fff; }
.dic-az-grid span { color: #c9c9c9; background: transparent; }
.dic-az-reset { display: inline-flex; margin-top: 1rem; }

.dic-count { margin-bottom: 1.4rem; font-size: 13px; color: var(--muted); font-weight: 600; }
.dic-count b { color: var(--ink); }

.dic-word { display: block; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 1.6rem 1.8rem; text-decoration: none; color: inherit; position: relative; transition: box-shadow .2s ease, border-color .2s ease; }
.dic-word + .dic-word { margin-top: 1rem; }
.dic-word:hover { box-shadow: 0 16px 32px -14px rgba(0,0,0,.2); border-color: var(--line-strong); }
.dic-word-head { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.dic-word-letter { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; flex: none; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.05rem; border-radius: 3px; }
.dic-word-title { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.dic-word:hover .dic-word-title { color: var(--brand-dark); }
.dic-word-desc { margin-top: .7rem; font-size: 14.5px; line-height: 1.75; color: var(--text-soft); max-width: 46rem; }
.dic-word-tags { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.dic-word-tags span { display: inline-flex; padding: .3rem .7rem; background: var(--soft); border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #525252; }
.dic-word-more { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }

.dic-empty { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 2.5rem; text-align: center; }
@media (max-width: 480px) { .dic-word { padding: 1.3rem 1.4rem; } }
.sub-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ===== Banner flotante de consentimiento de cookies ===== */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  max-width: 450px;
  background: var(--ink-900);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 1.35rem 1.5rem;
  z-index: 50;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 1.5rem 1.7rem;
  }
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner.is-closing {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}
.cookie-banner-inner { display: flex; flex-direction: column; gap: .85rem; }
.cookie-banner-head { display: flex; align-items: center; gap: .75rem; }
.cookie-banner-text { font-size: 13px; line-height: 1.65; color: #d1d5db; margin: 0; }
.cookie-banner-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; transition: color .15s; }
.cookie-banner-text a:hover { color: var(--brand-light); }
.cookie-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .35rem; }
.cookie-banner-actions .btn-red,
.cookie-banner-actions .btn-outline {
  padding: .65rem 1.15rem;
  font-size: 11.5px;
  letter-spacing: .08em;
}

