/* ========================================
   СТИЛИ ДЛЯ СТРАНИЦ ОТДЕЛА КРАЕВЕДЕНИЯ
   ======================================== */

/* Общие стили для всех страниц отдела */
.department-kraevedenie-services-page,
.department-kraevedenie-resources-page,
.department-kraevedenie-publications-page {
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.7;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Заголовок страницы */
.department-kraevedenie-services-page .page-header,
.department-kraevedenie-resources-page .page-header,
.department-kraevedenie-publications-page .page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #74992e 0%, #5a7a25 100%);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(116, 153, 46, 0.2);
}

.department-kraevedenie-services-page .page-title,
.department-kraevedenie-resources-page .page-title,
.department-kraevedenie-publications-page .page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ================================
   СТРАНИЦА "УСЛУГИ"
   ================================ */

/* Блок внимания */
.department-kraevedenie-services-page .attention-block {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border-left: 4px solid #ffa500;
  box-shadow: 0 3px 12px rgba(255, 165, 0, 0.15);
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.department-kraevedenie-services-page .attention-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e65c00;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.department-kraevedenie-services-page .services-intro {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a3c6c;
  margin: 0;
  line-height: 1.5;
}

/* Секция услуг */
.department-kraevedenie-services-page .services-section {
  margin-bottom: 35px;
}

.department-kraevedenie-services-page .services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.department-kraevedenie-services-page .services-list li {
  background: #fff;
  border-radius: 6px;
  padding: 18px 25px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #74992e;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 45px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #495057;
}

.department-kraevedenie-services-page .services-list li:before {
  content: '✓';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #74992e;
  font-weight: bold;
}

.department-kraevedenie-services-page .services-list li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateX(5px);
  background: #f8fff8;
}

/* График работы */
.department-kraevedenie-services-page .schedule-info {
  background: linear-gradient(135deg, #e7f3ff 0%, #d1e7ff 100%);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 35px;
  border-left: 4px solid #2c5aa0;
  box-shadow: 0 3px 12px rgba(44, 90, 160, 0.1);
  text-align: center;
}

.department-kraevedenie-services-page .schedule-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a3c6c;
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.department-kraevedenie-services-page .address-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3c6c;
  margin: 0;
  line-height: 1.6;
}

/* Дополнительные услуги */
.department-kraevedenie-services-page .additional-services-section {
  margin-bottom: 35px;
}

.department-kraevedenie-services-page .section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a3c6c;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #74992e;
  line-height: 1.4;
}

/* Справочная информация */
.department-kraevedenie-services-page .reference-info {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
  border-radius: 8px;
  padding: 25px;
  border-left: 4px solid #17a2b8;
  box-shadow: 0 3px 12px rgba(23, 162, 184, 0.1);
}

.department-kraevedenie-services-page .reference-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #17a2b8;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.department-kraevedenie-services-page .reference-text {
  font-size: 1.05rem;
  color: #495057;
  margin: 0;
  line-height: 1.8;
}

/* ================================
   СТРАНИЦА "КРАЕВЕДЧЕСКИЕ РЕСУРСЫ"
   ================================ */

.department-kraevedenie-resources-page .years-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.department-kraevedenie-resources-page .year-card {
  display: block;
  background: linear-gradient(135deg, #74992e 0%, #5a7a25 100%);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(116, 153, 46, 0.3);
  position: relative;
  overflow: hidden;
}

.department-kraevedenie-resources-page .year-card:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transition: all 0.4s ease;
}

.department-kraevedenie-resources-page .year-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 30px rgba(116, 153, 46, 0.4);
}

.department-kraevedenie-resources-page .year-card:hover:before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.department-kraevedenie-resources-page .year-card:hover .year-icon,
.department-kraevedenie-resources-page .year-card:hover .year-number {
  transform: translateY(-5px);
}

.department-kraevedenie-resources-page .year-icon {
  font-size: 3.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.department-kraevedenie-resources-page .year-number {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  transition: transform 0.3s ease;
}

/* ================================
   СТРАНИЦА "БИБЛИОГРАФИЧЕСКИЕ ИЗДАНИЯ"
   ================================ */

.department-kraevedenie-publications-page .publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.department-kraevedenie-publications-page .publication-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.department-kraevedenie-publications-page .publication-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(116, 153, 46, 0.05) 0%, rgba(90, 122, 37, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.department-kraevedenie-publications-page .publication-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
  border-color: #74992e;
}

.department-kraevedenie-publications-page .publication-card:hover:before {
  opacity: 1;
}

.department-kraevedenie-publications-page .publication-card:hover .card-title {
  color: #74992e;
}

.department-kraevedenie-publications-page .card-icon {
  min-width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #74992e 0%, #5a7a25 100%);
  border-radius: 50%;
  color: #fff;
  font-size: 2.5rem;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.department-kraevedenie-publications-page .publication-card:hover .card-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(116, 153, 46, 0.4);
}

.department-kraevedenie-publications-page .card-content {
  flex: 1;
  z-index: 1;
}

.department-kraevedenie-publications-page .card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: #1a3c6c;
  transition: color 0.3s ease;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 992px) {
  .department-kraevedenie-services-page,
  .department-kraevedenie-resources-page,
  .department-kraevedenie-publications-page {
    padding: 15px;
  }

  .department-kraevedenie-services-page .page-title,
  .department-kraevedenie-resources-page .page-title,
  .department-kraevedenie-publications-page .page-title {
    font-size: 1.9rem;
  }

  .department-kraevedenie-publications-page .publications-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .department-kraevedenie-services-page .attention-text {
    font-size: 1.3rem;
  }

  .department-kraevedenie-services-page .services-intro {
    font-size: 1.25rem;
  }

  .department-kraevedenie-services-page .services-list li {
    padding: 15px 20px;
    padding-left: 40px;
    font-size: 1rem;
  }

  .department-kraevedenie-services-page .schedule-text,
  .department-kraevedenie-services-page .address-text {
    font-size: 1.05rem;
  }

  .department-kraevedenie-services-page .section-title {
    font-size: 1.4rem;
  }

  .department-kraevedenie-services-page .reference-text {
    font-size: 1rem;
  }

  .department-kraevedenie-resources-page .years-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .department-kraevedenie-resources-page .year-icon {
    font-size: 2.8rem;
  }

  .department-kraevedenie-resources-page .year-number {
    font-size: 4.5rem;
  }

  .department-kraevedenie-publications-page .publication-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .department-kraevedenie-publications-page .card-icon {
    min-width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .department-kraevedenie-publications-page .card-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .department-kraevedenie-services-page,
  .department-kraevedenie-resources-page,
  .department-kraevedenie-publications-page {
    padding: 12px;
  }

  .department-kraevedenie-services-page .page-title,
  .department-kraevedenie-resources-page .page-title,
  .department-kraevedenie-publications-page .page-title {
    font-size: 1.6rem;
    letter-spacing: 0.5px;
  }

  .department-kraevedenie-services-page .page-header,
  .department-kraevedenie-resources-page .page-header,
  .department-kraevedenie-publications-page .page-header {
    padding: 20px 15px;
  }

  .department-kraevedenie-services-page .attention-block {
    padding: 20px 15px;
  }

  .department-kraevedenie-services-page .attention-text {
    font-size: 1.2rem;
  }

  .department-kraevedenie-services-page .services-intro {
    font-size: 1.15rem;
  }

  .department-kraevedenie-resources-page .years-grid {
    grid-template-columns: 1fr;
  }

  .department-kraevedenie-resources-page .year-card {
    padding: 30px 20px;
  }

  .department-kraevedenie-resources-page .year-icon {
    font-size: 2.5rem;
  }

  .department-kraevedenie-resources-page .year-number {
    font-size: 4rem;
  }

  .department-kraevedenie-publications-page .publication-card {
    padding: 20px 15px;
  }

  .department-kraevedenie-publications-page .card-icon {
    min-width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }

  .department-kraevedenie-publications-page .card-title {
    font-size: 1.4rem;
  }
}




















/* ========================================
   СТИЛИ ДЛЯ СТРАНИЦ Информационно-библиографический отдел
   ======================================== */

   .department-services-page {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.7;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Заголовок страницы */
  .department-services-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #74992e 0%, #5a7a25 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(116, 153, 46, 0.2);
  }
  
  .department-services-page .page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  /* Вводный текст */
  .department-services-page .intro-text {
    margin-bottom: 35px;
    text-align: center;
  }
  
  .department-services-page .intro-paragraph {
    font-size: 1.15rem;
    color: #495057;
    margin: 0;
    font-weight: 500;
    line-height: 1.7;
  }
  
  /* Секция ресурсов */
  .department-services-page .resources-section {
    display: grid;
    gap: 30px;
  }
  
  /* Категория ресурсов */
  .department-services-page .resource-category {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #74992e;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
  }
  
  .department-services-page .resource-category:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Заголовок категории */
  .department-services-page .category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a3c6c;
    margin: 0 0 15px 0;
    line-height: 1.5;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
  }
  
  /* Списки */
  .department-services-page .main-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .department-services-page .main-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 40px;
  }
  
  .department-services-page .main-list li:before {
    content: '●';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.4rem;
    color: #74992e;
    font-weight: bold;
  }
  
  .department-services-page .sub-list {
    list-style: none;
    padding-left: 30px;
    margin: 15px 0 0 0;
  }
  
  .department-services-page .sub-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.7;
    color: #495057;
    font-size: 1.02rem;
  }
  
  .department-services-page .sub-list li:before {
    content: '○';
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.9rem;
    color: #74992e;
  }
  
  /* Дополнительная информация */
  .department-services-page .additional-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #74992e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .department-services-page .additional-info p {
    margin: 0;
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.7;
    font-weight: 500;
  }
  
  /* Анимации для списков */
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .department-services-page .sub-list li {
    animation: slideInLeft 0.4s ease;
    animation-fill-mode: both;
  }
  
  .department-services-page .sub-list li:nth-child(1) { animation-delay: 0.1s; }
  .department-services-page .sub-list li:nth-child(2) { animation-delay: 0.15s; }
  .department-services-page .sub-list li:nth-child(3) { animation-delay: 0.2s; }
  .department-services-page .sub-list li:nth-child(4) { animation-delay: 0.25s; }
  .department-services-page .sub-list li:nth-child(5) { animation-delay: 0.3s; }
  .department-services-page .sub-list li:nth-child(6) { animation-delay: 0.35s; }
  .department-services-page .sub-list li:nth-child(7) { animation-delay: 0.4s; }
  .department-services-page .sub-list li:nth-child(8) { animation-delay: 0.45s; }
  .department-services-page .sub-list li:nth-child(9) { animation-delay: 0.5s; }
  
  /* Адаптивность */
  @media (max-width: 768px) {
    .department-services-page {
      padding: 15px;
    }
  
    .department-services-page .page-title {
      font-size: 1.8rem;
    }
  
    .department-services-page .intro-paragraph {
      font-size: 1.05rem;
    }
  
    .department-services-page .resource-category {
      padding: 20px;
    }
  
    .department-services-page .category-title {
      font-size: 1.3rem;
    }
  
    .department-services-page .sub-list {
      padding-left: 25px;
    }
  
    .department-services-page .sub-list li {
      font-size: 1rem;
      padding-left: 20px;
    }
  
    .department-services-page .additional-info {
      padding: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .department-services-page .page-header {
      padding: 20px 15px;
    }
  
    .department-services-page .page-title {
      font-size: 1.6rem;
      letter-spacing: 0.5px;
    }
  
    .department-services-page .intro-paragraph {
      font-size: 1rem;
    }
  
    .department-services-page .resource-category {
      padding: 18px;
    }
  
    .department-services-page .category-title {
      font-size: 1.25rem;
      margin-bottom: 12px;
    }
  
    .department-services-page .sub-list {
      padding-left: 20px;
    }
  
    .department-services-page .sub-list li {
      font-size: 0.98rem;
      padding-left: 18px;
      margin-bottom: 8px;
    }
  
    .department-services-page .additional-info {
      padding: 15px;
    }
  
    .department-services-page .additional-info p {
      font-size: 1rem;
    }
  }
/* ========================================
   СТИЛИ ДЛЯ СТРАНИЦ ССЫЛОК И РЕСУРСОВ
   Информационно-библиографический отдел
   ======================================== */

   .department-resources-page {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Заголовок страницы */
  .department-resources-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #74992e 0%, #5a7a25 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(116, 153, 46, 0.2);
  }
  
  .department-resources-page .page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  /* Секция года */
  .department-resources-page .year-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.5s ease;
  }
  
  .department-resources-page .year-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a3c6c;
    margin: 0 0 25px 0;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    line-height: 1.3;
  }
  
  .department-resources-page .year-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #74992e, transparent);
    border-radius: 3px;
  }
  
  /* Сетка ресурсов */
  .department-resources-page .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  /* Карточка ресурса */
  .department-resources-page .resource-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #74992e;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .department-resources-page .resource-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(116, 153, 46, 0.05) 0%, rgba(90, 122, 37, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
  }
  
  .department-resources-page .resource-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
    border-left-width: 6px;
  }
  
  .department-resources-page .resource-card:hover:before {
    opacity: 1;
  }
  
  .department-resources-page .resource-card:hover .card-title {
    color: #74992e;
  }
  
  /* Иконка файла */
  .department-resources-page .card-icon {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #74992e 0%, #5a7a25 100%);
    border-radius: 8px;
    color: #fff;
    font-size: 1.8rem;
    z-index: 1;
    transition: transform 0.3s ease;
  }
  
  .department-resources-page .resource-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
  }
  
  /* Контент карточки */
  .department-resources-page .card-content {
    flex: 1;
    z-index: 1;
  }
  
  .department-resources-page .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.5;
    color: #1a3c6c;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* Мета-информация */
  .department-resources-page .card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
  }
  
  .department-resources-page .file-type {
    background: linear-gradient(135deg, #74992e 0%, #5a7a25 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }
  
  .department-resources-page .download-icon {
    color: #74992e;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .department-resources-page .resource-card:hover .download-icon {
    transform: translateY(-2px);
  }
  
  /* Анимации */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .department-resources-page .year-section:nth-child(1) { animation-delay: 0.1s; }
  .department-resources-page .year-section:nth-child(2) { animation-delay: 0.2s; }
  .department-resources-page .year-section:nth-child(3) { animation-delay: 0.3s; }
  
  /* Адаптивность */
  @media (max-width: 992px) {
    .department-resources-page .resources-grid {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .department-resources-page {
      padding: 15px;
    }
  
    .department-resources-page .page-title {
      font-size: 1.8rem;
    }
  
    .department-resources-page .page-header {
      padding: 25px 15px;
    }
  
    .department-resources-page .year-title {
      font-size: 1.6rem;
    }
  
    .department-resources-page .resources-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
  
    .department-resources-page .resource-card {
      padding: 18px;
      flex-direction: column;
      text-align: center;
    }
  
    .department-resources-page .card-icon {
      min-width: 45px;
      height: 45px;
      font-size: 1.6rem;
    }
  
    .department-resources-page .card-title {
      font-size: 1.1rem;
    }
  
    .department-resources-page .card-meta {
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .department-resources-page .page-header {
      padding: 20px 10px;
    }
  
    .department-resources-page .page-title {
      font-size: 1.6rem;
      letter-spacing: 0.5px;
    }
  
    .department-resources-page .year-title {
      font-size: 1.4rem;
    }
  
    .department-resources-page .resource-card {
      padding: 15px;
    }
  
    .department-resources-page .card-icon {
      min-width: 40px;
      height: 40px;
      font-size: 1.4rem;
    }
  
    .department-resources-page .card-title {
      font-size: 1rem;
    }
  
    .department-resources-page .file-type {
      padding: 3px 10px;
      font-size: 0.8rem;
    }
  
    .department-resources-page .download-icon {
      font-size: 1rem;
    }
  }









































/*ЦПИЭР Стили для страницы услуг */

.services-page {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Заголовок страницы */
.services-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.services-page .page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a3c6c;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.services-page .page-subtitle {
    font-size: 1.2rem;
    color: #495057;
    margin: 0;
    line-height: 1.6;
}

/* Секция услуг */
.services-page .services-section {
    margin-bottom: 40px;
}

.services-page .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3c6c;
    margin: 0 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #2c5aa0;
    line-height: 1.3;
}

/* Список услуг */
.services-page .services-list {
    display: grid;
    gap: 15px;
}

.services-page .service-item {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2c5aa0;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.services-page .service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.services-page .service-icon {
    font-size: 1.8rem;
    color: #2c5aa0;
    font-weight: bold;
    min-width: 30px;
    flex-shrink: 0;
}

.services-page .service-item p {
    margin: 0;
    line-height: 1.7;
    color: #495057;
    font-size: 1.05rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .services-page .page-title {
        font-size: 1.8rem;
    }
    
    .services-page .page-subtitle {
        font-size: 1rem;
    }
    
    .services-page .section-title {
        font-size: 1.5rem;
    }
    
    .services-page .service-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .services-page .service-icon {
        text-align: center;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .services-page {
        padding: 15px;
    }
    
    .services-page .page-header {
        padding: 20px 15px;
    }
    
    .services-page .page-title {
        font-size: 1.6rem;
    }
    
    .services-page .section-title {
        font-size: 1.4rem;
    }
    
    .services-page .service-item p {
        font-size: 1rem;
    }
}




/* Стили для страницы юридической консультации */

.legal-consultation-page {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Заголовок страницы */
.legal-consultation-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-consultation-page .page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a3c6c;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.legal-consultation-page .page-subtitle {
    font-size: 1.2rem;
    color: #495057;
    margin: 0;
    line-height: 1.6;
}

/* Герой-изображение */
.legal-consultation-page .hero-image {
    margin-bottom: 40px;
    text-align: center;
}

.legal-consultation-page .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Текстовый раздел */
.legal-consultation-page .content-section {
    margin-bottom: 40px;
}

.legal-consultation-page .text-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
    text-align: justify;
}

/* Карточка консультации */
.legal-consultation-page .consultation-card {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3c6c 100%);
    color: #fff;
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(44, 90, 160, 0.2);
}

.legal-consultation-page .consultation-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.legal-consultation-page .consultation-body {
    text-align: center;
}

.legal-consultation-page .consultation-time {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffd700;
    line-height: 1.3;
}

.legal-consultation-page .consultation-text {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.legal-consultation-page .consultation-university {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.legal-consultation-page .consultation-phone {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.6;
}

/* Раздел правил */
.legal-consultation-page .rules-section,
.legal-consultation-page .competence-section {
    margin-bottom: 40px;
}

.legal-consultation-page .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3c6c;
    margin: 0 0 15px 0;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 3px solid #2c5aa0;
}

.legal-consultation-page .rules-university {
    font-size: 1.1rem;
    text-align: center;
    color: #495057;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Список правил */
.legal-consultation-page .rules-list,
.legal-consultation-page .competence-list {
    display: grid;
    gap: 15px;
}

.legal-consultation-page .rule-item,
.legal-consultation-page .competence-item {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2c5aa0;
    display: flex;
    gap: 15px;
}

.legal-consultation-page .rule-number,
.legal-consultation-page .competence-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c5aa0;
    min-width: 30px;
    flex-shrink: 0;
}

.legal-consultation-page .rule-item p,
.legal-consultation-page .competence-item p {
    margin: 0;
    line-height: 1.7;
    color: #495057;
}

/* Подсписок правил */
.legal-consultation-page .sub-rules {
    margin: 10px 0 0 30px;
    padding-left: 15px;
}

.legal-consultation-page .sub-rules li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #555;
    list-style-type: disc;
}

/* Партнёры */
.legal-consultation-page .partners-section {
    margin-top: 40px;
}

.legal-consultation-page .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.legal-consultation-page .partner-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.legal-consultation-page .partner-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.legal-consultation-page .partner-card img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.legal-consultation-page .partner-card:hover img {
    transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .legal-consultation-page .page-title {
        font-size: 1.8rem;
    }
    
    .legal-consultation-page .page-subtitle {
        font-size: 1rem;
    }
    
    .legal-consultation-page .consultation-card {
        padding: 25px 20px;
    }
    
    .legal-consultation-page .consultation-time {
        font-size: 1.5rem;
    }
    
    .legal-consultation-page .consultation-university {
        font-size: 1.1rem;
    }
    
    .legal-consultation-page .section-title {
        font-size: 1.5rem;
    }
    
    .legal-consultation-page .rule-item,
    .legal-consultation-page .competence-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .legal-consultation-page .rule-number,
    .legal-consultation-page .competence-number {
        text-align: center;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .legal-consultation-page {
        padding: 15px;
    }
    
    .legal-consultation-page .page-header {
        padding: 20px 15px;
    }
    
    .legal-consultation-page .page-title {
        font-size: 1.6rem;
    }
    
    .legal-consultation-page .consultation-card {
        padding: 20px 15px;
    }
    
    .legal-consultation-page .consultation-time {
        font-size: 1.4rem;
    }
    
    .legal-consultation-page .section-title {
        font-size: 1.4rem;
    }
    
    .legal-consultation-page .text-paragraph {
        font-size: 1rem;
    }
}




/* Стили для страницы библиографической деятельности */

.bibliography-page {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.bibliography-page .page-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 35px;
    border-left: 4px solid #2c5aa0;
    font-size: 1.1rem;
    color: #495057;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bibliography-page .page-intro p {
    margin: 0;
    line-height: 1.7;
}

/* Переопределение стилей для кнопки "Открыть файл" */
.bibliography-page .resource-link:after {
    display: none;
}

.bibliography-page .resource-link {
    background: #2c5aa0;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.bibliography-page .resource-link:hover {
    background: #1a3c6c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

/* Стили для страницы электронных ресурсов */

.elres-page {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 35px;
    border-left: 4px solid #2c5aa0;
    font-size: 1.1rem;
    color: #495057;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.resources-grid {
    display: grid;
    gap: 25px;
    margin-top: 20px;
}

.resource-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: stretch;
}

.resource-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.resource-logo-wrapper {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3c6c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.resource-logo {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.resource-logo img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    display: block;
}

.resource-content {
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.resource-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #1a3c6c;
}

.resource-title a {
    color: #1a3c6c;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.resource-title a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

.resource-body {
    flex: 1;
    margin-bottom: 20px;
}

.resource-body p {
    margin: 0 0 12px 0;
    font-size: 0.98rem;
    color: #495057;
    line-height: 1.7;
}

.resource-footer {
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 4px;
}

.resource-link:hover {
    color: #1a3c6c;
}

.resource-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2c5aa0;
    transition: width 0.3s;
}

/* Адаптивность */
@media (max-width: 992px) {
    .resource-card {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .resource-logo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .resource-card {
        grid-template-columns: 1fr;
    }
    
    .resource-logo-wrapper {
        padding: 25px;
    }
    
    .resource-logo {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .resource-content {
        padding: 25px;
    }
    
    .resource-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .elres-page {
        padding: 15px;
    }
    
    .page-intro {
        padding: 20px 15px;
        font-size: 1rem;
    }
    
    .resource-logo {
        width: 100px;
        height: 100px;
    }
    
    .resource-content {
        padding: 20px 15px;
    }
}