/* ==========================================================================
   БЛОК: Заказ дров (.firewood-*)
   ========================================================================== */
.firewood-container *,
.firewood-container *::before,
.firewood-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.firewood-container {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  line-height: 1.6;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.firewood-container h2 {
  font-size: 1.35rem;
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #d97706;
}

/* Блок с контактами */
.firewood-contacts {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 30px;
}

.firewood-contacts-title {
  font-size: 1.05rem;
  font-weight: bold;
  color: #2d6a4f;
  margin-bottom: 16px;
}

/* Сетка карточек с телефонами */
.firewood-phones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.firewood-phone-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 3px solid #2d6a4f;
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.firewood-phone-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.firewood-location {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 4px;
}

.firewood-phone-link {
  color: #d97706;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.firewood-phone-link:hover {
  color: #b45309;
  text-decoration: underline;
}

/* PDF фреймы */
.pdf-wrapper {
  margin-bottom: 25px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.pdf-wrapper iframe {
  display: block;
  border: none;
}

/* Адаптивность для дров */
@media (max-width: 768px) {
  .firewood-container {
    padding: 15px;
  }

  .firewood-phones-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }

  .pdf-wrapper iframe {
    height: 600px;
  }
}

/* ==========================================================================
   БЛОК: Методические рекомендации (.method-rec-*)
   ========================================================================== */
.method-rec-container *,
.method-rec-container *::before,
.method-rec-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.method-rec-container {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  line-height: 1.6;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.method-rec-header {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}

.method-rec-title {
  font-size: 1.35rem;
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid #d97706;
  text-transform: uppercase;
}

.method-rec-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2d6a4f;
  line-height: 1.4;
  padding-left: 16px;
}

/* Основной текст и нумерованный список */
.method-rec-content ol {
  padding-left: 24px;
}

.method-rec-content ol > li {
  margin-bottom: 16px;
  padding-left: 6px;
  text-align: justify;
}

.method-rec-content p {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Вложенные маркированные списки */
.method-rec-content ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.method-rec-content ul > li {
  margin-bottom: 6px;
  padding-left: 4px;
  text-align: left;
}

/* Выделенный плашка-предупреждение */
.method-rec-warning {
  background-color: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
  padding: 10px 16px;
  border-radius: 0 6px 6px 0;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Блок подписи */
.method-rec-signature {
  margin-top: 35px;
  padding-top: 15px;
  border-top: 1px dashed #cbd5e1;
  font-weight: bold;
  color: #1e293b;
  text-align: right;
}

/* Адаптивность */
@media (max-width: 768px) {
  .method-rec-container {
    padding: 15px;
  }

  .method-rec-title {
    font-size: 1.2rem;
  }

  .method-rec-subtitle {
    font-size: 0.95rem;
  }

  .method-rec-content ol {
    padding-left: 18px;
  }

  .method-rec-content ol > li {
    text-align: left;
  }
}

/* ==========================================================================
   Страница вакансий
   ========================================================================== */

.vacancies-page *,
.vacancies-page *::before,
.vacancies-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.vacancies-page {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  line-height: 1.5;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.vacancies-page h2 {
  font-size: 1.35rem;
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #d97706;
}

/* Сетка вакансий */
.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}

.vacancy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2d6a4f;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vacancy-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.vacancy-title {
  font-size: 1rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 6px;
}

.vacancy-place {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 12px;
  line-height: 1.4;
}

.vacancy-salary-box {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.salary-label {
  font-size: 0.78rem;
  color: #166534;
  font-weight: bold;
  text-transform: uppercase;
}

.salary-value {
  font-size: 1rem;
  font-weight: bold;
  color: #2d6a4f;
}

.vacancy-note {
  font-size: 0.82rem;
  color: #64748b;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.vacancy-note strong {
  color: #475569;
}

/* Контактный блок отдела кадров */
.contact-hr-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #d97706;
  border-radius: 6px;
  padding: 18px;
  margin-top: 25px;
  font-size: 0.92rem;
}

.contact-hr-title {
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-hr-card p {
  margin-bottom: 6px;
  color: #334155;
}

.contact-hr-card p:last-child {
  margin-bottom: 0;
}

.phone-link {
  color: #d97706;
  text-decoration: none;
  font-weight: bold;
}

.phone-link:hover {
  color: #b45309;
  text-decoration: underline;
}

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

/* ==========================================================================
   Страница "О лесхозе"
   ========================================================================== */

/* Основной контейнер */
.about-leshoz-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  line-height: 1.6;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.about-leshoz-wrapper *,
.about-leshoz-wrapper *::before,
.about-leshoz-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Заголовки */
.about-leshoz-wrapper h1 {
  font-size: 1.75rem;
  color: #1b4332;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 3px solid #2d6a4f;
  padding-bottom: 10px;
}

.about-leshoz-wrapper h2 {
  font-size: 1.35rem;
  color: #1b4332;
  margin-bottom: 20px;
  font-weight: bold;
  padding-left: 12px;
  border-left: 4px solid #d97706;
}

.about-leshoz-wrapper h3 {
  font-size: 1.05rem;
  color: #2d6a4f;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Карточки-блоки */
.leshoz-card-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Двухколоночная сетка (текст + фото) */
.leshoz-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: center;
}

.leshoz-grid.reverse {
  grid-template-columns: 340px 1fr;
}

.leshoz-text p {
  color: #475569;
  font-size: 0.95rem;
}

.leshoz-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Блок статистики */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.stat-card {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}

.stat-card .number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d6a4f;
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 0.85rem;
  color: #166534;
  font-weight: 600;
}

/* Контактный баннер */
.contact-banner {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2d6a4f;
  border-radius: 6px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 15px;
  font-size: 0.9rem;
}

.contact-item {
  color: #334155;
}

.contact-item a {
  color: #d97706;
  text-decoration: none;
  font-weight: bold;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Списки */
.custom-list {
  list-style: none;
  margin: 12px 0;
}

.custom-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.93rem;
  color: #475569;
}

.custom-list li::before {
  content: "•";
  color: #d97706;
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: -3px;
}

/* Прогресс-бары (Визуализация долей) */
.progress-group {
  margin-bottom: 12px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 4px;
}

.progress-bar-bg {
  background-color: #e2e8f0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  background-color: #2d6a4f;
  height: 100%;
  border-radius: 4px;
}

/* Кнопки вызова */
.btn-phone {
  display: inline-block;
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  transition: background-color 0.2s;
}

.btn-phone:hover {
  background-color: #d1fae5;
}

/* Галерея */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Адаптивность */
@media (max-width: 868px) {
  .leshoz-grid,
  .leshoz-grid.reverse {
    grid-template-columns: 1fr;
  }
  .leshoz-media {
    order: -1;
  }
  .about-leshoz-wrapper {
    padding: 15px;
  }
}

/* ==========================================================================
   Структура ГОЛХУ «Вилейский опытный лесхоз»
   ========================================================================== */

/* Сбрасываем только внутренние размеры карточки */
.leshoz-card *, 
.leshoz-card *::before, 
.leshoz-card *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Основной контейнер блока */
.leshoz-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
}

.leshoz-card h2 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #222222;
  margin-bottom: 25px;
  padding-left: 12px;
  border-left: 4px solid #f39c12;
}

/* Директор */
.leshoz-card .director-card {
  background: #2c3e50;
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.leshoz-card .director-card .title {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.leshoz-card .director-card .name {
  font-size: 1rem;
  font-style: italic;
}

.leshoz-card .director-card .phone {
  font-weight: bold;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.9rem;
}

/* Секционные блоки */
.leshoz-card .dept-section {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.leshoz-card .dept-header {
  background: #ffffff;
  padding: 12px 15px;
  border-bottom: 2px solid #f39c12;
}

.leshoz-card .dept-header .role {
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #111111;
}

.leshoz-card .dept-header .person {
  font-size: 0.88rem;
  color: #555555;
  font-style: italic;
  margin-top: 2px;
}

.leshoz-card .dept-header .phone {
  font-size: 0.8rem;
  font-weight: bold;
  color: #2c3e50;
  margin-top: 4px;
}

.leshoz-card .sub-items {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leshoz-card .sub-item {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-left: 3px solid #7f8c8d;
  padding: 8px 12px;
  border-radius: 0 3px 3px 0;
  font-size: 0.82rem;
}

.leshoz-card .sub-item .sub-title {
  font-weight: bold;
  color: #222222;
}

.leshoz-card .sub-item .sub-name {
  color: #666666;
  font-style: italic;
}

.leshoz-card .sub-item .sub-phone {
  font-size: 0.78rem;
  color: #444444;
  font-weight: bold;
  margin-top: 2px;
}

/* Верхний ряд: 3 колонки */
.leshoz-card .top-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

/* Нижний ряд: Лесничества */
.leshoz-card .sub-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* Адаптив */
@media (max-width: 992px) {
  .leshoz-card .top-row-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .leshoz-card .sub-items-grid {
    grid-template-columns: 1fr;
  }
  .leshoz-card .director-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Подразделения ГОЛХУ «Вилейский опытный лесхоз»
   ========================================================================== */

/* Основной контейнер */
.forestry-container *, 
.forestry-container *::before, 
.forestry-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.forestry-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  background-color: #f8fafc;
}

.forestry-container h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #d97706;
}

/* Сетка карточек */
.forestry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Карточка */
.forestry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.forestry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Изображение */
.forestry-image-wrapper {
  width: 100%;
  height: 180px;
  background-color: #e2e8f0;
  overflow: hidden;
}

.forestry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.forestry-card:hover .forestry-img {
  transform: scale(1.03);
}

/* Информация */
.forestry-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.forestry-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2d6a4f;
  margin-bottom: 10px;
  line-height: 1.3;
}

.forestry-address,
.forestry-person {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 6px;
  line-height: 1.4;
}

.forestry-address strong,
.forestry-person strong {
  color: #1e293b;
}

/* Кнопка телефона */
.forestry-phone-wrapper {
  margin-top: auto;
  padding-top: 12px;
}

.forestry-phone-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.forestry-phone-link:hover {
  background-color: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
}

/* Адаптив */
@media (max-width: 600px) {
  .forestry-container {
    padding: 10px;
  }
  .forestry-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Руководство ГОЛХУ «Вилейский опытный лесхоз»
   ========================================================================== */

/* Основной контейнер */
.leadership-container *, 
.leadership-container *::before, 
.leadership-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.leadership-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  background-color: #f8fafc;
}

.leadership-container h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #d97706;
}

/* Сетка карточек руководства */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Карточка руководителя */
.leader-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Контейнер для фото */
.leader-photo-wrapper {
  width: 100%;
  height: 320px;
  background-color: #e2e8f0;
  overflow: hidden;
  position: relative;
}

.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.leader-card:hover .leader-photo {
  transform: scale(1.03);
}

/* Блок с информацией */
.leader-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.leader-role {
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #d97706;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.leader-name {
  font-size: 1.15rem;
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Контакты и телефон */
.leader-contact {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.leader-contact-label {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
}

.leader-phone {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.leader-phone:hover {
  background-color: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
}

/* Адаптив */
@media (max-width: 600px) {
  .leadership-container {
    padding: 10px;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .leader-photo-wrapper {
    height: 360px;
  }
}

/* ==========================================================================
   Руководство Министерства лесного хозяйства РБ
   ========================================================================== */

/* Основной контейнер */
.mlh-container *, 
.mlh-container *::before, 
.mlh-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mlh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  background-color: #f8fafc;
}

.mlh-container h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #d97706;
}

/* Список карточек */
.mlh-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Карточка руководителя */
.mlh-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mlh-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Шапка карточки (Фото + Основная инфо) */
/* Шапка карточки */
.mlh-header-block {
  display: flex;
  align-items: flex-start; /* Выравнивание по верхнему краю */
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

/* Обертка фото (убираем жесткую высоту) */
.mlh-photo-wrapper {
  width: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background-color: transparent; /* Убираем серый фон */
  line-height: 0; /* Убираем нижний отступ inline-элементов */
}

/* Фотография сохраняет естественные пропорции */
.mlh-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mlh-main-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mlh-role {
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #d97706;
  letter-spacing: 0.5px;
}

.mlh-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1b4332;
  line-height: 1.25;
}

.mlh-contacts-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.mlh-cabinet {
  font-size: 0.85rem;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.mlh-phone {
  display: inline-block;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mlh-phone:hover {
  background-color: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
}

/* Блок биографии */
.mlh-bio {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mlh-bio p {
  margin: 0;
}

/* Блок награды */
.mlh-award {
  margin-top: 6px;
  padding: 8px 12px;
  background-color: #fffbeb;
  border-left: 3px solid #f59e0b;
  color: #92400e;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
}

/* Адаптив */
@media (max-width: 640px) {
  .mlh-container {
    padding: 10px;
  }
  .mlh-header-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .mlh-photo-wrapper {
    width: 100%;
    height: 240px;
  }
}

/* ==========================================================================
   Руководство Министерства лесного хозяйства РБ
   ========================================================================== */

.mlh-container *, 
.mlh-container *::before, 
.mlh-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mlh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
}

/* Заголовок страницы */
.mlh-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1b4332;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #d97706;
}

/* Список карточек */
.mlh-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Карточка */
.mlh-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mlh-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Шапка карточки */
.mlh-header-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

/* Фотография и обертка */
.mlh-photo-wrapper {
  width: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  line-height: 0;
}

.mlh-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Инфо блок */
.mlh-main-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mlh-role {
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #d97706;
  letter-spacing: 0.5px;
}

.mlh-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1b4332;
  line-height: 1.25;
}

/* Контакты */
.mlh-contacts-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.mlh-cabinet {
  font-size: 0.85rem;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.mlh-phone {
  display: inline-block;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mlh-phone:hover {
  background-color: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
}

/* Блок биографии */
.mlh-bio {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mlh-bio p {
  margin: 0;
}

/* Блок награды */
.mlh-award {
  margin-top: 6px;
  padding: 8px 12px;
  background-color: #fffbeb;
  border-left: 3px solid #f59e0b;
  color: #92400e;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
}

/* Мобильная адаптивность */
@media (max-width: 640px) {
  .mlh-container {
    padding: 10px;
  }
  .mlh-header-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .mlh-photo-wrapper {
    width: 160px;
  }
  .mlh-contacts-row {
    justify-content: center;
  }
}

/* ==========================================================================
   Руководство Министерства лесного хозяйства РБ
   ========================================================================== */

/* Изоляция стилей контейнера */
.mlh-container *, 
.mlh-container *::before, 
.mlh-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mlh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
}

/* Заголовок блока */
.mlh-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1b4332;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #d97706;
}

/* Сетка/список карточек */
.mlh-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Карточка сотрудника */
.mlh-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mlh-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Блок фотографии и ФИО */
.mlh-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

/* Картинка: фиксация пропорций без пустых зазоров */
.mlh-photo-container {
  width: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  line-height: 0;
  background-color: #f1f5f9;
}

.mlh-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Информационный блок */
.mlh-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mlh-role {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #d97706;
  letter-spacing: 0.5px;
}

.mlh-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1b4332;
  line-height: 1.25;
}

/* Контакты */
.mlh-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.mlh-cabinet {
  font-size: 0.85rem;
  background-color: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.mlh-phone {
  display: inline-block;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mlh-phone:hover {
  background-color: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
}

/* Биография */
.mlh-bio {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mlh-bio p {
  margin: 0;
}

/* Выделение наград */
.mlh-award {
  margin-top: 6px;
  padding: 8px 12px;
  background-color: #fffbeb;
  border-left: 3px solid #f59e0b;
  color: #92400e;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
}

/* Мобильная адаптивность */
@media (max-width: 640px) {
  .mlh-container {
    padding: 10px;
  }

  .mlh-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mlh-photo-container {
    width: 160px;
  }

  .mlh-contacts {
    justify-content: center;
  }
}

/* Изолированные переменные темы */
.vles-adm-wrapper {
    --vles-green: #2e7d32;
    --vles-green-hover: #1b5e20;
    --vles-bg-light: #f8f9fa;
    --vles-border: #e0e0e0;
    --vles-text: #333333;
    --vles-text-muted: #666666;
    --vles-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--vles-shadow);
    color: var(--vles-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    box-sizing: border-box;
}

.vles-adm-wrapper *, 
.vles-adm-wrapper *::before, 
.vles-adm-wrapper *::after {
    box-sizing: border-box;
}

/* Секции и заголовки */
.vles-adm-section {
    margin-bottom: 40px;
}

.vles-adm-title {
    color: var(--vles-green) !important;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--vles-green);
    text-transform: uppercase;
}

.vles-adm-subtitle {
    text-align: center;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--vles-text-muted);
}

.vles-adm-divider {
    height: 1px;
    background-color: var(--vles-border);
    margin: 30px 0;
}

/* Список документов */
.vles-adm-docs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}

.vles-adm-docs li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.vles-adm-docs li::before {
    content: "📄";
    position: absolute;
    left: 0;
    top: 0;
}

.vles-adm-docs a {
    color: var(--vles-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.vles-adm-docs a:hover {
    color: var(--vles-green-hover);
    text-decoration: underline;
}

/* Карточка информации */
.vles-adm-card {
    background-color: var(--vles-bg-light);
    border-left: 4px solid var(--vles-green);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.vles-adm-card p {
    margin: 0 0 10px 0;
}

.vles-adm-card p:last-child {
    margin-bottom: 0;
}

.vles-adm-card-line {
    height: 1px;
    background-color: var(--vles-border);
    margin: 10px 0;
}

/* Таблицы */
.vles-adm-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid var(--vles-border);
}

.vles-adm-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #ffffff;
    font-size: 0.95rem;
    margin: 0;
}

.vles-adm-table th, 
.vles-adm-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--vles-border);
    vertical-align: top;
}

.vles-adm-table th {
    background-color: var(--vles-green);
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.vles-adm-table tr:last-child td {
    border-bottom: none;
}

.vles-adm-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

.vles-adm-table tr:hover {
    background-color: #f1f8e9;
}

.vles-adm-table-center td {
    text-align: center;
}

/* Ширина колонок */
.vles-adm-col-10 { width: 10%; }
.vles-adm-col-12 { width: 12%; }
.vles-adm-col-13 { width: 13%; }
.vles-adm-col-15 { width: 15%; }
.vles-adm-col-25 { width: 25%; }
.vles-adm-col-30 { width: 30%; }
.vles-adm-col-40 { width: 40%; }

/* Мобильная адаптация */
@media (max-width: 768px) {
    .vles-adm-wrapper {
        padding: 15px;
    }

    .vles-adm-table th, 
    .vles-adm-table td {
        padding: 10px;
        font-size: 0.85rem;
    }

    .vles-adm-title {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   ВЛЕC: Графики приема и прямых телефонных линий
   ========================================================================== */

.vles-sched-wrapper *,
.vles-sched-wrapper *::before,
.vles-sched-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vles-sched-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
    line-height: 1.5;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

/* Заголовки и подзаголовки */
.vles-sched-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1b4332;
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 4px solid #d97706;
}

.vles-sched-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d6a4f;
    margin: 30px 0 6px 0;
}

.vles-sched-approval-info {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 18px;
    font-style: italic;
}

/* Ссылки (номера телефонов) */
.vles-sched-phone-link {
    color: #d97706;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.vles-sched-phone-link:hover {
    color: #b45309;
    text-decoration: underline;
}

/* Сетка карточек */
.vles-sched-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

/* Карточки графиков */
.vles-sched-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2d6a4f;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vles-sched-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Модификатор цвета рамки для "прямых линий" */
.vles-sched-card-direct {
    border-left-color: #d97706;
}

.vles-sched-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.vles-sched-name {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 12px;
}

.vles-sched-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.vles-sched-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
    padding: 6px 10px;
    border-radius: 4px;
}

.vles-sched-detail-label {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vles-sched-detail-val {
    color: #1e293b;
    font-weight: 600;
}

.vles-sched-phone-wrap {
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vles-sched-phone-label {
    font-size: 0.8rem;
    color: #64748b;
}

/* Информационный блок предварительной записи */
.vles-sched-info-card {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #2d6a4f;
    border-radius: 6px;
    padding: 18px;
    margin: 25px 0;
    font-size: 0.92rem;
}

.vles-sched-info-title {
    font-weight: 700;
    color: #1b4332;
    margin-bottom: 8px;
    font-size: 1rem;
}

.vles-sched-info-card p {
    margin-bottom: 6px;
    color: #334155;
}

.vles-sched-info-card p:last-child {
    margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .vles-sched-wrapper {
        padding: 15px;
    }
    .vles-sched-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ВЛЕС: Обращения граждан и юридических лиц
   ========================================================================== */

/* Сброс стилей внутри контейнера */
.vles-app-container *,
.vles-app-container *::before,
.vles-app-container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vles-app-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    background-color: #ffffff;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Заголовки разделов */
.vles-app-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1b4332;
    margin: 36px 0 18px 0;
    padding-left: 12px;
    border-left: 4px solid #d97706;
}

.vles-app-container > .vles-app-title:first-child {
    margin-top: 0;
}

/* Уведомление о системе обращения.бел */
.vles-app-notice {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #2d6a4f;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.vles-app-notice p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.vles-app-notice p:last-child {
    margin-bottom: 0;
}

.vles-app-notice-note {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 10px;
    font-style: italic;
}

.vles-app-portal-btn {
    display: inline-block;
    background-color: #2d6a4f;
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    margin-left: 4px;
    transition: background-color 0.2s ease;
}

.vles-app-portal-btn:hover {
    background-color: #1b4332;
    color: #ffffff !important;
}

/* Карточки требований */
.vles-app-req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.vles-app-req-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.vles-app-req-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d6a4f;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e2e8f0;
}

.vles-app-req-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 10px;
}

.vles-app-req-list {
    list-style: none;
    font-size: 0.9rem;
}

.vles-app-req-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #334155;
}

.vles-app-req-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2d6a4f;
    font-weight: 700;
}

/* График приема (Сетка карточек) */
.vles-app-sched-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.vles-app-sched-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2d6a4f;
    border-radius: 6px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vles-app-sched-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.vles-app-sched-role {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #d97706;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.vles-app-sched-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.vles-app-sched-meta {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vles-app-sched-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    background-color: #f8fafc;
    padding: 6px 10px;
    border-radius: 4px;
}

.vles-app-sched-meta-label {
    color: #64748b;
    font-weight: 600;
}

.vles-app-sched-meta-val {
    color: #0f172a;
    font-weight: 600;
}

/* Информационный блок прямых линий */
.vles-app-direct-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #d97706;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.vles-app-direct-intro {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #1e293b;
}

.vles-app-direct-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.92rem;
}

.vles-app-direct-item {
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #dcfce7;
    color: #334155;
}

.vles-app-direct-item strong {
    color: #1b4332;
}

.vles-app-phone-link {
    color: #d97706;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vles-app-phone-link:hover {
    color: #b45309;
    text-decoration: underline;
}

/* Блок причин отказа */
.vles-app-rejection-block {
    background: #ffffff;
    border: 1px solid #fee2e2;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 20px;
}

.vles-app-rejection-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #fee2e2;
}

.vles-app-rejection-list {
    list-style: none;
    font-size: 0.9rem;
}

.vles-app-rejection-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: #475569;
}

.vles-app-rejection-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 640px) {
    .vles-app-container {
        padding: 12px;
    }

    .vles-app-req-grid, 
    .vles-app-sched-grid {
        grid-template-columns: 1fr;
    }

    .vles-app-notice, 
    .vles-app-req-card, 
    .vles-app-rejection-block, 
    .vles-app-direct-box {
        padding: 14px;
    }

    .vles-app-portal-btn {
        display: inline-block;
        margin-left: 0;
        margin-top: 6px;
    }
}

/* ==========================================================================
   ВЛЕС: Реестр нормативных правовых актов (НПА)
   ========================================================================== */

.vles-npa-container *,
.vles-npa-container *::before,
.vles-npa-container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vles-npa-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.vles-npa-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1b4332;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #d97706;
}

.vles-npa-list {
    list-style: none;
    counter-reset: vles-npa-counter;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vles-npa-item {
    counter-increment: vles-npa-counter;
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.vles-npa-item:hover {
    border-color: #bbf7d0;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.08);
    transform: translateY(-1px);
}

.vles-npa-link {
    display: flex;
    align-items: center;
    padding: 14px 18px 14px 50px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 500;
}

/* Порядковый номер */
.vles-npa-link::before {
    content: counter(vles-npa-counter);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #f1f5f9;
    color: #2d6a4f;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Иконка внешней ссылки */
.vles-npa-link::after {
    content: "";
    display: inline-block;
    min-width: 14px;
    height: 14px;
    margin-left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%3C2d6a4f' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.vles-npa-item:hover .vles-npa-link {
    color: #2d6a4f;
}

.vles-npa-item:hover .vles-npa-link::before {
    background-color: #2d6a4f;
    color: #ffffff;
}

.vles-npa-item:hover .vles-npa-link::after {
    opacity: 1;
}

/* Адаптировано под мобильные устройства */
@media (max-width: 600px) {
    .vles-npa-container {
        padding: 12px;
    }

    .vles-npa-link {
        padding: 12px 14px 12px 42px;
        font-size: 0.88rem;
    }

    .vles-npa-link::before {
        left: 10px;
        width: 22px;
        height: 22px;
    }
}