/* Keep the announcement article layout used in the 2025 contests. */
main > .news.list {
  display: block;
  padding: 100px 0 3rem;
  color: var(--text);
  background: #ebfbfc !important;
}

main > .news.list::before,
main > .news.list::after {
  content: none !important;
  display: none !important;
}

.news.list > .text-center {
  position: static;
  width: 100%;
  margin: 0 auto 3rem !important;
  text-align: center !important;
}

.news.list h2 {
  display: inline-block;
  margin: 0;
  padding: 10px 50px;
  color: #fff;
  background: #2f8da6ee;
  border-radius: 10px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  text-shadow: 2px 2px #b5b5b5;
}

.news.list h2::before,
.news.list h2::after {
  content: none;
}

.news.list article {
  width: min(90%, 1180px);
  margin: 0 auto;
  padding: 2rem;
  color: var(--text);
  background: #ffffffcc;
  border-radius: 6px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.news.list article h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
}

.news.list article p {
  margin: 0 0 1rem;
  text-align: left;
}

.news.list article .date {
  text-align: right;
}

.news.list article strong {
  font-weight: 700;
}

.news.list article a {
  color: #0d6efd;
  overflow-wrap: anywhere;
}

.news.list article .news-banner {
  width: 500px;
  max-width: 100%;
  margin: 0;
  border: 1px solid #999;
}

.news.list article a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.news.list article .news-video {
  width: min(100%, 500px);
  aspect-ratio: 16 / 9;
  margin: 0 0 0.5rem;
}

.news-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .news.list article {
    padding: 1rem;
  }
}
