@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/HelveticaLight.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/HelveticaRegular.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/HelveticaBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    font-family: 'Helvetica';
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: #000000;
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 80px;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
    border: 0;
    outline: none;
    background-color: transparent;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
}

sup {
    color: inherit;
}

/* ----- */
.container {
    max-width: 1420px;
    padding: 0 20px;
    width: 100%;
    margin: 0 auto;
}

.padding {
    padding: 75px 0;
}
.aioseo-breadcrumbs{
    font-size:14px;
}

.title {
    font-weight: 700;
    text-align: left;
    font-size: 32px;
    line-height: 44px;
    margin-bottom:20px;
}

.btn {
    padding: 10px 20px;
    border-radius: 100px;
    transition: 0.5s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;

}

.btn-light {
    background-color: #BCD4EE;
    width: fit-content;
}

.btn-blue {
    background-color: #1B4A9A;
    color: #ffffff;
    width: fit-content;
}

.btn-blue:hover {
    animation: pulse-blue 1.5s infinite;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 74, 154, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(27, 74, 154, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(27, 74, 154, 0);
    }
}


.btn-red {
    background-color: #E42328;
    color: #ffffff;
    width: fit-content;
}

.btn-red:hover {
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 #af2327;
    }

    70% {
        box-shadow: 0 0 0 10px rgba(27, 74, 154, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(27, 74, 154, 0);
    }
}


.white-btn {
    background-color: #ffffff;
    color: #1B4A9A;
    width: fit-content;
}

.white-red-btn {
    background-color: #ffffff;
    color: #E42328;
    width: fit-content;
}

.btn-blue-border {
    width: fit-content;
    border: #1B4A9A 1px solid;
    background-color: transparent;
    color: #1B4A9A;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-blue-border:hover {
    background-color: #1B4A9A;
    color: white;
    border-color: transparent;
}

.blue-border-btn {
    width: fit-content;
    border: #1B4A9A 1px solid;
    background-color: transparent;
    color: #1B4A9A;
    position: relative;
    overflow: hidden;
    transition: color 1s ease;
    z-index: 1;
}

.blue-border-btn:hover {
    background-color: #1B4A9A;
    color: white;
    animation: pulse 1.5s infinite;
    border-color: transparent;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 74, 154, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(27, 74, 154, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(27, 74, 154, 0);
    }
}

/* main-banner */

.main-banner {
    background-color: #F7F9FD;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.main-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
    pointer-events: none;
}
.main-banner > * {
    position: relative;
}

.padding-header {
    padding: 20px 0 0 0;
}

.header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 15px;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:  80px;
    margin: 0 auto;
}

.header-wrapper {
    background-color: #ffffff;
    border-radius: 100px;
    padding: 10px 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    height: 80px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-wrapper.logo {
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-wrapper.nav {
    flex: 1;
    min-width: 0;
    overflow: hidden;

}

.header-wrapper .header-nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.header-wrapper.nav .header-nav-list {
    justify-content: center;
    /* Центрируем меню */
    gap: 5px;
    /* Уменьшаем отступы между пунктами */
}

.header-wrapper.nav .header-nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background-color 0.3s;
    white-space: nowrap;
    /* Не переносить текст */
}

.header-wrapper.nav .header-nav-list li a:hover {
    background-color: #F7F9FD;
}

/* Контакты и кнопки (десктоп) */
.header-wrapper.header-contacts .header-nav-list {
    gap: 15px;
}

.header-wrapper .header-nav-list .bold {
    font-weight: 700;
    font-size: 18px;
}

.header-wrapper .header-nav-list .bold a {
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

/* Кнопка с иконкой */
.icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Мобильная кнопка бургера (скрыта на десктопе) */
.header-wrapper-mob {
    display: none !important;
    /* Скрываем на десктопе */
}

/* Мобильное меню (скрыто по умолчанию) */
.nav-mob-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    overflow-y: auto;
    padding-top: 100px;
    /* Отступ сверху для хедера */
}

.nav-mob-content {
    padding: 20px;
}

.nav-mob {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.nav-mob li {
    margin-bottom: 10px;
}

.nav-mob li a {
    display: block;
    padding: 15px 20px;
    background: #F7F9FD;
    border-radius: 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: background-color 0.3s;
}

.nav-mob li a:hover {
    background: #BCD4EE;
}

/* Контакты в мобильном меню */
.mob-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #F7F9FD;
    border-radius: 20px;
}

.mob-phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 15px;
}

.mob-consult {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}


/* поиск */

.search-wrapper {
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 20px;
    margin-top:150px;
}

.search-wrapper .search {
    background-color: #ffffff;
    border: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 20px 35px;
    border: 1px solid #ddd;
    margin-bottom: 25px;
    width: 100%;
}

.search-wrapper .search::placeholder {
    color: #BEBEBE;
    font-size: 16px;
}

/* Поиск на странице колледжей */
.kol-search-wrapper {
    max-width: 100%;
    margin: 0;
}

.kol-search-wrapper .search {
    margin-bottom: 0;
    padding: 14px 24px;
    font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #ddd;
}

/* фильтры */

.mobile-filters-toggle {
    display: none;
}

.mobile-filters-modal {
    display: none;
}

.selector-wrapper {
    display: flex;
    gap: 10px;
    /* расстояние между полями */
}

.form-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    /* перенос на мобильных */
}

.select-wrapper {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

/* Стрелка для каждого select */
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);

    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4.5L6 8.5L10 4.5' stroke='%23BCD4EE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px;
}

.select-wrapper select {
    background-color: #BCD4EE;
    border: none;
    padding: 15px 40px 15px 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    cursor: pointer;

    width: 100%;
    min-width: 120px;

    border-radius: 0 100px 100px 100px;
    border-top-left-radius: 0;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    box-sizing: border-box;
}

/* Чтобы можно было выбрать изначальный вариант */
.select-wrapper select:required:invalid {
    color: #666;
    /* можно сделать серым для невыбранного состояния */
}

.select-wrapper select option {
    color: #333;
    background-color: white;
}

.select-wrapper select option:first-child {
    color: #999;
    /* серый для placeholder-опции */
}

.select-wrapper select:hover {
    background-color: #A9C4E5;
}

/* toogle */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Исправленный стиль для чекбокса */
.single-checkbox-button {
    display: inline-block;
}

.checkbox-btn {
    display: inline-flex;
    cursor: pointer;
    position: relative;
    min-width: 120px;
}

/* Визуальная часть кнопки - исправлена */
.checkbox-btn-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* текст слева, круг справа */
    padding: 15px 50px 15px 20px;
    /* увеличиваем правый padding для круга */
    background-color: #BCD4EE;
    border: none;
    border-radius: 0 100px 100px 100px;
    border-top-left-radius: 0;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    color: #666;
    width: 100%;
    min-width: 120px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* чтобы круг не выходил за границы */
}

.checkbox-btn-content:hover {
    background-color: #A9C4E5;
}

/* Круг для галочки - ПРАВИЛЬНОЕ позиционирование */
.checkbox-btn-content::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);

    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
    /* ниже галочки */
}

/* Контейнер для галочки (поверх круга) */
.checkmark-container {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    /* выше круга */
    pointer-events: none;
    /* чтобы не мешал кликам */
}

/* Галочка */
.checkmark {
    width: 15px;
    height: 15px;
    opacity: 0;
    color: #BCD4EE;
    /* голубая галочка на белом круге */
    transition: opacity 0.2s ease;
    stroke-width: 2px;
}

/* Текст кнопки */
.checkbox-btn-text {
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}


.checkbox-btn input:checked+.checkbox-btn-content .checkmark {
    opacity: 1;
    color: #BCD4EE;
    /* белая галочка на голубом круге */
}

/* ACTIVE состояние */
.checkbox-btn:active .checkbox-btn-content {
    transform: translateY(1px);
}



/* Простой вариант */
.btn-red-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    background: #E42328;
    border: none;
    border-radius: 0 100px 100px 100px;
    border-top-left-radius: 0;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-red-simple::after {
    content: '×';
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E42328;
    font-size: 16px;
    font-weight: bold;
    margin-left: auto;
}

.btn-red-simple:hover {
    background: #c4292f;
}


/* specialization */

.specialization-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 колонки равной ширины */
    gap: 20px;
    width: 100%;
}

.specialization .card {
    background-color: #BCD4EE;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 40px 35px;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.specialization .card:not(.form-card)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    z-index: 0;
}

.specialization .card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 10px 20px rgba(188, 212, 238, 0.3); */
}

.specialization .card .infographic {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
}

.specialization .card .infographic svg {
    width: 40px;
    height: 40px;
}

.specialization .card .name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    max-width: calc(100% - 40px);
    margin-top: auto;
    z-index: 1;
}

/* Стили для карточки с формой */
.specialization .form-card {
    position: relative;
    background-color: #1B4A9A;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    min-height: auto;
    overflow: hidden;
}


.specialization .form-card .img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}


.specialization .form-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.specialization .form-card .form-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 90%;
    padding-right: 20px;
    align-self: flex-start;
}

.specialization .form-card .form-title {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    margin-bottom: 30px;
}

.specialization .btn-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* лента */

.marquee-section {
    padding: 30px 0;
    background-color: #E42328;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-text {
    position: absolute;
    white-space: nowrap;
    font-size: 20px;
    color: white;
}

/* benefits */

.benefits {
    background-color: #F7F9FD;
    border-radius: 50px;
    margin: 40px 0;
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* 1 часть для текста, 2 части для слайдера */
    gap: 0px 40px;
    width: 100%;
    align-items: start;
}

.benefits .swiper-benefit .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.benefits .swiper-benefit .swiper-slide {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: auto;
    flex-shrink: 0;
    /* width: calc(50% - 10px); */
}

.benefit-info {
    padding: 30px 0 !important;
}

.benefit-info .title {
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
}

.benefit-info .subtitle {
    font-size: 20px;
    line-height: 26px;
}

.benefits .swiper-benefit {
    width: 100%;
    height: 300px;
    padding: 30px 0 !important;
    overflow: hidden !important;
}

/* Стили для кастомных кнопок навигации */
.benefits .custom-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefits .custom-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.benefits .swiper-slide .text {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
}

.benefits .btn-light-wrapper {
    display: flex;
    flex-direction: row;
    gap: 5px;
}


.benefits .card-content {
    position: relative;
    height: 100%;
}

.benefits .default-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefits .default-content,
.benefits .hover-content {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    height: 100%;
}

.benefits .hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefits .swiper-slide:hover .default-content {
    opacity: 0;
    visibility: hidden;
}

.benefits .swiper-slide:hover .hover-content {
    opacity: 1;
    visibility: visible;
}

.benefits .description {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.4;
    color: #666;
}


/* form-wrapper */

.form-wrapper {
    background-color: #BCD4EE;
    border-radius: 20px;
    padding: 65px 100px;
    margin: 75px 0;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;

}

.form-wrapper .main-info {
    /* max-width: 580px; */
}

.form-wrapper .title {
    font-size: 32px;
    line-height: 44px;
    font-weight: 700;
}

.form-wrapper .subtitle {
    font-size: 20px;
    line-height: 26px;
}

.form-wrapper .form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;

    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;

    max-width: 450px;
}

.form-wrapper .form__label input {
    width: 100%;
    background-color: #F5F9FD;
    border: none;
    padding: 15px;
    border-radius: 5px;
}

.form-wrapper .form-container .btn {
    align-self: center;
}

.form-wrapper .politican {
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
}

.form-wrapper .form-container .politican a {
    text-decoration: underline;

}

.form-wrapper .formMessage__error {
    display: none;
    font-size: 30px;
    text-align: center;
    line-height: 29px;
}

/* rating */

.rating-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.rating .card {
    background-color: #F5F9FD;
    border-radius: 20px;
    padding: 40px 35px;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating .card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 10px 20px rgba(188, 212, 238, 0.3); */
}

.rating .card .btn-light {
    padding: 6px 7px 2px 7px;
    
}



.rating .card .name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    max-width: calc(100% - 40px);
    margin-top: auto;
}

/* Стили для карточки с формой */
.rating .form-card {
    position: relative;
    background-color: #E42328;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    min-height: auto;
    overflow: hidden;
}


.rating .form-card .img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}


.rating .form-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.rating .form-card .form-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 90%;
    padding-right: 20px;
    align-self: flex-start;
}

.rating .form-card .form-title {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    margin-bottom: 30px;
}

.rating .btn-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* rewier */

.rewier-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* 1 часть для текста, 2 части для слайдера */
    gap: 0px 40px;
    width: 100%;
    align-items: start;
}

.rewier .swiper_rewier .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.rewier .swiper_rewier .swiper-slide {
    background-color: #F5F9FD;
    border-radius: 20px;
    padding: 30px 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: auto;
    flex-shrink: 0;
    gap: 5px;
    /* width: calc(50% - 10px); */
}

.rewier .swiper-slide .name {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
}

.rewier .swiper-slide .sub_name {
    color: #666;
}

.rewier-info {
    padding: 30px 0 !important;
}

.rewier-info .title {
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
}

.rewier-info .subtitle {
    font-size: 20px;
    line-height: 26px;
}

.rewier .swiper_rewier {
    width: 100%;
    height: 300px;
    padding: 30px 0 !important;
    overflow: hidden !important;
}

/* Стили для кастомных кнопок навигации */
.rewier .custom-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rewier .custom-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #BCD4EE;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.rewier .swiper-slide .text {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
}

.rewier .btn-light-wrapper {
    display: flex;
    flex-direction: row;
    gap: 5px;
}


/* .blog-wrapper */
.blog-wrapper {
    background-color: #F7F9FD;
    border-radius: 50px;
}

.blog-wrapper .filter-btn-wrapper {
    display: flex;
    flex-direction: row;

    gap: 10px;
    flex-wrap: wrap;

    max-width: 670px;
}

.blog-wrapper .filter-btn-wrapper a {
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.blog-wrapper .filter-btn-wrapper a:hover {
    background-color: #a5c4e0;
}

.blog-wrapper .blog-wrapper-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-height: 500px;

    margin: 40px 0;
}

.blog-wrapper .main-card {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.blog-wrapper .main-card .card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    flex-shrink: 0;
}

.blog-wrapper .main-card .card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-wrapper .main-card .card-image .btn-light {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.blog-wrapper .main-card.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-wrapper .other-cards {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 100%;
}

.blog-wrapper .other-cards .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    min-height: 0;
    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-wrapper .card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 10px 20px rgba(188, 212, 238, 0.3); */
}

.blog-wrapper .main-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.blog-wrapper .date {
    color: #BEBEBE;
    font-size: 14px;
    line-height: 20px;
}

.blog-wrapper .card .name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

.blog-wrapper .main-card .name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-wrapper .btn-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


/* footer */

.form-wrapper-container {
    border-radius: 20px;
    padding: 65px 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;

    position: relative;
    background-color: #E42328;
    color: #ffffff;
    overflow: hidden;
}

.form-wrapper-container .img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.form-wrapper-container .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right;
    display: block;
}


.form-wrapper-container .form-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 20px;
    /* width: 90%;
    padding-right: 20px; */
    align-self: flex-start;
}

.form-info .subtitle {
    font-size: 20px;
    line-height: 26px;
}

.form-wrapper-container .form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
}

.form-wrapper-container .form__label input {
    width: 100%;
    background-color: #F5F9FD;
    border: none;
    padding: 15px;
    border-radius: 5px;
}

.form-wrapper-container .btn {
    align-self: center;
}

.form-wrapper-container .politican {
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;

    color: #000000;
}

.form-wrapper-container .formMessage__error {
    display: none;
    font-size: 30px;
    text-align: center;
    line-height: 29px;
}

/* footer */

.footer {
    background-color: #F7F9FD;
    border-radius: 50px 50px 0 0;
}

.footer-wrapper {
    display: flex;
    flex-direction: row;
    gap: 96px;
}

.footer .contact-block {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;

    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.footer .block-info {
    display: flex;
    flex-direction: row;

    align-items: center;

    gap: 10px;
}

.footer .contact-block-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 колонки одинаковой ширины */
    gap: 20px;
    /* Расстояние между элементами */
}

.footer .block-info-container {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.footer .block-info-container .phone {
    font-weight: 700;
}

.footer .contact-block .title {
    font-size: 24px;
    line-height: 33px;
}


.footer .row-wrapper {
    display: flex;
    flex-direction: row;
    gap: 96px;
}

.footer .row ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 2px solid #e3e3e3;
    margin: 45px 0 0 0;
}

.footer-bottom-container {
    margin-top: 20px;
}

.footer-bottom-container ul {
    display: flex;
    flex-direction: row;
    gap: 20px;
}


/* карточка колледжа */

.card-tamplate .main-banner {
    display: block;
}

.bottom-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    margin-top: 80px;
}

.bottom-header .ratings-wrapper {
    align-self: flex-end;
    margin-bottom: 0;
    margin-top: 30px;
}

.bottom-header .yandex-rewier {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.bottom-header .yandex-rewier .combined-rating-label {
    font-weight: 700;
    font-size: 16px;
    color: #1B4A9A;
}

.bottom-header .combined-rating-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bottom-header .combined-rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.bottom-header .combined-rating-item .rating-source-name {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.bottom-header .combined-rating-item .total {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #F7F9FD;
    padding: 8px 12px;
    border-radius: 100px;
}

.bottom-header .combined-rating-item .total span {
    font-size: 16px;
    font-weight: 600;
    color: #1B4A9A;
}

.bottom-header .combined-rating-item.our-rating svg {
    color: #1B4A9A;
}

/* banner */
.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 30px;
}
.banner .main-cards-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.banner .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    background-color: #ffffff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.banner .card span {
    color: #1B4A9A;
    font-size: 24px;
}


.banner .colored-button-wrapper {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.banner .colored-btn,
.banner .red-colored-btn,
.banner .colored-btn-none {
    white-space: nowrap;
}

.banner .colored-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px 15px 20px;
    background-color: #BCD4EE;
    border: none;
    gap: 20px;    
    border-radius: 0 100px 100px 100px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    min-width: 120px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}
.banner .colored-btn::after {
    content: '✓';
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bcd4ee;
    font-size: 16px;
    font-weight: bold;
    margin-left: auto;
}

.banner .colored-btn-none {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px 15px 20px;
    background-color: #BCD4EE;
    border: none;
    border-radius: 0 100px 100px 100px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    min-width: 120px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.banner .colored-btn .checkmark-colored {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;

    background-color: #ffffff;
    border-radius: 100%;
}

.banner .red-colored-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 24px;
    background: #E42328;
    border: none;
    border-radius: 0 100px 100px 100px;
    border-top-left-radius: 0;
    color: white;
    font-size: 16px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.banner .red-colored-btn::after {
    content: '×';
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E42328;
    font-size: 28px;
    font-weight: bold;
    margin-left: auto;
}

/* anchor-buttons */

.anchor-buttons-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin:20px;
}

.anchor-btn {
    background: white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.anchor-btn.active {
    background-color: #1B4A9A;
    color: white;
}

.anchor-btn:not(.active) {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.anchor-btn:not(.active):hover {
    background-color: #BCD4EE;
}

/* information */

.information .margin {
    margin-top: 75px;
}

.information-wrapper {
    display: flex;
    gap: 40px;
    width: 100%;
    margin-top:30px;
}

.information-wrapper .left-column {
    flex: 1 1 70%;
    max-width: 70%;
}

.information-wrapper .right-column {
    flex: 1 1 30%;
    max-width: 30%;
    position: relative;
}

.information-wrapper .aside-news {
    position: sticky;
    top: 180px;
    align-self: flex-start;
    background: #F7F9FD;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: top 0.3s ease;

    border-radius: 20px;
}

.information-wrapper .aside-news ul {
    display: flex;
    gap: 10px;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.information-wrapper .aside-news ul li a {
    display: block;
    color: #1B4A9A;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    padding: 4px 0;
    border-bottom: 1px solid #e4ecf7;
    transition: color 0.2s ease;
}

.information-wrapper .aside-news ul li:last-child a {
    border-bottom: none;
}

.information-wrapper .aside-news ul li a:hover {
    color: #e42328;
}

.information-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.information-card {
    background-color: #F7F9FD;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;

    padding: 25px 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;

    height: 100%;
    box-sizing: border-box;
}

.information-card-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.information-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e4ecf7;
}

.information-card-actions .btn {
    flex: 1 1 auto;
    text-align: center;
    font-size: 14px;
    padding: 10px 16px;
    white-space: normal;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .information-card-wrapper {
        grid-template-columns: 1fr;
    }
}

.information-wrapper .right-column-info {
    background: white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);

    padding: 30px;
    border-radius: 20px;
    width: 280px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.information-wrapper .right-column-info .el {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

.information-wrapper .right-column-info .el span {
    color: #1B4A9A;
    font-size: 24px;
}

.information-wrapper .left-column-info .name {
    font-size: 24px;
    line-height: 33px;
    font-weight: 700;
    margin-bottom: 5px;
}

.information-wrapper .num-info-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;

    margin-top: 20px;
}

.information-wrapper .num-info-wrapper .el span {
    color: #1B4A9A;
    font-size: 24px;
    margin-right: 10px;
}

.information .form-wrapper-container {
    padding: 40px;
}

.information .form-wrapper-container .main-info {
    flex: 1 1 60%;
    max-width: 60%;
}

.information .form-wrapper-container form {
    flex: 1 1 40%;
    max-width: 40%;
}

.information .form-wrapper-container .img {
    left: 0;
    transform: scaleX(-1);
}

.admission_committee_el {
    display: flex;
    flex-direction: row;
    align-items: flex-start;

    gap: 10px;
}

.admission_committee_el svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.admission_committee_el:not(:last-child) {
    margin-bottom: 20px;
}

.admission_committee_el .info-el span {
    color: #1B4A9A;
    font-size: 20px;
}

.admission_committee_el .info-el {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.licence-card-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.licence-card {
    background-color: #F7F9FD;
    border-radius: 20px;
    padding: 20px;

    position: relative;
    flex: 1 1 50%;
    max-width: 50%;

    min-height: 140px;
}

.licence-card .img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.licence-card .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right;
    display: block;
}

.licence-info {
    max-width: 300px;
}

.licence-info .name {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

.table-container {
    overflow-x: auto;
    margin: 25px 0;
    -webkit-overflow-scrolling: touch;
    border-radius: 15px;
}

.table-container thead th {
    background-color: #A9C4E5;
    color: #FFFFFF;

    border-bottom: 1px solid #e9ecef;
    border-right: 1px solid #f1f3f4;

}

.table-container thead th {
    padding: 12px 15px;
}

.responsive-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.responsive-table tr:nth-child(even) {
    background-color: #F7F9FD;
}

.responsive-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    border-right: 1px solid #f1f3f4;
}

.form-wrapper-blue {
    background-color: #1B4A9A;
}

/* блог */

.blog-page .main-banner {
    height: auto;
}

.blog-page .breadcrums {
    margin-bottom: 75px;
}

.blog-page .card-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-page .card-wrapper .card {
    background-color: #F5F9FD;
    width: 32%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-page .card-wrapper .card:hover {
    transform: translateY(-5px);
}

.blog-page .card-wrapper .card .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-page .card-wrapper .card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-page .card-wrapper .btn-wrapper {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

/* .blog-page .card-wrapper .card .card-image .btn{
    position: absolute;
    top: 10px;
    left: 10px;

    z-index: 4;
} */

.blog-page .card-wrapper .card:hover .card-image img {
    transform: scale(1.05);
}

.blog-page .card-wrapper .card-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.blog-page .card-wrapper .card-content .date {
    font-weight: 500;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.blog-page .card-wrapper .card-content .title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 70px;
    text-align: left;
}


/*СТРАНИЦА БЛОГА */

.blog-tamplate .main-banner {
    height: auto;
}

.blog-tamplate .blog-page-container {
    margin-bottom: 40px;
}

.blog-tamplate .blog-page-wrapper {
    padding: 65px 0 0 0;
}

.blog-tamplate .sub-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.blog-tamplate .date-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    color: #7C7C7C;
}

.blog-tamplate .container {
    display: flex;
    gap: 40px;
    position: relative;
}

.blog-tamplate .padding {
    display: flex;
    gap: 40px;
    width: 100%;
}

.blog-tamplate .left-column {
    flex: 1 1 70%;
    max-width: 70%;
}

.blog-tamplate .right-column {
    flex: 1 1 30%;
    max-width: 30%;
    position: relative;
}

.blog-tamplate .content-block {
    position: sticky;
    top: 180px;
    align-self: flex-start;
    background: #F7F9FD;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 20px;
    transition: top 0.3s ease;
}

.blog-tamplate .blog-page-content {
    margin-bottom: 65px;
}

.blog-tamplate .gallery-discription .title {
    text-align: left;
    margin: 0;
}

.blog-tamplate .blog-page .title {
    text-align: left;
    margin-bottom: 30px;
}

.blog-tamplate .blog-page-content .text-content-image img {
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    max-height: 500px;
    margin: 0 auto 60px;
    object-fit: cover;
    overflow: hidden;

    border-radius: 20px;
}

.blog-tamplate .blog-page-content .text-content h2 {
    margin: 20px 0;
    font-size: 25px;
    line-height: 34px;
    font-weight: 700;
}

.blog-tamplate .blog-page-content .text-content p {
    margin-bottom: 10px;
}

.blog-tamplate .blog-page-content .text-content a {
    margin-bottom: 10px;
    color: #1B4A9A;
    text-decoration: underline !important;
}

.blog-tamplate .blog-page-content .text-content ul li {
    list-style: disc !important;
    list-style-position: inside !important;
    margin-bottom: 10px;
}

.blog-tamplate .blog-page-content .content img {
    display: block;
    margin-left: auto;
    margin-right: auto;

    border-radius: 25px;
    object-fit: cover;
}

.blog-tamplate .text-content blockquote {
    margin-bottom: 10px;
    padding: 20px;
    border-left: 4px solid #1B4A9A;
    background-color: #F5F9FD;
}

.blog-tamplate .blog-page-gallery {
    display: flex;
    flex-direction: column;
}

.blog-tamplate .blog-page-gallery .gallery-discription {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.other-article-wrapper {
    margin-top: 40px;
}

.swiper_article {
    width: 100%;
    height: 350px;
    padding: 30px 0 !important;
    overflow: hidden !important;
}

.other-article-wrapper .swiper-slide {
    background: #ffffff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;

    display: flex;
    flex-direction: column;

    /* color: #ffffff; */
}

.other-article-wrapper .swiper-slide .name {
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-article-wrapper .swiper-slide .card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.other-article-wrapper .swiper-slide .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.other-article-wrapper .swiper-slide .card-content {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.other-article-wrapper .swiper-slide .btn-wrapper {
    display: flex;
    justify-content: center;
}

.other-article-wrapper .custom-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.other-article-wrapper .custom-button-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #BCD4EE;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.other-article-wrapper .custom-button-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #BCD4EE;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}


@media (max-width: 1200px) {
    .header-container {
        gap: 10px;
        padding: 0 10px;
    }

    .header-wrapper.nav .header-nav-list {
        gap: 3px;
    }

    .header-wrapper.nav .header-nav-list li a {
        padding: 8px 10px;
        font-size: 14px;
    }

    .header-wrapper.header-contacts .header-nav-list {
        gap: 10px;
    }

    .header-wrapper .header-nav-list .bold {
        font-size: 16px;
    }
}


@media (max-width: 991px) {
    .header-wrapper.nav {
        display: none !important;
    }

    .header-wrapper-mob {
        display: flex !important;
        background-color: #ffffff;
        border-radius: 100px;
        padding: 10px 25px;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
        height: 80px;
        align-items: center;
        justify-content: center;
    }

    .burger {
        padding: 0;
        border: 0;
        background-color: transparent;
        height: 30px;
        width: 30px;
        cursor: pointer;

        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .burger-line {
        position: relative;
        width: 100%;
        height: 2px;
        background-color: #2C2B1D;
        border-radius: 3px;

        transition: 0.3s;
    }

    .burger-line:nth-child(1) {
        top: 2px;
        transform: translateY(-10px);
    }

    .burger-line:nth-child(3) {
        bottom: 2px;
        transform: translateY(10px);
    }

    .burger.open .burger-line:nth-child(1) {
        transform: rotate(45deg);
    }

    .burger.open .burger-line:nth-child(3) {
        transform: rotate(-45deg);
    }

    .burger.open .burger-line:nth-child(2) {
        opacity: 0;
    }

    /* фильтры */

    /* Скрываем десктопные фильтры */
    .selector-wrapper.desktop-filters {
        display: none !important;
    }

    /* Показываем мобильную кнопку */
    .mobile-filters-toggle {
        display: block;
        margin-top: 15px;
    }

    .btn-mobile-filter {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 15px 20px;
        background: #BCD4EE;
        border: none;
        border-radius: 15px;
        color: #333;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .btn-mobile-filter:hover {
        background: #A9C4E5;
    }

    .btn-mobile-filter svg {
        width: 20px;
        height: 20px;
    }

    .filter-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        background: #E42328;
        color: white;
        font-size: 12px;
        font-weight: 600;
        border-radius: 50%;
        margin-left: 5px;
    }


    .specialization-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .benefits-container {
        grid-template-columns: 1fr;
    }

    .benefits .btn-light-wrapper {
        flex-direction: column;
    }

    .form-wrapper {
        flex-direction: column;
    }

    .rating-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .rewier-container {
        grid-template-columns: 1fr;
    }

    .blog-wrapper-card {
        grid-template-columns: 1fr !important;
    }

    .blog-wrapper .main-card .card {
        grid-column: 1;
        grid-row: 1;
    }

    .blog-wrapper .other-cards {
        grid-column: 1;
        grid-row: 2;
    }

    .form-wrapper-container .form-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: center;
    }

    .footer-wrapper {
        flex-direction: column;
    }

}


@media (max-width: 767px) {
    .header {
        top: 15px;
        padding: 0 10px;
    }

    .padding-header {
        padding: 15px 0 0 0;
    }

    .header-container {
        gap: 8px;
    }

    .header-wrapper {
        height: 60px;
        padding: 10px 15px;
    }

    .header-wrapper.logo {
        /* flex: 1;  */
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-wrapper-mob {
        height: 60px;
        padding: 10px 20px;
    }

    .burger {
        height: 25px;
        width: 25px;
    }


    .nav-mob-container {
        padding-top: 90px;
    }

    .nav-mob li a {
        padding: 12px 15px;
        font-size: 16px;
    }

    .mob-phone {
        font-size: 18px;
        padding: 12px;
    }
}

@media (max-width: 615px) {
    .header-contacts .header-nav-list li:not(:first-child) {
        display: none;
    }

    .padding {
        padding: 35px 0;
    }

    .title {
        font-size: 28px !important;
        line-height: 36px !important;
    }

    .subtitle {
        font-size: 18px !important;
        line-height: 26px !important;
    }

    .btn-light-wrapper .btn {
        padding: 10px 10px;
        border-radius: 100px;
        transition: 0.5s ease;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
    }

    .form-wrapper {
        padding: 40px 30px;
        margin: 75px 0 0 0;
    }

    .blog-wrapper .other-cards {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .blog-wrapper-container .btn {
        padding: 10px;
        font-size: 14px;
    }

    .blog-wrapper .main-card.card {
        padding: 20px;
        gap: 10px;
    }

    .blog-wrapper .main-card .name {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
    }

    .blog-wrapper .other-cards .card {
        gap: 10px;
    }

    .form-wrapper-container {
        padding: 40px 35px;
    }

    .rating-cards .btn {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        top: 10px;
        padding: 0 5px;
    }

    .header-wrapper.logo {
        font-size: 16px;
        padding: 10px;
    }

    .header-wrapper-mob {
        padding: 10px 15px;
    }

    .burger {
        height: 20px;
        width: 20px;
    }

    .burger-line {
        height: 2px;
    }

    .nav-mob-container {
        padding-top: 80px;
    }

    .footer .contact-block-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    .nav-mob-container {
        padding-top: 80px;
    }

    .nav-mob {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .nav-mob li {
        margin-bottom: 0;
    }

    .nav-mob li a {
        padding: 10px;
        font-size: 14px;
    }

    .mob-contacts {
        flex-direction: row;
        align-items: center;
    }

    .mob-phone {
        flex: 1;
        font-size: 16px;
        padding: 10px;
    }

    .mob-consult {
        flex: 1;
        padding: 10px;
    }
}

@media (min-height: 800px) {
    .nav-mob-container {
        padding-top: 120px;
    }
}

/* ===== ПАГИНАЦИЯ ===== */

.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 100px;
    background-color: #BCD4EE;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.pagination .page-numbers.current {
    background-color: #1B4A9A;
    color: #ffffff;
}

.pagination .page-numbers:hover {
    background-color: #1B4A9A;
    color: #ffffff;
}

.pagination .page-numbers.dots {
    background-color: transparent;
    cursor: default;
}

.no-posts {
    font-size: 18px;
    color: #7C7C7C;
    padding: 40px 0;
}

/* Адаптив карточек блога */
@media (max-width: 991px) {
    .blog-page .card-wrapper .card {
        width: 48%;
    }
}

@media (max-width: 615px) {
    .blog-page .card-wrapper .card {
        width: 100%;
    }
}

/* ===== СТРАНИЦА КОЛЛЕДЖЕЙ ===== */

.kolledzhi-page {
    padding: 40px 0 60px;
}

.kolledzhi-filters {
    margin-bottom: 30px;
}

.kolledzhi-filters .form-group {
    flex-wrap: wrap;
    align-items: center;
}

/* Город — шире в 1.5 раза */
.kolledzhi-filters .select-wrapper--city {
    flex: 1.5;
}

/* Кнопки фильтра */
.kf-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.kf-actions button[type="submit"] {
    margin-left: 40px;
}

/* ── Список карточек колледжей ── */
.college-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.college-list-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease;
}

.college-list-card__top {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex: 1;
}

.college-list-card:hover {
    box-shadow: 0px 8px 24px rgba(27, 74, 154, 0.15);
}

/* ── Изображение ── */
.college-list-card__img-wrap {
    position: relative;
    flex: 0 0 220px;
    min-height: 180px;
    background: #F7F9FD;
    overflow: hidden;
}

.college-list-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.college-list-card__price {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(27, 74, 154, 0.82);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    text-align: center;
}

/* ── Контент карточки ── */
.college-list-card__body {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px 20px 0;
}

.college-list-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.college-list-card__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.college-list-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #1B4A9A;
    margin: 0;
    line-height: 1.3;
}

.college-list-card:hover .college-list-card__title {
    color: #e42328;
}

.college-list-card__rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FFF3CD;
    color: #B8860B;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.college-list-card__rating-badge::before {
    content: '★';
    font-size: 12px;
}

.college-list-card__desc {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.college-list-card__city {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

.college-list-card__city svg {
    flex-shrink: 0;
    color: #1B4A9A;
}

.college-list-card__gov-badge {
    font-size: 12px;
    font-weight: 500;
    color: #1B4A9A;
    background: #E4ECF7;
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
}

/* ── Блок статистики ── */
.college-list-card__stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    min-width: 170px;
}

.college-list-card__stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    background: #F7F9FD;
    border-radius: 12px;
    padding: 8px 14px;
}

.college-list-card__stat span {
    font-size: 18px;
    font-weight: 700;
    color: #1B4A9A;
    line-height: 1.2;
}

.college-list-card__stat small {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
}


/* ── Select2 для .kolledzhi-filters (стиль совпадает с нативными select-wrapper) ── */
.kolledzhi-filters .select2-container--default .select2-selection--single {
    background-color: #BCD4EE;
    border: none;
    border-radius: 0 100px 100px 100px;
    height: auto;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.kolledzhi-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 13px 40px 13px 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    white-space: nowrap;
}

.kolledzhi-filters .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #666;
}

.kolledzhi-filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    width: 36px;
    top: 0;
    right: 4px;
}

.kolledzhi-filters .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #333 transparent transparent transparent;
}

.kolledzhi-filters .select2-container--default.select2-container--open .select2-selection--single {
    background-color: #A9C4E5;
}

.kolledzhi-filters .select2-container--default.select2-container--open .select2-selection__arrow b {
    border-color: transparent transparent #333 transparent;
}

.kolledzhi-filters .select2-container {
    min-width: 120px;
}

.kolledzhi-filters .select2-dropdown {
    border: 1px solid #BCD4EE;
    border-radius: 0 0 12px 12px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(27,74,154,0.1);
    margin-top: 32px;
}

.kolledzhi-filters .select2-results__option {
    padding: 9px 16px;
    font-size: 14px;
    color: #333;
}

.kolledzhi-filters .select2-results__option--highlighted[aria-selected] {
    background-color: #BCD4EE;
    color: #333;
}

.kolledzhi-filters .select2-results__option[aria-selected="true"] {
    background-color: #1B4A9A;
    color: #fff;
}

.kolledzhi-filters .select2-search--dropdown .select2-search__field {
    border: 1px solid #BCD4EE;
    border-radius: 4px;
    padding: 7px 10px;
    font-size: 14px;
    outline: none;
}

/* Скрываем нативную стрелку select-wrapper когда Select2 активен */
.kolledzhi-filters .select-wrapper::after {
    display: none;
}

/* ── Теги на карточке (общежитие, при вузе и т.д.) ── */
.college-list-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.clc-tag {
    display: inline-block;
    background: #EAF1FB;
    color: #1B4A9A;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ── Адаптив ── */
@media (max-width: 900px) {
    .college-list-card__top {
        flex-direction: column;
    }
    .college-list-card__img-wrap {
        flex: 0 0 200px;
        min-height: 200px;
        width: 100%;
    }
    .college-list-card__body {
        flex-direction: column;
        padding: 16px;
    }
    .college-list-card__stats {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: unset;
    }
    .college-list-card__stat {
        flex: 0 0 calc(50% - 4px);
    }
}

@media (max-width: 480px) {
    .college-list-card__stat {
        flex: 0 0 100%;
    }
}

/* ===== СТРАНИЦА КОНТАКТОВ ===== */

.contact-page-hero .main-banner {
    height: auto;
}

.contact-page-hero .breadcrums {
    color: #7C7C7C;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-page-hero .breadcrums a {
    color: #7C7C7C;
    transition: color 0.3s;
}

.contact-page-hero .breadcrums a:hover {
    color: #1B4A9A;
}

/* Сетка контактных карточек */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-info-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
}

.contact-info-card--wide {
    grid-column: span 2;
}

.contact-info-icon {
    flex-shrink: 0;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-info-label {
    color: #7C7C7C;
    font-size: 14px;
    line-height: 1.3;
}

.contact-info-value {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-value:hover {
    color: #1B4A9A;
}

/* Форма на странице контактов */
.contact-page-form {
    background-color: #F7F9FD;
}

.contact-page-form .form-wrapper {
    margin: 0;
}

.contact-page-form .form__label textarea {
    width: 100%;
    background-color: #F5F9FD;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    resize: vertical;
    min-height: 100px;
}

.contact-page-form .form__label textarea::placeholder {
    color: #BEBEBE;
}

/* Контактные карточки (над картой) */
.contact-page-contacts {
    padding: 30px 0 30px 0;
    background-color: #F7F9FD;
}

/* Карта */
.contact-page-map {
    padding: 0 0 75px 0;
    background-color: #F7F9FD;
}

.contact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

#yandex-map {
    width: 100%;
    height: 480px;
}

.contact-info-card--full {
    grid-column: 1 / -1;
}

.contact-info-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

.contact-info-cities span {
    font-weight: 700;
    font-size: 18px;
    color: #000000;
}

/* Адаптив контактов */
@media (max-width: 991px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-card--wide {
        grid-column: span 1;
    }
}

@media (max-width: 615px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card--wide {
        grid-column: span 1;
    }

    .contact-info-value {
        font-size: 16px;
    }
}

/* ===== ТАБЛИЦА ЗАЧИСЛЕНИЯ (single.php, рубрика Колледж) ===== */

.enrollment-section {
    margin: 40px 0;
}

.enrollment-title {
    font-size: 18px;
    font-weight: 600;
    color: #1B4A9A;
    margin-bottom: 16px;
}

.enrollment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.enrollment-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e4ecf7;
    vertical-align: middle;
}

.enrollment-table tr:last-child td {
    border-bottom: none;
}

.enrollment-table tr:nth-child(odd) td {
    background-color: #F7F9FD;
}

.enrollment-table tr:nth-child(even) td {
    background-color: #ffffff;
}

.enrollment-table th:not(.spec-col),
.enrollment-table td:not(.spec-col) {
    text-align: center;
}

.enrollment-dynamic {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    margin-left: 4px;
    padding: 1px 5px;
    border-radius: 4px;
}
.enrollment-dynamic--up   { color: #1a9e3f; background: #e6f7ec; }
.enrollment-dynamic--down { color: #e42328; background: #fdeaea; }
.enrollment-empty         { color: #aaa; }

@media (max-width: 576px) {
    .enrollment-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* ══════════════════════════════════════════════════════
   Страница «Специальности» (/specialnosti/)
   ══════════════════════════════════════════════════════ */

.spec-list-page .main-banner {
    height: auto;
}

.spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-list-empty {
    padding: 40px 0;
    color: #888;
    font-size: 16px;
}

/* ── Фильтры в баннере ── */
.spec-filters {
    padding: 20px 0 10px;
}

.spec-filters-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.spec-filters-selects {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    /*flex: 1;*/
}

.spec-filters-submit {
    margin-left: 50px;
    flex-shrink: 0;
}

/* ── Карточка специальности ── */
.spec-card {
    display: flex;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(27, 74, 154, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    min-height: 180px;
    cursor: pointer;
}

.spec-card__link {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.spec-card__btn {
    position: relative;
    z-index: 1;
}

.spec-card:hover {
    box-shadow: 0 4px 20px rgba(27, 74, 154, 0.15);
}

/* Левая часть: картинка */
.spec-card__img-wrap {
    flex: 0 0 240px;
    position: relative;
    overflow: hidden;
}

.spec-card__img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    position: relative;
}

.spec-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spec-card__opacity {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
    pointer-events: none;
}

.spec-card__btm-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
}

.spec-card__btm-wrap--inline {
    position: static;
    background: none;
    padding: 0;
    margin-top: 8px;
}

.spec-card__price {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.spec-card__price b {
    font-size: 16px;
    font-weight: 700;
}

.spec-card__price--dark {
    color: #1B4A9A;
    font-size: 15px;
}

.spec-card__price--dark b {
    color: #e42328;
}

/* Правая часть: информация */
.spec-card__info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.spec-card__info-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.spec-card__text {
    flex: 1;
    min-width: 200px;
}

/* Код + группа */
.spec-card__pre {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.spec-card__pre span {
    font-size: 12px;
    color: #1B4A9A;
    background: #e4ecf7;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Заголовок */
.spec-card__h {
    font-size: 18px;
    font-weight: 700;
    color: #1B4A9A;
    margin: 0 0 8px;
    line-height: 1.3;
}

/* Описание */
.spec-card__desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px;
}

/* Блок со статистикой */
.spec-card__score-wrap {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-card__score {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 13px;
    color: #444;
    margin: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.spec-card__score b {
    font-weight: 700;
    color: #1B4A9A;
    font-size: 14px;
}

.spec-card__score-label {
    font-size: 12px;
    color: #888;
    line-height: 1.2;
    flex-shrink: 0;
}

.spec-card__score-val {
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}

.spec-card__score-tag {
    font-size: 11px;
    color: #aaa;
    flex-shrink: 0;
}

/* Кнопки под карточкой специальности */
.spec-card__btn {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.spec-detail-qualification{
    font-size: 18px;
    margin-bottom:20px;
}

.btn-violet-nd,
.btn-ask-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.4;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    border: none;
}

.btn-violet-nd {
    background: #1B4A9A;
    color: #fff;
    transition: background 0.2s;
}

.btn-violet-nd:hover {
    background: #15387a;
    color: #fff;
}

.btn-ask-question {
    background: #e4ecf7;
    color: #1B4A9A;
    transition: background 0.2s, color 0.2s;
}

.btn-ask-question:hover {
    background: #BCD4EE;
    color: #1B4A9A;
}

/* ══════════════════════════════════════════════
   Страница статьи журнала (single.php)
   ══════════════════════════════════════════════ */

.journal-article-wrap {
    background: #fff;
    padding: 24px 0 60px;
}

/* Шапка статьи */
.journal-article__header {
    max-width: 1080px;
    margin: 0 auto 22px;
    text-align: center;
}

.journal-article__title {
    font-size: 36px;
    font-weight: 700;
    color: #1B4A9A;
    line-height: 1.25;
    margin: 0 0 18px;
}

.journal-article__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.journal-article__date {
    font-size: 14px;
    color: #888;
}

.journal-article__read-time {
    font-size: 14px;
    color: #888;
    margin-left: auto;
}

.journal-article__cat {
    display: inline-block;
    background: #EAF1FB;
    color: #1B4A9A;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}

.journal-article__cat:hover {
    background: #BCD4EE;
}

/* Изображение */
.journal-article__img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    max-height: 500px;
    text-align: center;
}

.journal-article__img-tag {
    /* width: 100%; */
    /* height: 100%; */
    object-fit: cover;
    /* display: block; */
}

/* Контент статьи */
.journal-article__content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.journal-article__content h2,
.journal-article__content h3 {
    color: #1B4A9A;
    margin-top: 32px;
    margin-bottom: 12px;
}

.journal-article__content p {
    margin-bottom: 16px;
}

.journal-article__content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
    display: block;
}

.journal-article__content a {
    color: #1B4A9A;
    text-decoration: underline;
}

.journal-article__content ul,
.journal-article__content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.journal-article__content li {
    margin-bottom: 6px;
}

/* ── Кнопки «Поделиться» ── */
.journal-article__share {
    max-width: 820px;
    margin: 40px auto 0;
    padding-top: 28px;
    border-top: 1px solid #E8EEF8;
}

.journal-article__share-label {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.journal-article__share-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}

.share-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.share-btn svg { flex-shrink: 0; }

.share-btn--vk    { background: #0077FF; }
.share-btn--ok    { background: #EE8208; }
.share-btn--tg    { background: #26A5E4; }
.share-btn--wa    { background: #25D366; }
.share-btn--viber { background: #7360F2; }
.share-btn--mail  { background: #005FF9; }

.select2-container--open .select2-dropdown--below{
 margin-top: 32px;
}

/* Блок похожих статей */
.journal-related {
    background: #bcd4ee;
    padding: 50px 0 60px;
}

.journal-related__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.journal-related__cards .card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(27, 74, 154, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journal-related__cards .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(27, 74, 154, 0.14);
}

.journal-related__cards .card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.journal-related__cards .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.journal-related__cards .card:hover .card-image img {
    transform: scale(1.06);
}

.journal-related__cards .card-content {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
}

.journal-related__cards .date {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.journal-related__cards .title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.journal-related__cards .btn-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .journal-related__cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .journal-article__title {
        font-size: 26px;
    }
}

@media (max-width: 560px) {
    .journal-related__cards {
        grid-template-columns: 1fr;
    }
    .journal-article__title {
        font-size: 22px;
    }
}

/* ── Детальная страница специальности ── */
.spec-detail-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.spec-detail-img {
    flex: 0 0 160px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

.spec-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spec-detail-banner-text {
    flex: 1;
    min-width: 200px;
}

.spec-detail-code {
    display: inline-block;
    color: #1B4A9A;
}

.spec-detail-list-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Миниатюра колледжа в таблице */
.spec-col-img {
    width: 52px !important;
    padding: 8px 6px !important;
    text-align: center !important;
}

.college-thumb-sm {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

/* ── Select2 стиль, совпадающий с дизайном сайта ── */
.spec-filters .select2-container--default .select2-selection--single {
    background-color: #BCD4EE;
    border: none;
    border-radius: 0 100px 100px 100px;
    height: auto;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.spec-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 13px 40px 13px 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    white-space: nowrap;
}

.spec-filters .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #666;
}

.spec-filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    width: 36px;
    top: 0;
    right: 4px;
}

.spec-filters .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #333 transparent transparent transparent;
}

.spec-filters .select2-container--default.select2-container--open .select2-selection--single {
    background-color: #A9C4E5;
}

.spec-filters .select2-container--default.select2-container--open .select2-selection__arrow b {
    border-color: transparent transparent #333 transparent;
}

.spec-filters .select2-container {
    min-width: 155px;
}

.spec-filters .select2-dropdown {
    border: 1px solid #BCD4EE;
    border-radius: 0 0 12px 12px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(27,74,154,0.1);
}

.spec-filters .select2-results__option {
    padding: 9px 16px;
    font-size: 14px;
    color: #333;
}

.spec-filters .select2-results__option--highlighted[aria-selected] {
    background-color: #BCD4EE;
    color: #333;
}

.spec-filters .select2-results__option[aria-selected="true"] {
    background-color: #1B4A9A;
    color: #fff;
}

.spec-filters .select2-search--dropdown .select2-search__field {
    border: 1px solid #BCD4EE;
    border-radius: 4px;
    padding: 7px 10px;
    font-size: 14px;
    outline: none;
}

/* Адаптив */
@media (max-width: 900px) {
    .spec-card__img-wrap {
        flex: 0 0 180px;
    }

    .spec-card__score-wrap {
        flex: 0 0 180px;
    }
}

@media (max-width: 680px) {
    .spec-card {
        flex-direction: column;
    }

    .spec-card__img-wrap {
        flex: none;
        height: 180px;
    }

    .spec-card__img {
        min-height: 180px;
    }

    .spec-card__btm-wrap {
        position: absolute;
    }

    .spec-card__info {
        padding: 16px;
    }

    .spec-card__score-wrap {
        flex: none;
        width: 100%;
    }

    .spec-card__h {
        font-size: 16px;
    }

    .spec-filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .spec-filters-selects {
        flex-direction: column;
        align-items: stretch;
    }

    .spec-filters .select2-container {
        width: 100% !important;
    }

    .spec-filters-submit {
        margin-left: 0;
        align-self: flex-end;
    }

    .spec-detail-img {
        flex: none;
        width: 100%;
        height: 140px;
    }
}


/* ===== СТРАНИЦА АБИТУРИЕНТАМ ===== */

.abiturienty-page {
    padding: 60px 0;
    background-color: #F7F9FD;
}

.abiturienty-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.abiturienty-card {
    display: flex;
    flex-direction: row;
    gap: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.abiturienty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.abiturienty-card__img {
    flex: 0 0 280px;
    max-width: 280px;
    overflow: hidden;
}

.abiturienty-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 200px;
}

.abiturienty-card__body {
    flex: 1;
    padding: 28px 32px 28px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.abiturienty-card__date {
    font-size: 13px;
    color: #888;
}

.abiturienty-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0;
}

.abiturienty-card__excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.abiturienty-card__more {
    font-size: 14px;
    font-weight: 600;
    color: #1B4A9A;
    margin-top: 4px;
}


/* ===== ОДИНОЧНАЯ ЗАПИСЬ АБИТУРИЕНТАМ ===== */

.abiturienty-article__hero {
    background: #F7F9FD;
    padding: 0 0 0 0;
}

.abiturienty-article__hero img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
    border-radius: 0 0 20px 20px;
}

.abiturienty-article-wrap {
    padding: 48px 0 60px;
    background: #ffffff;
}

.abiturienty-article__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

/* Meta bar */
.abiturienty-article__meta {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E8EEF7;
}

.abiturienty-article__date,
.abiturienty-article__read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

/* Content */
.abiturienty-article__content {
    font-size: 16px;
    line-height: 1.75;
    color: #2c2c2c;
}

.abiturienty-article__content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 14px;
    color: #1B4A9A;
}

.abiturienty-article__content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 10px;
}

.abiturienty-article__content p {
    margin: 0 0 16px;
}

.abiturienty-article__content ul,
.abiturienty-article__content ol {
    padding-left: 24px;
    margin: 0 0 16px;
}

.abiturienty-article__content li {
    margin-bottom: 6px;
}

/* Sidebar */
.abiturienty-article__sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.abiturienty-sidebar__block {
    background: #F7F9FD;
    border-radius: 16px;
    padding: 24px;
}

.abiturienty-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #BCD4EE;
}

.abiturienty-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.abiturienty-sidebar__link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.abiturienty-sidebar__link:hover {
    opacity: 0.75;
}

.abiturienty-sidebar__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.abiturienty-sidebar__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.abiturienty-sidebar__item-date {
    font-size: 12px;
    color: #888;
}

.abiturienty-sidebar__item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

/* CTA block in sidebar */
.abiturienty-sidebar__cta {
    background: #1B4A9A;
    color: #ffffff;
}

.abiturienty-sidebar__cta-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.abiturienty-sidebar__cta-text {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.5;
    margin: 0 0 16px;
}

.abiturienty-sidebar__cta .btn-blue {
    width: 100%;
    text-align: center;
    background: #ffffff;
    color: #1B4A9A;
}

.abiturienty-sidebar__cta .btn-blue:hover {
    background: #BCD4EE;
    color: #1B4A9A;
}

/* Responsive */
@media (max-width: 991px) {
    .abiturienty-card__img {
        flex: 0 0 200px;
        max-width: 200px;
    }

    .abiturienty-article__layout {
        grid-template-columns: 1fr;
    }

    .abiturienty-article__sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .abiturienty-card {
        flex-direction: column;
    }

    .abiturienty-card__img {
        flex: none;
        max-width: 100%;
        height: 200px;
    }

    .abiturienty-card__body {
        padding: 20px;
    }
}


/* ===== СТРАНИЦА РОДИТЕЛЯМ ===== */

.roditelyam-page {
    padding: 60px 0;
    background: #ffffff;
}

/* 2-column card grid */
.roditelyam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.roditelyam-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E8EEF7;
    border-left: 4px solid #1B4A9A;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roditelyam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(27, 74, 154, 0.12);
}

.roditelyam-card__img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.roditelyam-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.roditelyam-card:hover .roditelyam-card__img img {
    transform: scale(1.04);
}

.roditelyam-card__body {
    padding: 24px 24px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.roditelyam-card__date {
    font-size: 12px;
    font-weight: 600;
    color: #1B4A9A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roditelyam-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

.roditelyam-card__excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.roditelyam-card__more {
    font-size: 14px;
    font-weight: 600;
    color: #1B4A9A;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.roditelyam-card__more::after {
    content: '→';
}


/* ===== ОДИНОЧНАЯ ЗАПИСЬ РОДИТЕЛЯМ ===== */

/* Hero с фоном-изображением */
.roditelyam-article__hero {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.roditelyam-article__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,20,50,0.72) 0%, rgba(10,20,50,0.15) 60%, transparent 100%);
}

.roditelyam-article__hero-meta {
    position: relative;
    z-index: 1;
    padding: 28px 0;
    display: flex;
    gap: 20px;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 500;
}

.roditelyam-article__hero-meta span::before {
    content: '· ';
}

.roditelyam-article__hero-meta span:first-child::before {
    content: '';
}

/* Reading wrapper */
.roditelyam-article-wrap {
    padding: 52px 0 64px;
    background: #ffffff;
}

/* Narrow centered column */
.roditelyam-article__reading {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Meta bar (when no hero image) */
.roditelyam-article__meta-bar {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #E8EEF7;
}

/* Article content */
.roditelyam-article__content {
    font-size: 17px;
    line-height: 1.8;
    color: #2c2c2c;
}

.roditelyam-article__content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 4px solid #1B4A9A;
}

.roditelyam-article__content h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 30px 0 12px;
}

.roditelyam-article__content p {
    margin: 0 0 18px;
}

.roditelyam-article__content ul,
.roditelyam-article__content ol {
    padding-left: 24px;
    margin: 0 0 18px;
}

.roditelyam-article__content li {
    margin-bottom: 8px;
}

.roditelyam-article__content blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    background: #F0F5FF;
    border-left: 4px solid #1B4A9A;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #444;
    font-size: 17px;
}

/* Related articles at bottom */
.roditelyam-related {
    padding: 52px 0;
    background: #F7F9FD;
}

.roditelyam-related__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 28px;
}

.roditelyam-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.roditelyam-related__card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.25s ease;
}

.roditelyam-related__card:hover {
    transform: translateY(-3px);
}

.roditelyam-related__img {
    height: 160px;
    overflow: hidden;
}

.roditelyam-related__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.roditelyam-related__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.roditelyam-related__date {
    font-size: 12px;
    color: #888;
}

.roditelyam-related__name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 991px) {
    .roditelyam-grid {
        grid-template-columns: 1fr;
    }

    .roditelyam-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roditelyam-article__hero {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .roditelyam-related__grid {
        grid-template-columns: 1fr;
    }

    .roditelyam-article__hero {
        height: 220px;
    }
}


/* ===== ASIDE CTA BANNER (page-kolledzhi right column) ===== */

.aside-cta {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.aside-cta__icon {
    margin-bottom: 4px;
}

.aside-cta__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
}

.aside-cta__text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.aside-cta__btn {
    width: 100%;
    text-align: center;
}

.aside-cta__divider {
    width: 100%;
    height: 1px;
    background: #E8EEF7;
    margin: 4px 0;
}

.aside-cta__stats {
    display: flex;
    gap: 20px;
    width: 100%;
}

.aside-cta__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.aside-cta__stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #1B4A9A;
}

.aside-cta__stat-label {
    font-size: 12px;
    color: #888;
    line-height: 1.3;
}

/* Mobile: right column drops below */
@media (max-width: 991px) {
    .aside-cta {
        position: static;
    }
    .information-wrapper {
        flex-direction: column;
    }
    .information-wrapper .left-column {
        max-width: 100%;
        flex-basis: 100%;
    }
    .information-wrapper .right-column {
        max-width: 100%;
        flex-basis: 100%;
    }
}


/* ===== СТРАНИЦА ОГЭ/ЕГЭ ===== */

/* Hero */
.oge-hero {
    background: linear-gradient(135deg, #1B4A9A 0%, #2d6fd4 100%);
    padding: 60px 0;
    color: #ffffff;
}

.oge-hero__inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: center;
}

.oge-hero__label {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.oge-hero__title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 16px;
}

.oge-hero__sub {
    font-size: 16px;
    opacity: 0.88;
    line-height: 1.6;
    margin: 0 0 28px;
}

.oge-hero__btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
}

.oge-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 28px 24px;
}

.oge-hero__stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.oge-hero__stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
    display: block;
}

/* Section titles */
.oge-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.oge-section-title--light {
    color: #ffffff;
}

.oge-section-sub {
    font-size: 16px;
    color: #666;
    margin: 0 0 36px;
    max-width: 680px;
}

.oge-section-sub--light {
    color: rgba(255,255,255,0.8);
}

/* Subjects */
.oge-subjects {
    padding: 64px 0;
    background: #ffffff;
}

.oge-subjects__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.oge-subject-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(27,74,154,.10);
    display: flex;
    flex-direction: column;
    border-left: 4px solid transparent;
}

.oge-subject-card--bio  { border-left-color: #2ecc71; }
.oge-subject-card--chem { border-left-color: #f39c12; }
.oge-subject-card--rus  { border-left-color: #1B4A9A; }
.oge-subject-card--math { border-left-color: #e74c3c; }

.oge-subject-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 0;
}

.oge-subject-card__icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.oge-subject-card--bio  .oge-subject-card__icon-circle { background: #F0FFF4; }
.oge-subject-card--chem .oge-subject-card__icon-circle { background: #FFF8F0; }
.oge-subject-card--rus  .oge-subject-card__icon-circle { background: #F0F5FF; }
.oge-subject-card--math .oge-subject-card__icon-circle { background: #FFF0F5; }

.oge-subject-card__format-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 10px;
    border-radius: 20px;
    color: #1B4A9A;
    background: #E8F0FF;
}

.oge-subject-card__name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 14px 22px 2px;
}

.oge-subject-card__teacher {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 0 22px 12px;
}

.oge-subject-card__desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding: 0 22px;
    margin: 0 0 14px;
}

.oge-subject-card__tips {
    list-style: none;
    padding: 0 22px 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.oge-subject-card__tips li {
    font-size: 13px;
    color: #444;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.oge-subject-card__tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1B4A9A;
}

/* Timeline */
.oge-timeline {
    padding: 64px 0;
    background: linear-gradient(135deg, #1B4A9A 0%, #2d6fd4 100%);
    color: #ffffff;
}

.oge-timeline__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.oge-timeline__step {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px 22px;
    position: relative;
}

.oge-timeline__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #1B4A9A;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.oge-timeline__month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 6px;
}

.oge-timeline__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.oge-timeline__step p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

/* Facts */
.oge-facts {
    padding: 64px 0;
    background: #F7F9FD;
}

.oge-facts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.oge-fact {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.oge-fact__icon {
    margin-bottom: 14px;
}

.oge-fact__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.oge-fact__text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* How we teach */
.oge-resources {
    padding: 64px 0;
    background: #ffffff;
}

.oge-resources__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.oge-resource {
    border-radius: 16px;
    border: 1px solid #E8EEF7;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oge-resource__icon {
    margin-bottom: 4px;
}

.oge-resource__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oge-resource__tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    align-self: flex-start;
}

.oge-resource__tag--official { background: #E8F0FF; color: #1B4A9A; }
.oge-resource__tag--free { background: #E8FFF0; color: #1a7a3c; }
.oge-resource__tag--practice { background: #FFF8E8; color: #b37c00; }

.oge-resource__name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}

.oge-resource__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* Final CTA */
.oge-cta-final {
    padding: 64px 0;
    background: #1a1a1a;
    color: #ffffff;
}

.oge-cta-final__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.oge-cta-final__title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px;
}

.oge-cta-final__sub {
    font-size: 16px;
    opacity: 0.75;
    margin: 0;
    max-width: 560px;
    line-height: 1.6;
}

.oge-cta-final__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.oge-btn-outline-white {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.85);
    text-align: center;
}

/* btn-violet-nd as link */
a.btn-violet-nd,
a.spec-card__btn-link {
    display: inline-block;
    text-decoration: none;
}

a.btn-violet-nd:hover {
    opacity: 0.85;
}

/* ===== OGE/EGE RESPONSIVE ===== */
@media (max-width: 1100px) {
    .oge-subjects__grid,
    .oge-timeline__steps,
    .oge-facts__grid,
    .oge-resources__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .oge-hero__inner {
        grid-template-columns: 1fr;
    }

    .oge-hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .oge-cta-final__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .oge-cta-final__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .oge-subjects__grid,
    .oge-timeline__steps,
    .oge-facts__grid,
    .oge-resources__grid {
        grid-template-columns: 1fr;
    }
}