/* ══════════════════════════════════════════════════════════════════
   STARTSEITE: HOMEPAGE-KOMPONENTEN
══════════════════════════════════════════════════════════════════ */

.home-shell {
    padding-top: 0;
    padding-bottom: 0;
}

.home-section--repo { margin-bottom: var(--home-sp-repo, 32px); }
.home-section--list { margin-bottom: var(--home-sp-list, 32px); }
.home-section--info { margin-bottom: var(--home-sp-info, 32px); }
.home-section--grid { margin-bottom: var(--home-sp-grid, 32px); }
.home-section--rss { margin-bottom: var(--home-sp-rss, 0); }

/* ── Repo-Card ─────────────────────────────────────────────────── */
.repo-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    border: 1px solid var(--primary-light);
    box-shadow: var(--shadow-md);
    margin-bottom: 4px;
}

.repo-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.repo-card-body {
    flex: 1;
    min-width: 180px;
}

.repo-card-body h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
    font-family: var(--font-brand);
}

.repo-card-body p {
    color: rgba(255,255,255,.78);
    font-size: var(--fs-sm);
    margin: 0;
    line-height: 1.5;
}

.repo-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.repo-badge {
    background: var(--accent-color);
    color: #0a0f1a;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    padding: .4rem .9rem;
    border-radius: 20px;
    white-space: nowrap;
}

.repo-badge--inline {
    align-self: flex-start;
    margin-bottom: 10px;
}

.repo-card .btn-accent {
    border-color: var(--accent-color);
    font-weight: 700;
    white-space: nowrap;
}

.repo-card .btn-accent:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
}

body.dark-mode .repo-card {
    border-color: var(--border-dark);
}

/* ── Artikel-Liste (horizontal cards) ─────────────────────────── */
.article-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.article-card {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
    transition: background .15s;
}

.article-card:last-child {
    border-bottom: none;
}

.article-card:hover {
    background: var(--bg-secondary);
}

.article-thumb {
    position: relative;
    flex-shrink: 0;
    width: 162px;
    height: 215px;
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.article-thumb img {
    display: block;
    width: 162px;
    height: 215px;
    object-fit: cover;
    object-position: center top;
}

.thumb-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: .03em;
}

.badge-teal {
    background: var(--accent-teal);
    color: #fff;
}

.article-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 0;
    padding-top: 0;
}

.article-meta__primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.article-meta__more {
    margin-left: auto;
    color: var(--accent-teal);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.article-meta__more:hover {
    color: var(--accent-teal-light);
}

.article-footer .cat {
    color: var(--accent-teal);
    font-weight: 600;
}

.article-meta .read {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    color: var(--text-muted);
    padding: 0;
    border: 0;
    border-radius: 0;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.article-meta__timing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.article-body h4 {
    order: 1;
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-primary);
    line-height: 1.4;
}

.article-body h4 a {
    color: inherit;
    text-decoration: none;
}

.article-body h4 a:hover {
    color: var(--accent-teal);
}

.article-body p {
    order: 3;
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    margin: 6px 0 0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    order: 2;
}

.article-footer {
    order: 4;
}

.article-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    color: var(--text-light);
    font-size: 2rem;
}

/* ── Startseiten-Artikel-Liste + Sidebar ───────────────────────── */
.homepage-list-with-sidebar {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.homepage-list-main {
    flex: 1;
    min-width: 0;
}

.homepage-list-sidebar {
    flex: 0 0 var(--hp-sidebar-w, 270px);
    width: var(--hp-sidebar-w, 270px);
    min-width: 0;
    align-self: stretch;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.homepage-sidebar-body {
    padding: 13px 15px;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.homepage-sidebar-body p { margin: 0 0 8px; }
.homepage-sidebar-body ul { padding-left: 18px; margin: 0 0 8px; }

.homepage-sidebar-body a {
    color: var(--accent-teal);
    text-decoration: none;
}

.homepage-sidebar-body a:hover { text-decoration: underline; }

.sb-widget {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
}

.sb-widget:last-child { border-bottom: none; }

.sb-widget-title {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: #f8fafc;
    line-height: 1.2;
    margin-bottom: 0;
}

.sb-widget-title__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    min-width: 12px;
    font-size: 10px;
    line-height: 1;
    flex-shrink: 0;
}

.sb-widget-title__text {
    display: block;
    line-height: 1.1;
    min-width: 0;
}

.homepage-list-sidebar .sb-widget > .sb-widget-title {
    margin: -12px -14px 12px;
    padding: 9px 14px;
    background: linear-gradient(90deg, rgba(51, 65, 85, .96) 0%, rgba(100, 116, 139, .9) 100%);
    border-bottom: 1px solid rgba(226, 232, 240, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.sb-widget-title--spaced {
    margin-bottom: .5rem;
}

.sb-widget--projects > .sb-widget-title,
.sb-widget--projects-top > .sb-widget-title,
.sb-widget--social > .sb-widget-title {
    margin-bottom: 12px;
}

.sb-widget--identity {
    padding: 0;
}

.sb-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 14px 13px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-decoration: none;
}

.sb-identity:hover {
    text-decoration: none;
    background: var(--bg-secondary);
}

.sb-identity-logo {
    max-height: 42px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    margin-bottom: 5px;
}

.sb-identity-tagline {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.sb-identity:hover .sb-identity-tagline { color: var(--accent-teal); }

.sb-project-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.sb-project-cards-grid > .sb-project-card:only-child {
    grid-column: 1 / -1;
}

.sb-project-card {
    position: relative;
    display: block;
    height: 88px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background-color: #111;
    background-image: var(--sb-project-card-image, none);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 38%;
    border: 1px solid var(--border-color);
    transition: transform .35s cubic-bezier(.25, .46, .45, .94), box-shadow .25s ease;
}

.sb-project-card:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .22);
    text-decoration: none;
}

.sb-project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, .12) 38%,
        rgba(0, 0, 0, .78) 100%
    );
    z-index: 1;
}

.sb-project-placeholder-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-teal) 0%, #181a6d 100%);
}

.sb-project-placeholder-bg::after {
    content: attr(data-initials);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: rgba(255, 255, 255, .25);
    letter-spacing: -1px;
}

.sb-project-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px 7px;
    z-index: 2;
}

.sb-project-name {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-project-desc {
    display: block;
    font-size: 9.5px;
    color: rgba(255, 255, 255, .68);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-status-list { list-style: none; margin: 0; padding: 0; }

.sb-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    gap: 7px;
    border-bottom: 1px solid var(--border-color);
}

.sb-status-row--empty {
    padding: .5rem 0;
}

.sb-status-list li:last-child .sb-status-row {
    border-bottom: none;
    padding-bottom: 0;
}

.sb-status-service {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .15s;
}

.sb-status-service:hover {
    color: var(--accent-teal);
    text-decoration: none;
}

.sb-status-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: monospace;
}

.sb-status-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-status-empty-text {
    font-size: .82rem;
    color: var(--text-secondary, #64748b);
}

.sb-status-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.sb-status-dot--ok {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
    animation: sb-pulse 2.5s ease-in-out infinite;
}

.sb-status-dot--warn {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .2);
}

.sb-status-dot--err {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .2);
}

@keyframes sb-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
    50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, .38); }
}

.sb-download-list { list-style: none; padding: 0; margin: 0; }
.sb-download-list li { border-bottom: 1px dashed var(--border-color); }
.sb-download-list li:last-child { border-bottom: none; }

.sb-download-list a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent-teal);
    padding: 5px 0;
    text-decoration: none;
    transition: color .15s;
}

.sb-download-list a:hover { color: var(--accent-teal-light); }

.sb-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.sb-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    border-radius: 7px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, transform .1s;
    flex-shrink: 0;
}

.sb-social-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.sb-social-link svg {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
    flex-shrink: 0;
}
.sb-social-link--linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.sb-social-link--github:hover { background: #24292f; border-color: #24292f; }
.sb-social-link--gitlab:hover { background: #fc6d26; border-color: #fc6d26; }
.sb-social-link--twitter:hover { background: #000; border-color: #000; }
.sb-social-link--mastodon:hover { background: #563acc; border-color: #563acc; }
.sb-social-link--youtube:hover { background: #ff0000; border-color: #ff0000; }
.sb-social-link--xing:hover { background: #006567; border-color: #006567; }
.sb-social-link--rss:hover { background: #f95c2b; border-color: #f95c2b; }

body.dark-mode .sb-social-link { background: var(--bg-tertiary); }
body.dark-mode .sb-social-link--github:hover { background: #f0f6fc; border-color: #f0f6fc; color: #24292f; }

.sb-notice-body {
    background: linear-gradient(130deg, #fffbeb, #fef3c7);
    border-left: 3px solid #f59e0b;
    padding: 9px 11px;
    border-radius: 0 5px 5px 0;
}

.sb-notice-body p {
    font-size: 11px;
    color: #78350f;
    line-height: 1.5;
    margin: 0 0 5px;
}

.sb-notice-body p:last-child { margin-bottom: 0; }

.sb-notice-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-teal);
    text-decoration: none;
    margin-top: 5px;
}

.sb-notice-link:hover { text-decoration: underline; }

.sb-featured-post {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    padding: 9px 14px;
    border-bottom: 1px solid var(--border-color);
    transition: background .12s;
}

.sb-featured-post:last-child { border-bottom: none; }

.sb-featured-post:hover {
    background: var(--bg-secondary);
    text-decoration: none;
}

.sb-featured-post:hover .sb-featured-title { color: var(--accent-teal); }

.sb-featured-thumb {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.sb-featured-thumb--placeholder {
    width: 56px;
    height: 42px;
    border-radius: 5px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-dark, #0d9488) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.sb-featured-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sb-featured-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.sb-featured-title-badge {
    display: none;
}

.sb-featured-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    transition: color .12s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sb-featured-meta { font-size: 10px; color: var(--text-muted, #94a3b8); }

.homepage-list-sidebar--feat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.homepage-list-sidebar--feat .sb-widget--identity {
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
}

.homepage-list-sidebar--feat .sb-widget--featured {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 0;
    border-bottom: none;
    overflow: hidden;
    --sb-featured-cat-bg: rgba(13, 148, 136, .92);
    --sb-featured-cat-color: #ffffff;
    --sb-featured-meta-bg: rgba(15, 23, 42, .72);
    --sb-featured-meta-color: rgba(248, 250, 252, .92);
    --sb-featured-meta-border: rgba(226, 232, 240, .18);
    --sb-featured-title-badge-bg: rgba(255, 255, 255, .92);
    --sb-featured-title-badge-color: #0f172a;
    --sb-featured-title-badge-border: rgba(226, 232, 240, .75);
    --sb-featured-title-badge-shadow: 0 8px 18px rgba(15, 23, 42, .16);
    --sb-featured-title-size: 12.5px;
    --sb-featured-badge-size: 10px;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-badge-style-neutral {
    --sb-featured-cat-bg: rgba(51, 65, 85, .9);
    --sb-featured-cat-color: #f8fafc;
    --sb-featured-meta-bg: rgba(255, 255, 255, .9);
    --sb-featured-meta-color: #334155;
    --sb-featured-meta-border: rgba(203, 213, 225, .82);
    --sb-featured-title-badge-bg: rgba(255, 255, 255, .95);
    --sb-featured-title-badge-color: #0f172a;
    --sb-featured-title-badge-border: rgba(203, 213, 225, .9);
    --sb-featured-title-badge-shadow: 0 8px 18px rgba(15, 23, 42, .14);
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-badge-style-teal {
    --sb-featured-cat-bg: rgba(13, 148, 136, .92);
    --sb-featured-cat-color: #ffffff;
    --sb-featured-meta-bg: rgba(15, 23, 42, .72);
    --sb-featured-meta-color: rgba(248, 250, 252, .92);
    --sb-featured-meta-border: rgba(226, 232, 240, .18);
    --sb-featured-title-badge-bg: rgba(255, 255, 255, .92);
    --sb-featured-title-badge-color: #0f172a;
    --sb-featured-title-badge-border: rgba(226, 232, 240, .75);
    --sb-featured-title-badge-shadow: 0 8px 18px rgba(15, 23, 42, .16);
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-badge-style-gold {
    --sb-featured-cat-bg: rgba(217, 119, 6, .92);
    --sb-featured-cat-color: #fffdf7;
    --sb-featured-meta-bg: rgba(120, 53, 15, .8);
    --sb-featured-meta-color: #fef3c7;
    --sb-featured-meta-border: rgba(251, 191, 36, .26);
    --sb-featured-title-badge-bg: rgba(255, 251, 235, .95);
    --sb-featured-title-badge-color: #7c2d12;
    --sb-featured-title-badge-border: rgba(251, 191, 36, .45);
    --sb-featured-title-badge-shadow: 0 8px 18px rgba(120, 53, 15, .18);
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-badge-style-dark {
    --sb-featured-cat-bg: rgba(15, 23, 42, .92);
    --sb-featured-cat-color: #e2e8f0;
    --sb-featured-meta-bg: rgba(30, 41, 59, .88);
    --sb-featured-meta-color: #cbd5e1;
    --sb-featured-meta-border: rgba(100, 116, 139, .35);
    --sb-featured-title-badge-bg: rgba(15, 23, 42, .9);
    --sb-featured-title-badge-color: #f8fafc;
    --sb-featured-title-badge-border: rgba(100, 116, 139, .3);
    --sb-featured-title-badge-shadow: 0 8px 18px rgba(2, 6, 23, .3);
}

.homepage-list-sidebar--feat .sb-widget--featured > .sb-widget-title {
    flex-shrink: 0;
    margin: 0;
    padding: 9px 14px;
    position: relative;
    z-index: 2;
}

body.dark-mode .homepage-list-sidebar .sb-widget > .sb-widget-title {
    background: linear-gradient(90deg, rgba(30, 41, 59, .96) 0%, rgba(71, 85, 105, .92) 100%);
    border-bottom-color: rgba(148, 163, 184, .24);
    color: rgba(248, 250, 252, .96);
}

.homepage-list-sidebar--feat .sb-widget--featured-rotating {
    position: relative;
}

.homepage-list-sidebar--feat .sb-featured-rotator {
    position: relative;
    flex: 1;
    min-height: 280px;
    overflow: hidden;
    background: #111;
}

.homepage-list-sidebar--feat .sb-featured-post {
    flex: 1;
    position: relative;
    display: block;
    padding: 0;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    min-height: 0;
    overflow: hidden;
    background: #111;
    transition: none;
}

.homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-post {
    position: absolute;
    inset: 0;
    border-bottom: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}

.homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-post.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity .45s ease, transform .45s ease;
}

.homepage-list-sidebar--feat .sb-featured-post:last-child { border-bottom: none; }

.homepage-list-sidebar--feat .sb-featured-post:hover .sb-featured-thumb {
    transform: none;
    filter: none;
}

.homepage-list-sidebar--feat .sb-featured-post:hover .sb-featured-title {
    color: #fff;
    text-shadow: 0 0 8px rgba(56, 189, 166, .6);
}

.homepage-list-sidebar--feat .sb-featured-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: unset;
    transition: transform .45s cubic-bezier(.25, .46, .45, .94), filter .3s ease;
}

.homepage-list-sidebar--feat .sb-featured-thumb--placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border-radius: 0;
    flex-shrink: unset;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-teal) 0%, #0d4f4a 100%);
    transition: filter .3s ease;
}

.homepage-list-sidebar--feat .sb-featured-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    gap: 0;
    min-height: unset;
    background: transparent;
}

.homepage-list-sidebar--feat .sb-featured-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(0, 0, 0, .18) 55%,
        rgba(0, 0, 0, .72) 100%
    );
    pointer-events: none;
}

.homepage-list-sidebar--feat .sb-featured-body-inner {
    position: relative;
    padding: 10px 12px 11px;
}

.homepage-list-sidebar--feat .sb-featured-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    margin-bottom: 0;
}

.homepage-list-sidebar--feat .sb-featured-cat,
.homepage-list-sidebar--feat .sb-featured-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--sb-featured-badge-size, 10px);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1.4;
    pointer-events: none;
}

.homepage-list-sidebar--feat .sb-featured-cat {
    background: var(--sb-featured-cat-bg);
    color: var(--sb-featured-cat-color);
}

.homepage-list-sidebar--feat .sb-featured-meta-badge {
    background: var(--sb-featured-meta-bg);
    color: var(--sb-featured-meta-color);
    border: 1px solid var(--sb-featured-meta-border);
}

.homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-title-badge {
    display: flex;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: calc(100% - 20px);
    align-items: center;
    padding: 7px 11px;
    border-radius: 14px;
    background: var(--sb-featured-title-badge-bg);
    border: 1px solid var(--sb-featured-title-badge-border);
    color: var(--sb-featured-title-badge-color);
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: var(--sb-featured-title-badge-shadow);
    min-height: 48px;
    max-height: 48px;
    overflow: hidden;
    transform: scale(1);
    transform-origin: center top;
    transition: transform .18s ease, box-shadow .18s ease;
    z-index: 2;
}

.homepage-list-sidebar--feat .sb-featured-post:hover .sb-featured-title-badge {
    transform: scale(1.025);
}

.homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-title-badge__text {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: calc(var(--sb-featured-title-size, 12.5px) + 1px);
    line-height: 1.25;
    letter-spacing: inherit;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-title-badge.is-multiline .sb-featured-title-badge__text {
    font-size: calc(var(--sb-featured-title-size, 12.5px) - 1px);
}

.homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-body-inner {
    padding-top: 26px;
}

.homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-title {
    display: none;
}

.homepage-list-sidebar--feat .sb-featured-title {
    font-size: var(--sb-featured-title-size, 12.5px);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
    margin: 0;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media {
    background: var(--bg-primary);
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-rotator {
    min-height: 220px;
    background: var(--bg-primary);
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-post {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-widget--featured-rotating .sb-featured-post,
.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media.sb-widget--featured-rotating .sb-featured-post {
    border-bottom: none;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-post:hover {
    background: var(--bg-secondary);
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-thumb,
.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-thumb--placeholder {
    position: relative;
    inset: auto;
    width: 84px;
    min-width: 84px;
    height: 62px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-thumb--placeholder {
    font-size: 22px;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-body {
    position: relative;
    inset: auto;
    display: flex;
    flex: 1;
    min-width: 0;
    padding: 0;
    gap: 0;
    background: none;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-body::before {
    display: none;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-body-inner {
    padding: 0;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-badges {
    position: static;
    margin-bottom: 6px;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-cat,
.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-meta-badge {
    pointer-events: auto;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-title-badge {
    display: none !important;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-title {
    display: -webkit-box;
    color: var(--text-primary);
    text-shadow: none;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-post:hover .sb-featured-title {
    color: var(--accent-teal);
    text-shadow: none;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-media-below .sb-featured-post {
    flex-direction: column;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-media-below .sb-featured-thumb,
.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-media-below .sb-featured-thumb--placeholder {
    width: 100%;
    min-width: 0;
    height: 108px;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-media-side .sb-featured-post {
    flex-direction: row;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-compact-media .sb-featured-rotator {
    min-height: 190px;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-compact-media.sb-widget--featured-media-side .sb-featured-thumb,
.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-compact-media.sb-widget--featured-media-side .sb-featured-thumb--placeholder {
    width: 72px;
    min-width: 72px;
    height: 54px;
}

.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-compact-media.sb-widget--featured-media-below .sb-featured-thumb,
.homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-compact-media.sb-widget--featured-media-below .sb-featured-thumb--placeholder {
    height: 88px;
}

.sb-featured-meta-badge time {
    display: inline-flex;
}

.homepage-list-sidebar--feat .sb-featured-rotator-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid rgba(148, 163, 184, .14);
    background: linear-gradient(180deg, rgba(15, 23, 42, .96) 0%, rgba(15, 23, 42, .88) 100%);
}

.homepage-list-sidebar--feat .sb-featured-rotator-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(226, 232, 240, .38);
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.homepage-list-sidebar--feat .sb-featured-rotator-dot:hover,
.homepage-list-sidebar--feat .sb-featured-rotator-dot:focus-visible {
    background: rgba(226, 232, 240, .75);
    transform: scale(1.08);
    outline: none;
}

.homepage-list-sidebar--feat .sb-featured-rotator-dot.is-active {
    background: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, .18);
}

@media (prefers-reduced-motion: reduce) {
    .homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-post {
        transition: none;
    }

    .homepage-list-sidebar--feat .sb-featured-rotator-dot {
        transition: none;
    }
}

@media (max-width: 768px) {
    .homepage-list-sidebar--feat .sb-featured-rotator {
        min-height: 240px;
    }

    .homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-title-badge {
        top: 10px;
        padding: 5px 9px;
        min-height: 40px;
        max-height: 40px;
    }

    .homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-title-badge__text {
        font-size: 10px;
    }

    .homepage-list-sidebar--feat .sb-widget--featured-rotating .sb-featured-title-badge.is-multiline .sb-featured-title-badge__text {
        font-size: 8.75px;
    }
}

.homepage-list-sidebar--feat .sb-widget--social {
    flex-shrink: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.homepage-list-sidebar--feat-proj .sb-widget--projects-top {
    flex-shrink: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 12px;
}

.homepage-list-sidebar--feat-proj .sb-widget--projects-top .sb-project-card {
    height: 74px;
}

.homepage-list-sidebar--feat-proj .sb-widget--projects-top .sb-project-name {
    font-size: 11px;
}

.homepage-list-sidebar--feat-proj .sb-widget--projects-top .sb-project-desc {
    font-size: 9px;
}

/* ── Info-Grid (Kategorie-Cards) ───────────────────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.info-card {
    padding: 20px 22px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-teal);
    border-radius: var(--radius);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-card--gold {
    border-top-color: var(--accent-color);
}

.info-card--projects {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
    border-top-color: #4d6b8c;
    border-color: rgba(77, 107, 140, .22);
}

.info-card--projects::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #36597c 0%, #7192b2 100%);
}

.info-card--projects:hover {
    box-shadow: var(--shadow-md);
}

.info-card-projects-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-card-projects-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(54, 89, 124, .12) 0%, rgba(113, 146, 178, .16) 100%);
    color: #36597c;
    margin-bottom: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
    flex-shrink: 0;
}

.info-card-projects-icon svg {
    width: 16px;
    height: 16px;
}

.info-card--projects h3 {
    color: #1f3348;
}

.info-card-projects-head h3 {
    margin: 0;
    flex: 1;
}

.info-card--projects p {
    flex: 1;
}

.info-card--projects p {
    color: #52657a;
    margin-bottom: 12px;
}

.info-card-projects-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card-projects-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 0;
    padding: .32rem .72rem;
    border-radius: 999px;
    background: rgba(54, 89, 124, .1);
    border: 1px solid rgba(54, 89, 124, .14);
    color: #36597c;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.info-card-project-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
}

.info-card-project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(54, 89, 124, .18);
    background: rgba(255, 255, 255, .78);
    color: #26435f;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: var(--transition-fast);
}

.info-card-project-link:hover {
    text-decoration: none;
    color: #16324b;
    background: rgba(255, 255, 255, .96);
    border-color: rgba(54, 89, 124, .32);
    transform: translateY(-1px);
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-primary);
    font-family: var(--font-brand);
}

.info-card p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin: 0 0 14px;
    line-height: 1.6;
    flex: 1;
}

.info-card-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* ── posts-grid Spalten-Modifikatoren ──────────────────────────── */
.posts-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.posts-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.posts-grid--cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Dark-Mode Anpassungen für Homepage-Komponenten */
body.dark-mode .article-card {
    background: var(--bg-dark-2);
    border-color: var(--border-dark);
}

body.dark-mode .article-card:hover {
    background: var(--bg-dark-3);
}

body.dark-mode .article-list {
    border-color: var(--border-dark);
}

body.dark-mode .article-thumb {
    border-color: var(--border-dark);
}

body.dark-mode .article-body p,
body.dark-mode .article-meta,
body.dark-mode .article-meta__primary,
body.dark-mode .article-meta__date,
body.dark-mode .article-footer,
body.dark-mode .article-meta .read {
    color: var(--text-secondary);
}

body.dark-mode .article-meta__timing {
    color: var(--text-secondary);
}

body.dark-mode .article-meta__more,
body.dark-mode .article-footer .cat,
body.dark-mode .homepage-sidebar-body a,
body.dark-mode .sb-download-list a,
body.dark-mode .blog-archive-back {
    color: var(--accent-teal-light);
}

body.dark-mode .article-meta__more:hover,
body.dark-mode .homepage-sidebar-body a:hover,
body.dark-mode .sb-download-list a:hover,
body.dark-mode .blog-archive-back:hover {
    color: #7dd3c7;
}

body.dark-mode .homepage-list-sidebar {
    background: var(--bg-dark-2);
    border-color: var(--border-dark);
}

body.dark-mode .homepage-sidebar-body,
body.dark-mode .sb-identity-tagline,
body.dark-mode .sb-status-service,
body.dark-mode .sb-status-empty-text,
body.dark-mode .sb-featured-meta,
body.dark-mode .feed-list .meta,
body.dark-mode .blog-page-header p,
body.dark-mode .blog-search-hint,
body.dark-mode .blog-archive-back,
body.dark-mode .blog-pagination__info,
body.dark-mode .author-profile-card__bio,
body.dark-mode .author-profile-detail__value,
body.dark-mode .author-profile-detail__value a,
body.dark-mode .author-profile-posts__empty {
    color: var(--text-secondary);
}

body.dark-mode .sb-widget,
body.dark-mode .sb-status-row,
body.dark-mode .sb-download-list li,
body.dark-mode .homepage-list-sidebar--feat .sb-widget--identity,
body.dark-mode .homepage-list-sidebar--feat .sb-widget--social,
body.dark-mode .homepage-list-sidebar--feat-proj .sb-widget--projects-top {
    border-color: var(--border-dark);
}

body.dark-mode .sb-identity {
    background: linear-gradient(160deg, rgba(30, 41, 59, .96) 0%, rgba(17, 24, 39, .98) 100%);
}

body.dark-mode .sb-identity:hover,
body.dark-mode .sb-featured-post:hover {
    background: var(--bg-dark-3);
}

body.dark-mode .sb-status-icon {
    background: var(--bg-dark-3);
    border-color: var(--border-dark);
    color: var(--text-secondary);
}

body.dark-mode .homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media,
body.dark-mode .homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-rotator,
body.dark-mode .homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-post {
    background: var(--bg-dark-2);
}

body.dark-mode .homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-post {
    border-bottom-color: var(--border-dark);
}

body.dark-mode .homepage-list-sidebar--feat .sb-widget--featured.sb-widget--featured-custom-media .sb-featured-post:hover {
    background: var(--bg-dark-3);
}

body.dark-mode .blog-search-hint a {
    color: var(--text-secondary);
}

body.dark-mode .blog-pagination a,
body.dark-mode .blog-pagination span {
    color: var(--text-primary);
}

body.dark-mode .blog-search-form button {
    color: var(--text-primary);
}

body.dark-mode .author-profile-detail__label {
    color: var(--text-muted);
}

body.dark-mode .info-card {
    background: var(--bg-dark-2);
    border-color: var(--border-dark);
}

body.dark-mode .info-card h3 {
    color: var(--text-white);
}

body.dark-mode .info-card--projects {
    background: linear-gradient(180deg, rgba(23, 34, 48, .98) 0%, rgba(18, 28, 40, .96) 100%);
    border-color: rgba(88, 116, 145, .38);
}

body.dark-mode .info-card--projects::before {
    background: linear-gradient(90deg, rgba(111, 157, 201, .85) 0%, rgba(80, 112, 145, .92) 100%);
}

body.dark-mode .info-card-projects-icon {
    background: linear-gradient(135deg, rgba(111, 157, 201, .16) 0%, rgba(54, 89, 124, .22) 100%);
    color: #cfe1f3;
    box-shadow: none;
}

body.dark-mode .info-card--projects h3 {
    color: #f8fafc;
}

body.dark-mode .info-card--projects p {
    color: rgba(226, 232, 240, .78);
}

body.dark-mode .info-card-projects-badge {
    background: rgba(111, 157, 201, .14);
    border-color: rgba(111, 157, 201, .22);
    color: #dbeafe;
}

body.dark-mode .info-card-project-link {
    background: rgba(30, 41, 59, .7);
    border-color: rgba(111, 157, 201, .2);
    color: #e2e8f0;
}

body.dark-mode .info-card-project-link:hover {
    background: rgba(51, 65, 85, .82);
    border-color: rgba(147, 197, 253, .28);
    color: #fff;
}

body.dark-mode .feed-card {
    background: var(--bg-dark-3);
    border-color: var(--border-dark);
}

/* ── RSS / Feed-Karten der Startseite ──────────────────────────── */
.feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feed-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}

.feed-card h4 {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 12px;
    margin: -16px -18px 12px;
    border-radius: var(--radius) var(--radius) 0 0;
    font-size: var(--fs-sm);
    font-weight: 700;
}

.feed-card--flat {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.feed-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.feed-dual-col {
    min-width: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-teal);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
}

.feed-dual-col:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feed-dual-col:nth-child(2) { border-top-color: var(--accent-color); }
.feed-dual-col .section-header { margin-bottom: 10px; }

body.dark-mode .feed-dual-col {
    background: var(--bg-dark-2);
    border-color: var(--border-dark);
}

.feed-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feed-list li {
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

.feed-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feed-list a {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    display: block;
    line-height: 1.35;
    transition: color .15s;
}

.feed-list a:hover { color: var(--accent-teal); }
.feed-list .meta { font-size: var(--fs-xs); color: var(--text-light); margin-top: 2px; }

.feed-list--inline li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.feed-list--inline .meta {
    flex-shrink: 0;
    margin-top: 0;
    white-space: nowrap;
}

.feed-list__empty { color: var(--text-muted); }

/* Responsive Homepage */
@media (max-width: 768px) {
    .home-section--repo {
        display: none;
    }

    .info-grid,
    .info-grid--cols-3 {
        grid-template-columns: 1fr;
    }

    .info-card-project-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feed-grid,
    .feed-dual-grid {
        grid-template-columns: 1fr;
    }

    .article-list {
        gap: 16px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        background: transparent;
    }

    .article-list.article-list--framed {
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .article-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        padding: 0;
        height: 195px;
        min-height: 195px;
        max-height: 195px;
        border: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .article-card:last-child {
        border-bottom: 1px solid var(--border-color);
    }

    .article-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
        background: var(--bg-primary);
    }

    .article-thumb,
    .article-thumb-placeholder {
        flex: 0 0 96px !important;
        width: 96px !important;
        min-width: 96px !important;
        height: 195px !important;
        max-height: 195px !important;
        min-height: 195px !important;
        flex: none !important;
        align-self: stretch !important;
        aspect-ratio: auto;
        border-radius: 0;
    }

    .article-thumb img {
        width: 100% !important;
        height: 100% !important;
        min-height: 195px !important;
        max-height: 195px !important;
        max-height: none;
        object-fit: cover;
        object-position: center top;
    }

    .thumb-badge {
        display: none;
    }

    .article-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
        position: relative;
        justify-content: flex-start;
        padding: 11px 13px 11px;
        align-self: auto;
        overflow: hidden;
    }

    .article-body h4 {
        font-size: 1rem !important;
        order: 1;
        margin: 0 0 5px;
        line-height: 1.35;
        min-height: calc(1.35em * 2);
        font-family: var(--font-brand);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .article-body p {
        order: 3;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        overflow: hidden !important;
        margin: 7px 0 0;
        font-size: var(--fs-sm) !important;
        line-height: 1.6;
    }

    .article-meta {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 5px 9px;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-right: 0;
    }

    .article-meta__primary {
        display: inline-flex;
        align-items: center;
        gap: 5px 9px;
        flex-wrap: nowrap;
        max-width: 100%;
        min-width: 0;
    }

    .article-meta__timing {
        order: 2;
    }

    .article-footer {
        order: 4;
        display: flex;
        align-items: end;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: auto;
        padding-top: 0;
    }

    .article-footer .cat {
        font-weight: 700;
        align-self: end;
    }

    .article-meta .read {
        background: transparent;
        padding: 0;
        border: 0;
        border-radius: 0;
        color: var(--text-muted);
        font-weight: 600;
    }

    .article-meta__more {
        order: 99;
        display: inline-flex;
        position: static;
        width: auto;
        justify-content: flex-end;
        margin-top: 0;
        margin-left: auto;
        flex-shrink: 0;
        align-self: end;
    }

    .article-list > .article-card,
    .article-list.article-list--framed > .article-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        height: 195px !important;
        min-height: 195px !important;
        max-height: 195px !important;
    }

    .article-list > .article-card > .article-thumb,
    .article-list > .article-card > .article-thumb-placeholder,
    .article-list.article-list--framed > .article-card > .article-thumb,
    .article-list.article-list--framed > .article-card > .article-thumb-placeholder {
        display: flex !important;
        align-items: stretch !important;
        flex: 0 0 96px !important;
        width: 96px !important;
        max-width: 96px !important;
        min-width: 96px !important;
        height: 195px !important;
        min-height: 195px !important;
        max-height: 195px !important;
        align-self: stretch !important;
        overflow: hidden !important;
    }

    .article-list > .article-card > .article-thumb > img,
    .article-list.article-list--framed > .article-card > .article-thumb > img {
        display: block !important;
        width: 100% !important;
        height: 195px !important;
        min-height: 195px !important;
        max-height: 195px !important;
        object-fit: cover !important;
    }

    .article-list > .article-card > .article-body,
    .article-list.article-list--framed > .article-card > .article-body {
        display: flex !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        overflow: hidden !important;
    }

    body.dark-mode .article-card {
        background: var(--bg-dark-2);
        border-color: var(--border-dark);
    }

    body.dark-mode .article-card:last-child {
        border-bottom-color: var(--border-dark);
    }

    body.dark-mode .article-card:hover {
        background: #1e2d3d;
    }

    .posts-grid--cols-2,
    .posts-grid--cols-3,
    .posts-grid--cols-4 {
        grid-template-columns: 1fr !important;
    }

    .repo-card {
        flex-direction: column;
        text-align: center;
    }

    .repo-card-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .homepage-list-sidebar {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .info-card-project-links {
        grid-template-columns: 1fr;
    }

    .info-card-project-link {
        min-height: 36px;
        font-size: .76rem;
    }

    .article-card {
        border-radius: calc(var(--radius) - 1px);
        height: 195px;
        min-height: 195px;
        max-height: 195px;
    }

    .article-thumb,
    .article-thumb-placeholder {
        flex-basis: 80px !important;
        width: 80px !important;
        min-width: 80px !important;
        height: 195px !important;
        max-height: 195px !important;
        min-height: 195px !important;
        align-self: stretch !important;
        aspect-ratio: auto;
    }

    .article-thumb img {
        height: 195px !important;
        min-height: 195px !important;
        max-height: 195px !important;
    }

    .article-body {
        padding: 10px 12px 10px;
    }

    .article-body h4 {
        font-size: .92rem !important;
        min-height: calc(1.35em * 2);
    }

    .article-body p {
        font-size: .82rem !important;
        line-height: 1.55;
    }

    .article-meta {
        gap: 4px 8px;
        font-size: .74rem;
        padding-right: 0;
    }

    .article-meta__primary {
        gap: 4px 8px;
    }

    .article-footer {
        gap: 8px;
        font-size: .74rem;
    }

    .article-meta__timing {
        gap: 6px;
        max-width: 100%;
    }

    .article-meta__more {
        font-size: .78rem;
    }

    .article-list > .article-card,
    .article-list.article-list--framed > .article-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        height: 195px !important;
        min-height: 195px !important;
        max-height: 195px !important;
    }

    .article-list > .article-card > .article-thumb,
    .article-list > .article-card > .article-thumb-placeholder,
    .article-list.article-list--framed > .article-card > .article-thumb,
    .article-list.article-list--framed > .article-card > .article-thumb-placeholder {
        display: flex !important;
        align-items: stretch !important;
        flex: 0 0 80px !important;
        width: 80px !important;
        max-width: 80px !important;
        min-width: 80px !important;
        height: 195px !important;
        min-height: 195px !important;
        max-height: 195px !important;
        align-self: stretch !important;
        overflow: hidden !important;
    }

    .article-list > .article-card > .article-thumb > img,
    .article-list.article-list--framed > .article-card > .article-thumb > img {
        display: block !important;
        width: 100% !important;
        height: 195px !important;
        min-height: 195px !important;
        max-height: 195px !important;
        object-fit: cover !important;
    }

    .article-list > .article-card > .article-body,
    .article-list.article-list--framed > .article-card > .article-body {
        display: flex !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        overflow: hidden !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .posts-grid--cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .posts-grid--cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   Blog Listing  (blog.php)
   ══════════════════════════════════════════════════════════════════ */
.blog-archive-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.blog-archive-back {
    font-size: var(--fs-sm);
    color: var(--accent-teal);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
    transition: color .15s;
}

.blog-archive-back:hover {
    color: var(--accent-teal-light);
    text-decoration: underline;
}

.blog-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-primary);
    transition: border-color .2s, box-shadow .2s;
}

.blog-search-form:focus-within {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 2px rgba(56, 189, 166, .15);
}

.blog-search-form input[type="search"] {
    border: none;
    outline: none;
    padding: 6px 14px;
    font-size: var(--fs-sm);
    background: transparent;
    color: var(--text-primary);
    width: min(260px, 55vw);
    min-width: 140px;
}

.blog-search-form button {
    border: none;
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
    font-size: .95rem;
    color: var(--text-muted);
    transition: color .15s;
    line-height: 1;
}

.blog-search-form button:hover {
    color: var(--accent-teal);
}

.blog-search-hint {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-search-hint a {
    color: var(--text-light);
    margin-left: 4px;
    text-decoration: none;
}

.blog-search-hint a:hover {
    color: var(--accent-teal);
}

.blog-page-header {
    margin-bottom: 18px;
    padding: 24px 26px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-secondary) 72%, white) 0%, var(--bg-primary) 100%);
    box-shadow: var(--shadow-sm);
}

.blog-page-header__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-teal) 12%, white);
    color: var(--accent-teal);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.blog-page-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 4px;
    font-family: var(--font-brand);
    color: var(--text-primary);
}

.blog-page-header p {
    font-size: .92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

.blog-archive-bar {
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 0;
    margin-top: 12px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 6px);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-primary);
    transition: var(--transition-fast);
}

.blog-pagination a:hover {
    background: var(--accent-blue, var(--primary-color));
    color: #fff;
    border-color: transparent;
}

.blog-pagination .current {
    background: var(--accent-blue, var(--primary-color));
    color: #fff;
    border-color: transparent;
    pointer-events: none;
}

.blog-pagination__info {
    font-size: .82rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 6px;
}

body.dark-mode .blog-pagination a,
body.dark-mode .blog-pagination span {
    background: var(--bg-dark-2);
    border-color: var(--border-dark);
    color: var(--text-primary);
}

body.dark-mode .blog-page-header,
body.dark-mode .blog-archive-bar {
    background: var(--bg-dark-2);
    border-color: var(--border-dark);
}

body.dark-mode .blog-page-header__eyebrow {
    background: rgba(20, 184, 166, .14);
    color: #7dd3c7;
}

body.dark-mode .blog-search-form,
body.dark-mode .blog-archive-back {
    background: var(--bg-dark-3);
    border-color: var(--border-dark);
}

body.dark-mode .blog-search-form input[type="search"] {
    color: var(--text-white);
}

body.dark-mode .blog-search-form button {
    color: var(--text-primary);
}

body.dark-mode .blog-search-form button:hover {
    color: var(--accent-teal-light);
}

/* ── Öffentliche Autoren-Seite ─────────────────────────────────── */
.author-profile-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.author-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, .9fr);
    gap: 24px;
    align-items: stretch;
}

.author-profile-card,
.author-profile-sidebar,
.author-profile-posts {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.author-profile-card {
    position: relative;
    overflow: hidden;
    padding: 28px 32px;
    background: var(--bg-primary);
}

.author-profile-card__inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-profile-avatar,
.author-profile-avatar-placeholder {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-profile-avatar {
    object-fit: cover;
    border: 2px solid rgba(232,168,56,.32);
}

.author-profile-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 12px 28px rgba(30,58,95,.16);
}

.author-profile-card__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-teal) 10%, white);
    color: var(--accent-teal);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.author-profile-card h1 {
    margin: 0 0 8px;
    font-size: var(--fs-h1);
    font-weight: 800;
    font-family: var(--font-brand, inherit);
    color: var(--text-primary);
}

.author-profile-card__bio {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 62ch;
}

.author-profile-sidebar {
    padding: 28px 32px;
    background: var(--bg-primary);
}

.author-profile-sidebar h2,
.author-profile-posts h2 {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.author-profile-details {
    display: grid;
    gap: 10px;
}

.author-profile-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(148,163,184,.4);
}

.author-profile-detail:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.author-profile-detail__label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-light);
}

.author-profile-detail__value,
.author-profile-detail__value a {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.author-profile-detail__value a:hover {
    color: var(--accent-teal);
}

.author-profile-posts {
    padding: 28px 32px;
}

.author-profile-posts__empty {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

body.dark-mode .author-profile-card,
body.dark-mode .author-profile-sidebar,
body.dark-mode .author-profile-posts {
    background: var(--bg-dark-2);
    border-color: var(--border-dark);
}

body.dark-mode .author-profile-sidebar {
    background: var(--bg-dark-2);
}

body.dark-mode .author-profile-card__eyebrow {
    background: rgba(20, 184, 166, .14);
    color: #7dd3c7;
}

body.dark-mode .author-profile-detail {
    border-bottom-color: rgba(71,85,105,.72);
}

@media (max-width: 768px) {
    .author-profile-shell {
        gap: 18px;
    }

    .author-profile-hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .author-profile-card,
    .author-profile-sidebar,
    .author-profile-posts {
        padding: 20px 18px;
    }

    .author-profile-card__inner {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .blog-shell {
        padding-top: 14px;
    }

    .blog-page-header {
        padding: 18px 18px 20px;
        margin-bottom: 14px;
    }

    .blog-page-header h1 {
        font-size: clamp(1.3rem, 5.5vw, 1.7rem);
    }

    .blog-page-header p {
        font-size: .88rem;
    }

    .blog-archive-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .blog-archive-back {
        justify-content: center;
        padding: 10px 14px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: var(--bg-secondary);
    }

    .blog-search-form {
        width: 100%;
        max-width: none;
        border-radius: 12px;
    }

    .blog-search-form input[type="search"] {
        width: auto;
        flex: 1;
        min-width: 0;
        padding: 10px 14px;
    }

    .blog-search-form button {
        padding: 10px 14px;
    }

    .blog-search-hint {
        margin-bottom: 14px;
        line-height: 1.55;
    }
}

@media (max-width: 480px) {
    .blog-page-header {
        padding: 16px;
    }

    .blog-page-header__eyebrow {
        margin-bottom: 8px;
    }

    .blog-archive-bar {
        padding: 12px;
    }
}
