/*
Theme Name: Siru Mobile kasinot
Theme URI: https://sirumobilekasinot.io/
Author: Siru Mobile kasinot
Description: Finnish guide to small phone-bill deposits at online casinos. Paper-and-charcoal single column, a price chooser instead of a hero image, and figures set in a monospace so they read as numbers rather than as copy.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
License: GPL-2.0-or-later
Text Domain: sirumobilekasinot
*/

:root {
	--paper: #f7f6f3;
	--card: #ffffff;
	--ink: #16181c;
	--ink-2: #4a5160;
	--ink-3: #757d8b;
	--line: #e4e2dc;
	--line-2: #cbc8bf;
	--red: #e3001b;
	--red-d: #ab0016;
	--red-l: #fdf0f1;
	--teal: #0f766e;
	--teal-d: #0b5d57;
	--teal-l: #e7f3f1;
	--amber: #8a5d00;
	--amber-l: #fdf4e3;
	--r: 6px;
	--r-lg: 10px;
	--w: 1060px;
	--w-text: 68ch;
	--mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
img, svg, iframe { max-width: 100%; height: auto; }
html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Figtree, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; font-weight: 700; letter-spacing: -.018em; }
h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.3vw, 27px); }
h3 { font-size: clamp(17px, 1.6vw, 20px); }
p { margin: 0 0 15px; }
a { color: var(--teal-d); text-underline-offset: 2px; }
a:hover { color: var(--red-d); }
b, strong { font-weight: 700; }

.wrap { width: min(100% - 34px, var(--w)); margin-inline: auto; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ------------------------------------------------------------- buttons -- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	padding: 11px 19px; border-radius: var(--r); border: 1px solid transparent;
	font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
	transition: background .14s, border-color .14s, color .14s;
}
.btn-go { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-go:hover { background: var(--teal-d); color: #fff; }
.btn-out { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-out:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ------------------------------------------------------------- chrome --- */
.strip {
	background: var(--ink); color: #c6ccd6; font-size: 12.5px; padding: 6px 0;
}
.strip .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; }
.strip b { color: #fff; }
.strip a { color: #8fe3d6; text-decoration: none; }
.strip a:hover { text-decoration: underline; }

.mast { background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 0; }
.mast .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 27px; display: block; border-radius: 4px; }
.brand span { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.025em; }
.brand em { font-style: normal; color: var(--ink-3); font-weight: 700; }

/* --------------------------------------------------------------- hero --- */
.open { padding: 30px 0 6px; }
.kicker {
	display: inline-block; margin-bottom: 11px; padding: 3px 9px;
	background: var(--red-l); color: var(--red-d); border-radius: 4px;
	font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.open h1 { max-width: 20ch; }
.intro { font-size: 17.5px; color: var(--ink-2); max-width: var(--w-text); }
.intro p { margin: 0 0 12px; }
.intro p:last-child { margin-bottom: 0; }
.intro strong { color: var(--ink); }

.byline {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
	margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line);
	font-size: 13px; color: var(--ink-3);
}
.by-p { display: inline-flex; align-items: center; gap: 7px; }
.byline b { color: var(--ink-2); }
.byline a { color: var(--ink-2); }
.face { border-radius: 4px; display: block; flex: none; background: var(--line); }
.face-sm { width: 26px; height: 26px; }
.face-lg { width: 104px; height: 104px; border-radius: 8px; }
.person { margin: 0 0 16px; }

/* ------------------------------------------------------ price chooser --- */
.calc {
	margin: 24px 0 8px; background: var(--ink); color: #e8ebf0;
	border-radius: var(--r-lg); padding: 22px 24px 20px;
}
.calc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.calc-head h2 { color: #fff; margin: 0; font-size: 21px; }
.calc-head span { font-size: 12.5px; color: #8e97a6; }
.calc-tabs { display: flex; gap: 7px; margin: 16px 0 18px; flex-wrap: wrap; }
.calc-tab {
	font-family: var(--mono); font-size: 15px; font-weight: 700;
	padding: 8px 16px; border-radius: var(--r); cursor: pointer;
	background: transparent; color: #c6ccd6; border: 1px solid #353b47;
}
.calc-tab:hover { border-color: #5d6675; color: #fff; }
.calc-tab.is-on { background: var(--red); border-color: var(--red); color: #fff; }

.calc-panel { display: none; }
.calc-panel.is-on { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc-fig { background: #21252d; border-radius: var(--r); padding: 13px 15px; display: grid; gap: 3px; }
.calc-fig span { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #8e97a6; }
.calc-fig b { font-family: var(--mono); font-size: 23px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.calc-fig.is-fee b { color: #ff8795; }
.calc-fig.is-tot { background: #2b1216; }
.calc-fig.is-tot b { color: #ffd1d6; }
.calc-panel.is-on .calc-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 14px; color: #b7bec9; }
.calc-note b { color: #ff8795; font-family: var(--mono); }
.calc-fine { margin: 14px 0 0; font-size: 12.5px; color: #8e97a6; max-width: 72ch; }

/* ------------------------------------------------------------ contents -- */
.toc { background: var(--card); border-block: 1px solid var(--line); margin-top: 22px; position: sticky; top: 0; z-index: 12; }
.toc .wrap { display: flex; gap: 0 2px; overflow-x: auto; scrollbar-width: none; }
.toc .wrap::-webkit-scrollbar { display: none; }
.toc a {
	flex: none; padding: 11px 12px; font-size: 14px; font-weight: 600;
	color: var(--ink-2); text-decoration: none; white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.toc a:hover { color: var(--red-d); border-bottom-color: var(--red); }

/* ------------------------------------------------------------- toplist -- */
.top { margin: 30px 0 10px; }
.top-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.top-head h2 { margin-bottom: 2px; }
.top-n { font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); }
.top-lede { color: var(--ink-2); max-width: var(--w-text); margin-bottom: 16px; }
.top-rows { display: grid; gap: 10px; }
.top-foot { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

.row {
	display: grid; grid-template-columns: 136px minmax(0, 1fr) 232px 172px;
	gap: 20px; align-items: start;
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: 16px 18px;
}
.row.is-first { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }
.row-a { display: flex; align-items: center; gap: 10px; }
.row-rank { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--ink-3); flex: none; width: 16px; }
.row-logo {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 46px; background: var(--ink); border-radius: var(--r);
	padding: 6px 10px; overflow: hidden;
}
.row-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.row-logo i { font-style: normal; font-weight: 800; color: #fff; font-size: 16px; }

.row-name { margin: 0 0 2px; font-size: 17px; font-weight: 800; }
.row-tag { margin: 0 0 7px; font-size: 13.5px; color: var(--ink-3); }
.row-perks { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.row-perks li { position: relative; padding-left: 17px; font-size: 14px; color: var(--ink-2); }
.row-perks li::before {
	content: ""; position: absolute; left: 0; top: 9px;
	width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}

.row-c { margin: 0; display: grid; gap: 4px; align-content: start; }
.row-c > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
.row-c dt { font-size: 12.5px; color: var(--ink-3); }
.row-c dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }

.row-d { display: grid; justify-items: stretch; gap: 6px; text-align: center; }
.row-rate { font-size: 13px; color: var(--amber); font-family: var(--mono); }
.row-rate b { color: var(--ink); font-size: 16px; }
.row-rv { font-size: 13.5px; font-weight: 600; }
.row-soon, .row-fine { font-size: 11.5px; color: var(--ink-3); }

.top-single .row { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }

/* -------------------------------------------------------------- uudet --- */
.fresh { margin: 28px 0 6px; }
.fresh-lede { color: var(--ink-2); max-width: var(--w-text); margin-bottom: 14px; }
.fresh-list { margin: 0; padding: 0; list-style: none; counter-reset: fr; display: grid; gap: 8px; }
.fresh-list li {
	counter-increment: fr; position: relative;
	display: grid; grid-template-columns: 28px minmax(0, 1.1fr) minmax(0, 1fr) auto;
	gap: 12px; align-items: baseline;
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--r); padding: 11px 15px;
}
.fresh-list li::before {
	content: counter(fr); font-family: var(--mono); font-size: 13px;
	font-weight: 700; color: var(--ink-3);
}
.fresh-list a { font-weight: 700; text-decoration: none; color: var(--ink); }
.fresh-list a:hover { color: var(--red-d); text-decoration: underline; }
.fresh-list span { font-size: 14px; color: var(--teal-d); font-weight: 600; }
.fresh-list em { font-style: normal; font-size: 13px; color: var(--ink-3); }

/* --------------------------------------------------------------- prose -- */
.prose { max-width: none; }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3,
.prose > .pull, .prose > .qa { max-width: var(--w-text); }
.prose > h2 { margin-top: 34px; scroll-margin-top: 62px; }
.prose > h3 { margin-top: 22px; }
.prose > ul, .prose > ol { padding-left: 21px; margin: 0 0 15px; }
.prose li { margin: 5px 0; }
.prose a:not(.btn) { font-weight: 600; }
.prose > *:first-child { margin-top: 0; }

.fig { margin: 22px 0; }
.fig img { display: block; width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.fig figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; max-width: var(--w-text); }
.fig-kapea img { max-width: 380px; }
.fig-keski img { max-width: 600px; }
.fig-pysty img { max-width: 320px; }

.tbl { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.t thead th { background: var(--paper); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
table.t tbody tr:last-child td { border-bottom: 0; }
table.t td.n { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.spec { margin: 18px 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.spec > div { display: grid; grid-template-columns: 40% minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { padding: 10px 14px; background: var(--paper); font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.spec dd { margin: 0; padding: 10px 14px; font-size: 14.5px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 52px; background: var(--card); }
.steps li::before {
	content: counter(s); position: absolute; left: 16px; top: 14px;
	font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--red);
}

.pull {
	display: block; margin: 20px 0; padding: 14px 16px;
	border-left: 3px solid var(--line-2); background: var(--card);
	border-radius: 0 var(--r) var(--r) 0; font-size: 15px; color: var(--ink-2);
}
.pull b { display: block; color: var(--ink); margin-bottom: 3px; }
.pull p { margin: 0 0 8px; }
.pull p:last-child { margin-bottom: 0; }
.pull-varo { border-left-color: var(--red); background: var(--red-l); color: #6d1119; }
.pull-varo b { color: var(--red-d); }
.pull-hyva { border-left-color: var(--teal); background: var(--teal-l); color: #114a45; }
.pull-hyva b { color: var(--teal-d); }
.pull-help { border-left-color: var(--amber); background: var(--amber-l); color: #5c4005; }
.pull-help b { color: var(--amber); display: inline; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.split > div { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; background: var(--card); }
.split span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 7px; }
.split-y { border-color: #bfe0db; background: var(--teal-l); }
.split-y span { color: var(--teal-d); }
.split-n { border-color: #f2ccd0; background: var(--red-l); }
.split-n span { color: var(--red-d); }
.split ul { margin: 0; padding-left: 18px; }
.split li { margin: 4px 0; font-size: 14.5px; }

.qa { display: grid; gap: 1px; margin: 18px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.qa-i { background: var(--card); }
.qa-i summary {
	cursor: pointer; padding: 13px 16px; font-weight: 700; font-size: 15.5px;
	list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.qa-i summary::-webkit-details-marker { display: none; }
.qa-i summary::after { content: "+"; color: var(--red); font-family: var(--mono); font-weight: 700; }
.qa-i[open] summary::after { content: "\2212"; }
.qa-a { padding: 0 16px 14px; color: var(--ink-2); font-size: 15.5px; }
.qa-a p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------- test notes ---- */
.notes { margin: 34px 0; }
.notes-lede { color: var(--ink-2); max-width: var(--w-text); margin-bottom: 16px; }
.notes-list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 14px; }
.note-i {
	break-inside: avoid; margin: 0 0 14px;
	background: var(--card); border: 1px solid var(--line);
	border-left: 3px solid var(--line-2);
	border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: 13px 16px;
}
.note-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.note-h b { font-size: 14.5px; color: var(--red-d); }
.note-h span { font-size: 12.5px; color: var(--ink-3); }
.note-i p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ------------------------------------------------------------- review --- */
.hub { display: grid; gap: 8px; margin: 20px 0; }
.hub-i {
	display: grid; grid-template-columns: 26px 104px minmax(0, 1fr) auto;
	gap: 14px; align-items: center;
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--r); padding: 11px 15px;
}
.hub-n { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink-3); }
.hub-logo {
	display: flex; align-items: center; justify-content: center;
	width: 104px; height: 40px; background: var(--ink); border-radius: 4px;
	padding: 5px 9px; overflow: hidden;
}
.hub-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hub-logo i { font-style: normal; font-weight: 800; color: #fff; font-size: 14px; }
.hub-b { display: grid; gap: 1px; min-width: 0; }
.hub-b b { font-size: 16px; }
.hub-b span { font-size: 13px; color: var(--ink-3); }

.crumbs { display: flex; gap: 7px; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--red-d); text-decoration: underline; }

/* -------------------------------------------------------------- footer -- */
.foot { background: var(--ink); color: #a8b0bd; margin-top: 46px; padding: 38px 0 22px; font-size: 14.5px; }
.foot a { color: #cfd5de; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-g { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot h3 { color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 11px; }
.foot nav { display: grid; gap: 6px; }
.foot-id { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.foot-id img { width: 44px; height: 27px; display: block; border-radius: 4px; }
.foot-id b { color: #fff; font-size: 17px; }
.addr { font-style: normal; line-height: 1.7; color: #868e9c; }
.tg {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
	padding: 8px 14px; border-radius: var(--r); border: 1px solid #353b47;
	color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
}
.tg:hover { background: #21252d; color: #fff; text-decoration: none; }

.marks {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 11px;
	margin: 28px 0 18px; padding: 18px 0; border-block: 1px solid #2b303a;
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #a8b0bd; font-size: 12.5px; line-height: 1.35; }
.mark b { display: block; color: #fff; font-size: 13px; }
.mark span span { color: #7d8593; }
.mark-18 {
	flex: none; width: 32px; height: 32px; border-radius: 4px;
	display: grid; place-items: center; border: 2px solid var(--red);
	color: #fff; font-weight: 800; font-size: 11.5px; font-family: var(--mono);
}
.foot-base { display: grid; gap: 8px; font-size: 12.5px; color: #7d8593; }

/* --------------------------------------------------------------- dock --- */
.dock { display: none; }

@media (max-width: 1020px) {
	.row { grid-template-columns: 124px minmax(0, 1fr) 210px; }
	.row-d { grid-column: 1 / -1; grid-template-columns: auto 1fr auto auto; align-items: center; justify-items: start; gap: 12px; text-align: left; }
	.row-d .btn { justify-self: end; min-width: 190px; }
	.foot-g { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.notes-list { columns: 1; }
	.calc-panel.is-on { grid-template-columns: 1fr 1fr; }
	.calc-fig.is-tot { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
	body { font-size: 16.5px; }
	.open { padding: 22px 0 4px; }
	.calc { padding: 18px 16px 16px; }
	.calc-panel.is-on { grid-template-columns: 1fr; }
	.calc-fig.is-tot { grid-column: auto; }
	.row { grid-template-columns: 1fr; gap: 12px; padding: 14px 15px; }
	.row-a { gap: 12px; }
	.row-logo { width: 116px; height: 42px; }
	.row-c > div { grid-template-columns: 118px minmax(0, 1fr); }
	.row-d { grid-template-columns: 1fr; justify-items: stretch; text-align: center; }
	.row-d .btn { min-width: 0; justify-self: stretch; }
	.fresh-list li { grid-template-columns: 24px minmax(0, 1fr); row-gap: 3px; }
	.fresh-list li::before { grid-row: span 3; }
	.split { grid-template-columns: 1fr; }
	.spec > div { grid-template-columns: 1fr; }
	.spec dt { border-bottom: 1px solid var(--line); }
	.foot-g { grid-template-columns: 1fr; gap: 22px; }
	.face-lg { width: 82px; height: 82px; }

	.dock {
		display: flex; gap: 9px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
		padding: 9px 13px calc(9px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
	}
	.dock .btn { flex: 1; }
	body { padding-bottom: 66px; }
}
