body {
	font-family: var(--site-font, "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	margin: 0;
	background-color: #5b86e5;
	color: #f3f3f3;
}
[hidden] {
	display: none !important;
}
.container.special {
    background-color: #5b86e5;
	color: #f3f3f3;
    margin: 0;
    border-radius: 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}
/*
.home-border {
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;

} */
.container {
	/* max-width: 1160px; */
	padding: 16px;
	min-height: calc(100vh - 200px);
    background-color: #fff;
    color: #000;
    margin: 0 30px !important;
    border-radius: 20px;
}
.header {
	padding: 15px 30px;
}
.foot {
	display: flex;
	gap: 12px;
	align-items: center;
	width: 100%;
	height: 30px;
	justify-content: space-around;
}
.nav div {
	display: flex;
	justify-content: space-around;
}
.nav a {
	text-decoration: none;
	color: #ffffff;
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* padding: 15px 30px; */
	height: 100px;
	/* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
	flex-wrap: wrap; /* для адаптивности */
}
/* Левая секция */
.nav-left {
	display: flex;
	gap: 20px; /* отступы между ссылками */
	flex: 0 0 auto;
}
/* Правая секция */
.nav-right {
	display: flex;
	gap: 20px;
	flex: 0 0 auto;
	justify-content: flex-end;
}
/* Логотип */
.nav-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
}
.nav-logo img {
	max-height: 100px; /* регулируйте под свой логотип */
	width: auto;
}
/* Стили для ссылок */
.nav a {
	text-decoration: none;
	color: #ffffff;
	font-weight: 300;
	transition: color 0.3s;
	white-space: nowrap; /* предотвращает перенос текста */
}
.nav a:hover {
	color: #007bff;
}
/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
.nav {
		flex-direction: column;
		gap: 15px;
	}
.nav-left,
.nav-right {
		justify-content: center;
		flex-wrap: wrap;
	}
.nav-logo {
		order: -1; /* лого сверху на мобильных */
	}

}
header hr {
	margin: 0;
	border-color: #ffffff77;
}
.spacer {
	flex: 1;
}
.container h1 {
	margin-top: 0;
}
.flash {
	margin: 12px 0;
}
.flash-item {
	background: #ffe8e838;
	padding: 8px 10px;
	margin-bottom: 6px;
	border: 1px solid #ffbcbc;
}
/* About / Structure page */
.about-structure {
	min-height: calc(100vh - 200px); /* 70px — примерная шапка */
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.about-header h1 {
	margin: 0;
}
.muted {
	opacity: 0.75;
}
.small {
	font-size: 0.9rem;
}
.leaders-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 18px;
	row-gap: 24px;
}
.person-card {
	display: flex;
    flex-direction: column;
	gap: 10px;
	padding: 0;
	align-items: center;
    height: 100%;
    background: transparent;
}
.person-contacts {
    text-align: center;
    width: 100%;
    color: #4b5563;
    font-size: .88rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.avatar {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	border-radius: 8px;
	overflow: hidden;
	flex: 0 0 auto;
	background: #eef3f9;
}
.avatar.sm {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	border-radius: 8px;
}
.avatar img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
.avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #1d63c8;
	font-size: 3rem;
	font-weight: 750;
	background: linear-gradient(135deg, #eef6ff, #f8fbff);
}
.person-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
    width: 100%;
}
.person-name {
	font-weight: 650;
	line-height: 1.2;
    text-align: center;
    text-wrap: balance;
}
.person-role {
	opacity: 0.8;
	font-size: 0.95rem;
	line-height: 1.28;
    text-align: center;
    text-wrap: balance;
}
.person-card > div:not(.avatar) {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.commissions {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1 1 auto;
	min-height: 0; /* важно для ограничений по высоте */
}
.commissions-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
/* Чтобы на десктопе “умещалось”, делаем компактнее */
@media (min-width: 900px) {
.about-header .muted {
		margin: 6px 0 0;
	}
.person-role {
		font-size: 0.92rem;
	}

}
/* На мобильных прокрутка неизбежна — делаем одну колонку */
@media (max-width: 700px) {
.leaders-grid {
		grid-template-columns: 1fr;
	}
.carousel {
		grid-auto-columns: minmax(220px, 80vw);
	}

}
iframe {
    display: block;
	margin: auto;
    border-radius: 25px;
    max-width: 80vw;
}
.header-inner {
	max-width: 90vw;
	margin: 0 auto;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}
.brand-logo {
	height: 100px;
}
.brand-text {
	font-weight: 650;
	white-space: nowrap;
}
.nav-desktop {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}
.nav-link {
	text-decoration: none;
	color: inherit;
	/* opacity: 0.88; */
	padding: 8px 10px;
	border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
}
.nav-link:hover {
	background: #4b7eed;
    text-decoration: none;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.btn-login {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
}
/* Dropdown */
.nav-item {
	position: relative;
}
.has-dropdown .dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	padding: 8px;
	box-shadow: none;
	display: none;
	z-index: 50;
    background-color: #5b86e5;
}
.has-dropdown .dropdown a {
	display: block;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	opacity: 0.9;
}
.has-dropdown .dropdown a:hover {
	background: #4b7eed;
	opacity: 1;
}
/* показывать dropdown по hover и по фокусу (Tab) */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
	display: block;
}
/* Burger + mobile */
.burger {
	display: none;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 8px 10px;
	cursor: pointer;
}
.nav-mobile {
	border-top: 1px solid #eee;
}
.nav-mobile-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.nav-mobile-inner a {
	text-decoration: none;
	color: inherit;
	padding: 8px 10px;
	border-radius: 10px;
}
.nav-mobile-inner a:hover {
	background: #f6f6f6;
}
.mobile-group {
	width: 100%;
	text-align: left;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid #eee;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.mobile-sub {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-left: 10px;
}
.chev {
	opacity: 0.7;
}
/* Responsive */
@media (max-width: 900px) {
.nav-desktop {
		display: none;
	}
.burger {
		display: inline-flex;
	}
.header-inner {
		justify-content: space-between;
	}

}
/* полоса прокрутки */
/* Для вертикального скроллбара */
::-webkit-scrollbar {
  width: 6px; /* Очень тонкая */
}
::-webkit-scrollbar-track {
  background: transparent; /* Прозрачный трек */
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2); /* Едва заметный */
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3); /* Чуть темнее при наведении */
}
/* профбюро */
.page-head {
  padding: 22px 24px;
  border: 1px solid #dfe6f2;
  border-left: 5px solid #1d63c8;
  border-radius: 8px;
  background: #fbfdff;
}
.page-head h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.page-head p:not(.page-kicker) {
  margin: 10px 0 0;
  color: #4b5563;
  line-height: 1.55;
}
.page-kicker {
  margin: 0 0 8px;
  color: #1d63c8;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .03em;
  text-transform: uppercase;
}
/* Обертка, чтобы не ломалось на узких экранах */
.table-wrap { width: 100%; }
.clean-table {
  width: 100%;
  border-collapse: collapse;
}
.clean-table th,
.clean-table td {
  padding: 10px 12px;
  text-align: center;
  vertical-align: center;
  border-bottom: 1px solid #e6e6e6;
}
.clean-table thead th {
  font-weight: 650;
  opacity: .85;
}
.muted { opacity: .7; font-size: .92rem; }
td .person-name { font-weight: 400; }
.faculty-code { font-weight: 700; }
.person-name { font-weight: 650; }
.icon-links { display: flex; gap: 8px; align-items: center; justify-content: center;}
.icon-btn { display:inline-flex; width: 32px; height: 32px; border: 1px solid #e6e6e6; border-radius: 10px;
  align-items:center; justify-content:center; text-decoration:none; }
.icon-btn img { width: 16px; height: 16px; display:block; opacity:.9; }
.icon16 { width: 16px; height: 16px; display:block; opacity:.9; }
.icon-btn:hover img { opacity: 1; }
/* ====== Мобильное превращение в карточки ====== */
@media (max-width: 720px) {
.rwd-table thead { display: none; }
.rwd-table,
.rwd-table tbody,
.rwd-table tr,
.rwd-table td {
    display: block;
    width: 100%;
  }
.rwd-table tr {
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    margin: 10px 0;
    overflow: hidden;
    background: #fff;
  }
.rwd-table td {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 12px;
  }
.rwd-table td:last-child { border-bottom: none; }
.rwd-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.82rem;
    opacity: 0.65;
    margin-bottom: 4px;
  }
/* немного выравниваем заголовочные поля */
.faculty-code { font-size: 1.05rem; }

}
a {
    text-decoration: none;
    color: #007bff;
}
a:hover {
    text-decoration: underline;
}
@media (max-width: 720px) {
.foot { flex-direction: column; }
.person-contacts { margin-top: 0;}

}
.faq-page {
  display: grid;
  gap: 24px;
}
.faq-hero {
  padding: 28px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbff 0%, #fff 58%, #f7faf6 100%);
}
.faq-kicker {
  display: block;
  margin-bottom: 8px;
  color: #1d63c8;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}
.faq-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}
.faq-hero p {
  margin: 14px 0 0;
  color: #4b5563;
  font-size: 1.06rem;
  line-height: 1.6;
}
.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.faq-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d7e2ef;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-weight: 700;
  text-decoration: none;
}
.faq-nav a:hover {
  border-color: #8bb8ef;
  background: #f0f7ff;
  text-decoration: none;
}
.faq-section { margin-top: 8px; scroll-margin-top: 18px; }
.faq-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 12px;
}
.faq-section-head h2 {
  margin: 0;
}
.faq-section-head p {
  margin: 6px 0 0;
  color: #64748b;
}
.faq-section-head span {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef6ff;
  color: #1d63c8;
  font-weight: 800;
}
.faq-list { border: 1px solid #e1e7ef; border-radius: 8px; overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid #e6e6e6; }
.faq-question {
  width: 100%;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  text-align: left;

  background: #fff;
  border: none;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 650;
}
.faq-question:hover {
  background: #f8fbff;
}
.faq-answer {
  padding: 0 18px 18px 18px;
  color: #253044;
}
.faq-answer .page-md > *:first-child {
  margin-top: 0;
}
.faq-chev { opacity: .7; transition: transform .15s ease; }
@media (max-width: 760px) {
.faq-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }
.faq-section-head {
    align-items: start;
  }

}
.commissions-page {
  display: grid;
  gap: 30px;
}
.commissions-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  overflow: hidden;
}
.commissions-overview a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  color: #111827;
  text-decoration: none;
  background: #fbfdff;
  border-left: 1px solid #dfe6f2;
}
.commissions-overview a:first-child {
  border-left: none;
}
.commissions-overview a:hover {
  background: #eef6ff;
  text-decoration: none;
}
.commissions-overview strong {
  color: #1d63c8;
  font-size: 1.8rem;
  line-height: 1;
}
.commissions-overview span {
  color: #4b5563;
  font-weight: 650;
}
.commission-group {
  display: grid;
  gap: 14px;
}
.commission-group__head h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}
.commission-group__head p {
  margin: 6px 0 0;
  color: #4b5563;
  line-height: 1.5;
}
.commission-list {
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.commission-item + .commission-item {
  border-top: 1px solid #dfe6f2;
}
.commission-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
}
.commission-item summary::-webkit-details-marker {
  display: none;
}
.commission-item summary::after {
  content: "+";
  justify-self: end;
  color: #1d63c8;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}
.commission-item[open] summary::after {
  content: "−";
}
.commission-item__title {
  color: #111827;
  font-weight: 750;
  line-height: 1.25;
}
.commission-item__lead {
  color: #4b5563;
  font-size: .92rem;
  line-height: 1.35;
}
.commission-item__body {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}
.commission-item__description p {
  margin: 0;
  color: #374151;
  line-height: 1.6;
}
.commission-item__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  align-content: start;
  padding: 14px;
  border-radius: 8px;
  background: #f7fbff;
}
.commission-item__meta div {
  min-width: 0;
}
.commission-item__meta span {
  display: block;
  margin-bottom: 3px;
  color: #6b7280;
  font-size: .78rem;
}
.commission-item__meta strong,
.commission-item__meta a {
  overflow-wrap: anywhere;
}
.commission-socials {
  justify-content: flex-start;
}
.section-header {
  margin-bottom: 20px;
}
.section-header h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-header p {
  margin: 8px 0 0;
  max-width: 80ch;
  color: #4b5563;
  line-height: 1.55;
}
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.upcoming-card {
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0f172a;
  background-position: center;
  background-size: cover;
  box-shadow: none;
  cursor: pointer;
}
.upcoming-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 18px;
  color: #fff;
}
.upcoming-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.upcoming-card__date {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 700;
}
.upcoming-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(29, 99, 200, 0.92);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.upcoming-card__link:hover {
  background: rgba(13, 78, 167, 0.96);
  text-decoration: none;
}
.upcoming-card__content {
  overflow: hidden;
}
.upcoming-card__content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
  color: #fff;
  text-wrap: balance;
}
.upcoming-card__content p {
  margin: 0;
  max-width: 34ch;
  max-height: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(28px);
  transition:
    max-height 560ms ease,
    opacity 420ms ease,
    transform 560ms ease;
}
.upcoming-card:hover .upcoming-card__content p,
.upcoming-card:focus-within .upcoming-card__content p,
.upcoming-card.is-description-open .upcoming-card__content p {
  max-height: 10rem;
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
.upcoming-card {
    cursor: default;
  }

}
@media (prefers-reduced-motion: reduce) {
.upcoming-card__content p {
    transition: none;
  }

}
.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.events-summary {
  color: #4b5563;
  font-weight: 650;
}
.events-archive-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: none;
  color: #1d63c8;
  font-weight: 650;
  text-decoration: none;
}
.events-archive-link:hover {
  text-decoration: underline;
}
.events-list {
  display: grid;
  gap: 12px;
}
.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
}
.event-row__main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}
.event-row__date {
  min-width: 118px;
  color: #1d63c8;
  font-size: 0.9rem;
  font-weight: 750;
}
.event-row__content {
  min-width: 0;
}
.event-row__content h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  line-height: 1.2;
}
.event-row__content h2 a {
  color: #111827;
  text-decoration: none;
}
.event-row__content h2 a:hover {
  color: #1d63c8;
  text-decoration: none;
}
.event-row__content p {
  margin: 0;
  color: #4b5563;
  line-height: 1.45;
}
.event-row__side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.event-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d63c8;
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
}
.event-status--archive {
  background: #f3f4f6;
  color: #6b7280;
}
.event-row__link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #1d63c8;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.event-row__link:hover {
  background: #0f4ea7;
  text-decoration: none;
}
.events-empty {
  padding: 22px 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #4b5563;
  background: #fbfdff;
}
.documents-header {
  margin-bottom: 18px;
}
.documents-page {
  display: grid;
  gap: 22px;
}
.documents-section {
  display: grid;
  gap: 12px;
}
.documents-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.documents-section__head h2 {
  margin: 0;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.2;
}
.documents-section__head span {
  color: #6b7280;
  font-size: 0.92rem;
}
.documents-list {
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid #eef2f7;
}
.document-item:first-child {
  border-top: none;
}
.document-item__main {
  min-width: 0;
}
.document-item h3 {
  margin: 0;
  color: #111827;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 650;
}
.document-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.document-item__meta span {
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.2;
}
.document-item__meta span + span::before {
  content: "·";
  margin-right: 6px;
  color: #cbd5e1;
}
.document-item__link,
.document-item__status {
  flex: 0 0 auto;
  color: #1d63c8;
  font-weight: 650;
  text-decoration: none;
}
.document-item__link:hover {
  text-decoration: underline;
}
.document-item__status {
  color: #9ca3af;
}
@media (max-width: 980px) {
.upcoming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
@media (max-width: 640px) {
.upcoming-grid {
    grid-template-columns: 1fr;
  }
.upcoming-card,
.upcoming-card__body {
    min-height: 280px;
  }
.upcoming-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }
.events-toolbar,
.event-row,
.event-row__main,
.event-row__side {
    flex-direction: column;
    align-items: flex-start;
  }
.event-row__date {
    min-width: auto;
  }
.document-item {
    align-items: flex-start;
  }

}
@media (max-width: 560px) {
.document-item,
.documents-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

}
.about-page {
  color: #111827;
}
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 22px;
  align-items: stretch;
  min-height: 430px;
  padding: 28px;
  border: 1px solid #dfe6f2;
  border-radius: 12px;
  color: #111827;
  background: #fff;
  overflow: hidden;
}
.about-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-kicker {
  margin: 0 0 10px;
  font-weight: 750;
  font-size: .8rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #1d63c8;
}
.about-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.about-hero__content > p:not(.about-kicker) {
  margin: 22px 0 0;
  color: #374151;
  font-size: 1.12rem;
  line-height: 1.6;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.about-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #c9d7ec;
  border-radius: 8px;
  color: #174f9f;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, .78);
}
.about-actions a:hover {
  background: #eef6ff;
  text-decoration: none;
}
.about-hero__panel {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  overflow: hidden;
}
.about-hero__panel div {
  min-height: 98px;
  padding: 16px;
  border-right: 1px solid #dfe6f2;
  border-bottom: 1px solid #dfe6f2;
}
.about-hero__panel div:nth-child(2n) {
  border-right: none;
}
.about-hero__panel div:nth-last-child(-n + 2) {
  border-bottom: none;
}
.about-hero__panel strong {
  display: block;
  color: #0f2f63;
  font-size: 1.85rem;
  line-height: 1;
}
.about-hero__panel span {
  display: block;
  margin-top: 8px;
  color: #4b5563;
  line-height: 1.25;
}
.about-statement {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.about-statement article,
.about-directions article,
.about-history {
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
}
.about-statement article {
  padding: 22px;
  background: #fbfdff;
}
.about-statement span,
.about-history__note span {
  color: #1d63c8;
  font-weight: 800;
}
.about-statement h2,
.about-section__head h2,
.about-history h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.14;
  letter-spacing: 0;
}
.about-statement p,
.about-directions p,
.about-history p {
  color: #4b5563;
  line-height: 1.55;
}
.about-section {
  margin-top: 38px;
}
.about-section__head {
  margin-bottom: 18px;
}
.about-directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.about-directions article {
  min-height: 170px;
  padding: 18px;
}
.about-directions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d63c8;
  font-weight: 850;
  background: transparent;
}
.about-directions h3 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
}
.about-history {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 38px;
  padding: 24px;
  border-left: 6px solid #1d63c8;
  background: #fbfdff;
}
.about-history__note {
  align-self: center;
  padding: 18px;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
}
.about-history__note span {
  color: #1d63c8;
  font-weight: 800;
}
.about-history__note p {
  margin: 8px 0 0;
}
.about-history__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  background: #1d63c8;
}
.about-history__link:hover {
  color: #fff;
  text-decoration: none;
  background: #174f9f;
}
.history-page {
  color: #111827;
}
.history-hero {
  padding: 32px 36px;
  border: 1px solid #dfe6f2;
  border-left: 6px solid #1d63c8;
  border-radius: 8px;
  color: #111827;
  background: #f7fbff;
}
.history-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.history-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  margin-top: 30px;
  align-items: start;
}
.history-nav {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #f7fbff;
}
.history-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #174f9f;
  font-weight: 700;
  text-decoration: none;
}
.history-nav a:hover {
  background: #dff0ff;
  text-decoration: none;
}
.history-content h1 {
  display: none;
}
.history-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.history-content h2:first-of-type {
  margin-top: 0;
}
.history-content p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 1.04rem;
  line-height: 1.7;
}
@media (max-width: 980px) {
.about-hero,
.about-history {
    grid-template-columns: 1fr;
  }
.about-directions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
@media (max-width: 720px) {
.about-hero {
    min-height: auto;
    padding: 22px;
    border-radius: 14px;
  }
.about-hero__panel,
.about-statement,
.about-directions {
    grid-template-columns: 1fr;
  }
.about-hero__panel div,
.about-hero__panel div:nth-child(2n),
.about-hero__panel div:nth-last-child(-n + 2) {
    border-right: none;
    border-bottom: 1px solid #dfe6f2;
  }
.about-hero__panel div:last-child {
    border-bottom: none;
  }
.history-hero {
    padding: 24px;
  }
.history-layout {
    grid-template-columns: 1fr;
  }
.history-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.commissions-overview {
    grid-template-columns: 1fr;
  }
.commissions-overview a,
.commissions-overview a:first-child {
    border-left: none;
    border-top: 1px solid #dfe6f2;
  }
.commissions-overview a:first-child {
    border-top: none;
  }
.commission-item summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }
.commission-item__lead {
    grid-column: 1 / -1;
  }
.commission-item__body {
    grid-template-columns: 1fr;
  }

}
.mp-page {
  color: #151922;
}
.mp-intro {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}
.mp-intro .md {
  max-width: none;
}
.mp-intro .md h1 {
  margin-bottom: 10px;
}
.mp-intro .md p {
  max-width: none;
  color: #303746;
  font-size: 1.08rem;
  line-height: 1.55;
}
.mp-requirements {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fbfcfe;
  overflow: hidden;
}
.mp-requirements div {
  padding: 13px 14px;
  border-left: 1px solid #e4e8f0;
}
.mp-requirements div:first-child {
  border-left: none;
}
.mp-requirements span {
  display: block;
  margin-bottom: 4px;
  color: #657084;
  font-size: .82rem;
}
.mp-requirements strong {
  display: block;
  font-size: .96rem;
  line-height: 1.25;
}
.mp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.mp-main {
  display: grid;
  gap: 30px;
  min-width: 0;
}
.mp-section {
  display: grid;
  gap: 14px;
}
.mp-section-head {
  display: grid;
  gap: 5px;
}
.mp-section-head-row {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 18px;
  align-items: end;
}
.mp-section h2,
.mp-panel h2,
.mp-group-head h3 {
  margin: 0;
  color: #151922;
  letter-spacing: 0;
}
.mp-section h2 {
  font-size: 1.45rem;
}
.mp-section-head p,
.mp-group-head p {
  margin: 0;
  color: #657084;
  line-height: 1.45;
}
.mp-support-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mp-support-type {
  display: flex;
  flex-direction: column;
  min-height: 142px;
  padding: 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
}
.mp-support-type span {
  display: block;
  margin-bottom: 18px;
  color: #285a8f;
  font-size: .9rem;
  font-weight: 700;
}
.mp-support-type h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}
.mp-support-type p {
  margin: 0;
  color: #4a5363;
  line-height: 1.42;
}
.mp-card-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 14px;
  color: #285a8f;
  font-weight: 700;
  text-decoration: none;
}
.mp-card-link span {
  display: inline-block;
  margin: 0;
  color: inherit;
  font-size: 1rem;
  transition: transform .15s ease;
}
.mp-card-link:hover {
  color: #174877;
  text-decoration: none;
}
.mp-card-link:hover span {
  transform: translateX(3px);
}
.mp-category-group {
  display: grid;
  gap: 10px;
}
.mp-category-group + .mp-category-group {
  margin-top: 16px;
}
.mp-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}
.mp-group-head h3 {
  font-size: 1.05rem;
}
.mp-group-count {
  min-width: 34px;
  padding: 4px 8px;
  border: 1px solid #d9dee8;
  border-radius: 999px;
  color: #657084;
  font-size: .86rem;
  text-align: center;
}
.mp-category-list {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.mp-category + .mp-category {
  border-top: 1px solid #e5e9f0;
}
.mp-category-question {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px 14px;
  border: none;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.mp-category-question:hover {
  background: #f7f9fc;
}
.mp-category-heading {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}
.mp-category-number {
  color: #657084;
  font-size: .92rem;
  line-height: 1.4;
  text-align: right;
}
.mp-category-title {
  color: #151922;
  font-weight: 650;
  line-height: 1.35;
}
.mp-category-preview {
  display: flex;
  align-items: center;
  color: #657084;
  font-size: .9rem;
  white-space: nowrap;
}
.mp-category-answer:not([hidden]) {
  display: grid;
  gap: 15px;
  padding: 0 14px 15px 52px;
}
.mp-category-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 0;
}
.mp-category-details div {
  padding: 10px 0 0;
  border-top: 1px solid #e5e9f0;
}
.mp-category-details dt {
  margin-bottom: 4px;
  color: #657084;
  font-size: .86rem;
}
.mp-category-details dd {
  margin: 0;
  color: #151922;
  font-weight: 650;
  line-height: 1.35;
}
.mp-formula {
  display: block;
  margin-top: 3px;
  color: #657084;
  font-size: .88rem;
  font-weight: 500;
}
.mp-documents h4 {
  margin: 0 0 7px;
  color: #151922;
  font-size: .96rem;
}
.mp-documents ul {
  margin: 0;
  padding-left: 18px;
  color: #303746;
}
.mp-documents li + li {
  margin-top: 4px;
}
.mp-travel {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.mp-travel-head,
.mp-travel-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 1fr));
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
}
.mp-travel-head {
  background: #f7f9fc;
  color: #657084;
  font-size: .86rem;
  font-weight: 700;
}
.mp-travel-row + .mp-travel-row {
  border-top: 1px solid #e5e9f0;
}
.mp-travel-row strong {
  color: #151922;
  line-height: 1.35;
}
.mp-travel-row span {
  color: #303746;
  line-height: 1.35;
}
.mp-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 10px;
}
.mp-info-box {
  padding: 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
}
.mp-info-accent {
  background: #eef4fb;
  border-color: #ccdced;
}
.mp-info-box h3 {
  margin: 0 0 8px;
  color: #151922;
  font-size: 1rem;
}
.mp-info-box ul {
  margin: 0;
  padding-left: 18px;
  color: #303746;
}
.mp-info-box li + li {
  margin-top: 5px;
}
.mp-aside {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
}
.mp-panel {
  padding: 15px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fbfcfe;
}
.mp-panel h2 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}
.mp-panel p {
  margin: 0;
  color: #4a5363;
  line-height: 1.42;
}
.mp-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}
.mp-facts div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.mp-facts dt {
  color: #657084;
  font-size: .86rem;
}
.mp-facts dd {
  margin: 0;
  color: #151922;
  font-weight: 700;
}
.mp-panel-note {
  margin-top: 12px !important;
  color: #657084 !important;
  font-size: .92rem;
}
.mp-current-status {
  margin-top: 12px !important;
  padding: 9px 10px;
  border-radius: 8px;
  background: #eef4fb;
  color: #24384f !important;
  font-size: .92rem;
}
.mp-compact-note {
  margin-top: 11px;
  color: #657084;
  font-size: .92rem;
}
.mp-compact-note summary {
  color: #285a8f;
  cursor: pointer;
}
.mp-compact-note p {
  margin-top: 7px;
}
.mp-tiers {
  display: grid;
  gap: 9px;
}
.mp-tiers div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.mp-tiers span {
  color: #151922;
  font-weight: 750;
}
.mp-tiers p {
  color: #4a5363;
  font-size: .94rem;
}
.mp-tiers-wide {
  gap: 12px;
}
.mp-tiers-wide div {
  padding-top: 9px;
  border-top: 1px solid #e5e9f0;
}
.mp-tiers-wide div:first-child {
  padding-top: 0;
  border-top: none;
}
.mp-panel-subtitle {
  margin: 14px 0 7px;
  color: #151922;
  font-size: .96rem;
}
.mp-panel-list {
  margin: 0;
  padding-left: 18px;
  color: #4a5363;
  font-size: .92rem;
  line-height: 1.38;
}
.mp-panel-list li + li {
  margin-top: 5px;
}
.mp-doc-link {
  display: inline-flex;
  margin-top: 12px;
  color: #285a8f;
  font-weight: 700;
}
.social-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fbfcfe;
  overflow: hidden;
}
.social-facts div {
  padding: 13px 14px;
  border-left: 1px solid #e4e8f0;
}
.social-facts div:first-child {
  border-left: none;
}
.social-facts span {
  display: block;
  margin-bottom: 4px;
  color: #657084;
  font-size: .82rem;
}
.social-facts strong {
  display: block;
  color: #151922;
  font-size: .96rem;
  line-height: 1.25;
}
.social-facts p {
  margin: 6px 0 0;
  color: #4a5363;
  font-size: .92rem;
  line-height: 1.35;
}
.social-schedule {
  margin-top: 12px;
}
.social-schedule .clean-table {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  overflow: hidden;
}
.social-schedule .clean-table th,
.social-schedule .clean-table td {
  text-align: left;
}
.social-time + .social-time {
  margin-top: 4px;
}
.social-category-list {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.social-category + .social-category {
  border-top: 1px solid #e5e9f0;
}
.social-category summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px 14px;
  color: #151922;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.social-category summary::-webkit-details-marker {
  display: none;
}
.social-category summary::after {
  content: "▾";
  color: #657084;
  transition: transform .15s ease;
}
.social-category[open] summary::after {
  transform: rotate(180deg);
}
.social-category > div {
  padding: 0 14px 14px;
}
.social-category dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.social-category dl div {
  padding-top: 10px;
  border-top: 1px solid #e5e9f0;
}
.social-category dt {
  margin-bottom: 4px;
  color: #657084;
  font-size: .86rem;
}
.social-category dd {
  margin: 0;
  color: #303746;
  line-height: 1.45;
}
.social-category-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef4fb;
  color: #24384f;
  line-height: 1.45;
}
.social-norms {
  margin: 0;
  padding-left: 18px;
  color: #4a5363;
  font-size: .92rem;
  line-height: 1.38;
}
.social-norms li + li {
  margin-top: 6px;
}
.tk-page {
  display: grid;
  gap: 28px;
  color: #151922;
}
.tk-head {
  display: grid;
  gap: 8px;
}
.tk-head h1 {
  margin: 0;
  color: #151922;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.tk-head p {
  margin: 0;
  color: #4a5363;
  font-size: 1.04rem;
  line-height: 1.5;
}
.tk-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tk-benefits a {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  color: #151922;
  text-decoration: none;
  background: #fbfcfe;
}
.tk-benefits a:hover {
  background: #eef4fb;
  text-decoration: none;
}
.tk-benefits span {
  color: #285a8f;
  font-size: .9rem;
  font-weight: 750;
}
.tk-benefits strong {
  font-size: 1.04rem;
  line-height: 1.3;
}
.tk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tk-nav a {
  padding: 8px 11px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  color: #285a8f;
  font-weight: 700;
  text-decoration: none;
  background: #fbfcfe;
}
.tk-nav a:hover {
  background: #eef4fb;
  text-decoration: none;
}
.tk-section {
  display: grid;
  gap: 14px;
}
.tk-section-head {
  display: grid;
  gap: 5px;
}
.tk-section h2 {
  margin: 0;
  color: #151922;
  font-size: 1.45rem;
  letter-spacing: 0;
}
.tk-section-head p {
  margin: 0;
  color: #657084;
  line-height: 1.45;
}
.tk-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tk-services span {
  padding: 7px 10px;
  border: 1px solid #d9dee8;
  border-radius: 999px;
  color: #4a5363;
  font-size: .92rem;
  background: #fbfcfe;
}
.tk-schedule .clean-table {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  overflow: hidden;
}
.tk-schedule .clean-table th,
.tk-schedule .clean-table td {
  text-align: left;
}
.tk-time + .tk-time {
  margin-top: 4px;
}
.tk-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tk-step;
}
.tk-steps li {
  position: relative;
  padding: 13px 14px 13px 52px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  counter-increment: tk-step;
}
.tk-steps li::before {
  content: counter(tk-step);
  position: absolute;
  top: 13px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #285a8f;
  font-weight: 750;
  background: #eef4fb;
}
.tk-steps strong {
  display: block;
  margin-bottom: 5px;
}
.tk-steps p {
  margin: 0;
  color: #4a5363;
  line-height: 1.45;
}
.tk-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tk-info-grid article {
  padding: 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fbfcfe;
}
.tk-info-grid h3 {
  margin: 0 0 8px;
  color: #151922;
  font-size: 1rem;
}
.tk-info-grid p {
  margin: 0;
  color: #4a5363;
  line-height: 1.45;
}
.tk-info-grid p + p {
  margin-top: 9px;
}
.tk-info-grid ul,
.tk-info-grid ol {
  margin: 0;
  padding-left: 18px;
  color: #303746;
  line-height: 1.45;
}
.tk-info-grid li + li {
  margin-top: 5px;
}
.tk-note {
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef4fb;
  color: #24384f !important;
}
@media (max-width: 1080px) {
.mp-layout {
    grid-template-columns: 1fr;
  }
.mp-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
@media (max-width: 820px) {
.mp-requirements,
.mp-support-types,
.mp-aside,
.mp-section-head-row,
.social-facts,
.social-category dl {
    grid-template-columns: 1fr;
  }
.social-facts div,
.social-facts div:first-child {
    border-left: none;
    border-top: 1px solid #e4e8f0;
  }
.social-facts div:first-child {
    border-top: none;
  }
.tk-info-grid {
    grid-template-columns: 1fr;
  }
.tk-benefits {
    grid-template-columns: 1fr;
  }
.mp-requirements div,
.mp-requirements div:first-child {
    border-left: none;
    border-top: 1px solid #e4e8f0;
  }
.mp-requirements div:first-child {
    border-top: none;
  }
.mp-category-question {
    grid-template-columns: 1fr;
    gap: 8px;
  }
.mp-category-preview {
    padding-left: 38px;
    flex-wrap: wrap;
    white-space: normal;
  }
.mp-category-answer:not([hidden]) {
    padding-left: 14px;
  }
.mp-travel-head {
    display: none;
  }
.mp-travel-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
.mp-travel-row span:nth-child(2)::before {
    content: "Ж/д и автобус: ";
    color: #657084;
  }
.mp-travel-row span:nth-child(3)::before {
    content: "Авиа: ";
    color: #657084;
  }
.mp-travel-row span:nth-child(4)::before {
    content: "Лимит: ";
    color: #657084;
  }
.mp-info-grid {
    grid-template-columns: 1fr;
  }

}
.special h1 {
    font-size: xxx-large;
}
.contacts-header {
  margin-bottom: 18px;
}
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}
.contacts-main,
.contacts-map {
  min-width: 0;
}
.contacts-main {
  display: grid;
  gap: 18px;
}
.contact-card {
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}
.contact-card-head {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-card-org {
  color: #4b5563;
  line-height: 1.45;
}
.contact-card-title {
  margin: 6px 0 0;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.2;
}
.contact-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid #eef2f7;
}
.contact-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}
.contact-row .label {
  color: #6b7280;
  font-size: 0.92rem;
}
.contact-row .value {
  color: #111827;
  line-height: 1.55;
}
.contact-row .value a {
  color: #111827;
  text-decoration: none;
}
.contact-row .value a:hover {
  color: #1d63c8;
  text-decoration: underline;
}
.contact-card--socials {
  padding-top: 18px;
}
.social-links {
  display: grid;
  gap: 10px;
}
.social-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  color: #111827;
  text-decoration: none;
  background: #fbfdff;
}
.social-link:hover {
  background: #eef6ff;
  text-decoration: none;
}
.social-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dfe6f2;
}
.social-link__icon img {
  width: 18px;
  height: 18px;
}
.social-link__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.social-link__body strong {
  color: #111827;
  font-size: 0.98rem;
  line-height: 1.2;
}
.social-link__body span {
  color: #4b5563;
  line-height: 1.35;
}
.map-frame {
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 100%;
}
.map-frame__head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #eef2f7;
}
.map-frame__head h2 {
  margin: 0;
  color: #111827;
  font-size: 1.1rem;
}
.map-frame__head p {
  margin: 6px 0 0;
  color: #4b5563;
  line-height: 1.5;
}
.map-frame__embed {
  padding: 16px;
  text-align: center;
}
.map-frame__embed iframe {
  width: 100%;
  max-width: 100%;
  min-height: 520px;
  border-radius: 8px;
}
@media (max-width: 900px) {
.contacts-layout {
    grid-template-columns: 1fr;
  }

}
@media (max-width: 520px) {
.contact-card {
    padding: 16px;
  }
.contact-card-head {
    flex-direction: column;
  }
.contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

}
.icon-btn { display:inline-flex; width:32px; height:32px; border:1px solid #e6e6e6; border-radius:10px;
  align-items:center; justify-content:center; text-decoration:none; }
.icon-btn img { width:16px; height:16px; opacity:.9; }
.icon-btn:hover img { opacity:1; }
.meriya-page {
  color: #151922;
}
.meriya-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 20px;
}
.meriya-intro h1 {
  margin: 0 0 10px;
}
.meriya-intro p {
  margin: 0;
  color: #303746;
  font-size: 1.08rem;
  line-height: 1.55;
}
.meriya-amount {
  display: grid;
  align-content: center;
  padding: 18px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fbfcfe;
}
.meriya-amount span,
.meriya-condition span {
  margin-bottom: 6px;
  color: #657084;
  font-size: .86rem;
}
.meriya-amount strong {
  color: #151922;
  font-size: 2rem;
  line-height: 1;
}
.meriya-amount p {
  margin-top: 7px;
  color: #657084;
  font-size: .95rem;
}
.meriya-condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 30px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.meriya-condition {
  display: grid;
  align-content: start;
  padding: 13px 14px;
  border-left: 1px solid #e4e8f0;
}
.meriya-condition:first-child {
  border-left: none;
}
.meriya-condition strong {
  font-size: .98rem;
  line-height: 1.3;
}
.meriya-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.meriya-main {
  display: grid;
  gap: 30px;
  min-width: 0;
}
.meriya-section {
  display: grid;
  gap: 14px;
}
.meriya-section-head {
  display: grid;
  gap: 5px;
}
.meriya-section h2,
.meriya-panel h2 {
  margin: 0;
  color: #151922;
  font-size: 1.35rem;
}
.meriya-section-head p {
  margin: 0;
  color: #657084;
  line-height: 1.45;
}
.meriya-category-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}
.meriya-category {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
  color: #151922;
  cursor: pointer;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.meriya-category:hover {
  border-color: #9ebada;
  background: #f7f9fc;
}
.meriya-category.is-selected {
  border-color: #285a8f;
  background: #eef4fb;
  color: #123653;
}
.meriya-doc-summary {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fbfcfe;
  color: #4a5363;
}
.meriya-doc-summary p {
  margin: 0;
  color: #657084;
  line-height: 1.42;
}
.meriya-doc-checklist {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 24px;
  color: #303746;
  line-height: 1.42;
}
.meriya-doc-checklist li {
  padding-left: 3px;
}
.meriya-doc-checklist a {
  color: #285a8f;
  font-weight: 700;
}
.meriya-apply {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 15px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fff;
}
.meriya-apply p {
  margin: 0;
  color: #303746;
  line-height: 1.42;
}
.meriya-apply a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
  color: #285a8f;
  font-weight: 700;
  text-decoration: none;
}
.meriya-apply a span {
  display: inline-block;
  transition: transform .15s ease;
}
.meriya-apply a:hover {
  color: #174877;
  text-decoration: none;
}
.meriya-apply a:hover span {
  transform: translateX(3px);
}
.meriya-aside {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
}
.meriya-panel {
  padding: 15px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #fbfcfe;
}
.meriya-panel h2 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}
.meriya-timeline {
  display: grid;
  gap: 11px;
}
.meriya-timeline div {
  padding-left: 12px;
  border-left: 2px solid #b9d2f0;
}
.meriya-timeline strong {
  display: block;
  margin-bottom: 3px;
}
.meriya-timeline p,
.meriya-note-panel li {
  margin: 0;
  color: #4a5363;
  line-height: 1.42;
}
.meriya-note-panel ul {
  margin: 0;
  padding-left: 18px;
}
.meriya-note-panel li + li {
  margin-top: 7px;
}
@media (max-width: 1080px) {
.meriya-layout,
.meriya-intro {
    grid-template-columns: 1fr;
  }
.meriya-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
@media (max-width: 820px) {
.meriya-condition-grid,
.meriya-aside {
    grid-template-columns: 1fr;
  }
.meriya-apply {
    align-items: flex-start;
    flex-direction: column;
  }
.meriya-condition,
.meriya-condition:first-child {
    border-left: none;
    border-top: 1px solid #e4e8f0;
  }
.meriya-condition:first-child {
    border-top: none;
  }

}
/* ===== Design v2: quiet university service ===== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--site-font);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--blue-dark);
}
img,
iframe {
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(29, 95, 191, 0.24);
  outline-offset: 2px;
}
.container,
.container.special {
  width: min(var(--content), calc(100% - 48px));
  min-height: calc(100vh - 168px);
  margin: 0 auto !important;
  padding: 30px 0 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(223, 229, 238, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(14px);
}
.header-inner {
  width: min(var(--content), calc(100% - 48px));
  max-width: none;
  min-height: 76px;
  margin: 0 auto;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 62px;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo {
  width: auto;
  height: 58px;
  display: block;
}
.brand-text {
  display: none;
}
.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover,
.has-dropdown:focus-within > .nav-link {
  background: var(--blue-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  min-width: 238px;
  padding: 10px 8px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}
.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: grid;
  gap: 2px;
}
.has-dropdown .dropdown a {
  display: block;
  padding: 10px 11px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.25;
  text-decoration: none;
}
.has-dropdown .dropdown a:hover {
  background: var(--surface-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-login,
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}
.btn-login {
  padding: 0 15px;
}
.btn-login:hover,
.burger:hover {
  border-color: #bfd1ea;
  background: var(--blue-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.burger {
  display: none;
  width: 42px;
  padding: 0;
  cursor: pointer;
}
.nav-mobile {
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile-inner {
  width: min(var(--content), calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 14px 0 18px;
  display: grid;
  gap: 8px;
}
.nav-mobile-inner a,
.mobile-group {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 650;
  text-align: left;
  text-decoration: none;
}
.mobile-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.nav-mobile-inner a {
  display: flex;
  align-items: center;
}
.nav-mobile-inner a:hover,
.mobile-group:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.mobile-sub {
  display: grid;
  gap: 6px;
  padding: 0 0 0 14px;
}
body.mobile-menu-open {
  overflow: hidden;
}
.nav-mobile-inner hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-soft);
}
footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.foot {
  width: min(var(--content), calc(100% - 48px));
  height: auto;
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.foot p {
  margin: 0;
}
.flash {
  margin: 0 0 18px;
}
.flash-item {
  padding: 12px 14px;
  border: 1px solid #bfdfd1;
  border-radius: var(--radius);
  background: #edf8f3;
  color: #21483f;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0;
}
h1 {
  font-size: clamp(2rem, 3.5vw, 3.7rem);
}
h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
.muted {
  color: var(--muted) !important;
  opacity: 1;
}
.small {
  font-size: 0.9rem;
}
.section-header,
.page-head,
.tk-head,
.history-hero {
  margin: 0 0 12px;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.section-header h1,
.page-head h1,
.tk-head h1,
.history-hero h1,
.md h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  line-height: 1.06;
  text-wrap: balance;
}
.section-header p,
.page-head p:not(.page-kicker),
.tk-head p,
.history-hero p:not(.about-kicker),
.md > p:first-of-type {
  max-width: 78ch;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.62;
}
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.section-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue-dark);
  font-weight: 760;
  text-decoration: none;
}
.section-action-link:hover {
  border-color: #b8c9ee;
  background: var(--blue-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.page-kicker,
.about-kicker,
.faq-kicker {
  display: block;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.md {
  color: var(--ink-soft);
}
.md h1,
.md h2,
.md h3 {
  color: var(--ink);
}
.md h2 {
  margin-top: 32px;
  padding-top: 22px;
}
.md p,
.md li {
  line-height: 1.68;
}
.md a {
  font-weight: 700;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}
.clean-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
.clean-table th,
.clean-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: middle;
}
.clean-table tr:last-child td {
  border-bottom: 0;
}
.clean-table thead th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.clean-table tbody tr:hover {
  background: #fbfdff;
}
.icon-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.icon-btn:hover {
  border-color: #bfd1ea;
  background: var(--blue-soft);
  text-decoration: none;
}
.icon-btn img,
.icon16 {
  width: 17px;
  height: 17px;
  display: block;
  opacity: 0.9;
}
/* Home / about */
.about-page {
  display: grid;
  gap: 28px;
  color: var(--ink);
}
.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: 28px;
  align-items: stretch;
  min-height: 430px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
}
.about-hero::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: min(260px, 34vw);
  aspect-ratio: 1;
  background: url("/static/img/logo.svg") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}
.about-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}
.about-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 0.98;
  text-wrap: balance;
}
.about-hero__content > p:not(.about-kicker) {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.62;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.about-actions a,
.about-history__link,
.event-row__link,
.mp-doc-link,
.meriya-apply a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
}
.about-actions a:nth-child(n + 2) {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.about-actions a:hover,
.about-history__link:hover,
.event-row__link:hover,
.mp-doc-link:hover,
.meriya-apply a:hover {
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
}
.about-actions a:nth-child(n + 2):hover {
  border-color: #bfd1ea;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.about-hero__panel {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #143b73;
  box-shadow: none;
  overflow: hidden;
}
.about-hero__panel div {
  min-height: 108px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.about-hero__panel div:nth-child(2n) {
  border-right: 0;
}
.about-hero__panel div:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.about-hero__panel strong {
  display: block;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.about-hero__panel span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.28;
}
.about-statement,
.about-directions,
.mp-support-types,
.tk-benefits,
.tk-info-grid,
.mp-info-grid {
  display: grid;
  gap: 14px;
}
.about-statement {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.about-statement article,
.about-directions article,
.about-history,
.contact-card,
.map-frame,
.mp-support-type,
.mp-info-box,
.mp-panel,
.meriya-panel,
.meriya-doc-summary,
.meriya-apply,
.tk-benefits a,
.tk-steps li,
.tk-info-grid article,
.faq-hero,
.faq-list,
.documents-list,
.event-row,
.commission-list,
.commission-item__meta,
.commissions-overview,
.social-category-list,
.mp-category-list,
.mp-travel,
.meriya-amount,
.meriya-condition-grid,
.contact-card,
.upcoming-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}
.about-statement article,
.about-directions article,
.about-history,
.mp-support-type,
.mp-info-box,
.mp-panel,
.meriya-panel,
.tk-info-grid article,
.contact-card {
  padding: 18px;
}
.about-statement span,
.about-history__note span,
.about-directions span,
.mp-support-type span,
.tk-benefits span {
  color: var(--green);
  font-weight: 800;
}
.about-statement h2,
.about-section__head h2,
.about-history h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}
.about-statement p,
.about-directions p,
.about-history p {
  color: var(--ink-soft);
  line-height: 1.62;
}
.about-section {
  margin-top: 8px;
}
.about-section__head {
  margin-bottom: 16px;
}
.about-directions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-directions article {
  min-height: 178px;
}
.about-directions h3 {
  margin: 14px 0 8px;
  font-size: 1.12rem;
}
.about-history {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 22px;
  margin-top: 4px;
  border-left: 4px solid var(--green);
}
.about-history__note {
  align-self: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}
/* People and structure */
.about-structure,
.commissions-page,
.faq-page,
.tk-page,
.mp-page,
.meriya-page {
  display: grid;
  gap: 28px;
}
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
.person-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}
.avatar,
.avatar.sm {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-soft);
}
.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 3rem;
  font-weight: 850;
}
.person-meta {
  display: grid;
  gap: 6px;
  width: 100%;
}
.person-name {
  color: var(--ink);
  font-weight: 760;
  line-height: 1.24;
  text-align: left;
}
.person-role {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.35;
  text-align: left;
}
.person-contacts {
  width: 100%;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: left;
}
.person-contacts a,
.commission-item__meta a[href^="mailto:"],
.commission-item__meta a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.person-contacts a:hover,
.person-contacts a:focus-visible,
.commission-item__meta a[href^="mailto:"]:hover,
.commission-item__meta a[href^="mailto:"]:focus-visible,
.commission-item__meta a[href^="tel:"]:hover,
.commission-item__meta a[href^="tel:"]:focus-visible {
  border-color: rgba(95, 130, 201, 0.38);
  background: var(--blue-soft);
  color: var(--blue-dark);
  box-shadow: none;
  text-decoration: none;
}
.commissions {
  display: grid;
  gap: 14px;
}
.commissions-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 4px;
}
.commissions-head h2 {
  margin: 0;
}
.commissions-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}
.commissions-overview a {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.commissions-overview a:first-child {
  border-left: 0;
}
.commissions-overview a:hover {
  background: var(--blue-soft);
  text-decoration: none;
}
.commissions-overview strong {
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}
.commissions-overview span {
  color: var(--ink-soft);
  font-weight: 700;
}
.commission-group {
  display: grid;
  gap: 14px;
}
.commission-group__head h2,
.documents-section__head h2,
.mp-section h2,
.meriya-section h2,
.tk-section h2,
.faq-section-head h2 {
  margin: 0;
  font-size: 1.42rem;
}
.commission-group__head p,
.mp-section-head p,
.meriya-section-head p,
.tk-section-head p,
.faq-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.commission-list {
  overflow: hidden;
}
.commission-item + .commission-item,
.faq-item + .faq-item,
.document-item + .document-item,
.mp-category + .mp-category,
.social-category + .social-category {
  border-top: 1px solid var(--line-soft);
}
.commission-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}
.commission-item summary::-webkit-details-marker,
.social-category summary::-webkit-details-marker {
  display: none;
}
.commission-item summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
}
.commission-item[open] summary::after {
  content: "-";
}
.commission-item__title {
  color: var(--ink);
  font-weight: 760;
}
.commission-item__lead {
  color: var(--muted);
  font-size: 0.92rem;
}
.commission-item__body {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}
.commission-item__description p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}
.commission-item__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-content: start;
  gap: 12px;
  padding: 14px;
  background: var(--surface-soft);
  box-shadow: none;
}
.commission-item__socials {
  display: grid;
  gap: 8px;
  padding-top: 2px;
  justify-items: start;
}
.commission-item__socials > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}
.commission-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
.commission-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}
.commission-socials a:hover {
  border-color: #b8cbe8;
  background: var(--blue-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.commission-socials img {
  width: 18px;
  height: 18px;
}
.commission-item__meta span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}
.commission-item__meta strong,
.commission-item__meta a {
  overflow-wrap: anywhere;
}
/* FAQ */
.faq-hero {
  padding: 28px;
  background: var(--surface);
}
.faq-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}
.faq-hero p {
  max-width: 72ch;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}
.faq-nav,
.tk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.faq-nav a,
.tk-nav a,
.tk-services span,
.event-status,
.mp-group-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.faq-nav a:hover,
.tk-nav a:hover {
  border-color: #bfd1ea;
  background: var(--blue-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.faq-section {
  scroll-margin-top: 96px;
}
.faq-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 12px;
}
.faq-section-head span {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 850;
}
.faq-list {
  overflow: hidden;
}
.faq-question,
.mp-category-question {
  width: 100%;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 720;
}
.faq-question:hover,
.mp-category-question:hover,
.social-category summary:hover {
  background: var(--surface-soft);
}
.faq-answer {
  padding: 0 18px 18px;
  color: var(--ink-soft);
}
.faq-infographic {
  display: grid;
  place-items: center;
  margin: 16px 0;
  text-align: center;
}
.faq-infographic img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 50vh;
  margin: 0 auto;
  border-radius: 6px;
}
.faq-chev {
  color: var(--muted);
  opacity: 1;
}
/* Events and documents */
.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.events-summary {
  color: var(--muted);
  font-weight: 700;
}
.events-archive-link {
  color: var(--blue);
  font-weight: 720;
  text-decoration: none;
}
.events-list,
.documents-page,
.contacts-main {
  display: grid;
  gap: 12px;
}
.event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}
.event-row__main {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}
.event-row__date {
  min-width: 118px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}
.event-row__content h2 {
  margin: 0 0 5px;
  font-size: 1.12rem;
}
.event-row__content h2 a {
  color: var(--ink);
  text-decoration: none;
}
.event-row__content h2 a:hover {
  color: var(--blue);
}
.event-row__content p {
  margin: 0;
  color: var(--muted);
}
.event-row__side {
  display: flex;
  align-items: center;
  gap: 10px;
}
.event-status {
  border-color: #cfe4db;
  background: var(--green-soft);
  color: var(--green);
  white-space: nowrap;
}
.event-status--archive {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--muted);
}
.events-empty {
  padding: 20px;
  border: 1px dashed #c8d2df;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
}
.documents-section {
  display: grid;
  gap: 10px;
}
.documents-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.documents-list {
  overflow: hidden;
}
.document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border-top: 0;
}
.document-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}
.document-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}
.document-item__meta span + span::before {
  content: "/";
  margin-right: 6px;
  color: var(--muted-2);
}
.document-item__link,
.document-item__status {
  flex: 0 0 auto;
  font-weight: 760;
}
.document-item__status {
  color: var(--muted-2);
}
/* Service pages */
.mp-intro,
.meriya-intro {
  display: grid;
  gap: 18px;
  margin-bottom: 0;
}
.mp-intro .md,
.meriya-intro > div:first-child {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.mp-intro .md h1,
.meriya-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.3vw, 3.15rem);
}
.mp-intro .md p,
.meriya-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.62;
}
.mp-requirements,
.social-facts,
.meriya-condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
}
.social-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mp-requirements div,
.social-facts div,
.meriya-condition {
  padding: 15px 16px;
  border-left: 1px solid var(--line-soft);
}
.mp-requirements div:first-child,
.social-facts div:first-child,
.meriya-condition:first-child {
  border-left: 0;
}
.mp-requirements span,
.social-facts span,
.meriya-condition span,
.meriya-amount span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}
.mp-requirements strong,
.social-facts strong,
.meriya-condition strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.28;
}
.social-facts p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.mp-layout,
.meriya-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}
.mp-main,
.meriya-main {
  display: grid;
  gap: 30px;
  min-width: 0;
}
.mp-section,
.meriya-section,
.tk-section {
  display: grid;
  gap: 14px;
  scroll-margin-top: 96px;
}
.mp-section-head,
.meriya-section-head,
.tk-section-head {
  display: grid;
  gap: 4px;
}
.mp-support-types {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mp-support-type {
  display: flex;
  flex-direction: column;
  min-height: 158px;
}
.mp-support-type span {
  display: block;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.mp-support-type h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}
.mp-support-type p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}
.mp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue);
  font-weight: 760;
  text-decoration: none;
}
.mp-card-link:hover {
  color: var(--blue-dark);
  text-decoration: none;
}
.mp-category-group {
  display: grid;
  gap: 10px;
}
.mp-category-group + .mp-category-group {
  margin-top: 18px;
}
.mp-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}
.mp-group-head h3 {
  margin: 0;
  font-size: 1.08rem;
}
.mp-group-head p {
  margin: 5px 0 0;
  color: var(--muted);
}
.mp-category-list,
.social-category-list,
.mp-travel {
  overflow: hidden;
}
.mp-category-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}
.mp-category-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.mp-category-number {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}
.mp-category-title {
  color: var(--ink);
  font-weight: 720;
}
.mp-category-answer:not([hidden]) {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px 62px;
}
.mp-category-details,
.social-category dl,
.mp-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}
.mp-category-details {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.mp-category-details div,
.social-category dl div {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.mp-category-details dt,
.social-category dt,
.mp-facts dt {
  color: var(--muted);
  font-size: 0.86rem;
}
.mp-category-details dd,
.social-category dd,
.mp-facts dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.42;
}
.mp-formula {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.mp-documents h4,
.mp-info-box h3,
.tk-info-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}
.mp-documents ul,
.mp-info-box ul,
.tk-info-grid ul,
.tk-info-grid ol,
.social-norms,
.meriya-note-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.mp-documents li + li,
.mp-info-box li + li,
.tk-info-grid li + li,
.social-norms li + li,
.meriya-note-panel li + li {
  margin-top: 5px;
}
.mp-travel-head,
.mp-travel-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(120px, 1fr));
  gap: 12px;
  align-items: start;
  padding: 13px 16px;
}
.mp-travel-head {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.mp-travel-row + .mp-travel-row {
  border-top: 1px solid var(--line-soft);
}
.mp-travel-row strong {
  color: var(--ink);
}
.mp-travel-row span {
  color: var(--ink-soft);
}
.mp-info-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.mp-info-accent,
.tk-note,
.social-category-note,
.mp-current-status {
  border-color: #f0d08a;
  background: #fff8e7;
  color: #5b4316 !important;
}
.mp-aside,
.meriya-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}
.mp-panel h2,
.meriya-panel h2 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}
.mp-panel p,
.meriya-panel p,
.tk-info-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.48;
}
.mp-facts div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.mp-facts dd {
  font-weight: 760;
}
.mp-panel-note {
  margin-top: 12px !important;
  color: var(--muted) !important;
  font-size: 0.92rem;
}
.mp-current-status {
  margin-top: 12px !important;
  padding: 10px 12px;
  border-radius: var(--radius);
}
.mp-doc-link {
  width: fit-content;
  margin-top: 14px;
}
.mp-tiers {
  display: grid;
  gap: 9px;
}
.mp-tiers div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
.mp-tiers div:first-child {
  padding-top: 0;
  border-top: 0;
}
.mp-tiers span {
  color: var(--ink);
  font-weight: 800;
}
.mp-tiers p {
  margin: 0;
  color: var(--ink-soft);
}
.social-category summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}
.social-category summary::after {
  content: "▾";
  color: var(--muted);
  transition: transform 0.15s ease;
}
.social-category[open] summary::after {
  transform: rotate(180deg);
}
.social-category > div {
  padding: 0 16px 16px;
}
.social-category dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.social-category-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius);
}
/* Meriya */
.meriya-intro {
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: stretch;
}
.meriya-amount {
  display: grid;
  align-content: center;
  padding: 18px;
}
.meriya-amount strong {
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1;
}
.meriya-amount p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.95rem;
}
.meriya-category-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}
.meriya-category {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  line-height: 1.25;
  text-align: left;
}
.meriya-category:hover {
  border-color: #bfd1ea;
  background: var(--surface-soft);
}
.meriya-category.is-selected {
  border-color: #a9d5c8;
  background: var(--green-soft);
  color: #21483f;
}
.meriya-doc-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface-soft);
}
.meriya-doc-summary p {
  margin: 0;
  color: var(--muted);
}
.meriya-doc-checklist {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 24px;
  color: var(--ink-soft);
}
.meriya-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--surface);
}
.meriya-apply p {
  color: var(--ink-soft);
}
.meriya-timeline {
  display: grid;
  gap: 12px;
}
.meriya-timeline div {
  padding-left: 13px;
  border-left: 3px solid #a9d5c8;
}
.meriya-timeline strong {
  display: block;
  margin-bottom: 3px;
}
/* Transport */
.tk-page {
  gap: 28px;
}
.tk-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tk-benefits a {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}
.tk-benefits a:hover {
  border-color: #bfd1ea;
  background: var(--blue-soft);
  text-decoration: none;
}
.tk-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tk-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tk-step;
}
.tk-steps li {
  position: relative;
  padding: 15px 16px 15px 58px;
  counter-increment: tk-step;
}
.tk-steps li::before {
  content: counter(tk-step);
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 850;
}
.tk-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.tk-steps p {
  margin: 0;
  color: var(--ink-soft);
}
.tk-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tk-info-grid article:nth-child(3) {
  grid-column: 1 / -1;
}
/* Contacts */
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 18px;
  align-items: stretch;
}
.contacts-map {
  display: flex;
  min-width: 0;
}
.contact-card-title {
  margin: 0;
  font-size: 1.22rem;
}
.contact-card-head {
  margin-bottom: 16px;
}
.contact-grid {
  display: grid;
  border-top: 1px solid var(--line-soft);
}
.contact-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-row .label {
  color: var(--muted);
  font-size: 0.9rem;
}
.contact-row .value,
.contact-row .value a {
  color: var(--ink);
}
.contact-row .value a.contact-copy-link {
  color: var(--blue-dark);
}
.contact-copy-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.contact-copy-link:hover,
.contact-copy-link:focus-visible {
  border-color: rgba(95, 130, 201, 0.38);
  background: var(--blue-soft);
  color: var(--blue-dark);
  box-shadow: none;
  text-decoration: none;
}
.contact-copy-status {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  max-width: none;
  min-height: 22px;
  overflow: hidden;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e9f7ef;
  color: #17643a;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  white-space: nowrap;
}
.contact-copy-link.is-copied .contact-copy-status {
  opacity: 1;
  transform: translate(-50%, 0);
}
.social-links {
  display: grid;
  gap: 10px;
}
.social-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface-soft);
  text-decoration: none;
}
.social-link:hover {
  border-color: #bfd1ea;
  background: var(--blue-soft);
  text-decoration: none;
}
.social-link__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.social-link__icon img {
  width: 18px;
  height: 18px;
}
.social-link__body {
  display: grid;
  gap: 2px;
}
.social-link__body strong {
  color: var(--ink);
}
.social-link__body span {
  color: var(--muted);
}
.contact-appeal-link {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  padding: 12px 18px;
  border: 1px solid #235a9f;
  border-radius: var(--radius);
  background: #235a9f;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.contact-appeal-link:hover {
  border-color: #184a88;
  background: #184a88;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.map-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.map-frame__head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.map-frame__head h2 {
  margin: 0;
  font-size: 1.08rem;
}
.map-frame__head p {
  margin: 6px 0 0;
  color: var(--muted);
}
.map-frame__embed {
  display: flex;
  flex: 1;
  min-height: 0;
  padding: 14px;
}
.map-frame__embed iframe,
iframe {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
}
.map-frame__embed iframe {
  height: 100% !important;
  min-height: 0;
}
/* Upcoming cards keep real event imagery */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.upcoming-card {
  min-height: 330px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: none;
}
.upcoming-card__body {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: #fff;
}
.upcoming-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.upcoming-card__date,
.upcoming-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.upcoming-card__link {
  background: rgba(29, 95, 191, 0.92);
}
.upcoming-card__link:hover {
  background: rgba(18, 63, 130, 0.96);
  color: #fff;
  text-decoration: none;
}
.upcoming-card__content {
  overflow: hidden;
}
.upcoming-card__content h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.5rem;
}
.upcoming-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(28px);
  transition:
    max-height 560ms ease,
    opacity 420ms ease,
    transform 560ms ease;
}
.upcoming-card:hover .upcoming-card__content p,
.upcoming-card:focus-within .upcoming-card__content p,
.upcoming-card.is-description-open .upcoming-card__content p {
  max-height: 10rem;
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
.upcoming-card__content p {
    transition: none;
  }

}
/* Simple auth / dashboard / event detail */
form {
  display: grid;
  gap: 14px;
  max-width: 460px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}
form br {
  display: none;
}
label {
  color: var(--ink);
  font-weight: 700;
}
input {
  width: 100%;
  min-height: 42px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}
input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin: 0 8px 0 0;
}
button[type="submit"],
form button,
.container > button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}
button[disabled] {
  cursor: not-allowed;
  background: #c8d2df;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
.history-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}
.history-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}
.history-nav a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}
.history-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.history-content h1 {
  display: none;
}
.history-content h2 {
  margin: 34px 0 12px;
}
.history-content h2:first-of-type {
  margin-top: 0;
}
.history-content p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.72;
}
/* Responsive */
@media (max-width: 1080px) {
.nav-desktop {
    display: none;
  }
.nav-mobile {
    max-height: calc(100dvh - 76px);
  }
.burger {
    display: inline-flex;
  }
.header-inner {
    justify-content: space-between;
  }
.about-hero,
.mp-layout,
.meriya-layout,
.meriya-intro,
.contacts-layout {
    grid-template-columns: 1fr;
  }
.contacts-map,
.map-frame {
    height: auto;
  }
.map-frame__embed {
    min-height: 380px;
  }
.map-frame__embed iframe {
    min-height: 380px;
  }
.mp-aside,
.meriya-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.about-directions,
.upcoming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
@media (max-width: 820px) {
.container,
.container.special,
.header-inner,
.nav-mobile-inner,
.foot {
    width: min(100% - 32px, var(--content));
  }
.about-hero {
    padding: 26px;
  }
.about-hero__panel,
.about-statement,
.about-directions,
.mp-support-types,
.mp-info-grid,
.tk-benefits,
.tk-info-grid,
.mp-aside,
.meriya-aside,
.mp-requirements,
.social-facts,
.meriya-condition-grid,
.upcoming-grid,
.commissions-overview,
.social-category dl {
    grid-template-columns: 1fr;
  }
.mp-requirements div,
.social-facts div,
.meriya-condition,
.mp-requirements div:first-child,
.social-facts div:first-child,
.meriya-condition:first-child {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
.mp-requirements div:first-child,
.social-facts div:first-child,
.meriya-condition:first-child {
    border-top: 0;
  }
.about-history,
.commission-item__body,
.history-layout {
    grid-template-columns: 1fr;
  }
.commissions-overview a,
.commissions-overview a:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
.commissions-overview a:first-child {
    border-top: 0;
  }
.commission-item summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }
.commission-item__lead {
    grid-column: 1 / -1;
  }
.mp-travel-head {
    display: none;
  }
.mp-travel-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
.mp-travel-row span:nth-child(2)::before {
    content: "Ж/д и автобус: ";
    color: var(--muted);
  }
.mp-travel-row span:nth-child(3)::before {
    content: "Авиа: ";
    color: var(--muted);
  }
.mp-travel-row span:nth-child(4)::before {
    content: "Лимит: ";
    color: var(--muted);
  }
.event-row,
.event-row__main,
.event-row__side,
.events-toolbar,
.meriya-apply {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
.event-row__date {
    min-width: 0;
  }

}
@media (max-width: 620px) {
body {
    font-size: 15px;
  }
.container,
.container.special {
    padding-top: 22px;
    padding-bottom: 44px;
  }
.brand-logo {
    height: 50px;
  }
.about-hero {
    padding: 22px;
  }
.about-hero h1 {
    font-size: clamp(2.15rem, 13vw, 3.2rem);
  }
.about-hero__panel {
    grid-template-columns: 1fr;
  }
.about-hero__panel div,
.about-hero__panel div:nth-child(2n),
.about-hero__panel div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
.about-hero__panel div:last-child {
    border-bottom: 0;
  }
.document-item,
.documents-section__head,
.faq-section-head,
.contact-row,
.foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
.contact-row {
    gap: 5px;
  }
.rwd-table thead {
    display: none;
  }
.rwd-table,
.rwd-table tbody,
.rwd-table tr,
.rwd-table td {
    display: block;
    width: 100%;
  }
.rwd-table tr {
    border-top: 1px solid var(--line);
  }
.rwd-table tr:first-child {
    border-top: 0;
  }
.rwd-table td {
    border-bottom: 1px solid var(--line-soft);
  }
.rwd-table td:last-child {
    border-bottom: 0;
  }
.rwd-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
  }
form {
    max-width: none;
  }

}
.scroll-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 120;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--blue);
}
@media (max-width: 1080px) {
.site-header {
    position: static;
  }
body.mobile-menu-open {
    overflow: auto;
  }

}
@media (max-width: 720px) {
.scroll-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

}
@media (max-width: 820px) {
.history-nav {
    position: static;
  }

}
.lk-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}
.lk-hero h1 {
  margin-bottom: 8px;
}
.lk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.lk-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lk-profile-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 760;
}
.lk-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.lk-sidebar,
.lk-main,
.lk-item-list,
.lk-compact-form {
  display: grid;
  gap: 10px;
}
.lk-side-card,
.lk-section {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}
.lk-side-card h2,
.lk-section h2 {
  margin: 0;
  font-size: 1.08rem;
}
.lk-side-card p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.45;
}
.lk-password {
  max-width: none;
}
.lk-password summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}
.lk-section {
  margin-top: 0;
}
.lk-section__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.lk-section__head span,
.lk-section__head a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}
.lk-item-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-soft);
}
.lk-item-card strong,
.lk-item-card span {
  display: block;
}
.lk-item-card span,
.lk-item-card dd {
  color: var(--muted);
}
.lk-item-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.lk-item-actions a,
.lk-appeal-details summary {
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 850;
}
.lk-item-card dl {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 10px 0 0;
}
.lk-item-card dt,
.lk-item-card dd {
  margin: 0;
}
.lk-appeal-details {
  grid-column: 1 / -1;
}
.appeal-form,
.appeal-answer-form {
  display: grid;
  gap: 14px;
  max-width: 760px;
}
.appeal-form textarea,
.appeal-answer-form textarea {
  min-height: 220px;
}
.appeal-profile-note,
.appeal-response-choice {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}
.appeal-login-note {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
}
.appeal-response-choice {
  grid-template-columns: repeat(2, max-content);
  gap: 10px 18px;
}
.appeal-response-choice legend {
  grid-column: 1 / -1;
  font-weight: 850;
}
.appeal-detail {
  display: grid;
  gap: 16px;
}
.appeal-thread {
  display: grid;
  gap: 10px;
}
.appeal-thread--compact {
  margin-top: 12px;
}
.appeal-message {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-soft);
}
.appeal-message--team {
  border-color: #bfd1ea;
  background: var(--blue-soft);
}
.appeal-message span {
  color: var(--muted);
  font-size: 0.86rem;
}
.appeal-text {
  white-space: pre-wrap;
}
.appeal-files {
  margin: 0;
  padding-left: 20px;
}
.appeal-reply-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.appeal-reply-form textarea {
  min-height: 120px;
}
.ui-muted {
  color: var(--muted);
}
.is-async-saving {
  opacity: 0.62;
  pointer-events: none;
}
input.is-dirty,
select.is-dirty,
textarea.is-dirty {
  border-color: #d68c16;
  box-shadow: none;
}
label.is-dirty {
  color: #8b5d0f;
}
form.is-dirty {
  outline: 1px solid rgba(214, 140, 22, 0.28);
  outline-offset: 4px;
}
select {
  width: 100%;
  min-height: 42px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
.event-registration-form {
  display: grid;
  gap: 12px;
  max-width: 640px;
}
.event-choice-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.event-choice-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}
.event-cover {
  display: block;
  width: min(100%, 860px);
  max-height: 520px;
  margin: 18px 0;
  border-radius: var(--radius);
  object-fit: contain;
}
.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.event-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}
.ui-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
}
@media (max-width: 900px) {
.lk-layout,
.lk-item-card {
    grid-template-columns: 1fr;
  }
.lk-hero {
    justify-content: flex-start;
  }
.lk-item-actions {
    justify-self: start;
  }

}
.events-list {
  grid-template-columns: 1fr;
  gap: 18px;
}
.event-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}
.event-card__cover {
  display: block;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  background: var(--surface-soft);
}
.event-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-card__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  font-size: 3rem;
  font-weight: 850;
  text-decoration: none;
}
.event-card__content {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
}
.event-card__body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px 8px;
}
.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.event-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}
.event-card__meta span:last-child {
  background: var(--green-soft);
  color: var(--green);
}
.event-card h2 {
  max-width: 100%;
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.2;
}
.event-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.event-card h2 a:hover {
  color: var(--blue);
}
.event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px 18px;
}
.event-organizer-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  max-width: min(46%, 180px);
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(19, 30, 47, 0.86);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: none;
}
.event-detail-head {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}
.event-detail-head--with-cover {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: stretch;
}
.event-detail-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-soft);
}
.event-detail-cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
}
.event-detail-summary {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}
.event-detail-summary h1 {
  margin: 0;
}
.event-detail-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.45;
}
.event-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.event-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}
.event-detail-meta span:nth-last-child(1) {
  background: var(--green-soft);
  color: var(--green);
}
@media (max-width: 640px) {
.events-toolbar,
.event-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
.event-card {
    grid-template-columns: 1fr;
  }
.event-card__cover {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
.event-card h2 {
    max-width: 100%;
  }
.event-detail-head {
    grid-template-columns: 1fr;
  }

}
/* Authentication feedback categories. */
.flash-item.flash-error,
.flash-item.flash-validation { background:#fff1f0; border-color:#f0b4ad; color:#a52620; }
.flash-item.flash-info { background:#eef4ff; border-color:#c3d4f5; color:#264b80; }
.flash-item.flash-validation a { color:inherit; text-decoration:underline; }

/* Объявления на страницах и в личном кабинете. */
.site-announcements { display: grid; gap: 14px; margin: 24px 0; }
.site-announcement { padding: 20px 24px; border: 1px solid #dae4f1; border-left: 4px solid #285ca0; border-radius: 10px; background: #f4f8fd; }
.site-announcement h2 { margin: 0 0 8px; font-size: 1.15rem; }
.announcement-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
