/* Content-section block — BEM: content-block__element--modifier */

.content-block {
  padding-block: var(--space-section);
}

.content-block__inner {
  display: flex;
  flex-direction: column;
}

.content-block__text h3 {
  margin-top: var(--space-paragraph);
}

.content-block__text h3:first-child {
  margin-top: 0;
}

.content-block__text ul,
.content-block__text ol,
.content-block__inner > ul,
.content-block__inner > ol {
  margin-block-end: var(--space-paragraph);
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-block__text ul,
.content-block__inner > ul {
  list-style: disc;
}

.content-block__text ol,
.content-block__inner > ol {
  list-style: decimal;
}

/* Contextual in-text links — both inside the standard .content-block__text
   wrapper and inside the raw intro paragraphs used directly under
   .content-block__inner (e.g. the "einleitung" sections) — get the same
   distinct, on-brand gold treatment so they stand out from body copy. */
.content-block__text a,
.content-block__inner > p a {
  color: var(--color-heading-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-block__text a:hover,
.content-block__inner > p a:hover {
  text-decoration-thickness: 2px;
}

.content-block__cta {
  margin-top: var(--space-h2-text);
  align-self: flex-start;
}

.content-block--alt {
  background-color: var(--color-bg-dark);
}

.content-block__inner--spaced {
  padding-top: var(--space-section);
}

/* Bonus card grid (used on /bonus/) */
.bonus-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bonus-card__image {
  /* contain (not cover) so the character is always shown whole, never
     cropped; the box keeps a fixed ratio so every card in the grid stays
     the same height, and the transparent PNG blends into the card's own
     background color instead of leaving visible letterbox bars. */
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background-color: var(--color-card-bg);
  border-radius: var(--radius-card);
}

.bonus-card h3 {
  margin-block-end: 0;
}

.bonus-card p {
  margin-block-end: 0;
  flex-grow: 1;
}
