.news-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.news-page [hidden] {
  display: none;
}

.news-page nav a[aria-current] {
  color: var(--cyan);
}

.news-page .brand {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.news-page #language {
  flex: 0 0 auto;
}

.news-main {
  flex: 1;
}

.news-banner {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #080f1c 12%, #080f1cdd 46%, #080f1c66),
    linear-gradient(0deg, #080f1c, transparent 70%),
    #14253a url('/assets/port.jpg') center 54% / cover;
}

.news-banner-content {
  padding-block: clamp(56px, 9vw, 115px) clamp(50px, 7vw, 84px);
}

.news-banner h1 {
  max-width: 940px;
  margin: 0;
  color: var(--light);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.news-banner p {
  max-width: 48rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.65;
}

.news-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 14px;
}

.news-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-banner .news-date:not([hidden]) {
  display: block;
  margin-top: 20px;
}

.news-content {
  padding-block: clamp(34px, 6vw, 70px) clamp(58px, 9vw, 100px);
}

.news-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  padding: clamp(18px, 3.2vw, 34px);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #101a2b;
}

.news-item-link:hover, .news-item-link:focus-visible {
  border-color: #65e9eb85;
  background: #132237;
}

.news-date {
  color: #9de9ee;
  font-size: 13px;
}

.news-item-link h2 {
  margin: 10px 0 0;
  font-size: clamp(20px, 3.4vw, 32px);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.news-item-link p {
  max-width: 52rem;
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.news-link-arrow {
  display: grid;
  width: clamp(30px, 5vw, 48px);
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 20px;
}

.news-item-link:hover .news-link-arrow {
  background: var(--cyan);
  color: var(--bg);
}

.news-status {
  padding: clamp(22px, 4.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #101a2b;
  color: var(--muted);
}

.news-status p {
  margin: 0;
  line-height: 1.6;
}

.news-status button {
  margin-top: 14px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #16263c;
  color: var(--light);
  cursor: pointer;
}

.news-article {
  max-width: 52rem;
  margin-inline: auto;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.news-summary {
  margin: 0 0 30px;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--cyan);
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 22px);
}

.news-summary, .news-body {
  white-space: pre-wrap;
}

.news-noscript {
  color: var(--muted);
}

@media (max-width: 600px) {
  .news-page .nav .brand {
    max-width: calc(100% - 122px);
  }

  .news-banner {
    background-position: center, center, 64% center;
  }
}

.news-item-with-photo {
  grid-template-columns: clamp(110px, 21vw, 240px) minmax(0, 1fr) auto;
}

.news-thumbnail, .news-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-photo {
  margin: 0 0 28px;
}

.news-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.news-body > p {
  margin: 0 0 1.15em;
}

.news-article-quote {
  color: var(--cyan);
  font-size: 1.15em;
}

@media (max-width: 600px) {
  .news-item-with-photo {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .news-thumbnail {
    grid-column: 1 / -1;
  }
}
