/* ============================================================
   Content Hub — /guides & /news redesign (full-width, card-based)
   Namespace: chub-*  (guides-public.css legacy classes untouched)
   ============================================================ */

/* .main-content already constrains to var(--max-width) and pads 1.5rem —
   .chub just fills it (that's the whole point vs. the old 960px hub). */
.chub { width: 100%; }

/* Breadcrumbs directly above the hub */
/* -1.5rem oben wie .db-breadcrumbs: main.main-content bringt 2rem Innenabstand mit,
   daraus ergeben sich die 8px Abstand zur Navigation, die auf allen Seiten gelten. */
/* Werte identisch zu .db-breadcrumbs (inkl. der 4px Innenabstand oben) —
   ohne die sass der Text hier 4px hoeher als auf allen anderen Seiten. */
.chub-breadcrumbs { margin: -1.5rem 0 0.5rem; padding: 0.25rem 0 0; font-size: 0.85rem; }
.chub-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0; margin: 0; }
.chub-breadcrumbs li { display: flex; align-items: center; gap: 0.25rem; color: var(--text-muted, #7a7870); }
.chub-breadcrumbs li:not(:last-child)::after { content: '\203A'; margin-left: 0.25rem; color: var(--text-muted, #7a7870); }
.chub-breadcrumbs a { color: var(--text-dimmed, #7a7870); text-decoration: none; }
.chub-breadcrumbs a:hover { color: var(--gold, #c4a24e); text-decoration: underline; }
.chub-breadcrumbs li:last-child a { color: var(--text-primary, #e0ddd5); pointer-events: none; }

/* ── Page header ── */
.chub-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: 0.5rem 0 1.35rem;
}
.chub-head__title {
    font-size: 2rem; font-weight: 700;
    color: var(--gold, #c4a24e); letter-spacing: 0.03em;
    margin: 0 0 0.3rem;
}
.chub-head__sub {
    font-size: 0.98rem; color: var(--text-dimmed, #7a7870);
    margin: 0; line-height: 1.5; max-width: 720px;
}

/* Filtered-out items: [hidden] must beat the cards' own display:flex,
   which otherwise overrides the UA's [hidden] { display:none }. */
.chub [hidden] { display: none !important; }

/* ── Category filter chips (news header) ── */
.chub-filter { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: flex-end; }
.chub-filter__btn {
    padding: 0.4rem 0.85rem; border-radius: 8px; cursor: pointer;
    border: 1px solid var(--border-color, #2a2a35);
    background: var(--bg-panel, #13151a); color: var(--text-primary, #e0ddd5);
    font-size: 0.84rem; font-weight: 600; font-family: var(--font-body);
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.chub-filter__btn:hover {
    border-color: var(--gold-dark, #a37e2c);
    background: rgba(196,162,78,0.06);
    color: var(--gold, #c4a24e);
}
.chub-filter__btn--active {
    background: var(--gold, #c4a24e); border-color: var(--gold, #c4a24e);
    color: #0a0a0f;
}
.chub-filter__btn--active:hover { background: var(--gold, #c4a24e); color: #0a0a0f; }

/* ── Section header (homepage pattern: title + inline sub + action right) ── */
.chub-section { margin-bottom: 2.75rem; }
.chub-section__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color, #2a2a35);
}
.chub-section__titlerow { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; min-width: 0; }
.chub-section__title {
    font-size: 1.35rem; font-weight: 700; margin: 0;
    color: var(--text-primary, #e0ddd5); letter-spacing: 0.02em;
}
.chub-section__title .chub-star { color: var(--gold, #c4a24e); margin-right: 0.2rem; }
.chub-section__sub { font-size: 0.85rem; color: var(--text-dimmed, #7a7870); margin: 0; }
.chub-section__action { flex-shrink: 0; white-space: nowrap; }

/* LoH variant — red accent */
.chub-section--loh .chub-section__head { border-bottom-color: rgba(212, 11, 6, 0.45); }
.chub-section--loh .chub-section__title { color: #e8b4b0; }
.chub-loh-badge {
    display: inline-block; padding: 0.14rem 0.55rem; border-radius: 4px;
    background: rgba(212, 11, 6, 0.18); border: 1px solid rgba(212, 11, 6, 0.5);
    color: #ff6b6b; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    vertical-align: 0.15em;
}

/* ── Console panel (guides landing): categories + filters as ONE framed unit,
   styled like an in-game UI panel — subtle gold frame, full-bleed divider. ── */
.chub-console {
    background: linear-gradient(180deg, #16181f 0%, #101218 100%);
    border: 1px solid rgba(196, 162, 78, 0.22);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 6px 20px rgba(0, 0, 0, 0.3);
    padding: 0.85rem 1rem;
    margin-bottom: 2.25rem;
}
.chub-console__cats { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chub-console__cat {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.85rem; border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color, #2a2a35);
    color: var(--text-primary, #e0ddd5);
    font-size: 0.92rem; font-weight: 600; text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.chub-console__cat:hover {
    border-color: var(--gold-dark, #a37e2c);
    background: rgba(196, 162, 78, 0.07);
    color: var(--gold, #c4a24e);
}
.chub-console__cat-icon {
    width: 18px; height: 18px; flex-shrink: 0;
    color: var(--gold, #c4a24e); opacity: 0.9;
}
.chub-console__cat-icon svg { width: 100%; height: 100%; display: block; }
.chub-console__cat-name { white-space: nowrap; }
.chub-console__cat-count {
    font-size: 0.7rem; font-weight: 700;
    color: var(--text-dimmed, #7a7870);
}
.chub-cat__new {
    font-size: 0.58rem; font-weight: 700; color: #f87171;
    text-transform: uppercase; letter-spacing: 0.04em;
}

.chub-console__divider {
    height: 1px; margin: 0.85rem -1rem;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 162, 78, 0.3) 18%, rgba(196, 162, 78, 0.3) 82%, transparent 100%);
}

.chub-console__filters { display: flex; flex-direction: column; gap: 0.45rem; }
.chub-console__filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.chub-console__filter-label {
    flex: 0 0 auto; min-width: 8.5rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--text-dimmed, #7a7870);
}

/* ── Card grid ── */
.chub-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}
.chub-card {
    display: flex; flex-direction: column;
    background: rgba(10, 10, 15, 0.55);
    border: 1px solid var(--border-panel, #252830);
    border-radius: 10px; overflow: hidden;
    text-decoration: none; color: inherit;
    transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.chub-card:hover {
    border-color: var(--gold-dark, #a37e2c);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.chub-section--loh .chub-card:hover { border-color: rgba(212, 11, 6, 0.6); }

.chub-card__thumb {
    position: relative; aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #16181f 0%, #0a0a0f 100%);
    overflow: hidden;
}
.chub-card__thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.25s;
}
.chub-card:hover .chub-card__thumb img { transform: scale(1.04); }
.chub-card__thumb-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.8rem; color: rgba(196, 162, 78, 0.45);
}
.chub-card__badge {
    position: absolute; top: 0.5rem; left: 0.5rem; z-index: 1;
}

.chub-card__body {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 0.7rem 0.85rem 0.8rem; flex: 1;
}
.chub-card__title {
    font-size: 0.94rem; font-weight: 600; line-height: 1.35;
    color: var(--text-primary, #e0ddd5); margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.chub-card:hover .chub-card__title { color: var(--gold, #c4a24e); }
.chub-card__sub {
    font-size: 0.79rem; color: var(--text-dimmed, #7a7870); line-height: 1.4; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.chub-card__meta {
    display: flex; align-items: center; gap: 0.5rem;
    margin-top: auto; padding-top: 0.45rem;
    font-size: 0.74rem; color: var(--text-dimmed, #7a7870);
    white-space: nowrap; overflow: hidden;
}
.chub-card__meta span { overflow: hidden; text-overflow: ellipsis; }
.chub-card__meta .chub-dot { flex-shrink: 0; opacity: 0.5; }

/* ── Difficulty badge (colors match legacy guides-hub__diff) ── */
.chub-diff {
    font-size: 0.7rem; font-weight: 600;
    padding: 0.16rem 0.5rem; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.03em;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(2px);
}
.chub-diff--beginner { color: #4ade80; border: 1px solid rgba(34,197,94,0.4); }
.chub-diff--intermediate { color: #fbbf24; border: 1px solid rgba(245,158,11,0.4); }
.chub-diff--advanced { color: #f87171; border: 1px solid rgba(239,68,68,0.4); }
/* Inline (non-overlay) variant used in meta rows */
.chub-diff--flat { background: none; backdrop-filter: none; padding: 0.1rem 0.4rem; }

/* ── Compact rows with thumbnail ── */
.chub-rows {
    display: flex; flex-direction: column; gap: 1px;
    background: var(--border-color, #2a2a35);
    border: 1px solid var(--border-panel, #252830);
    border-radius: 10px; overflow: hidden;
}
.chub-row {
    display: flex; align-items: center; gap: 0.9rem;
    padding: 0.6rem 0.9rem;
    background: rgba(10, 10, 15, 0.55);
    text-decoration: none; color: inherit;
    transition: background 0.12s;
}
.chub-row:hover { background: rgba(196,162,78,0.05); }
.chub-row__thumb {
    flex: 0 0 96px; width: 96px; aspect-ratio: 16 / 9;
    border-radius: 6px; overflow: hidden;
    background: linear-gradient(135deg, #16181f 0%, #0a0a0f 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.chub-row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chub-row__thumb-fallback { font-weight: 700; font-size: 1rem; color: rgba(196, 162, 78, 0.45); }
.chub-row__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.chub-row__title {
    font-size: 0.94rem; font-weight: 600; color: var(--text-primary, #e0ddd5);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chub-row:hover .chub-row__title { color: var(--gold, #c4a24e); }
.chub-row__sub {
    font-size: 0.8rem; color: var(--text-dimmed, #7a7870);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chub-row__meta {
    flex-shrink: 0; display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.78rem; color: var(--text-dimmed, #7a7870);
}

/* ── News page: full-width magazine ── */

/* Hero story */
.chub-hero-card {
    display: flex; flex-direction: column;
    background: rgba(10, 10, 15, 0.55);
    border: 1px solid var(--border-panel, #252830);
    border-radius: 12px; overflow: hidden;
    text-decoration: none; color: inherit;
    margin-bottom: 1rem;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.chub-hero-card:hover {
    border-color: var(--gold-dark, #a37e2c);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.chub-hero-card__thumb {
    position: relative; aspect-ratio: 21 / 9;
    background: linear-gradient(135deg, #16181f 0%, #0a0a0f 100%);
    overflow: hidden;
}
.chub-hero-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chub-hero-card__body { padding: 1rem 1.2rem 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }

/* Full-width top story: image left, text right (stacks below 860px) */
@media (min-width: 861px) {
    .chub-hero-card { flex-direction: row; align-items: stretch; }
    .chub-hero-card__thumb { flex: 0 0 55%; aspect-ratio: 16 / 9; }
    .chub-hero-card__body { flex: 1; justify-content: center; padding: 1.4rem 1.6rem; gap: 0.55rem; }
    .chub-hero-card__title { font-size: 1.55rem; }
    .chub-hero-card__teaser { -webkit-line-clamp: 3; }
}
.chub-hero-card__kicker {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold, #c4a24e);
}
.chub-hero-card__title {
    font-size: 1.35rem; font-weight: 700; line-height: 1.3;
    color: var(--text-primary, #e0ddd5); margin: 0;
}
.chub-hero-card:hover .chub-hero-card__title { color: var(--gold, #c4a24e); }
.chub-hero-card__teaser {
    font-size: 0.9rem; color: var(--text-dimmed, #9a9890); line-height: 1.55; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.chub-hero-card__meta {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.78rem; color: var(--text-dimmed, #7a7870); padding-top: 0.2rem;
}

/* News grid below the hero — 3 columns full width; the BluePosts block is a
   fixed grid cell (column 3, row 1) with EXACTLY the size of one news card.
   The inner panel is absolutely positioned so its long list cannot stretch
   the row — the news cards define the height, the list scrolls inside. */
.chub-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }

.chub-bp {
    grid-column: 3; grid-row: 1;
    position: relative; min-height: 300px; min-width: 0;
}
.chub-bp .home-bluepost-col { position: absolute; inset: 0; }
.chub-bp .home-bluepost-col__list { overflow-y: auto; min-height: 0; scrollbar-width: thin; }

/* ── Create CTA ── */
.chub-cta { text-align: center; margin-top: 1.25rem; }

/* ── Empty state ── */
.chub-empty {
    text-align: center; padding: 3rem 1.5rem;
    color: var(--text-dimmed, #7a7870); font-size: 0.95rem;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
    .chub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .chub-news-grid { grid-template-columns: repeat(2, 1fr); }
    .chub-bp { grid-column: 2; grid-row: 1; }
}
@media (max-width: 720px) {
    .chub-grid { grid-template-columns: repeat(2, 1fr); }
    .chub-head__title { font-size: 1.6rem; }
    .chub-row__meta .chub-row__author { display: none; }
}
@media (max-width: 520px) {
    .chub-grid { grid-template-columns: 1fr; }
    .chub-console { padding: 0.75rem 0.8rem; }
    .chub-console__divider { margin: 0.75rem -0.8rem; }
    .chub-console__filter-label { min-width: 100%; }
    .chub-news-grid { grid-template-columns: 1fr; }
    /* Single column: BluePosts back into the normal flow (after two cards) */
    .chub-bp { grid-column: auto; grid-row: auto; position: static; min-height: 0; }
    .chub-bp .home-bluepost-col { position: static; }
    .chub-bp .home-bluepost-col__list { max-height: 320px; }
    .chub-row__thumb { flex-basis: 72px; width: 72px; }
    .chub-section__head { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}

/* ============================================================
   Kopf-Band + Filterleiste (Angleichung an Startseite / /builds)
   Loest .chub-head und .chub-console ab.
   ============================================================ */

/* Das Band bringt seinen eigenen Abstand mit; der Breadcrumb sitzt darueber. */
.chub-hero { margin-bottom: 1.25rem; }

/* Auf der Kategorieseite steckt im Motiv-Feld ein Inline-SVG statt eines
   Bildes — deshalb hier zentrieren statt zuschneiden. */
.chub-hero__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: var(--gold, #c4a24e);
}
.chub-hero__icon svg { width: 38px; height: 38px; display: block; }

/* ── Kategorie-Kacheln ──────────────────────────────────────
   Kategorien fuehren woandershin, die Filter schalten diese Seite um —
   deshalb stehen sie nicht mehr im selben Rahmen. */
.chub-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.chub-cat {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    background: rgba(10, 10, 15, 0.55);
    border: 1px solid rgba(196, 162, 78, 0.18);
    border-radius: var(--border-radius-lg, 8px);
    color: var(--text-primary, #e0ddd5);
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.chub-cat:hover {
    border-color: rgba(212, 11, 6, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 11, 6, 0.15);
}
.chub-cat__icon {
    flex: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #2a2a35;
    color: var(--gold, #c4a24e);
}
.chub-cat__icon svg { width: 19px; height: 19px; display: block; }
.chub-cat__text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; flex: 1; }
.chub-cat__name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}
.chub-cat__desc {
    font-size: 0.78rem;
    color: var(--text-muted, #7a7870);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chub-cat__count {
    flex: none;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-secondary, #a09d94);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #2a2a35;
    border-radius: 5px;
    padding: 1px 7px;
}

/* ── Werkzeugleiste: Suche + Filter + Trefferzahl in einer Zeile ── */
.chub-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 0.8rem;
    margin-bottom: 2rem;
    background: rgba(10, 10, 15, 0.55);
    border: 1px solid rgba(196, 162, 78, 0.18);
    border-radius: var(--border-radius-lg, 8px);
}
.chub-toolbar__search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 340px;
    padding: 0.4rem 0.65rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #2a2a35;
    border-radius: 6px;
    color: var(--text-muted, #7a7870);
}
.chub-toolbar__search:focus-within { border-color: rgba(196, 162, 78, 0.45); }
.chub-toolbar__search input {
    flex: 1;
    min-width: 0;
    background: none;
    border: 0;
    outline: none;
    color: var(--text-primary, #e0ddd5);
    font-family: var(--font-body);
    font-size: 0.88rem;
}
.chub-toolbar__search input::-webkit-search-cancel-button { filter: invert(0.6); }

/* Die beiden Filtergruppen sitzen je auf einer eigenen Flaeche — die
   Beschriftungen "Erweiterung"/"Schwierigkeit" sind entfallen, die Gruppen
   trennen sich schon durch die Flaeche. Fuer Screenreader steht der Zweck
   weiterhin im aria-label der Gruppe. */
.chub-chipset {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 3px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #2a2a35;
    border-radius: 6px;
}
.chub-chip {
    padding: 0.32rem 0.7rem;
    border: 0;
    border-radius: 4px;
    background: none;
    color: var(--text-muted, #7a7870);
    font-family: var(--font-body);
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.chub-chip:hover { color: var(--text-primary, #e0ddd5); background: rgba(255, 255, 255, 0.04); }
.chub-chip--active {
    background: rgba(212, 11, 6, 0.18);
    border: 1px solid rgba(212, 11, 6, 0.45);
    padding: calc(0.32rem - 1px) calc(0.7rem - 1px);
    color: var(--red-bright, #d40b06);
}
.chub-toolbar__count {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--text-muted, #7a7870);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .chub-cats { grid-template-columns: 1fr; }
    .chub-toolbar__search { max-width: none; flex-basis: 100%; }
    .chub-toolbar__count { margin-left: 0; }
}

/* ============================================================
   Guides-Seite: Abschnitte, Karten und Zeilen in der Kartenfamilie
   Bewusst auf .chub--guides begrenzt — /news teilt sich die chub-*-Klassen
   und bleibt vorerst wie es ist.
   ============================================================ */

/* Abschnittskopf im Muster der uebrigen Seiten */
.chub--guides .chub-section__head {
    padding-bottom: 14px;
    margin-bottom: 1.1rem;
    border-bottom-color: #2a2a35;
}
.chub--guides .chub-section__title { font-size: 1.5rem; font-weight: 600; }
.chub--guides .chub-section__sub { font-size: 0.92rem; }

/* Karten (Empfohlene Guides) */
.chub--guides .chub-card {
    background: rgba(10, 10, 15, 0.55);
    border-color: rgba(196, 162, 78, 0.18);
    border-radius: var(--border-radius-lg, 8px);
}
.chub--guides .chub-card:hover {
    border-color: rgba(212, 11, 6, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 11, 6, 0.15);
}
.chub--guides .chub-card:hover .chub-card__title { color: var(--red-bright, #d40b06); }
.chub--guides .chub-card__thumb { background: rgba(0, 0, 0, 0.35); }
.chub--guides .chub-card__meta { border-top: 1px solid rgba(196, 162, 78, 0.1); padding-top: 0.55rem; }

/* Zeilenliste (Neueste Guides) — eine Karte, Zeilen durch Haarlinien getrennt */
.chub--guides .chub-rows {
    gap: 0;
    background: rgba(10, 10, 15, 0.55);
    border-color: rgba(196, 162, 78, 0.18);
    border-radius: var(--border-radius-lg, 8px);
}
.chub--guides .chub-row {
    background: none;
    border-top: 1px solid rgba(196, 162, 78, 0.1);
    padding: 0.65rem 0.9rem;
    transition: background 0.12s, box-shadow 0.12s;
}
.chub--guides .chub-row:first-child { border-top: 0; }
.chub--guides .chub-row:hover { background: rgba(212, 11, 6, 0.07); }
.chub--guides .chub-row:hover .chub-row__title { color: var(--red-bright, #d40b06); }
.chub--guides .chub-row__thumb { background: rgba(0, 0, 0, 0.35); border: 1px solid #2a2a35; }

/* Guide-Zeile (partials/guide-row.php): grosses Vorschaubild, Titel-Link ueber
   die ganze Zeile gespannt, rechts Autor (eigener Link) + Datum. */
.chub-row--guide {
    position: relative;
    gap: 1.25rem;
    padding: 0.9rem 1.1rem;
}
.chub--guides .chub-row--guide { padding: 0.9rem 1.1rem; }
.chub-row--guide .chub-row__thumb { flex: 0 0 224px; width: 224px; border-radius: 6px; }
.chub-row--guide .chub-row__thumb img { transition: transform 0.25s; }
.chub-row--guide:hover .chub-row__thumb img { transform: scale(1.04); }
.chub-row--guide .chub-row__thumb-fallback { font-size: 2rem; }
.chub-row--guide .chub-row__info { gap: 0.3rem; }
.chub-row__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.chub-row__cat {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--gold, #c4a24e);
}
.chub-row--guide .chub-diff--flat {
    font-size: 0.68rem; padding: 0.12rem 0.5rem;
    background: rgba(0, 0, 0, 0.25); border-radius: 5px;
}
.chub-row__flag {
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.12rem 0.45rem; border-radius: 5px;
}
.chub-row__flag--new { color: #fff; background: var(--red-bright, #d40b06); }
.chub-row--guide .chub-row__title {
    margin: 0;
    font-size: 1.2rem; line-height: 1.3; font-weight: 700;
    white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.chub-row__link { color: inherit; text-decoration: none; }
.chub-row__link::after { content: ''; position: absolute; inset: 0; }
.chub-row__link:focus-visible { outline: none; }
.chub-row__link:focus-visible::after { outline: 2px solid var(--gold, #c4a24e); outline-offset: -2px; }
.chub-row--guide .chub-row__sub {
    margin: 0;
    font-size: 0.95rem; line-height: 1.45; color: var(--text-secondary, #b5b2a8);
    white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.chub-row__facts { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.15rem; }
.chub-row__fact {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.78rem; color: var(--text-dimmed, #7a7870);
}
.chub-row__fact--patch { color: #59b97b; }
.chub-row__fact--outdated { color: #d9a441; }

/* Rechte Info-Karte: Autor oben, darunter Daten + Lesezeit als Wertetabelle */
/* Schmale Info-Karte: dezenter Kasten, Autor oben, darunter Icon-Werte */
.chub-row__side {
    flex: 0 0 8.75rem; align-self: center;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    padding: 0.65rem 0.6rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(196, 162, 78, 0.12);
    border-radius: 8px;
    transition: border-color 0.15s;
}
.chub-row--guide:hover .chub-row__side { border-color: rgba(196, 162, 78, 0.24); }
.chub-row__side .chub-row__stats { align-self: stretch; justify-items: center; padding-top: 0.5rem; border-top: 1px solid rgba(196, 162, 78, 0.1); }
.chub-row__author {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-width: 0; max-width: 100%;
    color: var(--text-primary, #e0ddd5); text-decoration: none;
}
.chub-row__author-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.chub-row__author-label {
    display: none;
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-dimmed, #7a7870);
}
.chub-row__author-name {
    font-size: 0.84rem; font-weight: 600; color: var(--text-secondary, #b5b2a8);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: color 0.15s;
}
.chub-row__author:hover .chub-row__author-name { color: var(--gold, #c4a24e); }
.chub-row__avatar {
    flex: none; width: 26px; height: 26px; border-radius: 5px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gold-dark, #a37e2c), var(--gold, #c4a24e));
    color: var(--bg-primary, #0a0a0f); font-size: 0.75rem; font-weight: 700;
    box-shadow: 0 0 0 1px rgba(196, 162, 78, 0.2);
    transition: box-shadow 0.15s;
}
.chub-row__author:hover .chub-row__avatar { box-shadow: 0 0 0 2px var(--gold, #c4a24e); }
.chub-row__avatar:has(img) { background: none; }
.chub-row__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chub-row__stats {
    margin: 0;
    display: grid; gap: 0.2rem;
}
.chub-row__stat { display: flex; align-items: center; gap: 0.45rem; }
.chub-row__stat dt {
    display: flex; flex: none; opacity: 0.8;
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-dimmed, #7a7870);
}
.chub-row__stat dd { margin: 0; font-size: 0.78rem; color: var(--text-dimmed, #7a7870); white-space: nowrap; }
.chub-row__stat--updated dt, .chub-row__stat--updated dd { color: #59b97b; }
/* Text label only for screen readers — the icon + title tooltip carry it visually */
.chub-row__stat-label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Sortierleiste ueber der Zeilenliste (Kategorieseiten) */
.chub-sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0 0 0.75rem; }
.chub-sortbar__label {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-dimmed, #7a7870); margin-right: 0.25rem;
}

@media (max-width: 860px) {
    .chub-row--guide .chub-row__thumb { flex-basis: 160px; width: 160px; }
    .chub-row--guide .chub-row__title { font-size: 1.05rem; }
    .chub-row__side { flex-basis: 8.25rem; }
}
@media (max-width: 600px) {
    .chub-row--guide { flex-wrap: wrap; gap: 0.75rem; padding: 0.8rem; }
    .chub-row--guide .chub-row__thumb { flex: 0 0 100%; width: 100%; }
    .chub-row--guide .chub-row__info { flex: 1 1 100%; }
    .chub-row__side { flex: 1 1 100%; align-self: stretch; }
}

/* ============================================================
   News-Seite in derselben Kartenfamilie wie /guides
   ============================================================ */
.chub--news .chub-card,
.chub--news .chub-hero-card {
    background: rgba(10, 10, 15, 0.55);
    border-color: rgba(196, 162, 78, 0.18);
    border-radius: var(--border-radius-lg, 8px);
}
.chub--news .chub-card:hover,
.chub--news .chub-hero-card:hover {
    border-color: rgba(212, 11, 6, 0.5);
    box-shadow: 0 6px 18px rgba(212, 11, 6, 0.15);
}
.chub--news .chub-card:hover { transform: translateY(-2px); }
.chub--news .chub-card:hover .chub-card__title,
.chub--news .chub-hero-card:hover .chub-hero-card__title { color: var(--red-bright, #d40b06); }
.chub--news .chub-card__thumb,
.chub--news .chub-hero-card__thumb { background: rgba(0, 0, 0, 0.35); }
.chub--news .chub-card__meta {
    border-top: 1px solid rgba(196, 162, 78, 0.1);
    padding-top: 0.55rem;
}

/* BluePosts-Kachel im Raster traegt dieselbe Huelle */
.chub--news .home-bluepost-col {
    background: rgba(10, 10, 15, 0.55);
    border: 1px solid rgba(196, 162, 78, 0.18);
    border-radius: var(--border-radius-lg, 8px);
}

/* --- FAQ-Block in der Hub-Huelle -------------------------------------------
   Bisher nur auf der LoH-Uebersicht im Einsatz; serverseitig gerendert von
   partials/db-faq.php und vom FAQPage-Schema gespiegelt. */
.chub .db-faq {
    margin: 2rem 0 0;
    padding: 0;
    background: none;
    border: 0;
}
.chub .db-faq__heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding-bottom: 0.6rem;
    margin: 0 0 1rem;
    border-bottom: 1px solid var(--border-color, #252830);
}
.chub .db-faq__item {
    background: rgba(10, 10, 15, 0.55);
    border: 1px solid rgba(196, 162, 78, 0.18);
    border-radius: var(--border-radius-lg, 8px);
    margin-bottom: 0.6rem;
    padding: 0;
}
.chub .db-faq__q {
    cursor: pointer;
    list-style: none;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary, #e0ddd5);
}
.chub .db-faq__q::-webkit-details-marker { display: none; }
.chub .db-faq__item[open] .db-faq__q { border-bottom: 1px solid var(--border-color, #252830); }
.chub .db-faq__a {
    margin: 0;
    padding: 0.85rem 1.25rem;
    color: var(--text-secondary, #a09d94);
    line-height: 1.6;
    font-size: 0.92rem;
}

/* ============================================================
   Content-Hub auf die aktuelle UI-Stufe
   Abschnittstitel, Chips und Schwierigkeits-Marken standen noch auf
   den Werten vom Juli-Redesign. Jetzt dieselbe Sprache wie Planer,
   /builds, Datenbank und die übrigen Seiten.
   ============================================================ */

/* Abschnittstitel auf der Panel-Stufe; der Zusatz daneben bleibt gedimmt */
.chub-section__title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.chub-section__sub { font-size: 0.82rem; }
.chub-section--loh .chub-section__title { color: var(--text-secondary); }

/* Chips wie im Reiter-Deck: neutraler Chip, aktiv mit Gold-Verlauf */
.chub-chip {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border-panel, #252830);
    border-radius: var(--border-radius, 6px);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-secondary, #a09d94);
}
.chub-chip:hover {
    color: var(--text-primary, #e0ddd5);
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(196, 162, 78, 0.28);
}
.chub-chip--active,
.chub-chip--active:hover {
    padding: 0.4rem 0.85rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-color: var(--gold);
    color: #fff;
    font-weight: 700;
}

/* Schwierigkeit in der Site-Palette statt in Grün/Amber/Rot aus einem
   fremden Farbsystem: Grün nur für Einsteiger, dann Gold, dann Site-Rot. */
.chub-diff {
    border-radius: var(--border-radius, 6px);
    letter-spacing: 0.07em;
}
.chub-diff--beginner     { color: #59b97b; border: 1px solid rgba(64, 160, 96, 0.42); }
.chub-diff--intermediate { color: #c4a24e; border: 1px solid rgba(196, 162, 78, 0.42); }
.chub-diff--advanced     { color: var(--red-bright, #d40b06); border: 1px solid rgba(212, 11, 6, 0.42); }

/* Mobil: main.main-content trägt nur 20px Innenabstand. Der -1.5rem-Zug der
   Krumen-Zeile ergäbe dort -4px, sie schöbe sich unter den Kopf. Die Regel steht
   in dieser Datei (nicht in main.css), weil main.css früher lädt und die
   Basisregel hier sie sonst überstimmt. */
@media (max-width: 768px) {
    .db-breadcrumbs,
    .chub-breadcrumbs,
    .hcube-crumbs {
        margin-top: -12px;
    }
}
