.adaptive-content {
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
}


.adaptive-content iframe {
  width: 100%;
  height: auto; 
  aspect-ratio: 16/9;
  border: none;
  display: block;
}


.adaptive-content img {
  max-width: 100%;
  height: auto;
}

a {
	color: #555;
	text-decoration: none;
	transition: color 0.3s ease;	
}

a:not(.no-underline):not(.image-link) {
	border-bottom: 1px dashed #888;
	padding-bottom: 2px;
}

a img,
.image-link,
.language-switcher a {
	
}

a:hover {
	color: #333;
	border-bottom-color: transparent;	
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
}

body {
	padding: 1.25rem;
	max-width: 1200px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.5;
}

.header-desktop {
	display: grid;
	grid-template-areas:
		"logo nav"
		"logo languages";
	grid-template-columns: auto 1fr;
	gap: 0.625rem;
	margin-bottom: 1.25rem;
}

.logo {
	grid-area: logo;
	width: 9.375rem;
	height: auto;
	align-self: center;
}

.nav-and-languages {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}


.main-nav {
	grid-area: nav;
	display: flex;
	gap: 1.25rem;
	justify-content: flex-end;
	align-items: center;
}

.main-nav a {
	text-decoration: none;
	color: #333;
	font-weight: bold;
	white-space: nowrap;
	padding: 0.5rem 1rem;
	border-radius: 1.5rem;
	transition: all 0.3s ease;
}

.main-nav a:hover {
	background: #f0f0f0;
}

.language-switcher {
	grid-area: languages;
	display: flex;
	gap: 0.625rem;
	justify-content: flex-end;
}

.language-switcher a {
	display: block;
	width: 1.875rem;
	height: 1.875rem;
	background: #f0f0f0;
	border-radius: 50%;
	text-align: center;
	line-height: 1.875rem;
	text-decoration: none;
	color: #333;
	font-size: 0.75rem;
	transition: all 0.3s ease;
}

.language-switcher a:hover {
	background: #ddd;
}

.header-mobile {
	display: none;
}

.content-blocks {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

.block {
	display: flex;
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	overflow: hidden;
}

.block-header {
	flex: 0 0 12.5rem;
	padding: 0.9375rem;
	background: #f5f5f5;
	display: flex;
	flex-direction: column;
}

.block-header h3 {
	font-size: 1.25rem;
	margin-bottom: 0.625rem;
}

.block-header hr {
	border: none;
	border-top: 1px solid #ccc;
	margin: 0.3125rem 0;
}

.block-content {
	flex: 1;
	padding: 0.9375rem;
}

.block-content h3 {
	font-size: 1.25rem;
	margin-bottom: 0.625rem;
}

.contacts {
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	padding: 0.9375rem;
	margin-bottom: 1.25rem;
}

.contacts-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.contacts-column {
	flex: 1;
	min-width: 12.5rem;
}

.contacts-column a {
	display: block;
	margin-bottom: 0.625rem;
	color: #0066cc;
	text-decoration: none;
}

.qrcode-placeholder {
	width: 6.25rem;
	height: 6.25rem;
	background: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	border-radius: 0.625rem;
}

footer {
	text-align: center;
	padding: 1.25rem;
	border-top: 1px solid #ddd;
	position: relative;
	border-radius: 0.625rem;
	background: #f9f9f9;
}


@media (max-width: 768px) {
	.header-desktop {
		display: none;
	}

	.header-mobile {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		margin-bottom: 1.25rem;
	}

	.mobile-top {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.mobile-nav-container {
		display: flex;
		overflow-x: auto;
		gap: 0.5rem;
		padding-top: 0.5rem;
		justify-content: center;
	}

	.mobile-nav-container::-webkit-scrollbar {
		height: 0.25rem;
	}

	.mobile-nav-container::-webkit-scrollbar-thumb {
		background: #ccc;
		border-radius: 0.125rem;
	}

	.main-nav {
		display: flex;
		gap: 0.5rem;
	}

	.main-nav a {
		padding: 0.5rem 1rem;
		background: #f0f0f0;
		border-radius: 1.5rem;
		white-space: nowrap;
		font-size: 0.875rem;
	}

	.language-switcher {
		display: flex;
		gap: 0.5rem;
	}

	.block {
		flex-direction: column;
	}

	.block-header {
		flex: 0 0 auto;
	}
}

table.my-unique-table {
	border-collapse: separate;	
	border-spacing: 0;
	width: calc(100% - 2.5rem);
	margin: 1.25rem auto;
	background: transparent;
}

table.my-unique-table td {
	padding: 0.9375rem;
	border: 1px solid #ddd;
	max-width: 350px;
	word-wrap: break-word;
	background-color: white;
}

table.my-unique-table tr:first-child td:first-child {
	border-top-left-radius: 0.625rem;
}

table.my-unique-table tr:first-child td:last-child {
	border-top-right-radius: 0.625rem;
}

table.my-unique-table tr:last-child td:first-child {
	border-bottom-left-radius: 0.625rem;
}

table.my-unique-table tr:last-child td:last-child {
	border-bottom-right-radius: 0.625rem;
}

table.my-unique-table tr:nth-child(even) td {
	background-color: #f5f5f5;
}

@media (max-width: 768px) {
	table.my-unique-table {
		width: 100%;
		margin: 1.25rem 0;
		border-collapse: collapse;
	}

	table.my-unique-table tr {
		display: flex;
		flex-direction: column;
		margin-bottom: 1.25rem;
		border-radius: 0.625rem;
		overflow: hidden;
		box-shadow: 0 0 0 1px #ddd;
		background-color: white;
	}

	table.my-unique-table td {
		width: 100%;
		max-width: 100%;
		padding: 0.9375rem 1.25rem;
		border: none;
		border-bottom: 1px solid #f0f0f0;
		background-color: transparent;
		border-radius: 0 !important;
	}

	table.my-unique-table tr:nth-child(even) {
		background-color: #f5f5f5;
	}

	table.my-unique-table tr td:last-child {
		border-bottom: none;
	}
}

.contacts {
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}

.contacts-container {
	display: flex;
	gap: 1.25rem;
}

.contacts-info {
	flex: 1;
	padding-right: 1.25rem;
	border-right: 1px solid #eee;
}

.qr-sidebar {
	width: 229px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.qrcode-placeholder {
	width: 240px;
	height: 240px;
	border: 1px solid #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.625rem;
	background: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qr-caption {
	margin-top: 1rem;
	text-align: center;
	font-size: 0.875rem;
	color: #666;
}

@media (max-width: 768px) {
	.contacts-container {
		flex-direction: column;
	}

	.contacts-info {
		padding-right: 0;
		border-right: none;
		border-bottom: 1px solid #eee;
		padding-bottom: 1.25rem;
	}

	.qr-sidebar {
		width: 100%;
		padding-top: 1.25rem;
	}
}

.contacts-wrapper {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.25rem;
}

.contacts-box {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	padding: 1.25rem;
	background: white;
}

.contacts-desktop {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.25rem;
	align-items: stretch;	
}

.block {
	flex: 1;
	display: flex;
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	overflow: hidden;
	background: white;
}

.block-header {
	flex: 0 0 250px;
	padding: 1.25rem;
	background: #f5f5f5;
	border-right: 1px solid #eee;
	display: flex;
	flex-direction: column;
}

@media (max-width: 768px) {
	.block-header {
		flex: 0 0 auto;	
		padding: 1rem;
		border-right: none;
		border-bottom: 1px solid #eee;
		width: 100%;	
	}

}

.block-content-cont {
	flex: 1;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
}

.qr-box {
	width: 275px;
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	display: flex;
	flex-direction: column;
	background: white;
}

.qr-box-inner {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.qrcode-placeholder {
	width: 235px;
	height: 240px;
	margin: 0 auto;
	border: 1px solid #eee;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 1024px) {
	.contacts-desktop {
		flex-direction: column;
	}

	.qr-box {
		width: 100%;
		margin-top: 1rem;
	}
}


.qr-box {
	width: 275px;	
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: white;
}

.qr-code {
	width: 200px;
	height: 200px;
	border: 1px solid #eee;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.qr-caption {
	margin-top: 1rem;
	font-size: 0.9rem;
	color: #666;
	text-align: center;
}

@media (max-width: 768px) {
	.contacts-wrapper {
		flex-direction: column;
	}

	.qr-box {
		width: 100%;
		margin-top: 1rem;
	}
}

.contacts-desktop {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.25rem;
}

.contacts-box {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	padding: 1.5rem;
	background: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qr-box {
	width: 310px;
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contacts-mobile {
	display: none;
	border: 1px solid #ddd;
	border-radius: 0.625rem;
	padding: 1.25rem;
	margin-bottom: 1.25rem;
	background: white;
}

.qrcode-placeholder {
	width: 240px;
	height: 240px;
	margin: 1rem auto;
	border: 1px solid #eee;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 1024px) {
	.contacts-desktop {
		display: none;
	}

	.contacts-mobile {
		display: block;
	}
}

@font-face {
	font-family: 'LoganFive';
	src: url('fonts/LoganFive Regular.ttf') format('truetype');
	font-display: swap;
	font-weight: normal;
}

h3 {
	font-family: 'LoganFive', Arial, sans-serif;
	font-weight: normal;
	font-size: 1.5rem;
	margin-bottom: 0.8rem;
	color: #333;
}

body {
	font-family: Arial, sans-serif;
}