/*
Theme Name: Casinos Verificado
Theme URI: https://casinosverificado.com/
Author: Casinos Verificado
Description: Verificação independente dos casinos online legais em Portugal no registo do SRIJ. +18.
Version: 1.0.1
Requires PHP: 7.4
Text Domain: casinosverificado
*/

:root {
  --bg: #f3f6f9;
  --paper: #ffffff;
  --ink: #0d1b2a;
  --ink-2: #34465a;
  --muted: #637487;
  --line: #dbe3eb;
  --teal: #1b7f4d;
  --teal-2: #e4f3ea;
  --coral: #d0452f;
  --sand: #e9eef3;
  --radius: 10px;
  --shell: 1160px;
  --serif: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --cc-bg: #ffffff; --cc-fg: #0d1b2a; --cc-btn-bg: #0d1b2a; --cc-btn-fg: #ffffff; --cc-border: #dbe3eb; --cc-focus: #1b7f4d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.18; color: var(--ink); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* шапка */
.topstrip { background: var(--ink); color: #e9edf3; font-size: 13px; text-align: center; padding: 7px 16px; letter-spacing: .01em; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 21px var(--serif); }
.brand img { border-radius: 8px; }
.brand .mono { width: 36px; height: 36px; border-radius: 9px; font-size: 15px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--teal); }
.age { border: 2px solid var(--coral); color: var(--coral); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 2px 9px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }

/* hero */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero-text { max-width: 640px; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 48px rgba(19, 35, 58, .22); }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 26px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: var(--teal); margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 760px; }
.byline { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.hero-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; font-size: 15px; color: var(--ink-2); }
.hero-facts b { font: 700 24px var(--serif); color: var(--ink); margin-right: 6px; }

/* секции */
.section { padding: 56px 0; }
.section.alt { background: var(--sand); }
.section.rg { background: var(--teal-2); }
.section-lead { color: var(--ink-2); max-width: 820px; }
.note { font-size: 15px; color: var(--muted); margin-top: 22px; }

.scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 24px; }
.scenario { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; border-top: 4px solid var(--teal); }
.scenario p { font-size: 15px; color: var(--ink-2); }
.sc-list { font-size: 14.5px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin-top: 26px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.card-top { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; }
.pos { font: 700 15px var(--sans); color: var(--muted); }
.mono { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 21px var(--serif); }
.card-name h3 { margin: 0; font-size: 20px; }
.op { margin: 0; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.score { display: inline-flex; align-items: baseline; gap: 2px; background: var(--teal-2); color: var(--teal); border-radius: 10px; padding: 6px 10px; }
.score b { font: 700 22px var(--serif); }
.score small { font-size: 12px; }
.facts { margin: 16px 0 10px; display: grid; gap: 6px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 8px; font-size: 14.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.checked { font-size: 13px; color: var(--teal); margin: 0 0 6px; }
.terms { font-size: 12.5px; color: var(--muted); }
.card-btns { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 10px; border: 2px solid var(--ink); }
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

.steps { padding-left: 22px; }
.steps li { margin-bottom: 10px; }
.method { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.method div { background: var(--paper); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
.method h3 { font-size: 18px; }
.method h3 span { font: 700 14px var(--sans); color: var(--teal); margin-left: 6px; }
.method p { font-size: 15px; color: var(--ink-2); margin: 0; }

.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item h3, .faq-item h2 { font-size: 19px; margin-bottom: 6px; }
.faq-item p { margin: 0; color: var(--ink-2); }

.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.guide-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.guide-card h3, .guide-card h2 { font-size: 19px; }
.guide-card h3 a, .guide-card h2 a { color: var(--ink); text-decoration: none; }
.guide-card p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* внутренние */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 34px 0 26px; }
.page-hero p { color: var(--ink-2); max-width: 820px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 820px; padding: 36px 0 56px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table, .table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--sand); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1em; }
.registry { min-width: 760px; }
.kv th { width: 44%; color: var(--ink-2); font-weight: 600; }
.cats { list-style: none; padding: 0 !important; columns: 2; }
.cats li.on::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.cats li.off { color: var(--muted); }
.cats li.off::before { content: "– "; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.proscons > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px 10px; }
.review { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
.review .prose { grid-column: 1; grid-row: 1; }
.review-box { grid-column: 2; grid-row: 1; position: sticky; top: 90px; margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.review-box .score b { font-size: 34px; }
.review-box .btn { display: block; margin: 12px 0; }
.sources { font-size: 14.5px; }

/* подвал */
.site-footer { background: var(--ink); color: #d4dbe5; padding: 40px 0 26px; font-size: 14.5px; }
.site-footer a { color: #ffffff; }
.footer-statement { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 14px 16px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-top: 26px; }
.footer-title { font: 700 16px var(--serif); color: #fff; margin-bottom: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links.col { flex-direction: column; }
.copyright { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 26px; padding-top: 16px; font-size: 13px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 14px 20px; gap: 14px; }
  .nav.open { display: flex; }
  .site-header { position: relative; }
  .review { grid-template-columns: 1fr; gap: 0; }
  .review-box { grid-column: 1; grid-row: 1; position: static; margin-top: 22px; }
  .review .prose { grid-row: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .proscons { grid-template-columns: 1fr; }
  .cats { columns: 1; }
  .hero { padding: 38px 0 30px; }
  .section { padding: 42px 0; }
}

/* --- casinosverificado: тёмный hero, карточки строками, чек-листы --- */
.hero { background: linear-gradient(135deg, #0d1b2a 0%, #13314a 100%); border-bottom: 0; }
.hero h1, .hero .hero-facts b { color: #ffffff; }
.hero .lead { color: #d7e1ea; }
.hero .byline, .hero .byline a { color: #a9bccd; }
.hero .eyebrow { color: #7fd3a4; }
.hero-facts li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #d7e1ea; }
.hero-inner.no-art { grid-template-columns: 1fr; }
.site-header { background: #ffffff; }
.brand .mono { background: var(--teal); }
.cards.rows { grid-template-columns: 1fr; gap: 12px; }
.cards.rows .card { display: grid; grid-template-columns: minmax(250px, 1.1fr) 1.2fr 1fr auto; gap: 18px; align-items: center; padding: 16px 20px; }
.cards.rows .card .facts { margin: 0; }
.cards.rows .card .checked, .cards.rows .card .terms { grid-column: 1 / -1; margin: 0; }
.cards.rows .card-btns { margin: 0; flex-direction: column; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; }
.checks li::before { font-weight: 800; margin-right: 6px; }
.checks li.yes::before { content: "✓"; color: var(--teal); }
.checks li.no { color: var(--muted); }
.checks li.no::before { content: "–"; color: var(--coral); }
.checks.big { font-size: 16px; gap: 8px; margin-bottom: 1em; }
.verify-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.verify-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; }
.verify-steps .num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; }
.verify-steps h3 { font-size: 17px; margin-bottom: 6px; }
.verify-steps p { font-size: 15px; color: var(--ink-2); margin: 0; }
.flags { list-style: none; padding: 0; }
.flags li { background: #fff4f1; border-left: 4px solid var(--coral); padding: 10px 14px; margin-bottom: 8px; border-radius: 6px; }
@media (max-width: 900px) {
  .cards.rows .card { grid-template-columns: 1fr; }
  .cards.rows .card-btns { flex-direction: row; }
}
.cards.rows .card .checked, .cards.rows .card .terms { order: 5; }
