:root {
    --bg: #100e12;
    --bg-deep: #0b090d;
    --panel: #1a161d;
    --panel-2: #211b25;
    --line: rgba(240, 229, 220, 0.12);
    --text: #f3ece5;
    --muted: #b0a49d;
    --accent: #d29a76;
    --accent-2: #a85c6a;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(1100px 540px at 82% -8%, rgba(122, 64, 83, 0.16), transparent 62%),
        var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
}

::selection {
    background: rgba(210, 154, 118, 0.35);
    color: #fff;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    margin: 0;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: #1a1012;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background: #e2af8b;
}

.btn:active {
    transform: translateY(1px);
}

.btn-small {
    padding: 9px 16px;
    font-size: 12.5px;
}

.btn-ghost {
    background: transparent;
    border-color: rgba(240, 229, 220, 0.22);
    color: var(--text);
}

.btn-ghost:hover {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(16, 14, 18, 0.84);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 68px;
}

.logo {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13.5px;
    letter-spacing: 0.02em;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--text);
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding-top: clamp(44px, 6vw, 78px);
    padding-bottom: clamp(36px, 5vw, 64px);
}

.hero h1 {
    margin: 12px 0 18px;
    font-size: clamp(36px, 5.2vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.015em;
    max-width: 12ch;
}

.hero-excerpt {
    margin: 0;
    max-width: 46ch;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
}

.hero-note::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-cover-link {
    display: block;
    text-decoration: none;
    justify-self: end;
    width: min(100%, 420px);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(240, 229, 220, 0.16);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cover-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 42px 90px rgba(0, 0, 0, 0.55);
}

.hero-cover {
    aspect-ratio: 4 / 5;
    width: 100%;
}

.cover {
    --c1: #5b4a52;
    --c2: #1e171c;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(155deg, var(--c1) 0%, var(--c2) 78%);
    color: #f7efe8;
    overflow: hidden;
    isolation: isolate;
}

.cover-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover--image::before {
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 7, 10, 0.58) 0%, rgba(8, 7, 10, 0.08) 45%, rgba(8, 7, 10, 0.72) 100%);
}

.cover--image::after {
    z-index: 1;
    background: radial-gradient(90% 60% at 50% 0%, rgba(0, 0, 0, 0.18), transparent 65%);
}

.cover--image .cover-letter {
    display: none;
}

.cover--image .cover-brand,
.cover--image .cover-badge,
.cover--image .cover-caption {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 15px);
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(85% 60% at 78% 8%, rgba(255, 255, 255, 0.16), transparent 68%);
}

.cover--romance { --c1: #7a4053; --c2: #2a141d; }
.cover--contemporaneo { --c1: #8a5a37; --c2: #2a1b12; }
.cover--misterio { --c1: #465a6e; --c2: #171f28; }
.cover--viajes { --c1: #556e52; --c2: #1b261b; }

.cover-brand {
    position: relative;
    z-index: 2;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    opacity: 0.72;
}

.cover-letter {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(78px, 9vw, 124px);
    color: rgba(255, 247, 239, 0.88);
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.cover-badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cover-caption {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.cover-cap-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 247, 239, 0.72);
}

.cover-cap-title {
    font-family: var(--serif);
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.15;
}

#relatos,
#coleccion,
#newsletter {
    scroll-margin-top: 88px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 6px 0 0;
    font-size: clamp(28px, 3.4vw, 36px);
    letter-spacing: -0.01em;
}

.count {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.chip:hover {
    color: var(--text);
    border-color: rgba(240, 229, 220, 0.28);
}

.chip.active {
    color: var(--text);
    border-color: rgba(210, 154, 118, 0.55);
    background: rgba(210, 154, 118, 0.13);
}

.search input {
    width: 250px;
    padding: 10px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--text);
    font-family: var(--sans);
    font-size: 13.5px;
    transition: border-color 0.2s ease;
}

.search input::placeholder {
    color: rgba(176, 164, 157, 0.75);
}

.search input:focus {
    outline: none;
    border-color: rgba(210, 154, 118, 0.55);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(210, 154, 118, 0.35);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-cover {
    aspect-ratio: 3 / 2;
}

.card-body {
    padding: 18px 20px 20px;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.card-cat {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.22;
    letter-spacing: -0.005em;
}

.card-excerpt {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.card-meta span:last-child {
    color: var(--accent);
}

.empty {
    padding: 48px 0;
    margin: 0;
    color: var(--muted);
    text-align: center;
}

.manifesto {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    margin-top: 56px;
    padding-top: 52px;
    padding-bottom: 60px;
    border-top: 1px solid var(--line);
}

.manifesto-num {
    display: block;
    margin-bottom: 12px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--accent);
    opacity: 0.85;
}

.manifesto-item h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.manifesto-item p {
    margin: 0;
    max-width: 34ch;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 76px;
    padding-top: clamp(28px, 4vw, 44px);
    padding-bottom: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(210, 154, 118, 0.24);
    border-radius: 22px;
    background:
        radial-gradient(90% 140% at 0% 0%, rgba(210, 154, 118, 0.12), transparent 58%),
        linear-gradient(135deg, rgba(168, 92, 106, 0.08), rgba(26, 22, 29, 0.4));
}

.band h2 {
    margin: 8px 0 10px;
    font-size: clamp(26px, 3vw, 32px);
    letter-spacing: -0.01em;
}

.band p {
    margin: 0;
    max-width: 44ch;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.band form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-content: start;
}

.band input {
    min-width: 0;
    padding: 12px 18px;
    border: 1px solid rgba(240, 229, 220, 0.18);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--text);
    font-family: var(--sans);
    font-size: 14px;
}

.band input::placeholder {
    color: rgba(176, 164, 157, 0.75);
}

.band input:focus {
    outline: none;
    border-color: rgba(210, 154, 118, 0.6);
}

.form-note {
    grid-column: 1 / -1;
    font-size: 11.5px !important;
    color: var(--muted);
}

.form-note a {
    color: var(--accent);
}

.footer {
    padding: 48px 0 24px;
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 34px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    margin: 0;
    max-width: 320px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 13.5px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 300;
    max-width: calc(100vw - 32px);
    padding: 12px 20px;
    border: 1px solid rgba(210, 154, 118, 0.4);
    border-radius: 999px;
    background: #241d26;
    color: var(--text);
    font-size: 13.5px;
    opacity: 0;
    transform: translate(-50%, 16px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(120% 90% at 50% 0%, #251a22 0%, #0d0b0e 62%),
        var(--bg-deep);
}

.age-gate[hidden] {
    display: none;
}

.gate-card {
    width: min(470px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: clamp(28px, 5vw, 42px) clamp(22px, 4vw, 34px);
    border: 1px solid rgba(210, 154, 118, 0.26);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(34, 27, 38, 0.98), rgba(22, 17, 25, 0.98));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.gate-brand {
    display: block;
    margin-bottom: 24px;
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.42em;
    color: var(--accent);
}

.gate-card h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 31px);
    line-height: 1.15;
}

.gate-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.gate-actions {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.gate-actions .btn {
    width: 100%;
}

.gate-note {
    margin-top: 18px !important;
    font-size: 11.5px !important;
    line-height: 1.6 !important;
}

.gate-note a {
    color: var(--accent);
}

#gateBlocked .btn {
    margin-top: 22px;
}

.reader-wrap {
    max-width: 780px;
    padding-top: 32px;
    padding-bottom: 8px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span[aria-hidden] {
    opacity: 0.45;
}

.breadcrumb span:last-child {
    color: rgba(243, 236, 229, 0.8);
}

.article-kicker {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.article-head h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5.4vw, 52px);
    line-height: 1.07;
    letter-spacing: -0.015em;
}

.standfirst {
    margin: 0;
    max-width: 60ch;
    color: #c7b9af;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.55;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    margin-top: 22px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.article-meta span + span::before {
    content: "\00B7";
    margin: 0 12px;
    color: var(--accent);
}

.article-cover {
    height: clamp(180px, 26vw, 260px);
    margin: 32px 0 40px;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}

.article-cover-inner {
    height: 100%;
}

.article-cover-inner .cover-letter {
    font-size: clamp(74px, 14vw, 128px);
}

.article-body {
    color: #e9e0d8;
    font-family: var(--serif);
    font-size: 19.5px;
    line-height: 1.8;
}

.article-body p {
    margin: 0 0 1.35em;
}

.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    word-break: break-word;
}

.article-body a:hover {
    color: #f0c3a4;
}

.drop-cap::first-letter {
    float: left;
    padding: 4px 10px 0 0;
    font-size: 3.4em;
    line-height: 0.82;
    font-style: italic;
    color: var(--accent);
}

.article-body .ad-slot,
.article-body [id="ad-inline"] {
    display: none !important;
}

.article-banner-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin: 36px auto;
    font-family: var(--sans);
}

.article-banner-wrap--end {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.article-banner-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.article-banner-frame {
    display: block;
    max-width: 100%;
    border: 0;
    background: transparent;
}

.article-end {
    margin: 36px 0 0;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
}

.story-media {
    margin-top: 0;
    margin-bottom: 8px;
}

.story-media h2 {
    margin: 8px 0 22px;
    font-size: clamp(24px, 3vw, 30px);
}

.media-item {
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}

.media-item img,
.media-item video {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #050407;
}

.media-item .video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #050407;
}

.media-item .video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.media-item .video-embed.tiktok-embed,
.media-item .video-embed.video-embed--shorts {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}

.media-source {
    margin: 0;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

.media-source a {
    color: var(--accent);
}

.tiktok-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 46px 24px;
    background:
        radial-gradient(90% 120% at 50% 0%, rgba(37, 244, 238, 0.08), transparent 60%),
        linear-gradient(150deg, #1d1a20, #09080b);
    text-align: center;
    text-decoration: none;
}

.tiktok-fallback .tiktok-word {
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: 0.04em;
    color: var(--text);
}

.tiktok-fallback span:last-child {
    font-size: 13px;
    color: var(--accent);
}

.media-item figcaption {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.loading {
    padding: 80px 0;
    color: var(--muted);
    text-align: center;
}

.article-tools {
    display: flex;
    margin-top: 40px;
}

.paywall {
    margin-top: 36px;
}

.paywall-card {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(210, 154, 118, 0.28);
    border-radius: 22px;
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(210, 154, 118, 0.1), transparent 62%),
        var(--panel);
    text-align: center;
}

.paywall-card h2 {
    margin: 8px 0 12px;
    font-size: clamp(25px, 3.4vw, 30px);
    line-height: 1.2;
}

.paywall-card > p {
    max-width: 48ch;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.paywall-card strong {
    color: var(--text);
    font-weight: 600;
    word-break: break-word;
}

.paywall-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 460px;
    margin: 22px auto 10px;
}

.paywall-form input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text);
    font-family: var(--sans);
    font-size: 14px;
}

.paywall-form input::placeholder {
    color: rgba(176, 164, 157, 0.75);
}

.paywall-form input:focus {
    outline: none;
    border-color: rgba(210, 154, 118, 0.6);
}

.paywall-card .form-note {
    margin: 6px 0 0;
}

.paywall-card .btn {
    margin-top: 18px;
}

.related {
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.related .section-head {
    margin-bottom: 24px;
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 0.1s linear;
}

.reader-error {
    padding: 72px 0 80px;
    text-align: center;
}

.reader-error h1 {
    margin: 10px 0 14px;
    font-size: clamp(30px, 5vw, 42px);
}

.reader-error p {
    max-width: 44ch;
    margin: 0 auto 28px;
    color: var(--muted);
    line-height: 1.7;
}

.legal {
    max-width: 780px;
    padding-top: 56px;
    padding-bottom: 80px;
}

.legal h1 {
    margin: 10px 0 8px;
    font-size: clamp(32px, 5vw, 44px);
    line-height: 1.1;
}

.legal-date {
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 12.5px;
    letter-spacing: 0.04em;
}

.legal h2 {
    margin: 34px 0 10px;
    font-size: 22px;
}

.legal p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.legal a {
    color: var(--accent);
}

.legal-back {
    margin-top: 40px !important;
}

.gateway-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background:
        radial-gradient(900px 520px at 50% -10%, rgba(210, 154, 118, 0.16), transparent 62%),
        var(--bg);
}

.gateway {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 48px 24px;
}

.gateway-card {
    width: min(520px, 100%);
    padding: clamp(34px, 6vw, 58px) clamp(24px, 5vw, 46px);
    border: 1px solid rgba(210, 154, 118, 0.22);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(34, 27, 38, 0.92), rgba(22, 17, 25, 0.94));
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.gateway-brand {
    display: block;
    margin-bottom: 26px;
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: 0.44em;
    color: var(--accent);
}

.gateway h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 5.6vw, 46px);
    line-height: 1.07;
    letter-spacing: -0.015em;
}

.gateway .eyebrow {
    margin-bottom: 10px;
}

.gateway p {
    max-width: 40ch;
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
}

.gateway .gateway-btn {
    min-width: 230px;
    padding: 14px 30px;
    font-size: 14.5px;
}

.gateway .gateway-note {
    margin: 22px auto 0;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.8;
}

.gateway-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 20px clamp(18px, 4vw, 32px);
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
    color: var(--muted);
    font-size: 12px;
}

.gateway-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.gateway-footer a {
    color: var(--muted);
    text-decoration: none;
}

.gateway-footer a:hover {
    color: var(--accent);
}

@media (max-width: 1000px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        grid-template-columns: 1fr 0.85fr;
    }
}

@media (max-width: 820px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-cover-link {
        justify-self: start;
        width: min(100%, 380px);
    }

    .nav {
        display: none;
    }

    .band {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .manifesto {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .manifesto-item p {
        max-width: 52ch;
    }
}

@media (max-width: 680px) {
    .wrap {
        padding-inline: 18px;
    }

    #relatos,
    #coleccion,
    #newsletter {
        scroll-margin-top: 74px;
    }

    .topbar-inner {
        height: 62px;
        gap: 14px;
    }

    .logo {
        font-size: 17px;
    }

    .hero {
        padding-top: 36px;
    }

    .hero-cover {
        aspect-ratio: 16 / 10;
    }

    .hero-cover .cover-letter {
        font-size: 76px;
    }

    .hero h1 {
        max-width: 14ch;
    }

    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .card {
        border-radius: 12px;
    }

    .card-cover {
        aspect-ratio: 1 / 1;
    }

    .cover {
        padding: 10px 9px;
    }

    .cover-brand {
        font-size: 7px;
        letter-spacing: 0.2em;
    }

    .cover-letter {
        font-size: 44px;
    }

    .cover-badge {
        display: none;
    }

    .card-body {
        padding: 9px 9px 11px;
    }

    .card-top {
        margin-bottom: 5px;
    }

    .card-cat {
        font-size: 7.5px;
        letter-spacing: 0.1em;
    }

    .card h3 {
        margin: 0;
        font-size: 13px;
        line-height: 1.28;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-excerpt,
    .card-meta {
        display: none;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .toolbar {
        align-items: stretch;
    }

    .search input {
        width: 100%;
    }

    .search {
        flex: 1 1 100%;
    }

    .band form {
        grid-template-columns: 1fr;
    }

    .band form .btn {
        width: 100%;
    }

    .band {
        margin-bottom: 56px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 24px;
    }

    .article-body {
        font-size: 18px;
        line-height: 1.75;
    }

    .standfirst {
        font-size: 18.5px;
    }

    .article-cover {
        margin: 26px 0 32px;
    }

    .related {
        margin-top: 56px;
    }

    .article-meta span + span::before {
        margin: 0 8px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.ad-slot {
    margin: 38px 0;
    padding: 14px;
    border: 1px dashed rgba(240, 229, 220, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.ad-slot-label {
    display: block;
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.7;
}

.ad-slot-box {
    display: grid;
    place-items: center;
    min-height: 120px;
    overflow: hidden;
}

.ad-slot-box img,
.ad-slot-box iframe,
.ad-slot-box ins {
    max-width: 100%;
}

.ad-slot-box ins {
    display: block;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
