/* KasinoMalta mockup, 2.12.2026
   Direction "Luzzu": Malta's painted fishing boats (ultramarine hull, yellow, red and green gunwale lines)
   meet a cool Nordic page. One loud place: the hero hull with its stacked paint lines. Everything else quiet. */

:root {
  --ink: #0e2240;        /* harbour night: text, header text, footer */
  --hull: #1d47b3;       /* luzzu ultramarine: hero, links, active states */
  --hull-deep: #14347f;
  --paper: #f3f5f9;      /* cool page */
  --white: #ffffff;
  --line: #d8deea;
  --muted: #56627a;
  --sun: #ffc83a;        /* luzzu yellow: CTA only */
  --sun-deep: #f0b400;
  --red: #d2372a;        /* luzzu red: thin lines, 18+ */
  --green: #11795a;      /* luzzu green: ticks */
  --stone: #ecdcbb;      /* Globigerina limestone: rank tabs, highlights */
  --stone-soft: #f7f0e1;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --text: 700px;
  --r-card: 14px;
  --r-ctl: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--hull); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- skip link ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: var(--r-ctl); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 400 23px/1 var(--serif); letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav > a, .nav summary { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: var(--r-ctl); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover { background: var(--paper); }
.nav > a[aria-current="page"], .nav details.is-current summary { box-shadow: inset 0 -3px 0 var(--hull); border-radius: 0; }
.nav summary svg { width: 12px; height: 12px; transition: transform .15s; }
.nav details[open] summary svg { transform: rotate(180deg); }
.nav details { position: relative; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px; box-shadow: 0 18px 40px -18px rgba(14, 34, 64, .35); }
.dropdown a { display: block; padding: 11px 14px; border-radius: var(--r-ctl); color: var(--ink); text-decoration: none; font-weight: 600; }
.dropdown a small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--paper); }
.dropdown a[aria-current="page"] { color: var(--hull); }
.langs { display: flex; align-items: center; gap: 6px; margin: 0 0 0 8px; padding-left: 18px; border-left: 1px solid var(--line); font-size: 15px; height: 32px; }
.langs strong { font-weight: 700; }
.langs span { color: var(--muted); }
.langs a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 4px 2px; }
.langs a:hover { color: var(--ink); text-decoration: underline; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--white); color: var(--ink); cursor: pointer; }
.burger svg { width: 22px; height: 22px; margin: auto; }

/* ---------- hero: the luzzu hull ---------- */
.hero { position: relative; background: var(--hull); color: var(--white); padding: 44px 0 50px; }
.hero::after { /* gunwale paint lines: yellow, red, green, as on a luzzu */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15px;
  background: linear-gradient(to bottom, var(--hull) 0 2px, var(--sun) 2px 9px, var(--red) 9px 12px, var(--green) 12px 15px);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; }
.crumbs { font-size: 14px; color: #c8d5f5; margin: 0 0 14px; }
.crumbs a { color: #fff; }
.hero h1 { font: 400 50px/1.08 var(--serif); letter-spacing: -0.015em; margin: 0 0 16px; max-width: 26ch; text-wrap: balance; }
.byline { font-size: 15px; color: #d5def6; margin: 0 0 16px; }
.byline a { color: #fff; }
.lead { font-size: 18px; line-height: 1.55; margin: 0 0 22px; max-width: 60ch; color: #eef2fc; }
.lead-phone { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--sun-deep); }
.btn svg { width: 16px; height: 16px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.hero-links a { color: #fff; }

.check-panel { background: var(--hull-deep); border-radius: 18px; padding: 22px 22px 20px; }
.check-panel h2 { font: 400 21px/1.25 var(--serif); margin: 0 0 14px; }
.check-panel ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.check-panel ol li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; color: #e3e9fa; }
.check-panel ol li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.check-panel ul.plain { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-panel ul.plain li { display: block; position: relative; padding-left: 20px; font-size: 15px; line-height: 1.45; color: #e3e9fa; }
.check-panel ul.plain li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--sun); transform: rotate(45deg); }
.hero .wrap.solo { grid-template-columns: minmax(0, 1fr); }
.check-panel a { color: #fff; font-size: 15px; display: inline-block; margin-top: 14px; }

/* ---------- casino grid ---------- */
.grid-sec { padding: 34px 0 30px; }
.grid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.grid-head h2 { font: 400 30px/1.2 var(--serif); margin: 0; }
.grid-head a { font-size: 15px; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px 12px; }
.card.top { border-color: #b9c6e6; box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(29, 71, 179, .55); }
.rank { position: absolute; top: -1px; left: 16px; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 0 0 8px 8px; background: var(--stone); color: var(--ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.logo-plate { height: 84px; margin: 14px 0 12px; border-radius: 10px; background: #0e2240; display: grid; place-items: center; overflow: hidden; }
.logo-plate img { max-height: 84px; width: auto; max-width: 88%; object-fit: contain; }
.card-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.card-name h3, .card-name p { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.2; }
.score { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; }
.score svg { width: 15px; height: 15px; color: var(--sun-deep); }
.offer-label { font-size: 13px; color: var(--muted); margin: 0; }
.offer { font: 700 20px/1.2 var(--sans); letter-spacing: -0.01em; font-variant-numeric: lining-nums; margin: 2px 0 4px; min-height: 2.4em; }
.offer-extra { font-size: 14.5px; color: var(--ink); margin: 0 0 10px; min-height: 2.6em; line-height: 1.35; }
.ticks { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 4px; }
.ticks .yes { color: var(--ink); }
.ticks svg { width: 14px; height: 14px; color: var(--green); }
.pays { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.pays li { height: 26px; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; background: #fff; }
.pays img { height: 14px; width: auto; max-width: 40px; object-fit: contain; }
.pays .txt { font-size: 11.5px; font-weight: 700; color: var(--ink); }
.card .btn { margin-top: auto; height: 46px; width: 100%; font-size: 15.5px; }
.terms { margin: 8px 0 0; font-size: 12px; line-height: 1.35; color: var(--muted); text-align: center; }
.terms .age { color: var(--red); font-weight: 700; }
.grid-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; max-width: 80ch; }

/* ---------- comparison table ---------- */
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.sec-title { font: 400 32px/1.2 var(--serif); margin: 0 0 6px; }
.sec-sub { color: var(--muted); margin: 0 0 20px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
table.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 760px; }
.compare th { background: var(--ink); color: #fff; text-align: left; font-weight: 600; font-size: 14px; padding: 12px 16px; }
.compare td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:nth-child(even) td { background: #f8f9fc; }
.compare td:first-child, .compare th:first-child { position: sticky; left: 0; z-index: 1; }
.compare td:first-child { background: var(--white); font-weight: 700; }
.compare tbody tr:nth-child(even) td:first-child { background: #f8f9fc; }
.compare small { display: block; color: var(--muted); font-size: 13.5px; }
.compare .no { color: var(--muted); }
.table-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* ---------- looking-for switcher ---------- */
.finder { padding: 34px 0; background: var(--stone-soft); border-bottom: 1px solid var(--line); }
.finder .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.finder h2 { font: 400 24px/1.25 var(--serif); margin: 4px 0 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pill { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid #cdbf9f; background: var(--white); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.pill[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder-panel p { margin: 0 0 6px; max-width: 70ch; }
.finder-panel[hidden] { display: none; }

/* ---------- guide layout ---------- */
.guide { padding: 48px 0 30px; }
.guide .wrap { display: grid; grid-template-columns: 250px minmax(0, var(--text)); gap: 64px; justify-content: start; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 15px; }
.toc details { border-top: 1px solid var(--line); padding-top: 14px; }
.toc summary { font-weight: 700; list-style: none; cursor: default; margin-bottom: 8px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc li a.active { color: var(--hull); border-left-color: var(--hull); font-weight: 600; }
.toc .btn { margin-top: 18px; height: 44px; font-size: 15px; width: 100%; }

.prose { min-width: 0; }
.prose > * { max-width: var(--text); }
.prose h2 { font: 400 32px/1.2 var(--serif); margin: 52px 0 14px; letter-spacing: -0.005em; text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; line-height: 1.3; margin: 30px 0 8px; font-weight: 700; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .intro { font-size: 19px; line-height: 1.6; }

.steps { list-style: none; padding: 0 !important; counter-reset: st; display: grid; gap: 12px; }
.steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 60px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); margin: 0; }
.steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--hull); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }

.dtable { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 8px 0 22px; background: var(--white); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.dtable th { text-align: left; background: var(--stone); padding: 11px 14px; font-size: 14px; }
.dtable td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.dtable td:first-child { font-weight: 600; }

/* calculator */
.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; margin: 10px 0 22px; }
.calc h3 { margin: 0 0 14px !important; font: 400 22px/1.25 var(--serif) !important; }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px 14px; }
.calc label, .rtp-demo label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.calc input, .calc select, .rtp-demo input { width: 100%; height: 44px; border: 1px solid #c4cde0; border-radius: var(--r-ctl); padding: 0 12px; font: 500 16px var(--sans); color: var(--ink); background: #fff; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 10px; }
.calc-out div { background: var(--paper); border-radius: var(--r-ctl); padding: 10px 12px; }
.calc-out span { display: block; font-size: 13.5px; color: var(--muted); }
.calc-out strong { font: 700 22px/1.2 var(--sans); font-variant-numeric: lining-nums; }
.calc-out .wager { background: var(--stone-soft); }
.calc small, .rtp-demo small { display: block; color: var(--muted); font-size: 13.5px; }

/* payment box */
.paybox { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; margin: 6px 0 22px; }
.paybox h3 { margin: 0 0 4px !important; font-size: 19px !important; }
.paybox p { margin: 0; color: var(--muted); font-size: 15px; }
.paybox ul { display: grid; grid-template-columns: repeat(3, 64px); gap: 8px; list-style: none; margin: 0; padding: 0; }
.paybox li { height: 38px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; margin: 0; }
.paybox img { height: 20px; width: auto; }
.paybox .txt { font-size: 12px; font-weight: 700; }

/* facts box + compare types */
.facts { background: var(--stone-soft); border: 1px solid var(--stone); border-radius: var(--r-card); padding: 16px 20px; margin: 6px 0 22px; }
.facts p:last-child { margin-bottom: 0; }

.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 22px; padding: 0 !important; list-style: none; max-width: none !important; }
.types li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; margin: 0; font-size: 15.5px; }
.types li.here { border-color: var(--hull); background: #eef2fb; }
.types h3 { margin: 0 0 6px !important; font-size: 18px !important; }
.types p { margin: 0 0 8px; }

/* author + faq */
.author { display: grid; grid-template-columns: 64px 1fr; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; margin: 52px 0 0; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; font: 400 24px var(--serif); }
.author h2 { font: 700 19px/1.3 var(--sans) !important; margin: 0 0 2px !important; }
.author .role { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }
.author p { margin: 0 0 8px; font-size: 15.5px; }
.author-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }

.faq { margin-top: 52px; }
.faq h2 { margin-top: 0 !important; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; font-size: 17px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transform: translateY(-50%); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq details > div { padding: 0 18px 16px; }
.faq details > div p { margin: 0; }

/* ---------- article (blog + legal) ---------- */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.page-hero .crumbs { color: var(--muted); }
.page-hero .crumbs a { color: var(--hull); }
.page-hero h1 { font: 400 44px/1.12 var(--serif); margin: 0 0 14px; max-width: 22ch; text-wrap: balance; letter-spacing: -0.01em; }
.page-hero .byline { color: var(--muted); }
.page-hero .byline a { color: var(--hull); }
.page-hero .lead { color: var(--ink); }
.page-hero.post { position: relative; padding-bottom: 46px; }
.page-hero.post::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: linear-gradient(to bottom, var(--sun) 0 4px, var(--red) 4px 7px); }
.article { padding: 44px 0 30px; }
.article .wrap { display: grid; grid-template-columns: 250px minmax(0, var(--text)); gap: 64px; }
.article.single .wrap { grid-template-columns: minmax(0, var(--text)); justify-content: center; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.blog-list { padding: 36px 0 8px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.post-card .art { height: 150px; background: var(--hull); position: relative; overflow: hidden; }
.post-card .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font: 400 23px/1.25 var(--serif); margin: 0 0 8px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { margin: 0 0 14px; font-size: 15.5px; color: var(--muted); }
.post-card .meta { margin-top: auto; font-size: 14px; color: var(--muted); }

.rtp-demo { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; margin: 10px 0 22px; }
.rtp-demo h3 { margin: 0 0 14px !important; font: 400 22px/1.25 var(--serif) !important; }
.bar { height: 14px; border-radius: 999px; background: var(--paper); overflow: hidden; margin: 6px 0 4px; }
.bar i { display: block; height: 100%; background: var(--hull); }

.related { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.related h2 { font: 700 19px/1.3 var(--sans) !important; margin: 0 0 10px !important; }
.related ul { margin: 0; padding-left: 20px; }

.notice-box { background: var(--white); border: 1px dashed #b9c3d8; border-radius: var(--r-card); padding: 18px 20px; color: var(--muted); }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--ink); color: #c7d0e2; padding: 52px 0 28px; margin-top: 40px; font-size: 15px; }
.site-foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px; background: linear-gradient(to bottom, var(--sun) 0 5px, var(--red) 5px 7px, var(--green) 7px 9px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-foot .brand { color: #fff; margin-bottom: 12px; }
.site-foot h2 { font: 700 15px var(--sans); color: #fff; margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: #e5ebf7; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-rg { margin-top: 34px; padding-top: 20px; border-top: 1px solid #2a3d5f; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.badge18 { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--red); border-radius: 50%; color: #fff; font-weight: 700; font-size: 13px; margin-right: 10px; vertical-align: middle; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .guide .wrap, .article .wrap { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .check-panel { display: none; }
  .finder .wrap { grid-template-columns: 1fr; gap: 10px; }
  .guide .wrap, .article .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { position: static; }
  .toc details { border: 1px solid var(--line); border-radius: var(--r-card); padding: 0; background: var(--white); }
  .toc summary { cursor: pointer; padding: 14px 16px; margin: 0; }
  .toc ol { padding: 0 16px 12px; }
  .toc .btn { display: none; }
  .types { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .site-head .wrap { height: 56px; gap: 12px; padding: 0 14px; }
  .brand { font-size: 20px; }
  .brand svg { width: 24px; height: 24px; }
  .burger { display: grid; }
  .langs { margin-left: auto; padding-left: 0; border-left: 0; font-size: 14px; }
  .nav { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 14px 16px; gap: 2px; box-shadow: 0 20px 30px -20px rgba(14, 34, 64, .4); }
  .nav.open { display: flex; }
  .nav > a, .nav summary { height: 48px; font-size: 17px; }
  .nav > a[aria-current="page"], .nav details.is-current summary { box-shadow: none; border-radius: var(--r-ctl); background: var(--paper); color: var(--hull); }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }

  .hero { padding: 18px 0 26px; }
  .hero::after { height: 11px; background: linear-gradient(to bottom, var(--hull) 0 1px, var(--sun) 1px 6px, var(--red) 6px 8.5px, var(--green) 8.5px 11px); }
  .hero .wrap { padding: 0 14px; }
  .crumbs { font-size: 13px; margin-bottom: 8px; }
  .hero h1 { font-size: 28px; line-height: 1.12; margin-bottom: 8px; max-width: none; }
  .byline { font-size: 13px; margin-bottom: 8px; }
  .lead { display: none; }
  .lead-phone { display: block; font-size: 15.5px; line-height: 1.45; margin: 0; color: #eef2fc; }
  .hero-actions { display: none; }

  .grid-sec { padding: 14px 0 24px; }
  .grid-sec .wrap { padding: 0 10px; display: flex; flex-direction: column; }
  .grid-head { display: contents; }
  .grid-head h2 { order: 2; font-size: 22px; margin: 18px 4px 4px; }
  .grid-head a { order: 3; margin: 0 4px; }
  .cards { order: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .grid-note { order: 4; margin: 8px 4px 0; font-size: 13px; }
  .card { padding: 10px 10px 8px; border-radius: 12px; }
  .rank { left: 10px; height: 22px; min-width: 24px; font-size: 13px; }
  .logo-plate { height: 58px; margin: 12px 0 8px; }
  .logo-plate img { max-height: 58px; }
  .card-name { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 6px; }
  .card-name h3, .card-name p { font-size: 16px; }
  .score { font-size: 14px; }
  .offer-label { font-size: 12px; }
  .offer { font-size: 16.5px; min-height: 2.4em; margin-bottom: 2px; }
  .offer-extra { font-size: 13px; min-height: 2.7em; margin-bottom: 6px; }
  .ticks { font-size: 12px; gap: 2px 8px; margin-bottom: 6px; }
  .pays { display: none; }
  .card .btn { height: 42px; font-size: 14.5px; }
  .terms { font-size: 11px; margin-top: 6px; }

  .band { padding: 32px 0; }
  .sec-title, .prose h2 { font-size: 26px; }
  .prose h2 { margin-top: 40px; }
  .prose .intro { font-size: 17.5px; }
  .calc-out { grid-template-columns: 1fr; }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display: block; }
  .dtable { box-shadow: none; background: none; }
  .dtable thead { display: none; }
  .dtable tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 14px; margin-bottom: 8px; }
  .dtable td { border: 0; padding: 3px 0; hyphens: auto; -webkit-hyphens: auto; }
  .dtable td:first-child { font-size: 16.5px; padding-bottom: 4px; }
  .dtable td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
  .paybox { grid-template-columns: 1fr; }
  .page-hero { padding: 24px 0 26px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero .lead { font-size: 16.5px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- authors (Kasinoluuppi pattern) ---------- */
.avatar-initials { display: grid; place-items: center; border-radius: 50%; background: var(--stone); color: var(--ink); font-family: var(--serif); }
.author-box-sec { margin: 44px 0 0; }
.author-box { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.author-box__img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; font-size: 34px; }
.author-box__text p { margin: 0; }
.author-box__label { font-size: 14px; color: var(--muted); }
.author-box__name { font: 400 24px/1.25 var(--serif); margin: 2px 0 2px !important; }
.author-box__name a { color: var(--ink); text-decoration: none; }
.author-box__name a:hover { text-decoration: underline; }
.author-box__role { font-size: 14.5px; color: var(--muted); margin-bottom: 10px !important; }
.author-box__bio { font-size: 15.5px; margin-bottom: 10px !important; }
.author-box__more { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.author-box__more span { color: var(--muted); }

.author-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 8px 0 24px; max-width: none !important; }
.author-card { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; color: var(--ink); text-decoration: none; }
.author-card:hover { border-color: var(--hull); }
.author-card__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; font-size: 30px; margin-bottom: 8px; }
.author-card b { font: 400 21px/1.25 var(--serif); }
.author-card span { font-size: 14.5px; color: var(--muted); }
.author-card small { font-size: 15px; line-height: 1.5; margin-top: 4px; }
.author-card em { font-style: normal; color: var(--hull); font-weight: 600; font-size: 15px; margin-top: 8px; }

.phero__person { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 28px; align-items: center; }
.phero__photo { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; font-size: 52px; }
.phero h1 { margin-bottom: 8px; }
.author-list { columns: 2; column-gap: 28px; }
.author-list li { break-inside: avoid; }

@media (max-width: 760px) {
  .author-box { grid-template-columns: 72px 1fr; gap: 14px; padding: 16px; }
  .author-box__img { width: 72px; height: 72px; font-size: 24px; }
  .phero__person { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .phero__photo { width: 96px; height: 96px; font-size: 32px; }
  .author-list { columns: 1; }
}

.team-sec { margin-top: 52px; padding-top: 4px; }
.team-sec h2 { margin-top: 0 !important; }
.team-sec .author-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.team-more { margin-top: 4px; }

/* contact form (mailto draft) */
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; margin: 8px 0 22px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-bottom: 12px; }
.cf-wide { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.contact-form label small { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #c4cde0; border-radius: var(--r-ctl); padding: 10px 12px; font: 500 16px var(--sans); color: var(--ink); background: #fff; }
.contact-form input { height: 44px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.cf-note { font-size: 14px; color: var(--muted); margin: 10px 0 0 !important; }
.cf-status { font-weight: 600; color: var(--green); margin: 8px 0 0 !important; }
.cf-error { font-weight: 600; color: var(--red); margin: 0 0 10px !important; }
@media (max-width: 760px) { .cf-grid { grid-template-columns: 1fr; } }
