:root {
    --admin-offset: 0px;
    --main-blue: #4668AA;
    --main-orange: #FA792F;
    --main-orange__08: rgba(250, 121, 47, 0.08);
    --main-blue-secondary: rgb(171, 199, 241);
    --main-blue-secondary-dark: #88A0CE;
    --main-blue-secondary__50: rgba(171, 199, 241, 0.5);
    --main-blue-secondary__20: rgba(171, 199, 241, 0.2);
    --main-background: rgba(242, 243, 248, 1);
    --main-blue-dark: rgba(105, 121, 150, 1);
    --main-blue-dark__50: rgba(105, 121, 150, 0.5);
    --main-blue-dark__80: #697996;
    --main-blue-light: rgba(241, 246, 253, 1);
    --main-black-80: rgba(0, 0, 0, 0.08);
    --text-dark: #333;
    --text-light: #666;
    --text_on_light: rgba(255, 255, 255, 1);
    --bg-light: #f5f5f5;
    --white: rgb(255, 255, 255);
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, .1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, .15);
    --transition: all .3s ease;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/Manrope/static/Manrope-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/Manrope/static/Manrope-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/Manrope/static/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/Manrope/static/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/Manrope/static/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/Manrope/static/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Moskvich';
    src: url('./assets/fonts/MoskvichSans-Bold.otf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

html {
    font-family: 'Manrope', Arial, sans-serif;
    background-color: var(--main-background);
    height: 100%;
}

* {
    font-family: 'Manrope', Arial, sans-serif;
}

a {
    text-decoration: none;
    color: var(--main-blue)
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0px;
}

body {
    margin: 0px;
    margin-inline: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

button{
    background: none;
    border: none;
}
fieldset, .border-n {
    border: none;
}

.page {
    margin: 0;
}

.main-workarea {
    position: relative;
    left: 5vw;
    right: 5vw;
    width: 90vw;
    flex: 1;
}

.main-content>.block,
.section-block {
    margin-bottom: 84px;
}

.main-content>.block {
    max-width: 90vw;
    margin-inline: auto;
}

.main-content>.block:first-child,
.section-block:first-child {
    margin-top: 48px;
}

.section-block {
    width: 90vw;
    margin-inline: auto;
}

.tel-ico {
    background-image: url('./images/ico/tel.svg');
}

/* =========================================================
ШАПКА / МЕНЮ
========================================================= */

.header {
    position: relative;
    margin-bottom: 124px;
}

.hero-banner__btn {
    width: auto;
    padding: 8px 12px;
}

.disease-card__ph {
    width: 100%;
    height: 120px;
    background: #f1f1f1;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disease-card__dot {
    width: 22px;
    height: 22px;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    display: inline-block;
    background: transparent;
}

.header-menu,
.header-search {
    position: relative;
    z-index: 1;
}

.header-top-panel .search-form__input {
    background: #fff !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    caret-color: #000;
    background-clip: padding-box;
}

.header-top-panel .search-form__input::placeholder {
    color: #666;
    opacity: 1;
}

.header-top-panel .search-form__input:-webkit-autofill,
.header-top-panel .search-form__input:-webkit-autofill:hover,
.header-top-panel .search-form__input:-webkit-autofill:focus {
    -webkit-text-fill-color: #000 !important;
    transition: background-color 9999s ease-out 0s;
    box-shadow: 0 0 0px 1000px #fff inset !important;
}


/* =========================================================
 ПОИСК В ХЕДЕРЕ 
========================================================= */

.header-search {
    position: relative;
    display: flex;
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
}

.search-page {
    background: none !important;
}

.header-search__btn {
    width: 73px;
    height: 45px;
    border: none;
    background: url('./images/ico/main_search.svg') no-repeat center;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: #164785;
}

.header-search__btn:hover {
    background: url('./images/ico/main_search_hover.svg') no-repeat center;
}

.header-search__btn.hidden {
    width: 0px;
    height: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(.7);
}

.header-search__icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-dark);
}

.header-search__form {
    position: relative;
    width: 0%;
}

.header-search__form.active {
    width: 420px;
    max-width: 42vw;
    height: 100%;
}

.header-search__input {
    width: 0;
    opacity: 0;
    border: none;
    outline: none;
    background: url('./images/ico/search.svg') no-repeat 15px center;
    background-color: var(--main-blue-light);
    border-radius: 20px;
    padding: 0;
    position: absolute;
    right: 0;
    padding-right: 15px;
    transition: width .35s ease, opacity .35s ease, padding .35s ease;
}

.header-search__input.active {
    width: 100%;
    opacity: 1;
    padding-left: 40px;
    min-width: 42vw;
}

.header-search__input.active+.header-search__close {
    opacity: 1;
}

.header-search__input.active~.header-search__submit {
    opacity: 1;
}


/* ================================
СКРЫТИЕ МЕНЮ ПРИ ОТКРЫТОМ ПОИСКЕ
================================ */

.header-menu.hidden {
    opacity: 0;
    pointer-events: none;
}

.header-menu.hidden~.header-search .header-search__input.active {
    position: relative;
}


/* =========================================================
СОЦИАЛЬНЫЕ ИКОНКИ / ГЛАЗ 
========================================================= */

#tg {
    background-image: url('./images/ico/tg.svg');
}

#vk {
    background-image: url('./images/ico/vk.svg');
}

#max {
    background-image: url('./images/ico/max.svg');
}

#eye {
    background-image: url('./images/ico/eye.svg');
}

.header-link {
    width: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    max-height: 22px;
    background-position: right center;
    display: block;
}

.header-link img {
    height: 22px;
}

.header-links {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.header-links #eye:hover {
    background-image: url('./images/ico/eye-hover.svg');
}

.reviews-neo-section {
    width: 90vw;
    min-height: 200px;
    margin: auto;
}

.reviews-neo-container {
    width: 90vw;
    min-height: 200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
}

.reviews-neo__card {
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 40px;
    width: 100%;
    background: linear-gradient(90.00deg, rgb(255, 255, 255), rgb(233, 242, 255) 100%);
}

.review-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.review-modal--open {
    display: flex;
}

.review-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
}

.review-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 960px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 32px 28px;
    box-shadow: 0 20px 60px rgba(15, 35, 95, .35);
}

.review-modal__close {
    position: absolute;
    right: 20px;
    top: 18px;
    border: none;
    background: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #8AA4D8;
}

.review-modal__title {
    margin: 0 40px 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2F3B5C;
}

.review-form {
    margin-top: 4px;
}

.review-form__row {
    margin-bottom: 16px;
}

.review-form__row--inline {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.review-form__field {
    flex: 1 1 0;
    min-width: 220px;
}

.review-form__label {
    font-size: 13px;
    margin-bottom: 4px;
    color: #6B7A99;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.review-input,
.review-select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #dbe4ff;
    background: #f5f8ff;
    font-size: 0.875rem;
    color: #2F3B5C;
    outline: none;
    font-weight: 700;
}

.review-select {
    padding-right: 30px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238AA4D8' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
}

.review-select.open {
    position: relative;
}

.review-input::placeholder,
.review-select,
.review-textarea::placeholder {
    color: #9AA7C7;
}

.review-input:focus,
.review-select:focus,
.review-textarea:focus {
    border-color: #4976f5;
    box-shadow: 0 0 0 2px rgba(73, 118, 245, .15);
}

.review-textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 160px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid #dbe4ff;
    background: #f5f8ff;
    resize: vertical;
    font-size: 1rem;
    color: #2F3B5C;
    font-weight: 800;
}

.review-form__rating-label {
    margin: 0 0 6px;
    font-size: 14px;
    color: #4a5575;
}

.rating-stars {
    font-size: 26px;
    cursor: pointer;
    color: #ccd6f5;
}

.rating-star {
    display: inline-block;
    padding: 0 2px;
    transition: color .2s, transform .1s;
}

.rating-star--active {
    color: #4976f5;
}

.rating-star:hover {
    transform: scale(1.05);
}

.review-form__row--checkboxes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
    color: #6B7A99;
}

.review-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.review-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

.review-checkbox a {
    color: #4976f5;
    text-decoration: none;
}

.review-checkbox a:hover {
    text-decoration: underline;
}

.review-form__row--submit {
    margin-top: 10px;
}

.review-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 999px;
    border: none;
    background: #4976f5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s, box-shadow .2s;
}

.review-submit-btn:hover {
    background: #365fda;
    box-shadow: 0 6px 16px rgba(73, 118, 245, .35);
}

.review-submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(73, 118, 245, .3);
}

body.review-modal-open {
    overflow: hidden;
}

.form-errors {
    margin-bottom: 12px;
    font-size: 13px;
    color: #c0392b;
}

.form-success {
    margin-bottom: 12px;
    font-size: 14px;
    color: #27ae60;
}

.review-form-success {
    text-align: center;
    padding: 40px 20px;
}

.review-form-success h3 {
    font-size: 20px;
    font-weight: 600;
    color: #4976f5;
}


/* =========================================================
СПЕЦИАЛИСТЫ 
========================================================= */

.experts-neo {
    width: min(90vw, 100%);
    margin-inline: auto;
    overflow-x: hidden;
}

.experts-neo__pager {
    margin: 20px 0 0;
}

.experts-neo__pager--top {
    margin-bottom: 16px;
}

.experts-neo__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.experts-neo-filters {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 16px;
}

.experts-neo-slider {
    height: 520px;
}

.experts-neo-slider__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
    height: 100%;
}

.experts-neo-slider__viewport::-webkit-scrollbar {
    height: 6px;
}

.experts-neo-slider__viewport::-webkit-scrollbar-track {
    background: rgba(30, 90, 167, 0.06);
    border-radius: 999px;
}

.experts-neo-slider__viewport::-webkit-scrollbar-thumb {
    background: rgba(30, 90, 167, 0.4);
    border-radius: 999px;
}

.experts-neo-slider__track {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    height: 100%;
}

.experts-neo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    row-gap: 24px;
    column-gap: 16px;
    min-width: 0;
    width: 100%;
}

.experts-neo-grid .expert-card-neo {
    flex: initial;
    aspect-ratio: 1 / 1.8;
}

.expert-card-neo {
    cursor: pointer;
    aspect-ratio: 1 / 1.8;
}

.experts-neo-slider__track .expert-card-neo {
    flex: 0 0 auto;
    width: 284px;
}

.expert-card-neo__inner {
    background: var(--white, #fff);
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid var(--main-blue-secondary__50);
    padding: 8px;
    box-sizing: border-box;
    height: 100%;
}

.expert-card-neo__photo-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
}

.expert-card-neo__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-card-neo__fav,
.expert-card-neo__play {
    position: absolute;
    top: 4px;
}

.expert-card-neo__fav {
    left: 4px;
}

.expert-card-neo__play {
    right: 12px;
}

.expert-card-neo__bottom {
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 3px;
    height: 205px;
    padding: 14px 16px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.expert-card-neo__bottom>div:first-child {
    min-height: 64px;
    min-width: 0;
}

.expert-card-neo__bottom footer {
    margin-top: auto;
}

.expert-card-neo__fio {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: var(--main-blue);
    font-weight: 800;
    font-size: 1rem;
}

.expert-card-neo__position:empty {
    opacity: 0;
}

.expert-card-neo__position {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    min-height: 2.6em;
}

.expert-card-neo__bottom h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.expert-card__position {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    margin: 6px 0 0;
}

.expert-card-neo__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    margin-top: auto;
    margin-right: 47px;
}

.expert-card__position {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.expert-card-neo__arrow {
    position: absolute;
    right: 14px;
    bottom: 10px;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    object-fit: cover;
}

/* ==================================
ОТЗЫВЫ
================================== */

.spec-neo__reviews {
    padding: 24px 0;
}

.spec-neo-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #d2e3ff;
    max-width: 90vw;
    height: auto;
    box-sizing: border-box;
}

.spec-neo-review-card::before {
    content: '';
    background-image: url(./images/ico/quotation_marks.svg);
    position: absolute;
    width: 100%;
    height: 25px;
    z-index: 10;
    pointer-events: none;
    background-repeat: no-repeat;
}

.spec-neo-review-card__header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    margin-left: 18px;
    flex-wrap: nowrap;
}


.spec-neo-review-card__date {
    white-space: nowrap;
    align-items: flex-end;
}

.spec-neo-review-card__rating {
    font-size: 22px;
    letter-spacing: -2px;
}

.spec-neo-review-card__star {
    color: var(--main-blue-secondary);
}

.spec-neo-review-card__star.is-active {
    color: var(--main-orange);
}

.spec-neo-review-card__body {
    margin-bottom: 20px;
}

.spec-neo-review-card__legend {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
}


.spec-neo-review-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: nowrap;
    height: 100%;
}

.spec-neo-review-card__link {
    color: var(--main-blue);
    font-weight: 800;
    font-size: 0.875rem;
}

.spec-neo-review-card__link:hover {
    color: var(--main-blue-secondary);
}


/* ==================================
ОТЗЫВЫ — ПОЛНЫЙ ВЫВОД 
================================== */

.spec-neo-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================
   GLOBAL HORIZONTAL SCROLL 
========================================= */

.history-neo-tabs__nav,
.hero-mtabs__viewport,
.experts-neo-slider__viewport,
.spec-neo-reviews-grid--preview,
.news-neo__list {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(70, 104, 170, 0.35) transparent;
}


/* Webkit scrollbar */

.history-neo-tabs__nav::-webkit-scrollbar,
.hero-mtabs__viewport::-webkit-scrollbar,
.experts-neo-slider__viewport::-webkit-scrollbar,
.spec-neo-reviews-grid--preview::-webkit-scrollbar,
.news-neo__list::-webkit-scrollbar {
    height: 6px;
}

.history-neo-tabs__nav::-webkit-scrollbar-track,
.hero-mtabs__viewport::-webkit-scrollbar-track,
.experts-neo-slider__viewport::-webkit-scrollbar-track,
.spec-neo-reviews-grid--preview::-webkit-scrollbar-track,
.news-neo__list::-webkit-scrollbar-track {
    background: transparent;
}

.history-neo-tabs__nav::-webkit-scrollbar-thumb,
.hero-mtabs__viewport::-webkit-scrollbar-thumb,
.experts-neo-slider__viewport::-webkit-scrollbar-thumb,
.spec-neo-reviews-grid--preview::-webkit-scrollbar-thumb,
.news-neo__list::-webkit-scrollbar-thumb {
    background: rgba(70, 104, 170, 0.28);
    border-radius: 999px;
}

.history-neo-tabs__nav::-webkit-scrollbar-thumb:hover,
.hero-mtabs__viewport::-webkit-scrollbar-thumb:hover,
.experts-neo-slider__viewport::-webkit-scrollbar-thumb:hover,
.spec-neo-reviews-grid--preview::-webkit-scrollbar-thumb:hover,
.news-neo__list::-webkit-scrollbar-thumb:hover {
    background: rgba(70, 104, 170, 0.45);
}

.spec-neo__reviews--preview {
    padding: 24px 0;
}

.spec-neo-reviews-grid--preview {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 8px 12px 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 12px;
    contain: layout paint;
}

.spec-neo-reviews-grid--preview>.spec-neo-review-card {
    flex: 0 0 auto;
    width: 100%;
    scroll-snap-align: start;
    z-index: 0;
    isolation: isolate;
    transform: translateZ(0);
}

.spec-neo-review-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spec-neo-review-card__footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: nowrap;
    height: 100%;
}

.spec-neo__tel::before {
    content: '';
    display: inline-block;
    margin-left: 20px;
    margin-right: 5px;
    background-image: url('./images/ico/phone.svg');
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    background-size: contain;
    filter: brightness(0) saturate(100%) invert(16%) sepia(57%) saturate(1225%) hue-rotate(188deg) brightness(95%) contrast(91%);
}

.spec-neo__tel {
    text-decoration: none;
    color: var(--main-blue-dark__80);
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 8px;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.spec-neo__mail::before {
    margin-left: 20px;
    margin-right: 5px;
    content: '';
    display: inline-block;
    background-image: url('./images/ico/mail.svg');
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    background-size: contain;
    filter: brightness(0) saturate(100%) invert(16%) sepia(57%) saturate(1225%) hue-rotate(188deg) brightness(95%) contrast(91%);
}

.spec-neo__mail {
    margin-bottom: 16px;
    text-decoration: none;
    color: var(--main-blue-dark__80);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


/*
======================================================
НОВОСТИ ПОЛНОСТЬЮ
======================================================
*/

.news-neo-header-list {
    display: flex;
    flex-direction: column;
}

.news-neo-header-params {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.news-neo-header__search {
    display: flex;
    width: 100%;
    gap: 16px;
}

.news-neo {
    padding: 0;
}

.news-neo__list {
    max-width: 90vw;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 0 6px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}


.news-neo__card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.news-neo__card>*:not(.news-neo__card-link) {
    position: relative;
    z-index: 2;
}

.news-neo__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 210px;
    border-radius: 22px;
    background: #f3f6ff;
    overflow: hidden;
    flex: 0 0 auto;
}

.news-neo__media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.news-neo__media-empty {
    width: 100%;
    height: 100%;
}

.news-neo__date {
    position: absolute;
    right: 14px;
    top: 12px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(120, 160, 220, 0.35);
    font-size: 12px;
    font-weight: 700;
    color: rgba(95, 125, 175, 0.95);
    backdrop-filter: blur(6px);
}

.news-neo__tags {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-top: 12px;
    min-height: 28px;
}

.news-neo__tags--empty {
    visibility: hidden;
    display: none;
}

.news-neo__tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    border: 2px solid rgba(125, 160, 220, 0.95);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: rgba(110, 140, 195, 1);
    text-decoration: none;
    white-space: nowrap;
    flex: 0 0 auto;
}

.news-neo__tag:hover {
    color: var(--main-blue);
}

.news-neo__title {
    margin: 12px 0 0;
    line-height: 1.05;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1em * 1.05 * 2);
}

.news-neo__desc {
    margin-top: 10px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1em * 1.15 * 3);
}

.news-neo__desc--empty {
    visibility: hidden;
}

.news-neo__actions {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
}

.news-neo__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: rgba(168, 196, 240, 1);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border: 0;
}

.news-neo__btn:hover {
    filter: brightness(0.97);
}

.news-neo__btn-ico {
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}


/* footer */

.news-neo__footer {
    margin-top: 24px;
    max-width: 90vw;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}



.carousel-btn {
    background: var(--main-blue);
    background-image: url('./images/ico/button_arrow.svg');
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow, 0 4px 15px rgba(0, 0, 0, .1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-image: url('./images/ico/button_arrow_hover.svg');
}

.carousel-btn[id='next'] {
    transform: rotate(-45deg);
}

.carousel-btn[id='prev'] {
    transform: rotate(135deg);
}


.tsaop-neo-photo-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* Фон как декоративный элемент (если нужен) */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.tsaop-neo-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* или contain, в зависимости от дизайна */
    aspect-ratio: auto;
    /* сохраняет пропорции */
    position: relative;
    z-index: 1;
}


/* LOCATION ROUTE*/

.location-route iframe {
    width: 100%;
    height: 100% !important;
    /* перекрываем возможный инлайновый height */
    min-height: 30vh;
    min-width: 45vw;
    border-radius: 20px;
    display: block;
    /* убираем фиксированную высоту из HTML или оставляем !important */
}

.location-route-neo-container {
    border-radius: 20px;
    border: 2px solid var(--main-blue-light);
    background-color: white;
    padding: 16px;
    min-height: 30vh;
}

.location-neo-properties {
    margin-bottom: 0;
    width: 100%;
    padding: 44px;
}

.location-route {
    flex: 1 1 auto;
    /* растягивается на всю высоту контейнера */
    min-height: 30vh;
    /* минимальная высота для мобильных */
    height: 100%;
    /* поддерживаем старую логику */
}

.loc::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('./images/ico/location.svg');
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #697996;
}

.loc {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-brand.desktop {
    transition: transform .25s ease, opacity .25s ease;
    will-change: transform, opacity;
    width: 100%;
}

body.is-scrolling-down .header-brand.desktop {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

.header-top-strip {
    width: 90vw;
    margin-inline: auto;
    margin-top: 0;
    height: 48px;
    padding: 0 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background: #C93B3F;
}

.header-top-strip__link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    margin-left: 36px;
}

.header-top-strip__logo {
    height: 26px;
    width: auto;
    display: block;
}

/* 4К ДЕСКТОП */

@media (min-width: 3900px) {}


/* ОТ 2К ДЕСКТОП*/

@media (min-width: 1900px) {}


/* ОБЫЧНЫЕ ДЕСКТОП */

@media (min-width: 1201px) {
    .header-top-panel__body {
        display: inline-flex;
        width: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: 0;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
    }

    .header-top-panel {
        display: flex;
    }

    .header-menu,
    .header-search,
    .header-links,
    .btn-tel {
        flex: 0 0 auto;
    }

    .header-brand.desktop .brand-link {
        display: flex;
        align-items: center;
    }


    .header-brand.mobile {
        display: none;
    }
}


/* ПЛАНШЕТЫ И ТЕЛЕФОНЫ (<=1200) */

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

    .header-fixed {
        top: 40px;
    }

    .header-top-strip {
        width: 100vw;
        height: 34px;
    }

    .header-top-panel__body .btn-tel {
        display: none;
    }

    .header-brand.desktop {
        display: none;
    }

    .grid--3cols,
    .grid--2cols {
        grid-template-columns: 1fr;
    }

    .grid--horizontal {
        gap: 20px;
        padding: 10px 5px 25px;
    }

    .grid--horizontal .card--news {
        width: 300px;
        height: 420px;
    }

    .grid--horizontal .card--specialist {
        width: 280px;
        height: 460px;
    }

    .spec-neo-reviews-grid--preview>.spec-neo-review-card {
        width: clamp(280px, 32vw, 420px);
    }

    .spec-neo-reviews-grid {
        grid-template-columns: 1fr;
    }

    .spec-neo-list__item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .spec-neo-list__item>.text,
    .spec-neo-list__year {
        justify-self: start;
        text-align: left;
        white-space: normal;
    }

    .spec-neo-list__year {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .spec-neo-achieve-grid {
        grid-template-columns: 1fr;
    }


    .news-detail-section {
        padding: 60px 0 40px;
    }

    .news-detail-container {
        padding: 0 15px;
    }

    .news-detail-title {
        font-size: 2rem;
    }

    .news-detail-subtitle {
        font-size: 1.1rem;
    }

    .news-detail-content {
        font-size: 1rem;
    }

    .media-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .media-image,
    .media-video {
        height: 200px;
    }

    .news-navigation {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .fast-links__container {
        gap: 16px;
    }

    .fast-links__item {
        flex: 1 1 100%;
        padding: 30px 20px;
    }

    .fast-links__icon {
        width: 64px;
    }

    .fast-links__title {
        font-size: 18px;
    }

    .fast-links__subtitle {
        font-size: 16px;
    }

}


/* ТОЛЬКО ПЛАНШЕТЫ */

@media (min-width: 769px) and (max-width: 1200px) {

    .spec-neo-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .fast-links__container {
        flex-wrap: wrap;
    }

    .fast-links__item {
        flex: 1 1 calc(50% - 16px);
    }
}


/* ВСЕ КРОМЕ ТЕЛЕНОВ*/

@media (min-width: 769px) {
    .header-top-panel__body {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        min-height: 42px;
    }

    .header-search {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
    }

    .header-search.active {
        width: 100%;
    }

    .header-search__form {
        width: 0;
        overflow: hidden;
        transition: width .35s ease;
    }

    .header-search__form.active {
        width: 100%;
        max-width: 70vw;
        height: auto;
    }

    .header-search__input {
        position: relative;
        right: auto;
        width: 100%;
        height: 42px;
        opacity: 1;
        padding-left: 40px;
        box-sizing: border-box;
    }

    .header-search__form:not(.active) .header-search__input {
        width: 0;
        opacity: 0;
        pointer-events: none;
    }

    .header-menu.hidden~.header-search .header-search__form.active {
        width: min(720px, 55vw);
        max-width: 55vw;
    }

    .spec-neo-reviews-grid--preview>.spec-neo-review-card {
        width: clamp(340px, 26vw, 520px);
    }

    .header-search,
    .header-search__form,
    .header-search__btn {
        align-self: center;
    }
}


/* ТОЛЬКО ТЕЛЕФОНЫ*/

@media (max-width: 768px) {

    .experts-neo-grid {
        justify-items: center;
    }

    .header-top-panel,
    .header-top-panel__body {
        max-width: 100%;
    }

    .expert-card-neo {
        width: 80vw;
        max-width: 340px;
    }

    .hero-mtabs__viewport {
        scrollbar-width: none;
    }

    .main-content>.block {
        margin-bottom: 48px;
    }

    .reviews-neo-container {
        flex-direction: column;
    }

    .reviews-neo__card {
        width: auto;
    }

    .spec-neo-photo-wrapper {
        display: block;
    }

    .spec-neo-card_about,
    .spec-neo-about-title-wrapper {
        flex-direction: column;
    }

    .spec-neo-schedule-container {
        flex: auto;
    }

    .spec-neo-photo-inner,
    .spec-neo-photo-wrapper {
        width: auto;
    }

    .news-neo__card,
    .spec-neo-reviews-grid--preview>.spec-neo-review-card {
        flex: 0 0 80vw;
    }

    .spec-neo-card_about {
        max-height: none;
    }

    .header-fixed {
        position: fixed;
        display: flex;
        justify-content: center;
        z-index: 9999;
        left: 2.5vw;
        right: 2.5vw;
        width: 95vw;
    }

    .main-workarea {
        position: relative;
        margin-top: 88px;
        left: 5vw;
        width: 90vw;
    }

    .header {
        margin-bottom: 0;
    }

    .header-menu {
        display: none;
    }

    .header-top-panel__body>*:not(.mobile) {
        display: none;
    }

    .header-top-panel__body {
        padding: 10px 18px;
    }

    .header-search {
        margin-left: 0;
        margin-right: 0;
    }

    .header-top-panel__body {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .header-search {
        min-width: 0;
        height: 100%;
        justify-content: flex-end;
    }

    .header-search.active {
        width: 100%;
    }

    .mnav-burger {
        position: relative;
        z-index: 10;
        flex: 0 0 auto;
    }

    .header-search__input.active {
        position: relative;
        right: auto;
        height: 42px;
        width: 100%;
    }

    .header-search__form.active {
        width: 100%;
        max-width: 100%;
        height: 100%;
    }

}

/* УЗКИЕ ЭКРАНЫ*/
@media (max-width: 480px) {
    .news-neo__media {
        min-height: 190px;
    }
}

.hidden {
    display: none;
    width: 0px !important;
}