@import './variables.css';

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Source Sans 3', -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	width: 100%;
	height: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Source Serif 4', Georgia, serif;
}

.serif {
	font-family: 'Source Serif 4', Georgia, serif;
}

iframe {
	border-radius: 5px;
	overflow: hidden;
}


.page-content .alert-warning {
	background-color: #fffbeb;
	color: #b45309;
	border: 1px solid #fde68a;
	border-left: 5px solid #f59e0b;
	border-radius: 6px;
	padding: 1.25rem 1.5rem;
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	box-shadow: 0 2px 4px rgba(245, 158, 11, 0.05);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.message {
	padding: 15px;
}

body > .message {
	text-align: center;
}

body > .message {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}

.message.message-success {
	background-color: #4caf50;
	color: #fff;
}

.message.message-error {
	background-color: #dc3545;
	color: #fff;
}

.field-validation-error {
	color: #dc3545;
}

ul.term.term-category.list-group {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	padding: 0;
	margin: 30px 0;
	list-style: none;
}

ul.term.term-category.list-group li {
	border: none;
	padding: 0;
	background: none;
}

ul.term.term-category .content-category {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1.25rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: all 0.25s ease-in-out;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

ul.term.term-category .content-category:hover {
	transform: translateY(-3px);
	border-color: var(--navy-dark);
	box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
}

ul.term.term-category .content-category h2 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
}

ul.term.term-category .content-category h2 a {
	color: #1e293b;
	text-decoration: none;
	display: block;
	text-align: center;
}

ul.term.term-category .content-category hover h2 a {
	color: #0d6efd;
}

ul.term.term-category .field-name-category-description {
	font-size: 0.9rem;
	color: #64748b;
	margin-top: 0.5rem;
}

/* A11Y BAR */
.a11y-bar {
	background: var(--ink);
	color: white;
	font-size: 0.85rem;
	padding: 0.5rem 0;
}

.a11y-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.a11y-bar a, .a11y-bar button {
	color: white;
	background: none;
	border: none;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
	padding: 0.25rem 0.5rem;
	border-radius: var(--radius);
	transition: background 0.2s;
}

.a11y-bar a:hover, .a11y-bar button:hover,
.a11y-bar a:focus, .a11y-bar button:focus {
	background: rgba(255,255,255,0.15);
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.a11y-tools {
	display: flex;
	gap: 0.25rem;
	align-items: center;
}

.a11y-tools .divider {
	opacity: 0.3;
	margin: 0 0.25rem;
}

.container {
	max-width: var(--container);
	margin: 0 auto;
}

/* HEADER */
.site-header {
	background: white;
	display: contents;
	box-shadow: var(--shadow-sm);
}

#main-menu {
	position: sticky;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

#main-menu .nav-list > .has-sublist > a {
	padding-right: 30px;
}

#main-menu .nav-list > .has-sublist > .plus-button {
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	border: 0;
	background: unset;
	background: url(../images/icons/arrow-down-white.svg);
	background-size: contain;
	right: 6px;
	width: 20px;
	height: 20px;
}

.sublist .plus-button {
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	border: 0;
	background: unset;
	background: url(../images/icons/arrow-right.svg);
	background-size: contain;
	right: 6px;
	width: 20px;
	height: 20px;
	transition: .2s ease;
}

.header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
	gap: 2rem;
}

.header-top .logo img {
	margin: 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	color: var(--ink);
}

.coat-of-arms {
	width: 56px;
	height: 64px;
	flex-shrink: 0;
}

.brand-text h1 {
	font-family: 'Source Serif 4', serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--navy);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.brand-text .subtitle {
	font-size: 0.8rem;
	color: var(--ink-soft);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-top: 2px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.search-box {
	position: relative;
	display: flex;
	align-items: center;
}

.search-box input {
	width: 280px;
	padding: 0.65rem 1rem 0.65rem 2.5rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	font-size: 0.9rem;
	background: var(--paper);
	transition: all 0.2s;
}

.search-box input:focus {
	outline: none;
	border-color: var(--navy);
	background: white;
	box-shadow: 0 0 0 3px rgba(0, 63, 127, 0.1);
}

.search-box svg {
	position: absolute;
	left: 0.85rem;
	width: 16px;
	height: 16px;
	color: var(--ink-soft);
	pointer-events: none;
}

button {
	border-radius: 5px;
}

.btn-primary {
	background: var(--navy);
	color: white;
	border: none;
	padding: 0.75rem 1.25rem;
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: var(--radius);
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s;
	border-radius: 5px;
}

.btn-primary:hover {
	background: var(--navy);
}

button[type=submit] {
	width: 100%;
	max-width: 100%;
	text-align: center;
	justify-content: center;
}

.flow section.text-section {
	margin-block: 30px;
	padding-inline: 0;
}

.text-section p {
	font-family: 'Source Serif 4', serif;
	font-size: 1.1rem;
	line-height: 1.75;
	color: var(--ink);
	margin-bottom: 20px;
}

.text-section h1,
.text-section h2,
.text-section h3,
.text-section h4,
.text-section h5 {
	font-family: 'Source Serif 4', serif;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--navy);
}

blockquote {
	background: var(--paper);
	border-left: 4px solid var(--gold);
	padding: 1.5rem 1.75rem 1.5rem 2.5rem;
	margin: 2rem 0;
	position: relative;
	font-style: italic;
	font-size: 1.05rem;
	color: var(--navy-dark);
}

blockquote::before {
	content: '“';
	position: absolute;
	top: -0.5rem;
	left: 0.75rem;
	font-family: 'Source Serif 4', serif;
	font-size: 4.5rem;
	color: var(--gold);
	opacity: 0.5;
	line-height: 1;
}

blockquote *:last-child {
	margin-bottom: 0;
}

.text-section h2 {
	margin: 3rem 0 1rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--line);
}

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

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

.text-section img {
	border-radius: 5px;
	margin-block: 15px;
}

.text-truncate-3 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

section {
	margin-block: 30px;
}

section.flow {
	margin: 0;
}

section.container {
	margin-block: 50px;
}

/* NAV */
.main-nav {
	background: var(--navy);
}

.nav-list {
	padding: 0;
	margin: 0;
}

.nav-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}

.nav-list > li {
	position: relative;
}

.nav-list > li > a {
	display: block;
	padding: 1rem 1.25rem;
	color: white;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	border-right: 1px solid rgba(255,255,255,0.1);
	transition: background 0.2s;
}

.nav-list > li > ul li {
	border-bottom: 1px solid #eee;
	position: relative;
	transition: background-color .2s ease;
}

.nav-list > li > ul li:hover {
	background-color: #eee;
}

.nav-list li li:has(ul) {
	position: relative;
}

.nav-list > li > ul > li a {
	padding: 6px 10px;
	color: var(--navy);
	text-decoration: none;
	display: block;
	width: 100%;
}

.nav-list > li > ul > li ul {
	position: absolute;
	top: 0;
	left: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: #fff;
	width: 240px;
	list-style: none;
	padding: 0;
	transform: translateX(-5px);
	transition: .2s ease;
	border-left: 1px solid #eee;
}

.nav-list > li > ul > li:hover > ul {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
	transform: translateX(0);
}

.nav-list > li:first-child > a {
	border-left: 1px solid rgba(255,255,255,0.1);
}

.nav-list > li > a:hover,
.nav-list > li > a.active,
.nav-list > li:hover > a {
	background: var(--navy-dark);
}

.nav-list > li > a.active {
	box-shadow: inset 0 -3px 0 var(--gold);
}

/* BREADCRUMB */
.breadcrumb-bar {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	padding: 0.9rem 0;
	font-size: 0.85rem;
}

.breadcrumb-item + .breadcrumb-item::before {
	display: none;
}

.breadcrumb-item::first-letter {
	text-transform: uppercase;
}

.breadcrumb-bar ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin: 0;
	padding: 0;
}

.breadcrumb-bar li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ink-soft);
}

.breadcrumb-bar li::after {
	content: '/';
	color: var(--line);
	font-weight: 700;
	margin-left: 0.5rem;
}

.breadcrumb-bar li:last-child::after {
	display: none;
}

.breadcrumb-bar li:last-child {
	color: var(--navy);
	font-weight: 600;
}

.breadcrumb-bar a {
	color: var(--ink-soft);
	text-decoration: none;
	transition: color 0.2s;
}

.breadcrumb-bar a:hover {
	color: var(--navy);
	text-decoration: underline;
}

/* PAGE HEADER */
.page-header {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
	color: white;
	padding: 3.5rem 0 2.5rem;
	position: relative;
	overflow: hidden;
	margin: 0;
}

.page-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5L5 30l25 25 25-25L30 5z' stroke='%23ffffff' stroke-width='0.5' fill='none' opacity='0.08'/%3E%3C/svg%3E");
	opacity: 0.5;
}

.page-header::after {
	content: '';
	position: absolute;
	right: -100px;
	top: -100px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(201,169,97,0.15) 0%, transparent 60%);
	pointer-events: none;
}

.page-header-inner {
	position: relative;
	z-index: 2;
	max-width: 900px;
}

.page-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(201,169,97,0.15);
	border: 1px solid rgba(201,169,97,0.4);
	color: var(--gold);
	padding: 0.35rem 0.9rem;
	border-radius: 2rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.page-title {
	font-family: 'Source Serif 4', serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
}

.page-subtitle {
	font-size: 1.1rem;
	line-height: 1.5;
	opacity: 0.9;
	max-width: 720px;
}

/* LAYOUT */
.page-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3rem;
	padding: 3rem 0 4rem;
	align-items: start;
}

.sidebar {
	position: sticky;
	top: 120px;
	background: white;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
}

.sidebar h3 {
	font-family: 'Source Serif 4', serif;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--navy);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--gold);
}

.sidebar ul {
	list-style: none;
}

.sidebar li a {
	display: block;
	padding: 0.55rem 0.75rem;
	color: var(--ink);
	text-decoration: none;
	font-size: 0.9rem;
	border-left: 3px solid transparent;
	margin-bottom: 2px;
	transition: all 0.15s;
	border-radius: 0 var(--radius) var(--radius) 0;
}

.sidebar li a:hover, .sidebar li a:focus {
	background: var(--paper);
	border-left-color: var(--gold);
	padding-left: 1rem;
	color: var(--navy);
}

.sidebar li a.active {
	background: var(--navy);
	color: white;
	border-left-color: var(--gold);
	font-weight: 600;
}

.main-content {
	background: white;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2.5rem;
	box-shadow: var(--shadow-sm);
}

td, th {
	padding: 8px;
}

tbody, td, tfoot, th, thead, tr {
	border-width: 1px;
}

/* FOOTER */
footer {
	background: var(--ink);
	color: rgba(255,255,255,0.85);
	padding: 3rem 0 0;
}

.footer-grid {
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.footer-brand .coat-of-arms {
	filter: brightness(0) invert(1);
	opacity: 0.9;
	width: 44px;
	height: 50px;
}

.footer-brand h3 {
	font-family: 'Source Serif 4', serif;
	font-size: 1.1rem;
	color: white;
	margin-bottom: 0.25rem;
}

.footer-brand p {
	font-size: 0.8rem;
	opacity: 0.7;
}

.footer-contact {
	font-size: 0.9rem;
	line-height: 1.8;
}

.footer-contact strong {
	color: white;
}

footer h4 {
	font-family: 'Source Serif 4', serif;
	font-size: 0.9rem;
	color: var(--gold);
	margin-bottom: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
}

footer ul {
	padding-left: 0;
}

footer ul {
	list-style: none;
}

footer ul li {
	margin-bottom: 0.5rem;
}

footer ul a {
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	font-size: 0.88rem;
	transition: all 0.2s;
}

footer ul a {
	position: relative;
}

footer ul a[target=_blank]::after {
	content: "↗";
	font-size: 14px;
	display: inline-block;
	margin-left: 3px;
}

footer ul a:hover {
	color: var(--gold);
	padding-left: 4px;
}

.footer-bottom {
	padding: 1.25rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
	opacity: 0.7;
	flex-wrap: wrap;
	gap: 1rem;
}

/* SKIP LINK */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--gold);
	color: var(--navy-dark);
	padding: 0.75rem 1.5rem;
	font-weight: 700;
	text-decoration: none;
	z-index: 1000;
}

.skip-link:focus {
	top: 0;
}

/* MOCKUP BADGE */
.mockup-notice {
	background: var(--gold);
	color: var(--navy-dark);
	text-align: center;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.badge {
	background-color: #eee;
	border-radius: 5px;
}

/* A11Y PREFS */
body.high-contrast {
	--cream: #ffffff;
	--paper: #f0f0f0;
	--ink: #000000;
	--ink-soft: #1a1a1a;
	--line: #666666;
	--navy: #000066;
	--navy-dark: #000044;
}

body.large-text {
	font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
	.page-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.sidebar {
		position: static;
	}
}

@media (max-width: 640px) {
	.search-box input {
		width: 140px;
	}

	.header-top {
		flex-wrap: wrap;
	}

	.nav-list {
		flex-direction: column;
	}

	.nav-list > li > a {
		border-right: none;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}

	.main-content {
		padding: 1.5rem;
	}

	.page-title {
		font-size: 1.75rem;
	}
}

.list-group-item {
	padding: 0;
	margin-bottom: 5px;
}

.coa-svg path.shield {
	fill: var(--navy);
	stroke: var(--gold);
	stroke-width: 1;
}

.coa-svg path.band {
	fill: var(--gold);
	opacity: 0.2;
}

.coa-svg circle.sun {
	fill: var(--gold);
}

.coa-svg path.star {
	fill: var(--navy);
}

.coa-svg path.wave {
	stroke: var(--gold);
	fill: none;
}

#doc-modal img {
	width: 100% !important;
	height: auto !important;
}

.logo {
	font-size: 14px;
}

.logo ul {
	list-style: disc;
	padding-left: 1rem;
}

.logo img {
	margin-bottom: 15px;
}

.logo p {
	margin: 0;
}

.logo a {
	display: contents;
}

.logo img {
	width: 250px;
	height: auto;
}

.team-member img {
	aspect-ratio: 1/1;
	object-position: top;
}

.team-member h3 {
	font-weight: 600;
}

.nav-lis > li {
	position: relative;
}

.nav-list > li > ul {
	position: absolute;
	top: 100%;
	left: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: #fff;
	list-style: none;
	padding: 0;
	width: 230px;
	transform: translateY(5px);
	transition: .2s ease;
}

.nav-list > li:hover > ul {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
	transform: translateY(0);
}

.document-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-block: 30px;
}

.document {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.25rem;
	padding: 1.1rem 1.25rem;
	background: white;
	border-radius: var(--radius);
	transition: all 0.2s;
	align-items: center;
}

.document:hover {
	border-color: var(--navy);
	box-shadow: var(--shadow-md);
}

.document-title {
	font-family: 'Source Serif 4', serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.35;
	text-decoration: none;
	display: block;
}

.document-actions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.document-content .meta {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	font-size: 0.75rem;
	color: var(--ink-soft);
	margin-bottom: 0.35rem;
	flex-wrap: wrap;
}

.meta-tag {
	background: var(--paper);
	padding: 0.15rem 0.55rem;
	border-radius: 1rem;
	font-weight: 600;
	color: var(--navy);
	border: 1px solid var(--line);
}

.btn-action {
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	background: white;
	border-radius: var(--radius);
	cursor: pointer;
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-action:hover {
	background: var(--navy);
	color: white;
	border-color: var(--navy);
}

.btn-action.primary {
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	background: white;
	border-radius: var(--radius);
	cursor: pointer;
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.2s;
	background: var(--navy);
	color: white;
	border-color: var(--navy);
	padding: 0 1rem;
	width: auto;
	font: inherit;
	font-weight: 600;
	font-size: 0.85rem;
	gap: 0.4rem;
}

.content-grid {
	margin-block: 30px;
}

.filters-bar + .content-grid {
	margin-top: 0;
}

.contact-form-wrapper {
	background-color: #fff;
	margin-block: 30px;
}

.contact-form .widget {
	margin-bottom: 15px;
}

.contact-form textarea {
	min-height: 150px;
}


/* === FILTERS TOOLBAR === */
.filters-bar {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 0.75rem;
	margin-block: 30px 10px;
	padding: 1.25rem;
	background: var(--paper);
	border-radius: var(--radius);
	border: 1px solid var(--line);
}

.filter-search {
	position: relative;
}

.filter-search input {
	width: 100%;
	padding: 0.65rem 1rem 0.65rem 2.5rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	font-size: 0.9rem;
	background: white;
}

.filter-search input:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(0, 63, 127, 0.1);
}

.filter-search svg {
	position: absolute;
	left: 0.85rem;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	color: var(--ink-soft);
	pointer-events: none;
}

.filter-select {
	padding: 0.65rem 1rem;
	border: 1.5px solid var(--line);
	background: white;
	font: inherit;
	font-size: 0.9rem;
	border-radius: var(--radius);
	cursor: pointer;
	color: var(--ink);
}

.filter-select:focus {
	outline: 2px solid var(--navy);
	outline-offset: 1px;
}

.hero-wrapper {
	margin: 0 !important;
}

.myHeroSwiper .announcement {
	background-color: var(--gold);
}

.useful-links img {
	width: 27px;
	height: auto;
	aspect-ratio: 1/1;
	object-fit: contain;
}

.useful-links h3 {
	font-size: 24px;
}

.useful-links p {
	font-size: 16px;
}

.useful-links .cta {
	color: var(--gold);
	text-transform: uppercase;
	font-weight: 600;
}

#menu-toggler {
	width: 35px;
	height: 35px;
	border: 0;
	background-color: transparent;
}

#menu-toggler img {
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
}

@media(min-width: 1001px) {
	#menu-toggler {
		display: none;
	}

	#search-button {
		display: contents;
	}
}

@media(max-width: 1000px) {

	.nav-list > li > ul {
		transform: none;
	}

	#main-menu .nav-list > .has-sublist > .plus-button {
		width: 37px;
		height: 57px;
		transition: .2s ease;
		background-size: 27px;
		background-repeat: no-repeat;
		background-position: center;
	}

	.sublist .has-sublist .plus-button {
		transform: translateY(-50%) !important;
		top: 19px;
		width: 38px;
		height: 38px;
		background-size: 38px;
		background-position: center;
	}

	.sublist .has-sublist .plus-button {
		width: 37px;
		height: 37px;
		background-size: 25px;
	}

	.sublist .has-sublist .plus-button.active {
		transform: translateY(-50%) rotate(90deg) !important;
	}

	.plus-button.active {
		transform: translateY(-50%) rotate(180deg) !important;
	}

	#main-menu .nav-list > .has-sublist > .plus-button {
		top: 28px;
	}

	.sublist {
		border: 0;
		display: none;
		position: static !important;
		width: 100% !important;
		transform: none;
		pointer-events: all !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.sublist .sublist {
		border-top: 1px solid #eee;
		background: #eee;
	}

	.sublist.active {
		pointer-events: all;
		opacity: 1;
		visibility: visible;
	}

	.nav-list > li > a.active {
		border: 0;
		box-shadow: inset 3px 0 0 var(--gold);
	}

	.sublist.active {
	}

	.document {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.filters-bar {
		display: flex;
		flex-wrap: wrap;
	}

	.filters-bar > * {
		width: 100%;
	}

	.logo img {
		width: 200px;
	}

	#main-menu .container {
		padding: 0;
	}

	.header-top {
		justify-content: unset;
	}

	#search-button {
		display: block;
		border: 0;
		background-color: transparent;
		margin-left: auto;
	}

	.search-box svg {
		position: static;
		width: 25px;
		height: 25px;
	}

	.header-actions, .search-box {
		display: contents;
	}

	.header-actions input {
		display: none;
	}

	.site-header > .container {
		position: sticky;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 99;
		background-color: #fff;
	}

	#main-menu {
		position: fixed;
		top: 90px;
		left: 0;
		width: 100%;
		transform: translateX(-100%);
		transition: .2s ease;
		overflow: auto;
	}

	.nav-list > li > ul {
		display: none;
	}

	.nav-list > li:has(ul)::after {
		filter: brightness(0) invert(1);
	}

	#main-menu {
		height: fit-content;
		width: 100%;
		max-height: calc(100% - 90px);
	}

	#main-menu .nav-list {
		flex-direction: column;
	}

	#main-menu.active {
		transform: translateX(0);
		z-index: 99;
	}

	.menu-overlay {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		position: fixed;
		inset: 0;
		background: #0007;
		z-index: 10;
		transition: .2s ease;
	}

	#main-menu.active + .menu-overlay {
		opacity: 1;
		visibility: visible;
		pointer-events: all;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}
}
