/* Reading hierarchy for the news archive; article layouts keep their own styles. */
[data-news] {
  --news-muted: #b7bdc9;
  --news-line: #343941;
  --topic-ink: #ffba91;
  --topic-surface: #34261f;
  padding-top: 32px;
}
[data-news] [data-news-category="updates"],
[data-news] [data-news-topic="updates"] { --topic-ink: #ffba91; --topic-surface: #34261f; }
[data-news] [data-news-category="steam"],
[data-news] [data-news-topic="steam"] { --topic-ink: #a8cbff; --topic-surface: #1d2c41; }
[data-news] [data-news-category="teams"],
[data-news] [data-news-topic="teams"] { --topic-ink: #8de0d6; --topic-surface: #183731; }
[data-news] [data-news-category="skins"],
[data-news] [data-news-topic="skins"] { --topic-ink: #d5b5ff; --topic-surface: #302240; }
[data-news] [data-news-category="tournaments"],
[data-news] [data-news-topic="tournaments"] { --topic-ink: #f4d280; --topic-surface: #352d1c; }
[data-news] ::selection { background: #ffb38a; color: #171411; }
[data-news] .n-heading { gap: 32px; padding-bottom: 26px; }
[data-news] .n-heading h1 { font-size: clamp(46px, 5vw, 64px); }
[data-news] .n-heading > p { font-size: 16px; line-height: 1.7; color: #c7cbd4; }
[data-news] .n-controls { gap: 20px; margin-bottom: 26px; padding: 18px 0; }
[data-news] .n-topics { gap: 8px; }
[data-news] .n-topics button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  border-color: #414650;
  color: #e3e5eb;
}
[data-news] .n-topics button:not([data-news-topic="all"])::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--topic-ink);
  flex: none;
}
[data-news] .n-topics button[aria-pressed="true"] { background: #f4f3ee; color: #15171b; border-color: #f4f3ee; }
[data-news] .n-topics button:not([data-news-topic="all"])[aria-pressed="true"] {
  background: var(--topic-surface);
  color: var(--topic-ink);
  border-color: var(--topic-ink);
}
[data-news] .n-search { width: 268px; border-color: #414650; border-radius: 6px; }
[data-news] .n-search input { font-size: 14px; caret-color: #ffb38a; }
[data-news] .n-search input::placeholder { color: #b7bdc9; }
[data-news] > .n-layout { display: block; }
[data-news] .n-feed-heading { margin-bottom: 16px; }
[data-news] .n-feed-heading h2 { font-size: 20px; }
[data-news] .n-feed-heading > span { font-size: 13px; }
[data-news] [data-news-list] { display: grid; gap: 32px; }
[data-news] .n-story,
[data-news] .n-feature {
  margin: 0;
  overflow: hidden;
  border: 1px solid #3b404a;
  border-radius: 12px;
  background: #191c22;
}
[data-news] .n-story > a,
[data-news] .n-story.n-has-cover > a {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: inherit;
  background: transparent;
}
[data-news] .n-story .n-story-visual {
  display: block;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 224px;
  position: relative;
  overflow: hidden;
  background: #11151c;
}
[data-news] .n-story .n-cover-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  float: none;
}
[data-news] .n-story .n-art {
  width: 100%;
  height: 100%;
  min-height: 224px;
  border: 0;
  border-radius: 0;
}
[data-news] .n-story .n-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 16px 32px;
}
[data-news] .n-story .n-story-meta {
  display: flex;
  gap: 10px 16px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--news-muted);
}
[data-news] .n-story .n-topic {
  color: var(--topic-ink);
  background: var(--topic-surface);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}
[data-news] .n-story h2 {
  max-width: 32ch;
  margin: 0 0 10px;
  font-size: clamp(24px, 2.1vw, 28px);
  line-height: 1.35;
  letter-spacing: -.025em;
  color: #f8f9fc;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
[data-news] .n-feature h2 { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.3; }
[data-news] .n-story p { max-width: 65ch; font-size: 16px; line-height: 1.65; color: #c6ccd7; margin: 0; }
[data-news] .n-story a:hover h2 { color: var(--topic-ink); }
[data-news] .n-story > a:focus-visible { outline: 2px solid var(--topic-ink); outline-offset: -2px; }
[data-news] .n-story .n-story-link { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 13px; }
[data-news] .n-story .n-story-link svg { stroke: var(--topic-ink); }
[data-news] .n-sidebar { position: static; padding-top: 0; margin-top: 44px; }
[data-news] .n-guide-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; background: transparent; padding: 24px 0 0; border: 0; border-top: 1px solid var(--news-line); }
[data-news] .n-guide-panel > h2,
[data-news] .n-guide-panel > p { grid-column: 1 / -1; }
[data-news] .n-guide-panel > h2 { font-size: 22px; }
[data-news] .n-guide-panel > p { font-size: 14px; margin-bottom: 18px; }
[data-news] .n-guide-panel > a { font-size: 15px; line-height: 1.6; padding: 18px 0; }
[data-news] .n-guide-panel > a.n-blog-link { grid-column: 1 / -1; justify-content: flex-start; font-size: 14px; padding-top: 18px; }
[data-news] .n-topics { scrollbar-color: #69717f #15171b; }
@media (max-width: 1200px) {
  [data-news] .n-controls { align-items: stretch; flex-direction: column; gap: 14px; }
  [data-news] .n-search { width: 100%; }
}
@media (max-width: 900px) {
  [data-news] .n-story > a,
  [data-news] .n-story.n-has-cover > a { grid-template-columns: 40% minmax(0, 1fr); }
  [data-news] .n-story .n-story-copy { padding: 16px 24px; }
  [data-news] .n-story .n-story-visual,
  [data-news] .n-story .n-art { min-height: 212px; }
  [data-news] .n-story h2 { font-size: 24px; }
  [data-news] .n-feature h2 { font-size: 28px; }
  [data-news] .n-story p { font-size: 15px; }
  [data-news] .n-story .n-story-meta { font-size: 12px; }
  [data-news] .n-guide-panel { gap: 0 24px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  [data-news] .n-story .n-cover-image { object-fit: contain; }
}
@media (max-width: 760px) {
  [data-news] .n-story > a,
  [data-news] .n-story.n-has-cover > a { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; }
  [data-news] .n-story .n-story-visual { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 21 / 10; }
  [data-news] .n-story .n-story-copy { display: flex; grid-column: 1; grid-row: 2; padding: 16px 24px; }
  [data-news] .n-story h2 { max-width: none; }
}
@media (max-width: 650px) {
  [data-news] .n-topics { flex-wrap: nowrap; gap: 8px; padding-bottom: 6px; }
}
@media (max-width: 600px) {
  [data-news] { padding-top: 26px; }
  [data-news] .n-heading { gap: 12px; padding-bottom: 22px; }
  [data-news] .n-heading > p { font-size: 15px; line-height: 1.65; }
  [data-news] .n-controls { padding: 16px 0; margin-bottom: 24px; }
  [data-news] .n-feed-heading h2 { font-size: 18px; }
  [data-news] .n-feed-heading > span { font-size: 11px; }
  [data-news] [data-news-list] { gap: 28px; }
  [data-news] .n-story .n-story-copy { padding: 12px 20px; }
  [data-news] .n-story .n-story-meta { margin-bottom: 8px; gap: 8px 12px; font-size: 11px; }
  [data-news] .n-story .n-topic { font-size: 11px; padding: 4px 8px; }
  [data-news] .n-story h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
  [data-news] .n-feature h2 { font-size: 24px; line-height: 1.25; }
  [data-news] .n-story .n-cover-image { display: block; float: none; width: 100%; margin: 0; }
  [data-news] .n-story p { display: block; margin: 0; font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }
  [data-news] .n-story .n-story-link { margin-top: 12px; }
  [data-news] .n-guide-panel { display: block; }
  [data-news] .n-sidebar { margin-top: 32px; }
}
