:root {
  --bg: #0f0f0d;
  --bg-2: #1a1a16;
  --bg-3: #232320;
  --amber: #f5a623;
  --amber-dim: #c47d0e;
  --amber-pale: #2a2010;
  --text: #f0ede6;
  --text-2: #9a9690;
  --text-3: #5c5a55;
  --border: rgba(245,166,35,0.18);
  --border-dim: rgba(240,237,230,0.08);
  --green: #4ecb8c;
  --display: 'Oswald', 'BIZ UDGothic', sans-serif;
  --body: 'BIZ UDGothic', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', sans-serif;
}

* {
  box-sizing: border-box;
}

body.news-page {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.news-page a,
.news-list a,
.news-home-link {
  color: inherit;
  text-decoration: none;
}

.news-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 0.5px solid var(--border-dim);
}

.news-page-logo {
  display: block;
  color: var(--amber);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.25;
}

.news-page-sub {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.45;
  margin-top: 3px;
}

.news-page-main {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.news-page-hero {
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--border-dim);
  margin-bottom: 28px;
}

.news-eyebrow,
.news-section-label {
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.news-page-title,
.news-article-title {
  color: var(--text);
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 12px 0 14px;
}

.news-page-desc,
.news-article-lead {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  max-width: 680px;
}

.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.news-filter {
  appearance: none;
  border: 0.5px solid var(--border-dim);
  border-radius: 20px;
  background: var(--bg-2);
  color: var(--text-2);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  min-height: 36px;
  padding: 10px 13px;
}

.news-filter[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg);
}

.news-filter:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-list.is-compact {
  margin: 22px 0 20px;
}

.news-card {
  background: var(--bg-2);
  border: 0.5px solid var(--border-dim);
  border-radius: 8px;
  transition: border-color .15s, background .15s, transform .15s;
}

.news-card:hover {
  background: var(--bg-3);
  border-color: var(--border);
  transform: translateY(-1px);
}

.news-card a {
  display: block;
  padding: 16px;
}

.news-card-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.news-card time,
.news-article-date {
  color: var(--amber-dim);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.news-category {
  background: rgba(245,166,35,0.1);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  color: var(--amber);
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  padding: 5px 8px;
}

.news-card h3 {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.news-card p {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.75;
  margin: 8px 0 0;
}

.news-empty {
  background: var(--bg-2);
  border: 0.5px solid var(--border-dim);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
  margin: 0;
  padding: 18px;
}

.news-home-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.news-home-heading h2 {
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 6px 0 0;
}

.news-home-more {
  color: var(--amber);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
}

.news-article-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.news-article-body {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.95;
  margin-top: 28px;
}

.news-article-body h2 {
  color: var(--text);
  font-size: 22px;
  line-height: 1.45;
  margin: 34px 0 10px;
}

.news-article-body p {
  margin: 0 0 18px;
}

.news-article-body ul {
  margin: 0 0 20px 1.3em;
  padding: 0;
}

.news-article-body li {
  margin-top: 6px;
}

.news-back-link,
.news-page-button {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  color: var(--amber);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-top: 26px;
  padding: 13px 16px;
}

.news-page-footer {
  border-top: 0.5px solid var(--border-dim);
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.8;
  padding: 32px 24px 40px;
  text-align: center;
}

@media (max-width: 520px) {
  .news-page-nav {
    align-items: flex-start;
  }

  .news-page-sub {
    font-size: 12px;
    letter-spacing: 0;
  }

  .news-home-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-filter {
    width: 100%;
  }
}
