/* ==================== БАЗА ==================== */
*{box-sizing:border-box; margin: 0; padding: 0;}
html { overflow-x: hidden; }
body{margin:0;font-family:'Roboto',Arial,sans-serif;color:#524f4f;background:#fff;line-height:1.4; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden;}
main { flex: 1 0 auto; display: block; margin: 0; padding: 0; }

a { color: #2C6AB3; text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s ease; }
a:hover, a:active { color: #10C1C3; }

ul{list-style:none;padding:0;margin:0}
img{max-width:100%;height:auto}
@media (min-width:1200px){ .container { max-width: 1240px; } }
.row > [class*="col-"], .row > [class^="col"] { min-width: 0; }

/* ==================== ТИПОГРАФИКА ==================== */
h1, .h1, .page-title { font-size: 30px !important; font-weight: 600 !important; line-height: 1.2; color: #2c6ab3; }
h2, .h2, .section-title { font-size: 26px !important; font-weight: 600 !important; line-height: 1.2; color: #2c6ab3; text-align: center; margin: 0 0 26px; }
h3, .h3 { font-size: 26px !important; font-weight: 500 !important; line-height: 1.3; }
h4, .h4 { font-size: 24px !important; font-weight: 600 !important; line-height: 1.3; }

.mobile-burger-real, .mobile-menu-close, .navbar-toggler, .navbar-toggler-icon, .menu-toggle, .mobile-menu-toggle, .navbar-toggler[data-bs-toggle="collapse"], button.mobile-burger { display: none !important; }

.site-logo-img { width: 100% !important; max-width: 360px !important; height: auto !important; object-fit: contain; display: block; }

/* ==================== HEADER ==================== */
.main-header {
    background-color: #2C6AB3 !important;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.main-header .navbar-nav .nav-link, .main-header .menu-list a, .menu-list .nav-link, .menu-list a { color: #ffffff !important; font-size: 20px !important; font-weight: 700 !important; text-transform: uppercase; padding: 12px 5px; text-decoration: none !important; transition: opacity 0.2s ease;}
.main-header .navbar-nav .nav-link:hover, .main-header .menu-list a:hover, .menu-list .nav-link:hover { color: #ffffff !important; opacity: 0.8; }
.menu-list{display:flex;justify-content:space-between;align-items:center;min-height:75px;gap:5px;}

.header-info-section{
    background-size: cover; 
    background-position: center top; 
    background-repeat: no-repeat; 
    padding: 20px 0; 
    margin: 75px 0 0 0; 
}
.header-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; width: 100%; flex-wrap: nowrap !important; height: 30px !important;}
.search-box{display: flex; align-items: center; border: 2px solid #10c3c6; height: 30px; width: 220px; background: #fff; flex-shrink: 0;}
.search-box input{border:0;outline:0;padding:0 10px;font-size:14px;width:100%;color:#524f4f;}
.search-box button{background:#10c3c6;border:0;color:#fff;width:28px;height:100%;cursor:pointer;font-size:14px;}

.accessibility-and-lang{display:flex; align-items: center; justify-content: flex-end; gap:20px; text-align: right; flex-shrink: 0; height: 100% !important;}
.accessibility-btn{display:flex; align-items:center; gap:10px; font-size:15px; line-height:1.2; color:#524f4f; text-align: left; text-decoration: none !important;}
.accessibility-btn i{color:#10c3c6;font-size:24px;}

.header-bottom-row { 
    display: grid; 
    grid-template-columns: minmax(0, 380px) minmax(0, 320px) minmax(0, 230px) minmax(0, 1fr); 
    gap: 10px; 
    align-items: stretch; 
    width: 100%; 
}
.header-bottom-row > * { 
    min-width: 0; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

/* Обертка логотипа */
.logo-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding-bottom: 0 !important;
}

/* Блок телефонов */
.phones-block { 
    display: flex; 
    flex-direction: column; 
    padding-top: 25px; 
    padding-bottom: 0 !important; 
    justify-content: flex-end; 
}
.phones-block .info-title { margin-bottom: 5px; color: #2c6ab3 !important; font-weight: 600; font-size: 15px; line-height: 1.4; }


.phone-row-wrapper { 
    display: flex; 
    align-items: flex-start !important; 
}

.info-icon, .footer-icon { width: 34px !important; height: 34px !important; border-radius: 4px; display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 12px !important;}
.info-icon { background-color: #10C3C6 !important; color: #fff !important; }
.footer-icon { background-color: #52D7FE !important; color: #fff !important; }
.info-icon.icon-transparent, .footer-icon.icon-transparent { background-color: transparent !important; color: #10C3C6 !important; }
.footer-icon.icon-transparent { color: #52D7FE !important; }
.info-icon i, .footer-icon i { font-size: 20px !important; line-height: 1; }
.info-icon i.fa-regular, .footer-icon i.fa-regular { -webkit-text-stroke: 0.5px currentColor; }

/* График и адрес */
.schedule-block { 
    display: flex; 
    flex-direction: column; 
    padding-top: 25px; 
    padding-bottom: 0 !important; 
    justify-content: flex-end; 
}
.schedule-item { display: flex; gap: 0; align-items: flex-start !important; margin-bottom: 8px; }
.schedule-item:last-child { margin-bottom: 0; }
.schedule-item .info-text p { margin: 0; line-height: 1.2; }
.text-nowrap { white-space: nowrap; }
.schedule-item.mt-2 { align-items: flex-end !important; }
.info-text, .footer-phones-list { display: flex !important; flex-direction: column !important; line-height: 1.2; }
.info-text > div, .footer-phones-list > div { display: block !important; width: 100% !important; float: none !important; clear: both !important; margin-bottom: 2px !important; white-space: nowrap !important;}
.info-text > .phone-double, .footer-phones-list > .phone-double { display: flex !important; flex-wrap: nowrap !important; align-items: center !important;}
.phone-double a, .phone-single a { color: #524f4f; text-decoration: none !important; font-weight: 400; }
.phone-double a:hover, .phone-single a:hover { color: #10C1C3; }
.phone-comma { color: #524f4f; margin: 0 4px 0 0; }
.info-text { font-size: 15px; }

/* Ссылки и соцсети */
.extra-links-block{ 
    display:flex; 
    flex-direction:column; 
    justify-content: space-between;
    align-items: flex-end; 
    text-align: right; 
    height: 100%; 
    width: 100%; 
    padding-top: 25px; 
    padding-bottom: 0 !important; 
}
.links-top { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; margin-bottom: 0; }
.extra-links-block .link-blue{ color: #2C6AB3; text-decoration: underline; font-size: 15px; white-space: nowrap; display: inline-block; transition: color 0.2s ease;}
.extra-links-block .link-blue:hover, .extra-links-block .link-blue:active{ color: #10C1C3; }
.social-links { display: flex; gap: 12px; justify-content: flex-end; width: 100%; }
.social-links a { color: #1a4d85 !important; font-size: 18px; background: transparent !important; text-decoration: none !important; transition: color 0.2s ease; }
.social-links a:hover { color: #10C1C3 !important; }

/* ==================== КАСТОМНЫЙ ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ ==================== */
.header-top-row .custom-flags-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    margin: 0 20px !important;
    gap: 8px !important;
    height: 30px !important;
}

.custom-flags-bar a {
    display: inline-flex;
    text-decoration: none;
}

.custom-flags-bar img {
    width: 50px !important;
    height: 30px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    transition: opacity 0.2s ease;
    border: none !important;
}

.custom-flags-bar img:hover {
    opacity: 0.8;
}

.header-top-row .custom-lang-text {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 30px !important;
}

.custom-lang-text a {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #524f4f !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: color 0.2s ease;
    line-height: 1 !important;
}

.custom-lang-text a:hover {
    color: #2C6AB3 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.custom-lang-text a.active {
    color: #10C3C6 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    font-weight: 700 !important;
}

.custom-lang-text .lang-sep {
    color: #ccc !important;
    font-size: 14px !important;
}

/* ==================== КОНТЕНТ И САЙДБАР ==================== */
.content-page { padding-top: 30px !important; padding-bottom: 50px; }
.widget-area { width: 100%; max-width: 334px; background-color: #D8F6FE; padding: 25px; border-radius: 8px; display: flex; flex-direction: column; gap: 25px; margin-top: 0; }
.widget-area .widget { background: transparent !important; border: none !important; padding: 0 !important; }
.widget-area .widget-title { font-size: 18px; font-weight: 700; color: #2c6ab3; margin: 0 0 15px; padding: 0; }
.widget-area ul { display: flex; flex-direction: column; gap: 16px; }

.widget-area ul li a,
.widget-area ul a,
.widget-area ul.menu a,
.widget-area ul.sub-menu a,
.widget-area ul.children a,
.widget-area .menu a,
.widget-area .sub-menu a,
.widget-area .widget_nav_menu a,
.widget-area .widget_pages a,
.widget-area .widget_categories a,
.widget-area .widget_archive a,
.widget-area .widget_meta a,
.widget-area .widget_recent_entries a {
    display: inline-block;
    color: #2C6AB3 !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-transform: lowercase !important;
    transition: color 0.2s ease;
}
.widget-area ul li a::first-letter,
.widget-area ul a::first-letter,
.widget-area ul.menu a::first-letter,
.widget-area ul.sub-menu a::first-letter,
.widget-area ul.children a::first-letter {
    text-transform: uppercase !important;
}
.widget-area ul li a:hover, .widget-area ul li a:active,
.widget-area ul a:hover, .widget-area ul a:active,
.widget-area ul.sub-menu a:hover, .widget-area ul.children a:hover {
    color: #10C1C3 !important;
    text-decoration: none !important;
}

.breadcrumbs { font-size: 18px; color: #8a8a8a; margin-top: 0; margin-bottom: 25px; padding-bottom: 12px; line-height: 1.4; }
.breadcrumbs a { color: #2C6AB3; text-decoration: none !important; transition: color 0.2s; }
.breadcrumbs a:hover, .breadcrumbs a:active { color: #10C1C3; text-decoration: none !important; }
.breadcrumbs span { color: #524f4f; font-weight: 500; }

@media (min-width: 768px) {
  .widget-area ul li.current-menu-item > a, .widget-area ul li.current_page_item > a, .widget-area ul li.current_page_parent > a { color: #2C6AB3 !important; font-weight: 700 !important; }
  .widget-area { margin-top: 0 !important; padding-top: 35px !important; }
  .widget-area ul { padding-top: 0 !important; }
  .content-page .page-title, .content-page .entry-header .page-title, .content-page h1.page-title { margin-top: 35px !important; }
  .content-page .row:has(.widget-area) { align-items: stretch !important; }
  .content-page .row:has(.widget-area) > :has(.widget-area) { display: flex !important; flex-direction: column !important; }
  .content-page .row:has(.widget-area) > :has(.widget-area) > .widget-area { flex: 1 1 auto !important; height: auto !important; }
  .content-page .row:has(.widget-area) > .widget-area { height: auto !important; align-self: stretch !important; }
}

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

.entry-content .wp-block-image {
    display: block;
    max-width: 100%;
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.entry-content .wp-block-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}
.entry-content .wp-block-image figcaption {
    font-size: 12px;
    color: #888;
    text-align: center;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    margin: 0;
}

.entry-content .wp-block-image.aligncenter,
.entry-content figure.aligncenter,
.entry-content .aligncenter {
    display: block !important;
    float: none !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
.entry-content .wp-block-image.aligncenter img,
.entry-content figure.aligncenter img,
.entry-content .aligncenter img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
    max-width: 100% !important;
}

.entry-content .wp-block-image.alignleft,
.entry-content figure.alignleft {
    float: left !important;
    margin: 0 20px 15px 0 !important;
    width: auto !important;
    max-width: 50% !important;
}
.entry-content .wp-block-image.alignright,
.entry-content figure.alignright {
    float: right !important;
    margin: 0 0 15px 20px !important;
    width: auto !important;
    max-width: 50% !important;
}

.entry-content .wp-block-image.alignwide,
.entry-content figure.alignwide {
    display: block !important;
    width: auto !important;
    max-width: 90vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.entry-content .wp-block-image.alignfull,
.entry-content figure.alignfull {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.entry-content .wp-block-image.img-400 img { max-width: 400px !important; }
.entry-content .wp-block-image.img-600 img { max-width: 600px !important; }
.entry-content .wp-block-image.img-800 img { max-width: 800px !important; }

.archive-description{margin-bottom:20px;color:#6b6b6b}
.content-article{margin-bottom:35px}
.post-thumbnail{margin-bottom:20px}
.entry-meta{color:#8a8a8a;font-size:13px;margin-bottom:16px}

/* ==================== СЕКЦИИ ==================== */
.main-slider-section{position:relative;width:100%;height:400px;overflow:hidden;background:#f4f4f4; margin: 0; padding: 0; line-height: 0;}
.slider-image{width:100%;height:100%;object-fit:cover;display:block;}

.slider-overlay { color: #fff; }
.slider-overlay h1, .slider-overlay h2 { 
    font-family: 'Georgia', serif !important; font-style: italic; font-weight: 400 !important; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6); color: #fff !important; font-size: 42px !important; margin-bottom: 15px;
}
.slider-overlay p { font-family: 'Georgia', serif !important; font-style: italic; font-size: 24px !important; text-shadow: 1px 1px 3px rgba(0,0,0,0.6); color: #fff !important; }

/* БЛОК АНОНСОВ (ДЕСКТОП) */
.announcement-section {
    padding: 30px 0; 
    margin: 0;
    min-height: 270px;
    display: flex;
    align-items: center; 
}
.announcement-wrapper {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}
.announcement-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    font-size: 20px !important; 
    font-weight: 400 !important; 
    color: #524f4f;
    max-width: 1000px;
    width: 100%;
    min-height: 120px; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
}
.announcement-content,
.announcement-slide,
.announcement-slide p,
.announcement-slide div,
.announcement-slide span { text-align: center !important; }
.announcement-slide p { margin: 0; }

.arrow-btn { background: #fff !important; border: none !important; box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; font-size: 20px; color: #0cb2b5; cursor: pointer; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.tabs-news-section{padding:40px 0; margin: 0;}
.tabs-header{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tab-btn{min-height:66px;border:0;color:#fff;font-size:20px !important; font-weight:600 !important; cursor:pointer;padding:12px; text-transform: uppercase;}
.blue-tab{background:linear-gradient(180deg,#3a82c7 0%,#2868b5 100%)}
.teal-tab{background:linear-gradient(180deg,#10c2c5 0%,#0ab0b2 100%)}
.tabs-content{background:#fff;border:1px solid #e5e5e5;padding:28px;margin-top: 40px;}
.news-list{display:flex;flex-direction:column;gap:16px; padding-bottom: 24px; }
.news-item{display:flex;align-items:center;gap:15px;border-bottom:1px solid rgba(16,195,198,.6);padding-bottom:14px}
.news-item a { font-size:20px !important; font-weight:400 !important; color: #2C6AB3; text-decoration: none !important; }
.news-item a:hover { color: #10C1C3; text-decoration: none !important; }
.dot{width:10px;height:10px;flex:0 0 10px;background:#10c3c6;border-radius:50%;display:inline-block}

.quick-links-section{padding:30px 0; margin: 0;}
.quick-links-section .row { align-items: stretch; }
.quick-links-section .col { display: flex; }

.quick-link-card,
.quick-link-card:visited,
.quick-link-card:hover,
.quick-link-card:focus,
.quick-link-card:active,
.quick-link-card:focus-visible,
.quick-link-card:focus-within {
    color: #ffffff !important;
    width: 100% !important; max-width: 270px; height: 108px !important;
    display:flex; align-items:center; justify-content:center; padding:15px; text-align:center;
    font-size:18px !important; font-weight:700 !important;
    background: linear-gradient(180deg,#10c2c5 0%,#0ab0b2 100%);
    text-transform: uppercase;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}
.quick-link-card:hover { background: #2C6AB3 !important; }

.services-section{padding:40px 0;background:#D8F6FE}
.service-card{ display:flex; flex-direction:column; background:#fff; border:1px solid #e5e5e5; overflow:hidden; width: 100% !important; max-width: 453px; height: 296px !important; transition: box-shadow 0.2s ease; text-decoration: none !important; }
.service-card-image{ height: 184px !important; width: 100% !important; overflow: hidden; background: #eef4f8; flex: none !important; }
.service-card-image img{ width:100%; height:100%; object-fit:cover; display:block; }
.service-card-title{ background: #ffffff; color:#2c6ab3; padding:12px 14px; font-size:18px !important; font-weight:600 !important; text-align:center !important; text-transform: uppercase; height: calc(296px - 184px) !important; display:flex; align-items:center; justify-content:center; transition: background-color 0.2s ease, color 0.2s ease; order: -1; }
.service-card:hover .service-card-title { background: #10C3C6 !important; color: #ffffff !important; }

.section-all-link { text-align: center; margin-top: 40px; }
.section-all-link a {
    color: #2C6AB3;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 24px !important;
    text-decoration: underline;
    transition: color 0.2s ease;
    line-height: 1.3;
}
.section-all-link a:hover, .section-all-link a:active { color: #10C1C3; }

.departments-section { padding: 40px 0; margin: 0; }
.dept-tabs-header { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 30px; width: 100%; }
.dept-tab-btn { border: none; background: transparent; color: #2c6ab3; font-weight: 600; font-size: 18px; padding: 20px 15px; cursor: pointer; transition: all 0.2s ease; text-align: center; }
.dept-tab-btn.is-active { background: #0ab0b2; color: #ffffff; }
.dept-tab-btn.is-active:hover,
.dept-tab-btn.is-active:focus {
    background: #2C6AB3 !important;
    color: #ffffff !important;
}
.dept-panels { background: transparent; padding: 0; }
.dept-panel { display: none; }
.dept-panel.is-active { display: block; }

.doctor-card { display: flex; gap: 25px; background: #ffffff; padding: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); border: none; height: 100%; position: relative; min-height: 340px; }
.doctor-photo { width: 150px; height: 180px; flex-shrink: 0; overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-body { display: flex; flex-direction: column; flex: 1; align-items: flex-start; min-width: 0; }

.doctor-pos-top { font-size: 15px; color: #333333; line-height: 1.3; margin-bottom: 8px; font-weight: 600; min-height: 2.6em; }
.doctor-name { font-size: 22px; font-weight: 700; color: #2c6ab3; line-height: 1.3; margin-bottom: 15px; }
.doctor-name .doctor-surname,
.doctor-name .doctor-given { display: block; }
.doctor-bio { font-size: 15px; color: #333333; line-height: 1.4; margin-bottom: 0; }

.custom-doctor-dots { display: none; }
.dept-arrow-btn { display: none !important; }

.important-links-section { margin: 0; padding: 40px 0; }
.important-link-card,
.important-link-card:visited,
.important-link-card:hover,
.important-link-card:focus,
.important-link-card:active,
.important-link-card:focus-visible,
.important-link-card:focus-within {
    color: #ffffff !important;
    width: 100% !important; max-width: 454px; height: 120px !important;
    display:flex; align-items:center; justify-content:center; text-align:center; padding:18px;
    background: linear-gradient(180deg,#10c2c5 0%,#0ab0b2 100%);
    font-size:20px !important; font-weight:600 !important;
    text-transform: uppercase;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}
.important-link-card:hover { background: #2C6AB3 !important; }

.quality-wrapper { width: 100%; }
.quality-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.quality-logo img { max-height: 70px; width: auto; object-fit: contain; }
.quality-title h3 { font-size: 22px !important; font-weight: 700 !important; color: #2c6ab3; margin: 0; text-transform: uppercase; }
.quality-right { display: flex; align-items: center; gap: 20px; }
.quality-qr { height: 90px; width: 90px; object-fit: contain; background: #ffffff; padding: 5px; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.quality-rating-img { height: 90px; width: auto; object-fit: contain; }
.quality-qr-wrap a,
.quality-rating-wrap a,
.quality-title a.quality-link {
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
}
.quality-qr-wrap a:hover,
.quality-rating-wrap a:hover {
    opacity: 0.85;
    transform: scale(1.03);
}
.quality-title a.quality-link {
    color: #2C6AB3 !important;
    text-decoration: none !important;
}
.quality-title a.quality-link:hover {
    color: #10C1C3 !important;
}

.map-section { position: relative; width: 100%; height: 420px; background: #e8eef4; overflow: hidden; }
.map-embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.map-embed iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }
.map-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 20px 24px; z-index: 10; text-align: center; min-width: 280px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.map-card-logo { max-height: 70px; margin-bottom: 10px; }
.map-card-address { margin: 0; font-size: 15px; color: #2c6ab3; font-weight: 600; }
.map-card-phone { margin: 5px 0 0; font-size: 15px; }

/* ==================== FOOTER ==================== */
.site-footer { background-color: #ffffff; color: #524f4f; font-size: 15px; padding-top: 40px; }
.footer-payments-row { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap;}
.footer-pay-icon { height: 45px !important; width: auto !important; max-width: 100%; object-fit: contain; }
.footer-main-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-logo-col { flex: 0 0 auto; }
.footer-phones-col { flex: 0 0 auto; display: flex; flex-direction: column; min-width: 0; }
.footer-phone-wrapper { display: flex; align-items: flex-start; }
.footer-schedule-col { flex: 0 0 auto; }
.footer-schedule-wrapper { display: flex; flex-direction: column; }
.footer-address-block { margin-top: 8px; }
.address-text-nowrap { white-space: nowrap; }
.footer-qr-col { flex: 0 0 auto; }
.footer-contact-block { display: flex; align-items: flex-start !important; margin-bottom: 8px; }
.footer-contact-block:last-child { margin-bottom: 0; }
.footer-contact-block.footer-address-block { align-items: flex-end !important; }
.footer-links-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-links { flex: 1; min-width: 0; }
.footer-extra-link { display: block; color: #2C6AB3; text-decoration: underline; font-size: 14px; line-height: 1.4; margin-bottom: 6px; transition: color 0.2s ease; }
.footer-extra-link:hover, .footer-extra-link:active { color: #10C1C3; }
.footer-contact-title { color: #52D7FE !important; font-weight: 600; font-size: 16px; display: block; margin-bottom: 5px; }
.footer-info-title { color: #333333; font-weight: 600; font-size: 16px; margin-bottom: 15px; }
.footer-schedule-text div { line-height: 1.4; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { color: #2C6AB3; font-size: 18px; text-decoration: none !important; transition: color 0.2s ease; }
.footer-socials a:hover, .footer-socials a:active { color: #10C1C3; }
.footer-qr-img { max-height: 90px; width: auto; object-fit: contain; }
.footer-bg-wrap { background-size: cover; background-position: center bottom; padding: 40px 0 20px 0; margin-top: 40px; width: 100%; overflow: hidden; }
.footer-partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; max-width: 1100px; margin: 0 auto; }
.footer-partners img { height: 45px !important; width: auto; max-width: 100%; object-fit: contain; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 13px; color: #555; padding-top: 20px; }
.footer-credit a { color: #2C6AB3; text-decoration: underline; transition: color 0.2s ease; }
.footer-credit a:hover { color: #10C1C3; text-decoration: underline; }

.footer-partners a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none !important;
}
.footer-partners a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-payments-row a {
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none !important;
}
.footer-payments-row a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* ==================== КНОПКИ ==================== */
.btn, .button, a.btn, button.btn, .btn-primary, .btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-link, .btn-teal, input[type="submit"], button[type="submit"], .wp-block-button__link, .wp-element-button, .wp-block-search__button, .elementor-button, .add_to_cart_button, .single_add_to_cart_button, .comment-reply-link, .wpcf7-submit, .gform_button, .frm_button_submit {
    display: inline-flex !important; align-items: center; justify-content: center; width: 217px !important; max-width: 100%; height: 60px !important; padding: 12px 20px !important; background: #0AAFB2 !important; color: #FFFFFF !important; border: none !important; border-radius: 0 !important; font-size: 16px !important; font-weight: 600 !important; text-transform: uppercase !important; line-height: 1.2; text-align: center; text-decoration: none !important; cursor: pointer; box-shadow: none !important; transition: background-color 0.3s ease, color 0.3s ease; align-self: flex-start;
}
.btn:hover, .button:hover, a.btn:hover, button.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-outline-primary:hover, .btn-outline-secondary:hover, .btn-link:hover, .btn-teal:hover, input[type="submit"]:hover, button[type="submit"]:hover, .wp-block-button__link:hover, .wp-element-button:hover, .wp-block-search__button:hover, .elementor-button:hover, .add_to_cart_button:hover, .single_add_to_cart_button:hover, .comment-reply-link:hover, .wpcf7-submit:hover, .gform_button:hover, .frm_button_submit:hover {
    background: #2C6AB3 !important; color: #FFFFFF !important;
}
.search-box button, .search-box input[type="submit"] { width: 28px !important; min-width: 0 !important; height: 100% !important; min-height: 0 !important; padding: 0 !important; background: #10c3c6 !important; color: #ffffff !important; border: none !important; border-radius: 0 !important; font-size: 14px !important; font-weight: 400 !important; box-shadow: none !important; display: inline-flex !important; align-items: center; justify-content: center; align-self: stretch; text-transform: none !important; text-decoration: none !important; }
.search-box button:hover { background: #0fb0b3 !important; color: #ffffff !important; }

/* ==================== HERO СЛАЙДЕР ==================== */
.main-slider-section.hero-slider { position: relative; overflow: hidden; background: #eef4f8; height: 400px; }
.hero-slides-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 1s ease-in-out; }
.main-slider-section.hero-slider .slider-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; z-index: 10; }
.hero-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255, 255, 255, 0.85); color: #2C6AB3; border: none; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 20; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, color 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.2); text-decoration: none !important; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.main-slider-section.hero-slider:hover .hero-nav-btn { opacity: 1; visibility: visible; }
.hero-nav-btn:hover { background: #0AAFB2; color: #FFFFFF; }

/* ==================== СПИСКИ И ТЕКСТ ==================== */
body .entry-content ul:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav), body .entry-content ol:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav), body article ul:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav), body article ol:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) { padding-left: 30px !important; margin-bottom: 25px !important; margin-top: 10px !important; }
body .entry-content ul:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) > li:not(.news-item):not(.menu-item), body .entry-content ol:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) > li:not(.news-item):not(.menu-item), body article ul:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) > li:not(.news-item):not(.menu-item), body article ol:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) > li:not(.news-item):not(.menu-item) { display: list-item !important; list-style-position: outside !important; margin-bottom: 10px !important; line-height: 1.6 !important; }
body .entry-content ul:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) > li:not(.news-item):not(.menu-item), body article ul:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) > li:not(.news-item):not(.menu-item) { list-style-type: disc !important; }
body .entry-content ol:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) > li:not(.news-item):not(.menu-item), body article ol:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) > li:not(.news-item):not(.menu-item) { list-style-type: decimal !important; }
body .entry-content ul:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) li::marker, body .entry-content ol:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) li::marker, body article ul:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) li::marker, body article ol:not(.news-list):not(.menu-list):not(.sub-menu):not(.navbar-nav) li::marker { color: #2C6AB3 !important; font-weight: 700 !important; }
.entry-content p, .entry-content li, .page-content p, article p, article li { text-align: left; text-justify: none; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6, .page-title, .doctor-name { text-align: left !important; }
.news-item a { text-align: left !important; }

/* ==================== ТАБЛИЦЫ ==================== */
.entry-content table, .post-content table, article table, table.wp-block-table, table.table, .wp-block-html table, table {
    width: 100%;
    border-collapse: collapse !important;
    margin: 20px 0;
    background: #ffffff;
    border: 2px solid #2C6AB3 !important;
    font-size: 15px;
    color: #524f4f;
    table-layout: auto;
}
.entry-content table th, .post-content table th, article table th,
table.wp-block-table th, table.table th, table th, table thead th {
    background-color: #2C6AB3 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 15px !important;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #2C6AB3 !important;
}
.entry-content table td, .post-content table td, article table td,
table.wp-block-table td, table.table td, table td {
    padding: 12px 15px !important;
    border: 1px solid #2C6AB3 !important;
    vertical-align: top;
    color: #524f4f;
    background: #ffffff;
    white-space: normal !important; 
    word-break: break-word;
}
.entry-content table tbody tr:nth-child(even) td,
table tbody tr:nth-child(even) td { background: #f8fbfc; }
.entry-content table tbody tr:hover td,
table tbody tr:hover td { background: #eafafb; }

/* ==================== АККОРДЕОН ==================== */
.accordion, .accordion-flush {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    border: none !important;
    background: transparent !important;
}
.accordion .accordion-item, .accordion-flush .accordion-item {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.accordion .accordion-button,
.accordion-flush .accordion-button,
details.accordion-item > summary,
details.faq-item > summary,
details > summary,
details[class*="accordion"] > summary,
details[class*="faq"] > summary,
.wp-block-accordion-heading button,
.wp-block-accordion .wp-block-accordion-heading button,
.wp-block-accordion-item > .wp-block-accordion-heading button,
.elementor-accordion .elementor-tab-title,
.elementor-widget-accordion .elementor-tab-title,
.pxta-accordion__heading,
.vc_tta-accordion .vc_tta-panel-title > a,
.vc_tta-accordion .vc_tta-panel-heading,
.vc_tta-accordion .vc_tta-panel-title,
.et_pb_accordion .et_pb_toggle_title,
.su-accordion .su-spoiler-title,
[class*="accordion"] button[aria-expanded],
[class*="accordion"] [role="button"][aria-expanded],
.panel-group .panel-heading,
.panel-group .panel-title > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    padding: 20px 15px !important;
    background: #0ab0b2 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    text-align: left !important;
    line-height: 1.3 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.accordion .accordion-button:hover,
.accordion-flush .accordion-button:hover,
details.accordion-item > summary:hover,
details.faq-item > summary:hover,
details > summary:hover,
.wp-block-accordion-heading button:hover,
.elementor-accordion .elementor-tab-title:hover,
.elementor-widget-accordion .elementor-tab-title:hover,
.pxta-accordion__heading:hover,
.vc_tta-accordion .vc_tta-panel-title > a:hover,
.vc_tta-accordion .vc_tta-panel-heading:hover,
.vc_tta-accordion .vc_tta-panel-title:hover,
.et_pb_accordion .et_pb_toggle_title:hover,
.su-accordion .su-spoiler-title:hover,
[class*="accordion"] button[aria-expanded]:hover,
[class*="accordion"] [role="button"][aria-expanded]:hover,
.panel-group .panel-heading:hover,
.panel-group .panel-title > a:hover {
    background: #0AAFB2 !important;
    filter: brightness(0.95);
}

.accordion .accordion-button::after, .accordion-flush .accordion-button::after { display: none !important; }
.accordion .accordion-button svg, .accordion-flush .accordion-button svg,
details > summary svg,
details > summary i,
.elementor-accordion .elementor-tab-title svg,
.elementor-accordion .elementor-tab-title i,
.pxta-accordion__heading svg,
.pxta-accordion__heading i,
.vc_tta-accordion .vc_tta-panel-heading svg,
.vc_tta-accordion .vc_tta-panel-heading i,
.su-accordion .su-spoiler-title svg,
.su-accordion .su-spoiler-title i {
    color: #ffffff !important;
    fill: #ffffff !important;
    filter: brightness(0) invert(1);
}

.accordion .accordion-body,
.accordion-flush .accordion-body,
.wp-block-accordion-panel,
.wp-block-accordion .wp-block-accordion-panel,
.wp-block-accordion-item > .wp-block-accordion-panel,
.elementor-accordion .elementor-tab-content,
.elementor-widget-accordion .elementor-tab-content,
.pxta-accordion__content,
.vc_tta-accordion .vc_tta-panel-body,
.et_pb_accordion .et_pb_toggle_content,
.su-accordion .su-spoiler-content,
.panel-group .panel-body,
details > div,
details > .accordion-content,
details > .faq-content {
    padding: 20px !important;
    background: #ffffff !important;
    color: #524f4f !important;
    border: 1px solid #e5e5e5 !important;
    border-top: none !important;
    text-align: left !important;
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================= */
@media (max-width:1199px){
  .text-nowrap, .address-text-nowrap, .info-text > div, .footer-phones-list > div { white-space: normal !important; }
  .info-text > .phone-double, .footer-phones-list > .phone-double { flex-wrap: wrap !important; }
  .phone-comma { display: none !important; }

  .header-info-section .container, .announcement-section .container, .tabs-news-section .container, .quick-links-section .container, .services-section .container, .departments-section .container, .important-links-section .container, .quality-wrapper, .site-footer .container { width: 100% !important; max-width: 100% !important; padding-left: 10px !important; padding-right: 10px !important; }

  .header-top-row,
  .header-bottom-row,
  .accessibility-and-lang { display: contents !important; }

  .main-header { display: none !important; }
  .header-info-section { background-image: url('/wp-content/uploads/2026/10/159_hkljh,j_1.png') !important; background-size: cover; background-position: center top; padding: 15px 0 25px; margin: 0; }

  .header-info-section .container {
      display: grid !important;
      grid-template-columns: auto 1fr auto;
      grid-template-areas:
        "burger search lang"
        "flags flags flags"
        "links links access"
        "logo logo logo";
      gap: 15px 10px;
      align-items: center;
      position: relative;
  }
  .mobile-burger-real { grid-area: burger; display: flex !important; background: none; border: none; font-size: 26px; color: #2c6ab3; cursor: pointer; padding: 0; line-height: 1; align-items: center; text-decoration: none !important; }
  .navbar-brand, .navbar-brand.d-lg-none { display: none !important; }

  .search-box { grid-area: search; justify-self: center; width: 100%; max-width: 220px; margin: 0 auto; height: 30px !important; }
  .lang-switch { grid-area: lang; justify-self: end; margin: 0; }

  .custom-flags-bar {
      grid-area: flags !important;
      margin: 0 !important;
      width: 100% !important;
      justify-content: center !important;
      height: auto !important;
      gap: 6px !important;
  }
  
  .custom-flags-bar img {
      width: 35px !important;
      height: 21px !important;
  }

  .custom-lang-text {
      grid-area: lang !important;
      justify-self: end !important;
      margin: 0 !important;
      height: auto !important;
  }

  .custom-lang-text a {
      font-size: 16px !important;
  }

  .extra-links-block { 
      grid-area: links; 
      align-items: flex-start; 
      text-align: left; 
      justify-content: flex-start !important; 
      align-self: start !important; 
      height: auto !important; 
      min-height: 0; 
      padding-top: 0 !important; 
      padding-bottom: 0 !important; 
  }
  .extra-links-block .links-top { align-items: flex-start; margin-bottom: 0; gap: 5px; }
  .extra-links-block .link-blue { font-size: 13px; white-space: normal; }
  .extra-links-block .social-links { display: none; }

  .accessibility-btn {
      grid-area: access;
      justify-self: end;
      align-self: start;
      text-align: left !important;
      font-size: 12px;
      max-width: 140px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
  }
  .accessibility-btn span { text-align: left !important; }
  .accessibility-btn i { font-size: 18px; }

  .logo-wrapper { grid-area: logo; justify-self: stretch; width: 100%; padding: 0; }
  
  .logo-wrapper a:not(.custom-logo-link) { display: block; width: 100%; max-width: 100%; margin: 0 auto; text-decoration: none !important; }
  
  .site-logo-img { width: 100% !important; max-width: 100% !important; height: auto !important; }

  .phones-block, .schedule-block, .main-slider-section { display: none !important; }


/* =========================================
   МОБИЛЬНЫЙ БЛОК АНОНСОВ
   ========================================= */

.announcement-section {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;

    padding: 15px 0 !important;
    margin-bottom: 10px;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;

    box-sizing: border-box;
    overflow: hidden !important;

    background-image: url('/wp-content/uploads/2026/10/176_фон.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.announcement-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
}

.announcement-content {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    border-radius: 3px !important;

    padding: 0 !important;
    margin: 0 !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 170px !important;
    min-height: 0 !important;
    max-height: 170px !important;

    display: block !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;

    scrollbar-width: thin;
    scrollbar-color: #10c3c6 #f1f1f1;

    box-sizing: border-box !important;

    font-size: 16px !important;
    line-height: 1.45 !important;
}

.announcement-slide {
    background: transparent !important;

    padding: 15px !important;
    margin: 0 !important;

    width: 100% !important;
    box-sizing: border-box !important;

    flex-shrink: 0;
}

.announcement-content,
.announcement-slide,
.announcement-slide p,
.announcement-slide div,
.announcement-slide span {
    text-align: center !important;
}

.announcement-slide p {
    margin: 0 0 5px !important;
    line-height: 1.45 !important;
}

.announcement-content::-webkit-scrollbar {
    width: 5px;
}

.announcement-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.announcement-content::-webkit-scrollbar-thumb {
    background: #10c3c6;
    border-radius: 5px;
}

.arrow-btn {
    display: none !important;
}

.custom-ann-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin-top: 10px !important;
    flex-shrink: 0;
}

.custom-ann-dots .ann-dot {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ccc;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-ann-dots .ann-dot.active {
    background: #2C6AB3;
    border-color: #2C6AB3;
}

/* Мобильная версия */
@media (max-width: 1199px) {
    .announcement-section .arrow-btn {
        display: none !important;
    }

    .announcement-section .custom-ann-dots {
        display: flex !important;
        position: relative !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 10px 0 0 !important;
        width: 100%;
        height: 12px;
        min-height: 12px;
    }
}

  .tabs-news-section {
      background-image: url('/wp-content/uploads/2026/10/175_фон.png') !important;
      background-size: cover !important;
      background-position: center center !important;
      background-repeat: no-repeat !important;
      padding: 20px 0;
      margin: 0;
  }
  .tabs-header { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 4px !important; overflow: visible !important; width: 100%; }
  
  .tab-btn { min-height: 55px !important; font-size: 14px !important; padding: 8px 3px !important; white-space: normal; line-height: 1.15; word-break: break-word; text-transform: uppercase; font-weight: 700 !important; letter-spacing: 0; }
  
  .tabs-content { margin-top: 10px; padding: 15px; width: 100%; box-sizing: border-box; }
  .news-list { padding-bottom: 16px; }
  .news-item { gap: 10px; padding-bottom: 12px; width: 100%; }
  .news-item a { font-size: 14px !important; }

  .quick-links-section .row { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; gap: 10px; }
  .quick-links-section .col { width: calc(50% - 5px); padding: 0; display: block; }
  .quick-links-section .col:nth-child(5) { width: calc(50% - 5px); margin: 0 auto; }

  .quick-link-card { width: 100% !important; max-width: 100% !important; height: 80px !important; font-size: 14px !important; padding: 10px; border-radius: 4px; }
  .important-link-card { width: 100% !important; max-width: 100% !important; height: 90px !important; font-size: 14px !important; padding: 10px; box-sizing: border-box; border-radius: 4px; }

  .services-section { padding: 30px 0; }
  .services-grid { margin-left: 0 !important; margin-right: 0 !important; }
  .services-grid .col { flex: 0 0 100%; max-width: 100%; margin-bottom: 15px; padding: 0 8px !important; box-sizing: border-box; }
  .service-card { width: 100% !important; max-width: 100% !important; height: auto !important; aspect-ratio: 453 / 296; border: 1px solid #e5e5e5; border-radius: 4px; text-decoration: none !important; }
  .service-card-image { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; flex: 1 !important; }
  
  .service-card-title { font-family: 'Roboto', Arial, sans-serif !important; font-size: 18px !important; font-weight: 600 !important; height: auto !important; min-height: 60px !important; padding: 10px; border: none; line-height: 1.3; }

  .section-all-link a { font-size: 20px !important; }

  .departments-section { padding: 30px 0; }
  .departments-section .row, .dept-panel .row, .dept-panels .row { margin-left: 0 !important; margin-right: 0 !important; }

  .dept-tabs-header { display: flex !important; flex-direction: row !important; gap: 10px !important; align-items: stretch; background: transparent; padding: 0; margin-bottom: 20px; width: 100%; cursor: default; }
  .dept-tab-btn { display: none !important; }
  .dept-tab-btn.is-active { flex: 1; display: flex !important; align-items: center; justify-content: flex-start; min-height: 50px; background: #0AAFB2; color: #fff; text-align: left; padding: 15px; border-radius: 4px; font-size: 14px; font-weight: 600; box-sizing: border-box; text-decoration: none !important; text-transform: uppercase !important; }

  .dept-arrow-btn { display: flex !important; align-items: center; justify-content: center; width: 50px; min-height: 50px; flex-shrink: 0; background: #ffffff; border: none; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); color: #0AAFB2; font-size: 18px; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; transition: background-color 0.2s ease, color 0.2s ease; text-decoration: none !important; }
  .dept-arrow-btn:hover, .dept-arrow-btn:active { background: #0AAFB2; color: #ffffff; }

  .dept-panel .col-md-6 { display: none !important; width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; padding: 0 !important; margin-bottom: 15px; }
  .dept-panel .col-md-6.card-active { display: block !important; }
  .custom-doctor-dots { display: flex !important; justify-content: center; gap: 8px; margin-top: 15px; width: 100%; }
  .custom-doctor-dots .dot-item { width: 12px; height: 12px; border-radius: 50%; background: #ffffff; border: 1px solid #ccc; cursor: pointer; transition: background 0.2s; }
  .custom-doctor-dots .dot-item.active { background: #2C6AB3; border-color: #2C6AB3; }

  .doctor-card { flex-direction: column; align-items: center; text-align: center; padding: 20px; width: 100%; box-sizing: border-box; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-radius: 8px; min-height: auto; }
  .doctor-body { align-items: center; text-align: center; }
  .doctor-photo { margin-bottom: 15px; width: 100%; max-width: 250px; height: auto; aspect-ratio: 3/4; }

  .doctor-name .doctor-surname,
  .doctor-name .doctor-given { display: block; text-align: center; }
  .doctor-name { text-align: center; }

  .doctor-card .btn-teal {
      position: static !important;
      top: auto !important;
      left: auto !important;
      width: 100% !important;
      max-width: 217px !important;
      height: 73px !important;
      min-height: 73px !important;
      align-self: center !important;
      margin-top: 15px !important;
      text-transform: none !important;
  }

  .important-links-section { padding: 30px 0; }
  .important-links-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; margin: 0 !important; width: 100%; }
  .important-links-grid > .col { width: 100% !important; padding: 0 !important; max-width: 100%; }

  .quality-wrapper { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
  .quality-inner { flex-direction: column; text-align: center; gap: 15px; width: 100%; }
  
  .quality-title h3 { font-family: 'Roboto', Arial, sans-serif !important; font-size: 18px !important; font-weight: 600 !important; white-space: nowrap !important; line-height: 1.2; }
  
  .quality-right { flex-direction: column; gap: 10px; }
  .quality-qr { width: 120px; height: 120px; }
  .quality-rating-img { height: auto; max-width: 200px; }

  .map-section { position: relative; height: 400px; display: block; }
  .map-embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .map-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; min-width: 260px; max-width: 90%; text-align: center; border-radius: 8px; }
  .map-card-logo { margin: 0 auto 10px; display: block; }

  .footer-top {
      display: grid !important;
      grid-template-columns: 1fr auto;
      grid-template-areas:
          "logo logo"
          "payments payments"
          "phones phones"
          "schedule schedule"
          "socials qr"
          "links links";
      gap: 20px 15px;
      padding: 0 10px;
      align-items: center;
  }
  .footer-main-row, .footer-links-row { display: contents !important; }

  .footer-logo-col { grid-area: logo; justify-self: center; width: 100%; max-width: 300px; margin: 0; }
  .footer-payments-row { grid-area: payments; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; width: 100%; justify-items: center; margin: 0; }
  .footer-pay-icon { height: 40px !important; width: auto !important; max-width: 100%; }
  .footer-phones-col { grid-area: phones; width: 100%; align-items: flex-start; }
  .footer-schedule-col { grid-area: schedule; width: 100%; align-items: flex-start; }

  .footer-socials { grid-area: socials; justify-self: start; align-self: end; display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 0; }
  .footer-qr-col { grid-area: qr; justify-self: end; align-self: end; padding-bottom: 0; }
  .footer-qr-img { max-height: 70px; display: block; }
  .footer-socials a { line-height: 1; display: inline-flex; align-items: center; }

  .footer-links { grid-area: links; width: 100%; }

  .footer-links .footer-info-title { color: #000000 !important; text-align: left; margin-bottom: 12px; font-size: 15px; }

  .footer-links .row { display: flex; flex-direction: column; gap: 0; }
  .footer-links .row > div { width: 100%; max-width: 100%; flex: 0 0 100%; }

  .footer-extra-link {
      text-align: left;
      font-size: 15px !important;
      line-height: 1.5 !important;
      margin-bottom: 15px !important;
      padding: 0;
  }

  .footer-bg-wrap { padding: 30px 0 20px 0; width: 100%; max-width: 100%; margin-top: 30px; box-sizing: border-box; }
  .footer-partners {
      display: flex !important;
      flex-wrap: wrap !important;
      justify-content: center !important;
      align-items: center !important;
      gap: 8px 10px !important;
      padding: 0 10px !important;
      margin: 0 auto !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box;
  }
 
  .footer-partners img { height: 55px !important; width: auto !important; max-width: 110px !important; object-fit: contain !important; flex: 0 0 auto; }
  
  .footer-bottom-inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 5px; padding: 20px 15px 0; }
  
  .footer-copyright, .footer-credit { text-align: left; font-size: 16px !important; line-height: 1.4; }

  .content-page .row:has(.widget-area) { display: flex !important; flex-direction: column !important; }
  .content-page .row:has(.widget-area) > * { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
  .content-page .row:has(.widget-area) > :has(.widget-area), .content-page .row:has(.widget-area) > .widget-area { order: 999 !important; }
  .content-page .row:has(.widget-area) > :not(:has(.widget-area)):not(.widget-area) { order: 1 !important; }
  .content-page > .container:has(> .widget-area), .content-page > .container:has(> * > .widget-area) { display: flex !important; flex-direction: column !important; }
  .content-page > .container:has(> .widget-area) > *, .content-page > .container:has(> * > .widget-area) > * { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
  .content-page > .container > :has(.widget-area), .content-page > .container > .widget-area { order: 999 !important; }
  .content-page > .container > :not(:has(.widget-area)):not(.widget-area) { order: 1 !important; }
  .content-page .widget-area { margin: 30px 0 0 0 !important; padding: 20px !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .page-title { font-size: 24px !important; line-height: 1.2; margin-top: 0; }
  .breadcrumbs { margin-top: 0; margin-bottom: 20px; font-size: 14px; }

  .widget-area ul li a,
  .widget-area ul a,
  .widget-area ul.menu a,
  .widget-area ul.sub-menu a,
  .widget-area ul.children a,
  .widget-area .menu a,
  .widget-area .sub-menu a,
  .widget-area .widget_nav_menu a,
  .widget-area .widget_pages a,
  .widget-area .widget_categories a,
  .widget-area .widget_archive a,
  .widget-area .widget_meta a,
  .widget-area .widget_recent_entries a { font-size: 14px !important; line-height: 1.4 !important; }

  .entry-content .wp-block-image,
  .entry-content figure,
  .entry-content .wp-block-image.aligncenter,
  .entry-content figure.aligncenter {
      display: block !important;
      float: none !important;
      width: fit-content !important;
      max-width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      text-align: center !important;
  }
  .entry-content .wp-block-image img,
  .entry-content figure img,
  .entry-content .wp-block-image.aligncenter img,
  .entry-content figure.aligncenter img {
      display: block !important;
      margin-left: auto !important;
      margin-right: auto !important;
      width: auto !important;
      max-width: 100% !important;
  }
  .entry-content .wp-block-image.alignleft,
  .entry-content .wp-block-image.alignright,
  .entry-content figure.alignleft,
  .entry-content figure.alignright {
      float: none !important;
      margin: 0 auto 15px auto !important;
      max-width: 100% !important;
  }
  .entry-content .wp-block-image.alignwide,
  .entry-content .wp-block-image.alignfull {
      width: 100% !important;
      max-width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
  }

  .btn, .button, a.btn, button.btn, .btn-primary, .btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-link, .btn-teal, input[type="submit"], button[type="submit"], .wp-block-button__link, .wp-element-button, .wp-block-search__button, .elementor-button, .add_to_cart_button, .single_add_to_cart_button, .comment-reply-link, .wpcf7-submit, .gform_button, .frm_button_submit { width: 100% !important; max-width: 217px; height: auto !important; min-height: 50px !important; padding: 12px 18px !important; font-size: 14px !important; }
  .search-box button, .search-box input[type="submit"] { width: 28px !important; min-width: 28px !important; height: 100% !important; min-height: 0 !important; padding: 0 !important; font-size: 14px !important; }

  .entry-content table, .post-content table, article table, table.wp-block-table, table.table, .wp-block-html table, table {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch;
      border: 2px solid #2C6AB3 !important;
  }
  .entry-content table th, .entry-content table td, table th, table td {
      padding: 10px !important;
      font-size: 14px !important;
      white-space: normal !important;
      min-width: 120px;
  }

  .btn, .btn *, .btn-teal, .btn-teal *, .button, .button *, a.btn, a.btn *, button.btn, button.btn *,
  .quick-link-card, .quick-link-card *, .important-link-card, .important-link-card *,
  .doctor-card .btn-teal, .doctor-card .btn-teal *, .dept-arrow-btn, .dept-arrow-btn *,
  .service-card, .service-card *, .news-item a, .news-item a *,
  .quick-links-section a, .quick-links-section a *, .important-links-section a, .important-links-section a *,
  button, button *, a[role="button"], a[role="button"] * {
      -webkit-tap-highlight-color: transparent !important;
      -webkit-touch-callout: none !important;
      -webkit-user-select: none !important;
      user-select: none !important;
      -webkit-text-size-adjust: 100% !important;
      text-size-adjust: 100% !important;
      touch-action: manipulation !important;
      transition: background-color 0.2s ease, color 0.2s ease !important;
  }

  .btn:hover, .btn:focus, .btn:active, .btn:focus-visible, .btn:focus-within,
  .btn-teal:hover, .btn-teal:focus, .btn-teal:active, .btn-teal:focus-visible, .btn-teal:focus-within,
  .button:hover, .button:focus, .button:active, .button:focus-visible,
  a.btn:hover, a.btn:focus, a.btn:active, a.btn:focus-visible,
  button.btn:hover, button.btn:focus, button.btn:active, button.btn:focus-visible,
  .quick-link-card:hover, .quick-link-card:focus, .quick-link-card:active,
  .quick-link-card:focus-visible, .quick-link-card:focus-within, .quick-link-card:visited,
  .important-link-card:hover, .important-link-card:focus, .important-link-card:active,
  .important-link-card:focus-visible, .important-link-card:focus-within, .important-link-card:visited,
  .doctor-card .btn-teal:hover, .doctor-card .btn-teal:focus,
  .doctor-card .btn-teal:active, .doctor-card .btn-teal:focus-visible, .doctor-card .btn-teal:focus-within,
  .dept-arrow-btn:hover, .dept-arrow-btn:focus,
  .dept-arrow-btn:active, .dept-arrow-btn:focus-visible,
  .service-card:hover, .service-card:focus, .service-card:active, .service-card:focus-visible,
  .news-item a:hover, .news-item a:focus, .news-item a:active, .news-item a:focus-visible,
  .dept-tab-btn.is-active:hover, .dept-tab-btn.is-active:focus, .dept-tab-btn.is-active:active {
      transform: none !important;
      scale: 1 !important;
      zoom: 1 !important;
      box-shadow: none !important;
      -webkit-tap-highlight-color: transparent !important;
  }

  .quick-link-card:hover, .quick-link-card:focus, .quick-link-card:active,
  .important-link-card:hover, .important-link-card:focus, .important-link-card:active {
      background: #2C6AB3 !important;
      color: #ffffff !important;
  }
  .btn:hover, .btn:focus, .btn:active,
  .btn-teal:hover, .btn-teal:focus, .btn-teal:active,
  .doctor-card .btn-teal:hover, .doctor-card .btn-teal:focus, .doctor-card .btn-teal:active {
      background: #2C6AB3 !important;
      color: #ffffff !important;
  }
  .dept-tab-btn.is-active:hover, .dept-tab-btn.is-active:focus, .dept-tab-btn.is-active:active {
      background: #2C6AB3 !important;
      color: #ffffff !important;
  }
  .dept-arrow-btn:hover, .dept-arrow-btn:active, .dept-arrow-btn:focus {
      background: #0AAFB2 !important;
      color: #ffffff !important;
  }
}

/* ==================== НОВОЕ МОБИЛЬНОЕ МЕНЮ (БУРГЕР) ==================== */
@media (max-width: 1199px) {
    
    .main-header { display: none !important; }

    .mobile-burger-real { 
        display: flex !important; 
        background: none; border: none; font-size: 24px; 
        color: #524f4f; padding: 0; cursor: pointer; line-height: 1; margin-right: 10px;
    }
    .mobile-menu-close { 
        display: none; 
        background: none; border: none; font-size: 32px; 
        color: #524f4f; padding: 0; cursor: pointer; line-height: 1; margin-right: 10px;
    }
    
    body.mobile-menu-open .mobile-burger-real { display: none !important; }
    body.mobile-menu-open .mobile-menu-close { display: block !important; }

    body.mobile-menu-open .header-info-section .container {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    body.mobile-menu-open .header-top-row {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        height: auto !important;
        margin-bottom: 20px !important;
        gap: 15px;
    }
    
    body.mobile-menu-open .search-box {
        flex: 0 0 50% !important; 
        width: 50% !important;
        max-width: 50% !important;
    }
    
    body.mobile-menu-open .accessibility-and-lang {
        margin: 0 !important;
        height: auto !important;
    }

    body.mobile-menu-open .logo-wrapper,
    body.mobile-menu-open .flags-bar,
    body.mobile-menu-open .accessibility-btn,
    body.mobile-menu-open .extra-links-block .links-top { 
        display: none !important; 
    }

    .custom-mobile-menu-list {
        display: none;
        width: 100%;
        margin: 0 0 20px 0;
        padding-bottom: 0; 
        border-bottom: none !important; 
    }
    body.mobile-menu-open .custom-mobile-menu-list {
        display: block !important;
    }
    .custom-mobile-menu-list ul {
        list-style: none; 
        padding: 0; 
        margin: 0; 
        display: flex; 
        flex-direction: column; 
        gap: 12px;
    }
    
    .custom-mobile-menu-list a {
        color: #524f4f !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        text-transform: lowercase !important; 
        text-decoration: none !important;
        display: block;
    }
    .custom-mobile-menu-list a::first-letter {
        text-transform: uppercase !important;
    }

    body.mobile-menu-open .header-bottom-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100%;
    }
    body.mobile-menu-open .phones-block,
    body.mobile-menu-open .schedule-block {
        display: flex !important;
        padding-top: 0 !important;
    }
    body.mobile-menu-open .extra-links-block {
        display: flex !important;
        align-items: flex-start !important;
        padding-top: 0 !important;
    }
    body.mobile-menu-open .extra-links-block .social-links {
        display: flex !important;
        justify-content: flex-start !important;
        margin-top: 0;
        gap: 15px;
    }

    body.mobile-menu-open .extra-links-block .social-links a {
        font-size: 24px !important;
    }
    
    body.mobile-menu-open .phone-comma {
        display: inline-block !important;
        color: #524f4f;
        margin: 0 4px 0 0;
    }
    
    .custom-mobile-menu-list a:hover,
    .custom-mobile-menu-list a:active {
        color: #10C1C3 !important;
        text-decoration: none !important;
    }
}

/* ==================== СТРАНИЦА «ВОПРОС ДИРЕКТОРУ» ==================== */
.director-page-intro { margin-bottom: 20px; }

.director-form-notice {
    background: #f8fbfc;
    border-left: 4px solid #10C1C3;
    padding: 16px 20px;
    margin: 0 0 30px;
    font-size: 14px;
    line-height: 1.5;
    color: #524f4f;
}
.director-form-notice p { margin: 0; text-align: left !important; }

.director-form-heading {
    font-size: 26px !important;
    font-weight: 600 !important;
    color: #2C6AB3;
    margin: 0 0 8px;
    text-align: left !important;
}
.director-form-subheading {
    font-size: 16px;
    color: #6b6b6b;
    margin: 0 0 25px;
}

.director-form-message {
    padding: 16px 20px;
    margin: 0 0 25px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}
.director-form-message.success { background: #e7f8ef; color: #1a7a4a; border: 1px solid #b6e8ce; }
.director-form-message.error   { background: #fdecec; color: #a52323; border: 1px solid #f3c2c2; }

.director-form {
    background: #f8fbfc;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    max-width: 760px;
}

.director-form .df-row { margin-bottom: 20px; }

.director-form label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2C6AB3;
    margin-bottom: 8px;
}

.director-form input[type="text"],
.director-form input[type="email"],
.director-form input[type="number"],
.director-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #ffffff;
    border: 1px solid #cfd8e0;
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.director-form input[type="text"]:focus,
.director-form input[type="email"]:focus,
.director-form input[type="number"]:focus,
.director-form textarea:focus {
    outline: none;
    border-color: #10C1C3;
    box-shadow: 0 0 0 3px rgba(16, 193, 195, 0.15);
}

.director-form textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

.director-form .df-captcha-row input[type="number"] { max-width: 180px; }
.director-form .df-captcha-row label strong { color: #10C1C3; font-size: 18px; }

.df-required { color: #d93025; font-weight: 700; }

.director-form .df-submit { margin-top: 25px; }
.director-form .df-submit .btn-teal {
    width: auto !important;
    min-width: 180px;
    height: 55px !important;
    font-size: 15px !important;
}

.df-required-note {
    margin: 18px 0 0;
    font-size: 13px;
    color: #8a8a8a;
}

.df-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1199px) {
    .director-form { padding: 20px 16px; }
    .director-form-heading { font-size: 20px !important; }
    .director-form-subheading { font-size: 14px; }
    .director-form label { font-size: 14px; }
    .director-form input[type="text"],
    .director-form input[type="email"],
    .director-form input[type="number"],
    .director-form textarea { font-size: 15px; padding: 11px 12px; }
    .director-form .df-submit .btn-teal {
        width: 100% !important;
        max-width: 100% !important;
        height: 52px !important;
    }
}

/* ==================== КНОПКА «ОСТАВИТЬ ОТЗЫВ» ==================== */
.tab-panel[data-panel-index="1"] {
    position: relative;
}

.reviews-action {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px dashed #e5e5e5;
}

.reviews-action .reviews-leave-btn,
.reviews-action .reviews-leave-btn:hover,
.reviews-action .reviews-leave-btn:focus,
.reviews-action .reviews-leave-btn:active {
    width: auto !important;
    min-width: 200px;
    height: 55px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    text-transform: uppercase;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #0AAFB2 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 0 !important;
    transform: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    transition: background-color 0.2s ease !important;
}
.reviews-action .reviews-leave-btn:hover,
.reviews-action .reviews-leave-btn:focus {
    background: #2C6AB3 !important;
    color: #ffffff !important;
}

/* Селект для оценки */
.review-form select {
    display: block;
    width: 100%;
    max-width: 240px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    border: 1px solid #cfd8e0;
    border-radius: 4px;
    cursor: pointer;
}
.review-form select:focus {
    outline: none;
    border-color: #10C1C3;
    box-shadow: 0 0 0 3px rgba(16, 193, 195, 0.15);
}

@media (max-width: 1199px) {
    .reviews-action { margin-top: 20px; padding-top: 20px; }
    .reviews-action .reviews-leave-btn {
        width: 100% !important;
        max-width: 100% !important;
        height: 52px !important;
        font-size: 14px !important;
    }
    .review-form select { max-width: 100%; }
}

/* ==================== ФОРМА КОНСУЛЬТАЦИИ ==================== */
.consultation-block {
    background: #f8fbfc;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.consult-title {
    font-size: 26px !important;
    font-weight: 600 !important;
    color: #2C6AB3;
    margin: 0 0 10px !important;
}

.consult-subtitle {
    font-size: 16px;
    color: #6b6b6b;
    margin-bottom: 30px;
    text-align: center !important;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.consult-form input[type="text"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #cfd8e0;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.consult-form input[type="text"]:focus {
    outline: none;
    border-color: #10C1C3;
    box-shadow: 0 0 0 3px rgba(16, 193, 195, 0.15);
}

.c-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 55px;
    background: #0AAFB2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 5px;
}
.c-submit-btn:hover {
    background: #2C6AB3;
    color: #fff;
}

.consult-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}
.consult-message.success { background: #e7f8ef; color: #1a7a4a; border: 1px solid #b6e8ce; }
.consult-message.error { background: #fdecec; color: #a52323; border: 1px solid #f3c2c2; }

/* Мессенджеры */
.consult-messengers {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed #cfd8e0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #524f4f;
}
.consult-messengers span {
    width: 100%;
    margin-bottom: 5px;
    font-weight: 500;
}
.msg-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    font-weight: 600;
    transition: opacity 0.2s ease;
}
.msg-icon:hover { opacity: 0.8; }
.msg-icon.viber { color: #7360f2 !important; }
.msg-icon.telegram { color: #229ED9 !important; }
.msg-icon.whatsapp { color: #25D366 !important; }
.msg-icon i { font-size: 20px; }

.c-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
}

/* Адаптив для мобильных */
@media (max-width: 1199px) {
    .consultation-block {
        padding: 30px 15px;
        margin: 20px 10px;
        border-radius: 0;
    }
    .consult-title { font-size: 22px !important; }
    .consult-form input[type="text"] { font-size: 15px; padding: 12px 15px; }
    .consult-messengers { flex-direction: column; gap: 10px; }
}

.content-page .entry-content {
    font-size: 18px;
    line-height: 1.65;
}
.content-page .entry-content p,
.content-page .entry-content li,
.content-page .entry-content blockquote,
.content-page .entry-content dd,
.content-page .entry-content dt {
    font-size: 18px;
    line-height: 1.65;
}

.content-page .entry-content h1,
.content-page .entry-content h2,
.content-page .entry-content h3,
.content-page .entry-content h4 {
    line-height: 1.3;
}

.content-page .page-title {
    margin-bottom: 28px !important;
}
.content-page .page-title + .entry-content,
.content-page .page-title + .tabs-content,
.content-page .page-title + .row,
.content-page .page-title + .director-form-notice,
.content-page .page-title + .director-form-heading {
    margin-top: 8px !important;
}
.content-page .entry-content + .director-form-heading {
    margin-top: 32px !important;
}

.accordion .accordion-button:hover,
.accordion .accordion-button:focus,
.accordion .accordion-button:active,
.accordion-flush .accordion-button:hover,
.accordion-flush .accordion-button:focus,
.accordion-flush .accordion-button:active,
details.accordion-item > summary:hover,
details.accordion-item > summary:focus,
details.faq-item > summary:hover,
details.faq-item > summary:focus,
details > summary:hover,
details > summary:focus,
.wp-block-accordion-heading button:hover,
.wp-block-accordion-heading button:focus,
.wp-block-accordion .wp-block-accordion-heading button:hover,
.wp-block-accordion .wp-block-accordion-heading button:focus,
[class*="accordion"] button[aria-expanded]:hover,
[class*="accordion"] button[aria-expanded]:focus,
[class*="accordion"] [role="button"][aria-expanded]:hover,
[class*="accordion"] [role="button"][aria-expanded]:focus {
    background: #0ab0b2 !important;
    filter: none !important;
    box-shadow: none !important;
}

.dept-tab-btn.is-active:hover,
.dept-tab-btn.is-active:focus,
.dept-tab-btn.is-active:active {
    background: #0ab0b2 !important;
    color: #ffffff !important;
    filter: none !important;
}
.tab-btn:hover,
.tab-btn:focus,
.tab-btn:active,
.tab-btn:focus-visible {
    filter: none !important;
    box-shadow: none !important;
}
.tab-btn.blue-tab:hover,
.tab-btn.blue-tab:focus  { background: linear-gradient(180deg, #3a82c7 0%, #2868b5 100%) !important; }
.tab-btn.teal-tab:hover,
.tab-btn.teal-tab:focus  { background: linear-gradient(180deg, #10c2c5 0%, #0ab0b2 100%) !important; }

/* ---------- 4. Плавные переходы ---------- */
a,
button,
input[type="submit"],
input[type="button"],
.btn,
.btn-teal,
.tab-btn,
.dept-tab-btn,
.news-item a,
.menu-list a,
.menu-list .nav-link,
.pagination-wrap a,
.pagination-wrap span,
.quality-qr-wrap a,
.quality-rating-wrap a,
.reviews-leave-btn,
.c-submit-btn,
.section-all-link a,
.footer-extra-link,
.footer-credit a,
.breadcrumbs a,
.msg-icon,
.hero-nav-btn,
.arrow-btn,
.quick-link-card,
.important-link-card,
.service-card,
.service-card-title {
    transition:
        background-color 0.25s ease,
        color            0.25s ease,
        border-color     0.25s ease,
        box-shadow       0.25s ease,
        opacity          0.25s ease,
        transform        0.25s ease;
}

/* Лёгкое «нажатие» для кнопок */
.btn:active,
.btn-teal:active,
.c-submit-btn:active,
input[type="submit"]:active,
button[type="submit"]:active {
    transform: scale(0.98);
}

/* Плавный скролл по якорям */
html {
    scroll-behavior: smooth;
}

/* Мягкое появление контента страницы (без резкого «щелчка») */
@keyframes st9-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.content-page {
    animation: st9-fade-in 0.25s ease-out;
}

.announcement-slide {
    display: none;
}
.announcement-slide:first-child {
    display: block;
}

@media (max-width: 1199px) {
    .content-page .entry-content,
    .content-page .entry-content p,
    .content-page .entry-content li,
    .content-page .entry-content blockquote {
        font-size: 16px;
        line-height: 1.6;
    }
    .content-page .page-title {
        margin-bottom: 20px !important;
    }
}

.dept-tab-btn.is-active:hover,
.dept-tab-btn.is-active:focus,
.dept-tab-btn.is-active:active {
    background: #2C6AB3 !important;
    color: #ffffff !important;
    filter: none !important;
}

.dept-tab-btn:not(.is-active):hover,
.dept-tab-btn:not(.is-active):focus,
.dept-tab-btn:not(.is-active):active {
    background: rgba(10, 176, 178, 0.15) !important;
    color: #0ab0b2 !important;
}

@media (max-width: 1199px) {
    .dept-tab-btn.is-active:hover,
    .dept-tab-btn.is-active:focus,
    .dept-tab-btn.is-active:active {
        background: #0AAFB2 !important;
        color: #ffffff !important;
    }
}

/* ==================== СЛАЙДЕР ОТЗЫВОВ ==================== */
.reviews-action-top {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.reviews-action-top .reviews-leave-btn {
    width: auto !important;
    min-width: 200px;
    height: 55px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    text-transform: uppercase;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #10c2c5 0%, #0ab0b2 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    transition: background 0.2s ease, filter 0.2s ease !important;
}
.reviews-action-top .reviews-leave-btn:hover,
.reviews-action-top .reviews-leave-btn:focus {
    background: linear-gradient(180deg, #3a82c7 0%, #2868b5 100%) !important;
    color: #ffffff !important;
}

.reviews-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    margin-top: 10px;
}

.reviews-slider-content {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.review-slide-page {
    flex: 0 0 100%;
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 10px 0;
}

.review-card {
    flex: 1;
    max-width: calc(33.333% - 20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-avatar {
    width: 64px;
    height: 64px;
    background-color: #10C3C6; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden; 
}

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

.review-author {
    font-size: 20px;
    font-weight: 400;
    color: #524f4f;
    margin-bottom: 15px;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #524f4f;
}

.review-text p {
    margin: 0;
}

.custom-review-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.custom-review-dots .review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #10c3c6;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.custom-review-dots .review-dot.active {
    background: #2C6AB3;
    border-color: #2C6AB3;
}

.reviews-empty {
    text-align: center;
    padding: 24px;
    color: #8a8a8a;
    font-size: 16px;
}

.reviews-slider-wrapper .arrow-btn {
    background: transparent !important;
    box-shadow: none !important;
    color: #524f4f;
    font-size: 24px;
    flex-shrink: 0;
}
.reviews-slider-wrapper .arrow-btn:hover {
    color: #2C6AB3;
}

@media (max-width: 1199px) {
    .review-slide-page {
        gap: 15px;
    }
    .review-card {
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .review-slide-page {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .review-card {
        max-width: 100%;
    }
    .reviews-slider-wrapper {
        gap: 10px;
    }
    .reviews-slider-wrapper .arrow-btn {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
    .review-author {
        font-size: 18px;
    }
    .reviews-action-top .reviews-leave-btn {
        width: 100% !important;
        max-width: 100% !important;
        height: 52px !important;
        font-size: 14px !important;
    }
}

/* ==================== КАРТОЧКА ВРАЧА ==================== */
.doctor-card .btn-teal {
    position: static !important; 
    top: auto !important;
    left: auto !important;
    width: 217px !important; 
    height: 60px !important;
    margin-top: 20px !important;
    align-self: flex-start !important; 
}

.doctor-photo {
    width: 180px;
    height: 220px;
}

@media (min-width: 768px) {
    .doctor-card {
        padding-bottom: 90px;
    }
    
    .doctor-card .btn-teal {
        position: absolute !important; 
        top: 270px !important; 
        left: 235px !important; 
        width: 217px !important; 
        height: 60px !important;
        margin: 0 !important;
    }
    
    .doctor-photo {
        width: 180px;
        height: 220px;
    }
}

@media (max-width: 1199px) {
    .doctor-card .btn-teal {
        position: static !important; 
        top: auto !important;
        left: auto !important;
        width: 217px !important;
        height: 60px !important;
        margin: 20px auto 0 auto !important; 
        align-self: center !important;
    }
}


/* ==================== НОВЫЙ ЛОГОТИП (Текст + GIF поверх) ==================== */
.custom-logo-link {
    position: relative !important;
    display: block !important; 
    line-height: 0 !important; 
    height: auto !important;
    text-decoration: none !important;
    padding-left: 25px !important; 
    padding-top: 0 !important; 
    margin: 0 !important;
}

.custom-logo-link::before {
    content: "" !important;
    position: absolute !important;
    background: url('/wp-content/uploads/2026/11/logo-diamond.gif') no-repeat left top !important;
    background-size: contain !important;
    width: 109px !important;
    height: 85px !important;
    left: 40px !important;
    top: 0 !important; 
    z-index: 2 !important;
}


.logo-text-img {
    height: 115px !important; 
    width: auto !important;
    display: block !important; 
    vertical-align: bottom !important; 
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 1199px) {
    .logo-wrapper {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .logo-wrapper a.custom-logo-link {
        display: inline-flex !important;
        width: auto !important;
        max-width: none !important;
        height: 130px !important;
        padding-left: 30px !important; 
        padding-top: 10px !important;
        margin: 0 auto !important; 
    }

    .custom-logo-link::before {
        width: 105px !important; 
        height: 110px !important;
        left: 35px !important; 
    }

    .logo-text-img {
        height: 130px !important;
        width: auto !important;
        max-width: none !important;
    }
}

.content-page .services-section {
    background: transparent !important;
}

/* ==================== СТИЛИ ДЛЯ GTRANSLATE (RU/EN) ==================== */
.gtranslate-lang-text { display: flex; align-items: center; }
.gtranslate-lang-text .gtranslate_wrapper { display: flex !important; align-items: center !important; gap: 5px !important; background: transparent !important; }
.gtranslate-lang-text .gtranslate_wrapper img, .gtranslate-lang-text .gtranslate_wrapper span { display: none !important; }
.gtranslate-lang-text .gtranslate_wrapper a.glink { font-size: 16px !important; font-weight: 500 !important; color: #524f4f !important; text-transform: uppercase !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; text-decoration: none !important; transition: color 0.2s ease; }
.gtranslate-lang-text .gtranslate_wrapper a.glink[data-gt-lang="ru"] { order: 1 !important; }
.gtranslate-lang-text .gtranslate_wrapper a.glink[data-gt-lang="en"] { order: 2 !important; }
.gtranslate-lang-text .gtranslate_wrapper a.glink[data-gt-lang="ru"]::before { content: 'RU'; }
.gtranslate-lang-text .gtranslate_wrapper a.glink[data-gt-lang="en"]::before { content: 'EN'; }
.gtranslate-lang-text .gtranslate_wrapper a.glink[data-gt-lang="en"]::after { content: ''; display: none; }
.gtranslate-lang-text .gtranslate_wrapper a.glink.gt_current,
.gtranslate-lang-text .gtranslate_wrapper a.glink.gt_current::before {
    color: #10C3C6 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    font-weight: 700 !important;
}
.gtranslate-lang-text .gtranslate_wrapper a.glink:hover:not(.gt_current),
.gtranslate-lang-text .gtranslate_wrapper a.glink:hover:not(.gt_current)::before {
    color: #2C6AB3 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.gtranslate-lang-text .gtranslate_wrapper a.glink[data-gt-lang="ru"]::after {
    content: '/';
    color: #ccc;
    margin-left: 5px;
    text-decoration: none !important;
    display: inline-block;
}


/* =========================================
   АНОНСЫ: МОБИЛЬНАЯ И ДЕСКТОПНАЯ ВЕРСИИ
   ========================================= */

@media (min-width: 1200px) {

    .announcement-section .custom-ann-dots {
        display: none !important;
    }

    .announcement-section .arrow-btn {
        display: flex !important;
    }
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 1199px) {

    .announcement-section {
        height: 230px !important;
        min-height: 230px !important;
        max-height: 230px !important;
        margin-bottom: 0 !important;
        padding: 15px 0 8px !important;
        overflow: hidden !important;
    }

    .announcement-section .announcement-wrapper {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        height: 100% !important;
        max-height: 100% !important;
        min-height: 0 !important;
        gap: 0 !important;
    }

    .announcement-section .announcement-content {
        display: block !important;
        box-sizing: border-box !important;
        flex: 0 0 170px !important;
        width: 100% !important;
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #fff !important;
        padding: 15px !important;
        margin: 0 !important;
    }

    .announcement-section .announcement-slide {
        box-sizing: border-box !important;
        width: 100% !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .announcement-section .custom-ann-dots {
        display: flex !important;
        position: relative !important;
        order: 10 !important;
        width: 100% !important;
        height: 12px !important;
        min-height: 12px !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 10px 0 0 !important;
        padding: 0 !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    .announcement-section .custom-ann-dots .ann-dot,
    .announcement-section .custom-ann-dots .ann-dot:hover,
    .announcement-section .custom-ann-dots .ann-dot:focus {
        appearance: none !important;
        -webkit-appearance: none !important;
        display: block !important;
        box-sizing: border-box !important;
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        min-height: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 1px solid #ccc !important;
        border-radius: 50% !important;
        background: #fff !important;
        box-shadow: none !important;
        outline: none !important;
        font-size: 0 !important;
        cursor: pointer !important;
    }

    .announcement-section .custom-ann-dots .ann-dot.active {
        background: #2C6AB3 !important;
        border-color: #2C6AB3 !important;
    }

    .announcement-section .arrow-btn {
        display: none !important;
    }

    .announcement-section + .quick-links-section {
        margin-top: 0 !important;
    }
}
