.news-section {
  padding: 40px 20px;
}

/* Основной контейнер */
.glass-news {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: flex-start;
  gap: 40px;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-radius: 24px;
  padding: 30px;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

  transition: 0.3s ease;
}

.glass-news:hover {
  transform: translateY(-6px);
}

/* Медиа контейнер */
.news-media {
  flex: 0 0 420px;
  width: 420px;

  aspect-ratio: 9 / 16;

  border-radius: 18px;
  overflow: hidden;

  position: relative;
}

/* Видео и iframe → cover */
.news-media video,
.news-media iframe {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* Фото → contain (🔥 ключевой фикс) */
.news-media img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  background: white;
}

/* Контент */
.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Текст */
.news-date {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.news-title {
  font-size: 28px;
  margin: 0 0 18px;
  font-weight: 600;
}

.news-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #444;
}

/* Кнопки */
.news-button {
  align-self: flex-start;
  padding: 12px 26px;

  border-radius: 40px;

  background: rgba(0, 0, 0, 0.05);
  color: #000;

  text-decoration: none;

  border: 1px solid rgba(0, 0, 0, 0.08);

  transition: 0.3s ease;
}

.news-button:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* VK кнопка */
.vk-button {
  margin-top: 30px;
  padding: 14px 28px;

  border-radius: 50px;

  background: rgba(0, 119, 255, 0.1);
  color: #0077ff;

  text-decoration: none;
  font-weight: 500;

  border: 1px solid rgba(0, 119, 255, 0.3);

  transition: 0.3s ease;

  display: inline-flex;        /* 👈 главное */
  align-items: center;         /* вертикально */
  justify-content: center;     /* горизонтально */

  text-align: center;
}

.vk-button:hover {
  background: #0077ff;
  color: #fff;
}
/* Адаптив */
@media (max-width: 900px) {
  .glass-news {
    flex-direction: column;
  }

  .news-media {
    width: 100%;
    flex: none;
  }
}

