/* My RPG Source - News and guide content */

.content-shell {
  width: min(1080px, calc(100% - 32px));
}

.news-hero-actions,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.content-button {
  min-height: 46px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #17212c;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, var(--accent), #d4a90d);
  border: 1px solid rgba(241, 196, 15, 0.8);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(241, 196, 15, 0.16);
}

.content-button:hover {
  color: #17212c;
  transform: translateY(-1px);
}

.content-button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  box-shadow: none;
}

.content-button-secondary:hover {
  color: #ffffff;
}

.editorial-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.editorial-card,
.article-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.editorial-card h3,
.article-card h2,
.article-card h3 {
  margin-top: 0;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card p {
  color: var(--muted);
}

.article-card a {
  margin-top: auto;
  font-weight: 700;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-kicker {
  color: var(--accent);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-body {
  font-size: 1.03rem;
}

.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > section {
  max-width: 780px;
}

.article-body section + section {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-body h2 {
  margin-bottom: 14px;
}

.article-body h3 {
  margin-top: 24px;
  color: var(--text);
}

.article-body ol,
.article-body ul {
  padding-left: 1.4rem;
}

.article-callout {
  margin: 26px 0;
  padding: 18px 20px;
  background: rgba(241, 196, 15, 0.09);
  border: 1px solid rgba(241, 196, 15, 0.28);
  border-radius: 14px;
}

.article-callout strong {
  color: var(--accent);
}

.step-list {
  counter-reset: guide-step;
  list-style: none;
  padding: 0 !important;
}

.step-list > li {
  counter-increment: guide-step;
  position: relative;
  margin-top: 22px;
  padding: 18px 18px 18px 64px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.step-list > li::before {
  content: counter(guide-step);
  width: 34px;
  height: 34px;
  position: absolute;
  left: 17px;
  top: 18px;
  display: grid;
  place-items: center;
  color: #17212c;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  background: var(--accent);
  border-radius: 50%;
}

.guide-checklist {
  columns: 2 280px;
  column-gap: 36px;
}

.guide-checklist li {
  break-inside: avoid;
}

.editorial-standard {
  border-left: 4px solid var(--accent-2);
}

@media (max-width: 820px) {
  .editorial-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 560px) {
  .article-body {
    font-size: 1rem;
  }

  .step-list > li {
    padding: 58px 15px 16px;
  }

  .step-list > li::before {
    left: 15px;
    top: 14px;
  }

  .news-hero-actions,
  .article-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .content-button {
    width: 100%;
  }
}

@media print {
  .news-hero-actions,
  .article-actions {
    display: none;
  }

  .editorial-card,
  .article-card,
  .step-list > li,
  .article-callout {
    background: transparent;
    border-color: #cccccc;
  }
}
