/* Общие стили для страницы новостей */
.news-section {
  padding: 20px;
  /* background: linear-gradient(145deg, #3a3a3a, #1a1a1a);  Закомментировано, чтобы использовался общий фон сайта */
  border-radius: 10px;
  box-shadow: 20px 20px 60px #0f0f0f, -20px -20px 60px #2a2a2a;
  margin-bottom: 30px; /* Отступ между секциями */
}

.news-section h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #0cf;
}

.news-date {
  text-align: center;
  font-style: italic;
  color: #aaa;
  margin-bottom: 20px;
}

.news-article p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.vk-comments {
  margin-top: 30px;
}

/* Стили для виджета ВКонтакте (если нужно) */
/*  Эти стили можно настроить, чтобы виджет вписывался в дизайн  */
#vk_comments {
  width: 100%; /* Занимает всю ширину */
}

    /* Дополнительные стили для группировки и визуального интереса */
    .news-update-section {
      padding: 20px;
      border-radius: 10px;
      box-shadow: 20px 20px 60px #0f0f0f, -20px -20px 60px #2a2a2a;
      background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
      margin-bottom: 30px;
    }

    .news-update-section h1 {
      text-align: center;
      margin-bottom: 20px;
      color: #0cf;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .news-date {
      text-align: center;
      font-style: italic;
      color: #aaa;
      margin-bottom: 20px;
    }

    .news-article {
      line-height: 1.6;
      margin-bottom: 20px;
    }

    /* Стили для группировки контента */
    .update-block {
      background: #2a2a2a;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 20px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
      border-left: 4px solid #0cf;
    }

    .update-block h3 {
      color: #0cf;
      margin-bottom: 10px;
      font-size: 1.2em;
    }

    .update-block p, .update-block ul {
      margin-bottom: 10px;
    }

    .update-block ul {
      list-style-type: none;
      padding-left: 20px;
    }

    .update-block ul li {
      position: relative;
      margin-bottom: 8px;
    }

    .update-block ul li::before {
      content: "▶";
      color: #0cf;
      position: absolute;
      left: -20px;
      top: 2px;
    }

    .update-block a {
      color: #0cf;
      text-decoration: none;
    }

    .update-block a:hover {
      text-decoration: underline;
    }

    /* Стили для секции скриншотов */
    .screenshots-section {
      padding: 20px;
      border-radius: 10px;
      background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
      box-shadow: 20px 20px 60px #0f0f0f, -20px -20px 60px #2a2a2a;
      margin-bottom: 30px;
    }

    .screenshots-section h2 {
      text-align: center;
      color: #0cf;
      margin-bottom: 20px;
    }

    .screenshots-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .screenshot-item {
      text-align: center;
      transition: transform 0.2s ease-in-out;
    }

    .screenshot-item:hover {
      transform: scale(1.05);
    }

    .screenshot-item img {
      max-width: 200px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .screenshot-item a {
      display: block;
      margin-top: 10px;
      color: #0cf;
      text-decoration: none;
      font-size: 0.9em;
    }

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