/*
Theme Name: Apuesta AR
Description: Tema para sitios de reseñas de casinos y apuestas online dirigido a Argentina (es_AR). Estética inspirada en el fileteado porteño: papel, tinta azul, celeste y oro. Incluye tipo de contenido "Casino", ranking con shortcode, verificación 18+ y avisos de juego responsable.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: apuesta-ar
*/

:root {
	--paper: #f4ead3;
	--paper-2: #ebdfc2;
	--white: #fffdf7;
	--ink: #14213d;
	--ink-soft: #4b5471;
	--celeste: #74acdf;
	--celeste-d: #3f86c4;
	--gold: #f2a900;
	--red: #c8372d;
	--display: "Abril Fatface", Georgia, "Times New Roman", serif;
	--body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--shadow: 5px 5px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6;
	background: var(--paper) url("assets/img/paper.svg");
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--celeste-d); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 8px; top: 8px; width: auto; height: auto; clip: auto; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 1000; }

/* Botones */
.btn {
	display: inline-block; padding: .7em 1.4em; font: 700 .95rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; text-align: center; cursor: pointer; color: var(--ink); background: var(--gold);
	border: 2.5px solid var(--ink); border-radius: 6px; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: var(--ink); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { background: var(--white); }
.link-small { font-size: .9rem; font-weight: 600; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 4px double var(--ink); }
.site-header::before, .site-footer::before { content: ""; display: block; height: 12px; border-bottom: 2px solid var(--ink); background: linear-gradient(to bottom, var(--celeste) 0 33.3%, #fff 33.3% 66.6%, var(--celeste) 66.6% 100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.site-title { font: 400 1.6rem/1 var(--display); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; }
.site-title::before { content: ""; width: 34px; height: 34px; margin-right: 10px; background: url("assets/img/sol.svg") center / contain no-repeat; }
.site-title:hover { color: var(--celeste-d); }
.site-nav .menu, .menu--footer { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 24px; flex-wrap: wrap; }
.site-nav a, .menu--footer a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; padding: 4px 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--gold); color: var(--ink); }
.nav-toggle { display: none; background: var(--white); border: 2.5px solid var(--ink); border-radius: 6px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 3px; background: var(--ink); position: relative; margin: auto; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

/* Hero con rayos de sol */
.hero {
	position: relative; padding: 72px 0 80px; border-bottom: 4px solid var(--ink); overflow: hidden;
	background: repeating-conic-gradient(from 0deg at 74% 54%, #7db5e3 0 8deg, #74acdf 8deg 16deg);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero__copy { min-width: 0; }
.eyebrow { display: inline-block; font: 400 1rem/1 var(--display); padding: 8px 18px; background: var(--gold); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg); margin-bottom: 22px; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 4.1vw, 3.8rem); line-height: 1.08; letter-spacing: -.025em; text-shadow: none; margin-bottom: 24px; }
.hero h1 .hl { color: var(--ink); text-shadow: none; }
.hero__lead { font-size: 1.15rem; font-weight: 400; max-width: 560px; color: var(--ink); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.hero__facts { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; }
.hero__facts li { display: inline-flex; align-items: center; gap: 5px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 10px; font-size: .8rem; font-weight: 600; box-shadow: 2px 3px 0 rgba(20,33,61,.35); }
.hero__facts li::before { content: ""; width: 20px; height: 20px; flex: none; background: center / contain no-repeat; }
.hero__facts li:nth-child(1)::before { background-image: url("assets/img/star.svg"); }
.hero__facts li:nth-child(2)::before { background-image: url("assets/img/coin-fixed.svg"); }
.hero__facts li:nth-child(3)::before { background-image: url("assets/img/shield-fixed.svg"); }
.hero__facts strong { font-family: var(--display); font-weight: 400; margin-right: 2px; }
.hero__side { position: relative; min-width: 0; padding: 20px 26px; isolation: isolate; }
.hero__art { position: absolute; left: -9%; top: -4%; width: 118%; max-width: none; height: 108%; object-fit: fill; z-index: 0; pointer-events: none; }

/* Oferta destacada como billete */
.offer { position: relative; background: var(--white); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 6px 8px 0 rgba(20,33,61,.45); padding: 28px 28px 22px; }
.offer::after { content: ""; position: absolute; inset: 7px; border: 2px solid var(--gold); border-radius: 19px; pointer-events: none; }
.hero__side .offer { width: 100%; max-width: 390px; margin: 0 auto; z-index: 2; }
.hero .offer__name { font-size: clamp(1.5rem, 2.3vw, 2rem); margin: 18px 0 10px; overflow-wrap: anywhere; }
.hero .offer .stars { display: block; font-size: 1.25rem; line-height: 1.3; margin-bottom: 16px; }
.hero .offer__bonus { font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1.08; margin: 0 0 10px; overflow-wrap: anywhere; }
.hero .offer__tag { line-height: 1.4; }
.hero__inner--no-offer { grid-template-columns: 1fr; }
.hero__inner--no-offer .hero__copy { max-width: 720px; }
.hero__inner--no-offer .hero__side { display: none; }
.offer > * { position: relative; z-index: 1; }
.offer__tag { display: inline-block; background: var(--red); color: #fff; font: 700 .7rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border: 2px solid var(--ink); }
.offer__name { font-size: 1.4rem; margin: 12px 0 2px; }
.offer__bonus { font: 400 2.3rem/1.02 var(--display); margin: 12px 0 4px; color: var(--ink); }
.offer__sub { color: var(--ink); margin: 4px 0 14px; font-size: 1rem; }
.offer__list { list-style: none; padding: 0; margin: 0 0 18px; font-size: 1rem; display: grid; gap: 10px; }
.offer__list li { display: flex; align-items: center; gap: 12px; }
.offer__list li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--celeste-d); color: #fff; font-weight: 800; font-size: .9rem; display: grid; place-items: center; border: 2px solid var(--ink); }
.offer .btn { display: block; }
.offer__fine { color: var(--ink-soft); font-size: .72rem; margin: 10px 0 0; line-height: 1.35; }

/* Franja de cifras */
.stats { background: var(--ink); color: var(--paper); border-bottom: 4px solid var(--gold); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats__item { padding: 22px 10px; border-right: 2px dashed rgba(244,234,211,.3); }
.stats__item:last-child { border-right: 0; }
.stats__num { display: block; font: 400 2.2rem/1.1 var(--display); color: var(--gold); }
.stats__label { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }

/* Secciones */
.section { padding: 72px 0; }
.section--alt { background: var(--paper-2) url("assets/img/paper.svg"); border-block: 3px solid var(--ink); }
.section__title, .page-head h1 { text-align: center; }
.section__title::after { content: ""; display: block; width: 260px; height: 32px; margin: 12px auto 0; background: url("assets/img/ornament.svg") center / contain no-repeat; }
.section__lead { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 34px; }
.disclosure { color: var(--ink-soft); font-size: .82rem; margin-top: 20px; text-align: center; }
.page-head { padding: 44px 0 20px; text-align: center; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
.feature, .card, .step, .sidebar .widget, .faq, .review__facts div {
	background: var(--white); border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: var(--shadow);
}
.feature { padding: 24px 22px; }
.feature__img { width: 60px; height: 60px; display: block; margin-bottom: 8px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* Ranking: billetes de lotería */
.ranking { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; counter-reset: r; }
.ranking__item {
	position: relative; display: grid; grid-template-columns: 56px 140px 1fr 200px 170px; align-items: center; gap: 20px;
	background: var(--white); border: 2.5px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); padding: 20px 24px;
}
.ranking__item::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--celeste-d); border-radius: 6px; pointer-events: none; }
.ranking__item:first-child { background: #fff6d8; }
.ranking__item:first-child::after { content: "Nº 1 · Elección del editor"; position: absolute; top: -15px; left: 28px; background: var(--gold); border: 2.5px solid var(--ink); font: 400 .85rem/1 var(--display); padding: 6px 14px; transform: rotate(-1.5deg); }
.ranking__item > * { position: relative; z-index: 1; }
.ranking__pos { font: 400 3rem/1 var(--display); color: var(--white); -webkit-text-stroke: 2px var(--ink); text-shadow: 3px 3px 0 var(--celeste); text-align: center; }
.ranking__logo { display: grid; place-items: center; background: var(--paper); border: 2px dashed var(--ink-soft); border-radius: 8px; min-height: 68px; padding: 8px; color: var(--ink); text-decoration: none; font-family: var(--display); text-align: center; }
.ranking__name { font-size: 1.3rem; margin: 0 0 2px; }
.ranking__name a { color: var(--ink); text-decoration: none; }
.ranking__name a:hover { color: var(--celeste-d); }
.ranking__meta { list-style: none; padding: 0; margin: 6px 0 0; color: var(--ink-soft); font-size: .88rem; display: flex; gap: 4px 16px; flex-wrap: wrap; }
.ranking__bonus { display: flex; flex-direction: column; gap: 2px; border-left: 2px dashed var(--ink-soft); padding-left: 20px; }
.ranking__bonus-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--red); font-weight: 700; }
.ranking__bonus strong { font: 400 1.25rem/1.2 var(--display); }
.ranking__cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
.stars { color: var(--gold); letter-spacing: 3px; text-shadow: 0 0 1px var(--ink), 1px 1px 0 var(--ink); }

/* Tabla */
.table-wrap { overflow-x: auto; border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: var(--shadow); background: var(--white); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1.5px solid var(--paper-2); }
.cmp thead th { background: var(--ink); color: var(--paper); font: 400 .95rem/1 var(--display); letter-spacing: .05em; }
.cmp tbody tr:nth-child(even) { background: #fbf4e0; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp a:not(.btn) { color: var(--ink); font-weight: 700; text-decoration: none; }
.cmp .btn { padding: .5em 1em; font-size: .8rem; box-shadow: 3px 3px 0 var(--ink); }

/* Categorías como sellos */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.tile { position: relative; overflow: hidden; border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: var(--shadow); padding: 26px 24px; min-height: 160px; text-decoration: none; color: var(--ink); display: block; transition: transform .12s, box-shadow .12s; }
.tile:hover { color: var(--ink); transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.tile:nth-child(3n+1) { background: var(--celeste); }
.tile:nth-child(3n+2) { background: var(--gold); }
.tile:nth-child(3n) { background: var(--white); }
.tile h3 { font-size: 1.35rem; margin-bottom: 4px; max-width: 70%; }
.tile p { margin: 0; max-width: 62%; font-size: .93rem; font-weight: 600; }
.tile__img { position: absolute; right: 12px; bottom: 10px; width: 92px; height: 92px; transform: rotate(-6deg); }

/* Medios de pago, pasos */
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip { background: var(--white); border: 2.5px solid var(--ink); border-radius: 6px; box-shadow: 3px 3px 0 var(--ink); padding: 10px 20px; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 34px; counter-reset: s; }
.step { position: relative; padding: 34px 22px 22px; counter-increment: s; }
.step::before { content: counter(s); position: absolute; top: -22px; left: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--celeste); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 400 1.5rem/1 var(--display); display: grid; place-items: center; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Banner de cierre */
.cta-banner { position: relative; overflow: hidden; margin: 72px auto; background: var(--gold); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--ink); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner::after { content: ""; position: absolute; right: 190px; top: -60px; width: 280px; height: 280px; background: url("assets/img/sol.svg") center / contain no-repeat; opacity: .35; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin: 0 0 6px; }
.cta-banner p { margin: 0; font-weight: 600; }
.cta-banner .btn { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--white); }

/* Tarjetas de entradas, layout */
.card { overflow: hidden; display: flex; flex-direction: column; }
.card__thumb img { width: 100%; display: block; border-bottom: 2.5px solid var(--ink); }
.card__body { padding: 18px 20px 20px; }
.card__date { color: var(--ink-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.card__title { font-size: 1.3rem; margin: 4px 0 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--celeste-d); }
.card p { color: var(--ink-soft); font-size: .97rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-bottom: 64px; }
.layout:not(:has(.sidebar)) { grid-template-columns: 1fr; }
.sidebar .widget { padding: 22px; margin-bottom: 24px; }
.widget-title { font-size: 1.2rem; }
.entry { font-size: 1.08rem; }
.entry h2, .entry h3 { margin-top: 1.6em; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; background: var(--white); }
.entry th, .entry td { border: 1.5px solid var(--ink); padding: 10px 12px; text-align: left; }
.entry th { background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 400; }
.post__thumb { border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: var(--shadow); margin-bottom: 28px; }

/* Reseña */
.review__head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 44px 0 24px; }
.review__head > div { flex: 1; min-width: 200px; }
.review__head h1 { margin: 0 0 4px; }
.review__logo { background: var(--white); border: 2.5px solid var(--ink); border-radius: 8px; padding: 8px; box-shadow: 3px 3px 0 var(--ink); }
.review__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin: 0 0 32px; }
.review__facts div { padding: 14px 16px; }
.review__facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 700; }
.review__facts dd { margin: 4px 0 0; font-weight: 700; }

/* FAQ */
.faq { padding: 2px 20px; margin-bottom: 16px; }
.faq summary { cursor: pointer; font: 400 1.2rem/1.3 var(--display); padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.8rem; color: var(--celeste-d); }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); margin-top: 0; }

/* Formularios y paginación */
input[type="search"], input[type="text"], input[type="email"], textarea { width: 100%; background: var(--white); border: 2.5px solid var(--ink); color: var(--ink); padding: .65em 1em; border-radius: 6px; font: inherit; }
.search-form { display: flex; gap: 8px; margin: 16px 0; }
.search-submit { background: var(--gold); border: 2.5px solid var(--ink); border-radius: 6px; padding: 0 18px; font-weight: 700; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.pagination .nav-links { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.page-numbers { padding: 8px 14px; border: 2.5px solid var(--ink); border-radius: 6px; text-decoration: none; color: var(--ink); background: var(--white); font-weight: 700; }
.page-numbers.current { background: var(--gold); }

/* Pie */
.site-footer { background: var(--ink); color: var(--paper); padding: 0 0 30px; margin-top: 0; border-top: 0; }
.site-footer::before { margin-bottom: 46px; border-bottom-color: var(--gold); }
.site-footer .site-title { color: var(--paper); }
.site-footer .menu--footer a { color: var(--paper); }
.site-footer .muted, .copy, .legal { color: #b8bfd0; }
.site-footer__top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.responsible { display: flex; gap: 18px; align-items: center; border: 2px dashed var(--gold); border-radius: 8px; padding: 18px 22px; }
.responsible strong { font: 400 1.2rem/1 var(--display); color: var(--gold); }
.responsible p { margin: 4px 0 0; font-size: .95rem; color: var(--paper); }
.responsible__badge, .age-gate__badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--red); color: var(--red); font: 400 1.1rem/1 var(--display); flex: none; background: var(--white); }
.legal { font-size: .82rem; margin-top: 22px; }
.copy { font-size: .8rem; }

/* Verificación 18+ */
.age-gate { position: fixed; inset: 0; z-index: 9999; background: rgba(20,33,61,.92); display: grid; place-items: center; padding: 20px; }
.age-gate[hidden] { display: none; }
.age-gate__box { background: var(--paper); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--gold); padding: 34px; max-width: 480px; text-align: center; }
.age-gate__badge { width: 68px; height: 68px; font-size: 1.4rem; margin-bottom: 12px; }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* Responsive */
@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__side { width: min(100%, 480px); margin: 12px auto 0; }
	.hero__copy { max-width: 680px; }
	.hero h1 { font-size: clamp(2.4rem, 6.5vw, 3.8rem); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stats__item:nth-child(2) { border-right: 0; }
	.stats__item:nth-child(-n+2) { border-bottom: 2px dashed rgba(244,234,211,.3); }
	.grid--3, .grid--4, .tiles, .steps { grid-template-columns: repeat(2, 1fr); }
	.layout { grid-template-columns: 1fr; }
	.ranking__item { grid-template-columns: 46px 110px 1fr; }
	.ranking__bonus, .ranking__cta { grid-column: 1 / -1; }
	.ranking__bonus { border-left: 0; padding-left: 0; }
	.ranking__cta { flex-direction: row; align-items: center; justify-content: space-between; }
	.ranking__cta .btn { flex: 1; }
}
@media (max-width: 720px) {
	body { font-size: 17px; }
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 4px double var(--ink); padding: 12px 16px; }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; gap: 2px; }
	.site-nav a { display: block; padding: 10px 0; }
	.grid--2, .grid--3, .grid--4, .tiles, .steps { grid-template-columns: 1fr; }
	.hero { padding: 44px 0 56px; }
	.section { padding: 52px 0; }
	.ranking__item { grid-template-columns: 40px 1fr; }
	.ranking__logo { grid-column: 2; }
	.ranking__info { grid-column: 1 / -1; }
	.cta-banner { padding: 28px; }
}

@media (max-width: 480px) {
    .hero__inner { gap: 30px; }
    .hero__side { padding: 16px 12px; }
    .hero .offer { padding: 26px 24px 24px; border-radius: 22px; }
    .hero .offer__name { font-size: 1.7rem; }
    .hero .offer__bonus { font-size: 2.1rem; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__facts { gap: 8px; }
    .hero__facts li { font-size: .8rem; }
}

/* First screen measured against the 1445 × 1089 reference. */
.site-header__inner { width: min(970px, 100% - 40px); min-height: 54px; }
.site-title { font-size: 24px; }
.site-title::before { width: 26px; height: 26px; margin-right: 10px; }
.site-nav a { font-size: 11px; letter-spacing: .12em; }
.site-nav .menu { gap: 24px; }
.hero { padding: 118px 0 48px; border: 0; background: radial-gradient(ellipse at 35% 35%, rgba(255,255,255,.07), transparent 70%), repeating-conic-gradient(from -2deg at 76% 62%, #71b2e4 0deg 8deg, #62a5dd 8deg 16deg); }
.hero__inner { width: min(1135px, 100% - 48px); grid-template-columns: minmax(0, 670px) minmax(0, 365px); gap: 100px; }
.hero__copy { max-width: none; }
.hero h1 { font-size: 80px; letter-spacing: -.025em; line-height: 1; margin: 0 0 30px; text-shadow: none; }
.hero .eyebrow { font-size: 18px; line-height: 1; padding: 10px 18px; margin-bottom: 28px; transform: rotate(-1.5deg); }
.hero__lead { font-size: 22px; line-height: 1.5; font-weight: 400; max-width: 660px; margin: 0; }
.hero__actions { gap: 18px; margin: 36px 0 36px; }
.hero__actions .btn { font-size: 16px; padding: 15px 32px; letter-spacing: .07em; }
.hero__facts { gap: 10px; flex-wrap: nowrap; }
.hero__facts li { padding: 8px 13px; font-size: 14px; gap: 6px; white-space: nowrap; box-shadow: 2px 2px 0 rgba(20,33,61,.3); }
.hero__facts li::before { width: 21px; height: 21px; }
.hero__facts li:nth-child(2)::before { background-image: url('assets/img/wallet-ink.svg'); }
.hero__facts li:nth-child(3)::before { background-image: url('assets/img/shield-ink.svg'); }
.hero__side { width: 100%; margin: 0; padding: 0; }
.hero__ornaments { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__ornament { position: absolute; width: 560px; height: 448px; max-width: none; top: -40px; }
.hero__ornament--left { left: -110px; clip-path: inset(0 73.8% 0 0); }
.hero__ornament--right { left: calc(100% - 466px); clip-path: inset(0 0 0 81.8%); }
.hero .offer { width: 100%; max-width: none; padding: 30px 30px 22px; border: 4px solid var(--ink); border-radius: 25px; box-shadow: 6px 8px 0 rgba(20,33,61,.45); background: #fffdf7 url('assets/img/paper.svg'); }
.hero .offer::after { border-width: 1.5px; }
.hero .offer__tag { font-size: 13px; line-height: 18px; letter-spacing: .13em; padding: 5px 16px; }
.hero .offer__name { font-size: 40px; line-height: 44px; margin: 20px 0 14px; letter-spacing: -.025em; }
.hero .offer .stars { display: block; font-size: 29px; line-height: 37px; letter-spacing: 5px; margin: 0 0 8px; }
.hero .offer__bonus { font-size: 56px; line-height: 60px; letter-spacing: -.025em; margin: 0; }
.hero .offer__amount { display: block; color: var(--gold); font-size: 62px; line-height: 62px; white-space: nowrap; }
.hero .offer__sub { font-size: 22px; line-height: 28px; margin: 2px 0 20px; }
.hero .offer__list { font-size: 18px; line-height: 28px; gap: 10px; margin: 0 0 18px; }
.hero .offer__list li { gap: 16px; }
.hero .offer__list li::before { width: 26px; height: 26px; border: 0; background: #286ca6; font-size: 21px; font-weight: 600; box-shadow: inset 0 -2px 0 rgba(20,33,61,.22); }
.hero .offer .btn { font-size: 18px; line-height: 22px; letter-spacing: .11em; padding: 16px 10px; background: linear-gradient(115deg, #ffbd09, #f2a900); }
.hero .offer__fine { font-size: 13px; line-height: 18px; margin-top: 12px; }
.stats__grid { width: min(970px, 100% - 32px); }
.stats__item { padding: 21px 8px 18px; }
.stats__num { font-size: 30px; line-height: 36px; }
.stats__label { font-size: 12px; letter-spacing: .06em; }
@media (min-width: 961px) and (max-width: 1250px) {
    .hero__inner { gap: 60px; grid-template-columns: minmax(0, 1fr) 340px; }
    .hero h1 { font-size: clamp(52px, 5.55vw, 70px); }
    .hero__facts { flex-wrap: wrap; }
    .hero .offer { padding-inline: 26px; }
    .hero .offer__name { font-size: 36px; }
    .hero .offer__bonus { font-size: 52px; }
    .hero .offer__amount { font-size: 58px; }
}
@media (max-width: 960px) {
    .hero { padding: 56px 0; }
    .hero__inner { grid-template-columns: 1fr; gap: 64px; }
    .hero__copy { max-width: 670px; }
    .hero h1 { font-size: clamp(44px, 8vw, 76px); }
    .hero__facts { flex-wrap: wrap; }
    .hero__side { width: min(365px, 100% - 16px); margin: auto; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hero__inner { width: calc(100% - 40px); }
    .hero h1 { font-size: 44px; line-height: 1.05; }
    .hero__lead { font-size: 18px; }
    .hero__actions { margin: 28px 0; }
    .hero__side { width: min(365px, 100% - 12px); }
    .hero .offer { padding: 26px 22px 22px; }
    .hero .offer__tag { font-size: 11px; padding: 5px 8px; }
    .hero .offer__name { font-size: 32px; line-height: 38px; }
    .hero .offer__bonus { font-size: 44px; line-height: 50px; }
    .hero .offer__amount { font-size: 48px; line-height: 54px; }
    .hero .offer__list { font-size: 16px; }
}
.hero__inner--no-offer { grid-template-columns: 1fr; }

/* Final optical alignment at the reference viewport. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
.hero h1 { font-size: 76px; line-height: 80px; letter-spacing: -.035em; }
.hero__title-line { display: block; white-space: nowrap; }
.hero__copy { transform: translateY(-10px); }
.hero__actions .btn { font-size: 18px; }
.hero .offer__tag { font-size: 14px; letter-spacing: .14em; padding-inline: 20px; }
.hero .offer .stars { font-size: 31px; letter-spacing: 7px; }
.hero .offer__bonus { letter-spacing: 0; }
.hero .offer__amount { letter-spacing: -.025em; }
.stats__item { line-height: 20px; padding: 20px 8px 17px; }
#ranking { padding-top: 58px; }
@media (max-width: 1250px) and (min-width: 961px) {
    .hero h1 { font-size: clamp(48px, 5.5vw, 68px); line-height: 1.04; }
    .hero .offer__tag { padding-inline: 12px; font-size: 12px; }
}
@media (max-width: 960px) {
    .hero h1 { font-size: clamp(42px, 7.8vw, 72px); line-height: 1.05; }
    .hero__copy { transform: none; }
    .hero__title-line { white-space: normal; }
}

@media (min-width: 1251px) {
    .hero h1 { font-size: 80px; }
    .hero__copy { transform: translateY(-17px); }
    .hero .eyebrow { margin-bottom: 20px; }
    .hero__actions { margin-bottom: 30px; }
    .hero__actions .btn:first-child { min-width: 222px; }
    .hero__actions .btn:nth-child(2) { min-width: 234px; }
    .hero__facts li { padding-inline: 16.5px; }
}
.hero .offer__name { margin-top: 14px; margin-bottom: 10px; }
.hero .offer__sub { margin-bottom: 27px; }
.hero .offer__fine { margin-top: 14px; }
.hero .offer { padding-bottom: 20px; }
.hero__ornament--left { left: -130px; }

.site-brand { display: flex; align-items: center; }
.site-title { font-size: 22px; }
.hero { padding-bottom: 50px; }
.stats__item { padding-bottom: 15px; }
#ranking .section__title { font-size: 32px; }
#ranking .section__title::after { width: 210px; height: 26px; margin-top: 10px; }
@media (max-width: 960px) { .hero { padding-bottom: 56px; } }

.article-cover img{width:100%;height:auto;border-radius:16px}.article-cover{margin:1.5rem 0}.article-cover figcaption{font-size:.8rem;color:#635e55}.entry table{width:100%;border-collapse:collapse}.entry th,.entry td{padding:.75rem;border:1px solid #d7cbbb;text-align:left}.entry{overflow-wrap:anywhere}.entry table{display:block;overflow-x:auto}.editorial-meta{font-size:.88rem;margin-top:2rem}.quick-answer{border-left:4px solid #bd944b;padding:1rem;background:#f7f0e4}
