:root {
    --wissen-primary: #f97316;
    --wissen-primary-hover: #ea580c;
    --wissen-accent-soft: #fff7ed;
    --wissen-accent-border: #fed7aa;
    --wissen-accent-text: #9a3412;
    --wissen-text: #0f172a;
    --wissen-muted: #475569;
    --wissen-soft: #64748b;
    --wissen-bg: #f8fafc;
    --wissen-card: #ffffff;
    --wissen-border: #e2e8f0;
    --wissen-radius: 8px;
    --wissen-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --wissen-shadow-md: 0 12px 24px -18px rgba(15, 23, 42, 0.28), 0 6px 12px -8px rgba(15, 23, 42, 0.14);
    --wissen-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wissen-page {
    background: var(--wissen-bg);
    color: var(--wissen-text);
    font-family: var(--wissen-font);
    line-height: 1.6;
}

.wissen-page a {
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wissen-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 44px 24px;
}

.wissen-hero {
    margin-bottom: 34px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--wissen-border);
}

.wissen-hero h1 {
    margin: 0;
    color: var(--wissen-text);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.14;
}

.wissen-hero p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--wissen-muted);
    font-size: 1rem;
}

.wissen-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 14px;
    color: var(--wissen-soft);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wissen-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.wissen-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--wissen-border);
    border-radius: var(--wissen-radius);
    background: var(--wissen-card);
    box-shadow: var(--wissen-shadow-sm);
}

.wissen-card-wide {
    grid-column: span 2 / span 2;
}

.wissen-card:hover {
    border-color: #fdba74;
    box-shadow: var(--wissen-shadow-md);
    transform: translateY(-2px);
}

.wissen-card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.wissen-card-icon {
    flex: 0 0 auto;
    color: var(--wissen-primary);
    font-size: 1.25rem;
    line-height: 1;
}

.wissen-card-title {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    color: var(--wissen-text);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.28;
}

.wissen-card:hover .wissen-card-title {
    color: var(--wissen-primary-hover);
}

.wissen-card-text {
    margin: 0 0 16px;
    color: var(--wissen-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.wissen-count {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border: 1px solid var(--wissen-border);
    border-radius: 999px;
    color: var(--wissen-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.wissen-info-badge {
    margin-top: 22px;
    padding: 12px 16px;
    border: 1px solid var(--wissen-accent-border);
    border-radius: var(--wissen-radius);
    background: var(--wissen-accent-soft);
    color: var(--wissen-accent-text);
    font-size: 0.9rem;
}

.wissen-info-badge a {
    color: var(--wissen-primary-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wissen-sidebar-card {
    overflow: hidden;
    border: 1px solid var(--wissen-border);
    border-radius: var(--wissen-radius);
    background: var(--wissen-card);
    box-shadow: var(--wissen-shadow-sm);
}

.wissen-sidebar-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--wissen-border);
}

.wissen-sidebar-head .wissen-eyebrow,
.wissen-sidebar-card > .wissen-eyebrow {
    margin: 0;
}

.wissen-highlight-pill {
    padding: 2px 8px;
    border: 1px solid var(--wissen-accent-border);
    border-radius: 4px;
    background: var(--wissen-accent-soft);
    color: var(--wissen-accent-text);
    font-size: 0.75rem;
    font-weight: 700;
}

.wissen-changelog-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--wissen-border);
    background: #f8fafc;
    color: var(--wissen-primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.wissen-changelog-link:hover {
    background: var(--wissen-accent-soft);
    color: var(--wissen-primary-hover);
}

.wissen-timeline {
    margin: 0;
    padding: 20px 18px 20px 22px;
    list-style: none;
}

.wissen-timeline-item {
    position: relative;
    margin: 0 0 22px;
    padding-left: 22px;
    border-left: 2px solid var(--wissen-border);
}

.wissen-timeline-item:last-child {
    margin-bottom: 0;
}

.wissen-timeline-item::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -6px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--wissen-card);
    border-radius: 999px;
    background: var(--wissen-primary);
}

.wissen-date {
    display: inline-block;
    margin-bottom: 7px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--wissen-accent-soft);
    color: var(--wissen-accent-text);
    font-size: 0.75rem;
    font-weight: 700;
}

.wissen-timeline-text {
    margin: 0;
    color: var(--wissen-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.wissen-timeline-text a {
    color: var(--wissen-muted);
}

.wissen-timeline-text:hover,
.wissen-timeline-text a:hover {
    color: var(--wissen-primary-hover);
}

.wissen-faq-list {
    border: 1px solid var(--wissen-border);
    border-radius: var(--wissen-radius);
    background: var(--wissen-card);
    box-shadow: var(--wissen-shadow-sm);
}

.wissen-faq-item {
    padding: 24px;
}

.wissen-faq-item + .wissen-faq-item {
    border-top: 1px solid var(--wissen-border);
}

.wissen-faq-item h2 {
    margin: 0 0 10px;
    color: var(--wissen-text);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.wissen-faq-answer {
    color: var(--wissen-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.changelog-layout {
    display: flex;
    align-items: flex-start;
    gap: 42px;
}

.changelog-main {
    flex: 1 1 auto;
    min-width: 0;
}

.changelog-aside {
    flex: 0 0 190px;
    position: sticky;
    top: 92px;
}

.changelog-timeline {
    position: relative;
    padding-left: 32px;
}

.changelog-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 0;
    left: 7px;
    width: 2px;
    border-radius: 999px;
    background: var(--wissen-border);
}

.changelog-year {
    position: relative;
    margin-bottom: 42px;
}

.changelog-year:last-child {
    margin-bottom: 0;
}

.changelog-year-title {
    position: relative;
    margin: 0 0 18px;
    color: var(--wissen-primary-hover);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.changelog-year-title::before {
    content: "";
    position: absolute;
    top: 7px;
    left: -32px;
    width: 16px;
    height: 16px;
    border: 3px solid var(--wissen-bg);
    border-radius: 999px;
    background: var(--wissen-primary);
    box-shadow: 0 0 0 2px var(--wissen-primary);
}

.changelog-block {
    position: relative;
    margin-bottom: 18px;
    padding: 20px 22px;
    border: 1px solid var(--wissen-border);
    border-radius: var(--wissen-radius);
    background: var(--wissen-card);
    box-shadow: var(--wissen-shadow-sm);
}

.changelog-block:last-child {
    margin-bottom: 0;
}

.changelog-block.has-highlight {
    border-left: 3px solid var(--wissen-primary);
}

.changelog-dot {
    position: absolute;
    top: 27px;
    left: -30px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--wissen-bg);
    border-radius: 999px;
    background: #cbd5e1;
}

.changelog-block.has-highlight .changelog-dot {
    background: var(--wissen-primary);
}

.changelog-date-label {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--wissen-accent-soft);
    color: var(--wissen-accent-text);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.5;
}

.changelog-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.changelog-entry {
    position: relative;
    padding-left: 16px;
    color: var(--wissen-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.changelog-entry::before {
    content: "";
    position: absolute;
    top: 0.78em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #cbd5e1;
}

.changelog-entry.is-highlight {
    color: var(--wissen-text);
}

.changelog-entry.is-highlight::before {
    background: var(--wissen-primary);
}

.changelog-entry a {
    color: inherit;
}

.changelog-entry a:hover {
    color: var(--wissen-primary-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.changelog-entry .fa-link {
    margin-left: 5px;
    color: var(--wissen-primary);
    font-size: 0.78em;
}

.changelog-highlight-label {
    display: inline-flex;
    margin-right: 7px;
    padding: 1px 7px;
    border: 1px solid var(--wissen-accent-border);
    border-radius: 4px;
    background: var(--wissen-accent-soft);
    color: var(--wissen-accent-text);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.45;
    vertical-align: 1px;
}

.changelog-nav-card {
    padding: 18px;
    border: 1px solid var(--wissen-border);
    border-radius: var(--wissen-radius);
    background: var(--wissen-card);
    box-shadow: var(--wissen-shadow-sm);
}

.changelog-year-nav {
    display: grid;
    gap: 4px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.changelog-year-nav a {
    display: block;
    padding: 5px 0;
    color: var(--wissen-primary);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
}

.changelog-year-nav a:hover {
    color: var(--wissen-primary-hover);
}

.changelog-nav-note {
    margin: 0 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--wissen-border);
    color: var(--wissen-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.changelog-nav-note strong {
    color: var(--wissen-accent-text);
}

.changelog-back-link {
    display: block;
    padding-top: 16px;
    border-top: 1px solid var(--wissen-border);
    color: var(--wissen-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.changelog-back-link:hover {
    color: var(--wissen-primary-hover);
}

@media (max-width: 1023px) {
    .wissen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .changelog-layout {
        display: block;
    }

    .changelog-aside {
        position: static;
        width: 100%;
        margin-top: 28px;
    }

    .changelog-year-nav {
        grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    }
}

@media (max-width: 640px) {
    .wissen-shell {
        padding: 26px 16px;
    }

    .wissen-hero {
        margin-bottom: 26px;
    }

    .wissen-hero h1 {
        font-size: 1.75rem;
    }

    .wissen-grid {
        grid-template-columns: 1fr;
    }

    .wissen-card-wide {
        grid-column: span 1 / span 1;
    }

    .wissen-card,
    .wissen-faq-item {
        padding: 20px;
    }

    .changelog-timeline {
        padding-left: 24px;
    }

    .changelog-year-title::before {
        left: -29px;
    }

    .changelog-block {
        padding: 18px;
    }

    .changelog-dot {
        left: -26px;
    }
}
