/* =========================================================
   NEWS PAGE
   Chucky1337 Community Newsroom
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.news-page {
  position: relative;
  overflow: hidden;
}


/* =========================================================
   NEWS HERO
========================================================= */

.news-hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 10%, rgba(124,58,237,.14), transparent 32%),
    radial-gradient(circle at 15% 90%, rgba(88,101,242,.08), transparent 28%),
    var(--bg);
}

.news-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 94%);
  opacity: .16;
}

.news-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

.news-hero-glow-one {
  top: -240px;
  right: 8%;
  width: 520px;
  height: 520px;
  background: var(--accent);
  opacity: .14;
}

.news-hero-glow-two {
  left: 4%;
  bottom: -290px;
  width: 500px;
  height: 500px;
  background: #5865f2;
  opacity: .07;
}

.news-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,390px);
  gap: clamp(50px,7vw,110px);
  align-items: center;
  padding-block: 105px 92px;
}


/* =========================================================
   NEWS HERO COPY
========================================================= */

.news-hero-copy {
  max-width: 790px;
}

.news-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: .66rem;
  font-weight: 760;
  letter-spacing: .13em;
}

.news-hero-kicker-mark {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .56rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.news-hero h1 {
  max-width: 850px;
  margin: 23px 0 24px;
  font-size: clamp(3.8rem,7vw,7rem);
  line-height: .9;
  letter-spacing: -.072em;
  font-weight: 590;
}

.news-hero-copy > p {
  max-width: 690px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(.96rem,1.15vw,1.08rem);
  line-height: 1.75;
}

.news-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.news-hero-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  color: var(--text-faint);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(10px);
}

.news-hero-tags i {
  color: var(--accent);
  font-size: .68rem;
}


/* =========================================================
   HERO CONTROL CARD
========================================================= */

.news-hero-control {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124,58,237,.11), transparent 35%),
    color-mix(in srgb, var(--panel-solid) 90%, transparent);
  box-shadow:
    0 28px 80px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter: blur(18px);
}

.news-hero-control::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .05;
  filter: blur(50px);
  pointer-events: none;
}

.news-hero-control-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.news-hero-control-head > div {
  display: grid;
  gap: 3px;
}

.news-hero-control-head > div > span {
  color: var(--accent);
  font-size: .52rem;
  font-weight: 820;
  letter-spacing: .15em;
}

.news-hero-control-head strong {
  font-size: .8rem;
  font-weight: 680;
}

.news-language-live {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid rgba(62,207,142,.18);
  border-radius: 7px;
  background: rgba(62,207,142,.06);
  color: #48d99a;
  font-size: .47rem;
  font-weight: 820;
  letter-spacing: .09em;
}

.news-language-live i {
  position: relative;
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(62,207,142,.07);
}

.news-language-live i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(62,207,142,.25);
  border-radius: 50%;
  animation: newsLivePulse 1.8s ease-out infinite;
}

@keyframes newsLivePulse {
  0% {
    transform: scale(.7);
    opacity: .8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}


/* =========================================================
   LANGUAGE SWITCH
========================================================= */

.news-language-switch {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.news-language-option {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto auto minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text-faint);
  text-decoration: none;
  transition:
    border-color .2s ease,
    background .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.news-language-option:hover {
  transform: translateX(3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 40%, var(--bg-soft));
  color: var(--text);
}

.news-language-option.is-active {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background:
    linear-gradient(90deg, rgba(124,58,237,.10), transparent 75%),
    var(--bg-soft);
  color: var(--text);
  box-shadow:
    inset 3px 0 0 var(--accent),
    0 10px 30px rgba(0,0,0,.05);
}

.news-language-code {
  min-width: 29px;
  color: var(--accent);
  font-size: .56rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.news-language-flag {
  width: 22px;
  height: 15px;
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
}

.news-language-flag svg {
  width: 22px;
  height: 15px;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.5),
    0 0 0 2px rgba(255,255,255,.07);
}

.news-language-name {
  overflow: hidden;
  font-size: .68rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* =========================================================
   HERO STATS
========================================================= */

.news-hero-control-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.news-hero-control-stats > div {
  display: grid;
  gap: 3px;
}

.news-hero-control-stats > div:last-child {
  text-align: right;
}

.news-hero-control-stats strong {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 620;
  letter-spacing: -.035em;
}

.news-hero-control-stats span {
  color: var(--text-faint);
  font-size: .55rem;
}

.news-hero-control-stats > i {
  width: 1px;
  height: 28px;
  background: var(--line);
}


/* =========================================================
   TOOLBAR
========================================================= */

.news-toolbar-section {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 94%, transparent);
  backdrop-filter: blur(12px);
}

.news-toolbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.news-toolbar-copy {
  display: grid;
  gap: 3px;
}

.news-toolbar-label {
  color: var(--accent);
  font-size: .51rem;
  font-weight: 820;
  letter-spacing: .15em;
}

.news-toolbar-copy strong {
  font-size: .68rem;
  font-weight: 650;
}

.news-toolbar-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.news-toolbar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-faint);
  font-size: .58rem;
}

.news-toolbar-meta i {
  color: var(--accent);
  font-size: .62rem;
}


/* =========================================================
   NEWS FEED
========================================================= */

.news-feed-section {
  position: relative;
  padding: 80px 0 100px;
}

.news-feed-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .035;
  filter: blur(120px);
  pointer-events: none;
}

.news-feed {
  position: relative;
  display: grid;
  gap: 22px;
}


/* =========================================================
   NEWS ENTRY
========================================================= */

.news-entry {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 18px;
  align-items: stretch;
}

.news-entry-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 23px;
}

.news-entry-number {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  color: var(--text-faint);
  font-size: .56rem;
  font-weight: 760;
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
}

.news-entry-latest .news-entry-number {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: var(--accent-soft);
  color: var(--accent);
}

.news-entry-line {
  width: 1px;
  min-height: 52px;
  flex: 1;
  margin: 9px 0;
  background: linear-gradient(to bottom, var(--line), transparent);
}

.news-entry-language {
  min-width: 29px;
  min-height: 22px;
  display: grid;
  place-items: center;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text-faint);
  font-size: .46rem;
  font-weight: 820;
  letter-spacing: .08em;
}


/* =========================================================
   CARD
========================================================= */

.news-entry-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(124,58,237,.025), transparent 34%),
    var(--panel);
  box-shadow:
    0 22px 70px rgba(0,0,0,.065),
    inset 0 1px 0 rgba(255,255,255,.018);
  transition:
    transform .24s var(--ease),
    border-color .24s ease,
    box-shadow .24s ease;
}

.news-entry-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  box-shadow:
    0 28px 80px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.news-entry-latest .news-entry-card {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background:
    radial-gradient(circle at 100% 0%, rgba(124,58,237,.09), transparent 28%),
    var(--panel);
  box-shadow:
    0 28px 90px rgba(0,0,0,.10),
    0 0 60px rgba(124,58,237,.04);
}


/* =========================================================
   MEDIA
========================================================= */

.news-entry-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.news-entry-media img {
  width: 100%;
  height: auto;
  max-height: 780px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #050507;
}

.news-entry-media-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(5,5,9,.28), transparent 36%),
    linear-gradient(to bottom, rgba(5,5,9,.08), transparent 20%);
}

.news-entry-latest-badge {
  position: absolute;
  top: 17px;
  left: 17px;
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(8,8,13,.68);
  color: #fff;
  backdrop-filter: blur(12px);
  font-size: .51rem;
  font-weight: 830;
  letter-spacing: .1em;
  box-shadow: 0 8px 26px rgba(0,0,0,.22);
}

.news-entry-latest-badge i {
  color: #b99cff;
}


/* =========================================================
   CONTENT
========================================================= */

.news-entry-content {
  padding: clamp(24px,3.2vw,40px);
}

.news-entry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.news-entry-meta-left {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 13px;
}

.news-entry-date,
.news-entry-time,
.news-entry-source,
.news-entry-inline-latest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: .54rem;
  font-weight: 720;
  letter-spacing: .06em;
}

.news-entry-date i {
  color: var(--accent);
}

.news-entry-time::before,
.news-entry-source::before {
  content: "·";
  color: var(--text-faint);
  margin-right: 2px;
}

.news-entry-inline-latest {
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: .08em;
}

.news-entry-fallback {
  flex: 0 0 auto;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(255,185,80,.18);
  border-radius: 7px;
  background: rgba(255,185,80,.055);
  color: #f0b45d;
  font-size: .49rem;
  font-weight: 720;
}

.news-entry-content h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.65rem,3.2vw,3rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 610;
}

.news-entry-latest .news-entry-content h2 {
  font-size: clamp(2rem,4vw,3.6rem);
}

.news-entry-text {
  max-width: 980px;
  margin-top: 21px;
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.84;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.news-entry-text a {
  color: var(--accent);
}


/* =========================================================
   ENTRY FOOTER
========================================================= */

.news-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}


/* =========================================================
   AUTHOR
========================================================= */

.news-entry-author {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.news-entry-author-linked {
  padding: 5px 8px 5px 5px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition:
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.news-entry-author-linked:hover {
  transform: translateY(-1px);
  border-color: var(--line);
  background: var(--bg-soft);
}

.news-entry-author-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.news-entry-author-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 11px;
  object-fit: cover;
}

.news-entry-author-online {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: var(--green);
}

.news-entry-author-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.news-entry-author-copy small {
  color: var(--text-faint);
  font-size: .46rem;
  font-weight: 780;
  letter-spacing: .1em;
}

.news-entry-author-copy strong {
  overflow: hidden;
  max-width: 220px;
  font-size: .68rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-entry-author-arrow {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 25px;
  place-items: center;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--accent);
  font-size: .5rem;
}


/* =========================================================
   ENTRY ACTIONS
========================================================= */

.news-entry-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.news-entry-edited {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: var(--text-faint);
  font-size: .51rem;
}

.news-entry-discord-link {
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: .56rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}

.news-entry-discord-link:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, #5865f2 40%, var(--line));
  background: rgba(88,101,242,.08);
  color: #9ca5ff;
}

.news-entry-discord-link .fa-discord {
  color: #7c88ff;
}


/* =========================================================
   EMPTY
========================================================= */

.news-empty {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(124,58,237,.08), transparent 34%),
    var(--panel);
  text-align: center;
}

.news-empty-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.1rem;
}

.news-empty-kicker {
  color: var(--accent);
  font-size: .56rem;
  font-weight: 820;
  letter-spacing: .15em;
}

.news-empty h2 {
  margin: 11px 0 10px;
  font-size: clamp(2rem,4vw,3.4rem);
  letter-spacing: -.045em;
  font-weight: 600;
}

.news-empty p {
  max-width: 580px;
  margin: 0 0 26px;
  color: var(--text-soft);
  font-size: .8rem;
  line-height: 1.7;
}


/* =========================================================
   PAGINATION
========================================================= */

.news-pagination {
  display: grid;
  grid-template-columns: minmax(170px,1fr) auto minmax(170px,1fr);
  gap: 22px;
  align-items: center;
  margin-top: 54px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0,0,0,.055);
}

.news-pagination-side {
  min-width: 0;
}

.news-pagination-side-next {
  display: flex;
  justify-content: flex-end;
}

.news-pagination-direction {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.news-pagination-direction > span:not(.news-pagination-direction-icon) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.news-pagination-direction-next {
  text-align: right;
}

.news-pagination-direction small {
  color: var(--text-faint);
  font-size: .45rem;
  font-weight: 780;
  letter-spacing: .12em;
}

.news-pagination-direction strong {
  overflow: hidden;
  font-size: .64rem;
  font-weight: 670;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-pagination-direction-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--accent);
  font-size: .58rem;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.news-pagination-direction:hover .news-pagination-direction-icon {
  transform: translateX(-2px);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: var(--accent-soft);
}

.news-pagination-direction-next:hover .news-pagination-direction-icon {
  transform: translateX(2px);
}

.news-pagination-direction.is-disabled {
  opacity: .28;
  pointer-events: none;
}

.news-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.news-pagination-page {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text-faint);
  font-size: .58rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}

.news-pagination-page:hover {
  transform: translateY(-1px);
  border-color: var(--line);
  background: var(--bg-soft);
  color: var(--text);
}

.news-pagination-page.is-active {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: var(--accent-soft);
  color: var(--accent);
}

.news-pagination-dots {
  min-width: 25px;
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: .62rem;
}

.news-pagination-mobile {
  display: none;
}


/* =========================================================
   DISCORD CTA
========================================================= */

.news-discord-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.news-discord-glow {
  position: absolute;
  left: 50%;
  bottom: -240px;
  width: 720px;
  height: 420px;
  border-radius: 50%;
  background: #5865f2;
  opacity: .075;
  filter: blur(110px);
  transform: translateX(-50%);
  pointer-events: none;
}

.news-discord-inner {
  position: relative;
  z-index: 1;
  min-height: 330px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  padding-block: 70px;
}

.news-discord-icon {
  width: 70px;
  height: 70px;
  display: grid;
  flex: 0 0 70px;
  place-items: center;
  border: 1px solid rgba(88,101,242,.24);
  border-radius: 20px;
  background: rgba(88,101,242,.09);
  color: #8f99ff;
  font-size: 1.45rem;
}

.news-discord-copy {
  min-width: 0;
}

.news-discord-copy > span {
  color: #8f99ff;
  font-size: .55rem;
  font-weight: 820;
  letter-spacing: .15em;
}

.news-discord-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(2.1rem,4.2vw,4.2rem);
  line-height: .97;
  letter-spacing: -.055em;
  font-weight: 590;
}

.news-discord-copy p {
  max-width: 670px;
  margin: 0;
  color: var(--text-soft);
  font-size: .79rem;
  line-height: 1.7;
}

.news-discord-button {
  min-width: 180px;
  gap: 8px;
}


/* =========================================================
   LIGHT THEME
========================================================= */

html[data-theme="light"] .news-hero-control {
  background:
    radial-gradient(circle at 100% 0%, rgba(124,58,237,.08), transparent 35%),
    rgba(255,255,255,.92);
}

html[data-theme="light"] .news-entry-card {
  box-shadow:
    0 22px 60px rgba(25,20,45,.055),
    inset 0 1px 0 rgba(255,255,255,.7);
}

html[data-theme="light"] .news-entry-media img {
  background: #f3f3f6;
}

html[data-theme="light"] .news-entry-latest-badge {
  background: rgba(20,18,30,.78);
  color: #fff;
}


/* =========================================================
   RESPONSIVE 1100
========================================================= */

@media (max-width: 1100px) {
  .news-hero-inner {
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 45px;
  }

  .news-entry {
    grid-template-columns: 48px minmax(0,1fr);
    gap: 14px;
  }

  .news-entry-rail {
    padding-top: 20px;
  }

  .news-pagination {
    grid-template-columns: 150px auto 150px;
  }
}


/* =========================================================
   RESPONSIVE 900
========================================================= */

@media (max-width: 900px) {
  .news-hero {
    min-height: auto;
  }

  .news-hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 78px 70px;
  }

  .news-hero-control {
    width: min(520px,100%);
  }

  .news-toolbar {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding-block: 17px;
  }

  .news-toolbar-meta {
    justify-content: flex-start;
  }

  .news-entry {
    grid-template-columns: 40px minmax(0,1fr);
    gap: 12px;
  }

  .news-entry-number {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .news-entry-content {
    padding: 26px;
  }

  .news-pagination {
    grid-template-columns: 1fr auto 1fr;
  }

  .news-pagination-pages {
    display: none;
  }

  .news-pagination-mobile {
    display: grid;
    justify-items: center;
    gap: 2px;
    color: var(--text-faint);
    font-size: .5rem;
  }

  .news-pagination-mobile strong {
    color: var(--text);
    font-size: .64rem;
  }

  .news-discord-inner {
    grid-template-columns: auto minmax(0,1fr);
  }

  .news-discord-button {
    grid-column: 2;
    width: fit-content;
  }
}


/* =========================================================
   RESPONSIVE 700
========================================================= */

@media (max-width: 700px) {
  .news-hero-inner {
    padding-block: 62px 58px;
  }

  .news-hero h1 {
    font-size: clamp(3rem,14vw,5rem);
  }

  .news-hero-tags {
    gap: 6px;
  }

  .news-hero-tags span {
    min-height: 30px;
    font-size: .55rem;
  }

  .news-hero-control {
    padding: 18px;
    border-radius: 18px;
  }

  .news-feed-section {
    padding: 58px 0 72px;
  }

  .news-entry {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .news-entry-rail {
    display: none;
  }

  .news-entry-card {
    border-radius: 18px;
  }

  .news-entry-media img {
    max-height: none;
  }

  .news-entry-content {
    padding: 21px;
  }

  .news-entry-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .news-entry-fallback {
    align-self: flex-start;
  }

  .news-entry-content h2,
  .news-entry-latest .news-entry-content h2 {
    font-size: clamp(1.55rem,7vw,2.35rem);
  }

  .news-entry-text {
    margin-top: 17px;
    font-size: .8rem;
    line-height: 1.75;
  }

  .news-entry-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 24px;
  }

  .news-entry-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .news-pagination {
    gap: 8px;
    margin-top: 38px;
    padding: 12px;
    border-radius: 14px;
  }

  .news-pagination-direction strong {
    display: none;
  }

  .news-pagination-direction small {
    font-size: .44rem;
  }

  .news-discord-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 55px;
  }

  .news-discord-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 17px;
    font-size: 1.2rem;
  }

  .news-discord-button {
    grid-column: auto;
  }
}


/* =========================================================
   RESPONSIVE 520
========================================================= */

@media (max-width: 520px) {
  .news-hero-kicker {
    font-size: .57rem;
  }

  .news-hero h1 {
    margin-block: 18px 19px;
    font-size: clamp(2.8rem,15vw,4.1rem);
  }

  .news-hero-copy > p {
    font-size: .88rem;
  }

  .news-hero-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .news-hero-tags span {
    width: 100%;
    justify-content: center;
  }

  .news-language-option {
    min-height: 51px;
  }

  .news-language-name {
    font-size: .64rem;
  }

  .news-hero-control-stats strong {
    font-size: 1rem;
  }

  .news-toolbar-meta {
    display: grid;
    gap: 5px;
  }

  .news-entry-latest-badge {
    top: 11px;
    left: 11px;
    min-height: 26px;
    font-size: .46rem;
  }

  .news-entry-meta-left {
    gap: 6px 10px;
  }

  .news-entry-date,
  .news-entry-time,
  .news-entry-source,
  .news-entry-inline-latest {
    font-size: .49rem;
  }

  .news-entry-content {
    padding: 18px;
  }

  .news-entry-text {
    font-size: .76rem;
  }

  .news-entry-author-copy strong {
    max-width: 150px;
  }

  .news-entry-discord-link span {
    display: none;
  }

  .news-entry-discord-link {
    width: 34px;
    height: 34px;
    justify-content: center;
    padding: 0;
  }

  .news-entry-discord-link .fa-arrow-up-right-from-square {
    display: none;
  }

  .news-pagination {
    grid-template-columns: auto 1fr auto;
  }

  .news-pagination-direction > span:not(.news-pagination-direction-icon) {
    display: none;
  }

  .news-pagination-mobile {
    justify-self: center;
  }

  .news-pagination-direction-icon {
    width: 36px;
    height: 36px;
  }

  .news-discord-copy h2 {
    font-size: 2.15rem;
  }

  .news-discord-button {
    width: 100%;
  }
}


/* =========================================================
   TOUCH
========================================================= */

@media (hover: none) and (pointer: coarse) {
  .news-language-option {
    min-height: 56px;
  }

  .news-entry-discord-link,
  .news-pagination-direction-icon,
  .news-pagination-page {
    min-height: 40px;
  }

  .news-entry-card:hover,
  .news-language-option:hover,
  .news-entry-author-linked:hover,
  .news-entry-discord-link:hover,
  .news-pagination-page:hover {
    transform: none;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .news-language-live i::after {
    animation: none;
  }

  .news-language-option,
  .news-entry-card,
  .news-entry-author-linked,
  .news-entry-discord-link,
  .news-pagination-direction-icon,
  .news-pagination-page {
    transition: none;
  }
}