/*
Theme Name: WLinks
Theme URI: #
Author: WLinks
Author URI: #
Description: Tema oficial del acortador de enlaces WLinks. Portada editable desde el Personalizador (secciones, colores, tipografías, reseñas, tarifas y espacios publicitarios), modo claro y oscuro, panel del usuario integrado, acceso y registro con diseño propio, y un blog con portadas generadas, índice automático y datos estructurados para Google. Iconos SVG propios, sin jQuery en el front. Funciona junto con el plugin WLinks (enlaces, página de espera, estadísticas y pagos).
Version: 2.2.0
Tags: blog, one-column, custom-colors, custom-logo, featured-images, theme-options
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wlinks
*/

/* ==========================================================================
   Tokens: los colores, radios y sombras vienen de UN solo archivo del plugin
   (wlinks/assets/css/tokens.css). Aquí solo hay medidas de maquetación.
   ========================================================================== */
:root { --container: 1200px; --section-y: clamp(56px, 8vw, 96px); --btn-radius: var(--r-sm); }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--font-body);
    font-size: var(--font-size);
    line-height: 1.55;
    letter-spacing: -.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--c-accent-text); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--c-ink); line-height: 1.18; letter-spacing: -.025em; font-weight: 700; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 28%, transparent); border-radius: var(--r-sm); }
.tnum, .num { font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .container { padding: 0 16px; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-ink); color: var(--c-bg); padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.icon { flex: 0 0 auto; display: inline-block; vertical-align: middle; }

/* Etiqueta pequeña en mayúsculas (label-sm), encima de las cifras */
.label-sm { display: block; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--c-subtle); }

/* Chips tipo pastilla */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.chip--pos { background: color-mix(in srgb, var(--c-pos-soft) 55%, transparent); color: var(--c-pos-ink); }
.chip--accent { background: var(--c-accent-soft); color: var(--c-accent-text); }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (prefers-reduced-motion: no-preference) { .chip__dot--live { animation: chip-pulse 1.8s ease-in-out infinite; } @keyframes chip-pulse { 50% { opacity: .35; } } }

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 18px; border-radius: var(--btn-radius);
    border: 1px solid transparent; background: var(--c-accent); color: var(--c-accent-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), var(--shadow-1);
    font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: -.005em; text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--c-accent-hover); color: var(--c-accent-ink); text-decoration: none; }
.btn:active { transform: scale(.99); }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.btn--ghost { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-line); box-shadow: var(--shadow-1); }
.btn--ghost:hover { background: var(--c-soft); border-color: var(--c-line-strong); color: var(--c-ink); }
.btn--subtle { background: transparent; color: var(--c-muted); box-shadow: none; }
.btn--subtle:hover { background: var(--c-soft); color: var(--c-ink); }
.btn[disabled] { opacity: .65; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-muted); cursor: pointer; box-shadow: var(--shadow-1); }
.icon-btn:hover { background: var(--c-soft); color: var(--c-ink); }

/* ==========================================================================
   Cabecera (cristal) y navegación segmentada
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--glass); border-bottom: 1px solid color-mix(in srgb, var(--c-line) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 8px rgba(0, 0, 0, .04); }
.site-header--static { position: relative; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); text-decoration: none; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 28%; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--brand-accent, #4338ca) 80%, transparent); }
.brand__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.brand__trail, .brand__link, .brand__spark { transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), opacity .25s ease; transform-box: fill-box; transform-origin: center; }
.brand:hover .brand__trail { transform: translateX(-3px); opacity: 1; }
.brand:hover .brand__link { transform: scaleX(.86); }
.brand:hover .brand__spark { transform: scale(1.35); }
@media (prefers-reduced-motion: reduce) { .brand__trail, .brand__link, .brand__spark { transition: none; } }
.brand__dot { color: var(--c-accent-text); }
.brand__t2 { margin-left: 2px; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c-pos-soft) 70%, transparent); color: var(--c-pos-ink); font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.brand__t2:empty { display: none; }
.brand__img { max-height: 40px; width: auto; }
.site-header__inner > .brand { min-width: 0; overflow: hidden; }

.site-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; background: var(--c-soft); border-radius: var(--r-md); }
.site-nav__list a { display: block; padding: 7px 14px; border-radius: var(--r-sm); color: var(--c-muted); text-decoration: none; font-size: 13.5px; font-weight: 600; letter-spacing: .005em; transition: background-color .15s ease, color .15s ease; }
.site-nav__list a:hover { color: var(--c-ink); background: var(--c-soft-2); }
.site-nav__list .current-menu-item > a, .site-nav__list a[aria-current="page"] { background: var(--c-accent); color: var(--c-accent-ink); box-shadow: var(--shadow-1); }
.nav-link { display: block; padding: 7px 12px; border-radius: var(--r-sm); color: var(--c-muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-link:hover { color: var(--c-ink); background: var(--c-soft); }
.site-nav__actions { display: flex; align-items: center; gap: 8px; }
.site-header__tools { display: flex; align-items: center; gap: 6px; }

.when-dark, .when-open { display: none; }
html.dark-mode .when-dark { display: inline; }
html.dark-mode .when-light { display: none; }
.nav-toggle { display: none; }
.nav-open .nav-toggle .when-open { display: inline; }
.nav-open .nav-toggle .when-closed { display: none; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-grid; }
    .site-header__tools { margin-left: auto; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        display: none; flex-direction: column; align-items: stretch; gap: 12px;
        padding: 12px 16px 16px; background: var(--c-surface); border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-3);
    }
    .nav-open .site-nav { display: flex; }
    .site-nav__list { flex-direction: column; }
    .site-nav__list a { padding: 11px 12px; font-size: 15px; }
    .site-nav__actions { flex-wrap: wrap; }
    .site-nav__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
    .site-header__inner { gap: 8px; min-height: 64px; }
    .site-header .brand { font-size: 1.02rem; }
    .site-header .brand__mark { width: 30px; height: 30px; }
}
@media (max-width: 400px) { .site-header .brand__t2 { display: none; } }

/* ==========================================================================
   Portada · hero y barra del acortador
   ========================================================================== */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background:
    radial-gradient(900px 380px at 85% -10%, color-mix(in srgb, var(--c-accent-soft) 70%, transparent), transparent 70%); }
.hero__inner { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero--split .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.hero--centered .hero__inner { text-align: center; max-width: 860px; }
.hero--centered .hero__text, .hero--centered .shortener { margin-left: auto; margin-right: auto; }
.hero--centered .proof { justify-content: center; }
@media (max-width: 900px) { .hero--split .hero__inner { grid-template-columns: 1fr; } .hero__art { max-width: 480px; margin: 0 auto; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 4px 12px 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c-pos-soft) 50%, transparent); color: var(--c-pos-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-pos); }
.hero__title { font-size: clamp(2.2rem, 1.35rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -.038em; line-height: 1.04; margin-bottom: 22px; text-wrap: balance; }
.hero__title > span { display: block; }
/* Final del titular: su propia línea, en índigo, con un trazo a mano en verde azulado debajo */
.hero__title mark { position: relative; display: inline-block; margin-top: .06em; padding: 0 .04em .14em; background: none; color: var(--c-accent-text); white-space: nowrap; }
.hero__title mark::after {
    content: ""; position: absolute; left: -.02em; right: -.02em; bottom: -.02em; height: .24em;
    background: var(--c-pos);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 17C55 7 112 4 170 6c45 2 88 6 127 12' fill='none' stroke='black' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 17C55 7 112 4 170 6c45 2 88 6 127 12' fill='none' stroke='black' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
@media (max-width: 420px) { .hero__title mark { white-space: normal; } }
@media (prefers-reduced-motion: no-preference) {
    .hero__title mark::after { animation: mark-draw .9s .2s cubic-bezier(.65, 0, .35, 1) both; }
    @keyframes mark-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}
.hero__text { font-size: 1.125rem; line-height: 1.65; color: var(--c-muted); max-width: 34rem; margin-bottom: 30px; text-wrap: pretty; }
.hero--centered .hero__text { max-width: 40rem; }

.shortener { max-width: 660px; }
.shortener__field { display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-2); transition: border-color .15s ease, box-shadow .15s ease; }
.shortener__field:focus-within { border-color: var(--c-accent); box-shadow: var(--shadow-2), 0 0 0 3px color-mix(in srgb, var(--c-accent) 14%, transparent); }
.shortener__icon { display: grid; place-items: center; padding-left: 10px; color: var(--c-subtle); }
.shortener__field input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--c-ink); font: inherit; font-size: 16px; }
.shortener__field input::placeholder { color: var(--c-subtle); }
.shortener__btn { flex: 0 0 auto; min-height: 44px; }
@media (max-width: 560px) {
    .shortener__field { flex-wrap: wrap; padding: 8px; }
    .shortener__icon { display: none; }
    .shortener__field input { flex-basis: 100%; padding: 0 8px; }
    .shortener__btn { width: 100%; }
}
.shortener__captcha { margin-top: 12px; }
.shortener__error { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-sm); background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; font-size: 14px; }
html.dark-mode .shortener__error { background: #2a1216; color: #fda4af; border-color: #4c1d24; }
.shortener__note { margin: 12px 0 0; color: var(--c-subtle); font-size: 13.5px; }
.shortener__result { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-1); text-align: left; }
.shortener__ok { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c-pos-soft) 55%, transparent); color: var(--c-pos-ink); font-weight: 600; font-size: 12.5px; }
.shortener__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shortener__link { flex: 1 1 220px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--c-accent-text); text-decoration: none; }
.shortener__upsell { margin: 10px 0 0; font-size: 13.5px; color: var(--c-muted); }

/* Cifras como tarjetas KPI */
.proof { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 28px 0 0; }
.proof li { display: flex; flex-direction: column-reverse; gap: 4px; min-width: 140px; padding: 12px 16px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--c-subtle); }
.proof strong { color: var(--c-ink); font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; text-transform: none; font-feature-settings: "tnum" 1; }

/* Ilustración */
.hero-art { width: 100%; height: auto; display: block; }
.ha-surface { fill: var(--c-surface); stroke: var(--c-line); stroke-width: 1.5; }
.ha-dot { fill: var(--c-line-strong); }
.ha-muted { fill: var(--c-soft); }
.ha-mono { font-family: var(--font-mono); font-size: 12px; fill: var(--c-subtle); }
.ha-rope { fill: none; stroke: var(--c-cyan); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .8; }
.ha-accent-bg { fill: var(--c-surface); stroke: var(--c-accent); stroke-width: 1.5; }
.ha-accent { fill: var(--c-accent); }
.ha-link { fill: none; stroke: var(--c-accent-ink); stroke-width: 2.4; stroke-linecap: round; }
.ha-short { font-family: var(--font-heading); font-weight: 700; font-size: 24px; fill: var(--c-ink); letter-spacing: -.02em; }
.ha-btn { fill: var(--c-accent); }
.ha-btn-text { font-family: var(--font-body); font-size: 14px; font-weight: 600; fill: var(--c-accent-ink); }
.ha-spark { fill: none; stroke: var(--c-pos); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ha-chip-k { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; fill: var(--c-subtle); }
.ha-chip-v { font-family: var(--font-heading); font-size: 17px; font-weight: 700; fill: var(--c-ink); }
.ha-globe { fill: var(--c-accent-soft); }
.ha-globe-l { fill: none; stroke: var(--c-accent-text); stroke-width: 1.6; }
.ha-chip { filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .06)); }
@media (prefers-reduced-motion: no-preference) {
    .ha-rope { animation: ha-flow 6s linear infinite; }
    @keyframes ha-flow { to { stroke-dashoffset: -110; } }
}

/* ==========================================================================
   Secciones
   ========================================================================== */
.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--c-line); }
.section__head { max-width: 660px; margin-bottom: 32px; }
.section__head .label-sm, .api .label-sm, .faq .label-sm { margin-bottom: 10px; color: var(--c-accent-text); }
.section__title { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.25rem); font-weight: 700; letter-spacing: -.03em; }
.section__intro { color: var(--c-muted); font-size: 1.05rem; margin: 0; }

/* Pasos */
.steps__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .steps__list { grid-template-columns: 1fr; } }
.steps__item { position: relative; padding: 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: border-color .15s ease, box-shadow .15s ease; }
.steps__item:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-2); }
.steps__num { position: absolute; top: 20px; right: 20px; display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--c-soft); color: var(--c-subtle); font-size: 12px; font-weight: 700; font-feature-settings: "tnum" 1; }
.steps__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: var(--r-md); background: var(--c-accent-soft); color: var(--c-accent-text); }
.steps__item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps__item p { color: var(--c-muted); margin: 0; font-size: .96rem; }

/* Franja de confianza */
.trust { border-block: 1px solid var(--c-line); background: var(--c-surface); }
.trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; margin: 0; padding: 16px 0; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--c-muted); }
.trust__check { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--c-pos-soft) 60%, transparent); color: var(--c-pos-ink); }

/* Mosaico (bento) */
.bento-sec { background: var(--c-soft); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }
.bento__card { padding: 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; min-width: 0; }
.bento__card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-2); }
.bento__card h3 { font-size: 1.08rem; margin: 0 0 6px; }
.bento__card p { color: var(--c-muted); margin: 0; font-size: .95rem; }
.bento__card--live { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 620px) { .bento__card--live { grid-column: auto; grid-row: auto; } }

/* Panel en vivo */
.live__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.live__head h3 { font-size: 1.3rem; margin: 10px 0 0; }
.live__range { padding: 4px 10px; border-radius: var(--r-sm); background: var(--c-soft); color: var(--c-muted); font-size: 12px; font-weight: 600; }
.live__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.live__kpis > div { padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg); }
.live__kpis strong { display: block; margin-top: 6px; font-family: var(--font-heading); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.1; letter-spacing: -.03em; }
.live__kpis strong.is-pos { color: var(--c-pos-ink); }
.live__chart { color: var(--c-accent); border-radius: var(--r-md); background: linear-gradient(var(--c-line) 1px, transparent 1px) 0 0 / 100% 25%; padding-top: 4px; }
.spark { display: block; width: 100%; height: 150px; }
.live__countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.live__countries li { display: grid; grid-template-columns: 9.5rem 1fr 4rem; align-items: center; gap: 12px; font-size: 14px; }
.live__country { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.live__bar { height: 8px; border-radius: 99px; background: var(--c-soft); overflow: hidden; }
.live__bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--c-accent), var(--c-cyan)); }
.live__num { text-align: right; color: var(--c-subtle); font-weight: 600; }
.live__note { font-size: 13.5px !important; color: var(--c-subtle) !important; }
@media (max-width: 520px) { .live__kpis { grid-template-columns: 1fr 1fr; } .live__countries li { grid-template-columns: 7rem 1fr 3rem; } }

/* Demo de ?src= */
.src-demo { display: grid; gap: 8px; margin-top: 16px; }
.src-demo__row { position: relative; padding: 8px 10px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-bg); overflow: hidden; }
.src-demo__row code { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.src-demo__row code b { color: var(--c-accent-text); }
.src-demo__bar { position: absolute; inset: 0 auto 0 0; width: var(--w); background: color-mix(in srgb, var(--c-accent-soft) 70%, transparent); }

/* Lista con checks */
.checklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--c-muted); }
.checklist .icon { flex: 0 0 auto; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-ok-bg); color: var(--c-ok-ink); }

/* Para quién */
.audience__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .audience__grid { grid-template-columns: 1fr; } }
.audience__card { position: relative; padding: 28px 24px 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.audience__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--c-accent), var(--c-cyan)); }
.audience__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent-text); }
.audience__card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.audience__card p { color: var(--c-muted); margin: 0; font-size: .95rem; }

/* Reseñas */
.reviews { background: var(--c-soft); }
.reviews__grid { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 22px 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.review__stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review__stars svg { fill: var(--c-line-strong); }
.review__stars svg.on { fill: #f59e0b; }
.review__text { margin: 0; padding: 0; border: 0; }
.review__text p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--c-ink); }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.review__who strong { display: block; font-size: 14px; }
.review__who small { display: block; font-size: 12.5px; color: var(--c-subtle); }
.review__avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); font-family: var(--font-heading); font-weight: 700; font-size: 14px; }

/* API */
.api__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
@media (max-width: 880px) { .api__inner { grid-template-columns: 1fr; } }
.code-card { border-radius: var(--r-lg); background: #0b1c30; color: #dbe4ff; box-shadow: var(--shadow-3); overflow: hidden; border: 1px solid #1c2c48; }
.code-card__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #1c2c48; }
.code-card__bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a3b5c; }
.code-card__bar em { margin-left: 8px; font-style: normal; font-family: var(--font-mono); font-size: 12px; color: #8ea0c8; }
.code-card pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; }
.code-card .c-k { color: #86f2e4; } .code-card .c-s { color: #c3c0ff; } .code-card .c-c { color: #6b7c9e; }

/* Características (tarjetas dentro del mosaico) */
.features { background: var(--c-soft); }
.features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }
.feature { padding: 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: border-color .15s ease, box-shadow .15s ease; }
.feature:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-2); }
.feature__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: var(--r-md); background: var(--c-accent-soft); color: var(--c-accent-text); }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--c-muted); margin: 0; font-size: .95rem; }

/* Tarifas */
.rates__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 820px) { .rates__inner { grid-template-columns: 1fr; } }
.rates__table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.rates__table th, .rates__table td { padding: 0 18px; height: 52px; text-align: left; border-bottom: 1px solid color-mix(in srgb, var(--c-line) 60%, transparent); font-weight: 500; font-size: 15px; }
.rates__table thead th { height: 40px; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--c-subtle); background: color-mix(in srgb, var(--c-soft) 60%, var(--c-surface)); border-bottom: 1px solid var(--c-line); }
.rates__table td { text-align: right; font-family: var(--font-heading); font-weight: 700; color: var(--c-pos-ink); font-feature-settings: "tnum" 1; }
.rates__table thead th:last-child { text-align: right; }
.rates__table tbody tr:hover { background: color-mix(in srgb, var(--c-soft) 50%, var(--c-surface)); }
.rates__table tr:last-child th, .rates__table tr:last-child td { border-bottom: 0; }

/* Preguntas */
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
@media (max-width: 820px) { .faq__inner { grid-template-columns: 1fr; } }
.faq__list { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 4px 20px; }
.faq__item { border-bottom: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--c-soft); color: var(--c-muted); transition: transform .2s ease, background-color .2s ease; }
.faq__item[open] .faq__chev { transform: rotate(45deg); background: var(--c-accent-soft); color: var(--c-accent-text); }
.faq__item p { color: var(--c-muted); margin: 0 0 16px; max-width: 60ch; font-size: .96rem; }

/* Llamado final */
.cta { padding-top: 0; }
.section + .cta { border-top: 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 5vw, 44px); border-radius: var(--r-xl); background: var(--c-accent); color: #fff; box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255, 255, 255, .15); }
.cta__title { color: #fff; font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2rem); margin-bottom: 6px; }
.cta__inner p { margin: 0; color: rgba(255, 255, 255, .82); }
.cta .btn { background: #fff; color: var(--brand-accent); box-shadow: var(--shadow-2); }
.cta .btn:hover { background: #f1f0ff; color: var(--brand-accent); }
html.dark-mode .cta__inner { background: color-mix(in srgb, var(--brand-accent) 85%, #000); }

/* Publicidad de portada */
.ad-slot { padding: 16px 0; text-align: center; overflow: hidden; }

/* ==========================================================================
   Páginas, entradas y listados
   ========================================================================== */
.page-main { padding: clamp(40px, 6vw, 72px) 0; }
.page-main .container { max-width: 840px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(1.8rem, 1.25rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.page-head .meta { color: var(--c-subtle); font-size: .9rem; }
.prose { font-size: 1.02rem; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose img { border-radius: var(--r-md); }
.prose blockquote { margin: 1.5em 0; padding: 12px 20px; border-radius: var(--r-md); background: var(--c-soft); border: 1px solid var(--c-line); color: var(--c-muted); }
.prose pre, .prose code { font-family: var(--font-mono); font-size: .88em; background: var(--c-soft); border-radius: 6px; }
.prose code { padding: 1px 6px; }
.prose pre { padding: 16px; overflow-x: auto; border: 1px solid var(--c-line); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.prose th { font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--c-subtle); background: var(--c-soft); }

.post-list { display: grid; gap: 12px; }
.post-card { padding: 20px 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: border-color .15s ease, box-shadow .15s ease; }
.post-card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-2); }
.post-card h2 { font-size: 1.25rem; margin-bottom: 4px; }
.post-card h2 a { color: var(--c-ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--c-accent-text); }
.post-card .meta { color: var(--c-subtle); font-size: .85rem; margin-bottom: 8px; }
.post-card p { color: var(--c-muted); margin: 0; }
.pagination, .nav-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 28px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); }
.empty-state { text-align: center; padding: 48px 20px; color: var(--c-muted); }
.empty-state .icon { color: var(--c-accent-text); margin-bottom: 8px; }

.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form input[type=search], .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea {
    width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface); color: var(--c-ink); font: inherit; font-size: 15px;
}
.search-form input[type=search]:focus, .comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 12%, transparent); }
.search-form .search-submit, .comment-form input[type=submit] { min-height: 40px; padding: 8px 16px; border-radius: var(--r-sm); border: 0; background: var(--c-accent); color: var(--c-accent-ink); font: inherit; font-weight: 600; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--c-line); }

/* ==========================================================================
   Pie
   ========================================================================== */
.site-footer { border-top: 1px solid var(--c-line); background: var(--c-surface); padding: 24px 0; margin-top: 24px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-footer__brand .brand { font-size: .95rem; }
.site-footer__brand .brand__mark { width: 28px; height: 28px; }
.site-footer__text { margin: 0; color: var(--c-subtle); font-size: 13px; }
.site-footer__menu { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.site-footer__menu a { color: var(--c-muted); text-decoration: none; font-size: 13px; font-weight: 500; }
.site-footer__menu a:hover { color: var(--c-ink); }

/* ==========================================================================
   Integración con el plugin (flujo y panel)
   ========================================================================== */
.wsl-flow { padding-top: clamp(32px, 6vw, 64px); }
.wsl-dash { padding-top: clamp(28px, 5vw, 48px); }
.elementor-clean-wrapper { width: 100%; min-height: 70vh; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Barra de aviso superior
   ========================================================================== */
.announce { position: relative; z-index: 101; font-size: 14px; }
.announce[hidden] { display: none; }
.announce--accent { background: var(--c-accent); color: var(--c-accent-ink); }
.announce--mint { background: color-mix(in srgb, var(--c-pos-soft) 85%, var(--c-surface)); color: var(--c-pos-ink); }
.announce--dark { background: #0b1c30; color: #e7ecff; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.announce__icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .16); flex: 0 0 auto; }
.announce--mint .announce__icon { background: rgba(0, 111, 102, .12); }
.announce__text { margin: 0; font-weight: 600; text-align: center; }
.announce__text a { margin-left: 6px; color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announce__close { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 4px; border: 0; border-radius: 8px; background: transparent; color: inherit; opacity: .75; cursor: pointer; }
.announce__close:hover { opacity: 1; background: rgba(255, 255, 255, .14); }

/* ==========================================================================
   Redes sociales en el pie
   ========================================================================== */
.site-footer__social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.site-footer__social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-muted); transition: color .15s ease, border-color .15s ease, background-color .15s ease, transform .15s ease; }
.site-footer__social a:hover { color: var(--c-accent-text); border-color: var(--c-accent); background: var(--c-accent-soft); transform: translateY(-1px); }
/* ==========================================================================
   Blog: listado (tarjetas con portada generada) y artículo
   ========================================================================== */
.page-main .container.container--blog { max-width: var(--container); }
.page-main .container.container--article { max-width: 1080px; }
.blog-head { margin-bottom: 28px; }
.blog-head .eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent-text); }
.blog-head h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.035em; margin: 0 0 8px; }
.blog-head__intro { max-width: 640px; color: var(--c-muted); font-size: 1.05rem; margin: 0 0 18px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.post-chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 99px; background: var(--c-accent-soft); color: var(--c-accent-text); font-size: 12.5px; font-weight: 650; text-decoration: none; line-height: 1.5; }
.post-chip:hover { text-decoration: none; filter: brightness(.97); }
.blog-cats .post-chip { background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-muted); padding: 6px 14px; font-size: 13.5px; }
.blog-cats .post-chip:hover { border-color: var(--c-line-strong); color: var(--c-ink); }
.blog-cats .post-chip.is-on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.post-chip--ghost { background: transparent; border: 1px solid var(--c-line); color: var(--c-muted); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .blog-grid, .blog-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .blog-grid, .blog-grid--3 { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--c-line-strong); }
.blog-card__media { display: block; }
.post-cover { position: relative; aspect-ratio: 40 / 21; overflow: hidden; background: var(--c-soft); }
.post-cover svg, .post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-card .post-cover svg { transition: transform .4s ease; }
.blog-card:hover .post-cover svg { transform: scale(1.04); }
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.blog-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--c-subtle); }
.blog-card h2, .blog-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.02em; }
.blog-card h2 a, .blog-card h3 a { color: var(--c-ink); text-decoration: none; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--c-accent-text); }
.blog-card p { margin: 0; color: var(--c-muted); font-size: .94rem; line-height: 1.55; }
.blog-card__foot { margin-top: auto !important; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px !important; color: var(--c-subtle) !important; }
.blog-card__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; color: var(--c-accent-text); }
.blog-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.blog-card--featured .post-cover { aspect-ratio: auto; height: 100%; min-height: 300px; }
.blog-card--featured .blog-card__body { padding: 32px 34px; justify-content: center; gap: 12px; }
.blog-card--featured h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.blog-card--featured p { font-size: 1.02rem; }
@media (max-width: 860px) { .blog-card--featured { grid-template-columns: 1fr; } .blog-card--featured .post-cover { min-height: 0; aspect-ratio: 40 / 21; } .blog-card--featured .blog-card__body { padding: 20px; } }

/* Artículo */
.page-main--article { padding-top: clamp(24px, 4vw, 40px); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--c-subtle); margin-bottom: 18px; }
.crumbs a { color: var(--c-subtle); text-decoration: none; }
.crumbs a:hover { color: var(--c-accent-text); }
.article__head { max-width: 780px; margin-bottom: 24px; }
.article__head h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; margin: 12px 0 14px; }
.article__lead { font-size: 1.15rem; line-height: 1.6; color: var(--c-muted); margin: 0 0 14px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--c-subtle); margin: 0; }
.post-cover--hero { border-radius: var(--r-lg); margin-bottom: 36px; aspect-ratio: 40 / 15; box-shadow: var(--shadow-2); }
.article__layout { display: block; }
.article__layout.has-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 13.5px; }
.toc summary { cursor: pointer; font-weight: 700; color: var(--c-ink); margin-bottom: 10px; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--c-line); display: grid; gap: 8px; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { color: var(--c-muted); text-decoration: none; line-height: 1.4; display: block; }
.toc a::before { content: counter(toc) ". "; color: var(--c-subtle); }
.toc a:hover { color: var(--c-accent-text); }
@media (max-width: 980px) {
    .article__layout.has-toc { grid-template-columns: 1fr; gap: 0; }
    .toc { position: static; margin-bottom: 24px; padding: 14px 18px; background: var(--c-soft); border-radius: var(--r-md); }
    .toc details:not([open]) summary { margin: 0; }
}
.article__body { max-width: 720px; font-size: 1.06rem; line-height: 1.78; }
.article__body > p:first-child { font-size: 1.1rem; }
.article__body h2 { scroll-margin-top: 96px; font-size: 1.6rem; letter-spacing: -.025em; margin: 1.8em 0 .55em; }
.article__body h3 { font-size: 1.2rem; margin: 1.5em 0 .4em; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body li { margin-bottom: .45em; }
.article__body li::marker { color: var(--c-accent-text); }
.article__body strong { color: var(--c-ink); }
.article__body a { font-weight: 600; }
.article__body .tip { margin: 1.6em 0; padding: 16px 20px; border-radius: var(--r-md); background: var(--c-accent-soft); color: var(--c-ink); border: 0; }
.article__body .tip strong { color: var(--c-accent-text); }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2em; }
.article__cta { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin: 2.4em 0 0; padding: 22px 24px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--c-accent-soft), var(--c-surface)); border: 1px solid var(--c-line); }
.article__cta-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c-accent); color: var(--c-accent-ink); }
.article__cta b { display: block; font-size: 1.02rem; line-height: 1.35; color: var(--c-ink); }
.article__cta p { margin: 4px 0 0; font-size: .92rem; line-height: 1.5; color: var(--c-muted); }
.article__cta .btn { white-space: nowrap; }
@media (max-width: 640px) { .article__cta { grid-template-columns: 1fr; text-align: left; } }
.related { padding: clamp(40px, 6vw, 64px) 0; margin-top: clamp(32px, 5vw, 56px); background: var(--c-soft); border-top: 1px solid var(--c-line); }
.related h2 { font-size: 1.5rem; margin-bottom: 20px; }
