/* News feed and article pages */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: var(--white);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .012);
  transition: border-color .28s ease, background .28s ease, transform .28s var(--ease);
}

.news-card:hover,
.news-card:focus-visible {
  border-color: rgba(239, 31, 45, .68);
  background: rgba(255, 255, 255, .03);
  outline: none;
  transform: translateY(-7px);
}

.news-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.36 / 1;
  overflow: hidden;
  background: #101014;
}

.news-card-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(2, 2, 3, .02) 25%, rgba(2, 2, 3, .9) 100%);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease), filter .45s ease;
}

.news-card:hover .news-card-image img,
.news-card:focus-visible .news-card-image img {
  filter: saturate(1.25) contrast(1.08);
  transform: scale(1.06);
}

.news-card-image--main {
  background: radial-gradient(circle at 52% 38%, rgba(245, 31, 45, .63), transparent 38%), #080809;
}

.news-card-image--main img {
  object-fit: contain;
  padding: 8%;
  filter: drop-shadow(0 0 22px rgba(239, 31, 45, .42));
}

.news-card-image--esea img {
  filter: saturate(.72) contrast(1.1);
}

.news-card-image--trophy img {
  filter: saturate(.72) contrast(1.15) brightness(.8);
}

.news-card-stamp {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 14px;
  color: #fff;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .08em;
  text-align: right;
}

.news-card-body {
  display: flex;
  min-height: 248px;
  flex: 1;
  flex-direction: column;
  padding: 21px 20px 20px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.news-card-meta span {
  color: var(--red-bright);
}

.news-card-meta time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.news-card-meta time::before {
  width: 3px;
  height: 3px;
  content: "";
  border-radius: 50%;
  background: var(--gray-500);
}

.news-card-title {
  display: block;
  margin-top: 16px;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-transform: uppercase;
}

.news-card-excerpt {
  display: block;
  margin-top: 14px;
  color: var(--gray-300);
  font-size: 14px;
  line-height: 1.55;
}

.news-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--white);
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-card-more b {
  color: var(--red-bright);
  font-size: 16px;
  line-height: .6;
}

.news-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.news-all-button {
  min-width: 184px;
  gap: 17px;
}

/* Archive and full-news pages */
.news-page {
  min-height: 100vh;
  padding-top: var(--header-height);
}

.news-page-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, .9);
  backdrop-filter: blur(22px);
}

.news-page-header .header-inner {
  justify-content: space-between;
}

.news-page-header .language-switcher {
  order: 1;
  margin-left: auto;
  margin-right: 24px;
}

.news-page-header .news-back-link {
  order: 2;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gray-100);
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.news-back-link:hover,
.news-back-link:focus-visible { color: var(--red-bright); outline: none; }

.news-archive-hero,
.news-article {
  padding-block: 76px 104px;
}

.news-archive-hero .section-kicker { margin-bottom: 20px; }

.news-archive-hero h1,
.news-article h1 {
  max-width: 950px;
  font-size: clamp(42px, 7.1vw, 102px);
  letter-spacing: -.065em;
  line-height: .93;
  text-transform: uppercase;
}

.news-archive-hero > p:not(.section-kicker) {
  max-width: 500px;
  margin-top: 25px;
  color: var(--gray-300);
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 108px;
}

.news-article { max-width: 970px; }

.article-meta {
  display: flex;
  gap: 13px;
  margin-bottom: 24px;
  color: var(--gray-500);
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-meta span { color: var(--red-bright); }

.article-lead {
  max-width: 720px;
  margin-top: 30px;
  color: var(--gray-100);
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.42;
}

.article-cover {
  position: relative;
  aspect-ratio: 1.82 / 1;
  margin-top: 45px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101014;
}

.article-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, transparent 35%, rgba(239, 31, 45, .2));
  pointer-events: none;
}

.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover--logo { background: radial-gradient(circle, rgba(239, 31, 45, .58), transparent 38%), #080809; }
.article-cover--logo img { object-fit: contain; padding: 4%; }

.article-copy {
  max-width: 730px;
  margin-top: 46px;
  color: var(--gray-100);
  font-size: 17px;
  line-height: 1.78;
}

.article-copy p + p { margin-top: 22px; }
.article-copy h2 {
  margin-top: 46px;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -.045em;
  line-height: 1;
  text-transform: uppercase;
}

.article-results {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.article-results div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  padding: 14px 17px;
  background: var(--surface);
  font-size: 14px;
}

.article-results div span:last-child { text-align: right; }
.article-results strong { color: var(--red-bright); }

.article-footer-link { margin-top: 52px; }

@media (max-width: 860px) {
  .news-card-grid,
  .news-archive-grid { grid-template-columns: 1fr; max-width: 620px; }
  .news-card-body { min-height: 0; }
  .news-card-image { aspect-ratio: 1.75 / 1; }
}

@media (max-width: 620px) {
  .news-page-header .brand { min-width: 0; }
  .news-page-header .brand-copy { display: none; }
  .news-page-header .brand-mark img { width: 48px; height: 48px; }
  .news-page-header .language-switcher { margin-right: 14px; }
  .news-page-header .language-switcher button { min-width: 32px; min-height: 30px; padding-inline: 6px; font-size: 8px; }
  .news-back-link { font-size: 9px; }
  .news-archive-hero,
  .news-article { padding-block: 52px 70px; }
  .news-card-grid { gap: 20px; }
  .news-card-body { padding: 18px; }
  .article-cover { margin-top: 30px; aspect-ratio: 1.35 / 1; }
  .article-copy { margin-top: 30px; font-size: 16px; }
  .article-results div { gap: 10px; padding: 12px; font-size: 12px; }
}
