/* ==================== */
/* Вертикальное меню */
/* ==================== */
.widget {
  padding-bottom: 9px;
  margin-bottom: 30px;
  border-bottom: solid 1px #ddd;
}

.widget__title {
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 9px;
  border-bottom: solid 3px #0086cc;
}

.widget__title_right {
  text-align: right;
}

.vertical-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-bottom: none;
}

.menu-item {
  border-bottom: 1px solid #e0e0e0;
}

.menu-item a {
  font-size: 0.9rem;
  display: block;
  padding: 12px 15px;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu-item a:hover {
  background: linear-gradient(-135deg, #00b6b6 0%, #0086cc 100%);
  color: #ffffff;
  
}


/* ==================== */
/* Карточка главврача */
/* ==================== */
.card {
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.photo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f5f5f5;
}

.photo img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.info {
  flex: 1;
  padding: 20px;
}

.name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.position {
  color: #333;
  margin-bottom: 15px;
}

.organization {
  font-weight: bold;
  margin-bottom: 15px;
}

.description {
  margin-bottom: 15px;
  line-height: 1.5;
}

.contact {
  margin-top: 15px;
  font-style: italic;
}

/* Адаптация карточки */
@media (min-width: 768px) {
  .card {
    flex-direction: row;
  }
  
  .photo {
    width: 320px;
  }
}

@media (max-width: 480px) {
  .card {
    flex-direction: column;
  }
  
  .photo {
    width: 100%;
    padding: 0;
    background-color: #f5f5f5;
  }
  
  .photo img {
    width: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    aspect-ratio: 4/5;
  }
  
  .info {
    padding: 15px;
  }
}


/* ==================== */
/* Документы и архивы */
/* ==================== */
.documents-container {
  margin: 0 auto;
}

.section-title {
  color: #2c3e50;
  border-bottom: 1px solid #e0e6ed;
  padding-bottom: 8px;
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Карточки документов */
.document-card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.document-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Карточки архивов */
.archive-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 32px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.archive-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Контент документов */
.document-content {
  flex: 1;
  padding-right: 16px;
}

/* Заголовки */
.document-title {
  color: #2980b9;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.document-title:hover {
  text-decoration: underline;
}

.archive-title {
  color: #2980b9;
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.archive-title:hover {
  text-decoration: underline;
}

/* Мета-информация */
.document-meta {
  color: #7f8c8d;
  font-size: 14px;
  margin-bottom: 0;
}

/* Бейджи форматов */
.file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  height: 24px;
  flex-shrink: 0;
}

.file-badge.pdf {
  background-color: #e74c3c;
}
.file-badge.doc {
  background-color: #3498db;
}
.file-badge.zip {
  background-color: #34d3db;
}


/* ==================== */
/* Специалисты */
/* ==================== */
.gl-card {
  background: #eafff6;
  border: solid 1px #78ffcc !important;
}

.specialist-card {
  border: solid 1px #e7e7e7;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 900px;
  padding: 30px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.specialist-header {
  grid-column: 1 / -1;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.specialist-photo {
  width: 150px;
  height: 180px;
  border-radius: 5px;
  object-fit: cover;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.specialist-info {
  flex: 1;
}

.specialist-name {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.specialist-position {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
}

.specialist-section {
  margin-bottom: 20px;
}

.specialist-section-title {
  font-weight: bold;
  color: #444;
  margin-bottom: 8px;
  font-size: 16px;
}

.specialist-section-content {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}

.specialist-contacts {
  color: #2a6496;
  font-weight: bold;
}

.specialist-certificate, 
.specialist-education {
  margin-bottom: 10px;
}

.specialist-left-column {
  display: flex;
  flex-direction: column;
}

.specialist-right-column {
  display: flex;
  flex-direction: column;
}


/* ==================== */
/* Главная страница */
/* ==================== */
.home-h {
  display: inline-block;
  background-image: linear-gradient(to right, #0086cc, #00b6b6);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.home-content-banner {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-content-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.godovshina img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}


/* ==================== */
/* Сайдбар */
/* ==================== */
.sidebar-banners img {
  width: 100%;
  height: auto;
}

.sidebar-banners {
  display: grid;
  gap: 10px;
  margin: 0 auto;
}

/* Мобильные (2 колонки) */
@media (max-width: 768px) {
  .sidebar-banners {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Десктоп (1 колонка) */
@media (min-width: 769px) {
  .sidebar-banners {
    grid-template-columns: 1fr;
  }
}

/* Общие стили для баннеров */
.sidebar-banners a {
  display: block;
  transition: transform 0.3s ease;
}

.sidebar-banners a:hover {
  transform: scale(1.02);
}

/* Оптимизация для очень узких экранов */
@media (max-width: 400px) {
  .sidebar-banners {
    gap: 10px;
  }
}


/* ==================== */
/* Карусель баннеров */
/* ==================== */
.health-carousel {
  width: 100%;
  max-width: 973px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.health-carousel-container {
  width: calc(100% - 80px);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.health-banners-scroll {
  display: flex;
  transition: transform 0.5s ease;
  gap: 15px;
}

/* Общие стили для всех баннеров */
.health-banner {
  min-width: 325px;
  height: 100px;
  background: linear-gradient(135deg, #1a2a3a, #2c3e50);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid #3a4a5a;
  font-family: Arial, sans-serif;
  flex-shrink: 0;
}

.health-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.health-banner::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.health-banner::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.health-banner-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.health-banner-subtitle {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 5px;
}

.health-banner-highlight {
  color: #4fc3f7;
  font-weight: bold;
}

/* Специфичные стили для каждого баннера */
.committee-banner,
.rozdrav-banner,
.federal-banner,
.rospotreb-banner,
.oms-banner {
  background: linear-gradient(135deg, #2c3944 0%, #151b20 100%);
}

/* Стили стрелок */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #0086cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-arrow::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid white;
  border-width: 2px 2px 0 0;
}

.carousel-arrow.prev::after {
  transform: rotate(-135deg);
  margin-right: 3px;
}

.carousel-arrow.next::after {
  transform: rotate(45deg);
  margin-left: 3px;
}

/* Индикаторы */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicator.active {
  background: #4fc3f7;
}

/* Адаптивность карусели */
@media (max-width: 768px) {
  .health-carousel-container {
    width: calc(100% - 40px);
  }
  
  .carousel-arrow {
    width: 30px;
    height: 30px;
  }
  
  .carousel-arrow.prev {
    left: 0;
  }
  
  .carousel-arrow.next {
    right: 0;
  }
  
  .health-banner {
    min-width: 280px;
    height: 90px;
  }
}


/* ==================== */
/* Версия для слабовидящих */
/* ==================== */
#accessibility-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background: linear-gradient(-135deg, #00b6b6 0%, #0086cc 100%);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Стили для режима доступности */
.accessibility-mode {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #000 !important;
  background: #fff !important;
}

.accessibility-mode .footer-column,
.accessibility-mode .site-description,
.accessibility-mode .contact-info,
.accessibility-mode .menu-item a {
  font-size: 20px !important;
}

.accessibility-mode .widget__title,
.accessibility-mode .footer-column h5 {
  font-size: 24px !important;
  border-bottom: none;
  font-weight: bold;
}

.accessibility-mode * {
  color: inherit !important;
  background-color: inherit !important;
}

.accessibility-mode a {
  text-decoration: underline !important;
  color: #000 !important;
}

.accessibility-mode img {
  filter: grayscale(100%) !important;
  border: none !important;
  opacity: 0.9 !important;
}

.accessibility-mode {
  background-image: none !important;
}

.accessibility-mode .element-s-fonovym-izobrazheniem {
  filter: grayscale(100%) !important;
}

.accessibility-mode .footer-wrapper {
  border-top: none;
  border-bottom: none;
}

.accessibility-mode footer a {
  color: white !important;
}

.accessibility-mode .menu-wrapper,
.accessibility-mode .footer-wrapper {
  background: #333 !important;
  color: #fff !important;
}

.accessibility-mode nav a {
  font-size: 16px !important;
  padding: 15px 20px !important;
}

/* Стили для верхнего меню в режиме доступности */
.accessibility-mode .menu-wrapper {
  background: #000 !important;
}

.accessibility-mode nav a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: bold;
  padding: 15px 20px !important;
}

/* Активный пункт меню */
.accessibility-mode nav ul li.active a {
  background: #dfdfdf !important;
  color: #000 !important;
}

/* Эффект при наведении */
.accessibility-mode nav a:hover {
  background: #333 !important;
}

.accessibility-mode .gor-tel > div {
  background: #dfdfdf!important;
}
.accessibility-mode .news-date {
  background: #fff;
  border: solid 1px #ccc;
}
.accessibility-mode .ko_title {
  background: #fff;
}








/* Новости - обновленные стили */
/* Новости - упрощенные стили */
.news-page {
    margin: 2rem auto;
    padding: 0 1rem;
}


.news-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.news-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.news-item:last-child {
    border-bottom: none;
}

.news-content {
    display: flex;
    gap: 2rem;
}

.news-image {
    flex: 0 0 300px;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-body {
    flex: 1;
}

.news-date {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;

}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #0096c5;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.news-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f9e5c1;
    color: #555;
    border-radius: 100px;
    border: solid 1px #e5c07c;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-tag:hover {
    background: #fff;

}

.news-text {
    color: #555;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #0066cc;
    margin-top: 0.5rem;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 1rem 0;
}

.pagination-link, .pagination-current, .pagination-ellipsis {
    padding: 0.5rem 1rem;
}

.pagination-link {
    color: #0066cc;
    text-decoration: none;
}

.pagination-link:hover {
    text-decoration: underline;
}

.pagination-current {
    color: #333;
    font-weight: bold;
}

.pagination-ellipsis {
    color: #666;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news-image {
        flex: 0 0 auto;
    }
}





/* Детальная страница новости */
/* Детальная страница новости - уникальные стили */
.news-single-page {
    padding: 0 1rem;
}

.news-single {
    font-family: inherit;
    line-height: 1.6;
    color: #333333;
}

.news-single-header {
    margin-bottom: 2.5rem;
}

.news-single-date {
    display: block;
    font-size: 0.95rem;
    color: #777777;
    margin-bottom: 0.8rem;
}

.news-single-title {
    font-size: 2rem;
    margin: 0 0 1.2rem 0;
    line-height: 1.25;
    color: #222222;
    font-weight: 600;
}

.news-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
}

.news-single-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f9e5c1;
    color: #555;
    border-radius: 100px;
    border: solid 1px #e5c07c;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-single-tag:hover {
        background: #fff;
}

.news-single-image {
    margin: 2.5rem 0;
    border-radius: 4px;
    overflow: hidden;
}

.news-single-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.news-single-content {
    margin: 2.5rem 0;
    font-size: 1.05rem;
}

.news-single-content p {
    margin-bottom: 1.6rem;
}

.news-single-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 3px;
}

.news-single-content h2,
.news-single-content h3,
.news-single-content h4 {
    margin: 2rem 0 1.2rem 0;
    color: #222222;
}

.news-single-content h2 {
    font-size: 1.5rem;
}

.news-single-content h3 {
    font-size: 1.3rem;
}

.news-single-content ul,
.news-single-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.8rem;
}

.news-single-content li {
    margin-bottom: 0.5rem;
}

.news-single-footer {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.news-single-backlink {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3366cc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.news-single-backlink:hover {
    color: #224499;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-single-page {
        padding: 0 1.2rem;
    }
    
    .news-single-title {
        font-size: 1.7rem;
    }
    
    .news-single-content {
        font-size: 1rem;
    }
    
    .news-single-image {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .news-single-title {
        font-size: 1.5rem;
    }
    
    .news-single-date {
        font-size: 0.9rem;
    }
    
    .news-single-tags {
        gap: 0.5rem;
    }
    
    .news-single-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}











/* Стили для отзывов */
.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #222;
}

.reviews-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Сетка отзывов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.reviews-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Заголовок карточки */
.reviews-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviews-avatar {
    width: 50px;
    height: 50px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.reviews-avatar-icon {
    width: 24px;
    height: 24px;
    fill: #2a7de1;
}

.reviews-username {
    margin: 0;
    font-size: 1.2rem;
    color: #222;
}

.reviews-date {
    font-size: 0.85rem;
    color: #888;
}

/* Тело карточки */
.reviews-message {
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

/* Контакты */
.reviews-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.reviews-contact-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
    background: #f8f8f8;
    padding: 5px 10px;
    border-radius: 5px;
}

.reviews-contact-icon {
    width: 14px;
    height: 14px;
    fill: #666;
    margin-right: 5px;
}

/* Состояние "нет отзывов" */
.reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 10px;
}

.reviews-empty-icon {
    width: 50px;
    height: 50px;
    fill: #ccc;
    margin-bottom: 15px;
}

.reviews-empty p {
    color: #888;
    font-size: 1.1rem;
    margin: 0;
}

/* Форма отзыва */
.reviews-form-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-form-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #222;
}

.reviews-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reviews-form-row {
    display: flex;
    gap: 20px;
}

.reviews-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reviews-form-label {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
}

.reviews-form-input, .reviews-form-textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.reviews-form-input:focus, .reviews-form-textarea:focus {
    outline: none;
    border-color: #2a7de1;
}

.reviews-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.reviews-form-footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviews-form-submit {
    background-color: #0086CC;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}


.reviews-submit-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.reviews-form-note {
    font-size: 0.85rem;
    color: #888;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .reviews-title {
        font-size: 1.8rem;
    }
}


/* Стили принятия кукис файлов */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3944 0%, #151b20 100%);
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-notice a {
  color: #0086cc;
  text-decoration: underline;
}
.cookie-notice p {
  margin-bottom: 0;
}
.cookie-btn {
  background: #0086cc;
  color: white;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 4px;
}



.vacancies-container {
    padding: 2rem;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    max-width: 100%;
}

.vacancies-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.vacancy-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid #e2e8f0;
}

.vacancy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.vacancy-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.vacancy-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.salary-badge {
    background-color: #f0fff4;
    color: #38a169;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.date-posted {
    color: #718096;
    font-size: 0.85rem;
}

.no-vacancies-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    color: #4a5568;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.no-vacancies-message svg {
    color: #718096;
}

@media (max-width: 640px) {
    .vacancies-grid {
        grid-template-columns: 1fr;
    }
    
    .vacancies-title {
        font-size: 1.5rem;
    }
}
/* Unique styles for vacancy detail template (vdt prefix) */
.vdt-container {
    max-width: 100%;
    padding: 2rem;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
}

.vdt-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.vdt-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.vdt-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.vdt-salary {
    background-color: #f0fff4;
    color: #38a169;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
}

.vdt-date {
    color: #666;
    font-size: 0.95rem;
}

.vdt-section {
    margin-bottom: 2rem;
}

.vdt-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.vdt-text {
    line-height: 1.7;
    padding: 0.5rem 0;
}

.vdt-text br {
    margin-bottom: 1rem;
    display: block;
    content: "";
}

.vdt-requirements,
.vdt-conditions {
    background-color: #fafafa;
    border-radius: 4px;
    padding: 1.25rem;
}

.vdt-req-item {
    display: flex;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.vdt-req-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.vdt-req-label {
    font-weight: 500;
    color: #555;
    min-width: 140px;
}

.vdt-req-value {
    color: #222;
}

.vdt-back-link {
    display: inline-block;
    color: #1890ff;
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border: 1px solid #d9e7ff;
    border-radius: 4px;
    transition: all 0.2s;
    margin-top: 1rem;
}

.vdt-back-link:hover {
    background-color: #e6f7ff;
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .vdt-title {
        font-size: 1.7rem;
    }
    
    .vdt-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .vdt-req-item {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .vdt-req-label {
        min-width: auto;
    }
}



/* Стили для блока вакансий на главной */


.vacancies-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.vacancies-list li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.vacancies-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.vacancies-list a {
    text-decoration: none;
    color: #2a5885;
}

.vacancies-list a:hover {
    text-decoration: underline;
}

.all-vacancies-link {
    margin-top: 10px;
    text-align: right;
}

.all-vacancies-link a {
    color: #666;
    font-size: 0.9em;
}

.home-h {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Новости - минимальные стили */


/* Общие стили для карточек */
/* Общие стили */
.latest-news-section {
  margin-top: 20px;
    margin-bottom: 10px;
}

.news-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.news-card-main,
.news-card-small {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card-main:hover,
.news-card-small:hover {
    transform: translateY(-5px);
}

.news-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-link:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 20px;
}

.news-card-date {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.news-card-excerpt {
    color: #555;
    margin: 15px 0;
    line-height: 1.5;
    font-size: 15px;
}

.news-card-more {
    color: #0066cc;
    font-weight: 500;
    
    display: inline-block;
}

.news-card-link:hover .news-card-more {
    text-decoration: underline;
}

.all-news {
    text-align: right;

}

.all-news a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.all-news a:hover {
    text-decoration: underline;
}

/* Десктопная версия */
@media (min-width: 768px) {
    .news-cards-container {
        flex-direction: row;
    }
    
    .news-card-main {
        flex: 1 1 50%;
    }
    
    .news-cards-secondary {
        flex: 1 1 50%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .news-card-main .news-card-image {
        height: 300px;
    }
    
    .news-card-main .news-card-title {
        font-size: 22px;
    }
    
    .news-card-small .news-card-image {
        height: 150px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .news-card-main .news-card-image,
    .news-card-small .news-card-image {
        height: 180px;
    }
    
    .news-card-main,
    .news-card-small {
        width: 100%;
    }
    .news-card-small {
      margin-bottom: 20px;
    }
}


/* Базовые стили компонента */
.vkb-staff-container {
  
    margin: 0 auto;
    padding: 2rem 1rem;
}

.vkb-staff-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.vkb-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Карточка */
.vkb-staff-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vkb-staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Цветовые варианты */
.vkb-staff-card--admin {
    border-top: 4px solid #3498db;
}

.vkb-staff-card--specialist {
    border-top: 4px solid #2ecc71;
}

/* Фото */
.vkb-staff-card__photo {
    height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vkb-staff-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vkb-staff-card__no-photo {
    width: 80px;
    height: 80px;
    color: #95a5a6;
}

/* Контент */
.vkb-staff-card__content {
    padding: 1.5rem;
    flex-grow: 1;
}

.vkb-staff-card__name {
    margin: 0 0 0.5rem;
    color: #2c3e50;
    font-size: 1.25rem;
}

.vkb-staff-card__position {
    margin: 0 0 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.vkb-staff-card__info {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #34495e;
    font-size: 0.9rem;
}

/* Футер */
.vkb-staff-card__footer {
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.03);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
}

/* Иконки */
.vkb-staff-card__icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: currentColor;
}

/* Адаптив */
@media (max-width: 992px) {
    .vkb-staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .vkb-staff-grid {
        grid-template-columns: 1fr;
    }
    
    .vkb-staff-card__photo {
        height: 180px;
    }
}
.vkb-staff-card__details {
    margin-top: 1rem;
}

.vkb-staff-card__detail {
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
}

.vkb-staff-card__label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.vkb-staff-card__detail span:not(.vkb-staff-card__label) {
    color: #34495e;
    font-size: 0.9rem;
}

/* Адаптив для длинного текста */
@media (max-width: 768px) {
    .vkb-staff-card__detail {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .vkb-staff-card__label {
        margin-bottom: 0;
        margin-right: 0.3rem;
    }
}


/*  ПОИСК */

.search-form {
    margin-left: auto;
    margin-right: 0;
    display: flex;
    margin-top: 5px;
    max-width: 300px;
}

.search-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 12px;
    outline: none;
    transition: border 0.3s;
}

.search-form input:focus {
    border-color: #0086cc;
}

.search-form button {
    padding: 10px 20px;
    background: #0086cc;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.search-form button:hover {
    opacity: 0.8;
}