/* SCHREIGARM News — production editorial layout.
   Scoped to .news-page; base styles remain in style.css. */

.news-page .news__inner > .title {
  margin-bottom: 44px;
}

.news-page .news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto 50px;
}

.news-page .news-grid .main__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 21px 19px 24px;
  background: linear-gradient(160deg, rgba(24, 24, 22, 0.91), rgba(4, 5, 5, 0.94));
  border: 1px solid rgba(180, 170, 140, 0.24);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
  .news-page .news-grid .main__item:hover {
    transform: translateY(-3px);
    border-color: rgba(192, 79, 26, 0.52);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.6), 0 0 18px rgba(192, 79, 26, 0.13);
  }
}

.news-page .news-grid .main__date {
  order: 0;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: #b7ae99;
  text-shadow: 0 1px 5px #000;
}

.news-page .news-grid h2.main__subtitle {
  order: 1;
  max-width: 100%;
  font-size: 19px;
  line-height: 1.36;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.news-page .news-grid h3.main__subtitle {
  order: 2;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #d2d2d2;
}

.news-page .news-grid .main__grad,
.news-page .news-grid .main__item > img.main__cover,
.news-page .news-grid .main__item > img.main__photo,
.news-page .news-grid .video_main {
  order: 3;
}

.news-page .news-grid .main__grad {
  display: block;
  width: 100%;
  max-width: 210px;
  margin-top: 4px;
}

.news-page .news-grid .main__cover,
.news-page .news-grid .main__photo {
  width: 100%;
  max-width: 210px;
  max-height: 235px;
  object-fit: contain;
  border-radius: 10px;
  margin: 4px auto 0;
}

.news-page .news-grid .main__photo {
  max-width: 330px;
}

.news-page .news-grid .video_main {
  width: 100%;
  max-width: 360px;
  height: 165px;
  margin: 4px 0 0;
  background-size: 100% auto;
  background-position: center;
  border-radius: 12px;
}

/* Restore the original index.html video effect: background 100% -> 105%,
   and the Play icon becomes fully opaque.  Also works on keyboard focus. */
.news-page .news-grid .video_main:hover,
.news-page .news-grid .video_main:focus-within {
  background-size: 105% auto;
}

.news-page .news-grid .video_main:hover a img,
.news-page .news-grid .video_main:focus-within a img {
  opacity: 1;
}

.news-page .news-grid .video_main a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.news-page .news-grid .video_main a img {
  max-width: 58px;
}

.news-page .news-grid .main__platform {
  order: 4;
  width: 100%;
  max-width: 220px;
  margin: 8px 0 0;
  justify-content: center;
  gap: 22px;
}

.news-page .news-grid h2.main__platform-title {
  order: 4;
  margin-top: 10px;
}

.news-page .news-grid a:focus-visible {
  outline: 2px solid #e5dfd2;
  outline-offset: 5px;
  border-radius: 3px;
}

@media (max-width: 850px) {
  .news-page .news-grid {
    gap: 18px;
  }
  .news-page .news-grid .main__item {
    padding: 20px 16px 23px;
  }
}

@media (max-width: 690px) {
  .news-page .news__inner > .title {
    margin-bottom: 32px;
  }
  .news-page .news-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 390px;
    gap: 18px;
  }
  .news-page .news-grid .main__item {
    padding: 20px 17px 23px;
  }
  .news-page .news-grid h2.main__subtitle {
    font-size: 19px;
  }
  .news-page .news-grid .video_main {
    height: 165px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-page .news-grid .main__item {
    transition: none;
  }
  .news-page .news-grid .main__item:hover {
    transform: none;
  }
}
