/* ========================================================================= IlmanRekisterointia.com, Bright Finnish Casino design system Open Sans throughout. Wide containers. No em dashes. ========================================================================= */ @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap'); *, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; } :root { --blue: #2E5BD7; --blue-deep: #1F45B0; --blue-darker: #0F2D7E; --blue-soft: #5B82E5; --blue-bg: #EBF2FB; --blue-bg-2: #DCE7F8; --white: #FFFFFF; --ink: #1A2845; --ink-soft: #3D4A63; --ink-muted: #6B7785; --ink-faint: #9AA4B3; --line: #E0E6ED; --line-soft: #EEF1F5; --red: #E63946; --red-deep: #C8202E; --green: #1FB87A; --green-deep: #168B5A; --gold: #F4B83C; --gold-tint: #FFF6E0; --star: #FFB400; --container: 1200px; --container-wide: 1200px; --container-narrow: 1200px; --container-text: 820px; --t-xs: 0.75rem; --t-sm: 0.875rem; --t-base: 1rem; --t-md: 1.125rem; --t-lg: 1.25rem; --t-xl: 1.5rem; --t-2xl: 1.875rem; --t-3xl: 2.25rem; --t-4xl: 3rem; --t-5xl: 3.75rem; --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 4rem; --s-7: 5rem; --s-8: 6rem; --s-9: 8rem; --r-sm: 6px; --r-md: 10px; --r: 14px; --r-lg: 20px; --r-full: 9999px; --shadow-sm: 0 1px 2px rgba(15, 45, 126, 0.08); --shadow-md: 0 4px 16px rgba(15, 45, 126, 0.10); --shadow-lg: 0 12px 32px rgba(15, 45, 126, 0.14); --shadow-card: 0 2px 12px rgba(15, 45, 126, 0.06), 0 1px 3px rgba(15, 45, 126, 0.04); --transition: 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
} html { font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
} body { background: var(--white); min-height: 100vh; } h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, var(--t-5xl)); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--t-3xl)); }
h3 { font-size: clamp(1.25rem, 2vw, var(--t-2xl)); font-weight: 700; }
h4 { font-size: var(--t-xl); font-weight: 700; }
h5 { font-size: var(--t-lg); font-weight: 700; }
h6 { font-size: var(--t-md); font-weight: 700; } p { font-size: var(--t-base); line-height: 1.7; color: var(--ink-soft); margin-bottom: var(--s-2); }
p.lead { font-size: var(--t-md); line-height: 1.65; color: var(--ink-soft); }
p.lead-large { font-size: var(--t-lg); line-height: 1.55; color: var(--ink-soft); font-weight: 400; } a { color: var(--blue); transition: color var(--transition); }
a:hover { color: var(--blue-deep); }
a.link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; } .eyebrow { display: inline-block; font-size: var(--t-sm); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red);
}
.eyebrow-muted { color: var(--ink-muted); }
.mono { font-family: 'Open Sans', monospace; font-weight: 600; } ::selection { background: var(--blue); color: var(--white); } .container { max-width: var(--container); margin-inline: auto; padding-inline: var(--s-3); }
.container-narrow{ max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--s-3); }
.container-wide { max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--s-3); }
.container-text { max-width: var(--container-text); margin-inline: auto; padding-inline: var(--s-3); }
@media (min-width: 768px) { .container.container-narrow.container-wide.container-text { padding-inline: var(--s-5); }
} .section { padding-block: var(--s-7); }
.section-tight { padding-block: var(--s-5); }
.section-loose { padding-block: var(--s-9); }
.section-blue { background: var(--blue-bg); }
.section-dark { background: var(--blue-darker); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.85); } .divider { height: 1px; background: var(--line); border: none; margin-block: var(--s-5); } .skip-link { position: absolute; top: -40px; left: 0; background: var(--red); color: var(--white); padding: 8px 12px; font-size: var(--t-sm); font-weight: 700; z-index: 1000;
}
.skip-link:focus { top: 0; } .age-strip { background: var(--blue-darker); color: var(--white); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.05em; text-align: center; padding: 10px var(--s-2);
}
.age-strip strong { color: var(--gold); font-weight: 700; } /* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 3px solid var(--blue-bg-2); box-shadow: 0 4px 16px rgba(15, 45, 126, 0.05);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-2); }
.logo { display: flex; align-items: center; gap: 10px; font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.02em; color: var(--blue); }
.logo:hover { color: var(--blue); }
.logo img { height: 48px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 62px; } }
.logo-mark { width: 36px; height: 36px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--white); font-size: 1.05rem; flex-shrink: 0;
}
.logo-mark::after { content: 'iR'; font-weight: 800; }
.logo em { font-style: normal; color: var(--blue); font-weight: 800; } .nav-links { display: none; gap: var(--s-3); align-items: center; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { font-size: var(--t-sm); font-weight: 600; color: var(--ink); padding-block: 6px; border-bottom: 2px solid transparent; transition: border-color var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--blue); border-bottom-color: var(--blue); } .nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: var(--red); color: var(--white) !important; border-radius: var(--r-md); font-size: var(--t-sm); font-weight: 700; border: none !important; transition: all var(--transition);
}
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); color: var(--white) !important; } .nav-toggle { display: flex; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; background: transparent; border: 1px solid var(--line-soft); border-radius: 6px;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }
/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--r-md); font-family: 'Open Sans', sans-serif; font-size: var(--t-base); font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230, 57, 70, 0.30); }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-secondary:hover { background: transparent; color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--blue-bg); color: var(--blue); border-color: var(--blue); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 184, 122, 0.30); }
.btn-ghost { background: transparent; color: var(--blue); padding: 10px 0; }
.btn-ghost:hover { color: var(--blue-deep); }
.btn-large { padding: 18px 32px; font-size: var(--t-md); }
.btn-small { padding: 8px 16px; font-size: var(--t-sm); }
.btn-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 700; color: var(--blue); transition: gap var(--transition);
}
.btn-arrow:hover { gap: 12px; }
.btn-arrow::after { content: '\2192'; } /* ---------- Hero ---------- */
.hero { background: var(--blue); color: var(--white); padding-block: var(--s-5) var(--s-6); position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%); pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero p { color: rgba(255, 255, 255, 0.92); }
.hero .eyebrow { color: var(--gold); } .hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.3fr 1fr; gap: var(--s-6); } } .hero-headline { font-size: clamp(2.25rem, 5.5vw, var(--t-5xl)); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: var(--s-3); color: var(--white);
}
.hero-headline em { font-style: normal; color: var(--gold); font-weight: 800; } .hero-sub { font-size: var(--t-md); color: rgba(255, 255, 255, 0.92); max-width: 58ch; line-height: 1.6; margin-bottom: var(--s-4); } .hero-cta-row { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-4); } .hero-checks { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-3); }
.hero-check { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 600; color: var(--white); }
.hero-check::before { content: '\2713'; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--green); color: var(--white); border-radius: 50%; font-size: 0.78rem; font-weight: 800;
} .hero-aside { background: var(--white); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--shadow-lg); color: var(--ink);
}
.hero-aside h3, .hero-aside h4 { color: var(--ink); }
.hero-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); margin-top: var(--s-3); }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-value { font-size: var(--t-2xl); font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.hero-stat-label { font-size: var(--t-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; } /* legacy hero-meta classes from older pages */
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-label { font-size: var(--t-xs); letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); font-weight: 600; }
.hero-meta-value { font-size: var(--t-sm); color: var(--white); font-weight: 700; }
.hero-meta-value strong { color: var(--gold); font-weight: 800; } /* ---------- Trust strip ---------- */
.ticker { background: var(--white); border-bottom: 1px solid var(--line); padding-block: var(--s-3); }
.ticker-track { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5); align-items: center; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 600; color: var(--ink-soft); }
.ticker-item strong { color: var(--blue); font-weight: 800; }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); } /* ---------- Section header ---------- */
.section-header { display: grid; grid-template-columns: 1fr; gap: var(--s-2); margin-bottom: var(--s-5); align-items: end; }
@media (min-width: 720px) { .section-header { grid-template-columns: 2fr 1fr; gap: var(--s-4); } }
.section-header-text { display: flex; flex-direction: column; gap: 10px; }
.section-header-aside { padding-top: var(--s-2); }
@media (min-width: 720px) { .section-header-aside { border-left: 1px solid var(--line); padding-left: var(--s-3); padding-top: 0; } } /* ---------- Casino card ---------- */
.casino-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.casino-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-3); display: grid; grid-template-columns: 1fr; gap: var(--s-3); transition: all var(--transition); position: relative; box-shadow: var(--shadow-card);
}
@media (min-width: 720px) { .casino-card { grid-template-columns: 56px 200px 1fr 220px; align-items: center; gap: var(--s-4); }
}
.casino-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); } .casino-card-rank { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--ink); font-weight: 800; font-size: var(--t-lg); border-radius: 50%; flex-shrink: 0;
}
.casino-card-rank.is-silver { background: #C9CCD1; }
.casino-card-rank.is-bronze { background: #E0A87C; color: var(--white); } .casino-card-logo { width: 100%; height: 130px; background: linear-gradient(180deg, #FBFCFE, #F4F7FC); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; padding: 16px; border: 1px solid var(--line-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 3px rgba(15, 45, 126, 0.05);
}
.casino-card-rank-placeholder { width: 44px; height: 44px; }
.casino-card-logo img { max-height: 110px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 1px 0 rgba(15, 45, 126, 0.15)); }
.casino-card-logo .logo-placeholder { font-size: var(--t-xl); font-weight: 800; color: var(--blue); } .casino-card-body { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.casino-card-name { font-size: var(--t-xl); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; } .casino-card-rating { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-sm); font-weight: 700; color: var(--ink); background: var(--gold-tint); padding: 3px 10px; border-radius: var(--r-full);
}
.casino-card-rating::before { content: '\2605'; color: var(--star); font-size: 0.95em; } .casino-card-bonus { font-size: var(--t-base); color: var(--ink-soft); line-height: 1.5; margin: 0; }
.casino-card-bonus strong { color: var(--ink); font-weight: 800; font-size: var(--t-md); } .casino-card-facts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: 4px; }
.casino-fact { display: inline-flex; align-items: center; gap: 5px; font-size: var(--t-xs); font-weight: 600; color: var(--ink-soft); background: var(--blue-bg); padding: 4px 10px; border-radius: var(--r-full);
} .casino-card-actions { display: flex; flex-direction: column; gap: var(--s-1); align-items: stretch; }
.casino-card-actions .btn { width: 100%; } /* ---------- Editorial body ---------- */
.editorial, .article-body { max-width: var(--container-text); margin-inline: auto; font-size: var(--t-md); line-height: 1.75; color: var(--ink-soft);
}
.editorial > * + *, .article-body > * + * { margin-top: var(--s-2); }
.editorial h2, .article-body h2 { font-size: 2.25rem; margin-top: var(--s-5); margin-bottom: var(--s-2); color: var(--ink); font-weight: 800; }
.editorial h3, .article-body h3 { font-size: 1.6875rem; margin-top: var(--s-4); margin-bottom: var(--s-2); color: var(--ink); font-weight: 800; }
.editorial h4, .article-body h4 { font-size: var(--t-lg); margin-top: var(--s-3); margin-bottom: var(--s-1); color: var(--ink); font-weight: 700; }
.editorial p, .article-body p { font-size: var(--t-md); line-height: 1.75; color: var(--ink-soft); margin-bottom: var(--s-2); }
.editorial p strong, .article-body p strong { color: var(--ink); font-weight: 700; }
.editorial a, .article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.editorial a:hover, .article-body a:hover { color: var(--red); }
.editorial img, .article-body img { max-width: 100%; height: auto; border-radius: var(--r-md); margin-block: var(--s-3); border: 1px solid var(--line); }
.editorial ul, .editorial ol, .article-body ul, .article-body ol { margin: var(--s-2) 0 var(--s-3); padding-left: 0; }
.editorial li, .article-body li { list-style: none; position: relative; padding-left: var(--s-3); margin-bottom: var(--s-1); font-size: var(--t-md); line-height: 1.7; color: var(--ink-soft);
}
.editorial ul li::before, .article-body ul li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; background: var(--blue); border-radius: 50%;
}
.article-body ol { counter-reset: step; }
.article-body ol li { counter-increment: step; }
.article-body ol li::before { content: counter(step) '.'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--blue); font-size: var(--t-md); }
.editorial blockquote, .article-body blockquote { border-left: 4px solid var(--blue); background: var(--blue-bg); padding: var(--s-3); border-radius: 0 var(--r-md) var(--r-md) 0; margin: var(--s-4) 0; font-size: var(--t-md); font-weight: 600; color: var(--ink); line-height: 1.5;
}
.pull-quote { font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.4; font-weight: 700; color: var(--blue); padding: var(--s-4) 0; text-align: center; margin-block: var(--s-5); border-block: 2px solid var(--line);
}
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-3); transition: all var(--transition); box-shadow: var(--shadow-card); }
.card:hover { border-color: var(--blue); }
.card-link { display: block; color: inherit; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } .article-card { display: flex; flex-direction: column; gap: var(--s-2); height: 100%; }
.article-card-image { aspect-ratio: 16/9; background: var(--blue-bg); border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s-1); }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.article-card-meta { display: flex; gap: var(--s-2); font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); }
.article-card-meta .category { color: var(--red); }
.article-card-title { font-size: var(--t-lg); font-weight: 800; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
.article-card:hover .article-card-title { color: var(--blue); }
.article-card-excerpt { font-size: var(--t-sm); color: var(--ink-muted); line-height: 1.5; } .grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 600px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-6 { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 600px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .grid-6 { grid-template-columns: repeat(6, 1fr); } } /* ---------- Compare table ---------- */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-base); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.compare-table th, .compare-table td { text-align: left; padding: var(--s-2); border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table th { background: var(--blue-bg); font-size: var(--t-xs); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--blue-bg); }
.compare-table .col-name { font-weight: 700; color: var(--ink); }
.compare-table .col-numeric { font-weight: 700; color: var(--blue); }
.table-wrap { overflow-x: auto; margin: var(--s-3) 0; border-radius: var(--r-md); } /* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: var(--s-3) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); font-size: var(--t-md); font-weight: 700; color: var(--ink); transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 800; color: var(--blue); font-size: var(--t-xl); flex-shrink: 0; width: 28px; height: 28px; background: var(--blue-bg); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--blue); }
.faq-item-content { padding-bottom: var(--s-3); color: var(--ink-soft); font-size: var(--t-base); line-height: 1.7; }
.faq-item-content p { margin-bottom: var(--s-2); } /* ---------- Breadcrumbs ---------- */
.breadcrumb { padding: var(--s-2) 0; font-size: var(--t-sm); font-weight: 600; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { color: var(--blue-deep); }
.breadcrumb-sep { color: var(--ink-faint); }
.breadcrumb-current { color: var(--ink); font-weight: 600; } /* ---------- Article hero ---------- */
.article-hero { padding-block: var(--s-6) var(--s-4); background: var(--blue-bg); }
.article-hero h1 { margin-bottom: var(--s-3); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-3); font-size: var(--t-sm); font-weight: 600; color: var(--ink-muted); padding-block: var(--s-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: var(--s-4);
}
.article-meta strong { color: var(--ink); font-weight: 700; }
.article-meta .author-link { color: var(--blue); } /* ---------- Callouts ---------- */
.callout { background: var(--blue-bg); border-left: 4px solid var(--blue); border-radius: 0 var(--r-md) var(--r-md) 0; padding: var(--s-3); margin-block: var(--s-4); }
.callout-amber { background: var(--gold-tint); border-left-color: var(--gold); }
.callout-crimson { background: #FEE; border-left-color: var(--red); }
.callout-label { display: block; font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.callout-amber .callout-label { color: var(--gold); }
.callout-crimson .callout-label { color: var(--red); }
.callout p { margin: 0; color: var(--ink-soft); font-size: var(--t-base); line-height: 1.65; }
.callout p + p { margin-top: var(--s-1); } /* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-3); margin: var(--s-4) 0; padding: var(--s-4); background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-size: var(--t-3xl); font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: var(--t-xs); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; } /* ---------- Category tiles ---------- */
.category-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 600px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .category-grid { grid-template-columns: repeat(6, 1fr); } } .category-tile { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-3) var(--s-2); transition: all var(--transition); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink);
}
.category-tile:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-md); color: var(--ink); }
.category-tile-icon { width: 92px; height: 92px; background: var(--blue-bg); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-2); font-size: 1.75rem; overflow: hidden; padding: 4px; }
.category-tile-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.category-tile-title { font-size: var(--t-base); font-weight: 700; color: var(--ink); line-height: 1.3; } /* ---------- Footer ---------- */
.site-footer { background: var(--blue-darker); color: rgba(255, 255, 255, 0.85); padding-block: var(--s-6) var(--s-3); margin-top: var(--s-7); }
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin-bottom: var(--s-5); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s-5); } }
.footer-brand-block .logo { margin-bottom: var(--s-2); color: var(--white); }
.footer-brand-block .logo-mark { background: var(--gold); color: var(--blue-darker); }
.footer-brand-block p { font-size: var(--t-sm); color: rgba(255, 255, 255, 0.7); max-width: 38ch; line-height: 1.6; }
.footer-col h4 { font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-2); font-weight: 800; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--t-sm); color: rgba(255, 255, 255, 0.85); }
.footer-col a:hover { color: var(--gold); }
.footer-warning { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); padding: var(--s-3) 0; margin-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.footer-warning strong:first-child { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 32px; padding: 0 10px; background: var(--red); color: var(--white); border-radius: var(--r-sm); font-weight: 800; font-size: 0.95rem; flex-shrink: 0; }
.footer-warning span { font-size: var(--t-sm); color: rgba(255, 255, 255, 0.92); line-height: 1.55; }
.footer-warning a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.footer-warning a:hover { color: var(--white); }
.footer-base { display: flex; flex-direction: column; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--t-xs); color: rgba(255, 255, 255, 0.55); }
@media (min-width: 720px) { .footer-base { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-icons { display: flex; gap: var(--s-1); align-items: center; }
.footer-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--r-sm); font-size: var(--t-xs); font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.footer-icon-18 { color: var(--red); border-color: var(--red); font-weight: 800; } /* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; } /* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-full); font-size: var(--t-sm); font-weight: 600; color: var(--ink-soft); transition: all var(--transition); }
a.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip-active { border-color: var(--blue); color: var(--blue); background: var(--blue-bg); } /* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--ink-muted); }
.text-ink.text-bone.text-aurora.text-amber { color: var(--ink); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue-soft { background: var(--blue-bg); }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: var(--s-1); } .gap-2 { gap: var(--s-2); } .gap-3 { gap: var(--s-3); }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; } .serif-italic, .italic-accent { font-style: normal; font-weight: 700; color: var(--blue); } @media print { body { background: white; color: black; } .site-header, .site-footer, .nav-cta, .age-strip, .ticker { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   MINI REVIEW BLOCK (CoinCasino-style detailed review card)
   ============================================================ */
.mini-reviews-stack { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-3); }
.mini-review { position: relative; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 2px 10px rgba(15, 45, 126, 0.06); }
.mini-review-rank { position: absolute; top: -12px; left: -12px; width: 44px; height: 44px; background: var(--gold); color: var(--blue-darker); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

.mini-review-header { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-3); border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, #FAFCFF, #FFFFFF); flex-wrap: wrap; }
.mini-review-brand { display: flex; align-items: center; gap: var(--s-3); flex: 1; min-width: 0; }
.mini-review-logo { width: 160px; height: 160px; background: var(--white); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; padding: 14px; flex-shrink: 0; border: 1px solid var(--line-soft); box-shadow: 0 2px 6px rgba(15, 45, 126, 0.05); }
.mini-review-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mini-review-logo .logo-placeholder { font-size: var(--t-md); font-weight: 800; color: var(--blue); text-align: center; padding: 8px; }
.mini-review-name { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.mini-review-tagline { margin: 6px 0 0 0; color: var(--text-muted); font-size: var(--t-sm); }
.mini-review-jump { font-size: var(--t-sm); font-weight: 700; color: var(--blue); white-space: nowrap; }
.mini-review-jump:hover { color: var(--red); }
@media (max-width: 600px) {
  .mini-review-logo { width: 110px; height: 110px; padding: 8px; }
  .mini-review-name { font-size: 1.3rem; }
}

.mini-review-grid { display: grid; grid-template-columns: 1fr; gap: 0; padding: var(--s-3); }
@media (min-width: 768px) { .mini-review-grid { grid-template-columns: 1.6fr 1fr; gap: var(--s-3); } }

.mini-review-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); padding: var(--s-2); background: var(--blue-bg); border-radius: var(--r-md); }
.proscons-col h4 { margin: 0 0 8px 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); font-weight: 800; }
.pros-list, .cons-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pros-list li, .cons-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.92rem; line-height: 1.4; color: var(--ink); }
.pros-list .check { color: var(--green); font-weight: 800; flex-shrink: 0; }
.cons-list .cross { color: var(--red); font-weight: 800; flex-shrink: 0; }

.mini-review-aside { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-2); }
@media (min-width: 768px) { .mini-review-aside { margin-top: 0; } }
.mini-review-verdict { background: var(--blue-darker); color: var(--white); padding: var(--s-2) var(--s-3); border-radius: var(--r-md); text-align: center; }
.verdict-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); margin-bottom: 4px; font-weight: 700; }
.verdict-score { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.verdict-score strong { font-size: 2.8rem; font-weight: 800; color: var(--gold); line-height: 1; }
.verdict-score span { font-size: 1rem; color: rgba(255,255,255,0.85); font-weight: 600; }

.mini-review-offer { background: var(--blue); color: var(--white); padding: var(--s-2) var(--s-3); border-radius: var(--r-md); text-align: center; display: flex; flex-direction: column; gap: 8px; }
.offer-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.85); font-weight: 700; }
.offer-text { font-size: 0.95rem; font-weight: 600; line-height: 1.3; min-height: 1.6em; }
.offer-cta { display: inline-block; padding: 12px 18px; background: var(--red); color: var(--white) !important; border-radius: var(--r-sm); font-weight: 800; font-size: 0.92rem; text-decoration: none; transition: background var(--transition); }
.offer-cta:hover { background: var(--red-deep); color: var(--white); }

.mini-review-features { padding: var(--s-3); border-top: 1px solid var(--line-soft); background: #FAFCFF; }
.mini-review-features h4 { margin: 0 0 var(--s-2) 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); font-weight: 800; }
.features-grid { display: grid; grid-template-columns: 1fr; column-gap: var(--s-5); row-gap: 0; margin: 0; }
@media (min-width: 600px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr 1fr; } }
.features-grid > div { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.features-grid > div:last-child { border-bottom: none; }
.features-grid dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; margin-bottom: 4px; }
.features-grid dd { margin: 0; font-size: 0.95rem; color: var(--ink); font-weight: 600; }

/* ============================================================
   REVIEW PAGE LAYOUT (individual casino review pages)
   ============================================================ */
.review-hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); align-items: start; }
@media (min-width: 900px) { .review-hero-grid { grid-template-columns: 1.5fr 1fr; gap: var(--s-6); } }
.review-hero-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: var(--s-3); text-align: center; box-shadow: var(--shadow-md); }
.review-logo-box { width: 100%; max-width: 200px; height: 160px; margin: 0 auto var(--s-3); background: var(--white); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--line-soft); }
.review-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.review-logo-box .logo-placeholder { font-size: var(--t-md); font-weight: 800; color: var(--blue); }
.bonus-headline { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.bonus-sub { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
.rating-star { color: var(--gold-deep); font-size: 1.1rem; font-weight: 700; }
.proscons-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 768px) { .proscons-grid { grid-template-columns: 1fr 1fr; } }
.proscons-heading { font-size: 1.2rem; font-weight: 800; margin-bottom: var(--s-2); color: var(--ink); }
.proscons-col { background: var(--blue-bg); padding: var(--s-3); border-radius: var(--r-lg); }
.proscons-col .pros-list, .proscons-col .cons-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.proscons-col .pros-list li, .proscons-col .cons-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.proscons-col .pros-list .check { color: var(--green); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.proscons-col .cons-list .cross { color: var(--red); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.quickfacts-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 1px 4px rgba(15,45,126,0.06); }
.quickfacts-table th, .quickfacts-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
.quickfacts-table th { background: var(--blue-bg); font-weight: 700; color: var(--ink); width: 35%; }
.quickfacts-table td { color: var(--ink-soft); }
.quickfacts-table tr:last-child th, .quickfacts-table tr:last-child td { border-bottom: none; }
.cta-bottom { text-align: center; padding: var(--s-3) 0; }
.cta-bottom h3 { margin-bottom: var(--s-3); font-size: 1.4rem; }

/* ============================================================
   NAVIGATION DROPDOWN MENUS
   ============================================================ */
.nav-links { display: flex; gap: 0; align-items: center; }
.nav-link { padding: 12px 14px; font-size: 0.95rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: color 0.15s; white-space: nowrap; }
.nav-link:hover { color: var(--blue); }
.nav-link.is-active { color: var(--blue); position: relative; }
.nav-link.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--blue); border-radius: 1px; }
.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown.is-active .nav-link { color: var(--blue); }
.nav-item.has-dropdown .nav-link { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.dropdown-caret { font-size: 0.7em; color: var(--text-muted); transition: transform 0.15s; }
.nav-item.has-dropdown:hover .dropdown-caret { transform: rotate(180deg); color: var(--blue); }

.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: 0 12px 32px rgba(15, 45, 126, 0.15);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: all 0.15s ease;
  z-index: 200;
}
.nav-item.has-dropdown:hover > .dropdown-menu,
.nav-item.has-dropdown:focus-within > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a { display: block; padding: 10px 18px; font-size: 0.92rem; color: var(--ink); text-decoration: none; transition: background 0.1s; }
.dropdown-menu a:hover { background: var(--blue-bg); color: var(--blue); }
.dropdown-menu .dropdown-hub { color: var(--blue); border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; margin-bottom: 4px; }
.dropdown-menu .dropdown-hub:hover { background: var(--blue-bg); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* Hide any legacy breadcrumb elements still in DOM */
.breadcrumb, .breadcrumbs, nav[aria-label="Murupolku"] { display: none !important; }

/* ============================================================
   FIXES: wider body, centered logos, cleaner rank badge
   ============================================================ */

/* Readable article column, centered within the unified section frame */
.editorial, .article-body { max-width: 72ch; margin-inline: auto; }

/* Centered logo in review hero */
.review-logo-box {
  margin: 0 auto var(--s-3) !important;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.review-logo-box img {
  display: block; margin: 0 auto;
  max-width: 90%; max-height: 90%;
  object-fit: contain; object-position: center;
}

/* Cleaner rank badge - inline next to name instead of overlay */
.mini-review-rank { display: none; }  /* hide old overlay badge */
.rank-inline {
  display: inline-block; min-width: 36px; padding: 2px 10px;
  margin-right: 12px; vertical-align: middle;
  background: linear-gradient(135deg, var(--gold), #E0A015);
  color: var(--blue-darker); font-weight: 800; font-size: 1rem;
  border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  letter-spacing: 0.5px;
}

/* ============================================================
   MOBILE RESPONSIVE FIXES (≤ 768px)
   ============================================================ */

/* Hide nav-cta everywhere (Top 2026 button removed per request) */
.nav-cta { display: none !important; }

/* Container padding tighter on mobile */
@media (max-width: 768px) {
  .container, .container-narrow, .container-wide, .container-text {
    padding-inline: 16px;
  }
}

/* Mini-review fixes for mobile */
@media (max-width: 768px) {
  /* Mini-review card - prevent overflow */
  .mini-review {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  /* Header: stack logo above content, hide "Lue koko arvostelu" inline link */
  .mini-review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    text-align: left;
  }
  .mini-review-brand {
    width: 100%;
    align-items: flex-start;
    gap: 14px;
  }
  .mini-review-logo {
    width: 90px !important;
    height: 90px !important;
    padding: 8px;
    flex-shrink: 0;
  }
  .mini-review-name {
    font-size: 1.2rem !important;
    line-height: 1.25;
  }
  .mini-review-tagline {
    font-size: 0.85rem;
    margin-top: 4px;
    line-height: 1.4;
  }
  /* Move "Lue koko arvostelu" link to its own line on mobile */
  .mini-review-jump {
    align-self: stretch;
    text-align: right;
    padding-top: 6px;
    border-top: 1px solid var(--line-soft);
    width: 100%;
  }

  /* Rank pill smaller on mobile */
  .rank-inline {
    display: inline-block;
    font-size: 0.85rem;
    padding: 2px 8px;
    min-width: 30px;
    margin-right: 8px;
  }

  /* Pros/Cons stack vertically (was 2 cols, breaks on narrow) */
  .mini-review-proscons {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 12px;
  }
  .mini-review-proscons .proscons-col {
    background: rgba(255,255,255,0.6);
    padding: 12px;
    border-radius: 8px;
  }

  /* Aside cards (verdict + offer) - prevent horizontal overflow */
  .mini-review-aside {
    margin-top: 12px;
    width: 100%;
  }
  .mini-review-verdict, .mini-review-offer {
    width: 100% !important;
    box-sizing: border-box;
    margin: 0;
  }
  .mini-review-offer {
    padding: 14px;
  }
  .offer-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .offer-cta {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    font-size: 1rem;
  }
  .verdict-score strong {
    font-size: 2.2rem;
  }

  /* Features grid - stack on mobile */
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  .mini-review-features {
    padding: 16px;
  }
  .mini-review-features dt {
    font-size: 0.75rem;
  }
  .mini-review-features dd {
    font-size: 0.9rem;
    margin: 0;
  }

  /* Review hero (casino review pages) - stack vertically */
  .review-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .review-hero-card {
    padding: 16px;
  }
  .review-logo-box {
    max-width: 160px;
    height: 140px;
  }
  .hero-cta-row {
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta-row .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Pros/cons grid on review pages */
  .proscons-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hero text smaller on mobile */
  .article-hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.15;
  }
  .lead-large {
    font-size: 1rem !important;
  }

  /* Quickfacts table */
  .quickfacts-table th, .quickfacts-table td {
    padding: 10px 12px;
    font-size: 0.88rem;
  }
  .quickfacts-table th {
    width: 40%;
  }

  /* Casino grid (used on hub pages) - 1 column on mobile */
  .casino-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Buttons - bigger touch targets */
  .btn {
    padding: 12px 18px;
    font-size: 0.95rem;
    min-height: 44px;
    box-sizing: border-box;
  }
  .btn-large {
    padding: 14px 22px;
    font-size: 1rem;
  }

  /* Hide dropdown caret on mobile (covered by menu toggle) */
  .nav-item.has-dropdown .dropdown-caret { display: none; }

  /* Section padding */
  .section, .section-tight, .section-blue {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  /* Article body images don't overflow */
  .article-body img, .editorial img {
    max-width: 100%;
    height: auto;
  }

  /* Tables responsive scroll */
  .article-body table, .editorial table {
    display: block;
    overflow-x: auto;
    width: 100%;
  }

  /* h2 / h3 sizes smaller on mobile */
  .article-body h2, .editorial h2 { font-size: 1.4rem; }
  .article-body h3, .editorial h3 { font-size: 1.2rem; }

  /* Section header stacks (was side-by-side eyebrow + text) */
  .section-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .section-header-aside {
    width: 100%;
  }

  /* Footer grid - already responsive but tighten */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .footer-col h4 {
    margin-top: 8px;
  }

  /* Stats bar / facts row - stack on mobile */
  .stats-row, .hero-stats {
    flex-direction: column;
    gap: 10px;
  }

  /* CTA section bottom */
  .cta-bottom h3 {
    font-size: 1.2rem;
  }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
  .mini-review-logo {
    width: 70px !important;
    height: 70px !important;
  }
  .mini-review-name {
    font-size: 1.05rem !important;
  }
  .article-hero h1 {
    font-size: 1.5rem !important;
  }
}

/* ============================================================
   ROUND 4: Polish + mobile menu accordion + spacing
   ============================================================ */

/* Subtle footer warning line (was loud, now restrained) */
.footer-warning {
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(20, 30, 60, 0.03);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-warning strong { color: var(--blue); font-weight: 800; font-size: 1rem; }
.footer-warning a { color: var(--ink); }

/* Reduce spacing between body content and footer */
.site-footer { padding-top: 40px; padding-bottom: 24px; }
main#main > section:last-of-type { padding-bottom: 24px; }
main#main > section.section-blue:last-of-type { padding-bottom: 32px; }

/* Hide red callout entirely (replaced with footer-warning) */
.callout-crimson { display: none; }

/* Hide ticker section site-wide (was weird on mobile) */
.ticker { display: none; }

/* ===== Mobile menu — clean white popup with accordions ===== */
body.menu-open { overflow: hidden; }
/* Dimmed backdrop below the header (header stays tappable to close) */
body.menu-open::after {
  content: '';
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 998;
}

.mobile-menu {
  position: fixed;
  top: 88px;
  left: 12px;
  right: 12px;
  max-height: calc(100vh - 104px);
  background: #ffffff;
  color: #14171f;
  z-index: 999;
  border: 1px solid #e4e8ef;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.24);
  padding: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Top-level links */
.mobile-menu > a,
.mobile-menu > .nav-item { display: block; border-bottom: none; }
.mobile-menu > a {
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #14171f;
  text-decoration: none;
  border-radius: 10px;
}
.mobile-menu > a:hover,
.mobile-menu > a:active,
.mobile-menu > a.is-active { background: #f2f4f8; color: #14171f; }

/* Row: parent link + accordion toggle */
.mobile-menu-row {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
}
.mobile-menu-row:hover { background: #f2f4f8; }
.mobile-menu-link {
  flex: 1;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #14171f;
  text-decoration: none;
}
.mobile-menu-link:hover { color: #14171f; }
.mobile-menu-toggle {
  background: transparent;
  border: none;
  width: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a6473;
  border-radius: 0 10px 10px 0;
}
.mobile-menu-toggle:hover { color: #14171f; }
.mobile-caret {
  display: inline-block;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.nav-item.is-expanded .mobile-caret { transform: rotate(180deg); color: #14171f; }

/* Accordion body */
.mobile-menu .dropdown-menu {
  position: static !important;
  display: block !important;
  visibility: hidden;
  max-height: 0;
  opacity: 0;
  transform: none !important;
  overflow: hidden;
  background: #f6f8fb;
  border: none;
  border-radius: 10px;
  box-shadow: none;
  padding: 0;
  margin: 0 6px;
  width: auto;
  transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0s 0.28s;
}
.nav-item.is-expanded > .dropdown-menu {
  max-height: 1600px;
  opacity: 1;
  visibility: visible;
  margin: 2px 6px 8px;
  transition: max-height 0.28s ease, opacity 0.2s ease 0.05s;
}
.mobile-menu .dropdown-menu a {
  display: block;
  padding: 11px 16px 11px 26px;
  font-size: 0.94rem;
  font-weight: 500;
  color: #2f3640;
  text-decoration: none;
  border-radius: 8px;
  border-top: none;
}
.mobile-menu .dropdown-menu a:hover,
.mobile-menu .dropdown-menu a:active { background: #e8edf5; color: #14171f; }

/* Hide category tiles on mobile (per request) */
@media (max-width: 768px) {
  .category-tiles, section:has(> .container > .category-tiles) {
    display: none !important;
  }
  /* Fallback for browsers without :has() — target by H2 text */
  .category-tiles-section { display: none !important; }
}

/* Hub card grid - boxes with logos for /kasino-arvostelut/ and /kasino-bonusarvostelu/ */
.review-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 900px) { .review-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .review-cards-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 2px 8px rgba(15,45,126,0.04);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,45,126,0.12);
  border-color: var(--blue);
}
.review-card-logo {
  width: 130px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAFCFF;
  border-radius: 10px;
  padding: 8px;
  border: 1px solid var(--line-soft);
}
.review-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.review-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin: 4px 0 0;
}
.review-card-tagline {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
  min-height: 2.5em;
}
.review-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gold-tint);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #a37300;
}
.review-card-cta {
  margin-top: auto;
  background: var(--blue);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.review-card:hover .review-card-cta { background: var(--blue-deep); }

/* Force ALL hero box logos (review pages too) to be centered exactly like bonus pages */
.review-hero-card { text-align: center; }
.review-hero-card .review-logo-box {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 18px !important;
}
.review-hero-card .review-logo-box img {
  display: block;
  margin: 0 auto !important;
  max-width: 80% !important;
  max-height: 80% !important;
  object-fit: contain;
  object-position: center;
}

/* --- homepage content utilities (added with 2026 content refresh) --- */
.check-list{list-style:none;padding:0;margin:.5rem 0;display:flex;flex-direction:column;gap:.45rem}
.check-list li{position:relative;padding-left:1.5rem;line-height:1.5}
.check-list li::before{content:"✓";position:absolute;left:0;top:0;color:var(--green,#1aa35a);font-weight:700}
.step-list{margin:.5rem 0 .5rem 0;padding-left:1.25rem;display:flex;flex-direction:column;gap:.45rem}
.step-list li{line-height:1.5}
.compare-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.compare-table-wrap .compare-table{min-width:560px}

/* content-page hero (slightly tighter than landing hero) */
.hero-compact{padding-top:3.25rem;padding-bottom:2.25rem;}
.hero-compact .hero-headline{margin-bottom:.75rem;}
.hero-compact .hero-sub{max-width:60ch;}
.casino-card-rating{font-size:.8rem;font-weight:600;color:var(--accent,#16a34a);margin-left:.4rem;white-space:nowrap;}

/* ============ Review listing grid (brand + bonus) ============ */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-3); margin-top: var(--s-4); }
.review-grid-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s-4) var(--s-3); }
.review-grid-card .casino-card-logo { height: 88px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-3); }
.review-grid-card .casino-card-logo img { max-height: 78px; max-width: 80%; width: auto; object-fit: contain; }
.review-grid-card .casino-card-body { flex: 0 0 auto; }
.review-grid-card .casino-card-name { font-size: var(--t-md); margin: 0 0 4px; }
.review-grid-card .casino-card-bonus { font-size: var(--t-sm); color: var(--ink-muted); margin: 0 0 var(--s-3); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.review-grid-card .casino-card-actions { margin-top: auto; width: 100%; }
.review-grid-card .casino-card-actions .btn { width: 100%; }
@media (max-width: 600px) { .review-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* ============ Author profile (E-E-A-T) ============ */
.author-profile { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-2); }
.author-avatar { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: var(--shadow-md); flex: 0 0 auto; }
.author-avatar-ph { width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-darker)); color: #fff; font-size: 2.6rem; font-weight: 800; letter-spacing: .02em; flex: 0 0 auto; }
.author-profile .author-profile-text { flex: 1 1 280px; }
.author-credentials { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); margin-top: var(--s-2); list-style: none; padding: 0; }
.author-credentials li { font-size: var(--t-sm); background: var(--blue-bg); color: var(--blue-darker); padding: 4px 12px; border-radius: var(--r-full); font-weight: 600; }
.author-pending { font-size: var(--t-xs); color: var(--ink-faint); margin-top: 6px; }

/* Affiliate disclosure */
.footer-disclosure { max-width: 1200px; margin: var(--s-3) auto 0; padding: var(--s-3); border-top: 1px solid rgba(255,255,255,0.12); }
.footer-disclosure span { font-size: var(--t-xs); color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-disclosure strong { color: rgba(255,255,255,0.75); }

/* Visible review byline (E-E-A-T) */
.review-byline { display: flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-muted); margin-top: var(--s-2); }
.review-byline a { color: var(--blue-darker); font-weight: 600; text-decoration: none; }
.review-byline a:hover { text-decoration: underline; }
.review-byline time { color: var(--ink-faint); }

/* ============================================================
   MOBILE RESPONSIVENESS PASS (Finnish market UX)
   ============================================================ */

/* FIX: desktop nav links must be hidden below 1024px (a later rule
   forced display:flex unconditionally, causing overflow on phones) */
@media (max-width: 1023px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }
}

/* Tables never break the viewport on mobile */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-block: var(--s-3); border-radius: var(--r-md); }
.table-scroll > table { min-width: 0; }
img, table, iframe, video { max-width: 100%; }
@media (max-width: 600px) {
  .compare-table th, .compare-table td,
  .quickfacts-table th, .quickfacts-table td { padding: 10px 12px; font-size: 0.88rem; }
  .compare-table-wrap .compare-table { min-width: 480px; }
}

/* Comfortable tap targets on touch devices */
@media (max-width: 1023px) {
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .footer-col a, .dropdown-menu a, .mobile-menu a { min-height: 40px; display: flex; align-items: center; }
}

/* Mobile spacing + typography rhythm */
@media (max-width: 640px) {
  .section, .section-blue { padding-block: var(--s-5); }
  .section-tight { padding-block: var(--s-4); }
  .article-hero { padding-block: var(--s-4); }
  h1, .hero-headline { font-size: clamp(1.7rem, 7.5vw, 2.2rem); line-height: 1.15; }
  h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .lead-large { font-size: 1.05rem; }
  .casino-grid, .grid-3, .grid-4, .grid-6, .review-grid { gap: var(--s-3); }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .proscons-grid { gap: var(--s-3); }
  .author-profile { gap: var(--s-3); }
  .author-avatar, .author-avatar-ph { width: 88px; height: 88px; font-size: 2rem; }
}

/* Casino card: tighten the stacked mobile layout */
@media (max-width: 719px) {
  .casino-card { text-align: left; }
  .casino-card-logo { height: 96px; }
  .casino-card-rank { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; font-size: 1rem; }
  .casino-card-facts { gap: 6px; }
}

/* Compliant-but-subtle affiliate disclosure near commercial content */
.affiliate-note { font-size: var(--t-xs); color: var(--ink-muted); background: var(--blue-bg); border-left: 3px solid var(--blue-soft); padding: 8px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 auto var(--s-3); line-height: 1.5; }
.affiliate-note strong { color: var(--ink-soft); font-weight: 700; }

/* ============================================================
   DESIGN POLISH v2 — balanced heroes, consistent reading width,
   tidier footer (fixes uneven section widths on body & footer)
   ============================================================ */

/* Info-page heroes (.hero-compact): center the content into a balanced
   column so the blue band is no longer half-empty on the right */
.hero-compact { padding-block: var(--s-5) var(--s-5); text-align: center; }
.hero-compact > .container { max-width: 900px; margin-inline: auto; }
.hero-compact .hero-headline { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.hero-compact .hero-sub { max-width: 720px; margin-inline: auto; text-align: left; }
.hero-compact .hero-cta-row, .hero-compact .hero-checks { justify-content: center; }
.hero-compact .eyebrow { margin-bottom: var(--s-1); }

/* ONE consistent reading column for prose AND FAQ so adjacent
   sections line up instead of jumping between narrow & full width */
.editorial, .article-body { max-width: 820px; margin-inline: auto; }
.container-text { max-width: 820px; }
.faq-item { max-width: 820px; margin-inline: auto; }
.container:has(> .faq-item),
.container:has(details.faq-item) { max-width: 820px; }
/* center the heading that sits above a centered FAQ/prose block */
.section:has(details.faq-item) > .container > h2:first-child { text-align: center; }

/* Footer trust badges — clean outlined pills instead of bare text */
.footer-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer-icon { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 12px; border: 1px solid rgba(255,255,255,0.28); border-radius: var(--r-full); font-size: var(--t-xs); font-weight: 700; letter-spacing: .02em; color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-icon:hover { border-color: var(--gold); color: var(--gold); }
.footer-icon-18 { background: var(--red); border-color: var(--red); color: #fff; }
.footer-disclosure { max-width: 880px; margin-inline: 0; }

/* Slightly richer empty-looking tiles (payment / recommendation cards) */
.category-tile { padding: var(--s-4) var(--s-3); }
.category-tile:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============================================================
   TYPOGRAPHIC SCALE — clear, logical hierarchy (≈1.25 ratio)
   body 17 · h4 21 · h3 27 · h2 33 · h1 46
   ============================================================ */
:root {
  --fs-body: 1.0625rem;  /* 17px */
  --fs-h4: 1.3125rem;    /* 21px */
  --fs-h3: 1.6875rem;    /* 27px */
  --fs-h2: 2.25rem;      /* 36px */
  --fs-h1: 3.25rem;      /* 52px */
}
body { font-size: var(--fs-body); }
p, li { font-size: var(--fs-body); line-height: 1.7; }

/* one scale for all headings, clearly stepped */
h1 { font-size: clamp(2.1rem, 4.5vw, var(--fs-h1)); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, var(--fs-h2)); font-weight: 800; line-height: 1.18; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.35rem, 2.2vw, var(--fs-h3)); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; }

/* content-area headings: same scale + spacing rhythm that reinforces hierarchy */
.editorial h2, .article-body h2 { font-size: clamp(1.75rem, 3.4vw, var(--fs-h2)); font-weight: 800; margin-top: 2.6rem; margin-bottom: 0.9rem; }
.editorial h3, .article-body h3 { font-size: clamp(1.35rem, 2.2vw, var(--fs-h3)); font-weight: 700; margin-top: 1.9rem; margin-bottom: 0.55rem; }
.editorial h4, .article-body h4 { font-size: var(--fs-h4); font-weight: 700; margin-top: 1.4rem; margin-bottom: 0.4rem; }
.editorial p, .article-body p, .editorial li, .article-body li { font-size: var(--fs-body); line-height: 1.75; }
.editorial > :first-child, .article-body > :first-child { margin-top: 0; }

/* keep lead paragraph distinct from body */
.lead-large { font-size: clamp(1.15rem, 1.6vw, 1.375rem); line-height: 1.55; }

/* mobile tightening (wins, placed last) */
@media (max-width: 640px) {
  h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.2rem; }
  .editorial h2, .article-body h2 { margin-top: 2rem; }
}

/* ============================================================
   UNIFORM SECTION WIDTH — every section aligns to one width
   ============================================================ */
:root { --container: 1120px; --container-wide: 1120px; --container-narrow: 1120px; --container-text: 1120px; }
.container, .container-narrow, .container-wide, .container-text { max-width: 1120px; margin-inline: auto; }
.editorial, .article-body { max-width: 1120px; margin-inline: auto; }   /* uniform width, even when combined with .container */
.faq-item { max-width: 100%; margin-inline: 0; }
.container:has(> .faq-item), .container:has(details.faq-item) { max-width: 1120px; }
.hero-compact > .container { max-width: 1120px; }
.hero-compact .hero-sub { max-width: 760px; }
.footer-disclosure { max-width: 1120px; }

/* ============================================================
   AFFILIATE DISCLOSURE — slim, subtle top strip (relocated)
   ============================================================ */
.ad-disclosure { background: var(--blue-bg); border-bottom: 1px solid var(--line-soft); }
.ad-disclosure .container { padding-block: 7px; }
.ad-disclosure-inner { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.78rem; color: var(--ink-muted); line-height: 1.45; text-align: center; }
.ad-disclosure-inner svg { width: 15px; height: 15px; flex: 0 0 auto; opacity: 0.6; }
.ad-disclosure-inner strong { color: var(--ink-soft); font-weight: 700; }
.ad-disclosure-inner a { color: var(--blue); font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .ad-disclosure-inner { font-size: 0.72rem; gap: 6px; } .ad-disclosure-inner svg { width: 13px; height: 13px; } }

/* Fix: links inside blue heroes were invisible (blue on blue) */
.hero a, .hero-compact a, .hero-headline a, .hero-sub a, .hero p a { color: #ffffff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.hero a:hover, .hero-compact a:hover, .hero-sub a:hover { color: var(--gold); }

/* ============================================================
   Review hero — CTA inside the card (stacked, full-width) + meta
   ============================================================ */
.review-hero-card { display: flex; flex-direction: column; align-items: center; }
.review-hero-card .review-logo-box { margin-left: auto; margin-right: auto; }
.review-hero-cta { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: var(--s-3); }
.review-hero-cta .btn { width: 100%; justify-content: center; }
.review-hero-meta { font-size: 0.85rem; color: var(--ink-muted); margin-top: var(--s-3); }
.review-hero-card .bonus-headline { margin-top: 4px; }

/* ============================================================
   Author box in main-page heroes (blue hero, white text)
   ============================================================ */
.hero-author { display: inline-flex; align-items: center; gap: 10px; justify-content: center; margin: var(--s-2) auto 0; padding: 5px 16px 5px 5px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--r-full); font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.hero-author-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.55); background: #fff; flex: 0 0 auto; }
.hero-author-text a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.hero-author-text a:hover { color: var(--gold); }
@media (max-width: 600px) { .hero-author { font-size: 0.82rem; } .hero-author-avatar { width: 32px; height: 32px; } }

/* ===== Nested submenu: Bonukset -> Kasino Bonusarvostelu -> reviews ===== */
.dropdown-menu .nav-subitem { position: relative; }
.dropdown-menu .nav-subitem > .nav-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; font-size: 0.92rem; color: var(--ink); cursor: pointer; }
.dropdown-menu .nav-subitem > .nav-link:hover { background: var(--blue-bg); color: var(--blue); }
.dropdown-menu .nav-subitem > .dropdown-menu { top: -8px; left: 100%; min-width: 220px; }
.dropdown-menu .nav-subitem:hover > .dropdown-menu,
.dropdown-menu .nav-subitem:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu .nav-subitem > .nav-link .dropdown-caret { transform: none; font-size: 0.8em; }
/* footer: support up to 4 link columns + brand */
.footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
/* mobile nested accordion indent */
.mobile-menu .dropdown-menu .nav-subitem > .dropdown-menu a { padding-left: 42px; }

/* ===== Author box: spacing + light-bg variant + initials avatar ===== */
.hero-author { margin-top: var(--s-3); margin-bottom: var(--s-3); }
.hero-author--onlight { background: var(--blue-bg); border-color: var(--line); color: var(--ink-soft); }
.hero-author--onlight .hero-author-avatar { border-color: var(--line); }
.hero-author--onlight .hero-author-text a { color: var(--blue); }
.hero-author--onlight .hero-author-text a:hover { color: var(--blue-darker); }
.hero-author-initials { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.82rem; flex: 0 0 auto; background: var(--blue); color: #fff; letter-spacing: 0.02em; }
@media (max-width: 600px) { .hero-author-initials { width: 32px; height: 32px; font-size: 0.75rem; } }

/* ===== Author avatar next to review/news bylines ===== */
.byline-avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.72rem; background: var(--blue); color: #fff; flex: 0 0 auto; }
.byline-avatar-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: #fff; flex: 0 0 auto; }
.article-meta { align-items: center; gap: 14px; }

/* ===== Homepage detailed-review brand logo ===== */
.review-block-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-2); }
.review-block-logo { width: 76px; height: 76px; flex: 0 0 auto; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; padding: 10px; box-shadow: 0 2px 6px rgba(15,45,126,0.05); }
.review-block-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.review-block-logo .logo-placeholder { font-size: 0.95rem; font-weight: 800; color: var(--blue); text-align: center; line-height: 1.1; }
.review-block-head h3 { margin: 0; }
@media (max-width: 600px) { .review-block-logo { width: 60px; height: 60px; padding: 7px; } }

/* ===== Table of contents box ===== */
.toc-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); margin: var(--s-4) 0; box-shadow: var(--shadow-sm); }
.toc-box > h4, .toc-box > h2, .toc-box > h3 { margin: 0 0 var(--s-2); font-size: var(--t-lg); color: var(--ink); }
.toc-box .check-list { margin: 0; }

/* Payment-provider cards: 2-col feature grid inside narrow cards (avoids 3-col crowding) */
.grid-3 .features-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .grid-3 .features-grid { grid-template-columns: 1fr; } }

/* ===== Quick-start payment list (replaces white category boxes) ===== */
.quickstart-list { list-style: none; margin: calc(var(--s-3) * -1) 0 0; padding: 0; display: grid; gap: 0; }
.quickstart-list li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--t-md); color: var(--ink-soft); line-height: 1.45; }
.quickstart-list li:last-child { border-bottom: none; }
.quickstart-list a.link { font-weight: 700; color: var(--blue); }
/* ===== Slim inline disclosure above brand table ===== */
.ad-disclosure-mini { font-size: var(--t-xs); color: var(--ink-faint); margin: 0 0 var(--s-3); }
.ad-disclosure-mini a { color: var(--ink-muted); text-decoration: underline; }

/* ===== Generic data table (comparison / pros-cons) ===== */
.data-table { width: 100%; border-collapse: collapse; margin: var(--s-3) 0; font-size: var(--t-md); }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.data-table thead th { background: var(--blue-bg); color: var(--ink); font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: var(--blue-bg); }
.data-table a.link { font-weight: 600; }
@media (max-width: 640px) { .data-table th, .data-table td { padding: 8px 10px; font-size: var(--t-sm); } }

/* ===== Mobile: tighter author pill (issue: too much padding on mobile) ===== */
@media (max-width: 600px) {
  .hero-author { margin-top: var(--s-2); margin-bottom: var(--s-2); padding: 4px 12px 4px 4px; gap: 8px; font-size: 0.82rem; }
  .hero-author-avatar { width: 32px; height: 32px; }
}

/* ===== "Arvostelu tulossa" disabled button — clean look instead of faded opacity ===== */
.btn.btn-soon { background: var(--blue-bg); color: var(--ink-muted); border-color: var(--line); cursor: default; box-shadow: none; }
.btn.btn-soon:hover { background: var(--blue-bg); color: var(--ink-muted); transform: none; }

/* ===== White button text on dark / coloured backgrounds ===== */
/* Outline & secondary buttons placed on the blue hero or any dark band
   must use white text + a light border so they read clearly. On white
   page sections the outline button keeps its dark text (white would be
   invisible there). */
.hero .btn-outline,
.section-dark .btn-outline,
.bg-blue .btn-outline,
.cta-band .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn-outline:hover,
.section-dark .btn-outline:hover,
.bg-blue .btn-outline:hover,
.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}
/* Solid action buttons: guarantee white label everywhere */
.btn-primary, .btn-green, .nav-cta, .offer-cta, .review-card-cta {
  color: var(--white);
}

/* ===== Crypto casino cards: clean vertical layout (3-up desktop + stacked mobile) ===== */
.crypto-card.casino-card {
  display: flex !important;                 /* override the 720px horizontal grid layout */
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-3);
  text-align: center;
}
.crypto-card .casino-card-body { flex: 1 1 auto; }   /* push actions to the bottom for equal-height cards */
.crypto-card .casino-card-actions { margin-top: auto; }
.crypto-card .casino-card-rank {
  position: absolute !important;
  top: 14px; left: 14px; right: auto;
  width: 36px; height: 36px; font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.28);
  z-index: 2;
}
.crypto-card .casino-card-logo {
  width: 100%;
  height: 92px;
  background: #000;
  border: 1px solid #1a1d26;
  border-radius: var(--r-md);
  box-shadow: none;
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: center;
}
.crypto-card .casino-card-logo img {
  max-height: 100%; max-width: 100%; width: auto;
  object-fit: contain;
  filter: none;
}
.crypto-card .casino-card-body {
  align-items: center;
  text-align: center;
  gap: 8px;
}
.crypto-card .casino-card-name { justify-content: center; }
.crypto-card .casino-card-facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.crypto-card .casino-card-actions { width: 100%; }

/* ===== Table of contents — collapsible dropdown with arrow ===== */
.toc-dropdown { padding: 0; overflow: hidden; }
.toc-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  font-size: var(--t-lg);
  font-weight: 800;
  color: var(--ink);
  user-select: none;
}
.toc-dropdown > summary::-webkit-details-marker { display: none; }
.toc-dropdown > summary::after {
  content: '';
  width: 9px; height: 9px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-right: 4px;
  flex-shrink: 0;
}
.toc-dropdown[open] > summary::after { transform: rotate(-135deg); }
.toc-dropdown > summary:hover { color: var(--blue); }
.toc-dropdown > .check-list {
  padding: 0 var(--s-4) var(--s-3);
  margin: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: var(--s-3);
}
