/*
Theme Name: Paradis Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
html .medml_service-template-default .page-title-wrap {
    display: none !important;

}

#header .searchform-popup .search-toggle {
    font-size: 18px;
    background: #a6b08e;
    width: 37px;
    height: 37px;
    border-radius: 8px;
    color: #fff;
    padding: 8px;
}

.medml-bookmodal__overlay {
    position: fixed !important;
    inset: 0;
    background: rgb(255 255 255 / 35%) !important;
    backdrop-filter: blur(3px) !important;
    height: 100%;
}

.medml-acc__head.has-color .medml-acc__ava {
    background: rgb(0 0 0 / 10%) !important;
}

.medml-service__wrap .medml-service__name {
    font-weight: 700;
}

.bookingBtn_header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #a6b08e;
    width: auto;
    height: 37px;
    border-radius: 8px;
    padding: 0px 20px;
    font-size: 16px;
    color: #fff !important;
}

.bookingMoreCh {
    width: 100%;
    padding: 18px 7px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
    border: 0px;
    background: #d4e0b8;
    color: #2d412d;
    font-weight: 600;
}

.bookingMorePr {
    width: 100%;
    padding: 18px 7px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
    border: 0px;
    background: #a694d1;
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.3s;
    transform-origin: right center;
}

.bookingMorePr:hover {
    color: rgba(255, 255, 255, 0.71);
}

.bookingMorePr::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: shimmer 3s infinite;
}

.cont-f {
    background-color: #fff;
    border-radius: 20px;
    padding: 2em;
    border: 1px solid rgb(0 0 0 / 6%);
}

.about-us {
    background-color: rgb(245, 249, 247);
    border-radius: 20px;
    padding: 2em;
    background-image: url(/wp-content/uploads/2026/08/tab-b2-scaled.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: inherit;
    background-position: center top;
}

.bookingBtn {
    width: 100%;
    padding: 18px 7px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
    border: 0px;
    background-color: var(--porto-primary-color);
    border-color: var(--porto-primary-color);
    color: var(--porto-primary-color-inverse);
    display: flex;
    justify-content: center;
}

.checkups {
    background-color: #9d747c !important;
    box-shadow: 0px 8px 20px 0 rgba(157, 116, 124, 0.332) !important;
}

.checkups-banner {
    padding: 15px 25px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    border: 0px;
    background-color: #B71D18;
    color: var(--porto-primary-color-inverse);
    box-shadow: rgba(255, 86, 48, 0.24) 0px 8px 16px 0px;
}

.bookingBtn:hover {
    color: #fff;
}

div.wpcf7-response-output {
    border-radius: 12px;
}



.child-page-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.child-page-block:hover {
    border-color: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.child-page-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 124, 186, 0.08);
    border-radius: 8px;
    font-size: 20px;
}

.child-page-icon img {
    display: block;
    object-fit: contain;
    max-width: 100%;
}

.child-page-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.child-pages-empty {
    text-align: center;
    color: #999;
    padding: 20px;
}

@media (max-width: 768px) {
    .child-pages-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .child-pages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cerv {
    padding: 3em 3em 1em 3em;
    border-radius: 20px;
    background-color: #f4e8ea;
}

.sidebar-items {
    background-color: rgb(166 148 209 / 17%);
    background-repeat: repeat;
    background-size: contain;
    padding: 3em;
    border-radius: 2em;
}

.other-back {
    background-color: #fff !important;
}

.booking-add {
    font-size: 14px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-block_item {
    background-color: #f4e8ea;
    border-radius: 20px;
}

/* Сетка категорий - по 3 в ряд */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

/* Блок категории */
.category-item {
    background: #f4f6f8;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #f4f6f8;
}

.category-item:hover {
    background: #dfe3e8;
    border: 1px solid #f4f6f8;
}

/* Ссылка категории */
.category-item-link {
    text-decoration: none;
    color: #333;
    display: block;
}

/* Название категории */
.category-item-link h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.category-item:hover .category-item-link h3 {
    color: #1e215d;
}

/* Количество записей в категории */
.category-count {
    display: inline-block;
    background: #1e215d;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-item {
        padding: 25px 20px;
    }

    .category-item-link h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .service-archive {
        padding: 20px 0;
    }
}

.doc-preview__image {
    border-radius: 12px;
}

.thumb-info-title {
    border-radius: 0px 12px 12px 0px;
}

.thumb-info-type {
    font-weight: 400;
    border-radius: 50px;
}

#header .main-menu .narrow ul.sub-menu {
    border-radius: 12px;
    margin-top: 14px;
}

#header .main-menu .narrow li.menu-item:hover>a {
    background: transparent;
}

#header .main-menu .narrow li.menu-item>a {
    background-color: transparent;
}

.drag__item--info {
    background: #f4f6f8;
    padding: 20px;
    border-radius: 12px;
}

.drag__item--description {
    font-size: 12px;
    line-height: 19px;
}

.btn .badge {
    border-radius: 12px;
    font-size: 12px;
}

.display-r {
    display: flex;
    justify-content: flex-end;
}

.btn-doctors {
    padding: 15px 30px;
    border-radius: 8px;
    background: #a694d1;
    letter-spacing: 1px;
    color: #fff !important;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
    text-transform: uppercase;
    font-weight: 500;
}

.btn-crack {
    padding: 15px 30px;
    border-radius: 8px;
    background: #a694d1;
    letter-spacing: 1px;
    color: #fff !important;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
    text-transform: uppercase;
    font-weight: 500;
}



/* Убираем горизонтальный скролл */
#memberCatModal .modal-body {
    overflow-x: hidden !important;
    padding: 0px 20px;
}

/* Максимальный z-index для модалки в футере */
#memberCatModal.modal {
    background: rgb(0 0 0 / 69%) !important;
    z-index: 9999999 !important;
}



/* Чтобы body не блокировался */
.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

/* ===== АЛФАВИТНЫЙ РУБРИКАТОР ===== */
.alphabet-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8f9fa;
    margin: 0 -20px 20px -20px;
    padding: 12px 20px;
    border-bottom: 2px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    max-width: 100%;
    overflow-x: hidden;
}

.alphabet-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 4px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    color: #a694d1;
    background: transparent;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.alphabet-link.active {
    background: #a694d1;
    color: #fff;
    border-color: #a694d1;
}

.alphabet-link.active:hover {
    background: #1a1d5e;
    transform: scale(1.1);
    color: #fff;
}

.alphabet-link.inactive {
    color: #232323;
    cursor: default;
}

.alphabet-link.inactive:hover {
    background: transparent;
    transform: none;
}

/* ===== СЕКЦИИ С БУКВАМИ ===== */
.categories-wrapper {
    overflow-x: hidden;
}

.letter-section {
    margin-bottom: 32px;
    scroll-margin-top: 80px;
}

.letter-title {
    font-size: 24px;
    font-weight: 700;
    color: #a694d1;
    border-bottom: 3px solid #a694d1;
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: inline-block;
}

/* ===== КАРТОЧКИ ===== */
#memberCatModal .hover-card {
    transition: all 0.25s ease;
    cursor: pointer;
    background: #F4F6F8;
    border-radius: 12px;
    border: 1px solid transparent !important;
}

#memberCatModal .hover-card:hover {
    background: #F4F6F8;
    transform: translateY(-3px);
}

#memberCatModal .card-body {
    padding: 16px 20px;
}

#memberCatModal .badge.bg-primary {
    background: #a694d1 !important;
    min-width: 28px;
    text-align: center;
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 576px) {
    #memberCatModal .modal-dialog {
        margin: 0.5rem;
    }

    #memberCatModal .card-body {
        padding: 12px 16px;
    }

    .alphabet-link {
        min-width: 28px;
        height: 28px;
        font-size: 11px;
        padding: 0 2px;
    }

    .alphabet-nav-wrapper {
        padding: 10px 16px;
        margin: 0 -16px 16px -16px;
    }

    #memberCatModal .modal-body {
        padding: 16px;
    }

    .letter-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    #memberCatModal .row>[class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .alphabet-nav {
        gap: 2px;
    }
}

@media (max-width: 480px) {
    #memberCatModal .row>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .alphabet-link {
        min-width: 24px;
        height: 24px;
        font-size: 10px;
    }
}


/* Убираем лишние отступы у контейнера */
#memberCatModal .container-fluid {
    padding: 0;
}

#memberCatModal .row {
    margin: 0;
}

#memberCatModal .row>* {
    padding: 0 6px;
}

.mfp-content .ajax-container {
    border-radius: 12px;
}

.posts-container.row {
    display: flex;
    flex-wrap: wrap;
}

.posts-container .post-grid {
    display: flex;
}

.posts-container .post-grid .grid-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.posts-container .post-grid .post-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.posts-container .post-grid .post-excerpt {
    flex: 1 1 auto;
}

.blog-posts .post .entry-title {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

article.post .post-image .owl-lazy:not(.owl-lazy-loaded) {
    border-radius: 12px 12px 0px 0px;
}

article.post-grid .post-image.single {
    margin-bottom: -15px;
}









.post-grid .grid-box {
    background-color: #f4f6f8;
    border-radius: 12px;
}

.post-grid .post-content {
    padding: 5px 25px;
}

.post-grid .clearfix {
    padding: 0px 25px;
}

.sort-source>li>a {
    padding: 10px 20px;
    border-radius: 25px;
}

.thumb-info-title {
    font-size: 19px !important;
    letter-spacing: 0em !important;
}

.member-image img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Добавьте эти же стили для видео */
.member-image video {
    height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
    /* если нужны скругленные углы */
}

.branch-header {
    color: #1C252E;
    background: #f9f4ec;
    padding: 7px 10px;
    border-radius: 5px 0px 5px 0px;
}

.drop--two-columns .icon-circle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    margin-right: 10px;
}

.drop--two-columns .icon-circle i {
    font-size: 14px;
    color: #555;
}

.drop--two-columns .icon-circle .contact-icon {
    width: 16px;
    height: 16px;
}

/* При наведении на иконки в колонках */
.drop--two-columns .drop__item a:hover .icon-circle,
.drop--two-columns .drop__item--info p:hover .icon-circle {
    background: #a694d1;
}

.drop--two-columns .drop__item a:hover .icon-circle i,
.drop--two-columns .drop__item--info p:hover .icon-circle i {
    color: #fff;
}

.drop--two-columns .drop__item a:hover .icon-circle .contact-icon,
.drop--two-columns .drop__item--info p:hover .icon-circle .contact-icon {
    filter: brightness(0) invert(1);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .drop--two-columns .icon-circle {
        width: 28px;
        height: 28px;
        min-width: 28px;
        margin-right: 8px;
    }

    .drop--two-columns .icon-circle i {
        font-size: 12px;
    }

    .drop--two-columns .icon-circle .contact-icon {
        width: 14px;
        height: 14px;
    }
}

/* Серый круг для иконок */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.icon-circle i {
    font-size: 14px;
    color: #555;
    line-height: 1;
}

.icon-circle .contact-icon {
    width: 16px;
    height: 16px;
    display: block;
}

/* При наведении */
.drop__item a:hover .icon-circle,
.drop__item--info p:hover .icon-circle {
    background: #a694d1;
}

.drop__item a:hover .icon-circle i,
.drop__item--info p:hover .icon-circle i {
    color: #fff;
}

.drop__item a:hover .icon-circle .contact-icon {
    filter: brightness(0) invert(1);
}

/* Стили для ссылок */
.drop__item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1C252E;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.drop__item a:hover {
    color: #e14d43;
}

.drop__item a span:last-child {
    line-height: 1.4;
}

/* Стили для часов работы */
.drop__item--info p {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 1px 0;
    transition: color 0.3s ease;
    cursor: default;
}

.drop__item--info p:hover {
    color: #a694d1;
}

.drop__item--info p:hover .icon-circle .contact-icon {
    filter: brightness(0) invert(1);
}

.drop__item--info p span:last-child {
    line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cerv {
        padding: 1em;
        margin-bottom: 3em !important;
    }

    .icon-circle {
        width: 28px;
        height: 28px;
        min-width: 28px;
        margin-right: 8px;
    }

    .icon-circle i {
        font-size: 12px;
    }

    .icon-circle .contact-icon {
        width: 14px;
        height: 14px;
    }

    .drop__item a {
        font-size: 14px;
    }

    .drop__item--info p {
        font-size: 14px;
    }
}

.drop--two-columns {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 550px !important;
}

.drop--two-columns .drop__box {
    flex: 1;
    min-width: 0;
    padding: 0px;
    box-shadow: none !important;
}

.drop--two-columns .drop__box img {
    height: auto;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .drop--two-columns {
        flex-direction: column;
        gap: 20px;
        min-width: auto;
        padding: 15px;
    }
}

/* Стили для элементов (сохраняем ваши исходные стили) */
.drop__item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    text-decoration: none;
    color: #555;
    font-size: 14px;
}

.drop__item a:hover {
    color: #007bff;
}

.drop__item--info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 3px 0;
    color: #555;
}

.drop__item--info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}



.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    position: relative;
}

.slide-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.survey-form__checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #9e9e9e;
    /* Серый цвет */
    transform: scale(1.2);
    /* Делает шире и больше */
    margin-right: 10px;
}

/* Для сохранения пропорций при увеличении */
.survey-form__checkbox {
    display: flex;
    align-items: center;
}



#header .menu-custom-block .tip,
.mega-menu>li.menu-item>a .tip {
    position: absolute;
    top: -14px;
    right: 2px;
    padding: 2px 6px;
    border-radius: 5px;
}



.bg-gradient-primary {
    background: #f4f6f8;
}

.custom-testimonial {
    box-shadow: 0 20px 60px 0 rgba(0, 0, 0, 0.08);
}

#header.sticky-header .header-main.sticky {
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.0509803922);
    backdrop-filter: blur(9px);
    background-color: rgb(255 255 255 / 20%);
}

.about__card-2 {
    background-color: #a694d1;
    border-radius: 12px;
    padding: 20px;
}

.about__card-dms {
    background-color: #f4f6f8;
    border-radius: 12px;
    padding: 20px;
    min-height: 230px;
}

.about__card-dms-icon {
    background-color: #f4f6f8;
    border-radius: 12px;
    padding: 40px;
    min-height: 130px;
}

.about__card {
    background-color: #f4f6f8;
    border-radius: 12px;
    padding: 20px;
}

.about__ratingStars svg path {
    fill: #f8d675;
}

.about__workers {
    display: flex;
    align-items: center;
}

.about__worker:first-child {
    margin-left: 0;
}

.about__worker {
    display: flex;
    width: 48px;
    min-width: 48px;
    height: 48px;
    background-color: #fff;
    padding: 1px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: -10px;
}

.about__worker img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.about__worker--plus {
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#side-nav-panel .accordion-menu>li.menu-item a {
    font-weight: 500;
    text-transform: inherit;
    letter-spacing: 0.5px;
}

.about__worker--plus svg path {
    transition: all 0.3s ease;
}

.thumb-info-no-borders .thumb-info-wrapper {
    border-radius: 12px !important;
}

.lead {
    font-weight: 400;
}

.member-carousel .member-item {
    margin-bottom: 0px;
}

.tel-block {
    background-color: #F4F6F8;
    padding: 4em;
    border-radius: 12px;
    background-image: url(/wp-content/themes/pigmalion-child/images/rr.webp);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.tel-member {
    background-color: #F4F6F8;
    padding: 2em;
    border-radius: 12px;
}

.phone-form-horizontal {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

/* Поле ввода - занимает всё свободное место */
.phone-form-horizontal .phone-field {
    flex: 1;
}

.phone-form-horizontal .phone-field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 20px;
    color: #1e215d;
    background: #fff;
    border: 0px solid #ddd;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
}

.phone-form-horizontal .phone-field input:focus {
    border-color: #999;
}

.phone-form-horizontal .phone-field input::placeholder {
    color: #aaa;
}

/* Кнопка - фиксированная ширина */
.phone-form-horizontal .submit-btn {
    padding: 14px 24px;
    background: #1a1a1a;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.phone-form-horizontal .submit-btn:hover {
    background: #333;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
    .phone-form-horizontal {
        flex-direction: column;
        gap: 10px;
    }

    .phone-form-horizontal .submit-btn {
        width: 100%;
    }
}


.custom-slider-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1300px;
    margin-inline: auto;
    /* заменяет margin: 0 auto, работает стабильнее */
}

/* ЛЕВАЯ ЧАСТЬ - СЛАЙДЕР */
.slider-left {
    flex: 2;
    min-width: 280px;
    height: 500px;
}

/* ПРАВАЯ ЧАСТЬ */
.static-right {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 500px;
}

.static-right .static-card {
    flex: 1;
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

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

.static-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
}

.card-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.static-card-content h4 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    flex: 1;
}

.static-card-content .btn-more {
    display: inline-block;
    background: #FFAB00;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.static-card-content .btn-more:hover {
    background: #FFAB00;
    transform: translateY(-2px);
}

.static-card:hover .static-card-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* КАСТОМНЫЙ СЛАЙДЕР */
.custom-slider {
    position: relative;
    background: #f5f5f5;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}

.slides-container {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
}

.slide a {
    display: block;
    height: 100%;
    text-decoration: none;
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 40px;
    /* opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease; */
}

.slide-description {
    color: #e6eaf7;
    width: 70%;
}

.slide:hover .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h3 {
    color: white;
    margin: 15px 0px 0px 0px;
    font-size: 2.3em;
    font-weight: 600;
    bottom: 14px;
    position: relative;
    width: 70%;
    text-transform: uppercase;
    line-height: normal;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: #FFAB00;
    color: white;
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 70px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dot.active {
    background: rgba(255, 255, 255, 0.3);
}

.dot-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #FFAB00;
    border-radius: 2px;
}

@media (max-width: 992px) {

    .slider-left,
    .static-right {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .custom-slider-grid {
        flex-direction: column;
    }

    .slider-left {
        height: 400px;
    }

    .static-right {
        height: auto;
        gap: 15px;
    }

    .static-right .static-card {
        height: 250px;
    }

    .slide-content h3 {
        font-size: 18px;
    }

    .static-card-content h4 {
        font-size: 16px;
    }

    .card-text {
        flex-direction: column;
        align-items: flex-start;
    }

    .static-card-content .btn-more {
        white-space: normal;
        font-size: 12px;
        padding: 6px 15px;
    }

    .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .dot {
        width: 30px;
    }

    .slider-dots {
        left: 15px;
        bottom: 15px;
    }
}

.unique-phone-block {
    display: inline-block;
}

.unique-phone-block__link {
    display: inline-flex;
    align-items: center;
    /* Иконка выравнивается по центру всей телефонной группы */
    gap: 12px;
    text-decoration: none;
}

/* Телефонная группа (код + номер) - сохраняем колонку */
.unique-phone-block__phone-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.unique-phone-block__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
    background: rgb(75 75 75 / 6%);
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.unique-phone-block__icon svg {
    display: block;
}

.unique-phone-block__icon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
    background: #a6b08e;
    width: 37px;
    height: 37px;
    border-radius: 8px;
}

/* Код города - мелкий шрифт */
.unique-phone-block__code {
    font-size: 16px;
    line-height: 1.2;
    color: #919EAB;
}

.unique-phone-block__code2 {
    font-size: 12px;
    line-height: 1.2;
    color: #919EAB;
    font-weight: 500;
}

/* Основной номер - крупный шрифт */
.unique-phone-block__number {
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    color: #1C252E;
}

.unique-phone-block__number2 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #1C252E;
}

/* Опционально: ховер эффект */
.unique-phone-block__link:hover .unique-phone-block__number {
    color: #a694d1;
}


.organization-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.organization-card {
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.organization-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

.organization-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.organization-card__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #f4f6fb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #a694d1;
}

.organization-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #a694d1;
}

.organization-card__description {
    line-height: 1.6;
}

.organization-card__description p {
    margin: 0 0 12px 0;
}

.organization-card__description p:last-child {
    margin-bottom: 0;
}

.organization-card__description ul,
.organization-card__description ol {
    margin: 8px 0;
    padding-left: 20px;
}

.organization-card__description li {
    margin: 4px 0;
}

.organization-card__description a {
    color: #a694d1;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.organization-card__description a:hover {
    border-bottom-color: #a694d1;
}

.organization-card__description strong {
    font-weight: 600;
    color: #111;
}

.organization-card__description em {
    font-style: italic;
}

/* Адаптив */
@media (max-width: 768px) {
    .sidebar-items {
        padding: 1em;
    }

    .organization-list {
        gap: 16px;
    }

    .organization-card {
        padding: 18px 20px;
    }

    .organization-card__header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .organization-card__icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 20px;
    }

    .organization-card__title {
        font-size: 16px;
    }

    .organization-card__description {
        font-size: 14px;
        line-height: 1.5;
    }
}



.ads-card__btn {
    padding: 15px 30px;
    border-radius: 8px;
    background: #a694d1;
    letter-spacing: 1px;
    color: #fff !important;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
    text-transform: uppercase;
    font-weight: 500;
}

.vc_column_container>.vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.survey-form__radios .wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.survey-form__radios .wpcf7-list-item {
    margin: 0;
    display: block;
}

.survey-form__radios .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #fff;

    cursor: pointer;
    transition: .2s ease;
}

.survey-form__radios .wpcf7-list-item label:hover {
    border-color: #a694d1;
    background: #f7f8ff;
}

.survey-form__radios input[type="radio"] {
    margin: 0;
    accent-color: #a694d1;
}

.survey-form__radios .wpcf7-list-item-label {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

/* ACTIVE */

.survey-form__radios input[type="radio"]:checked+.wpcf7-list-item-label {
    color: #a694d1;
    font-weight: 700;
}

.survey-form__radios label:has(input[type="radio"]:checked) {
    border-color: #a694d1;
    background: #eef1ff;
}

/* ERROR */

.survey-form__radios .wpcf7-not-valid-tip {
    width: 100%;
    margin-top: 10px;
    color: #dc3232;
    font-size: 13px;
}

.survey-form {
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
}

.survey-form__header {
    margin-bottom: 30px;
}

.survey-form__title {
    font-size: 22px;
    color: #a694d1;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #f2f2f2;
}

.survey-form__field {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f5f5f5;
}

.survey-form__label {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

.survey-form__star {
    color: #e53935;
}

/* INPUT */

.survey-form__input {
    width: 100%;
    max-width: 420px;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: .2s;
}

.survey-form__input:focus {
    outline: none;
    border-color: #a694d1;
    box-shadow: 0 0 0 3px rgba(37, 40, 113, .08);
}

/* RADIO */

.survey-form__radios {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.survey-form__radios .wpcf7-list-item {
    margin: 0;
}

.survey-form__radios label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.survey-form__radios input[type="radio"] {
    margin: 0;
    accent-color: #a694d1;
}

/* RATING */

.survey-form__rating {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.survey-form__rating .wpcf7-list-item {
    margin: 0px 5px;
}

.survey-form__rating label {
    position: relative;
    cursor: pointer;
}

.survey-form__rating input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.survey-form__rating .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f4f6fb;
    font-weight: 600;
    transition: .2s;
}

.survey-form__rating input[type="radio"]:checked+.wpcf7-list-item-label {
    background: #a694d1;
    color: #fff;
}

.survey-form__rating label:hover .wpcf7-list-item-label {
    background: #e6eaf7;
}

/* CHECKBOX */

.survey-form__consent {
    margin-top: 30px;
}

.survey-form__checkbox {
    margin-bottom: 14px;
}

.survey-form__checkbox .wpcf7-list-item {
    margin: 0;
}

.survey-form__checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
}

.survey-form__checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #a694d1;
}

/* BUTTON */

.survey-form__submit {
    margin-top: 36px;
}

.survey-form__btn {
    width: 100%;
    max-width: 320px;
    height: 52px;
    background: #a694d1;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.survey-form__btn:hover {
    background: #1d205c;
}

/* MOBILE */

@media (max-width: 768px) {

    .survey-form {
        padding: 20px;
        margin: 0px;
    }

    .survey-form__title {
        font-size: 18px;
    }

    .survey-form__rating {
        gap: 8px;
    }

    .survey-form__rating .wpcf7-list-item-label {
        width: 42px;
        height: 42px;
    }

    .survey-form__btn {
        max-width: 100%;
    }

    .tel-block {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}


.tax-form {
    padding: 32px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.tax-form:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

.tax-form__description {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tax-form__notice {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.tax-form__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.tax-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tax-form__label {
    font-weight: 500;
}

.tax-form__required {
    color: #e74c3c;
}

.tax-form__input,
.tax-form__select {
    width: 100%;
    padding: 12px 16px;
    line-height: 1.5;
    color: #111;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.tax-form__input:focus,
.tax-form__select:focus {
    outline: none;
    border-color: #a694d1;
    box-shadow: 0 0 0 3px rgba(37, 40, 113, 0.1);
}

.tax-form__input::placeholder {}

.tax-form__hint {
    display: block;
    margin-top: 6px;
    line-height: 1.4;
}

/* Кнопка добавить пациента */
.tax-form__actions {
    margin: 20px 0;
}

.tax-form__btn--add {
    padding: 10px 20px;
    background: #f4f6fb;
    color: #a694d1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tax-form__btn--add:hover {
    background: #e8ebf5;
    border-color: #a694d1;
}

/* Чекбоксы */
.tax-form__consent {
    margin: 28px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tax-form__checkbox {
    display: flex;
    align-items: center;
}

.tax-form__checkbox-input {
    width: auto;
    margin-right: 10px;
    transform: scale(1.1);
    cursor: pointer;
}

.tax-form__checkbox .wpcf7-list-item-label {
    cursor: pointer;
}

/* Кнопка отправки */
.tax-form__submit {
    margin-top: 24px;
}

.tax-form__submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #a694d1;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tax-form__submit-btn:hover {
    background: #1a1f5a;
    transform: translateY(-1px);
}

.tax-form__submit-btn:active {
    transform: translateY(0);
}

/* Адаптив */
@media (max-width: 768px) {
    .tax-form {
        padding: 20px;
        margin: 0px;
    }

    .tax-form__description {
        font-size: 14px;
    }

    .tax-form__label {
        font-size: 13px;
    }

    .tax-form__input,
    .tax-form__select {
        padding: 10px 14px;
        font-size: 13px;
    }
}






.toggle-lg .toggle>label {
    border-radius: 12px;
}

.toggle>label {
    padding: 20px;
    border-radius: 12px;
}

.toggle>.toggle-content {
    background-color: #F9FAFB;
    padding: 20px;
    margin-top: 10px;
    border-radius: 12px;
}


.doctor-stats {
    margin: 20px 0;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.doctor-stats__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    line-height: 1.5;
}

.doctor-stats__item:last-child {
    border-bottom: none;
}

.doctor-stats__label {
    font-weight: 700;
    color: #1e215d;
    min-width: 140px;
}

.doctor-stats__value {
    color: #111;
    font-weight: 500;
    text-align: right;
}

.radiyses img {
    border-radius: 12px;
}

/* Адаптив */
@media (max-width: 768px) {
    .doctor-stats {
        padding: 12px 16px;
        margin: 15px 0;
    }

    .doctor-stats__item {
        flex-direction: column;
        padding: 8px 0;
        gap: 4px;
    }

    .doctor-stats__label {
        min-width: auto;
    }

    .doctor-stats__value {
        text-align: left;
    }
}









.info-block {
    margin: 30px 0;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.info-block:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

.info-block__title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f4f6fb;
    position: relative;
}

.info-block__title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #FFAB00;
}

.info-block__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-block__item {
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.5;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-block__item:last-child {
    border-bottom: none;
}

.info-block__item::before {
    content: '—';
    color: #fdc500;
    font-weight: bold;
    font-size: 16px;
}

/* Shortcode wrapper */
.shortcode-wrapper {
    margin: 30px 0;
    padding: 0;
}



/* Адаптив */
@media (max-width: 768px) {
    .info-block {
        padding: 16px 18px;
        margin: 20px 0;
    }

    .info-block__title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .info-block__item {
        font-size: 13px;
        padding: 8px 0;
    }
}

.dis img {
    width: 100%;
}

.thumb-info img {
    border-radius: 12px;
}

.legal-links {
    margin: 20px 0;
}

.tfrr {
    text-align: right;
}

.legal-links__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 20px;
}

.legal-links__nav--secondary {
    margin-bottom: 0;
}

.legal-links__item {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.legal-links__item:hover {
    color: #a694d1;
}

/* Разделители между ссылками в верхнем ряду */
.legal-links__nav--primary .legal-links__item {
    position: relative;
}

.legal-links__nav--primary .legal-links__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #ddd;
}

/* Адаптив */
@media (max-width: 768px) {
    .tfrr {
        text-align: left;
    }

    .legal-links__container {
        padding: 0 16px;
    }

    .legal-links__nav {
        gap: 5px;
        row-gap: 12px;
    }

    .legal-links__item {
        font-size: 12px;
    }

    /* Убираем разделители на мобилках */
    .legal-links__nav--primary .legal-links__item:not(:last-child)::after {
        display: none;
    }
}

#header .menu-custom-block .tip:before,
.mega-menu>li.menu-item>a .tip:before {
    bottom: -6px;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent--visible {
    transform: translateY(0);
}

.cookie-consent__container {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 18px 24px;
    background: rgb(255 255 255 / 63%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
}

.cookie-consent__content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-consent__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: #f4f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #a694d1;
}

.cookie-consent__text {
    flex: 1;
}

.cookie-consent__text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.cookie-consent__text p {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-consent__btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.cookie-consent__btn--accept {
    background: #a694d1;
    color: #fff;
}

.cookie-consent__btn--accept:hover {
    background: #1a1f5a;
    transform: translateY(-1px);
}

.cookie-consent__btn--accept:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent__container {
        margin: 0 16px 16px;
        padding: 16px 18px;
        flex-direction: column;
        gap: 16px;
    }

    .cookie-consent__content {
        width: 100%;
    }

    .cookie-consent__icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 20px;
    }

    .cookie-consent__text strong {
        font-size: 14px;
    }

    .cookie-consent__text p {
        font-size: 12px;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }
}

.branch-card {
    display: block;
    cursor: pointer;
}

.branch-card input {
    display: none;
}

.branch-card-inner {
    display: flex;
    gap: 16px;
    padding: 10px;
    height: 100%;
    border-radius: 10px;
    background: #f8f9fa;
    transition: border-color .2s ease, box-shadow .2s ease;
    border: 1px solid #f8f9fa;
}

.btn-s {
    padding: 18px 7px !important;
    border-radius: 10px;
    font-size: 16px !important;
    border: 0px;
}

.branch-card:hover .branch-card-inner,
.branch-card input:checked+.branch-card-inner {
    border-color: #FFF5CC;
}

.branch-card input:checked+.branch-card-inner {
    background-color: #FFF5CC;
    color: #B76E00;
}

.branch-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e6f6f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgb(183 110 0 / 10%);
}

.branch-title {
    font-size: 16px;
    font-weight: 600;
}

.branch-sub {
    font-size: 12px;
}

#header .main-menu>li.menu-item.active>a {
    border-radius: 25px;
}

#header .main-menu>li.menu-item.active:hover>a,
#header .main-menu>li.menu-item:hover>a {
    border-radius: 25px;
}

#header .main-menu>li.menu-item.active:focus>a,
#header .main-menu>li.menu-item:focus>a {
    border-radius: 25px;
}

.date-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-scroll {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.date-scroll::-webkit-scrollbar {
    display: none;
}

.date-scroll.dragging {
    cursor: grabbing;
    user-select: none;
}

.date-item {
    position: relative;
    min-width: 106px;
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.date-item.today {
    border: 2px solid #9d747c;
}

.date-item.active {
    background: #9d747c;
    color: #fff;
}

.date-item.disabled {
    opacity: .35;
    pointer-events: none;
}

.date-day {
    font-size: 22px;
    font-weight: 700;
}

.date-month {
    font-size: 14px;
}

.date-week {
    font-size: 13px;
    opacity: .8;
}

.date-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    padding: 0px 10px;
    border-radius: 8px;
    background: #a6b08e;
    color: #fff;
    white-space: nowrap;
}

.date-nav {
    background: #fff;
    border: none;
    font-size: 32px;
    padding: 0 12px;
    cursor: pointer;
    user-select: none;
}

.modal-content {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 10px;
}

.menu__item {
    list-style: none;
    position: relative;
    background: #fff;
    border-radius: 25px;
}

.menu__link {
    display: inline-block;
    padding: 5px 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu__link i {
    font-size: 18px;
    margin-right: 0px;
}

.drop {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.menu__item--drop:hover .drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.drop__box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px;
    margin-top: 5px;
}

.drop__item {
    margin-bottom: 10px;
}

.drop__item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.drop__item a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 7px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drop__item a i {
    font-size: 20px;
    min-width: 24px;
}

.drop__item a small,
.drop__item a .small-text {
    font-size: 11px;
    font-weight: normal;
    margin-left: auto;
}

.drop__item--info {
    margin-top: 5px;
}

.drop__item--info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #6c757d;
}

.drop__item--info p i {
    font-size: 18px;
    min-width: 24px;
}

.drop__item--info p:last-child {
    margin-bottom: 0;
}

.drop__title {
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 8px;
    display: inline-block;
}

article.post .post-meta {
    display: none;
}

@media (max-width: 768px) {
    .date-item {
        min-width: fit-content;
        padding: 12px;
    }

    .drop {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 10px;
    }

    .menu__item--drop:hover .drop {
        transform: translateY(0);
    }

    .drop__box {
        box-shadow: none;
        padding: 10px 0;
    }
}

.price-block {
    margin: 0px 0;
}

.price-block__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.price-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.price-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

.price-card__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-card__icon {
    width: 50px;
    height: 50px;
    min-width: 38px;
    border-radius: 10px;
    background: #FFF5CC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #FFAB00;
}

.price-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-card__code {
    font-size: 12px;
    color: #999;
}

.price-card__name {
    line-height: 1.3;
}

.price-card__name a {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
}

.price-card__name a:hover {
    color: #a694d1;
}


.price-card__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-card__price {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.global-search-wrapper {
    position: relative;
    display: flex;
    gap: 10px;
}

.global-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 20px;
    z-index: 1;
}

.global-search-input {
    flex: 1;
    padding: 14px 15px 14px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 20px !important;
    transition: all 0.3s ease;
    background: white;
}

.global-search-input:focus {
    outline: none;
    border-color: #a694d1;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.global-search-button {
    padding: 14px 30px;
    background: #a694d1;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.global-search-button:hover {
    background: #a694d1;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .global-search-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.global-search-container {
    position: sticky;
    top: 20px;
    z-index: 100;
    background: rgb(255 255 255 / 53%);
    backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
}

.global-search-wrapper {
    position: relative;
    display: flex;
    gap: 10px;
}

.global-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 20px;
    z-index: 1;
}

.global-search-input {
    flex: 1;
    padding: 14px 45px 14px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.global-search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.global-search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 20px;
    padding: 0;
    transition: color 0.2s;
    z-index: 1;
}

.global-search-clear:hover {
    color: #dc3545;
}

.search-stats {
    font-size: 13px;
    color: #6c757d;
}

.search-stats .found-count {
    background-color: #fff9ef;
    color: #ffab00;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

.price-card.hidden-by-search {
    display: none !important;
}

.price-block.hidden-category {
    display: none !important;
}

@media (max-width: 768px) {
    .global-search-input {
        padding: 12px 40px 12px 45px;
        font-size: 14px;
    }
}

.price-masonry__more-btn {
    padding: 8px 40px;
    border-radius: 8px;
    background: #FFAB00;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s;
    margin-top: 10px;
    border: 0px;
}

.price-masonry__more-btn:hover {
    background: #FFAB00;
    color: #FFF5CC !important;
}

.btn-readmore {
    padding: 10px 40px;
    border-radius: 8px;
    background: #fff !important;
    color: #212529;
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s;
    margin-top: 10px;
    border: 0px;
    margin-bottom: 20px;
}

.thumb-info-no-borders,
.thumb-info-no-borders .thumb-info-wrapper,
.thumb-info-no-borders img {
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 12px;
}

.porto-recent-members {
    margin-bottom: 0px !important;
}

.price-card__btn {
    padding: 8px 14px;
    border-radius: 8px;
    background: #a694d1;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.price-card__btn:hover {
    background: #FFAB00;
    color: #FFF5CC !important;
}

.price-card__btn:active {
    color: #fff !important;
}

.price-block--masonry {
    background-color: #F4F6F8;
    padding: 20px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .price-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .price-card__right {
        width: 100%;
        justify-content: space-between;
    }

    .price-card__btn {
        width: 100%;
        text-align: center;
    }
}

.documentation-block {
    margin: 40px 0;
}

.documentation-block__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.documentation-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.documentation-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.documentation-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

.documentation-card__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.documentation-card__icon {
    width: 50px;
    height: 50px;
    min-width: 38px;
    border-radius: 10px;
    background: #f4f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #a694d1;
}

.documentation-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.documentation-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}

.documentation-card__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.documentation-card__btn {
    padding: 8px 14px;
    border-radius: 8px;
    background: #a694d1;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.documentation-card__btn:hover {
    background: #1a1f5a;
    color: #fff;
}

.documentation-empty {
    text-align: center;
    padding: 40px 20px;
    background: #fafafa;
    border-radius: 12px;
    color: #999;
    font-style: italic;
}

.documentation-card__file_description {
    color: #C4CDD5;
}

@media (max-width: 768px) {
    .documentation-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .documentation-card__right {
        width: 100%;
        justify-content: space-between;
    }

    .documentation-card__btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================
   Documentation Archive (полный аналог price-block)
   ============================================ */

.documentation-archive {
    margin: 0 auto;
}

.documentation-archive .container {
    width: 100%;
}

.documentation-archive h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
    color: #111;
}

/* Documentation list */
.documentation-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

/* Doc preview card (полный аналог price-card) */
.doc-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.doc-preview:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

/* Левая часть с иконкой и контентом */
.doc-preview__left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

/* Иконка */
.doc-preview__icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 10px;
    background: #f4f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #a694d1;
}

/* Контент */
.doc-preview__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-preview__content h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.doc-preview__content h2 a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.doc-preview__content h2 a:hover {
    color: #a694d1;
}

/* Excerpt */
.doc-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* Files count */
.doc-files-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
}

/* Правая часть с кнопкой */
.doc-preview__right {
    display: flex;
    align-items: center;
}

/* Кнопка (аналог price-card__btn) */
.doc-preview__btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: #a694d1;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.doc-preview__btn:hover {
    background: #1a1f5a;
    color: #fff;
    transform: translateY(-1px);
}

.doc-preview__btn:active {
    transform: translateY(0);
}

/* Pagination (аналог кнопок) */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eee;
    color: #a694d1;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-numbers.current {
    background: #a694d1;
    border-color: #a694d1;
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    background: #f4f6fb;
    border-color: #ddd;
}

.pagination .dots {
    border: none;
    background: transparent;
}

.pagination .dots:hover {
    background: transparent;
}

/* Empty state */
.documentation-archive>.container>p:only-child {
    text-align: center;
    padding: 60px 20px;
    background: #fafafa;
    border-radius: 12px;
    color: #999;
    font-style: italic;
}

/* Responsive (как у price-card) */
@media (max-width: 768px) {
    .documentation-archive {
        padding: 24px 16px;
    }

    .documentation-archive h1 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .doc-preview {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 18px;
    }

    .doc-preview__left {
        width: 100%;
    }

    .doc-preview__right {
        width: 100%;
    }

    .doc-preview__btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .doc-preview__icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
    }

    .doc-preview__content h2 {
        font-size: 16px;
    }

    .pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
}



.child-pages-grid.columns-2 .child-page-item {
    flex: 0 0 calc(50% - 15px);
}

.child-pages-grid.columns-3 .child-page-item {
    flex: 0 0 calc(33.333% - 20px);
}

.child-pages-grid.columns-4 .child-page-item {
    flex: 0 0 calc(25% - 22.5px);
}

.child-page-item {
    background: #f4f6f8;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.child-page-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.child-page-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.child-page-item h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.child-page-item h3 a {
    text-decoration: none;
    color: #1e215d;
}

.child-page-item h3 a:hover {
    color: #a694d1;
}

.child-page-excerpt {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .child-pages-grid.columns-3 .child-page-item,
    .child-pages-grid.columns-4 .child-page-item {
        flex: 0 0 calc(47% - 10px);
    }

    .child-page-item h3 {
        font-size: 1.2em;
        line-height: 22px;
    }

    .page-top ul.breadcrumb {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .child-pages-grid .child-page-item {
        flex: 0 0 100%;
    }
}

/*Страховые организации */

/* Общие стили */
.insurance-organizations-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.insurance-organization-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    flex-direction: column;
}

.insurance-organization-item:hover {
    border-color: rgba(0, 124, 186, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Логотип */
.organization-image {
    margin: 0 0 16px 0;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.organization-image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Название */
.organization-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Описание */
.organization-description {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

/* Контакты */
.organization-contacts {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 12px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
}

.contact-row .icon {
    font-size: 14px;
    opacity: 0.6;
    width: 20px;
    flex-shrink: 0;
}

.contact-row a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
    word-break: break-all;
}

.contact-row a:hover {
    color: #9d747c;
}

/* Скрытые контакты */
.hidden-contacts {
    display: none;
    margin-top: 4px;
    padding-top: 4px;
}

.hidden-contacts.show {
    display: block;
}

/* Кнопка показать еще */
.toggle-contacts-btn {
    background: none;
    border: none;
    color: #9d747c;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.7;
    margin-top: 2px;
}

.toggle-contacts-btn:hover {
    opacity: 1;
}

.toggle-contacts-btn .count {
    background: rgb(157 116 124 / 29%);
    padding: 0 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #9d747c;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .insurance-organizations-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 16px;
    }
}

@media (max-width: 992px) {
    .insurance-organizations-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .insurance-organizations-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 8px;
    }

    .insurance-organization-item {
        padding: 16px;
    }

    .organization-image {
        height: 60px;
    }

    .organization-name {
        font-size: 15px;
    }
}

/* Для печати */
@media print {
    .insurance-organization-item {
        border: 1px solid #ddd;
        box-shadow: none !important;
        transform: none !important;
    }

    .toggle-contacts-btn {
        display: none;
    }

    .hidden-contacts {
        display: block !important;
    }
}

/* Организационная структура */
.structure,
.content .structure {
    list-style: none;
    margin: 0 0 0 10px;
    padding: 0;
    border-left: 3px solid #c1ecf4;
    width: auto;
    overflow: visible;
}

.structure li span,
.content .structure li span {
    border: 3px solid #c1ecf4;
    display: block;
    padding: 15px 15px 15px;
    background: #fff;
    font-weight: bold;
    color: #000;
    font-size: 12px;
    position: relative;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-left: -10px;
    font-size: 16px;
}

.structure li,
.content .structure li {
    padding: 0;
    margin: 0;
    line-height: 13px;
}

.structure ul .last,
.content .structure ul .last {

    margin-left: -3px;
    padding-left: 28px;
    position: relative;
}

.structure ul,
.content .structure ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0px;
    width: auto;
    overflow: visible;
}

.structure ul li,
.content .structure ul li {
    padding: 7px 0 0 25px;
}

.structure ul span,
.content .structure ul span {
    font-weight: normal;
    color: #303030;
    border: 3px solid #dfedf5;
    margin-left: 0px;
}

.structure ul ul,
.content .structure ul ul {
    border-left: 3px solid #dfedf5;
    margin-left: 8px;
    padding-left: 0px;
}

.structure ul ul span,
.content .structure ul ul span {
    border: 3px solid #f2eee2;
}

.structure ul ul li,
.content .structure ul ul li {}

.structure ul ul .last,
.content .structure ul ul .last {
    margin-left: -3px;
    padding-left: 28px;
    position: relative;
}

.rounded-10 .vc_box_rounded img {
    border-radius: 20px !important;
}

.heads {
    background-color: #eceee5;
    border-radius: 20px;
    padding: 2em;
}


/* Блок-ссылка: логотип слева, текст справа */
.rosminzdrav-link {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    max-width: 720px;
    width: 100%;
    text-decoration: none;
    /* убираем подчеркивание */
    color: inherit;
    /* наследуем цвет */
    border: 1px solid #dce3ec;
    transition: background 0.15s ease;
    min-height: 90px;
}

/* Логотип */
.rosminzdav__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.rosminzdav__logo img {
    display: block;
    width: 55px;
    height: auto;
}

/* Текстовая часть */
.rosminzdav__info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 11px;
}

.rosminzdav__sub {
    font-size: 0.9rem;
    color: #2c5778;
}

/* Для маленьких экранов — всё в колонку */
@media (max-width: 480px) {
    .rosminzdrav-link {
        flex-direction: column;
        text-align: center;
        padding: 18px 14px;
        gap: 10px;
    }
}

.sber-block {
    background: url(/wp-content/uploads/2026/08/1.jpg);
    background-position: left;
    background-size: inherit;
}

.nag-block {
    background: url(/wp-content/uploads/bbg.svg);
    background-position: center;
    background-size: inherit;
}

.checkup-title-block {
    text-decoration: none !important;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checkup-title-block:hover {
    text-decoration: none !important;
}

.checkup-title-card {
    background: #f3f2f2;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* --- Изображение --- */
.checkup-title-image {
    height: 200px;
    overflow: hidden;
    background: #f5f8f2;
    flex-shrink: 0;
}

.checkup-title-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.checkup-title-block:hover .checkup-title-image img {
    transform: scale(1.05);
}

.checkup-title-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f5ed;
    color: #b8c9ae;
    font-size: 14px;
    font-weight: 500;
}

/* --- Заголовок --- */
.checkup-title-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #552730;
    margin: 0;
    padding: 20px 24px 24px;
    transition: color 0.3s ease;
    text-align: left;
    line-height: 1.4;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 115px;
}

.checkup-title-block:hover .checkup-title-card h3 {
    color: #552730;
}

/* --- Адаптивность --- */
@media (max-width: 992px) {
    .checkup-title-image {
        height: 180px;
    }

    .checkup-title-card h3 {
        font-size: 18px;
        padding: 16px 20px 20px;
    }
}

@media (max-width: 768px) {
    .checkup-title-image {
        height: 200px;
    }

    .checkup-title-card h3 {
        font-size: 17px;
        padding: 14px 18px 18px;
    }
}

@media (max-width: 480px) {
    .checkup-title-image {
        height: 200px;
    }

    .checkup-title-card h3 {
        font-size: 16px;
        padding: 12px 16px 16px;
    }
}

/* ============================================
   СТИЛИ ДЛЯ АРХИВА С КАРТОЧКАМИ-ССЫЛКАМИ
   ============================================ */

/* --- Ссылка-обертка --- */
.checkup-card-link {
    text-decoration: none !important;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checkup-card-link:hover {
    text-decoration: none !important;
}

/* --- Карточки --- */
.checkup-card-archive {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    border: 1px solid #f4f4f4;
}

.checkup-card-link:hover .checkup-card-archive {
    transform: translateY(-8px);
    box-shadow: 0 8px 8px #9c7f811f;
}

/* --- Изображение --- */
.card-img-top-wrapper {
    height: 250px;
    overflow: hidden;
    background: #f5f8f2;
    flex-shrink: 0;
}

.card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.checkup-card-link:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

.card-img-top-wrapper.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f5ed;
}

.no-image-placeholder {
    color: #b8c9ae;
    font-size: 14px;
    font-weight: 500;
}

/* --- Тело карточки --- */
.checkup-card-archive .card-body {
    padding: 24px 26px 26px;
    background: #f3f2f2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.checkup-card-archive .card-title {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 50px;
    transition: color 0.2s ease;
}

.checkup-card-link:hover .checkup-card-archive .card-title {
    color: #9c7f81;
}

.checkup-card-archive .card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #9c7f81;
    margin-bottom: 16px;
    flex: 1;
}

/* --- Цена --- */
.price-tag {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 30px;
    border: 2px solid #9c7f81;
    margin-bottom: 0;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.price-tag .price-value {
    font-weight: 700;
    color: #9c7f81;
    font-size: 18px;
    transition: color 0.2s ease;
}

/* --- Фильтры --- */
.checkup-filters .btn-outline-primary {
    color: #a694d1;
    border-color: #a694d1;
    border-radius: 30px !important;
    padding: 8px 22px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.checkup-filters .btn-outline-primary:hover,
.checkup-filters .btn-outline-primary.active {
    background: #a694d1;
    color: white;
    border-color: #a694d1;
}

.checkup-filters .btn-outline-primary .badge {
    background: #f0f5ed !important;
    color: #4a5f4a !important;
    font-weight: 500;
}

.checkup-filters .btn-outline-primary:hover .badge,
.checkup-filters .btn-outline-primary.active .badge {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
}

/* --- Пагинация --- */
.pagination {
    gap: 4px;
    justify-content: center;
}

.pagination .page-item .page-link {
    color: #a694d1;
    border-radius: 8px;
    border: 1px solid #e8eef0;
    padding: 8px 18px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.pagination .page-item .page-link:hover {
    color: #8f7bc4;
    background: #f5f3fb;
    border-color: #d4c8e8;
}

.pagination .page-item.active .page-link {
    background: #a694d1;
    border-color: #a694d1;
    color: white;
}

.pagination .page-item.active .page-link:hover {
    background: #8f7bc4;
    border-color: #8f7bc4;
}

.pagination .page-item.disabled .page-link {
    color: #c5d0b8;
    pointer-events: none;
    background: #f8faf6;
}

/* --- Стрелка-индикатор --- */
.checkup-card-archive::after {
    content: '→';
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 20px;
    color: #a694d1;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.checkup-card-link:hover .checkup-card-archive::after {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 992px) {
    .card-img-top-wrapper {
        height: 190px;
    }

    .checkup-card-archive .card-body {
        padding: 20px 22px 22px;
    }
}

@media (max-width: 768px) {
    .checkup-card-archive .card-body {
        padding: 18px 18px 20px;
    }

    .checkup-filters .btn-outline-primary {
        font-size: 13px;
        padding: 6px 16px;
    }

    .checkup-filters .d-flex {
        gap: 6px !important;
    }

    .card-img-top-wrapper {
        height: 170px;
    }

    .checkup-card-archive .card-title {
        font-size: 16px;
        min-height: 44px;
    }

    .pagination .page-item .page-link {
        padding: 6px 14px;
        font-size: 13px;
    }

    .checkup-card-archive::after {
        bottom: 14px;
        right: 18px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .card-img-top-wrapper {
        height: 150px;
    }

    .checkup-card-archive .card-body {
        padding: 14px 16px 16px;
    }

    .checkup-card-archive .card-title {
        font-size: 15px;
        min-height: auto;
        margin-bottom: 8px;
    }

    .price-tag {
        padding: 4px 16px;
    }

    .price-tag .price-value {
        font-size: 16px;
    }

    .checkup-card-archive .card-text {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .checkup-card-archive::after {
        display: none;
    }
}

/* --- Для IE и старых браузеров --- */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .checkup-card-archive {
        display: -ms-flexbox;
        -ms-flex-direction: column;
    }

    .checkup-card-archive .card-body {
        -ms-flex: 1;
    }
}

/* ============================================
       ПЕРЕРАБОТАННЫЕ СТИЛИ
       ============================================ */

.checkup-card-single {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgb(157 116 124 / 22%);
}

.checkup-card-single .card-header-custom {
    background: #9d747c;
    padding: 25px 30px;
    border: none;
}

.checkup-card-single .card-header-custom h3 {
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.3px;
}

.checkup-card-single .card-body-custom {
    background: #fafcf9;
    padding: 35px 40px;
}

.checkup-featured-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.checkup-featured-image img {
    width: 100%;
    height: auto;
}

/* --- Описание --- */
.checkup-description h4,
.checkup-includes h4,
.checkup-content h4 {
    color: #2d3d2d;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgb(157 116 124 / 22%);
}

.checkup-description p {
    color: #4a5f4a;
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

.checkup-content .content-wrap {
    color: #4a5f4a;
    line-height: 1.8;
    font-size: 16px;
}

.checkup-content .content-wrap h2,
.checkup-content .content-wrap h3 {
    color: #2d3d2d;
    margin-top: 25px;
}

.checkup-content .content-wrap ul,
.checkup-content .content-wrap ol {
    padding-left: 20px;
}

/* --- Список "Что входит" --- */
.checkup-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkup-list li {
    padding: 10px 0;
    color: #4a5f4a;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #f0f5ed;
    font-size: 15px;
    line-height: 1.6;
}

.checkup-list li:last-child {
    border-bottom: none;
}

.checkup-list .check-icon {
    color: #a694d1;
    font-weight: 700;
    font-size: 16px;
    min-width: 20px;
    display: inline-block;
    margin-top: 1px;
}

/* ============================================
       БЛОК ЦЕНЫ - ПЕРЕРАБОТАН
       ============================================ */
.price-block-single {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgb(157 116 124 / 22%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.price-info .price-label {
    font-weight: 500;
    font-size: 16px;
    color: #4a5f4a;
    letter-spacing: 0.3px;
}

.price-info .price-value {
    font-weight: 700;
    font-size: 30px;
    color: #9d747c;
    letter-spacing: -0.5px;
    padding: 6px 32px;
    border-radius: 30px;
    border: 2px solid #9d747c;
    line-height: 1.4;
}

.btn-zapis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #9d747c;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 42px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
    min-width: 160px;
}

.btn-zapis:hover {
    background: #8f7bc4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(166, 148, 209, 0.35);
    text-decoration: none;
}

.btn-zapis:active {
    transform: translateY(0);
    box-shadow: none;
}

/* --- Простой блок цены (без кнопки) --- */
.price-block-simple {
    background: #f0f5ed;
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid rgb(157 116 124 / 22%);
}

.price-block-simple .price-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.price-block-simple .price-label {
    font-weight: 500;
    font-size: 16px;
    color: #4a5f4a;
}

.price-block-simple .price-value {
    font-weight: 700;
    font-size: 26px;
    color: #2d412d;
}

.checkup-content-default {
    background: #fafcf9;
    border-radius: 16px;
    border: 1px solid #edf2e8;
}

/* ============================================
       АДАПТИВНОСТЬ
       ============================================ */
@media (max-width: 992px) {
    .checkup-card-single .card-body-custom {
        padding: 28px 24px;
    }

    .price-info .price-value {
        font-size: 26px;
        padding: 4px 24px;
    }

    .btn-zapis {
        padding: 12px 32px;
        min-width: 140px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .checkup-card-single .card-body-custom {
        padding: 24px 18px;
    }

    .checkup-card-single .card-header-custom {
        padding: 18px 20px;
    }

    .checkup-card-single .card-header-custom h3 {
        font-size: 19px;
    }

    .price-block-single {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding-top: 20px;
        margin-top: 24px;
    }

    .price-info {
        justify-content: center;
        gap: 12px;
    }

    .price-info .price-value {
        font-size: 24px;
        padding: 6px 20px;
    }

    .btn-zapis {
        width: 100%;
        padding: 14px 20px;
        min-width: unset;
        font-size: 16px;
    }

    .price-info .price-label {
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    .checkup-list li {
        font-size: 14px;
        padding: 8px 0;
    }

    .checkup-description p {
        font-size: 15px;
    }

    .checkup-content .content-wrap {
        font-size: 15px;
    }

    .price-block-simple .price-value {
        font-size: 22px;
    }

    .price-block-simple .price-info {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .checkup-card-single .card-body-custom {
        padding: 18px 14px;
    }

    .price-info .price-value {
        font-size: 20px;
        padding: 4px 16px;
    }

    .price-info {
        gap: 8px;
    }

    .btn-zapis {
        font-size: 15px;
        padding: 12px 16px;
    }
}

.vacancies-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 40px 0;
}

.vacancies-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.vacancies-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

/* Шапка карточки (кликабельная) */
.vacancies-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    cursor: pointer;
    background: var(--porto-title-bgc);
    transition: background 0.2s ease;
}

.vacancies-card__header:hover {
    background: #fafafa;
}

.vacancies-card__header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.vacancies-card__icon {
    width: 70px;
    height: 70px;
    min-width: 56px;
    background: rgb(222 228 208 / 65%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #dee4d0;
    margin-top: 2px;
}

/* Информация */
.vacancies-card__info {
    flex: 1;
}

.vacancies-card__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.vacancies-card__title p {
    margin: 0;
}

/* Зарплата - справа, крупно */
.vacancies-card__salary {
    font-size: 22px;
    font-weight: 700;
    color: #9d747c;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

/* Стрелка toggle */
.vacancies-card__header-right {
    margin-left: 4px;
}

.vacancies-card__toggle {
    display: inline-block;
    font-size: 16px;
    color: #999;
    transition: transform 0.3s ease;
}

.vacancies-card__header[aria-expanded="true"] .vacancies-card__toggle {
    transform: rotate(180deg);
}

/* Тело спойлера */
.vacancies-card__body {
    padding: 20px 24px;
    background: #fefefe;
    border-top: 1px solid #f0f0f0;
}

.vacancies-card__row {
    display: flex;
    margin-bottom: 14px;
}

.vacancies-card__row:last-child {
    margin-bottom: 0;
}

.vacancies-card__row-label {
    width: 200px;
    min-width: 200px;
    font-weight: 600;
}

.vacancies-card__row-value {
    flex: 1;
    line-height: 1.5;
}

.vacancies-card__row-value p {
    margin: 0 0 10px 0;
}

.vacancies-card__row-value p:last-child {
    margin-bottom: 0;
}

.vacancies-card__row-value ul,
.vacancies-card__row-value ol {
    margin: 5px 0;
    padding-left: 20px;
}

.vacancies-card__row-value a {
    color: #9d747c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.vacancies-card__row-value a:hover {
    border-bottom-color: #9d747c;
}

/* Адаптив */
@media (max-width: 768px) {
    .vacancies-card__header {
        padding: 16px 18px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .vacancies-card__header-left {
        gap: 12px;
        width: calc(100% - 50px);
    }

    .vacancies-card__icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 22px;
    }

    .vacancies-card__title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .vacancies-card__salary {
        font-size: 18px;
        order: 2;
        margin-left: auto;
    }

    .vacancies-card__header-right {
        order: 3;
    }

    .vacancies-card__body {
        padding: 16px 18px;
    }

    .vacancies-card__row {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 12px;
    }

    .vacancies-card__row-label {
        width: auto;
        min-width: auto;
    }

    .footer-items .vc_column_container {
        padding: 5em;
        background: #f3f2f2;
        border-radius: 20px;
    }

    .accordion-menu .tip {
        border-radius: 12px;
    }
}






.share-menu-block {
    max-width: 270px;
    width: 100%;
    display: flex;
    gap: 0px;
    justify-content: space-around;
    margin: -18px 0px;
    flex-wrap: wrap;
    background: #fff;
    padding: 0px 10px 10px 10px;
    border-radius: 0px 0px 12px 12px;
    position: absolute;
    box-shadow: 0px 6px 3px #919eab00, 2px 13px 20px 0px #919eab3d;
    z-index: 1;
}

.share-menu-block::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0px;
    width: 10px;
    height: 10px;
    background-image: url(/wp-content/uploads/2026/08/pil.svg);
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(0deg);
    pointer-events: none;
}

.share-menu-block a {
    padding: 10px;
    color: #fff !important;
}

.share-menu-block img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.share-menu-block::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0px;
    width: 10px;
    height: 10px;
    background-image: url(/wp-content/uploads/2026/08/pil.svg);
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(270deg);
    pointer-events: none;
}









.child-pages-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

.child-page-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #edf3f3;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.child-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    color: inherit;
    text-decoration: none;
}

.child-page-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #edf3f3;
}

.child-page-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.child-page-card:hover .child-page-card-image img {
    transform: scale(1.05);
}

.child-page-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 40px;
}

.child-page-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
    border-top: 1px solid #bdccc5;
}

.child-page-card-title {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.child-page-card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 15px;
    font-weight: 500;
    color: #748380;
}

.child-page-card-arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.child-page-card:hover .child-page-card-arrow {
    transform: translateX(5px);
}


/* Планшет */
@media (max-width: 1199.98px) {
    .child-pages-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Маленький планшет */
@media (max-width: 991.98px) {
    .child-pages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}


/* Мобильный */
@media (max-width: 575.98px) {
    .child-pages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .child-page-card-content {
        padding: 18px;
    }

    .child-page-card-title {
        font-size: 18px;
    }
}


.destinations-block {
    background-color: #dbe7e3;
    padding-top: 3em;
    padding-bottom: 7em;
}

.check-up-block {
    margin-top: -80px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

.activity-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    color: inherit;
    text-decoration: none;
}


/* Изображение */

.activity-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f3f3;
}

.activity-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-card-image img {
    transform: scale(1.05);
}


/* Иконка, если нет featured image */

.activity-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 40px;
}


/* Контент */

.activity-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.activity-card-title {
    margin: 0 0 0px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    background: linear-gradient(135deg, #B71D18, #FFAC82, #B76E00, #B71D18);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Кнопка */

.activity-card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #B71D18;
    text-align: center;
    justify-content: center;
    padding: 7px;
    border-radius: 12px;
}

.activity-card-arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.activity-card:hover .activity-card-arrow {
    transform: translateX(5px);
}



/* Планшет / небольшой desktop */
@media (max-width: 1199.98px) {

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

}


/* Планшет */
@media (max-width: 991.98px) {

    .activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}


/* Мобильный */
@media (max-width: 575.98px) {

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .activity-card-content {
        padding: 18px;
    }

    .activity-card-title {
        font-size: 18px;
    }

}


.activity-card-subtitle {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    color: #777;
}

.pain-block {
    padding: 3em 3em 1em 3em;
    border-radius: 20px;
    background-color: #f5f5f5;
    margin-top: 3em;
}


.general-banner {
    max-height: 550px;
    border-radius: 20px;
}

.anima-title .porto-u-main-heading h2 {
    background: linear-gradient(135deg, #B71D18, #FFAC82, #B76E00, #B71D18);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}



.tabs-wrapper-shortcode {
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 36px;
    padding: 32px 30px 40px;
    border: 1px solid rgb(164 164 164 / 35%);
    margin-top: 2em;
}

.tabs-header-shortcode {
    position: relative;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.025);
    border-radius: 20px;
    padding: 8px;
    margin-bottom: 34px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.tab-btn-shortcode {
    flex: 1;
    padding: 12px 16px 10px;
    border: none;
    background: transparent;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    position: relative;
    z-index: 2;
    user-select: none;
}

.tab-btn-shortcode .tab-label {
    display: flex;
    align-items: center;
    gap: 30px;
}

.tab-btn-shortcode .tab-label span {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.tab-btn-shortcode .tab-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.tab-btn-shortcode .tab-title {
    font-weight: 600;
    font-size: 20px;
    color: #4a5a6e;
    transition: color 0.3s ease;
}

.tab-btn-shortcode.active .tab-title {
    color: #0b1a2b;
    font-weight: 600;
}

.tab-btn-shortcode .tab-subtitle {
    font-size: 0.68rem;
    font-weight: 400;
    color: #8a9aa8;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    margin-top: 1px;
}

.tab-btn-shortcode.active .tab-subtitle {
    color: #552730;
    font-weight: 500;
}

.tab-btn-shortcode:hover:not(.active) .tab-icon {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.9);
}

.tab-btn-shortcode:hover:not(.active) .tab-title {
    color: #1f3349;
}

.tab-slider-shortcode {
    position: absolute;
    bottom: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(33.333% - 6px);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.tab-slider-shortcode.slide-1 {
    transform: translateX(0);
}

.tab-slider-shortcode.slide-2 {
    transform: translateX(calc(100% + 8px));
}

.tab-slider-shortcode.slide-3 {
    transform: translateX(calc(200% + 16px));
}

.tabs-body-shortcode {
    padding: 6px 4px 0;
}

.tab-panel-shortcode {
    display: none;
    animation: fadeSlide 0.45s ease forwards;
}

.tab-panel-shortcode.active {
    display: block;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel-shortcode h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0b1a2b;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.grid-cards-shortcode {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.grid-cards-shortcode .card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 18px 16px;
    border-radius: 18px;
    font-weight: 500;
    color: #1a2c3f;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    font-size: 0.98rem;
}

.grid-cards-shortcode .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
}

.specialities-list-shortcode {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specialities-list-shortcode li {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    padding: 16px 22px;
    border-radius: 16px;
    font-weight: 500;
    color: #1a2c3f;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.specialities-list-shortcode li::before {
    content: "▹";
    color: #2b6a9e;
    font-size: 1.2rem;
}

.specialities-list-shortcode li:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.services-shortcode {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-item-shortcode {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.service-item-shortcode:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.service-icon-shortcode {
    font-size: 2rem;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}

.service-item-shortcode strong {
    display: block;
    font-weight: 600;
    color: #0b1a2b;
    font-size: 1.05rem;
}

.service-item-shortcode p {
    color: #4a5a6e;
    font-size: 0.92rem;
    margin-top: 2px;
    font-weight: 400;
}

@media (max-width: 700px) {
    .tabs-wrapper-shortcode {
        padding: 20px 16px 28px;
        border-radius: 28px;
    }

    .tab-btn-shortcode .tab-icon {
        width: 32px;
        height: 32px;
    }

    .tab-btn-shortcode .tab-label {
        gap: 8px;
    }

    .tab-btn-shortcode .tab-title {
        font-size: 0.82rem;
    }

    .tab-btn-shortcode .tab-subtitle {
        font-size: 0.58rem;
    }

    .tab-slider-shortcode {
        display: none;
    }

    .tab-btn-shortcode.active {
        background: rgba(255, 255, 255, 0.6);
        border-radius: 30px;
    }

    .tabs-header-shortcode {
        gap: 4px;
        padding: 4px;
        border-radius: 30px;
    }

    .grid-cards-shortcode {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .grid-cards-shortcode .card {
        padding: 14px 12px;
        font-size: 0.88rem;
    }

    .specialities-list-shortcode li {
        padding: 14px 16px;
        font-size: 0.92rem;
    }

    .service-item-shortcode {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .tab-btn-shortcode .tab-label {
        flex-direction: column;
        gap: 4px;
    }

    .tab-btn-shortcode .tab-icon {
        width: 28px;
        height: 28px;
    }

    .tab-btn-shortcode .tab-title {
        font-size: 0.72rem;
    }

    .tab-btn-shortcode .tab-subtitle {
        font-size: 0.5rem;
    }

    .grid-cards-shortcode {
        grid-template-columns: 1fr;
    }

    .tab-btn-shortcode {
        padding: 10px 8px 8px;
    }
}


.banner-row {
    background-color: rgba(0, 0, 0, 0.025);
    padding-top: 50px;
    padding-bottom: 70px;
}

.action-block {
    background-color: rgb(245, 249, 247);
    border-radius: 20px;
    padding: 3em;
    min-height: 415px;
    background-image: url(/wp-content/uploads/2026/08/tab-b2-scaled.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: inherit;
    background-position: center top;
}

.cta-block {
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 36px;
    padding: 20px 30px 20px;
    border: 1px solid rgb(164 164 164 / 35%);
}

@media (max-width: 700px) {
    .tab-btn-shortcode .tab-label span {
        align-items: center;
    }

    .general-banner {
        max-height: 300px;
        border-radius: 20px;
        min-height: 300px;
    }

    .pain-block {
        padding: 2em 1em 1em 1em;
    }

    .share-menu-block {
        display: none;
    }
}

.header_top_back_call_trigger {
    display: inline-block;
    padding: 12px 20px;
    background-color: #a694d1;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transform-origin: right center;
    white-space: nowrap;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.header_top_back_call_trigger:hover {
    background-color: #8a7ab8;
}

.header_top_back_call_trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.call-button-container {
    position: fixed;
    top: 50%;
    right: 35px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: auto;
}

@media (max-width: 768px) {
    .call-button-container {
        display: none;
    }
}



/* ===== Полный формат (компактный, по центру) ===== */
.work-status.full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 10px;
    background: #fafafa;
    border: 2px solid #e8e8e8;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 350px;
    margin: 0 auto;
}

.work-status.full.open {
    background: #f0faf0;
    border-color: #81c784;
}

.work-status.full.closed {
    background: #faf0f0;
    border-color: #ef9a9a;
}

/* ===== Строка с индикатором и текстом ===== */
.work-status.full .status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 4px;
}

/* ===== Индикатор (кружок) ===== */
.work-status.full .status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.work-status.full .status-indicator.open {
    background-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    animation: pulse-green 2s infinite;
}

.work-status.full .status-indicator.closed {
    background-color: #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* ===== Текст статуса ===== */
.work-status.full .status-text {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
}

.work-status.full.open .status-text {
    color: #1b5e20;
}

.work-status.full.closed .status-text {
    color: #b71c1c;
}

/* ===== Режим работы ===== */
.work-status.full .status-schedule {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
}

.work-status.full.open .status-schedule {
    color: #2e7d32;
}

.work-status.full.closed .status-schedule {
    color: #c62828;
}

/* ===== Короткий формат ===== */
.work-status.short {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    background: #f5f5f5;
}

.work-status.short.open {
    background: #e8f5e9;
    border-color: #a5d6a7;
    color: #2e7d32;
}

.work-status.short.closed {
    background: #ffebee;
    border-color: #ef9a9a;
    color: #c62828;
}

.work-status.short .status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.work-status.short .status-indicator.open {
    background-color: #4CAF50;
}

.work-status.short .status-indicator.closed {
    background-color: #f44336;
}

/* ===== Адаптив для мобильных ===== */
@media (max-width: 480px) {
    .work-status.full {
        padding: 10px 16px;
        max-width: 100%;
    }

    .work-status.full .status-text {
        font-size: 15px;
    }

    .work-status.full .status-schedule {
        font-size: 12px;
    }

    .work-status.full .status-indicator {
        width: 10px;
        height: 10px;
    }
}

.custom-list {
    list-style: none;
    /* убираем стандартные точки */
    padding-left: 0;
}

.custom-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.custom-list li a {
    font-size: 15px;
    font-weight: 500;
}

.custom-list li::before {
    content: "•";
    color: #9d747c;
    font-size: 22px;
    position: absolute;
    left: 0;
    top: 1px;
}