/* Общие стили */
body {
    font-family: 'Rubik', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
  }
  
  .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .page-title {
    text-align: center;
    margin-top: 20px;
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  /* Стили для страницы деталей новостей */
  .news-details {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
  }
  
  .news-photo {
    display: block;
    width: calc(100% + 40px); /* Ширина фото с учетом отрицательных отступов */
    height: auto;
    margin-top: -20px; /* Убираем отступ сверху */
    margin-left: -20px; /* Убираем отступ слева */
    margin-right: -20px; /* Убираем отступ справа */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Тень снизу */
    border-top-left-radius: 8px; /* Закругление углов сверху */
    border-top-right-radius: 8px; /* Закругление углов сверху */
    margin-bottom: 20px; /* Добавляем отступ снизу */
  }
  
  .news-description {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
  }
  
  .news-date {
    font-size: 1.4rem;
    color: #888;
    text-align: right;
  }
  
  .divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
  }
  
  .pdf-files-title {
    text-align: center;
    font-size: 2rem;
    margin: 20px 0 10px;
    color: #247291;
  }
  
  .pdf-files-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px; /* Добавляем отступ снизу */
  }
  
  .pdf-button {
    font-size: 1.6rem;
    padding: 10px 20px;
    color: #fff;
    background-color: #247291;
    text-decoration: none;
    border-radius: 8px; /* Закругляем углы больше */
    transition: background-color 0.3s ease;
  }
  
  .pdf-button:hover {
    background-color: #1a5873;
  }
  
  /* Адаптивные стили */
  @media (max-width: 768px) {
    .news-details {
      padding: 10px;
    }
  
    .news-photo {
      width: calc(100% + 20px); /* Уменьшаем ширину для мобильных устройств */
      margin-left: -10px; /* Уменьшаем отступ слева */
      margin-right: -10px; /* Уменьшаем отступ справа */
    }
  
    .news-description {
      padding: 0 10px; /* Уменьшаем внутренний отступ для мобильных устройств */
    }
  
    .pdf-files-title {
      font-size: 1.8rem;
    }
  
    .pdf-button {
      font-size: 1.4rem;
      padding: 8px 16px;
    }
  }
  