.news-page {
  min-height: 100svh;
  box-sizing: border-box;
  padding: clamp(8rem, 14vw, 12rem) 1.5rem 4rem;
  background: #1e1e1e;
  color: #fff;
  text-align: left;
}

.news-page h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  text-align: center;
}

.news-page__subheading {
  width: min(100%, 72rem);
  margin: 8rem auto 0;
  color: #fff;
  font: 500 clamp(1.6rem, 3.5vw, 2.8rem) "Orbitron", sans-serif;
  text-align: center;
}

.group-shout-heading { display: flex; width: fit-content; align-items: center; justify-content: center; gap: .45rem; margin-inline: auto; }
.group-shout-heading .news-page__subheading { width: auto; margin: 0; }
.news-page .group-shout-heading { margin-top: 8rem; }
.security-page__placeholder .group-shout-heading { position: absolute; top: clamp(10rem, 24vh, 16rem); left: 50%; margin: 0; transform: translateX(-50%); }
.security-page__placeholder .group-shout-heading h2 { position: static; margin: 0; }
.group-shout-info { display: inline-flex; align-items: center; border: 0; padding: .2rem; color: #fff; background: transparent; cursor: pointer; font-size: 1.5rem; line-height: 1; transform: translateY(.08em); }
.group-shout-info-modal { position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; padding: 1.5rem; background: rgba(0,0,0,.72); }
.group-shout-info-modal[hidden] { display: none; }
.group-shout-info-modal__card { position: relative; width: min(32rem, 100%); box-sizing: border-box; padding: 2rem; border: 1px solid rgba(255,255,255,.16); border-radius: 1rem; background: #151515; color: #fff; box-shadow: 0 1rem 4rem rgba(0,0,0,.45); }
.group-shout-info-modal__card h2 { margin: 0 0 1rem; font-family: "Orbitron", sans-serif; font-size: clamp(1.1rem, 3vw, 1.6rem); }
.group-shout-info-modal__card p { margin: 0; line-height: 1.6; }
.group-shout-info-modal__close { position: absolute; top: .7rem; right: .7rem; border: 0; padding: .15rem; color: #fff; background: transparent; cursor: pointer; font-size: 1.5rem; }

.news-page__panel {
  position: relative;
  width: min(100%, 72rem);
  box-sizing: border-box;
  margin-top: clamp(6rem, 12vh, 10rem);
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  text-align: left;
}

.news-page__status {
  margin: 0;
}

.news-page__loading-card {
  position: relative;
  min-height: 8rem;
  box-sizing: border-box;
  margin-top: 8.5rem;
  overflow: visible;
  border-radius: 1.5rem;
  background: #000;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.news-page__loading-card::before {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  width: 0;
  height: 0;
  border-right: 1.25rem solid transparent;
  border-bottom: 1.25rem solid #000;
  border-left: 1.25rem solid transparent;
  content: "";
}

.news-page__status--error {
  display: flex;
  min-height: 8rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgb(255 255 255 / 0.7);
  font: 1rem "Inter", sans-serif;
  text-align: center;
}

.news-page__status--error::before {
  top: -1.25rem;
}

.news-page__status--error::after {
  position: absolute;
  top: -4.4rem;
  left: 2rem;
  color: #fff;
  content: ":(";
  font: 1.5rem "Inter", sans-serif;
}

.news-page__loading-avatar,
.news-page__loading-name,
.news-page__loading-lines span {
  z-index: 1;
  background: #2d2d2d;
  animation: news-loading-blink 1.2s ease-in-out infinite;
}


@keyframes news-loading-blink {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.news-page__loading-identity {
  position: absolute;
  top: -6.25rem;
  left: 1.3rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.news-page__loading-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}

.news-page__loading-name {
  width: clamp(8rem, 20vw, 14rem);
  height: 1.25rem;
  border-radius: 999px;
}

.news-page__loading-lines span {
  position: relative;
  display: block;
  width: 80%;
  height: 1rem;
  margin: 0.75rem 0;
  border-radius: 0.5rem;
}

.news-page__loading-lines span:last-child { width: 58%; }

@keyframes news-loading-shimmer {
  from { background-position: -100% -100%; }
  to { background-position: 200% 200%; }
}

.news-page__list {
  display: grid;
  gap: 8rem;
  padding-top: 2.5rem;
}

.news-card {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 1.5rem;
  background: #000;
  color: #fff;
  text-align: left;
}

.news-card__identity {
  position: absolute;
  top: -6.25rem;
  left: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
  white-space: nowrap;
}

.news-card__identity a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: inherit;
  text-decoration: none;
}

.news-card__identity a:hover {
  text-decoration: underline;
}

.news-card__identity .material-icons-round {
  font-size: 1em;
}

.news-card__avatar {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.news-card__date {
  position: absolute;
  top: -1.8rem;
  right: 1.3rem;
  color: rgb(255 255 255 / 0.62);
  font: 0.85rem "Inter", sans-serif;
}

.news-card::before {
  content: "";
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  width: 0;
  height: 0;
  border-right: 1.25rem solid transparent;
  border-bottom: 1.25rem solid #000;
  border-left: 1.25rem solid transparent;
}

.news-card h2 {
  margin: 0 0 0.5rem;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
}

.news-card p,
.news-card__meta {
  margin: 0;
  font-family: "Inter", sans-serif;
}

.news-card p { white-space: pre-wrap; }

.news-card p,
.news-card a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-card__meta {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.news-card a {
  color: #1880F7;
}

.news-card a .material-icons-round {
  font-size: 0.9em;
  vertical-align: -0.12em;
}

.news-card__image-link {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.news-card__mention {
  color: #5865f2;
}

.news-card__content-image {
  display: block;
  max-width: min(100%, 32rem);
  max-height: 24rem;
  border-radius: 0.75rem;
  object-fit: contain;
}

@media (max-width: 600px) {
  .news-card__image-link,
  .news-card__content-image {
    width: 100%;
    max-width: 100%;
  }

  .news-card__content-image {
    height: auto;
    max-height: none;
  }
}

.news-page__more-button {
  display: block;
  margin: 2.5rem auto 0;
  padding: 0.75rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: #505050;
  color: #fff;
  cursor: pointer;
  font: 600 1rem "Inter", sans-serif;
  transition: background-color 180ms ease, transform 180ms ease;
}

.news-page__more-button:hover {
  background: #686868;
  transform: translateY(-2px);
}
