/*
Theme Name: verifer.com Alberta theme
Author: Alfataks
Version: 4.0.0
Description: Alberta editorial redesign based on the supplied prototype. Existing inc files and functions.php preserved.
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: alberta-verifer-ca
*/
:root {
	--primary: #0b5d73;
	--primary-dark: #08485a;
	--text: #14212b;
	--muted: #4a5a66;
	--border: #d9e0e5;
	--light: #f4f7f8;
	--white: #fff;
	--navy: #14212b;
	--radius: 12px;
	--mono: 'IBM Plex Mono',monospace;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font: 16px/1.65 'IBM Plex Sans',system-ui,sans-serif;
}

a {
	color: var(--primary);
}

a:hover {
	color: var(--primary-dark);
}

a,button,input,summary {
	-webkit-tap-highlight-color: transparent;
}

button,input {
	font: inherit;
}

button,summary {
	cursor: pointer;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

h1,h2,h3,h4,p,ul,ol {
	margin-top: 0;
}

h1,h2,h3,h4 {
	color: var(--text);
	font-weight: 700;
	line-height: 1.25;
}

h1 {
	font-size: 42px;
	letter-spacing: -.02em;
	margin-bottom: 16px;
}

h2 {
	font-size: 30px;
	letter-spacing: -.015em;
	margin-bottom: 24px;
}

h3 {
	font-size: 20px;
	margin-bottom: 12px;
}

p {
	margin-bottom: 20px;
}

:focus-visible {
	outline: 3px solid #b26a00;
	outline-offset: 4px;
}

.container {
	width: 100%;
	max-width: 1160px;
	margin-inline: auto;
	padding-inline: 24px;
}

.screen-reader-text,.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	width: auto;
	height: auto;
	clip-path: none;
	left: 16px;
	top: 12px;
	background: #fff;
	padding: 12px 20px;
	z-index: 9999;
}

.top-bar {
	background: var(--text);
	color: #fff;
	font-size: 14px;
	line-height: 20px;
}

.top-inner {
	padding-block: 10px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.top-bar a {
	color: #9fd3e0;
}

.age-badge {
	display: inline-block;
	border: 1px solid currentColor;
	padding: 0 6px;
	border-radius: 4px;
	font-weight: 700;
	white-space: nowrap;
}

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 28px;
	padding-block: 16px;
}

.brand {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-shrink: 0;
}

.brand>a {
	color: var(--text);
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: -.01em;
}

.brand>span {
	font: 12px var(--mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--primary);
}

.brand img {
	max-height: 30px;
	width: auto;
}

.nav-links,.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 4px 20px;
	flex-wrap: wrap;
}

.site-navigation {
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}

.site-navigation .nav-links {
  justify-content: flex-end;
}

.site-navigation li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.site-navigation .nav-links > li {
  position: relative;
}

.site-navigation a {
  display: block;
  min-width: 0;
  padding-block: 10px;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-navigation .sub-menu {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 14px;
  list-style: none;
  border-left: 1px solid var(--border);
}

.site-navigation.is-enhanced .nav-links > li > .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  width: min(340px, calc(100vw - 48px));
  max-height: min(65vh, 520px);
  max-height: min(65dvh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px #14212b20;
}

.site-navigation .sub-menu[hidden] {
  display: none;
}

.nav-toggle, .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text);
    font: inherit;
    line-height: 1;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  gap: 12px;
  padding-inline: 12px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.nav-toggle[hidden] {
  display: none;
}

.submenu-toggle:hover {
  background: var(--light);
  color: var(--primary);
}

.submenu-toggle span {
  display: block;
}

.submenu-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}


.hero {
	background: var(--light);
	border-bottom: 1px solid var(--border);
}

.hero-inner {
	padding-block: 64px 48px;
}

.eyebrow {
	font: 500 13px/1.6 var(--mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 20px;
}

.hero h1 {
	max-width: 820px;
	font-size: 48px;
	line-height: 56px;
	margin-bottom: 20px;
}

.hero-sub {
	font-size: 19px;
	line-height: 30px;
	color: #3e4f5b;
	max-width: 760px;
	margin-bottom: 20px;
}

.entry-meta {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 20px;
}

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hero-badges span {
	background: #fff;
	border: 1px solid var(--border);
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
}

.section {
	padding-block: 48px;
}

.section-bordered {
	border-top: 1px solid var(--border);
}

.section-tint {
	background: var(--light);
	border-block: 1px solid var(--border);
}

.section-heading {
	display: flex;
	gap: 12px 24px;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.section-heading h2 {
	margin: 0;
}

.section-heading>a {
	font-weight: 600;
}

.disclosure {
	font-size: 14px;
	line-height: 22px;
	color: var(--muted);
	background: var(--light);
	border-radius: 8px;
	padding: 12px 16px;
	margin: 0 0 24px;
}

.casino-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 20px;
}

.casino-card {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.casino-card p,.casino-card h3 {
	margin: 0;
}

.casino-card-head {
	display: flex;
	gap: 12px;
	align-items: center;
}

.rank {
	font: 14px var(--mono);
	color: var(--primary);
}

.operator-logo {
	width: 64px;
	flex-shrink: 0;
}

.operator-logo img {
	width: 64px;
	height: 40px;
	object-fit: contain;
}

.casino-card h3 {
	font-size: 20px;
	overflow-wrap: anywhere;
}

.casino-card h3 a {
	color: var(--text);
	text-decoration: none;
}

.score {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

.score strong {
	font-size: 32px;
	line-height: 1.3;
}

.score span {
	color: var(--muted);
	font-size: 15px;
}

.casino-features {
	margin: 0;
	padding-left: 20px;
	font-size: 15px;
	line-height: 22px;
	display: grid;
	gap: 6px;
}

.casino-features:empty {
	display: none;
}

.registration {
	font-size: 13px;
	color: var(--muted);
	padding-block: 8px;
}

.card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 16px;
	border: 1px solid var(--primary);
	border-radius: 8px;
	background: var(--primary);
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	text-align: center;
}

.button:hover {
	background: var(--primary-dark);
	color: #fff;
}

.button-outline {
	background: #fff;
	color: var(--primary);
}

.button-outline:hover {
	background: var(--light);
	color: var(--primary-dark);
}

.card-actions .button {
	flex: 1 1 110px;
}

.fine-print {
	font-size: 12px;
	line-height: 18px;
	color: var(--muted);
}

.steps {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 20px;
	padding: 0;
	list-style: none;
	margin: 0;
}

.steps li {
	border-top: 3px solid var(--primary);
	padding-top: 16px;
}

.steps span {
	font: 14px var(--mono);
	color: var(--primary);
}

.steps h3 {
	margin: 8px 0;
	font-size: 18px;
}

.steps p {
	color: #3e4f5b;
	line-height: 24px;
	margin: 0;
}

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

.post-card {
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.post-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card h2 {
	font-size: 22px;
	margin: 0 0 12px;
}

.guides-grid .post-card h2 {
	font-size: 18px;
}

.post-card h2 a {
	color: var(--text);
	text-decoration: none;
}

.post-card p {
	font-size: 15px;
	line-height: 24px;
	color: var(--muted);
}

.post-card .eyebrow {
	font-size: 11px;
	margin-bottom: 10px;
	color: var(--primary);
}

.post-card .text-link {
	margin-top: auto;
	font-weight: 600;
}

.post-card-image img {
	height: 190px;
	width: 100%;
	object-fit: cover;
}

.section-dark {
	background: var(--text);
	color: #d4dee4;
}

.section-dark h2 {
	color: #fff;
}

.section-dark a,.section-dark .eyebrow {
	color: #9fd3e0;
}

.responsible-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.responsible-grid p {
	font-size: 17px;
	line-height: 28px;
}

.limit-list {
	padding: 0;
	margin: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.limit-list li {
	padding: 14px 16px;
	border: 1px solid #3a4c59;
	border-radius: 8px;
}

.document-wrap {
	padding-block: 40px 64px;
}

.breadcrumbs {
	font-size: 14px;
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.entry-header {
	max-width: 880px;
	margin-bottom: 32px;
}

.entry-header .eyebrow {
	margin-bottom: 12px;
}

.entry-lead {
	font-size: 19px;
	line-height: 30px;
	color: #3e4f5b;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0,1fr) 300px;
	gap: 32px;
	align-items: start;
}

.content-layout>* {
	min-width: 0;
}

.entry-content {
	font-size: 17px;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.entry-content h2 {
	font-size: 28px;
	line-height: 36px;
	margin: 36px 0 12px;
	scroll-margin-top: 24px;
}

.entry-content h3 {
	font-size: 22px;
	margin: 28px 0 12px;
}

.entry-content>h2:first-child,.entry-content>h3:first-child {
	margin-top: 0;
}

.entry-content li {
	margin-bottom: 8px;
}

.entry-content blockquote {
	margin: 24px 0;
	padding: 20px 24px;
	background: var(--light);
	border-left: 3px solid var(--primary);
}

.entry-content iframe {
	max-width: 100%;
}

.entry-content figure {
	max-width: 100%;
	margin-inline: 0;
}

.entry-image {
	border-radius: 12px;
	margin-bottom: 28px;
	width: 100%;
	max-height: 480px;
	object-fit: cover;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,.entry-content td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--light);
	font-weight: 600;
}

.table-scroll-wrap {
	overflow: auto;
	max-width: 100%;
	border: 1px solid var(--border);
	border-radius: 12px;
	margin-bottom: 24px;
}

.entry-content details,.faq-item {
	border-bottom: 1px solid var(--border);
	padding-block: 16px;
}

.entry-content summary {
	font-size: 18px;
	font-weight: 600;
}

.entry-content details p {
	margin: 12px 0 0;
}

.sidebar {
	display: grid;
	gap: 20px;
}

.sidebar-box {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px;
}

.sidebar-box .stitle {
	font-size: 18px;
	margin-bottom: 16px;
}

.sidebar-box .button {
	width: 100%;
	margin-block: 20px 12px;
}

.sidebar-box p:last-child {
	margin-bottom: 0;
}

.key-facts {
	margin: 0;
	display: grid;
	gap: 12px;
	font-size: 15px;
}

.key-facts dt {
	font-size: 13px;
	color: var(--muted);
}

.key-facts dd {
	margin: 2px 0 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.toc {
	padding-left: 20px;
	margin: 0;
	font-size: 14px;
	display: grid;
	gap: 10px;
}

.toc li::marker {
	color: var(--primary);
}

.toc a {
	text-decoration: none;
}

.toc a:hover {
	text-decoration: underline;
}

.support-box {
	background: var(--light);
}

.support-box .eyebrow {
	font-size: 11px;
	margin-bottom: 12px;
}

.support-box p,.support-box a {
	font-size: 14px;
}

.review-heading {
	display: flex;
	gap: 24px;
	align-items: center;
	margin-bottom: 28px;
}

.review-heading .eyebrow {
	margin-bottom: 8px;
}

.review-heading .entry-meta {
	margin: 0;
}

.review-logo {
	width: 96px;
	flex-shrink: 0;
}

.review-logo img {
	width: 96px;
	height: 64px;
	object-fit: contain;
}

.verdict-box {
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: 12px;
	margin-bottom: 36px;
}

.verdict-box h2 {
	font-size: 24px;
}

.verdict-box .section-heading {
	margin-bottom: 16px;
}

.verdict-box>p:last-child {
	margin-bottom: 0;
}

.author-box {
	display: flex;
	gap: 16px;
	align-items: center;
	border-top: 1px solid var(--border);
	padding-top: 24px;
	margin-top: 36px;
}

.author-box img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	flex-shrink: 0;
}

.author-box p {
	font-size: 14px;
	color: var(--muted);
	line-height: 22px;
	margin: 4px 0 0;
}

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

.pagination {
	margin-top: 36px;
}

.nav-links .page-numbers,.page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: 6px;
	display: inline-block;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--primary);
	color: #fff;
}

.pagination .nav-links {
	gap: 8px;
}

.post-navigation {
	border-top: 1px solid var(--border);
	margin-top: 32px;
	padding-top: 24px;
}

.post-navigation .nav-links {
	justify-content: space-between;
	align-items: start;
}

.post-navigation .nav-links>div {
	flex: 1;
}

.nav-next {
	text-align: right;
}

.empty-state {
	padding: 36px;
	background: var(--light);
	border: 1px solid var(--border);
	border-radius: 12px;
	grid-column: 1/-1;
}

.empty-state h2,.empty-state h3 {
	margin-bottom: 12px;
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 580px;
	margin-block: 24px;
}

.search-form label {
	flex: 1;
	min-width: 0;
}

.search-form input {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #aab8c0;
	border-radius: 8px;
	background: #fff;
	color: var(--text);
}

.error-page {
	text-align: center;
	padding-block: 64px 96px;
	min-height: 60vh;
}

.error-code {
	font: 700 120px/1.2 var(--mono);
	color: var(--primary);
	letter-spacing: -.08em;
	margin-block: 0 24px;
}

.error-page h1 {
	font-size: 36px;
}

.error-page p {
	color: var(--muted);
}

.error-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.error-page .search-form {
	margin: 32px auto 0;
}

.site-footer {
	background: var(--light);
	border-top: 1px solid var(--border);
	font-size: 14px;
	color: #3e4f5b;
}

.footer-inner {
	padding-block: 40px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footer-inner p {
	max-width: 900px;
	margin: 0;
	line-height: 22px;
}

.footer-support {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
}

.footer-support .age-badge {
	font-size: 18px;
	border-width: 2px;
	padding: 2px 8px;
	color: var(--text);
}

.gamesense {
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
}

.footer-links a {
	font-size: 14px;
}

.footer-inner .nav-links a {
	color: var(--primary);
	font-size: 14px;
	padding: 0;
}

.copyright {
	font-size: 13px;
	color: var(--muted);
}

@media(min-width:1000px) {
	.sidebar {
		position: sticky;
		top: 24px;
	}
}

@media(max-width:1024px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-navigation {
    flex: 0 0 100%;
    order: 3;
    margin: 0;
    padding: 12px 16px;
    max-height: min(70vh, 580px);
    max-height: min(70dvh, 580px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }

  .site-navigation.is-enhanced:not(.is-open) {
    display: none;
  }

  .site-navigation .nav-links {
    display: block;
  }

  .site-navigation.is-enhanced .nav-links > li > .sub-menu {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }


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

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

	.content-layout {
		grid-template-columns: minmax(0,1fr) 270px;
		gap: 24px;
	}

	.brand {
		flex-shrink: 1;
	}
}

@media(max-width:760px) {
	.container {
		padding-inline: 20px;
	}

	.top-inner {
		font-size: 12px;
		line-height: 18px;
		gap: 8px 12px;
	}

	.top-inner>span:nth-child(2) {
		flex: 1;
	}

	.top-inner>a {
		margin-left: 44px;
	}

	.header-inner {
		flex-wrap: wrap;
		gap: 12px;
	}

	.brand>a {
		font-size: 19px;
	}

	.brand {
		flex-wrap: wrap;
		gap: 0 8px;
	}
	.brand img {
		max-height: 20px;
	}
	.hero-inner {
		padding-block: 40px 32px;
	}

	.hero h1 {
		font-size: 36px;
		line-height: 43px;
	}

	.hero-sub {
		font-size: 17px;
		line-height: 27px;
	}

	.hero-badges {
		gap: 8px;
		margin-top: 20px;
	}

	.hero-badges span {
		padding: 6px 12px;
		font-size: 12px;
	}

	.section {
		padding-block: 36px;
	}

	h1 {
		font-size: 34px;
		line-height: 1.2;
	}

	h2 {
		font-size: 26px;
	}

	.content-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.responsible-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.steps {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.document-wrap {
		padding-block: 28px 48px;
	}

	.review-heading {
		gap: 16px;
		align-items: flex-start;
	}

	.review-heading h1 {
		font-size: 30px;
	}

	.review-logo {
		width: 64px;
	}

	.review-logo img {
		width: 64px;
		height: 48px;
	}

	.entry-content {
		font-size: 16px;
	}

	.entry-content h2 {
		font-size: 25px;
		line-height: 32px;
	}

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

	.error-code {
		font-size: 96px;
	}

	.error-page h1 {
		font-size: 30px;
	}

	.error-page {
		padding-block: 40px 64px;
	}
}

@media(max-width:540px) {
	.casino-grid,.archive-grid,.guides-grid {
		grid-template-columns: 1fr;
	}

	.casino-card {
		padding: 20px;
	}

	.section-heading {
		align-items: start;
	}

	.hero h1 {
		font-size: 32px;
		line-height: 39px;
	}

	.hero .eyebrow {
		font-size: 11px;
	}

	.search-form {
		flex-wrap: wrap;
	}

	.search-form label {
		flex-basis: 100%;
	}

	.search-form button {
		width: 100%;
	}

	.review-heading {
		flex-wrap: wrap;
	}

	.footer-support {
		gap: 16px;
	}

	.error-actions .button {
		width: 100%;
	}
}

@media(prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto;
	}
}

.entry-content .table-scroll-wrap{
	overflow: auto;
	max-width: 100%;
	border: 1px solid var(--border);
	border-radius: 12px;
	margin: 0 0 24px;
}


.entry-content table,
.entry-content .wp-block-table table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 15px;
}

.entry-content table th,
.entry-content table td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

.entry-content table th {
	background: var(--light);
	font-weight: 600;
}

.entry-content .wp-block-table.is-style-stripes {
	border-bottom: 1px solid var(--border);
}

.entry-content .wp-block-table.is-style-stripes tbody tr {
	background: transparent;
}

.entry-content .table-scroll-wrap .wp-block-table {
	margin: 0;
	border: 0;
	border-radius: 0;
}

/* Cookie banner */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(20, 33, 43, .10);
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
}
.consent[hidden] { display: none; }
.consent-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
}
.consent-copy { flex: 1 1 420px; min-width: 240px; }
.consent-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}
.consent-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  appearance: none;
  border-radius: 6px;
  padding: 11px 20px;
  font: 600 15px/1.2 "IBM Plex Sans", system-ui, sans-serif;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-accept { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-accept:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-reject { background: #5b6b77; border-color: #5b6b77; color: #fff; }
.btn-reject:hover { background: #46545f; border-color: #46545f; }
.btn-link {
  background: none;
  border: 0;
  padding: 8px 4px;
  color: var(--primary);
  font: 500 14px/1.4 "IBM Plex Sans", system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.btn:focus-visible, .btn-link:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 2px; }

.prefs {
  max-width: 880px;
  margin: 18px auto 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: grid;
  gap: 4px;
}
.prefs[hidden] { display: none; }
.pref-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.pref-row:last-of-type { border-bottom: 0; }
.pref-name { font-weight: 600; font-size: 15px; }
.pref-desc { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 2px 0 0; }
.pref-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.pref-switch input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; }
.pref-locked { color: var(--muted); font-size: 13px; font-weight: 500; }
.prefs-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 6px; }

.consent-reopen {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}


#menu-footer-menu.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu-footer-menu li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}


#menu-footer-menu > li > a {
  display: inline-block;
  margin-bottom: 16px;
  color: #163947;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

#menu-footer-menu > li > .sub-menu {
  position: static;
  display: grid;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}
#menu-footer-menu .sub-menu a {
  display: inline-block;
  padding: 0;
  color: #45616d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

#menu-footer-menu a:hover {
  color: #006b8f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#menu-footer-menu a:focus-visible {
  outline: 2px solid #006b8f;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 640px) {
  #menu-footer-menu.footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #menu-footer-menu > li > a {
    margin-bottom: 12px;
  }
}