* {
	box-sizing: border-box;
}
html {
	color-scheme: light;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: #fff;
	color: #292929;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}
body.gallery-open {
	overflow: hidden;
}
[hidden] {
	display: none !important;
}
a {
	color: #225f91;
	text-underline-offset: .18em;
}
a:hover {
	color: #153d60;
}
:focus-visible {
	outline: 3px solid #b05a00;
	outline-offset: 4px;
}
button, a {
	-webkit-tap-highlight-color: transparent;
}
button {
	font: inherit;
	cursor: pointer;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
.container {
	width: min(100% - 32px, 1140px);
	margin-inline: auto;
}
.skip-link {
	position: absolute;
	top: 8px;
	left: 16px;
	transform: translateY(-200%);
	background: white;
	padding: 12px;
	z-index: 10;
}
.skip-link:focus {
	transform: none;
}
.site-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding-block: 20px 12px;
}
.logo {
	display: inline-block;
	line-height: 1;
}
.logo img {
	width: 203px;
	height: 53px;
}
.phone-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 16px;
}
.phone-header a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #241d42;
	font-size: 22px;
	font-weight: bold;
	white-space: nowrap;
}
.site-nav {
	background: #241d42;
}
.site-nav ul {
	display: grid;
	grid-template-columns: 1fr 1fr 1.25fr;
	margin-block: 0;
	padding: 0;
	list-style: none;
}
.site-nav li {
	display: flex;
}
.site-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 10px 6px;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
	background: #2c6595;
}
.site-nav a:focus-visible {
	outline-color: #ffd08a;
	outline-offset: -4px;
}
main {
	padding-block: 24px;
	overflow-wrap: break-word;
}
h1, h2, h3 {
	line-height: 1.2;
	font-weight: 500;
	text-wrap: balance;
}
h1 {
	margin: 0 0 24px;
	font-size: clamp(1.875rem, 4vw, 2.75rem);
}
h2 {
	margin: 32px 0 16px;
	font-size: clamp(1.5rem, 3vw, 2rem);
}
p, ul, ol {
	margin-block: 0 18px;
}
ul, ol {
	padding-left: 24px;
}
li + li {
	margin-top: 10px;
}
.site-nav li + li {
	margin-top: 0;
}
.jumbotron {
	padding: 28px 20px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, rgba(20, 22, 25, .85), rgba(20, 22, 25, .68)), url('/img/bg_troekur.jpg') center / cover;
	color: #fff;
	text-align: center;
}
.jumbotron .lead {
	font-size: 18px;
}
.jumbotron p:last-child {
	margin-bottom: 0;
}
.btn, .consent-actions button, .gallery-controls button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	max-width: 100%;
	padding: 10px 16px;
	border: 1px solid transparent;
	border-radius: 3px;
	background: #286090;
	color: #fff;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	white-space: normal;
}
.btn:hover, .consent-actions button:hover, .gallery-controls button:hover {
	background: #1d466a;
	color: #fff;
}
.btn-success {
	background: #2e7030;
}
.btn-success:hover {
	background: #225323;
}
.cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px 32px;
}
.photopreview {
	margin-block: 24px;
	text-align: center;
}
.photo-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.photo-gallery a {
	display: block;
	padding: 4px;
	border: 1px solid #ccc;
	border-radius: 3px;
}
.photo-gallery img {
	width: 100%;
}
.site-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block: 24px;
	border-top: 1px solid #ddd;
	font-size: 14px;
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	align-items: center;
}
.footer-links a, .link-button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.langselect img {
	margin-right: 8px;
	border: 1px solid #909090;
}
.link-button {
	padding: 0;
	border: 0;
	background: none;
	color: #225f91;
	text-decoration: underline;
	text-underline-offset: .18em;
}
.consent {
	position: fixed;
	right: 16px;
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 20;
	width: min(100% - 32px, 480px);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: 0;
	padding: 16px;
	overflow-y: auto;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #f6f6f8;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
	font-size: 14px;
}
.consent h2 {
	margin: 0 0 8px;
	font-size: 18px;
}
.consent p {
	margin-bottom: 12px;
}
.consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.consent-actions button {
	flex: 1 1 auto;
}
.gallery-dialog {
	width: min(100% - 24px, 1040px);
	max-height: calc(100dvh - 24px);
	padding: 12px;
	border: 0;
	border-radius: 4px;
	background: #fff;
}
.gallery-dialog::backdrop {
	background: rgba(0, 0, 0, .8);
}
.gallery-dialog figure {
	margin: 0;
	text-align: center;
}
.gallery-dialog img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 60dvh;
	object-fit: contain;
}
.gallery-dialog figcaption {
	margin-block: 8px;
}
.gallery-controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}
@media (min-width: 600px) {
	.site-header {
		flex-direction: row;
		justify-content: space-between;
		padding-block: 24px;
	}
	.phone-header {
		flex-direction: column;
	}
	.phone-header a {
		font-size: 26px;
	}
	.site-nav a {
		font-size: 16px;
	}
	.site-nav ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.jumbotron {
		padding: 40px;
	}
	.jumbotron .lead {
		max-width: 760px;
		margin-inline: auto;
		font-size: 21px;
	}
	.photo-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.consent-actions button {
		flex: 0 1 auto;
	}
}
@media (min-width: 992px) {
	.cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.photo-gallery {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}
@media print {
	.site-nav, .consent, .footer-links, .skip-link, .gallery-dialog {
		display: none !important;
	}
	.jumbotron {
		background: none;
		color: #000;
	}
	a {
		color: #000;
	}
}
