/*!
Theme Name: yakutia-lang
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# 00. Project overrides (custom blocks)
# 01. Generic (Normalize + Box sizing)
# 02. Base (Typography, Elements, Links, Forms)
# 03. Layouts
# 04. Components (Navigation, Posts, Comments, Widgets, Media, etc.)
# 05. Plugins
# 06. Utilities
# 07. Search UI
# 08. Main page / Cards / Swiper
# 09. Banner: language museum
# 10. Footer / Inner pages
--------------------------------------------------------------*/

:root { --adminbar-h: 0px; }

/* WP добавляет класс admin-bar на body, когда видна панель */
body.admin-bar { --adminbar-h: 32px; }

@media (max-width: 782px) {
  body.admin-bar { --adminbar-h: 46px; }
}

/* Все липкие/фиксированные элементы смещаем на высоту admin bar */
body.admin-bar .custom-navbar,
body.admin-bar .custom-inner-navbar {
  top: var(--adminbar-h) !important;
}

/* Если у вас есть другие fixed/sticky элементы — добавляйте сюда */


/*==============================================================
# 00. Project overrides (custom blocks)
==============================================================*/

/* Header / Title */
.site-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
	letter-spacing: -0.06em;
    text-transform: uppercase;
    max-width: 300px;
    color: #FFFFFF;
}

.navbar > .container .navbar-brand {
    margin-right: 0 !important;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-title a:hover {
    color: #fff;
}

/* Если используете SVG напрямую в HTML */
.navbar-toggler svg {
    width: 20px;
    height: 14px;
    vertical-align: middle;
}

/* Центрируем иконку в кнопке */
.navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
	 border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Для фокуса тоже убираем обводку */
.navbar-toggler:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}



.card-project-container {
    margin-top: 35px;
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: 80px;
    margin-right: 10px;
}

.jumbo-content {
    display: inline-flex;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1;
}

.jumbo-content-text {
    max-width: 800px;
    margin-left: -350px;
    font-family: "Prata", serif;
    font-style: normal;
    font-weight: 400;
    font-size: 70px;
    line-height: 125%;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    mix-blend-mode: normal;
    leading-trim: both;
    text-edge: cap;
    text-transform: uppercase;
}

.jumbo-content-subtext {
    margin: 40px auto 60px auto;
    margin-left: -80px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 23px;
    line-height: 34px;
    text-transform: uppercase;
    color: #FFFFFF;
    max-width: 500px;
}

/* Dropdown menu */
.dropdown-menu {
    border-radius: 0 !important;
	border: none;
}

.dropdown-menu > .menu-item.active > a,
.dropdown-menu > .menu-item > a.active {
	background-color: #897868 !important; }

.dropdown-menu > .menu-item a {
    margin: 5px 0px;
    color: #483F3E;
    border-radius: 0 !important; /* Убираем скругление у элементов меню */
}

/* Исправляем цвет текста при наведении */
.dropdown-menu > .menu-item a:hover,
.dropdown-menu > .menu-item a:focus {
    color: #483F3E !important; /* Оставляем тот же цвет при наведении */
    background-color: #f8f9fa !important; /* Добавляем фоновый цвет при наведении для визуального эффекта */
}

/* News cards */
.post-news-text {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-news a {
    transition-duration: 200ms;
    padding: 40px 60px;
    display: block;
    background: rgba(255, 255, 255, 0.5);
    color: #000000 !important;
    text-decoration: none;
}

/* NOTE: здесь, вероятно, опечатка .post-mews (оставлено как есть) */
.post-mews a:hover {
    transition-duration: 200ms;
    background: rgba(255, 255, 255, 1);
}

/* Page container */
.container-page {
    /*margin-top: 96px;*/
    max-width: 800px;
}

/* Menu links */
.menu-item a {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    color: #FFFFFF;
}

/* WP admin bar adjustments */
.wpadminbar {
    top: 32px !important;
}

/* Site sections backgrounds */
.site-footer {
    background-color: #4A413B;
}

/* Вкладка «Тесты»: футер всегда внизу экрана, без светлого фона под контентом */
body.yak-tests-tab-active #page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.yak-tests-tab-active #page .body-section {
    flex: 1;
}

.main-page-jumbo {
    background: #21AAFF;
}

.main-page-lang {
    background: #E0DBD6;
}

.main-page-slide {
    background: #C3A061;
}

.main-page-second {
    background-image: url(https://yakutia-lang.nlrs.ru/wp-content/uploads/2023/03/10.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Brand */
.navbar-brand img {
    width: 46px;
    border-radius: 50%;
}

@media (max-width: 767.98px) {
    .navbar-brand img {
    width: 38px;
	}
}

/*==============================================================
# 01. Generic
==============================================================*/

/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections */
body {
    margin: 0;
    background-color: #E8E1DB !important;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics */
a {
    color: #3E5D79;
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content */
img {
    border-style: none;
}

/* Forms */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive */
details {
    display: block;
}

summary {
    display: list-item;
}

/* Misc */
template {
    display: none;
}

[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}


/*==============================================================
# 02. Base
==============================================================*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

.entry-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 35px;
    line-height: 46px;
    margin-bottom: 40px;
}

p {
    margin-bottom: 1.5em;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
    max-width: 100%;
}

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

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
/* (оставлено закомментированным как у вас) */

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: none;
    border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}


/*==============================================================
# 03. Layouts
==============================================================*/
/* (пусто, как в исходнике) */


/*==============================================================
# 04. Components
==============================================================*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

/* Nav links blocks */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.nav-link { color: black; }

/* Вертикальное центрирование ссылки меню внутри li */
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}
.navbar-nav .nav-link {
    display: flex;
    align-items: center;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

.menu-item a,
.menu-item a:hover,
.menu-item a:focus {
    color: #FFFFFF;
}

@media (max-width: 991px) {
    .menu-item a {
        color: #483F3E;
    }
}

/* Пункты меню */
.menu-item a {
    position: relative;
    text-decoration: none;
    padding-bottom: 6px;
    font-weight: 400; /* обычный вес шрифта */
    transition: font-weight 0.3s ease, color 0.3s ease; /* плавный переход */
}

/* Убираем линию снизу для всех пунктов */
.menu-item a::after {
    content: none; /* убираем псевдоэлемент с линией */
}

/* Hover - можно оставить или изменить */
.menu-item a:hover {
    color: rgba(255, 255, 255, 0.95); /* небольшое изменение цвета при hover */
}

/* Активный пункт меню - жирный шрифт */
.menu-item.current-menu-item > a,
.menu-item.current_page_item > a,
.menu-item.current-menu-ancestor > a {
    font-weight: 700 !important; /* жирный шрифт */
    color: #FFFFFF !important; /* убедимся, что цвет белый */
}

/* Дополнительно для dropdown */
.menu-item.current-menu-item > a.dropdown-toggle,
.menu-item.current_page_item > a.dropdown-toggle,
.menu-item.current-menu-ancestor > a.dropdown-toggle {
    font-weight: 700 !important;
}


/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 0;
}

.updated:not(.published) {
    display: none;
}

.page-title,
.entry-title {

font-family: 'Montserrat';
font-style: normal;
font-weight: 500;
font-size: 40px;
line-height: 49px;
letter-spacing: -0.06em;

color: #483F3E;

}

.entry-title {
    /* 	margin-top: 40px; */
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}


/*==============================================================
# 05. Plugins
==============================================================*/

/* Jetpack infinite scroll
--------------------------------------------- */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

.infinity-end.neverending .site-footer {
    display: block;
}


/*==============================================================
# 06. Utilities
==============================================================*/

/* Accessibility
--------------------------------------------- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


/*==============================================================
# 07. Search UI
==============================================================*/
.search__container#subpage {
    padding-top: 40px;
}

.search__container {
    padding-top: 40px;
}

.search__title {
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    color: #ff8b88;
}

.search__input {
    width: 60%;
    padding: 12px 24px;
    background-color: transparent;
    border-radius: 30px;
    transition: transform 250ms ease-in-out;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 50px;
    color: #FFF;
    background-color: transparent;
    background-image: url("https://yakutia-lang.nlrs.ru/wp-content/uploads/2023/03/icon-search.png");
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 95% center;
    border: 1px solid #FFF;
    transition: all 250ms ease-in-out;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.search__input::placeholder {
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.search__input:hover,
.search__input:focus {
    padding: 12px 0;
    outline: 0;
    border: 1px solid transparent;
    border-bottom: 1px solid #FFF;
    background-position: 100% center;
    border-radius: 0;
}

.search__input#s2 {
    width: 40%;
    padding: 12px 24px;
    background-color: transparent;
    border-radius: 30px;
    transition: transform 250ms ease-in-out;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 20px;
    color: #404040;
    background-color: transparent;
    background-image: url("https://yakutia-lang.nlrs.ru/wp-content/uploads/2023/04/icon-search-2.png");
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 95% center;
    border: 1px solid #38ACDE;
    transition: all 250ms ease-in-out;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.search__input#s2::placeholder {
    color: #38ACDE;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.search__input#s2:hover,
.search__input:focus {
    padding: 12px 0;
    outline: 0;
    border: 1px solid transparent;
    border-bottom: 1px solid #38ACDE;
    background-position: 100% center;
    border-radius: 0;
}

/* New search line */
.site-search-line {
    border-bottom: 1px solid #e5e5e5;
}

.search-line {
    min-height: 40px;
}

.search-line-icon i {
    font-size: 20px;
    color: #2f6664;
}

.search-line-input {
    border: none;
    outline: none;
    font-size: 14px;
    padding: 6px 0;
    background: transparent;
}

.search-line-input::placeholder {
    color: #b3b3b3;
}

.search-line-input {
    border: none !important;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    letter-spacing: -0.06em;
    color: rgba(72, 63, 62, 0.6);
}

.search-line-input-tabs {
    border: none;
    outline: none;
    font-size: 14px;
    padding: 6px 0;
    background: transparent;
}

.search-line-input::placeholder {
    color: #b3b3b3;
}

.search-line-input-tabs {
    border: none !important;
    outline: none;

width: 62px;
height: 24px;

font-family: 'Montserrat';
font-style: normal;
font-weight: 500;
font-size: 20px;
line-height: 24px;
letter-spacing: -0.06em;

color: rgba(72, 63, 62, 0.3);

}

@media (max-width: 575.98px) {
    .search-line-hints {
        display: none !important;
    }
}


/*==============================================================
# 08. Main page / Cards / Swiper
==============================================================*/

/* Main page lang section background override */
.main-page-lang {
    background-image: url(https://yakutia-lang.nlrs.ru/wp-content/uploads/2023/03/Rectangle-69.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #9F6C10;
    background-blend-mode: lighten;
}

.main-page-lang-text {
    list-style: none;
    margin: 0px;
    padding: 0px;
    text-align: center;
    max-width: 800px;
    text-transform: uppercase;
    margin: 0 auto;
}

.main-page-lang-text li {
    display: inline-block;
    line-height: 2;
    padding-left: 5px;
    padding-right: 5px;
}

.dot {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    margin-top: 20px;
    text-decoration: none;
    border-bottom: 1px dashed #FFF;
    color: #FFFFFF;
}


.main-page-slide {
    background-color: #8C706D;
}

.card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cards */
a.card-second-main {
    position: relative;
    padding: 20px;
    border: 0.5px solid #FFF;
    border-radius: 10px;
    height: 445px;
    margin: 0 auto;
    max-width: 604px;
    display: flex;
    align-content: flex-end;
    align-items: flex-end;
    text-align: right;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 500;
    font-size: 35px;
    line-height: 46px;
    color: #FFFFFF;
    text-decoration: none;
    background-image: url("https://yakutia-lang.nlrs.ru/wp-content/uploads/2023/03/фото-девушек.png");
}

.wrapper {
    text-align: center;
}

.block {
    display: inline-block;
    margin: 2px;
    vertical-align: top;
}

/* .lang-list-title1 {
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 46px;
    color: #FFF;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.lang-list-title2 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 34px;
    color: #FFF;
    text-align: center;
    text-transform: uppercase;
    margin-top: 20px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
} */

a.card-second,
a.card-news,
a.card-project,
a.card-lang {
    position: relative;
    padding: 20px;
    margin: 0 auto;
    align-content: flex-end;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 34px;
    display: flex;
    align-items: flex-end;
    text-transform: uppercase;
    color: #111212;
    text-decoration: none;
    font-family: 'Montserrat';
    background: linear-gradient(109.53deg, rgba(255, 255, 255, 0.99) -4.99%, rgba(255, 255, 255, 0) 99.34%);
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(5px);
    border-radius: 20px;
}

a.card-second {
    height: 165px;
}

a.card-news {
    height: 100px;
    width: 180px;
}

a.card-project {
    height: 123px;
    width: 258px;
}

a.card-lang {
    height: 165px;
    width: 300px;
}

.card-second-icon {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Grid container body */
.container_body {
    margin: 0px -15px;
    padding: 20px 15px;
    background: rgb(220, 204, 207);
    background: linear-gradient(0deg, rgba(220, 204, 207, 1) 35%, rgba(167, 212, 243, 1) 100%);
}

.container_body_content {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    width: 100%;
    grid-gap: 40px;
    padding: 70px 0px;
    grid-template:
        "first first"
        "second third"
        "second four";
}

.container_body_content > a {
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    text-decoration: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.container_body_content > a:hover > .main_grid_text_down {
    padding: 15px 80px 15px 20px;
    transition-duration: 200ms;
}

.main_grid_text_up {
    right: 13px;
    top: 13px;
    position: absolute;
    display: inline-block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    background-color: #1199fd;
    text-transform: uppercase;
}

.main_grid_text_up.left {
    right: auto;
    left: 13px;
}

.main_grid_text_down {
    transition-duration: 200ms;
    right: 0px;
    bottom: 15px;
    position: absolute;
    display: inline-block;
    padding: 15px 56px 15px 20px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px 0px 0px 25px;
    background-color: #1199fd;
    text-transform: uppercase;
}

.main_grid_first {
    display: block;
    height: 425px;
    background: #dedede;
    grid-area: first;
}

.main_grid_second {
    display: block;
    height: 560px;
    background: #dedede;
    grid-area: second;
}

.main_grid_third {
    display: block;
    height: 100%;
    background: #dedede;
    grid-area: third;
}

.main_grid_four {
    display: block;
    height: 100%;
    background: #dedede;
    grid-area: four;
}

.container_body_bottom {
    width: calc(100% + 30px);
    z-index: 100;
    margin: 0px -15px -22px -15px;
}

/* Language lists */
.lang_list, .lang_2_list {
    display: inline-block;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
}

.lang_list_item, .lang_2_list_item {
    flex: 0 0 calc(25% - 20px);
    margin: 10px;
}

.lang_list_item a, .lang_2_list_item a {
    transition-duration: 200ms;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #000000;
    text-decoration: none;
    text-align: center;
}

.lang_list_item a img, .lang_2_list_item a img {
    height: 100px;
}

.lang_list_item a:hover, .lang_2_list_item a:hover {
    color: #1199fd;
    transition-duration: 200ms;
}

.card-title {
    text-decoration: none;
    text-align: end;
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 28px;
    color: #fff;
    text-shadow: 0 3px 4px rgba(0, 0, 0, .35);
    margin: 0;
    margin-bottom: 20px;
    display: block;
}



/* Section title + "more" link */
.main-page-section-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(20px, 4vw, 40px);
    line-height: 49px;
    letter-spacing: -0.06em;
    color: #483F3E;
}

.link-more {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 10px;
}

/* Main cards typography */
.main-card-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    text-transform: none !important;
    font-size: clamp(16px, 4vw, 36px);
    line-height: 1.3;
    letter-spacing: -0.06em;
    color: #FFFFFF;
    text-align: left;
    overflow-wrap: break-word;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card rounding rules */
.col-lg-3.col-md-4.col-sm-6 .position-relative {
    border-radius: 0;
}

.col-lg-3.col-md-4.col-sm-6:nth-child(4n+1) .position-relative {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.col-lg-3.col-md-4.col-sm-6:nth-child(4n) .position-relative {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.col-lg-3.col-md-4.col-sm-6:nth-last-child(-n+4):nth-child(4n+1) .position-relative {
    border-bottom-left-radius: 20px;
}

.col-lg-3.col-md-4.col-sm-6:nth-last-child(-n+4):nth-child(4n) .position-relative,
.col-lg-3.col-md-4.col-sm-6:last-child .position-relative {
    border-bottom-right-radius: 20px;
}

/* Section lang styles */
.main-section-lang {
    background: radial-gradient(53.98% 259.34% at 72.47% 50.05%, rgba(233, 195, 158, 0.4) 0%, rgba(233, 195, 158, 0) 100%), #6D6359;
}

.main-page-section-lang-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(20px, 4vw, 40px);
    line-height: 49px;
    letter-spacing: -0.06em;
    color: #FFFFFF;
}

.main-page-section-lang-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(16px, 4vw, 30px);
    line-height: 37px;
    text-align: center;
    letter-spacing: -0.06em;
    color: #FFFFFF;
}


/*==============================================================
# 09. Banner: language museum
==============================================================*/
.language-museum-banner {
    background: radial-gradient(59.98% 74.47% at 55.6% 40.55%, #796958 0%, #4A413B 74.71%, #3F3732 100%);
    color: white;
    position: relative;
    overflow: hidden;
    height: 950px;
    display: flex;
    z-index: 1;
}

.left-section {
    background: url('/wp-content/uploads/2025/12/map.png') left bottom no-repeat;
    background-position: -100px calc(100% + 190px);
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
}



.right-section {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.right-section::before {
    content: "";
    position: absolute;
    top: -25%;
    left: -35%;
    width: 110%;
    aspect-ratio: 1 / 1;
    background: url('/wp-content/uploads/2025/12/uzor-1.png') no-repeat center / contain;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    animation: rotateDecor 60s linear infinite;
    transform-origin: center;
}


.right-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -25%;
    width: 90%;
    aspect-ratio: 1 / 1;
    background: url('/wp-content/uploads/2025/12/uzor-1.png') no-repeat center / contain;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    animation: rotateDecor 60s linear infinite reverse;
    transform-origin: center;
}

.right-section > * {
    position: relative;
    z-index: 1;
}

.banner-title-block {
    position: absolute;
    top: 140px;
    right: 500px;
    text-align: end;
    width: calc(100% - 100px);
    max-width: 1100px;
    margin: 0 auto;
    left: 0;
    z-index: 10;
}

.banner-title {
    font-family: 'Prata', serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(20px, 5vw, 60px);
    line-height: 125%;
    leading-trim: both;
    text-edge: cap;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: end;
    z-index: 5;
}

.banner-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 20px;
    margin-right: 200px;
    color: #fff;
}

.banner-description {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.06em;
    max-width: 315px;
    color: #fff;
    margin-left: auto;
    margin-right: 36px;
    margin-top: 558px;
    text-align: end;
}

.text-content {
    max-width: 1049px;
    text-align: end;
}
/* 1) Размер шрифта и сетка: ширина по самой длинной строке — все линии одной длины */
.banner-title-grid {
  font-size: clamp(22px, 6vw, 60px);
  width: max-content;
  max-width: clamp(12em, 55vw, 18em);
  margin-left: auto;
  justify-items: end;
  display: grid;
  grid-template-rows: repeat(3, auto);
  gap: 0;
}

/* Группа: линия — заголовок — линия; группа на всю ширину сетки */
.banner-title-group {
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: end;
  align-items: center;
  gap: 0;
  width: 100%;
  min-width: 0;
}

/* 2) Заголовок наследует font-size контейнера */
.banner-title {
  font-size: inherit;
  width: 100%;
  white-space: nowrap;
}

/* 3) Линия равна ширине контейнера/группы */
.title-line {
  width: 100%;
  height: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}


/* Мобильная версия: все линии одной длины, выравнивание по правому краю */
@media (max-width: 767.98px) {
  .banner-title-grid {
    width: max-content;
    max-width: min(520px, 100%);
    margin-left: auto;
    margin-right: 0;
    display: grid;
    grid-template-rows: repeat(3, auto);
    gap: 0;
    justify-items: end;
  }

  .banner-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    min-width: 0;
  }

  .banner-title-group .title-line {
    width: 100%;
    flex-shrink: 0;
  }

  .banner-title {
    margin: 0;
    white-space: nowrap;
    text-align: right;
  }
}



/* .title-line {
    width: clamp(220px, 55vw, 900px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    height: 1px;
} */

@keyframes rotateDecor {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/*==============================================================
# 10. Footer / Inner pages
==============================================================*/
.footer_copyright,
.footer_contacts {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;
    color: #FFFFFF;
}

.social-name {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;
    color: #FFFFFF;
}

.footer_list {
    gap: 10px;
}

.inner-page-text {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 40px;
    text-align: justify;
    letter-spacing: -0.06em;
    color: #483F3E;
}

.inner-page-text-docs {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 40px;
    text-align: justify;
    letter-spacing: -0.06em;
    color: #483F3E;
}

hr {
    background-color: #483F3E;
    opacity: 50%;
    height: 1px;
}

.about_bottom_text {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.06em;
    color: #483F3E;
}

.inner-page-text {
    margin-left: 0;
    padding-left: 0;
}

.inner-page-text ul {
    margin-left: 0;
    padding-left: 10px;
    list-style-position: inside;
    font-weight: bold;
}

.inner-page-text h5 {
    font-weight: bold;
}


/*==============================================================
# Responsive / Media queries (как в исходнике, сгруппированы)
==============================================================*/

/* --- Custom breakpoints for jumbo/card container --- */
@media all and (max-width: 1800px) {
    .card-project-container {
        margin-right: 50px;
    }
}

@media all and (max-width: 1500px) {
    .card-project-container {
        margin-right: 120px;
    }
}

@media all and (max-width: 1200px) {
    .search__input {
        margin-top: 50px;
    }

    .jumbo-content-text {
        margin-left: -40px;
        font-weight: 700;
        font-size: 40px;
        line-height: 1.5;
    }

    .jumbo-content-subtext {
        margin-left: 70px;
        max-width: 100%;
    }

    .card-project-container {
        margin-right: 200px;
    }
}

@media all and (max-width: 1000px) {
    .main-page-swiper {
        height: 600px;
    }

    .jumbo-content-subtext {
        margin: 40px 0 60px 0;
        font-size: 18px;
        line-height: 1.5;
        max-width: 100%;
    }

    .jumbo-content-text {
        margin-left: -40px;
        font-weight: 700;
        font-size: 30px;
        line-height: 1.5;
    }
}

/* NOTE: (max-width: 850px) повторяется два раза в исходнике — оставлено */
@media all and (max-width: 850px) {
    .main-page-swiper {
        height: auto !important;
    }

    .jumbo-content-subtext {
        margin: 20px 20px 30px 20px;
        font-size: 18px;
        line-height: 2;
        max-width: 100%;
    }

    .jumbo-content-text {
        margin: 30px 20px 0px 20px;
        font-weight: 700;
        font-size: 30px;
        line-height: 1.5;
    }

    .card-project-container {
        display: none;
    }
}

@media all and (max-width: 850px) {
    .main-page-swiper {
        height: auto !important;
    }

    .jumbo-content-subtext {
        margin: 20px 20px 30px 20px;
        font-size: 16px;
        line-height: 2;
        max-width: 100%;
    }

    .jumbo-content-text {
        margin: 30px 20px 0px 20px;
        font-weight: 700;
        font-size: 20px;
        line-height: 1.5;
    }
}

/* WP admin bar + title on small screens */
@media screen and (max-width: 782px) {
    .wpadminbar {
        top: 46px !important;
        min-width: 240px;
    }
}

/* Large screen spacing */
@media screen and (min-width: 1400px) {
    .site-title {
        margin-right: 150px;
    }
}

/* NOTE: min-width: 575px содержит margin-top: none; (оставлено) */
@media screen and (min-width: 575px) {
    .search__input {
        margin-top: none;
        margin-bottom: none;
        width: 100%;
    }
}

@media screen and (min-width: 991px) {
    .site-title {
    }
}

/* Swiper & lang list responsive */
@media all and (max-width: 720px) {
    .lang_list_item {
        flex: 0 0 calc(33.33% - 20px);
        margin: 10px;
    }

    .swiper-item-body {
        position: absolute;
        top: 0;
        left: 0;
        width: calc(100% - 80px);
        height: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 40px;
        color: #ffffff;
    }
}

@media all and (max-width: 520px) {
    .lang_list_item {
        flex: 0 0 calc(50% - 20px);
        margin: 10px;
    }

    .container_body_content {
        max-width: 700px;
        margin: 0 auto;
        display: grid;
        width: 100%;
        grid-gap: 30px;
        padding: 30px 0px;
        grid-template:
            "first"
            "second"
            "third"
            "four";
    }

    .container_body_content > a {
        height: 300px !important;
    }
}

@media all and (max-width: 850px) {
    a.card-second {
        font-size: 14px;
    }
}

@media all and (max-width: 575px) {
    a.card-second {
        font-size: 18px;
    }
}

/* Banner responsive */
@media (max-width: 1199.98px) {
    .right-section::before {
        width: 600px;
        height: 600px;
        top: -120px;
        left: -250px;
    }

    .right-section::after {
        width: 480px;
        height: 480px;
        right: -180px;
        bottom: -120px;
    }

    .banner-title {
        font-size: 48px;
    }
}

@media (max-width: 991.98px) {
    .language-museum-banner {
        height: 700px;
        padding: 40px;
    }

    .right-section {
        display: none;
    }

    .banner-title-block {
        top: 100px;
        right: 300px;
    }

    .banner-title {
        font-size: 40px;
    }

    .banner-description {
        padding-bottom: 150px;
    }
}

@media (max-width: 767.98px) {
    .language-museum-banner {
        flex-direction: column;
        min-height: 70vh;
        height: auto;
        padding: 24px 16px 40px;
        position: relative;
        background: linear-gradient(180deg, rgba(189, 125, 22, 0) 0%, rgba(189, 125, 22, 0.2) 100%),
        radial-gradient(104.22% 59.45% at 55.6% 40.55%, #796958 0%, #4A413B 74.71%, #3F3732 100%);

    }

    .right-section {
        display: none;
    }

    .right-section::before,
    .right-section::after {
        animation: none;
    }

    /* Карта на всю высоту баннера */
    .language-museum-banner .left-section {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        background-image: url('/wp-content/uploads/2025/12/map.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        padding-bottom: 24px;
    }

    .language-museum-banner .left-section .banner-description {
        position: relative;
        z-index: 1;
    }

    .language-museum-banner .banner-title-block {
        position: relative;
        z-index: 1;
    }

    .banner-title-block {
        position: static;
        text-align: right;
        margin-bottom: 24px;
        width: 100%;
    }

    .banner-title {
        font-size: 26px;
        text-align: right;
        margin: 5px;
    }

    .banner-subtitle {
        text-align: right;
        font-size: 1.2rem;
        margin-right: 0;
    }

    .banner-description {
        margin-top: 24px;
        text-align: right;
        max-width: 90%;
        font-size: 16px;
        line-height: 1.4;
        margin-left: auto;
        margin-right: auto;
		padding-bottom: 60px;
    }

    .title-line {
        display: inline-block;
    }
}


@media (max-width: 767.98px) {
    .col-lg-3.col-md-4.col-sm-6 .position-relative,
    .col-sm-6:nth-child(odd) .position-relative,
    .col-sm-6:nth-child(even) .position-relative,
    .col-sm-6:nth-last-child(-n+2):nth-child(odd) .position-relative,
    .col-sm-6:nth-last-child(-n+2):nth-child(even) .position-relative,
    .col-sm-6:last-child .position-relative,
    .col-lg-3.col-md-4.col-sm-6:first-child .position-relative {
        border-radius: 0 !important;
    }

    .main-page-section-title {
        font-weight: 600 !important;
        font-size: 20px;
        line-height: 24px;
        text-align: center;
        letter-spacing: -0.06em;
        color: #483F3E;
    }
}


.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    color: #fff;
    background: #4A413B;

}


.footer_list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap; /* десктоп: строго в одну линию */
}

.footer_list_item {
    margin: 0 !important; /* убираем mb-4 */
    padding: 0;
}

.footer_list_item a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_list_item img {
    width: 90px !important;
    object-fit: contain;
}

/* Мобильная версия: перенос 3 + 2 */
@media (max-width: 575.98px) {
    .footer_list {
        flex-wrap: wrap;
        gap: 20px 15px;
    }

    .footer_list_item {
        flex: 0 0 calc((100% - 2 * 40px) / 3);
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .site-footer .row.justify-content-center > .col-auto {
        flex: 0 0 50%;
        max-width: 50%;
        display: flex;
        justify-content: center;
        margin-bottom: 16px;
    }

    .site-footer .row.justify-content-center > .col-auto .d-flex {
        justify-content: center;
        width: 100%;
    }
}

.law-card-title a {
    color: #483F3E !important;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 21px;
    letter-spacing: -0.06em;
}

.inner-page-text-docs {
    position: relative;
    padding-left: 30px;
}

.inner-page-text-docs::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #483F3E;
    opacity: 50%;
    border-radius: 2px;
}

/* Сброс скруглений по умолчанию */
.col-lg-3 .position-relative {
    border-radius: 0;
}

/* Левая крайняя карточка */
.col-lg-3:first-child .position-relative {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

/* Правая крайняя карточка */
.col-lg-3:last-child .position-relative {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .col-md-6 .position-relative {
        border-radius: 0;
    }

    /* Верхний левый угол (первая карточка) */
    .col-md-6:nth-child(1) .position-relative {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 0px;
    }

    /* Верхний правый угол (вторая карточка) */
    .col-md-6:nth-child(2) .position-relative {
        border-top-right-radius: 20px;
    }

    /* Нижний левый угол (третья карточка) */
    .col-md-6:nth-child(3) .position-relative {
        border-bottom-left-radius: 20px;
    }

    /* Нижний правый угол (четвертая карточка) */
    .col-md-6:nth-child(4) .position-relative {
        border-bottom-right-radius: 20px;
        border-top-right-radius: 0;
    }
}

/* Контейнер карточки */
.news-card {
    overflow: hidden; /* важно для скруглений */
}

/* Градиент + блюр поверх изображения */
.news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.3) 100%
    ),
    rgba(74, 65, 59, 0.29);
    pointer-events: none;
}

.news-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.news-card .main-card-title,
.news-card .position-absolute.bottom-0 {
    position: relative;
    z-index: 2;
}

.card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}

.card-icon {
    z-index: 2;
}

.project-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.06em;

    color: #483F3E;
    margin-bottom: 40px;
}

/* ===== Language tabs (горизонтальное меню + вкладки) ===== */

.language-tabs {
    margin-top: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.language-tabs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS */
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* IE/старый Edge */
	
}

.language-tabs__item {
    margin: 0;
    padding: 0;
}


.language-tabs__list::-webkit-scrollbar{
  display: none;                    /* Chrome/Safari/Opera */
}

/* Стили для ссылки-вкладки - исправленная версия */
.language-tabs__link {
    display: inline-block;
    position: relative;
    padding: 25px;
    background: none;
    border: 0;
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none !important;
    text-align: center;
    transition: color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    white-space: nowrap;
    z-index: 5;
    vertical-align: middle; /* Добавляем вертикальное выравнивание */
    margin: 0; /* Убираем возможные отступы */
}

.language-tabs__link:hover {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Делаем контейнеры гибкими для лучшего выравнивания */
.language-tabs__item {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Активное состояние (хотя для ссылки оно не нужно, но на всякий случай) */
.language-tabs__link.is-active {
    color: #fff !important;
}

.language-tabs__link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-bottom: 5px solid #FFFFFF;
}



.language-tabs__btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 25px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;

    color: #FFFFFF;

    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    z-index: 5;
}

.language-tabs__btn:hover {
    color: rgba(255, 255, 255, 0.95);
}

.language-tabs__btn.is-active {
    color: #fff;
}

.language-tabs__btn.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 60px;
    /*background: rgba(255,255,255,0.9);*/
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-bottom: 5px solid #FFFFFF;
}


.language-tab-pane {
    display: none;
}

.language-tab-pane.is-active {
    display: block;
}

.language-tab-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 991.98px) {
    .language-tab-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .language-tab-grid {
        grid-template-columns: 1fr;
    }
}

.language-tab-empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Montserrat', sans-serif;
}

/* ===== Facts cards (Сведения) ===== */

.fact-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/* Верхняя плашка */
.fact-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 25px;
    text-decoration: none;

    background: #7B6F63; /* под ваш макет */
    color: #fff;
}

.fact-card__title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.06em;

    color: #FFFFFF;
}

.fact-card__body {
    padding: 25px;

    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 21px;
    letter-spacing: -0.06em;
    color: #483F3E;
}

.fact-card__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
}

/* Карточки персоналий: фото на весь фон, тёмный оверлей, имя и отрывок, стрелка справа */
.personality-card {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 440px;
}
.personality-card__link {
    display: block;
    position: relative;
    height: 100%;
    min-height: 440px;
    text-decoration: none;
    color: #fff;
}
.personality-card__link:hover {
    color: #fff;
}
.personality-card__bg {
    position: absolute;
    inset: 0;
    background-color: #5a5a5a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.personality-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 100%);
}
.personality-card__content {
    position: absolute;
    left: 0;
    right: 50px;
    bottom: 0;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.personality-card__title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
}
.personality-card__excerpt {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
.personality-card__arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.personality-card__arrow svg {
    width: 12px;
    height: 22px;
    display: block;
}

/* Фильтр персоналий: алфавит + поиск */
.personalities-section {
    margin-bottom: 2rem;
}
.personalities-filter {
    background: #E8E1DB;
    padding: 20px 0px 20px 0px;
    border-radius: 12px;
    margin-bottom: 28px;
}
.personalities-alphabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 4px 8px;
    margin-bottom: 20px;
}
.personalities-alphabet__letter {
    background: none;
    border: none;
    padding: 4px 2px 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    color: #8a8580;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}
.personalities-alphabet__letter:hover {
    color: #5a5550;
}
.personalities-alphabet__letter.is-active {
    color: #3E726F;
}
.personalities-alphabet__letter.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #3E726F;
}
.personalities-search-wrap {
    position: relative;
    width: 100%;
}
.personalities-search-input {
    width: 100%;
    padding: 14px 48px 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    border: none;
    border-radius: 50px!important;
    background: #fff;
    color: #333;
    outline: none;
    text-align: center;
}
.personalities-search-input::placeholder {
    color: #8a8580;
    text-align: center;
}
.personalities-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #3E726F;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.personalities-search-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Если карточки стоят в сетке */
.language-tab-grid {
    gap: 16px; /* можно оставить как есть */
}


.articles-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/* Верхняя плашка */
.articles-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 25px;
    text-decoration: none;
    color: #fff;
}

.articles-card__title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.06em;

    color: #483F3E;
}

/* Тело карточки */
.articles-card__body {
    padding-right: 25px;
    padding-bottom: 25px;
    padding-left: 25px;

    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 21px;
    letter-spacing: -0.06em;
    margin-bottom: 20px;

    color: #483F3E;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

video {
    border-radius: 10px;
}

.video-card__placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
}

.video-card__play {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);

    border-radius: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}


.video-open:hover .video-card__name {
    text-decoration: underline;
}

.video-card__placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 10px;
}


.video-open:hover .video-card__play {
    transform: translate(-50%, -50%) scale(1.05);
}

.video-card__placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(56, 56, 56, 0) 0%, rgba(56, 56, 56, 0.8) 77.97%);
    border-radius: 10px;
    z-index: 1;
}

/* Если кнопка должна быть поверх градиента */
.video-card__play {
    position: absolute;
    z-index: 2; /* выше градиента */
}

.video-card__title {
    position: relative;
    z-index: 5;
    padding: 15px;
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.06em;

    color: #FFFFFF;

}

.category-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 10px;

    background: rgba(224, 209, 193, 0.6);
    border-radius: 10px;
    border: none;
}

.custom-inner-navbar {
    top: 0;
    z-index: 1100;
}

.fullwidth-inner-header {
    position: relative;
    width: 100%;
    min-height: 270px;
	 height: auto;
    background: radial-gradient(68.36% 328.66% at 20.23% 50.46%, rgba(233, 195, 158, 0.4) 0%, rgba(233, 195, 158, 0) 100%), linear-gradient(0deg, #6D6359, #6D6359), #FFFFFF;
    background-blend-mode: overlay, normal, normal, normal;
    background-size: cover;
    background-position: center;
    display: flex;
    margin-top: -120px;
    z-index: 1;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 30px;
    overflow: hidden;

}

#header-tabs {
 padding-bottom: 0;
}


.fullwidth-inner-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: -135px;
    width: 690px;
    height: 690px;
    background-image: url('/wp-content/uploads/2025/12/uzor-2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
    opacity: 0.2;
    animation: rotateDecor 60s linear infinite;
}

.fullwidth-inner-header-taxonomy {
    position: relative;
    width: 100%;
    height: 300px;
    background: radial-gradient(68.36% 328.66% at 20.23% 50.46%, rgba(233, 195, 158, 0.4) 0%, rgba(233, 195, 158, 0) 100%), linear-gradient(0deg, #6D6359, #6D6359), #FFFFFF;
    background-blend-mode: overlay, normal, normal, normal;
    background-size: cover;
    background-position: center;
    display: flex;
    margin-top: -150px;
    z-index: 1;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.fullwidth-inner-header-taxonomy::after {
    content: '';
    position: absolute;
    right: 0;
    top: -135px;
    width: 690px;
    height: 690px;
    background-image: url('http://localhost:8888/yakutia-lang2/wp-content/uploads/2025/12/shengber-oyu-ornament-of-kazkah_634064-43-2.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
    opacity: 0.2;
    animation: rotateDecor 60s linear infinite;
}

.inner-header-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(30px, 4vw, 40px);
    line-height: clamp(28px, 5vw, 49px);
    letter-spacing: -0.06em;
    color: #FFFFFF;
    position: relative;
    z-index: 3; /* Текст поверх узора */
}

.inner-header-title-dark {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 49px;
    letter-spacing: -0.06em;
    color: #483F3E;
    position: relative;
    z-index: 3;
}

.inner-header-wrapper{
    margin-bottom: 10px;
}

.nav-tabs {
    margin-left: 0;
}

/* Контейнер для подтабов */
.media-subtabs-wrapper {
    margin-top: 20px;
}

/* Навигация подтабов */
.media-subtabs-nav {
    margin-bottom: 30px;
}

.media-subtabs-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.media-subtabs-item {
    margin: 0;
}

/* Кнопки подтабов */
.media-subtabs-btn {
    position: relative;
    border: none;
    padding: 25px;
    color: #483F3E;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.3s ease;
    outline: none;

    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.media-subtabs-btn__text {
    display: block;
    position: relative;
    z-index: 2;
}

/* Подчеркивание для активного состояния */
.media-subtabs-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: #483F3E;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.inner-header-title-layer {
    padding-top: 180px;
    flex-shrink: 0; /* Не сжимать заголовок */
}

.inner-header-tabs-layer {
    margin-top: auto; /* Прижать навигацию к низу, если нужно */
    flex-shrink: 0; /* Не сжимать навигацию */
}

/* Ховер состояние */
.media-subtabs-btn:hover {
    color: #483F3E;
}

.media-subtabs-btn:hover::after {
    opacity: 0.5;
}

/* Активное состояние */
.media-subtabs-btn.is-active {
    color: #483F3E;
}

.media-subtabs-btn.is-active::after {
    opacity: 1;
}

/* Контент подтабов */
.media-subtabs-content {
    position: relative;
}

.media-pane {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Боковое меню видеоуроков (разделы) ===== */
.sidebar-menu .subcategories-menu {
    position: relative;
    padding-left: 20px;
}

/* Вертикальная линия слева от пунктов меню */
.sidebar-menu .subcategories-menu::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(72, 63, 62, 0.5);
    border: none;
    flex: none;
    align-self: stretch;
}

.sidebar-menu .subcategories-menu .nav {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.sidebar-menu .subcategories-menu__link {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px;
    gap: 15px;
    min-height: 54px;
    width: 100%;
    max-width: 246px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Выбранный пункт — коричневый квадрат */
.sidebar-menu .subcategories-menu__link.video-lessons-ajax-link.active {
    background: #968370;
    color: #fff;
}

.sidebar-menu .subcategories-menu__link.video-lessons-ajax-link.active .badge {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff;
}

.sidebar-menu .subcategories-menu__link.video-lessons-ajax-link:hover:not(.active) {
    background: rgba(72, 63, 62, 0.08);
}

/* Адаптивность */
@media (max-width: 768px) {
    .media-subtabs-list {
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
		
    }

    .media-subtabs-item {
        flex-shrink: 0;
    }

    .media-subtabs-btn {
        font-size: 16px;
        padding: 10px 0;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
.fullwidth-inner-header {
	height: auto; /* Автоматическая высота на мобильных */
        min-height: 300px;
	background: linear-gradient(180deg, rgba(189, 125, 22, 0) 0%, rgba(189, 125, 22, 0.2) 100%);


}
	.fullwidth-inner-header::after {
    display: none;
   
}
	/* Изображение языка по центру, выше заголовка */
	.inner-header-title-layer {
		padding-top: 24px;
		padding-bottom: 16px;
	}
	.inner-header-wrapper {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
        padding-top: 160px;
	}
	.inner-header-wrapper .language-image-wrapper {
		margin: 0 0 16px 0;
		order: 1;
	}
	.inner-header-wrapper .language-image-wrapper .language-image {
		display: block;
		margin-left: auto;
		margin-right: auto;
		max-width: 80px;
	}
	.inner-header-wrapper .inner-header-title {
		order: 2;
		text-align: center;
	}
}

@media (max-width: 576px) {
    .media-subtabs-btn {
        font-size: 14px;
        padding: 8px 0;
    }
}

/* Photos */
.media-photo-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.media-photo-card__link {
    display: block;
    text-decoration: none;
    color: #483F3E;
}

.media-photo-card__thumb {
    background: #eee;
}

.media-photo-card__placeholder {
    width: 100%;
    height: 100%;
    background: #ddd;
    color: #483F3E;

}

.media-photo-card__title {
    margin: 0;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

/* Videos */
.media-video-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.media-video-card__thumb {
    position: relative;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.55) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.media-video-card__play {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);

    border-radius: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.media-video-card__title {
    margin: 0;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    color: #483F3E;
}

.media-video-card__note {
    padding: 0 14px 14px;
    color: #666;
    font-size: 13px;
}

.video-card__ext{
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.06em;
    color: #FFFFFF !important;
    z-index: 30;

}

/* Audio */
.media-audio-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.media-audio-card__title {
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

.media-audio-card__title{
    color: #fff;
    text-decoration: none;
}

.media-audio-card__note {
    color: #666;
    font-size: 13px;
}

.media-audio-card__title {
    flex: 1 1 auto;   /* заголовок занимает всё доступное место */
    font-size: 16px;
    line-height: 1.3;
}

.media-audio-card__icon {
    flex: 0 0 auto;   /* иконки не растягиваются */
    display: flex;
    align-items: center;
}

.media-audio-card__icon svg {
    display: block;
}

/* Добавьте в ваш CSS */
.media-audio-card > div:first-child {
    display: flex;
    min-height: auto; /* уберем min-height если он есть */
}

.media-audio-card__title {
    flex: 1 1 auto;
    font-size: 16px;
    line-height: 1.3;
    margin: 0; /* Убедитесь, что нет лишних отступов */
}

.audio-player{
    padding: 25px;
}

.media-audio-card__link {
    display: flex;
    flex-direction: column;
    gap: 12px;

    background-color: #897868;
    padding: 25px;
    text-decoration: none;
    color: #fff;
}

.media-audio-card__date{
    text-decoration: none;

    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 21px;
    letter-spacing: -0.06em;

    color: rgba(255, 255, 255, 0.5);

}

/* верхняя строка */
.media-audio-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.media-audio-card__title {
    flex: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

/* нижняя строка */
.media-audio-card__description {
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fact-card__image {
    width: 100%;
}

.fact-card__img {
    width: 100%;
    height: auto;
    display: block;
}
.law-card {
    border: none !important;
}

/* Pagination — базовый стиль */
.pagination .page-link {
    background-color: transparent;
    color: #483F3E;
    border-radius: 10px;
    padding: 8px 14px;
    min-width: 40px;
    text-align: center;

    transition: all 0.2s ease;
}

/* Hover */
.pagination .page-link:hover {
    background-color: rgba(72, 63, 62, 0.08);
    color: #483F3E;
    border-color: #483F3E;
}

/* Active page */
.pagination .page-item.active .page-link {
    background-color: transparent;
    color: #483F3E;
    border-color: #483F3E;
    font-weight: 600;
}

/* Disabled (prev/next, если нет страницы) */
.pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: rgba(72, 63, 62, 0.4);
    border-color: rgba(72, 63, 62, 0.2);
    pointer-events: none;
}

/* Убираем стандартные скругления Bootstrap */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 10px;
}

.pagination .page-link:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .fullwidth-inner-header-taxonomy::after {
        content: none !important;
        background: none !important;
        background-image: none !important;
        display: none !important;
        opacity: 0 !important;
        animation: none !important;
    }
}
.search-line-tabs {
    padding: 15px 25px;
    gap: 15px;

    width: 100%;
    max-width: 1280px;
    height: 54px;

    background: #FFFFFF;
    border-radius: 60px;

    margin: 20px auto 30px;


	}

.search-line-input {
    border: none;
    outline: none;
    background: transparent;
    line-height: 1.2;
}

.search-line-input::placeholder {
    opacity: 0.6;
}

.search-line-input-tabs {
		text-align: center;
	

	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 500;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: -0.06em;

	color: rgba(72, 63, 62, 0.3);
    border: none;
    outline: none;
    background: transparent;
    line-height: 1.2;
}

.search-line-input::placeholder {
    opacity: 0.6;
}

/* Чтобы подсказки не распирали форму и красиво обрезались */
.search-line-hints {
    white-space: nowrap;
}

.search-line-icon--media svg {
    width: 18px;
    height: 18px;
}

.lang-cols-divider{
    width: 1px;
    height: 100%;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.35);
}

.lang_list_item a span, .lang_2_list_item a span{
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 24px;
	text-align: center;
	letter-spacing: -0.06em;
    display: block;
    margin-top: 10px;
	color: #FFFFFF;
}

.lang-rows-divider{
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin: 20px 0;
}
.pdf-link a{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 21px;
    text-align: justify;
    letter-spacing: -0.06em;
    text-decoration: underline;
    color: #4A7FCE !important;
}

.pdf-link:hover {
    color: #3a6ab5; /* Цвет при наведении (опционально) */
    text-decoration: underline;
}

/* Аккордеон для нормативных документов */
.accordion-section {
    position: relative;
}

/* Используем существующую вертикальную линию из .inner-page-text-docs::before */
/* Эта линия уже задана в начале файла, мы просто позиционируем стрелку относительно нее */

/* Контейнер для стрелки */
.triangle-wrapper {
    width: 22px;
    height: 14px;
    position: absolute;
    left: -22px; /* Смещаем влево, чтобы стрелка была над линией */
    top: 0;
    z-index: 2;
}

/* Вертикальное выравнивание стрелки относительно линии */
.triangle-wrapper::after {
    content: '';
    position: absolute;
    left: 10px; /* Центр стрелки */
    top: 14px; /* Ниже стрелки */
    bottom: 0;
    width: 2px;
    background: #483F3E;
    opacity: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Сама стрелка */
.accordion-arrow {
    transition: transform 0.3s ease;
    transform-origin: center;
    position: relative;
    z-index: 3; /* Стрелка над линией */
}

/* Повернутая стрелка (аккордеон открыт) */
.accordion-arrow.rotated {
    transform: rotate(180deg);
}

/* Заголовок аккордеона */
.section-header {
    position: relative;
    cursor: pointer;
    user-select: none;
    padding-left: 15px; /* Меньший отступ, так как стрелка слева от текста */
    display: flex;
    align-items: center;
}

.section-header h5 {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.06em;
    color: #483F3E;
    margin: 0;
}

/* Контент аккордеона */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    position: relative;
    z-index: 1;
    margin-left: 15px; /* Выравниваем с текстом заголовка */
}


/* Убираем стандартные стили для стрелки */
.section-header .accordion-arrow path {
    transition: fill 0.3s ease;
}

.section-header:hover .accordion-arrow path {
    fill: #897868;
}

/* Адаптивность */
@media (max-width: 768px) {

    
    .section-header {
        padding-left: 12px;
    }
    
    .accordion-content {
        margin-left: 12px;
    }
}

/* Для мобильных устройств (до 768px) */
@media (max-width: 767.98px) {
    body {
        background-color: #4A413B !important;
    }
    
    .body-section {
        background-color: #E8E1DB !important;
        border-radius: 15px 15px 0 0;
        overflow: hidden;
        padding-top: 20px; /* Добавим немного отступа сверху для лучшего вида */
        padding-bottom: 20px; /* И снизу */
    }
    
	 .archive-content {
        background-color: #E8E1DB !important;
        border-radius: 15px 15px 0 0;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 991.98px) {

.custom-offcanvas-bg {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 39.37%), linear-gradient(0deg, rgba(101, 101, 101, 0.5), rgba(101, 101, 101, 0.5)), rgba(0, 0, 0, 0.4);
backdrop-filter: blur(5px);
    
}
	
	.menu-item a {
		color: #fff;
	}

/* Центрирование содержимого offcanvas */
#offcanvasNavbar2 .offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Центрирование меню */
#offcanvasNavbar2 .navbar-nav {
    width: 100%;
    text-align: center;
}

/* Центрирование пунктов меню */
#offcanvasNavbar2 .nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
#offcanvasNavbar2 .nav-link {
    display: flex;
    align-items: center;
}

/* Кнопка поиска после пунктов меню */
.navbar-search-btn {
    text-decoration: none;
    flex-shrink: 0;
}
.navbar-search-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}
.navbar-dark .navbar-search-btn svg path,
#offcanvasNavbar2 .navbar-search-btn svg path {
    fill: rgba(255, 255, 255, 0.9);
}
.navbar-light .navbar-search-btn:hover svg path {
    fill: #3E726F;
}
#offcanvasNavbar2 .navbar-search-btn {
    margin-top: 1rem;
}

.search-block svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.search-block__label {
    color: #FFFFFF;
    text-decoration: none;
}
#offcanvasNavbar2 .search-block svg path {
    fill: rgba(255, 255, 255, 0.9);
}

/* Центрирование кнопки */
#offcanvasNavbar2 form.d-flex {
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

/* Центрирование dropdown меню */
#offcanvasNavbar2 .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

}

/* Блок поиска в шапке — отступ, шрифт и белый текст (глобально для всех экранов) */
.search-block {
    margin-right: 20px !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Кнопка «Профиль» в шапке */
.btn-profile {
    padding: 10px 15px !important;
    gap: 10px;
    border: 1px solid #FFFFFF !important;
    border-radius: 100px !important;
	 background: transparent !important;
}

.btn-login {
    padding: 10px 15px !important;
    gap: 10px;
    border-radius: 100px !important;
	background: #C49657 !important;
	border: none !important;
}


.search-block__label {
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Для всех устройств - отступ 10px */
.navbar > .container .site-title {
    margin-left: 10px;
}

/* Для мобильных устройств - убедитесь, что отступ сохраняется */
@media (max-width: 991.98px) {
    .navbar > .container .site-title {
        margin-left: 10px !important;
     
    }

        .navbar > .container .navbar-brand {
        flex-shrink: 0; /* Не даем логотипу сжиматься */
    }
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.show {
    opacity: 1;
}
/* Контейнер для оверлея */
.search-expandable-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    z-index: 1050;
    display: none;
}

/* Показываем контейнер */
.search-expandable-container.show {
    display: block;
}

/* Обертка для контента */
.search-content-wrapper {
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Сам контент поиска */
.search-content {
    max-width: 1200px; /* Ограничиваем ширину содержимого */
    margin: 0 auto; /* Центрируем */
    width: 100%;
    background: transparent; /* Убираем фон, так как он уже у обертки */
    border: none;
    box-shadow: none;
}

/* Анимация появления сверху */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-expandable-container.show .search-content-wrapper {
    animation: slideDown 0.3s ease forwards;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .search-content {
        padding: 15px;
        flex-direction: column;
    }
    
    .search-content .d-flex {
        flex-direction: column;
    }
    
    .search-input-group {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .search-buttons {
        width: 100%;
        min-width: auto;
    }
    
    .search-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Для очень широких экранов */
@media (min-width: 1400px) {
    .search-content {
        max-width: 1400px;
    }
}

.search-filter{
	max-width: 273px;
	border-radius: 60px;
	background-color: #fff;
}

/* Панель поиска сверху (по клику на «Поиск» в шапке) */
.search-top-bar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-top-bar-overlay.show {
    opacity: 1;
    visibility: visible;
}
.search-top-bar-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
    background: transparent;
    display: none;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.search-top-bar-panel.show {
    opacity: 1;
    transform: translateY(0);
}
.search-top-bar-inner {
    position: relative;
    padding: 0px 15px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Только строка поиска с белым фоном на всю ширину, блок фильтров — прозрачный */
.search-top-bar-row-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #fff;
    padding: 20px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.search-top-bar-close {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0.6;
}
.search-top-bar-close:hover {
    opacity: 1;
}
.search-top-bar-row {
    gap: 12px;
}
.search-top-bar-icon {
    flex-shrink: 0;
}
.search-top-bar-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}
.search-top-bar-input {
    min-width: 0;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
}
.search-top-bar-input::placeholder {
    color: #999;
}
.search-top-bar-input:focus {
    border-color: #0D9488;
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}
.search-top-bar-submit {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background: #0D9488;
    border: none;
    border-radius: 30px;
    white-space: nowrap;
}
.search-top-bar-submit:hover {
    background: #0f766e;
    color: #fff;
}
.search-top-bar-submit-icon {
    display: inline-flex;
}
.search-top-bar-submit-icon svg {
    width: 18px;
    height: 18px;
}
/* Фильтры в стиле белых «таблеток» (десктоп и мобильная) */
.search-top-bar-filters {
    padding: 20px 0 4px;
    margin: 0;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.search-top-bar-filter {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    background: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.search-top-bar-filter-icon {
    flex-shrink: 0;
    color: #38ACDE;
}
.search-top-bar-filter-icon svg {
    stroke: #38ACDE;
}
.search-top-bar-filter-label {
    white-space: nowrap;
    color: #888;
}
.search-top-bar-select {
    min-width: 100px;
    padding: 0 8px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
}
.search-top-bar-select option {
    background: #fff;
    color: #333;
}
.search-top-bar-filter-chevron {
    flex-shrink: 0;
    color: #38ACDE;
    display: inline-flex;
}
.search-top-bar-filter-chevron svg {
    width: 12px;
    height: 12px;
}
body.search-top-bar-open {
    overflow: hidden;
}

/* Мобильная версия панели поиска (как на макете) */
@media (max-width: 767.98px) {
    .search-top-bar-inner {
        padding: 0;
    }
    .search-top-bar-row-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
    }
    .search-top-bar-row {
        flex-direction: row;
        align-items: center;
        flex: 1;
        min-width: 0;
        gap: 10px;
    }
    .search-top-bar-input {
        flex: 1;
        min-width: 0;
        padding: 12px 14px;
        border-radius: 8px;
    }
    /* Круглая бирюзовая кнопка поиска (только иконка) */
    .search-top-bar-submit {
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    .search-top-bar-submit-icon {
        margin: 0;
    }
    .search-top-bar-submit-icon svg {
        width: 20px;
        height: 20px;
    }
    .search-top-bar-row-wrap .search-top-bar-close.d-lg-none {
        position: static;
        flex-shrink: 0;
        opacity: 0.6;
        padding: 8px;
        margin: 0;
    }
    /* Блок фильтров на мобильной: колонка, полная ширина «таблеток» */
    .search-top-bar-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px 24px;
    }
    .search-top-bar-select {
        flex: 1;
        min-width: 0;
    }
    .search-top-bar-close.d-none.d-lg-block {
        top: 14px;
        right: 16px;
    }
}

.navbar-expand-lg .offcanvas {
	margin-left: 80px !important;
}

@media (max-width: 991.98px) {
    .navbar-expand-lg .offcanvas {
	margin-left: 0 !important;
    }
}

.language-tab-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    height: 100%;
}

.language-tab-card:hover {
    transform: translateY(-5px);
}

.language-tab-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Создаем квадрат */
    overflow: hidden;
}

.language-tab-card__link:hover .language-tab-card__title {
    text-decoration: underline;
}

.language-tab-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #383838; /* Цвет фона если изображение не загрузится */
}

.language-tab-card__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(56, 56, 56, 0.65), rgba(56, 56, 56, 0.65));
    z-index: 1;
}

.language-tab-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    box-sizing: border-box;
}

.language-tab-card__title {
    color: white;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 600;
}

.language-tab-card__excerpt {
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 70px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* Адаптивность */
@media (max-width: 992px) {
    .language-tab-card__content {
        padding: 20px;
    }
	.banner-subtitle {
		margin-right: 0;
	}
}

@media (max-width: 768px) {
    .language-tab-card__title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .language-tab-card__excerpt {
        font-size: 0.85rem;
        max-height: 60px;
        -webkit-line-clamp: 4;
    }
    
    .language-tab-card__content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .language-tab-card__content {
        padding: 12px;
    }
    
    .language-tab-card__title {
        font-size: 0.95rem;
    }
    
    .language-tab-card__excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
    }
}

/* ===== Карточки тестов (все экраны, включая lg) ===== */
.language-tab-pane .language-test-card,
.language-test-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.language-tab-pane .language-test-card:hover,
.language-test-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.language-tab-pane .language-test-card__inner,
.language-test-card__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    gap: 20px;
}

.language-tab-pane .language-test-card__info,
.language-test-card__info {
    flex: 1;
    min-width: 0;
}

.language-tab-pane .language-test-card__title,
.language-test-card__title {
    margin: 0 0 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.06em;
    color: #483F3E;
}

.language-tab-pane .language-test-card__date,
.language-test-card__date {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: rgba(72, 63, 62, 0.5);
}

.language-tab-pane .language-test-card__actions,
.language-test-card__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.language-tab-pane .language-test-card__count,
.language-test-card__count {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #483F3E;
    white-space: nowrap;
}

.language-tab-pane .language-test-card__btn,
.language-test-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: #4F91C2;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.language-tab-pane .language-test-card__btn:hover,
.language-test-card__btn:hover {
    background: #5a93b2;
    color: #FFFFFF;
    text-decoration: none;
}

/* Явно для lg и выше — на случай переопределений в теме */
@media (min-width: 992px) {
    .language-tab-pane .language-test-card,
    .language-test-card {
        background: #FFFFFF;
        border-radius: 10px;
        overflow: hidden;
    }
    .language-tab-pane .language-test-card__inner,
    .language-test-card__inner {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 25px 30px;
        gap: 20px;
    }
}
/* Мобильная версия карточки тестов - ИСПРАВЛЕННАЯ ВЕРСИЯ */
@media (max-width: 576px) {
    .language-test-card {
        border-radius: 18px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        width: 100%;
    }

    .language-test-card:hover {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    }

    .language-test-card__inner {
        display: flex;
        flex-direction: column !important;
        align-items: stretch;
        padding: 20px 16px;
        gap: 16px;
        width: 100%;
    }

    .language-test-card__info {
        width: 100%;
        flex: none;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .language-test-card__title {
        font-size: 20px;
        line-height: 1.3;
        font-weight: 700;
        margin: 0;
        color: #333333;
        word-break: break-word;
    }

    .language-test-card__date {
        font-size: 14px;
        color: #666666;
        display: block;
        margin: 0;
    }

    .language-test-card__actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 8px;
    }

    .language-test-card__count {
        font-size: 14px;
        color: #666666;
        white-space: normal;
        flex: 1;
        padding-right: 8px;
    }

    .language-test-card__btn {
        padding: 10px 24px;
        font-size: 15px;
        font-weight: 600;
        background: #4F91C2;
        border-radius: 30px;
        flex-shrink: 0;
        min-width: 120px;
        text-align: center;
        white-space: nowrap;
    }

    .language-test-card__btn:hover {
        background: #3d7fc4;
    }
}

/* Для очень маленьких экранов - кнопка на всю ширину */
@media (max-width: 375px) {
    .language-test-card__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .language-test-card__count {
        text-align: left;
        padding-right: 0;
    }
    
    .language-test-card__btn {
        width: 100%;
        min-width: unset;
        padding: 12px 24px;
    }
}
	
	/* Шапка модального окна аудиозаписей (как на макете) */
	.audio-modal-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 20px 24px;
		background: #796958;
		border-bottom: none;
		flex-wrap: wrap;
	}
	.audio-modal-header__left {
		display: flex;
		align-items: center;
		gap: 12px;
		min-width: 0;
		flex: 1;
	}
	.audio-modal-header__icon {
		flex-shrink: 0;
		color: #fff;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.audio-modal-header__icon svg {
		width: 24px;
		height: 24px;
		display: block;
	}
	.audio-modal-header__text {
		min-width: 0;
	}
	.audio-modal-header__title {
		margin: 0;
		font-family: 'Montserrat', sans-serif;
		font-weight: 600;
		font-size: 1.25rem;
		line-height: 1.3;
		color: #fff;
	}
	.audio-modal-header__date {
		margin-top: 4px;
		font-size: 0.9rem;
		color: rgba(255, 255, 255, 0.75);
	}
	.audio-modal-header__right {
		display: flex;
		align-items: center;
		gap: 16px;
		flex-shrink: 0;
	}
	.audio-modal-header__btn {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 0;
		background: none;
		border: none;
		font-family: 'Montserrat', sans-serif;
		font-size: 0.95rem;
		color: #fff;
		cursor: pointer;
		transition: opacity 0.2s ease;
	}
	.audio-modal-header__btn:hover {
		opacity: 0.9;
		color: #fff;
	}
	.audio-modal-header__btn svg {
		width: 20px;
		height: 20px;
		flex-shrink: 0;
	}
	.audio-modal-header__btn--collection {
		padding: 10px 16px;
		background: transparent;
		border: 1px solid #fff;
		border-radius: 100px;
	}
	.audio-modal-header__close {
		flex-shrink: 0;
		opacity: 0.9;
	}
	.audio-modal-header__close:hover {
		opacity: 1;
	}
	
	