/*
Theme Name: The Sportsbook Modernized SE Mini
Theme URI:
Description: Swedish modernized no-sidebar content theme with hardcoded responsible-gaming footer.
Author: Flytonic Themes / Modernized by Codex
Author URI: http://www.flytonic.com/
Version: 2.4.4-se-mini
Tags: responsive, modernized, sweden, no-sidebar, content
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--page-bg: #edf1f5;
	--surface: #ffffff;
	--surface-soft: #f7f9fc;
	--surface-strong: #eef3f8;
	--ink: #111827;
	--ink-muted: #526173;
	--ink-soft: #778397;
	--line: #d9e1ea;
	--line-strong: #c5d0dc;
	--brand: #1268d6;
	--brand-dark: #0d4faa;
	--brand-soft: #e8f1ff;
	--accent: #0fba7a;
	--accent-dark: #0a8759;
	--danger: #d33b3b;
	--responsible-bg: #0a0b0e;
	--responsible-ink: #ffffff;
	--footer-bg: #0d0f14;
	--footer-bg-soft: #151922;
	--footer-ink: #f7fafc;
	--footer-muted: #aab4c3;
	--radius: 8px;
	--radius-sm: 5px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
	--shadow-md: 0 14px 34px rgba(15, 23, 42, 0.12);
	--container: 1120px;
	--content: 960px;
	--pad-x: clamp(16px, 4vw, 32px);
	--font: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	background: var(--page-bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 18px;
	line-height: 1.65;
	letter-spacing: 0;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

img {
	vertical-align: middle;
}

a {
	color: var(--brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--brand-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid rgba(18, 104, 214, 0.35);
	outline-offset: 3px;
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

p {
	margin: 0 0 1.2em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.55em;
	color: var(--ink);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0;
}

h1 {
	font-size: clamp(34px, 5vw, 58px);
}

h2 {
	margin-top: 1.45em;
	font-size: clamp(27px, 3.2vw, 40px);
}

h3 {
	margin-top: 1.35em;
	font-size: clamp(23px, 2.5vw, 30px);
}

h4 {
	font-size: 21px;
}

ul,
ol {
	margin: 0 0 1.3em;
	padding-left: 1.35em;
}

li + li {
	margin-top: 0.25em;
}

blockquote {
	margin: 1.8em 0;
	padding: 20px 24px;
	border-left: 5px solid var(--brand);
	background: var(--surface-soft);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--ink-muted);
}

hr {
	margin: 2.2em 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.wrap,
.container > .wrap,
.responsible-strip .wrap {
	width: min(var(--container), calc(100% - (var(--pad-x) * 2)));
	margin: 0 auto;
}

.clearboth {
	clear: both;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.responsible-strip {
	background: var(--responsible-bg);
	color: var(--responsible-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}

.responsible-strip .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	min-height: 54px;
}

.responsible-strip span {
	margin-right: auto;
}

.responsible-strip a {
	color: #ffffff;
	text-decoration: none;
}

.responsible-strip a:hover,
.responsible-strip a:focus {
	color: #d6e7ff;
}

#outerwrap {
	width: 100%;
	overflow: hidden;
}

.main-header {
	padding: 28px 0 0;
	background: transparent;
}

.main-header > .wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	padding: 34px 34px 0;
	background: var(--surface);
	border-radius: 8px 8px 0 0;
	box-shadow: var(--shadow-md);
}

.header-logo {
	order: 1;
	float: none;
	width: 100%;
	text-align: center;
}

.header-logo a {
	color: var(--ink);
	text-decoration: none;
}

.header-logo h3 {
	margin: 0;
	font-size: clamp(28px, 4vw, 42px);
}

.header-logo img {
	display: inline-block;
	max-width: min(340px, 90%);
	max-height: 110px;
	object-fit: contain;
}

.headerwidgets {
	order: 2;
	width: 100%;
	text-align: center;
}

#mobile-menu-btn {
	order: 4;
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 18px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--brand);
	color: #ffffff;
	font-weight: 800;
	line-height: 1;
	box-shadow: var(--shadow-sm);
}

#mobile-menu {
	order: 5;
	display: none;
	width: 100%;
}

.navbar {
	order: 3;
	width: calc(100% + 68px);
	margin: 6px -34px 0;
	background: #ffffff;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.navbar ul,
#mobile-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.navbar .nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
}

.navbar li {
	position: relative;
	margin: 0;
}

.navbar a {
	display: flex;
	align-items: center;
	min-height: 58px;
	padding: 0 18px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.navbar a:hover,
.navbar a:focus,
.navbar .current-menu-item > a,
.navbar .current_page_item > a {
	background: var(--brand-soft);
	color: var(--brand-dark);
}

.navbar ul ul {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 0;
	display: none;
	min-width: 220px;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-md);
}

.navbar li:hover > ul,
.navbar li:focus-within > ul {
	display: block;
}

.navbar ul ul a {
	justify-content: flex-start;
	min-height: 46px;
	padding: 0 16px;
	white-space: nowrap;
}

.container {
	background: transparent;
}

.container > .wrap {
	padding: 0 34px 48px;
	background: var(--surface);
	box-shadow: var(--shadow-md);
}

.main-content {
	float: none;
	width: min(var(--content), 100%);
	margin: 0 auto;
	padding: clamp(38px, 7vw, 72px) 0 0;
	background: transparent;
}

.entry {
	width: 100%;
}

.entry > *:first-child {
	margin-top: 0;
}

.entry > *:last-child {
	margin-bottom: 0;
}

.entry p,
.entry li {
	color: var(--ink);
}

.entry a:not(.wp-block-button__link) {
	font-weight: 700;
}

.entry img {
	border-radius: var(--radius);
}

.entry figure {
	margin: 1.6em 0;
}

.entry figcaption,
.wp-caption-text {
	margin-top: 8px;
	color: var(--ink-muted);
	font-size: 14px;
	text-align: center;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.alignleft {
	float: left;
	margin: 8px 24px 16px 0;
}

.alignright {
	float: right;
	margin: 8px 0 16px 24px;
}

.wp-block-image img,
.entry .wp-post-image {
	display: block;
}

.wp-block-button__link,
.flybutton,
.entry a.flybutton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--brand);
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.flybutton:hover,
.flybutton:focus {
	background: var(--brand-dark);
	color: #ffffff !important;
}

.wp-block-table {
	margin: 2em 0;
	overflow: visible;
}

.wp-block-table table,
.entry table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 12px;
	font-size: 16px;
	line-height: 1.42;
}

.wp-block-table tbody,
.entry table tbody {
	width: 100%;
}

.wp-block-table tr,
.entry table tr {
	position: relative;
	background: #ffffff;
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.wp-block-table td,
.entry table td,
.wp-block-table th,
.entry table th {
	padding: 18px 18px;
	border: 0;
	background: transparent;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}

.wp-block-table th,
.entry table th {
	background: var(--surface-strong);
	color: var(--ink);
	font-weight: 800;
	text-align: left;
}

.wp-block-table td:first-child,
.entry table td:first-child,
.wp-block-table th:first-child,
.entry table th:first-child {
	border-left: 1px solid var(--line);
	border-radius: var(--radius) 0 0 var(--radius);
}

.wp-block-table td:last-child,
.entry table td:last-child,
.wp-block-table th:last-child,
.entry table th:last-child {
	border-right: 1px solid var(--line);
	border-radius: 0 var(--radius) var(--radius) 0;
}

.wp-block-table tbody tr:hover {
	background: #fbfdff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.wp-block-table td:first-child {
	width: 23%;
	color: var(--ink);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.2;
}

.wp-block-table td:nth-child(2) {
	width: auto;
	color: var(--ink-muted);
}

.wp-block-table td:nth-child(2) strong {
	display: block;
	margin-bottom: 5px;
	color: var(--ink);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.2;
}

.wp-block-table td:nth-child(2) em {
	display: block;
	color: var(--ink-muted);
	font-size: 13px;
	font-style: normal;
	line-height: 1.45;
}

.wp-block-table td:nth-child(2) em a {
	display: inline-block;
	margin: 4px 4px 0 0;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--surface-strong);
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.wp-block-table td:nth-child(2) em a:hover,
.wp-block-table td:nth-child(2) em a:focus {
	background: var(--brand-soft);
	color: var(--brand-dark);
}

.wp-block-table td:last-child {
	width: 150px;
	text-align: right;
}

.wp-block-table td:last-child a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 118px;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: var(--radius-sm);
	background: var(--accent);
	color: #ffffff !important;
	font-size: larger;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: var(--shadow-sm);
}

.wp-block-table td:last-child a:hover,
.wp-block-table td:last-child a:focus {
	background: var(--accent-dark);
	color: #ffffff !important;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: transparent;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 36px 0 0;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #ffffff;
	color: var(--ink);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.pagination .current,
.pagination a:hover,
.pagination a:focus {
	background: var(--brand);
	border-color: var(--brand);
	color: #ffffff;
}

.main-footer {
	background: var(--footer-bg-soft);
	color: var(--footer-muted);
}

.main-footer .wrap {
	padding: 30px 34px;
	background: var(--footer-bg-soft);
}

.widgetarea {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.footerwidget {
	width: auto !important;
	padding: 0;
	float: none;
	color: var(--footer-muted);
}

.footerwidget h3 {
	margin: 0 0 12px;
	padding: 0 0 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--footer-ink);
	font-size: 17px;
}

.footerwidget a {
	color: var(--footer-ink);
}

.footerwidget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footerwidget li + li {
	margin-top: 7px;
}

.bottom-footer {
	background: var(--footer-bg);
	color: var(--footer-muted);
}

.bottom-footer .wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 32px 34px 34px;
	background: var(--footer-bg);
}

.responsible-footer-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px 30px;
	width: 100%;
	margin-bottom: 4px;
}

.responsible-footer-logos .footerwidget {
	display: flex !important;
	clear: none !important;
	float: none !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	margin: 0 !important;
}

.responsible-footer-logos svg {
	display: block;
	max-width: 100%;
}

.css-jm97g0 {
	fill: #ffffff;
	opacity: 0.8;
}

.bottom-footer .leftside,
.bottom-footer .rightside {
	float: none;
	width: 100%;
	text-align: center;
}

.bottom-footer span,
.bottom-footer a {
	color: var(--footer-muted);
	font-size: 14px;
}

.bottom-footer a:hover,
.bottom-footer a:focus {
	color: #ffffff;
}

.searchinput,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #ffffff;
	color: var(--ink);
}

input[type="submit"],
button[type="submit"] {
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--brand);
	color: #ffffff;
	font-weight: 800;
}

@media (max-width: 900px) {
	body {
		font-size: 17px;
	}

	.main-header > .wrap,
	.container > .wrap {
		width: min(var(--container), calc(100% - 24px));
		padding-right: 22px;
		padding-left: 22px;
	}

	.navbar {
		width: calc(100% + 44px);
		margin-right: -22px;
		margin-left: -22px;
	}

	.navbar a {
		padding: 0 12px;
		font-size: 14px;
	}

	.widgetarea {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.responsible-strip .wrap {
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 6px 14px;
		min-height: 0;
		padding: 12px 0;
	}

	.responsible-strip span {
		flex-basis: 100%;
		margin-right: 0;
	}

	.main-header {
		padding-top: 12px;
	}

	.main-header > .wrap {
		gap: 16px;
		padding-top: 24px;
	}

	.headerwidgets {
		display: none;
	}

	#mobile-menu-btn {
		display: inline-flex;
		width: min(100%, 280px);
	}

	.navbar {
		display: none;
	}

	#mobile-menu {
		background: var(--surface-soft);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		overflow: hidden;
	}

	#mobile-menu li {
		position: relative;
		margin: 0;
		border-bottom: 1px solid var(--line);
	}

	#mobile-menu li:last-child {
		border-bottom: 0;
	}

	#mobile-menu a {
		display: block;
		padding: 13px 16px;
		color: var(--ink);
		font-size: 15px;
		font-weight: 800;
		text-decoration: none;
	}

	#mobile-menu a:hover,
	#mobile-menu a:focus {
		background: var(--brand-soft);
		color: var(--brand-dark);
	}

	#mobile-menu ul ul {
		display: none;
		background: #ffffff;
		border-top: 1px solid var(--line);
	}

	#mobile-menu ul ul a {
		padding-left: 30px;
		font-weight: 700;
	}

	#mobile-menu .arrow {
		position: absolute;
		top: 0;
		right: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 48px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--ink-muted);
		font-size: 11px;
		cursor: pointer;
	}

	#mobile-menu .arrow.up,
	#mobile-menu .menu-icon-up > .arrow.down {
		display: none;
	}

	#mobile-menu .menu-icon-up > .arrow.up {
		display: flex;
	}

	#mobile-menu .menu-icon-up > ul {
		display: block;
	}

	.main-content {
		padding-top: 34px;
	}

	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin: 1.4em auto;
	}

	.wp-block-table table,
	.entry table {
		table-layout: fixed;
		border-spacing: 0 8px;
		font-size: 12px;
		line-height: 1.25;
	}

	.wp-block-table tr,
	.entry table tr {
		margin: 0;
	}

	.wp-block-table td,
	.entry table td {
		padding: 8px 6px;
	}

	.wp-block-table td:first-child {
		width: 24%;
		font-size: 13px;
	}

	.wp-block-table td:nth-child(2) {
		width: 50%;
		text-align: left;
	}

	.wp-block-table td:nth-child(2) strong {
		margin-bottom: 2px;
		font-size: 13px;
		line-height: 1.1;
	}

	.wp-block-table td:nth-child(2) em {
		font-size: 9px;
		line-height: 1.2;
	}

	.wp-block-table td:last-child {
		width: 26%;
	}

	.wp-block-table td:last-child a {
		min-width: 66px;
		min-height: 32px;
		padding: 6px 8px;
		font-size: 12px;
		white-space: nowrap;
	}

	.wp-block-table td:nth-child(2) em a {
		margin: 2px 2px 0 0;
		padding: 0;
		background: transparent;
		font-size: 9px;
		white-space: normal;
	}

	.widgetarea {
		grid-template-columns: 1fr;
	}

	.responsible-footer-logos {
		flex-direction: column;
		gap: 10px;
	}

	.responsible-footer-logos .footerwidget {
		width: 100% !important;
	}
}

@media (max-width: 480px) {
	:root {
		--pad-x: 12px;
	}

	body {
		font-size: 16px;
	}

	.main-header > .wrap,
	.container > .wrap {
		width: calc(100% - 16px);
		padding-right: 16px;
		padding-left: 16px;
	}

	.main-header > .wrap {
		border-radius: 6px 6px 0 0;
	}

	.container > .wrap {
		padding-bottom: 34px;
	}

	.wp-block-table table,
	.entry table {
		font-size: 11px;
	}

	.wp-block-table td,
	.entry table td {
		padding: 7px 4px;
	}

	.wp-block-table td:first-child {
		font-size: 12px;
	}

	.wp-block-table td:nth-child(2) strong {
		font-size: 12px;
	}

	.wp-block-table td:nth-child(2) em,
	.wp-block-table td:nth-child(2) em a {
		font-size: 8px;
	}

	.wp-block-table td:last-child {
		width: 24%;
	}

	.wp-block-table td:last-child a {
		min-width: 58px;
		min-height: 30px;
		padding: 5px 6px;
		font-size: 11px;
	}

	.bottom-footer .wrap,
	.main-footer .wrap {
		padding-right: 18px;
		padding-left: 18px;
	}
}

/* Compact responsible gaming strip */
.responsible-strip {
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
}

.responsible-strip .wrap {
	min-height: 34px !important;
}

.responsible-strip span,
.responsible-strip a {
	font-weight: 400 !important;
}

/* Keep the responsible links on one compact row */
.responsible-strip .wrap {
	align-items: center !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 10px !important;
	justify-content: flex-start !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.responsible-strip span {
	flex: 0 0 auto !important;
	margin-right: 0 !important;
	white-space: nowrap !important;
}

.responsible-strip a {
	flex: 0 0 auto !important;
	white-space: nowrap !important;
}

@media (max-width: 460px) {
	.responsible-strip .wrap {
		justify-content: flex-start !important;
		flex-wrap: wrap !important;
		gap: 6px 14px !important;
		min-height: 0 !important;
		padding: 12px 0 !important;
	}

	.wp-block-table tr,
	.entry table tr {
		display: table;
		width: 100%;
		border-radius: 10px;
		margin-bottom: 9px;
	}

	.wp-block-table td,
	.entry table td,
	.wp-block-table td:nth-child(2),
	.wp-block-table td:nth-child(3) {
		display: table-row;
		width: 100% !important;
		text-align: center;
		padding: 0 10px;
	}

	.wp-block-table td:first-child {
		font-size: 18px;
	}

	.wp-block-table td:last-child a {
		min-width: 58px;
		width: 80%;
		font-size: larger;
		font-weight: 600;
		letter-spacing: 1px;
		text-transform: uppercase;
	}
}
