/* Дополнительный заголовок в хедер, чтобы не сбивать стили */
/* Стили для заголовка страницы */
.page-header {
  background: linear-gradient(135deg, #4682B4 0%, #1E3B70 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
  background-size: 100% 100%;
  opacity: 0.5;
}

.page-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-title span {
  display: block;
}

.title-part-1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto;
  max-width: 500px;
}

.decoration-line {
  flex-grow: 1;
  height: 2px;
  background: rgba(255,255,255,0.3);
}

.decoration-icon {
  margin: 0 20px;
  font-size: 2rem;
  color: #FFD700;
  animation: pulse 2s infinite;
}

.page-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 0;
  padding: 10px 20px;
  opacity: 0.9;
  font-weight: 500;
  background-color: white;
  color: #222d35;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.page-subtitle {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.page-subtitle:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Анимация для иконки */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .page-header {
    padding: 40px 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .title-part-1 {
    font-size: 1.4rem;
  }
  
  .title-part-3 {
    font-size: 1.6rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
}

/* Osnova */
.experts-main {
  width: 80%;
  padding: 40px 20px;
  margin: 0 auto;
  padding-left: 124px;
  padding-right: 124px;
}
    
    .experts-container {
      margin: 0 auto;
    }
    
    .experts-title {
      font-size: 36px;
      color: #555c63;
      text-align: center;
      margin-bottom: 40px;
      font-weight: 600;
      position: relative;
      padding-bottom: 15px;
    }
    
    .experts-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 3px;
      background-color: #4682B4;
    }
    
    .table-responsive {
      overflow-x: auto;
      margin-bottom: 40px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      border-radius: 10px;
    }
    
    .experts-table {
      width: 100%;
      border-collapse: collapse;
      background-color: white;
    }
    
    .experts-table th, 
    .experts-table td {
      padding: 15px;
      text-align: left;
      border: 1px solid #e0e0e0;
    }
    
    .experts-table th {
      background-color: #4682B4;
      color: white;
      font-weight: 500;
    }
    
    .experts-table tr:nth-child(even) {
      background-color: #f4f7fb;
    }
    
    .experts-table tr:hover {
      background-color: #e6f0fa;
    }
    
    .name-col {
      width: 20%;
    }
    
    .qualification-col {
      width: 25%;
    }
    
    .standard-col {
      width: 45%;
    }
    
    .level-col {
      width: 10%;
      text-align: center;
    }
    
    @media (max-width: 768px) {
      .experts-title {
        font-size: 28px;
      }
      
      .experts-table th, 
      .experts-table td {
        padding: 10px;
        font-size: 14px;
      }
      
      .name-col {
        width: 25%;
      }
      
      .qualification-col {
        width: 30%;
      }
      
      .standard-col {
        width: 35%;
      }
    }
    
    @media (max-width: 576px) {
      .experts-title {
        font-size: 24px;
      }
      
      .experts-table th, 
      .experts-table td {
        padding: 8px;
        font-size: 12px;
      }
    }

.experts-table {
    opacity: 1; /* По умолчанию таблица видима после анимации */
}

.experts-table tbody tr {
    opacity: 1; /* По умолчанию строки видимы после анимации */
}


/* Адаптивность для таблицы экспертов */
@media (max-width: 1200px) {
  .experts-main {
    padding-left: 80px;
    padding-right: 80px;
    width: 90%;
  }
}

@media (max-width: 992px) {
  .experts-main {
    padding-left: 60px;
    padding-right: 60px;
  }
  
  .experts-title {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .experts-table th, 
  .experts-table td {
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .experts-main {
    padding-left: 40px;
    padding-right: 40px;
    width: 95%;
  }
  
  .experts-title {
    font-size: 28px;
    padding-bottom: 10px;
  }
  
  .experts-title::after {
    width: 80px;
    height: 2px;
  }
  
  .experts-table th, 
  .experts-table td {
    padding: 10px 8px;
    font-size: 14px;
  }
  
  .name-col {
    width: 25%;
  }
  
  .qualification-col {
    width: 30%;
  }
  
  .standard-col {
    width: 35%;
  }
}

@media (max-width: 650px) {
  .experts-table {
    display: block;
  }
  
  .experts-table thead {
    display: none;
  }
  
  .experts-table tbody, 
  .experts-table tr, 
  .experts-table td {
    display: block;
    width: 100%;
  }
  
  .experts-table tr {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .experts-table td {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 40%;
  }
  
  .experts-table td:last-child {
    border-bottom: none;
  }
  
  .experts-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #4682B4;
    width: 35%;
  }
  
  .experts-table td:first-child {
    background-color: #f4f7fb;
    font-weight: 600;
  }
}

@media (max-width: 576px) {
  .experts-main {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .experts-title {
    font-size: 24px;
  }
  
  .experts-table td {
    padding: 8px 15px 8px 40%;
    font-size: 13px;
  }
  
  .experts-table td::before {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .experts-main {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .experts-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  
  .experts-table td {
    padding-left: 45%;
  }
  
  .experts-table td::before {
    width: 40%;
  }
}

@media (max-width: 400px) {
  .experts-main {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .experts-table td {
    padding: 6px 10px 6px 50%;
  }
  
  .experts-table td::before {
    width: 45%;
    left: 10px;
    font-size: 11px;
  }
}

@media (max-width: 350px) {
  .experts-main {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .experts-title {
    font-size: 20px;
    padding-bottom: 8px;
  }
  
  .experts-title::after {
    width: 60px;
  }
  
  .experts-table td {
    padding: 5px 8px 5px 50%;
    font-size: 12px;
  }
  
  .experts-table td::before {
    font-size: 10px;
  }
  
  .table-responsive {
    border-radius: 6px;
  }
  
  .experts-table tr {
    margin-bottom: 10px;
  }
}

/* Стили для ссылок экспертов */
.expert-link {
    color: #1E3B70;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 2px 0;
}

.expert-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1E3B70 0%, #4682B4 100%);
    transition: width 0.3s ease;
}

.expert-link:hover {
    color: #4682B4;
    text-decoration: none;
}

.expert-link:hover::after {
    width: 100%;
}

/* Адаптивные стили для ссылок */
@media (max-width: 768px) {
    .expert-link {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .expert-link {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .expert-link {
        font-size: 12px;
    }
}

/* Стили для мобильного вида таблицы */
@media (max-width: 650px) {
    .experts-table td[data-label="Ф.И.О."] {
        padding-left: 40% !important;
    }
    
    .experts-table td[data-label="Ф.И.О."]::before {
        content: attr(data-label) !important;
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-weight: 600 !important;
        color: #4682B4 !important;
        width: 35% !important;
    }
    
    .expert-link {
        display: block;
        padding: 5px 0;
    }
}