.articles-hero,
.authors-hero {
  max-width: 1400px;
  margin: 0 auto 2rem;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(250, 70, 22, 0.42), transparent 34%),
    linear-gradient(135deg, var(--wruf-blue), #173d66);
  border-left: 7px solid var(--wruf-orange);
  border-radius: 22px;
  box-shadow: var(--wruf-shadow);
}

.articles-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 2rem;
  padding: 2rem;
}

.articles-hero span,
.authors-hero > span,
.article-section-heading span {
  color: var(--wruf-light-orange);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.articles-hero h2,
.authors-hero h2 {
  margin: 0.45rem 0 0.65rem;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.articles-hero p,
.authors-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.articles-hero__aside {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
}

.articles-hero__aside strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #fff;
}

.articles-hero__aside a {
  display: inline-block;
  margin-top: 0.8rem;
  color: #fff;
  font-weight: 800;
}

.article-section-heading,
#listing-listing,
.authors-hero,
.author-directory,
.author-directory__back {
  width: calc(100% - 2rem);
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
}

.article-section-heading {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-section-heading span {
  color: var(--wruf-orange);
}

.article-section-heading h2 {
  margin: 0.3rem 0 0;
  color: var(--wruf-blue);
}

.article-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr);
  gap: 1.2rem;
  width: calc(100% - 2rem);
  max-width: 1400px;
  margin: 0 auto 1.4rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid rgba(15, 35, 64, .1);
  border-left: 6px solid var(--wruf-orange);
  border-radius: 16px;
  box-shadow: var(--wruf-shadow);
}

.article-featured span,
.article-receipt span,
.article-related > span { color: var(--wruf-orange); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.article-featured h2 { margin: .35rem 0 .55rem; color: var(--wruf-blue); }
.article-featured p { color: var(--wruf-muted); }
.article-featured a { color: var(--wruf-blue); font-weight: 900; }
.article-featured aside { display: grid; align-content: center; gap: .35rem; padding: 1rem; color: #fff; background: var(--wruf-blue); border-radius: 12px; }

.article-receipt {
  display: grid;
  gap: .25rem;
  margin: 0 0 1.4rem;
  padding: 1rem 1.2rem;
  background: #f4f7fb;
  border-left: 5px solid var(--wruf-orange);
  border-radius: 10px;
}

.article-receipt strong { color: var(--wruf-blue); font-size: 1.1rem; }
.article-related { margin-top: 2rem; padding: 1.25rem; background: #f4f7fb; border-radius: 14px; }
.article-related h2 { margin: .3rem 0 .9rem; color: var(--wruf-blue); }
.article-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.article-related a { display: grid; gap: .25rem; min-width: 0; padding: .9rem; color: inherit; background: #fff; border-top: 4px solid var(--wruf-orange); border-radius: 10px; text-decoration: none; }
.article-related strong { color: var(--wruf-blue); overflow-wrap: anywhere; }
.article-related small { color: var(--wruf-muted); }

.quarto-grid-item.card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 35, 64, 0.1);
  border-top: 5px solid var(--wruf-orange);
  border-radius: 16px;
  box-shadow: var(--wruf-shadow);
}

.quarto-grid-item .card-title {
  color: var(--wruf-blue);
  font-weight: 900;
}

.article-empty-state {
  max-width: 920px;
  margin: 2rem auto 3rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid rgba(15, 35, 64, 0.12);
  border-top: 6px solid var(--wruf-orange);
  border-radius: 18px;
  box-shadow: var(--wruf-shadow);
}

.article-empty-state > span {
  color: var(--wruf-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-empty-state h2 {
  margin: 0.35rem 0 0.65rem;
  color: var(--wruf-blue);
}

.article-empty-state a {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--wruf-blue);
  font-weight: 900;
}

.authors-hero {
  padding: 2rem;
}

.author-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.author-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid rgba(15, 35, 64, 0.1);
  border-top: 5px solid var(--wruf-blue);
  border-radius: 16px;
  box-shadow: var(--wruf-shadow);
}

.author-card__initials {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  background: var(--wruf-blue);
  border: 4px solid var(--wruf-orange);
  border-radius: 50%;
  font-weight: 900;
}

.author-card h2 {
  margin: 0.2rem 0;
  color: var(--wruf-blue);
}

.author-card__role {
  color: var(--wruf-orange);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.author-card__affiliation {
  margin: 0 0 0.65rem;
  color: var(--wruf-muted);
  font-size: 0.9rem;
}

.author-card__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.author-card__topics span {
  padding: 0.28rem 0.5rem;
  color: var(--wruf-blue);
  background: var(--wruf-light-blue);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.author-directory__back {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 800px) {
  .articles-hero,
  .author-directory,
  .article-featured,
  .article-related > div {
    grid-template-columns: 1fr;
  }
}
