.local-preview-notice {
  margin: 0;
  padding: 10px 20px;
  background: rgba(215, 168, 255, 0.12);
  color: #ecc9ff;
  text-align: center;
  font-size: 12px;
}
.news-section {
  max-width: 1180px;
  margin: 70px auto;
  padding: 32px;
  border: 1px solid var(--line, #45364f);
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.045),
    rgba(158, 124, 255, 0.055)
  );
}
.news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.news-heading h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.035em;
  margin: 8px 0;
}
.news-heading p {
  color: var(--muted, #cdbed8);
  margin: 0;
  line-height: 1.6;
}
.news-eyebrow,
.news-heading > a {
  font-size: 13px;
  font-weight: 750;
  color: #22d3ee;
  letter-spacing: 0.025em;
}
.news-heading > a {
  white-space: nowrap;
  padding: 10px 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  border: 1px solid rgba(215, 168, 255, 0.16);
  border-radius: 16px;
  padding: 24px;
  background: #201729;
  min-width: 0;
  overflow-wrap: anywhere;
}
.news-card h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 18px 0 12px;
}
.news-card h3 a:hover {
  color: #22d3ee;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.065em;
}
.news-category {
  color: #22d3ee;
}
.maintenance .news-category {
  color: #fbbf24;
}
.incident .news-category {
  color: #fda4af;
}
.is-resolved .news-category {
  color: #6ee7b7;
}
.news-pin {
  color: #bdafca;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.news-description {
  color: #d6cadf;
  line-height: 1.75;
  white-space: pre-wrap;
  font-size: 14px;
  margin: 0 0 20px;
}
.news-description.compact {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-time {
  font-size: 12px;
  color: #ac9bb8;
}
.news-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  margin: 18px 0;
  aspect-ratio: auto;
  background: #150d1c;
}
.news-empty {
  grid-column: 1/-1;
  color: #cdbed8;
  line-height: 1.6;
  padding: 16px 0;
  margin: 0;
}
[data-news-banner] {
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 0 26px;
}
[data-news-banner][hidden] {
  display: none;
}
.news-banner-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 20px;
  border: 1px solid #fbbf2455;
  border-radius: 12px;
  background: #302326;
  color: #fff3d6;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.news-banner-link.incident {
  background: #331d2b;
  border-color: #fb718555;
  color: #ffe1e6;
}
.news-banner-link strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-banner-more {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
}
.updates-intro {
  max-width: 850px;
  margin: 70px 0 35px;
}
.updates-intro h1 {
  font-size: clamp(40px, 7vw, 64px);
  letter-spacing: -0.05em;
  margin: 15px 0;
}
.updates-intro p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 650px;
}
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.news-filters button,
.news-more {
  border: 1px solid #ffffff20;
  background: #241a2e;
  color: #cdbed8;
  border-radius: 100px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.news-filters button[aria-pressed="true"] {
  border-color: #22d3ee80;
  background: #22d3ee15;
  color: #67e8f9;
}
.news-more {
  display: block;
  margin: 28px auto;
}
.news-more[hidden] {
  display: none;
}
.updates-list {
  display: grid;
  gap: 18px;
  max-width: 850px;
}
.updates-list .news-card h3 {
  font-size: 26px;
}
[data-updates-status] {
  color: #cdbed8;
  margin: 24px 0;
}
.news-back {
  color: #22d3ee;
  font-size: 14px;
}
@media (max-width: 800px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-section {
    padding: 24px;
    margin: 45px auto;
  }
  .news-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .news-banner-link {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .news-banner-link > span:not(.news-banner-more) {
    flex: 1 1 180px;
  }
  .news-banner-more {
    margin-left: 0;
  }
  .updates-intro {
    margin-top: 45px;
  }
  .news-card {
    padding: 21px;
  }
}

/* Garden surfaces shared by the news pages and private newsroom. */
body.garden-theme {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #1a1024 0%,
    #120a18 38%,
    #160b20 72%,
    #100714 100%
  );
  position: relative;
  isolation: isolate;
}
body.garden-theme::before {
  content: "";
  position: fixed;
  inset: -12vh -10vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 3% 18%,
      rgba(160, 95, 255, 0.24),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 95% 46%,
      rgba(242, 166, 216, 0.18),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 60% 105%,
      rgba(120, 84, 255, 0.16),
      transparent 45%
    );
}
.news-section {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.025)
  );
  background-color: rgba(24, 14, 32, 0.72);
  border-color: rgba(215, 168, 255, 0.18);
  border-radius: 26px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.news-eyebrow,
.news-heading > a,
.news-back {
  color: var(--accent, #d7a8ff);
}
.news-card {
  --news-rgb: 215, 168, 255;
  position: relative;
  border-radius: 22px;
  border-color: rgba(var(--news-rgb), 0.18);
  background:
    radial-gradient(
      ellipse at 100% 0%,
      rgba(var(--news-rgb), 0.055),
      transparent 65%
    ),
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );
  background-color: rgba(23, 13, 31, 0.72);
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.news-card.announcement {
  --news-rgb: 117, 227, 154;
}
.news-card.maintenance {
  --news-rgb: 251, 191, 36;
}
.news-card.incident {
  --news-rgb: 248, 113, 113;
}
.news-card.is-resolved {
  --news-rgb: 117, 227, 154;
}
.news-card .news-category {
  color: rgb(var(--news-rgb));
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.news-category svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.news-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -6px -4px -6px 0;
  border: 1px solid rgba(var(--news-rgb), 0.35);
  border-radius: 9px;
  color: rgb(var(--news-rgb));
  background: rgba(var(--news-rgb), 0.1);
}
.news-pin svg {
  width: 16px;
  height: 16px;
}
.news-card.is-pinned {
  border-width: 2px;
  border-color: rgba(var(--news-rgb), 0.58);
  padding: 23px;
}
.news-card:hover,
.news-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(var(--news-rgb), 0.6);
  box-shadow:
    0 30px 78px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(var(--news-rgb), 0.1),
    0 0 32px rgba(var(--news-rgb), 0.09);
}
.news-card h3 a:is(:hover, :focus-visible, :active) {
  color: rgb(var(--news-rgb));
}
.news-card h3 a {
  transition: color 0.18s ease;
}
.news-filters button[aria-pressed="true"] {
  border-color: rgba(215, 168, 255, 0.45);
  background: rgba(215, 168, 255, 0.1);
  color: #ecc9ff;
}
.news-filters button:hover,
.news-more:hover {
  border-color: rgba(215, 168, 255, 0.42);
  background: rgba(215, 168, 255, 0.08);
}
.updates-page nav a[aria-current="page"] {
  color: #fff;
  background: rgba(215, 168, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(215, 168, 255, 0.16);
}
@media (prefers-reduced-motion: reduce) {
  .news-card,
  .post-list-item,
  button {
    transition: none;
  }
  .news-card:hover,
  .news-card:focus-within,
  .post-list-item:hover,
  .primary:hover {
    transform: none;
  }
}

.news-filters [data-category="announcement"] {
  --filter-rgb: 117, 227, 154;
}
.news-filters [data-category="update"] {
  --filter-rgb: 215, 168, 255;
}
.news-filters [data-category="maintenance"] {
  --filter-rgb: 251, 191, 36;
}
.news-filters [data-category="incident"] {
  --filter-rgb: 248, 113, 113;
}
.news-filters [data-category="resolved"] {
  --filter-rgb: 117, 227, 154;
}
.news-filters
  button:is(:hover, :focus-visible, :active, [aria-pressed="true"]) {
  color: rgb(var(--filter-rgb, 215, 168, 255));
  border-color: rgba(var(--filter-rgb, 215, 168, 255), 0.5);
  background: rgba(var(--filter-rgb, 215, 168, 255), 0.1);
}
@media (max-width: 800px) {
  .news-card.is-pinned {
    padding: 20px;
  }
}

.news-description .news-text-link {
  color: rgb(var(--news-rgb, 215, 168, 255));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-thickness 0.18s ease;
}
.news-description .news-text-link:is(:hover, :focus-visible, :active) {
  color: rgb(var(--news-rgb, 215, 168, 255));
  text-decoration-thickness: 2px;
}
