/* базовое меню */

body {
	font-family: 'Google Sans' !important;
}

.mod-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* родитель */
.mod-menu > li {
    position: relative;
}

/* подменю скрыто */
.mod-menu__sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    z-index: 1000;
}

/* показываем по hover */
.mod-menu li.parent:hover > .mod-menu__sub {
    display: block;
}

/* пункты подменю */
.mod-menu__sub li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
}

.mod-menu__sub li a:hover {
    background: #f2f2f2;
}

.mod-menu__sub .mod-menu__sub {
	left: 200px;
	top: 5px;
}


/* кнопка */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: #000;
    margin: 5px 0;
}

/* мобильная версия */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .mod-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #fff;
    }

    .mod-menu.active {
        display: flex;
    }

    .mod-menu > li {
        border-bottom: 1px solid #ddd;
    }

    /* подменю — НЕ по hover */
    .mod-menu__sub {
        position: static;
        box-shadow: none;
        padding-left: 15px;
    }

    .mod-menu li.parent > .mod-menu__sub {
        display: none;
    }

    .mod-menu li.parent.open > .mod-menu__sub {
        display: block;
    }
}

.mod-articles-item {
	display: inline-block;
}

.amigo .mod-articles-item-content h4.mod-articles-title {
	font-size: 1.1rem;
}

.mod-articles-category {
	font-size: 14px;
	color: grey;
	font-style: italic;
	font-weight: 300;
}

.mod-articles-date {
	font-size: 14px;
	color: grey;
	font-weight: 300;
}

.mod-articles-date span, .mod-articles-category span {
	display: none;
}

.amigo .mod-articles-item-content p img{
	float: left;
	width: 150px;
	padding-right: 15px;
}

.list-inline {
	margin-bottom: 0px;
}

.list-inline p{
	margin-block-start: 0;
    margin-block-end: 0;
}

.site-grid>.container-top-a-left {
	width: 50%;
}

.site-grid>.container-top-a-right {
	width: 50%;
	column-gap: 1em;
    max-width: none;
}


.google-sans-<uniquifier> {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}

body {
	font-family: "Google Sans", sans-serif !important;
}

h1 {font-size: 2rem;}
h2 {font-size: 1.6rem;}
h3 {font-size: 1.3rem;}

.com-content-article__body table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	font-size: 15px;
	line-height: 1.5;
}

.com-content-article__body table th,
.com-content-article__body table td {
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #ececec;
}

.com-content-article__body table th {
	font-weight: 600;
	color: #222;
}

.com-content-article__body table tr:last-child td {
	border-bottom: none;
}

.com-content-article__body ul {
	margin: 18px 0;
	padding: 0;
	list-style: none;
}

.com-content-article__body ul li {
	position: relative;
	padding: 8px 0 8px 28px;
	line-height: 1.5;
	transition: color 0.2s ease, transform 0.2s ease;
}

.com-content-article__body ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 10px;
	height: 10px;
	border: 2px solid #b8c2cc;
	border-radius: 50%;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.com-content-article__body ul li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 26px;
	bottom: -8px;
	width: 1px;
	background: #d9dfe5;
}

.com-content-article__body ul li:last-child::after {
	display: none;
}

.com-content-article__body ul li:hover {
	color: #222;
	transform: translateX(3px);
}

.com-content-article__body ul li:hover::before {
	border-color: #8fa1b3;
	background: #8fa1b3;
	transform: scale(1.08);
}

.transport-block {
    margin: 24px 0;
    padding: 18px 20px 20px;
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(34, 45, 80, 0.06);
}

.transport-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0f5;
}

.transport-title img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    padding: 7px;
    background: #f3f4fa;
    border-radius: 10px;
}

.transport-title h4 {
    margin: 0;
    color: #424077;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.transport-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.transport-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 38px;
    padding: 0 2px;
    color: #224faa;
    background: #f6f8fc;
    border: 1px solid #e3e8f3;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: all 0.18s ease;
}

.transport-list a:hover,
.transport-list a:focus {
    color: #fff;
    background: #424077;
    border-color: #424077;
    box-shadow: 0 5px 14px rgba(66, 64, 119, 0.22);
    transform: translateY(-1px);
}

.transport-list a:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 600px) {
    .transport-block {
        padding: 16px 14px;
        border-radius: 12px;
    }

    .transport-title {
        gap: 10px;
        margin-bottom: 14px;
    }

    .transport-title img {
        width: 30px;
        height: 30px;
        padding: 6px;
    }

    .transport-title h4 {
        font-size: 18px;
    }

    .transport-list {
        gap: 8px;
    }

    .transport-list a {
        min-width: 38px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
    }
}

.transport-block + .transport-block {
    margin-top: 18px;
}

.mod-languages {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mod-languages__list,
.mod-languages .lang-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.mod-languages__list li,
.mod-languages .lang-inline li {
    margin: 0;
    padding: 0;
}

.mod-languages__list a,
.mod-languages .lang-inline a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 30px;
    padding: 0 11px;
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.18s ease;
}

.mod-languages__list a:hover,
.mod-languages__list a:focus,
.mod-languages .lang-inline a:hover,
.mod-languages .lang-inline a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.mod-languages__list .lang-active a,
.mod-languages .lang-inline .lang-active a {
    color: #424077;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.mod-languages__list .lang-active a:hover,
.mod-languages__list .lang-active a:focus,
.mod-languages .lang-inline .lang-active a:hover,
.mod-languages .lang-inline .lang-active a:focus {
    color: #424077;
    background: #fff;
}

/* На случай, если visually-hidden не задан в шаблоне */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    .mod-languages {
        justify-content: center;
    }

    .mod-languages__list a,
    .mod-languages .lang-inline a {
        min-width: 36px;
        height: 29px;
        padding: 0 10px;
        font-size: 12px;
    }
}

div.mod-languages ul li.lang-active {background: transparent;}











/* Общая шапка */
.container-header {
    background: #424077;
    box-shadow: 0 4px 18px rgba(25, 24, 55, 0.18);
    z-index: 1000;
}

.container-header .container-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Главное меню */
.container-header .mod-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.container-header .mod-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.container-header .mod-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 13px;
    color: rgba(255, 255, 255, 0.88);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.18s ease;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

/* Активный пункт */
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li.active > a {
    color: #424077;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.13);
}

/* Стрелка у пунктов с подменю */
.container-header .mod-menu > li.deeper > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.8;
}

/* Выпадающие меню */
.container-header .mod-menu__sub {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(20, 22, 45, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.18s ease;
    z-index: 1001;
}

/* Показываем подменю */
.container-header .nav-item:hover > .mod-menu__sub,
.container-header .nav-item:focus-within > .mod-menu__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Пункты выпадающего меню */
.container-header .mod-menu__sub li {
    position: relative;
    margin: 0;
    padding: 0;
}

.container-header .mod-menu__sub a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: #27304f;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    transition: all 0.16s ease;
}

.container-header .mod-menu__sub a:hover,
.container-header .mod-menu__sub a:focus {
    color: #224faa;
    background: #f4f6fb;
}

/* Третий уровень */
.container-header .mod-menu__sub .mod-menu__sub {
    top: -8px;
    left: calc(100% + 0px);
}

/* Стрелка у вложенных пунктов */
.container-header .mod-menu__sub li.deeper > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0.65;
}

/* Блок справа, где языки */
.container-header .container-search {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Бургер */
.menu-toggle {
    display: none;
    width: 42px;
    height: 38px;
    padding: 0;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
    border-radius: 4px;
}

.container-header .mod-menu>li+li {
        margin-left: 0;
}


/* top-a: две позиции Joomla в одной flex-строке */
.site-grid > .container-top-a.top-a-flex {
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: stretch;
}

.site-grid > .container-top-a.top-a-flex > .top-a-left > .card-body,
.site-grid > .container-top-a.top-a-flex > .top-a-right > .card-body {
    width: 100%;
}

@media (max-width: 991.98px) {
    .site-grid > .container-top-a.top-a-flex {
        flex-direction: column;
    }

    .site-grid > .container-top-a.top-a-flex > .top-a-left,
    .site-grid > .container-top-a.top-a-flex > .top-a-right {
        width: 100%;
        flex: 0 0 auto;
    }
}

.nspList > li .nspImage {
	width: 100%;
}

.site-grid > .container-top-a.top-a-flex {
    display: flex;
    gap: 1em;
    align-items: stretch;
}

.site-grid > .container-top-a.top-a-flex > .top-a-left {
    flex: 0 0 calc(70% - .5em);
    max-width: calc(70% - .5em);
    min-width: 0;
    margin: .5em 0;
}

.site-grid > .container-top-a.top-a-flex > .top-a-right {
    flex: 0 0 calc(30% - .5em);
    max-width: calc(30% - .5em);
    min-width: 0;
    margin: .5em 0;
}

@media (max-width: 991.98px) {
    .site-grid > .container-top-a.top-a-flex {
        flex-direction: column;
    }

    .site-grid > .container-top-a.top-a-flex > .top-a-left,
    .site-grid > .container-top-a.top-a-flex > .top-a-right {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
}


/* 
   Joomla / Cassiopeia:
   В обычных позициях каждый модуль занимает 100% ширины
   и становится один под другим.
*/

/* Контейнеры позиций делаем вертикальными */
.site-grid > .container-top-a:not(.top-a-flex),
.site-grid > .container-top-b,
.site-grid > .container-bottom-a,
.site-grid > .container-bottom-b,
.site-grid > .container-sidebar-left,
.site-grid > .container-sidebar-right,
.site-grid > .container-component {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1em;
}

/* Каждый модуль внутри позиции — на всю ширину */
.site-grid > .container-top-a:not(.top-a-flex) > *,
.site-grid > .container-top-b > *,
.site-grid > .container-bottom-a > *,
.site-grid > .container-bottom-b > *,
.site-grid > .container-sidebar-left > *,
.site-grid > .container-sidebar-right > *,
.site-grid > .container-component > * {
    flex: 0 0 auto !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}

.mod-latest-news-columns__title {
	color: var(--ui-soft-text);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none !important;
}

a {color: #333}
a:hover {color: #666 !important;}

.nspLinks ul li h4 {line-height: 100%;}

.nspLinks ul li h4 a {
    text-decoration: none;
    font-size: 16px;
    line-height: 100%;
    font-weight: 500;
}

.gkTitle a {
	color: #fff;
}

.nspCol1 p.nspInfo, .nspList > li .meta {
    font-weight: 300;
    font-size: 12px;
    color: #6f6f6f;
	margin-bottom: 0;
}

.nspCol1 .nspText {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}




.nspArtScroll1>.nspArtScroll2>.nspArtPage>.nspCol1>p.nspInfo {
    font-weight: 300;
    font-size: 12px;
    margin-bottom: 0;
}

.mneniya img {
	width: 100px;
	border-radius: 50%;
	max-width: 70% !important;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.mneniya .nspHeader a {
	font-size: 16px;
}

.mneniya {background: #e0ff941a;}

.opinions-module {
    width: 100%;
    box-sizing: border-box;
}

.opinions-module__title {
    margin: 0 0 16px;
    padding: 13px 14px 12px;
    background: #f7f7fb;
    border-radius: 12px;
    color: #24234d;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    position: relative;
}

.opinions-module__title::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 0;
    width: 82px;
    height: 3px;
    background: #424077;
    border-radius: 3px;
}

.opinion-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eceef2;
}

.opinion-item:first-of-type {
    padding-top: 4px;
}

.opinion-item:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.opinion-item__image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f6;
    background: #f0f0f6;
    box-sizing: border-box;
}

.opinion-item__content {
    min-width: 0;
}

.opinion-item__tag {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #efeff8;
    color: #424077;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.opinion-item__author {
    margin: 0 0 5px;
    color: #64616e;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
}

.opinion-item__title {
    display: block;
    color: #111827;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
}

.opinion-item__title:hover {
    color: #424077;
    text-decoration: none;
}

/* Небольшая адаптация для совсем узкой колонки */
@media (max-width: 420px) {
    .opinions-module {
        padding: 14px 12px;
    }

    .opinion-item {
        grid-template-columns: 62px 1fr;
        gap: 11px;
    }

    .opinion-item__image {
        width: 62px;
        height: 62px;
    }

    .opinion-item__title {
        font-size: 14px;
    }
}

/* =========================================================
   Header v2: белая шапка + белое меню под стиль Ukrinfo
   Добавить в /css/custom.css
   ========================================================= */

.header-v2.container-header {
    background: #ffffff;
    color: #111827;
    border: 0;
    box-shadow: none;
}

.header-v2.position-sticky,
.header-v2.sticky-top {
    z-index: 1030;
}

.header-v2 .grid-child {
    width: 100%;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 18px;
    padding-right: 18px;
}

/* Верхняя компактная строка с логотипом и языками */
.header-v2-top {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-v2-top__inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-v2-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    text-decoration: none;
    min-width: 0;
}

.header-v2-logo:hover {
    color: #111827;
    text-decoration: none;
}

.header-v2-logo__mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 2px solid #111827;
    border-radius: 9px;
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.header-v2-logo__text {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.header-v2-logo__name {
    color: #111827;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.header-v2-logo__tagline {
    color: #7a7f89;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-v2-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
}

/* Переключатель языков в верхней строке */
.header-v2-actions .mod-languages {
    margin: 0;
}

.header-v2-actions .mod-languages__list,
.header-v2-actions .lang-inline {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-v2-actions .mod-languages__list li {
    margin: 0;
    padding: 0;
}

.header-v2-actions .mod-languages__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    background: #f2f3f5;
    color: #111827;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
}

.header-v2-actions .mod-languages__list .lang-active a,
.header-v2-actions .mod-languages__list a[aria-current="true"] {
    background: #111827;
    color: #ffffff;
}

.header-v2-actions .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Белое меню */
.header-v2-nav {
    min-height: 52px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-v2-nav .mod-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-v2-nav .mod-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.header-v2-nav .mod-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 11px;
    color: #111827;
    font-size: 15px;
    line-height: 1;
    font-weight: 750;
    text-decoration: none;
    transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.header-v2-nav .mod-menu > li > a:hover,
.header-v2-nav .mod-menu > li:hover > a,
.header-v2-nav .mod-menu > li:focus-within > a {
    background: #f2f3f5;
    color: #111827;
    text-decoration: none;
}

.header-v2-nav .mod-menu > li.current > a,
.header-v2-nav .mod-menu > li.active > a,
.header-v2-nav .mod-menu > li.current.active > a {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(17, 24, 39, 0.16);
}

/* Стрелки у пунктов с подменю */
.header-v2-nav .mod-menu > li.deeper > a::after,
.header-v2-nav .mod-menu > li.parent > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.75;
}

/* Выпадающие меню */
.header-v2-nav .mod-menu__sub {
    position: absolute;
    left: 0;
    top: calc(100% + 2px);
    min-width: 215px;
    z-index: 1200;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.header-v2-nav li:hover > .mod-menu__sub,
.header-v2-nav li:focus-within > .mod-menu__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.header-v2-nav .mod-menu__sub li {
    position: relative;
    margin: 0;
    padding: 0;
}

.header-v2-nav .mod-menu__sub a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.header-v2-nav .mod-menu__sub a:hover,
.header-v2-nav .mod-menu__sub li:hover > a,
.header-v2-nav .mod-menu__sub li:focus-within > a {
    background: #f2f3f5;
    color: #111827;
    text-decoration: none;
}

.header-v2-nav .mod-menu__sub .mod-menu__sub {
    top: -8px;
    left: calc(100% + 2px);
}

/* Кнопка бургера. Она уже есть внутри модуля меню */
.header-v2-nav .menu-toggle {
    display: none;
    width: 40px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin: 7px 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    background: #ffffff;
    cursor: pointer;
}

.header-v2-nav .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #111827;
}

/* Мобильная версия */
@media (max-width: 900px) {
    .header-v2 .grid-child {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-v2-logo__text {
        display: block;
    }

    .header-v2-logo__name {
        display: block;
        font-size: 21px;
    }

    .header-v2-logo__tagline {
        display: block;
        margin-top: 3px;
        font-size: 10px;
        white-space: normal;
    }

    .header-v2-top__inner {
        min-height: 56px;
    }

    .header-v2-nav {
        min-height: auto;
        flex-wrap: wrap;
    }

    .header-v2-nav .menu-toggle {
        display: inline-flex;
    }

    .header-v2-nav .mod-menu {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 6px 0 12px;
    }

    /* Поддержка разных вариантов класса, который может ставить custom.js */
    .header-v2-nav.open .mod-menu,
    .header-v2-nav.menu-open .mod-menu,
    .header-v2-nav.is-open .mod-menu,
    .header-v2-nav.active .mod-menu,
    .header-v2-nav .mod-menu.show,
    body.menu-open .header-v2-nav .mod-menu {
        display: flex;
    }

    .header-v2-nav .mod-menu > li > a {
        min-height: 40px;
        justify-content: space-between;
        padding-left: 13px;
        padding-right: 13px;
    }

    .header-v2-nav .mod-menu__sub,
    .header-v2-nav .mod-menu__sub .mod-menu__sub {
        position: static;
        min-width: 0;
        margin: 4px 0 4px 14px;
        padding: 5px;
        border-radius: 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        display: none;
    }

    .header-v2-nav li:hover > .mod-menu__sub,
    .header-v2-nav li:focus-within > .mod-menu__sub {
        display: block;
    }
}

@media (max-width: 520px) {
    .header-v2-logo__mark {
        width: 31px;
        height: 31px;
        font-size: 19px;
        border-radius: 8px;
    }

    .header-v2-logo__name {
        font-size: 18px;
    }

    .header-v2-logo__tagline {
        display: none;
    }

    .header-v2-actions .mod-languages__list a {
        min-width: 34px;
        height: 28px;
        padding: 0 8px;
        border-radius: 9px;
    }
}


.nspLinks .nspLinkScroll1 ul li {
	min-height: 300px;
}


/* Footer v2 */
.footer {
    margin-top: 40px;
    background: #101114;
    color: #ffffff;
    border-top: 1px solid #25272c;
}

.site-footer-v2__inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 34px 18px 30px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 34px;
}

.site-footer-v2__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.site-footer-v2__logo:hover {
    color: #ffffff;
    text-decoration: none;
}

.site-footer-v2__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    color: #101114;
    font-size: 23px;
    line-height: 1;
    font-weight: 800;
}

.site-footer-v2__name {
    display: block;
    font-size: 23px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.site-footer-v2__tagline {
    display: block;
    margin-top: 5px;
    color: #b5b8c1;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer-v2__text {
    max-width: 360px;
    margin: 18px 0 0;
    color: #c4c7cf;
    font-size: 14px;
    line-height: 1.55;
}

.site-footer-v2__column h4 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-footer-v2__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-v2__column li {
    margin: 0 0 9px;
}

.site-footer-v2__column a {
    color: #c4c7cf;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.site-footer-v2__column a:hover {
    color: #ffffff;
    text-decoration: none;
}

.site-footer-v2__langs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: #1d1f24;
    border: 1px solid #30333a;
}

.site-footer-v2__langs a {
    min-width: 38px;
    padding: 8px 10px;
    border-radius: 999px;
    color: #c4c7cf;
    text-align: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
}

.site-footer-v2__langs a.active {
    background: #ffffff;
    color: #101114;
}

.site-footer-v2__small {
    max-width: 260px;
    margin: 16px 0 0;
    color: #9da2ad;
    font-size: 13px;
    line-height: 1.45;
}

.site-footer-v2__bottom {
    border-top: 1px solid #25272c;
    background: #0b0c0f;
}

.site-footer-v2__bottom-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #8e949f;
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .site-footer-v2__inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 560px) {
    .site-footer-v2 {
        margin-top: 30px;
    }

    .site-footer-v2__inner {
        grid-template-columns: 1fr;
        padding: 28px 16px 26px;
        gap: 24px;
    }

    .site-footer-v2__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }
}


@media (max-width: 900px) {

    .header-v2-nav.menu-open .mod-menu,
    .header-v2-nav .mod-menu.show,
    .header-v2-nav .mod-menu.active {
        display: flex !important;
    }

    .header-v2-nav .mod-menu__sub {
        display: none !important;
    }

    .header-v2-nav li.open > .mod-menu__sub {
        display: block !important;
    }
}


@media (max-width: 700px) {

	.site-grid {
		grid-gap: 0 0em;
	}
	
	.nspArts, .nspLinksWrap {
		padding: 0px 2px;
	}

	.nspPages4 {
		width: 100%;
	}
	
	.nspCol16 {
		width: 50%;
	}
}