/* 5BOARD Blog Index. Klassen und Werte uebernommen aus dem bestehenden Seitendesign. */

.sb-blog { background-color: var(--bg-primary-light); }
.sb-blog * { box-sizing: border-box; }

.sb-band { padding-block: 96px; padding-inline: 72px; display: flex; flex-direction: column; }
.sb-band-light { background-color: var(--bg-primary-light); }
.sb-band-cardlight { background-color: var(--bg-card-light); }
.sb-rule-bottom { border-block-end: 1px solid var(--border-subtle-light); }

.sb-col { width: auto; min-width: 0; padding: 0; display: flex; flex-direction: column; }
.sb-row { width: auto; min-width: 0; padding: 0; display: flex; flex-direction: row; }
.sb-grow { min-width: 0; flex: 1 1 0px; }
.sb-measure { max-width: 68ch; }
.sb-between { justify-content: space-between; }
.sb-items-start { align-items: flex-start; }
.sb-gap-8 { gap: 8px; }
.sb-gap-16 { gap: 16px; }
.sb-gap-24 { gap: 24px; }
.sb-gap-32 { gap: 32px; }

.sb-display-l { font-family: var(--font-sans); font-weight: 700; font-size: 60px; color: var(--text-primary-light); letter-spacing: -0.025em; line-height: 1.02; margin: 0; }
.sb-h1-l { font-family: var(--font-sans); font-weight: 700; font-size: 42px; color: var(--text-primary-light); letter-spacing: -0.025em; line-height: 1.18; margin: 0; }
.sb-h2-l { font-family: var(--font-sans); font-weight: 700; font-size: 30px; color: var(--text-primary-light); letter-spacing: -0.025em; line-height: 1.18; margin: 0; }
.sb-h3-l { font-family: var(--font-sans); font-weight: 600; font-size: 21px; color: var(--text-primary-light); line-height: 1.18; margin: 0; }
.sb-body-muted-l { font-family: var(--font-sans); font-size: 18px; color: var(--text-muted-light); line-height: 1.7; margin: 0; }
.sb-body-sm-l { font-family: var(--font-sans); font-size: 15px; color: var(--text-muted-light); line-height: 1.7; margin: 0; }
.sb-ui-sm-l { font-family: var(--font-sans); font-size: 15px; color: var(--text-muted-light); line-height: 1.45; margin: 0; }
.sb-micro-l { font-family: var(--font-sans); font-size: 13px; color: var(--text-muted-light); letter-spacing: 0.14em; line-height: 1.45; text-transform: uppercase; margin: 0; }
.sb-micro-plain-l { font-family: var(--font-sans); font-size: 13px; color: var(--text-muted-light); line-height: 1.45; margin: 0; }
.sb-eyebrow { font-family: var(--font-sans); font-weight: 600; font-size: 13px; color: var(--accent); letter-spacing: 0.14em; line-height: 1.45; text-transform: uppercase; margin: 0; }
.sb-eyebrow-l { font-family: var(--font-sans); font-weight: 600; font-size: 13px; color: var(--text-muted-light); letter-spacing: 0.14em; line-height: 1.45; text-transform: uppercase; margin: 0; }
.sb-state-online { font-family: var(--font-sans); font-size: 13px; color: var(--accent); letter-spacing: 0.14em; line-height: 1.45; text-transform: uppercase; margin: 0; }
.sb-ghost-num { font-family: var(--font-sans); font-weight: 700; font-size: 30px; color: var(--border-subtle-light); line-height: 1.02; margin: 0; }
.sb-index { font-family: var(--font-sans); font-weight: 700; font-size: 88px; color: var(--accent); letter-spacing: -0.025em; line-height: 1.02; margin: 0; flex: 0 0 96px; }

.sb-chip-row { column-gap: 12px; row-gap: 8px; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; }
.sb-chip { width: auto; min-width: 0; text-decoration: none; padding: 8px 16px; border-radius: 4px; border: 1px solid var(--border-subtle-light); background-color: var(--bg-card-light); display: inline-flex; gap: 8px; align-items: center; }
.sb-chip:hover, .sb-chip:focus-visible { text-decoration: none; border-color: var(--accent); }
.sb-chip-label { font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--text-primary-light); line-height: 1.45; margin: 0; }

.sb-group-head { padding: 0; display: flex; flex-direction: row; gap: 32px; align-items: flex-start; }

.sb-feature { text-decoration: none; padding: 48px; border-radius: 16px; border: 1.5px solid var(--accent); background-color: var(--bg-card-light); display: flex; flex-direction: row; gap: 48px; align-items: flex-start; }
.sb-feature:hover, .sb-feature:focus-visible { text-decoration: none; }

.sb-grid-cards { padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.sb-card-l { border-radius: 12px; border: 1px solid var(--border-subtle-light); background-color: var(--bg-card-light); }
.sb-card-post { width: 100%; height: 100%; min-width: 0; text-decoration: none; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.sb-card-post:hover, .sb-card-post:focus-visible { text-decoration: none; border-color: var(--accent); }
.sb-card-head { width: 100%; display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sb-card-foot { width: 100%; padding-block-start: 24px; margin-block-start: auto; border-block-start: 1px solid var(--border-subtle-light); display: flex; flex-direction: row; gap: 12px; justify-content: space-between; align-items: center; }
.sb-meta-row { width: 100%; column-gap: 24px; row-gap: 8px; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .sb-band { padding-block: 72px; padding-inline: 40px; }
  .sb-display-l { font-size: 46px; }
  .sb-h1-l { font-size: 32px; }
  .sb-index { font-size: 64px; flex-basis: 72px; }
  .sb-feature { padding: 32px; gap: 32px; }
}

@media (max-width: 767px) {
  .sb-band { padding-block: 56px; padding-inline: 20px; }
  .sb-display-l { font-size: 34px; }
  .sb-h1-l { font-size: 26px; }
  .sb-h2-l { font-size: 24px; }
  .sb-body-muted-l { font-size: 16px; }
  .sb-index { font-size: 44px; flex-basis: auto; }
  .sb-group-head { flex-direction: column; gap: 12px; }
  .sb-feature { flex-direction: column; padding: 24px; gap: 20px; }
  .sb-grid-cards { grid-template-columns: 1fr; gap: 20px; }
  .sb-card-post { padding: 24px; }
}

/* Astra-Container neutralisieren, damit die Baender ueber die volle Breite laufen */
.site-content .ast-container { max-width: 100%; width: 100%; margin: 0; padding: 0; }
.site-content > .ast-container > .sb-blog { width: 100%; max-width: none; margin: 0; padding: 0; }
.sb-blog { display: block; overflow-x: clip; }
.sb-band { width: 100%; max-width: 100%; margin-inline: 0; }
body.page-template-template-blog #content { overflow-x: clip; }

/* Abstaende erzwingen, falls eine andere Regel gewinnt */
.sb-blog .sb-band { padding-block: 96px !important; padding-inline: clamp(20px, 5vw, 96px) !important; width: 100% !important; max-width: 100% !important; margin-inline: 0 !important; }
@media (max-width: 1024px) { .sb-blog .sb-band { padding-block: 72px !important; } }
@media (max-width: 767px) { .sb-blog .sb-band { padding-block: 56px !important; } }

/* Kategorie-Marke: Icon oder Rautezeichen statt Nummerierung */
.sb-cluster-mark { flex: 0 0 72px; display: inline-flex; align-items: center; justify-content: flex-start; }
.sb-cluster-icon { width: 56px; height: 56px; object-fit: contain; display: block; }
.sb-cluster-hash { font-family: var(--font-sans); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent); }
.sb-eyebrow-xl { font-size: 16px; letter-spacing: 0.12em; }
@media (max-width: 767px) {
  .sb-cluster-mark { flex-basis: auto; }
  .sb-cluster-icon { width: 40px; height: 40px; }
  .sb-cluster-hash { font-size: 32px; }
  .sb-eyebrow-xl { font-size: 14px; }
}

/* Mehrere Kategorie-Icons nebeneinander */
.sb-cluster-mark { display: inline-flex; align-items: center; gap: 10px; }
.sb-icon-row { display: inline-flex; align-items: center; gap: 8px; }
.sb-icon-row .sb-cluster-icon { width: 26px; height: 26px; }
.sb-card-top { width: 100%; display: flex; flex-direction: row; align-items: center; gap: 12px; }
@media (max-width: 767px) { .sb-icon-row .sb-cluster-icon { width: 22px; height: 22px; } }
