:root {
    color-scheme: light;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    background: #172033;
    color: #ffffff;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    border-bottom: 1px solid #e3e8ef;
    background: rgba(255, 255, 255, 0.96);
}

.site-header-inner,
.site-footer-inner,
.content-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 4.8rem;
}

.site-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    text-decoration: none;
}

.site-brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.site-brand-section {
    color: #526174;
    font-size: 0.95rem;
    font-weight: 650;
}

.site-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.2rem;
}

.site-navigation a {
    color: #354258;
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
    color: #0b5ccc;
}

.hero-section,
.page-heading,
.article-header {
    background:
        linear-gradient(
            135deg,
            #f0f5fc 0%,
            #f8fafc 55%,
            #eef3f8 100%
        );
}

.hero-section {
    padding: 6rem 0 5rem;
}

.hero-section h1,
.page-heading h1,
.article-header h1 {
    max-width: 900px;
    margin: 0;
    color: #111a2b;
    font-size: clamp(2.5rem, 7vw, 5.2rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.hero-intro,
.page-heading p,
.article-lead {
    max-width: 760px;
    margin: 1.5rem 0 0;
    color: #526174;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.eyebrow,
.article-card-category {
    margin: 0 0 0.65rem;
    color: #0b5ccc;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.content-section {
    padding: 4.5rem 0;
}

.section-muted {
    background: #f5f7fa;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.section-heading h2,
.article-sources h2 {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.featured-article {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 3rem;
    padding: 2.5rem;
    border: 1px solid #dce3ec;
    border-radius: 1.2rem;
    background: #ffffff;
}

.featured-article h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.featured-article h2 a {
    text-decoration: none;
}

.featured-article p:not(.eyebrow) {
    max-width: 760px;
    color: #526174;
    font-size: 1.08rem;
}

.featured-facts {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding-left: 2rem;
    border-left: 1px solid #dce3ec;
    color: #526174;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.7rem 1.05rem;
    border-radius: 0.55rem;
    background: #0b5ccc;
    color: #ffffff;
    font-weight: 750;
    text-decoration: none;
}

.primary-link:hover,
.primary-link:focus-visible {
    background: #084aab;
}

.category-grid,
.article-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 1.1rem;
}

.category-card,
.article-card {
    border: 1px solid #dce3ec;
    border-radius: 0.85rem;
    background: #ffffff;
}

.category-card {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 1.35rem;
    text-decoration: none;
}

.category-card strong {
    font-size: 1.2rem;
}

.category-card span {
    margin-top: 0.6rem;
    color: #526174;
}

.category-card small {
    margin-top: auto;
    padding-top: 1rem;
    color: #6b7789;
}

.article-card {
    padding: 1.35rem;
}

.article-card h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.article-card h3 a {
    text-decoration: none;
}

.article-card h3 a:hover,
.article-card h3 a:focus-visible {
    color: #0b5ccc;
}

.article-card-excerpt {
    color: #526174;
}

.article-card-meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: #6b7789;
    font-size: 0.9rem;
}

.page-heading {
    padding: 4.5rem 0;
}

.page-heading h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.article-header {
    padding: 4rem 0;
}

.article-header-inner {
    width: min(940px, calc(100% - 2rem));
    margin: 0 auto;
}

.article-header h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #647187;
    font-size: 0.9rem;
}

.article-meta {
    margin-top: 1.4rem;
}

.article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 760px)
        minmax(220px, 1fr);
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.article-content {
    min-width: 0;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    color: #222b39;
    font-size: 1.09rem;
    line-height: 1.82;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content h2,
.article-content h3 {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;
    color: #111a2b;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.article-content h2 {
    margin-top: 2.8rem;
    font-size: 2rem;
}

.article-content h3 {
    margin-top: 2.2rem;
    font-size: 1.5rem;
}

.article-content a {
    color: #0b5ccc;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.15em;
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.3rem;
    border-left: 4px solid #0b5ccc;
    background: #f4f7fb;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;
    font-size: 0.95rem;
}

.article-content th,
.article-content td {
    padding: 0.75rem;
    border: 1px solid #dce3ec;
    text-align: left;
    vertical-align: top;
}

.article-content th {
    background: #f3f6fa;
}

.article-content pre {
    overflow-x: auto;
    padding: 1rem;
    border-radius: 0.6rem;
    background: #172033;
    color: #f8fafc;
}

.article-sidebar-card {
    position: sticky;
    top: 1.5rem;
    padding: 1.2rem;
    border: 1px solid #dce3ec;
    border-radius: 0.8rem;
    background: #f8fafc;
}

.article-sidebar-card p {
    margin-bottom: 0;
    color: #526174;
}

.article-sources {
    padding: 3.5rem 0;
    border-top: 1px solid #e0e5ec;
    background: #f6f8fb;
}

.narrow-shell {
    max-width: 900px;
}

.article-sources ol {
    margin: 1.5rem 0 0;
    padding-left: 1.4rem;
}

.article-sources li {
    margin-top: 1rem;
    padding-left: 0.4rem;
}

.article-sources li span {
    display: block;
    color: #667286;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dce3ec;
}

.pagination a {
    color: #0b5ccc;
    font-weight: 700;
}

.pagination span {
    color: #6b7789;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 1px dashed #cbd4df;
    border-radius: 0.8rem;
    color: #637087;
}

.error-page {
    padding: 7rem 0;
}

.site-footer {
    padding: 3rem 0;
    border-top: 1px solid #dce3ec;
    background: #172033;
    color: #ffffff;
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.site-footer p {
    margin: 0.35rem 0 0;
    color: #bec8d7;
}

.site-footer nav {
    display: flex;
    gap: 1.2rem;
}

.site-footer a {
    color: #ffffff;
}

@media (max-width: 900px) {
    .site-header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem 0;
    }

    .site-navigation {
        justify-content: flex-start;
    }

    .category-grid,
    .article-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .featured-article,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .featured-facts {
        padding-top: 1.5rem;
        padding-left: 0;
        border-top: 1px solid #dce3ec;
        border-left: 0;
    }

    .article-sidebar-card {
        position: static;
    }
}

@media (max-width: 620px) {
    .hero-section {
        padding: 4rem 0 3.5rem;
    }

    .content-section {
        padding: 3.2rem 0;
    }

    .category-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .featured-article {
        padding: 1.4rem;
    }

    .article-layout {
        gap: 2rem;
    }

    .pagination,
    .site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* COMPAROVO_LEGAL_PAGES_START */

.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.8rem 1.2rem;
}

.legal-page {
    padding: 4.5rem 0 6rem;
}

.legal-page-header {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #dce3ec;
}

.legal-page-header h1 {
    max-width: 850px;
    margin: 0;
    color: #111a2b;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.legal-page-header > p:not(.eyebrow) {
    max-width: 760px;
    margin: 1.25rem 0 0;
    color: #526174;
    font-size: 1.1rem;
}

.legal-content {
    max-width: 820px;
    padding-top: 1rem;
}

.legal-content section {
    padding: 2rem 0;
    border-bottom: 1px solid #e3e8ef;
}

.legal-content section:last-child {
    border-bottom: 0;
}

.legal-content h2 {
    margin: 0 0 1rem;
    color: #172033;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.legal-content h3 {
    margin-top: 1.6rem;
    color: #172033;
}

.legal-content p,
.legal-content li,
.legal-address,
.legal-contact-list {
    color: #445168;
}

.legal-content a:not(.primary-link) {
    color: #0b5ccc;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.14em;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.35rem;
}

.legal-content li + li {
    margin-top: 0.55rem;
}

.legal-address {
    font-style: normal;
}

.legal-contact-list {
    margin: 0;
}

.legal-contact-list > div {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    padding: 0.55rem 0;
}

.legal-contact-list dt {
    font-weight: 750;
}

.legal-contact-list dd {
    margin: 0;
}

@media (max-width: 620px) {
    .legal-page {
        padding: 3.5rem 0 4.5rem;
    }

    .legal-contact-list > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .footer-navigation {
        justify-content: flex-start;
    }
}

/* COMPAROVO_LEGAL_PAGES_END */

/* COMPAROVO_PUBLIC_BRAND_START */

:root {
    --comparovo-green: #4dba5e;
    --comparovo-green-dark: #268c46;
    --comparovo-green-deep: #173f29;
    --comparovo-mint: #85e1c9;
    --comparovo-mint-soft: #e7f8f2;
    --comparovo-surface: #f6fbf8;
    --comparovo-border: #d7e9dd;
    --comparovo-text: #183426;
    --comparovo-text-soft: #526a5c;
}

body {
    color: var(--comparovo-text);
    background: #ffffff;
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--comparovo-border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 0.25rem 1.5rem rgba(23, 63, 41, 0.05);
    backdrop-filter: blur(12px);
}

.site-header::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--comparovo-mint),
            var(--comparovo-green)
        );
    content: "";
}

.site-header-inner {
    min-height: 5.4rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

.site-brand-logo {
    display: block;
    width: clamp(9.8rem, 17vw, 12.45rem);
    height: auto;
}

.site-brand-section {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.28rem 0.68rem;
    border: 1px solid rgba(77, 186, 94, 0.32);
    border-radius: 999px;
    background: var(--comparovo-mint-soft);
    color: var(--comparovo-green-deep);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-navigation a {
    position: relative;
    color: #3f594a;
}

.site-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -0.45rem;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--comparovo-green);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
    color: var(--comparovo-green-deep);
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.hero-section,
.page-heading,
.article-header {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 86% 18%,
            rgba(133, 225, 201, 0.36),
            transparent 29%
        ),
        radial-gradient(
            circle at 5% 95%,
            rgba(77, 186, 94, 0.17),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f3fbf6 0%,
            #ffffff 52%,
            #eef9f3 100%
        );
}

.hero-section::after,
.page-heading::after,
.article-header::after {
    position: absolute;
    top: -8rem;
    right: -7rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(77, 186, 94, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 3rem rgba(133, 225, 201, 0.06),
        0 0 0 7rem rgba(77, 186, 94, 0.035);
    content: "";
    pointer-events: none;
}

.hero-section .content-shell,
.page-heading .content-shell,
.article-header-inner {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.page-heading h1,
.article-header h1,
.featured-article h2,
.section-heading h2,
.article-sources h2,
.legal-page-header h1,
.legal-content h2 {
    color: var(--comparovo-green-deep);
}

.hero-intro,
.page-heading p,
.article-lead,
.featured-article p:not(.eyebrow),
.article-card-excerpt {
    color: var(--comparovo-text-soft);
}

.eyebrow,
.article-card-category {
    color: var(--comparovo-green-dark);
}

.article-card-category a {
    display: inline-flex;
    padding: 0.25rem 0.58rem;
    border-radius: 999px;
    background: var(--comparovo-mint-soft);
    text-decoration: none;
}

.primary-link,
.primary-button {
    background:
        linear-gradient(
            135deg,
            var(--comparovo-green-dark),
            var(--comparovo-green)
        );
    box-shadow:
        0 0.45rem 1.2rem
        rgba(38, 140, 70, 0.18);
}

.primary-link:hover,
.primary-link:focus-visible,
.primary-button:hover,
.primary-button:focus-visible {
    background:
        linear-gradient(
            135deg,
            #1f773a,
            #3daa53
        );
}

.section-muted {
    background:
        linear-gradient(
            180deg,
            #f8fcf9,
            #f1f8f4
        );
}

.featured-article,
.category-card,
.article-card {
    border-color: var(--comparovo-border);
    box-shadow:
        0 0.5rem 1.8rem
        rgba(23, 63, 41, 0.055);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.category-card:hover,
.category-card:focus-visible,
.article-card:hover,
.article-card:focus-within {
    border-color: rgba(77, 186, 94, 0.52);
    box-shadow:
        0 0.9rem 2.4rem
        rgba(23, 63, 41, 0.1);
    transform: translateY(-3px);
}

.category-card strong,
.article-card h3 {
    color: var(--comparovo-green-deep);
}

.category-card small,
.article-card-meta,
.article-meta,
.breadcrumbs,
.pagination span {
    color: #687d70;
}

.article-card h3 a:hover,
.article-card h3 a:focus-visible,
.article-content a,
.pagination a,
.legal-content a:not(.primary-link) {
    color: var(--comparovo-green-dark);
}

.article-content blockquote {
    border-left-color: var(--comparovo-green);
    background: var(--comparovo-mint-soft);
}

.article-content th {
    background: #edf7f1;
}

.article-sidebar-card {
    border-color: var(--comparovo-border);
    background: var(--comparovo-surface);
}

.article-sources {
    border-top-color: var(--comparovo-border);
    background:
        linear-gradient(
            180deg,
            #f4faf6,
            #eef7f2
        );
}

.category-card,
.article-card,
.featured-article,
.article-sidebar-card,
.legal-content section {
    border-color: var(--comparovo-border);
}

.empty-state {
    border-color: #bddac6;
    background: var(--comparovo-surface);
    color: var(--comparovo-text-soft);
}

.site-footer {
    position: relative;
    border-top: 0;
    background:
        radial-gradient(
            circle at 82% 10%,
            rgba(133, 225, 201, 0.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #123522,
            #1d5132
        );
}

.site-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--comparovo-mint),
            var(--comparovo-green)
        );
    content: "";
}

.site-footer p {
    color: #cfe4d6;
}

.site-footer a {
    color: #ffffff;
    text-underline-offset: 0.2em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--comparovo-mint);
}

.skip-link {
    background: var(--comparovo-green-deep);
}

@media (max-width: 900px) {
    .site-brand-logo {
        width: 11rem;
    }
}

@media (max-width: 620px) {
    .site-brand {
        gap: 0.55rem;
    }

    .site-brand-logo {
        width: 9.8rem;
    }

    .site-brand-section {
        min-height: 1.65rem;
        padding: 0.2rem 0.5rem;
        font-size: 0.67rem;
    }

    .hero-section::after,
    .page-heading::after,
    .article-header::after {
        right: -12rem;
    }
}

/* COMPAROVO_PUBLIC_BRAND_END */

/* COMPAROVO_NAVIGATION_REDESIGN_START */

.site-header-inner {
    align-items: center;
}

.site-navigation {
    position: relative;
    margin-left: auto;
}

.site-navigation-primary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

.site-navigation-link,
.site-navigation-topics > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    color: #365244;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease;
}

.site-navigation-primary
    > .site-navigation-link::after {
    display: none;
}

.site-navigation-link:hover,
.site-navigation-link:focus-visible,
.site-navigation-topics > summary:hover,
.site-navigation-topics > summary:focus-visible {
    border-color: rgba(77, 186, 94, 0.24);
    background: var(--comparovo-mint-soft);
    color: var(--comparovo-green-deep);
}

.site-navigation-link.is-active,
.site-navigation-topics.is-active > summary,
.site-navigation-topics[open] > summary {
    border-color: rgba(77, 186, 94, 0.32);
    background: #edf9f1;
    color: var(--comparovo-green-dark);
}

.site-navigation-topics {
    position: relative;
}

.site-navigation-topics > summary {
    list-style: none;
}

.site-navigation-topics
    > summary::-webkit-details-marker {
    display: none;
}

.site-navigation-chevron {
    display: inline-flex;
    font-size: 0.8rem;
    transition: transform 160ms ease;
}

.site-navigation-topics[open]
    .site-navigation-chevron {
    transform: rotate(180deg);
}

.site-navigation-mega {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    z-index: 50;
    width: min(760px, calc(100vw - 2rem));
    padding: 1.15rem;
    border: 1px solid var(--comparovo-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.99);
    box-shadow:
        0 1.4rem 3.5rem
        rgba(23, 63, 41, 0.18);
    backdrop-filter: blur(16px);
}

.site-navigation-mega::before {
    position: absolute;
    top: -0.45rem;
    right: 2.2rem;
    width: 0.8rem;
    height: 0.8rem;
    border-top: 1px solid var(--comparovo-border);
    border-left: 1px solid var(--comparovo-border);
    background: #ffffff;
    content: "";
    transform: rotate(45deg);
}

.site-navigation-mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
    padding: 0.15rem 0.15rem 0.85rem;
    border-bottom: 1px solid var(--comparovo-border);
}

.site-navigation-mega-header strong {
    display: block;
    color: var(--comparovo-green-deep);
    font-size: 1.05rem;
}

.site-navigation-mega-header span {
    display: block;
    margin-top: 0.1rem;
    color: var(--comparovo-text-soft);
    font-size: 0.82rem;
}

.site-navigation-category-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 0.55rem;
}

.site-navigation-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 3.25rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    background: var(--comparovo-surface);
    color: var(--comparovo-green-deep);
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition:
        background-color 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.site-navigation-category-link::after {
    display: none;
}

.site-navigation-category-link:hover,
.site-navigation-category-link:focus-visible {
    border-color: rgba(77, 186, 94, 0.36);
    background: var(--comparovo-mint-soft);
    color: var(--comparovo-green-dark);
    transform: translateY(-1px);
}

.site-navigation-arrow {
    color: var(--comparovo-green);
    font-size: 1rem;
    flex-shrink: 0;
}

#aktuelle-beitraege {
    scroll-margin-top: 7rem;
}

@media (max-width: 1100px) {
    .site-navigation-link,
    .site-navigation-topics > summary {
        padding-right: 0.65rem;
        padding-left: 0.65rem;
        font-size: 0.84rem;
    }

    .site-navigation-category-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 900px) {
    .site-header-inner {
        align-items: stretch;
    }

    .site-navigation {
        width: 100%;
        margin-left: 0;
    }

    .site-navigation-primary {
        display: grid;
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
        align-items: stretch;
    }

    .site-navigation-link,
    .site-navigation-topics > summary {
        width: 100%;
    }

    .site-navigation-topics {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .site-navigation-mega {
        position: static;
        width: 100%;
        margin-top: 0.55rem;
        box-shadow:
            0 0.7rem 1.8rem
            rgba(23, 63, 41, 0.1);
    }

    .site-navigation-mega::before {
        display: none;
    }
}

@media (max-width: 620px) {
    .site-navigation-primary {
        grid-template-columns: 1fr;
    }

    .site-navigation-topics {
        grid-column: auto;
        grid-row: auto;
    }

    .site-navigation-category-grid {
        grid-template-columns: 1fr;
    }

    .site-navigation-link,
    .site-navigation-topics > summary {
        justify-content: space-between;
    }
}

/* COMPAROVO_NAVIGATION_REDESIGN_END */

/* COMPAROVO_NAVIGATION_V2_START */

.site-header {
    z-index: 100;
}

.site-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    min-height: 5.25rem;
}

.site-navigation {
    position: relative;
    width: auto;
    margin-left: auto;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.desktop-navigation-link,
.desktop-navigation-topics > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 2.65rem;
    padding: 0.55rem 0.82rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    color: #365244;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color 150ms ease,
        border-color 150ms ease,
        background-color 150ms ease;
}

.desktop-navigation-link::after {
    display: none;
}

.desktop-navigation-link:hover,
.desktop-navigation-link:focus-visible,
.desktop-navigation-topics > summary:hover,
.desktop-navigation-topics > summary:focus-visible,
.desktop-navigation-link.is-active,
.desktop-navigation-topics[open] > summary {
    border-color: rgba(77, 186, 94, 0.28);
    background: #edf9f1;
    color: var(--comparovo-green-dark);
}

.desktop-navigation-topics {
    position: relative;
}

.desktop-navigation-topics > summary {
    list-style: none;
}

.desktop-navigation-topics
    > summary::-webkit-details-marker {
    display: none;
}

.desktop-navigation-topics
    > summary svg,
.mobile-navigation-topics
    > summary svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms ease;
}

.desktop-navigation-topics[open]
    > summary svg,
.mobile-navigation-topics[open]
    > summary svg {
    transform: rotate(180deg);
}

.desktop-navigation-panel {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    z-index: 120;
    width: min(34rem, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid var(--comparovo-border);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow:
        0 1rem 2.8rem
        rgba(23, 63, 41, 0.16);
}

.desktop-navigation-panel::before {
    position: absolute;
    top: -0.4rem;
    right: 2rem;
    width: 0.75rem;
    height: 0.75rem;
    border-top: 1px solid var(--comparovo-border);
    border-left: 1px solid var(--comparovo-border);
    background: #ffffff;
    content: "";
    transform: rotate(45deg);
}

.desktop-navigation-panel > header {
    margin-bottom: 0.75rem;
    padding: 0.1rem 0.15rem 0.75rem;
    border-bottom: 1px solid var(--comparovo-border);
}

.desktop-navigation-panel > header strong,
.desktop-navigation-panel > header span {
    display: block;
}

.desktop-navigation-panel > header strong {
    color: var(--comparovo-green-deep);
    font-size: 1rem;
}

.desktop-navigation-panel > header span {
    margin-top: 0.1rem;
    color: var(--comparovo-text-soft);
    font-size: 0.78rem;
}

.desktop-navigation-categories {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 0.45rem;
}

.desktop-navigation-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 2.85rem;
    padding: 0.65rem 0.72rem;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    background: #f6faf7;
    color: #355344;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.desktop-navigation-categories a::after {
    display: none;
}

.desktop-navigation-categories a:hover,
.desktop-navigation-categories a:focus-visible {
    border-color: rgba(77, 186, 94, 0.32);
    background: var(--comparovo-mint-soft);
    color: var(--comparovo-green-dark);
}

.navigation-arrow {
    flex-shrink: 0;
    color: var(--comparovo-green);
}

.mobile-menu-button,
.mobile-navigation,
.mobile-navigation-overlay {
    display: none;
}

html.mobile-navigation-open {
    overflow: hidden;
}

#aktuelle-beitraege {
    scroll-margin-top: 6.5rem;
}

@media (max-width: 900px) {
    .site-header-inner {
        align-items: center;
        flex-direction: row;
        min-height: 4.6rem;
        padding: 0;
    }

    .site-brand-logo {
        width: 9.6rem;
    }

    .site-brand-section {
        min-height: 1.55rem;
        padding: 0.18rem 0.48rem;
        font-size: 0.64rem;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 2.55rem;
        padding: 0.52rem 0.72rem;
        border: 1px solid rgba(77, 186, 94, 0.3);
        border-radius: 0.65rem;
        background: #edf9f1;
        color: var(--comparovo-green-deep);
        font: inherit;
        font-size: 0.82rem;
        font-weight: 800;
        cursor: pointer;
    }

    .mobile-menu-button svg {
        width: 1.15rem;
        height: 1.15rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

    .mobile-navigation-overlay {
        position: fixed;
        inset: 0;
        z-index: 180;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(10, 35, 21, 0.52);
        backdrop-filter: blur(2px);
        cursor: default;
    }

    .mobile-navigation-overlay[hidden] {
        display: none;
    }

    .mobile-navigation {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
        display: flex;
        width: min(88vw, 23rem);
        height: 100dvh;
        flex-direction: column;
        overflow: hidden;
        border-left: 1px solid var(--comparovo-border);
        background: #ffffff;
        box-shadow:
            -1rem 0 3rem
            rgba(9, 34, 20, 0.22);
        transform: translateX(105%);
        transition: transform 220ms ease;
    }

    .mobile-navigation.is-open {
        transform: translateX(0);
    }

    .mobile-navigation-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        min-height: 4.6rem;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--comparovo-border);
        background:
            linear-gradient(
                135deg,
                #f5fbf7,
                #edf9f2
            );
    }

    .mobile-navigation-header strong,
    .mobile-navigation-header span {
        display: block;
    }

    .mobile-navigation-header strong {
        color: var(--comparovo-green-deep);
        font-size: 1.05rem;
    }

    .mobile-navigation-header span {
        color: var(--comparovo-text-soft);
        font-size: 0.75rem;
    }

    .mobile-navigation-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border: 1px solid var(--comparovo-border);
        border-radius: 50%;
        background: #ffffff;
        color: var(--comparovo-green-deep);
        cursor: pointer;
    }

    .mobile-navigation-close svg {
        width: 1.2rem;
        height: 1.2rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

    .mobile-navigation-content {
        flex: 1;
        overflow-y: auto;
        padding: 1rem;
    }

    .mobile-navigation-primary {
        display: grid;
        gap: 0.25rem;
    }

    .mobile-navigation-primary a {
        display: flex;
        align-items: center;
        min-height: 3rem;
        padding: 0.65rem 0.75rem;
        border-radius: 0.6rem;
        color: var(--comparovo-green-deep);
        font-size: 0.92rem;
        font-weight: 750;
        text-decoration: none;
    }

    .mobile-navigation-primary a:hover,
    .mobile-navigation-primary a:focus-visible {
        background: var(--comparovo-mint-soft);
        color: var(--comparovo-green-dark);
    }

    .mobile-navigation-topics {
        margin-top: 1rem;
        border-top: 1px solid var(--comparovo-border);
        border-bottom: 1px solid var(--comparovo-border);
    }

    .mobile-navigation-topics > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 3.2rem;
        padding: 0.7rem 0.75rem;
        color: var(--comparovo-green-deep);
        font-size: 0.9rem;
        font-weight: 800;
        list-style: none;
        cursor: pointer;
    }

    .mobile-navigation-topics
        > summary::-webkit-details-marker {
        display: none;
    }

    .mobile-navigation-categories {
        display: grid;
        gap: 0.3rem;
        padding: 0 0 0.85rem;
    }

    .mobile-navigation-categories a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        min-height: 2.8rem;
        padding: 0.62rem 0.75rem;
        border-radius: 0.55rem;
        background: #f6faf7;
        color: #3b5749;
        font-size: 0.84rem;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-navigation-categories a:hover,
    .mobile-navigation-categories a:focus-visible {
        background: var(--comparovo-mint-soft);
        color: var(--comparovo-green-dark);
    }

    .mobile-navigation-footer {
        display: flex;
        flex-wrap: wrap;
        gap: 0.9rem;
        padding: 0.85rem 1rem;
        border-top: 1px solid var(--comparovo-border);
        background: #f7faf8;
    }

    .mobile-navigation-footer a {
        color: var(--comparovo-text-soft);
        font-size: 0.76rem;
        font-weight: 650;
    }
}

@media (max-width: 430px) {
    .site-header-inner {
        gap: 0.65rem;
    }

    .site-brand {
        gap: 0.4rem;
    }

    .site-brand-logo {
        width: 8.6rem;
    }

    .site-brand-section {
        padding: 0.15rem 0.4rem;
        font-size: 0.58rem;
    }

    .mobile-menu-button {
        padding-right: 0.62rem;
        padding-left: 0.62rem;
    }
}

/* COMPAROVO_NAVIGATION_V2_END */

/* COMPAROVO_STICKY_NAVIGATION_FIX_START */

.site-header {
    position: sticky;
    top: 0;
    z-index: 160;
    width: 100%;
}

.mobile-navigation-overlay {
    z-index: 180;
}

.mobile-navigation {
    z-index: 200;
}

.mobile-navigation-overlay[hidden] {
    display: none !important;
}

html.mobile-navigation-open,
html.mobile-navigation-open body {
    overflow: hidden;
}

@media (max-width: 900px) {
    .mobile-navigation-overlay {
        position: fixed;
        inset: 0;
    }

    .mobile-navigation {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
    }
}

/* COMPAROVO_STICKY_NAVIGATION_FIX_END */

/* COMPAROVO_ACCESSIBILITY_FOUNDATION_START */

:root {
    --comparovo-focus: #173f29;
    --comparovo-focus-on-dark: #85e1c9;
    --comparovo-button: #1d6a35;
    --comparovo-button-secondary: #206f39;
    --comparovo-muted-accessible: #5f7568;
}

html {
    scroll-padding-top: 7rem;
}

[id] {
    scroll-margin-top: 7rem;
}

body {
    min-width: 0;
}

.site-main,
.content-shell,
.article-layout,
.article-content,
.legal-content {
    min-width: 0;
}

img,
video,
canvas {
    max-width: 100%;
    height: auto;
}

.article-content,
.article-sources,
.legal-content,
.article-card,
.category-card {
    overflow-wrap: anywhere;
    word-break: normal;
}

.article-content pre {
    max-width: 100%;
    overflow-x: auto;
}

.article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

:where(
    a,
    button,
    summary,
    input,
    select,
    textarea,
    [tabindex]
):focus-visible {
    outline: 3px solid var(--comparovo-focus);
    outline-offset: 3px;
}

.site-footer
    :where(
        a,
        button,
        summary
    ):focus-visible {
    outline-color:
        var(--comparovo-focus-on-dark);
}

#hauptinhalt:focus {
    outline: 0;
}

.skip-link {
    z-index: 400;
    border-radius: 0.45rem;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
    outline:
        3px solid
        var(--comparovo-focus-on-dark);
    outline-offset: 3px;
}

.primary-link,
.primary-button {
    background:
        linear-gradient(
            135deg,
            var(--comparovo-button),
            var(--comparovo-button-secondary)
        );
    color: #ffffff;
}

.primary-link:hover,
.primary-link:focus-visible,
.primary-button:hover,
.primary-button:focus-visible {
    background: var(--comparovo-green-deep);
    color: #ffffff;
}

.article-card-meta,
.article-meta,
.breadcrumbs,
.pagination span,
.category-card small {
    color: var(--comparovo-muted-accessible);
}

.desktop-navigation-link,
.desktop-navigation-topics > summary,
.mobile-menu-button,
.mobile-navigation-close,
.mobile-navigation-primary a,
.mobile-navigation-topics > summary,
.mobile-navigation-categories a {
    min-height: 2.75rem;
}

.mobile-navigation-close {
    width: 2.75rem;
    height: 2.75rem;
}

.footer-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
}

.mobile-navigation[aria-hidden="true"] {
    visibility: hidden;
}

.mobile-navigation.is-open {
    visibility: visible;
}

.mobile-navigation[aria-hidden="true"] * {
    pointer-events: none;
}

.mobile-navigation.is-open * {
    pointer-events: auto;
}

@media (max-width: 400px) {
    .site-header-inner,
    .site-footer-inner,
    .content-shell {
        width: min(
            100% - 1rem,
            1180px
        );
    }

    .hero-section h1,
    .page-heading h1,
    .article-header h1 {
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    :where(
        a,
        button,
        summary,
        input,
        select,
        textarea,
        [tabindex]
    ):focus-visible {
        outline:
            3px solid
            CanvasText;
    }

    .primary-link,
    .primary-button,
    .mobile-menu-button,
    .site-brand-section {
        border: 1px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
        forced-color-adjust: auto;
    }

    .site-header::after,
    .site-footer::before {
        background: CanvasText;
    }
}

/* COMPAROVO_ACCESSIBILITY_FOUNDATION_END */

/* COMPAROVO_ARTICLE_ACCESSIBILITY_START */

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
}

.article-content a,
.article-sources a,
.legal-content a {
    color: #1d6a35;
    text-decoration: underline;
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.18em;
}

.article-content a:hover,
.article-content a:focus-visible,
.article-sources a:hover,
.article-sources a:focus-visible,
.legal-content a:hover,
.legal-content a:focus-visible {
    color: #173f29;
    text-decoration-thickness: 0.16em;
}

.article-table-scroll {
    max-width: 100%;
    margin: 1.75rem 0;
    overflow-x: auto;
    border: 1px solid var(--comparovo-border);
    border-radius: 0.7rem;
    background: #ffffff;
    overscroll-behavior-inline: contain;
}

.article-table-scroll:focus-visible {
    outline: 3px solid var(--comparovo-focus);
    outline-offset: 3px;
}

.article-table-scroll table {
    display: table;
    width: 100%;
    min-width: 38rem;
    margin: 0;
    border-collapse: collapse;
}

.article-table-scroll th,
.article-table-scroll td {
    padding: 0.8rem 0.9rem;
    border-bottom:
        1px solid
        var(--comparovo-border);
    text-align: left;
    vertical-align: top;
}

.article-table-scroll th {
    background: var(--comparovo-mint-soft);
    color: var(--comparovo-green-deep);
    font-weight: 800;
}

.article-table-scroll tr:last-child td {
    border-bottom: 0;
}

.article-sidebar-card h2 {
    margin: 0 0 0.65rem;
    color: var(--comparovo-green-deep);
    font-size: 1rem;
    line-height: 1.3;
}

.article-meta,
.article-meta span,
.article-meta time,
.article-card-meta,
.article-card-meta span,
.article-sources li > span,
.breadcrumbs,
.breadcrumbs [aria-current="page"] {
    color: #526a5c;
}

.breadcrumbs [aria-current="page"] {
    overflow-wrap: anywhere;
}

.eyebrow {
    color: #1f773a;
}

.navigation-arrow {
    color: #1d6a35;
}

.site-brand-section {
    color: #173f29;
}

.site-footer {
    background: #173f29;
    color: #ffffff;
}

.site-footer strong,
.site-footer p,
.site-footer a {
    color: #ffffff;
}

.site-footer a {
    text-decoration: underline;
    text-decoration-thickness: 0.09em;
    text-underline-offset: 0.18em;
}

@media (max-width: 620px) {
    .article-table-scroll table {
        min-width: 32rem;
    }
}

@media (forced-colors: active) {
    .article-table-scroll {
        border: 1px solid CanvasText;
    }

    .article-table-scroll th {
        border-bottom: 1px solid CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .article-content a,
    .article-sources a,
    .legal-content a,
    .site-footer a {
        color: LinkText;
    }
}

/* COMPAROVO_ARTICLE_ACCESSIBILITY_END */

/* COMPAROVO_CONFIRMED_CONTRAST_FIX_START */

/*
 * Durch Accessibility Insights bestätigte
 * WCAG-2.2-AA-Kontrastkorrekturen.
 *
 * #1d6a35 auf #ffffff: 6,63:1
 * #1d6a35 auf #e7f8f2: 6,04:1
 */

/* Rubrikkennzeichnung innerhalb der Artikelkarten */
.article-card-category > a,
.article-card-category > a:visited {
    color: #1d6a35;
}

/* Telefon- und E-Mail-Links auf den Rechtstextseiten */
.legal-page a[href^="tel:"],
.legal-page a[href^="tel:"]:visited,
.legal-page a[href^="mailto:"],
.legal-page a[href^="mailto:"]:visited {
    color: #1d6a35;
}

/* Deutlich erkennbarer Hover- und Tastaturfokus */
.article-card-category > a:hover,
.article-card-category > a:focus-visible,
.legal-page a[href^="tel:"]:hover,
.legal-page a[href^="tel:"]:focus-visible,
.legal-page a[href^="mailto:"]:hover,
.legal-page a[href^="mailto:"]:focus-visible {
    color: #173f29;
}

/* COMPAROVO_CONFIRMED_CONTRAST_FIX_END */

/* COMPAROVO_THEME_SYSTEM_START */

/*
 * Kanonisches Comparovo-Farbsystem.
 *
 * Beide Modi verwenden dieselben semantischen
 * Variablen und dieselbe Komponentenstruktur.
 * Nur die Werte unterscheiden sich.
 */

:root[data-theme="light"] {
    color-scheme: light;

    --ui-page: #f4f8f5;
    --ui-page-alternate: #edf4ef;
    --ui-surface: #ffffff;
    --ui-surface-soft: #f8fbf9;
    --ui-surface-raised: #eef6f1;

    --ui-heading: #143d27;
    --ui-text: #263c30;
    --ui-muted: #5a6d61;

    --ui-border: #d6e3da;
    --ui-border-strong: #bcd2c3;

    --ui-accent: #1d6a35;
    --ui-accent-hover: #15552a;
    --ui-accent-soft: #e5f2e8;
    --ui-accent-soft-hover: #d9ebde;

    --ui-header:
        rgba(255, 255, 255, 0.97);

    --ui-overlay:
        rgba(12, 35, 23, 0.48);

    --ui-hero-start: #e8f4ec;
    --ui-hero-middle: #f1f7f3;
    --ui-hero-end: #f9fbfa;

    --ui-drawer-start: #f8fbf9;
    --ui-drawer-middle: #f3f8f5;
    --ui-drawer-end: #edf4ef;

    --ui-footer: #173f29;
    --ui-footer-text: #f6fbf8;

    --ui-shadow:
        0 1rem 2.75rem
        rgba(23, 63, 41, 0.09);
}

:root[data-theme="dark"] {
    color-scheme: dark;

    --ui-page: #121619;
    --ui-page-alternate: #171c20;
    --ui-surface: #1d2428;
    --ui-surface-soft: #20282d;
    --ui-surface-raised: #263036;

    --ui-heading: #f5f8f6;
    --ui-text: #dce4df;
    --ui-muted: #aab6b0;

    --ui-border: #38443e;
    --ui-border-strong: #53635b;

    --ui-accent: #78d998;
    --ui-accent-hover: #a4ebba;
    --ui-accent-soft: #20392a;
    --ui-accent-soft-hover: #294b36;

    --ui-header:
        rgba(13, 16, 18, 0.97);

    --ui-overlay:
        rgba(0, 0, 0, 0.72);

    --ui-hero-start: #1e2b24;
    --ui-hero-middle: #1a2220;
    --ui-hero-end: #171c20;

    --ui-drawer-start: #232c31;
    --ui-drawer-middle: #1e252a;
    --ui-drawer-end: #181e22;

    --ui-footer: #0d1012;
    --ui-footer-text: #dce4df;

    --ui-shadow:
        0 1.15rem 3rem
        rgba(0, 0, 0, 0.3);
}

/* ---------------------------------------------------------
 * Dokument
 * --------------------------------------------------------- */

html[data-theme] {
    background:
        var(--ui-page);
}

html[data-theme] body {
    background:
        var(--ui-page);

    color:
        var(--ui-text);
}

html[data-theme] ::selection {
    background:
        var(--ui-accent);

    color:
        var(--ui-surface);
}

/* ---------------------------------------------------------
 * Header
 * --------------------------------------------------------- */

html[data-theme] .site-header {
    border-color:
        var(--ui-border);

    background:
        var(--ui-header);

    color:
        var(--ui-text);

    box-shadow:
        0 0.35rem 1.5rem
        rgba(0, 0, 0, 0.05);
}

html[data-theme] .site-header::after {
    background:
        linear-gradient(
            90deg,
            var(--ui-accent-hover),
            var(--ui-accent)
        );
}

html[data-theme]
.site-brand-section {
    border-color:
        var(--ui-border-strong);

    background:
        var(--ui-accent-soft);

    color:
        var(--ui-heading);
}

html[data-theme]
.desktop-navigation-link,
html[data-theme]
.desktop-navigation-topics > summary,
html[data-theme]
.mobile-menu-button {
    color:
        var(--ui-text);
}

html[data-theme]
.desktop-navigation-link:hover,
html[data-theme]
.desktop-navigation-link:focus-visible,
html[data-theme]
.desktop-navigation-link.is-active,
html[data-theme]
.desktop-navigation-topics > summary:hover,
html[data-theme]
.desktop-navigation-topics > summary:focus-visible,
html[data-theme]
.desktop-navigation-topics[open] > summary {
    border-color:
        var(--ui-border-strong);

    background:
        var(--ui-accent-soft);

    color:
        var(--ui-accent-hover);

    box-shadow: none;
}

/* ---------------------------------------------------------
 * Theme-Schalter
 * --------------------------------------------------------- */

html[data-theme] .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.65rem;
    min-width: 3.65rem;
    height: 2rem;
    min-height: 2rem;
    padding: 0.15rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ui-accent-hover);
    cursor: pointer;
    appearance: none;
}

html[data-theme] .theme-toggle:hover {
    background: transparent;
    color: var(--ui-accent);
    transform: translateY(-1px);
}

html[data-theme] .theme-toggle:focus-visible {
    outline:
        3px solid
        var(--ui-accent);

    outline-offset: 3px;
}

.theme-toggle-graphic {
    display: block;
    width: 3.25rem;
    height: 1.625rem;
    background-color: currentColor;
    transition:
        background-color 160ms ease,
        transform 160ms ease;
}

.theme-toggle-graphic-light {
    -webkit-mask:
        url("light-mode-toggle-icon.svg")
        center / contain
        no-repeat;

    mask:
        url("light-mode-toggle-icon.svg")
        center / contain
        no-repeat;
}

.theme-toggle-graphic-dark {
    -webkit-mask:
        url("dark-mode-toggle-icon.svg")
        center / contain
        no-repeat;

    mask:
        url("dark-mode-toggle-icon.svg")
        center / contain
        no-repeat;
}

.theme-toggle [hidden] {
    display: none !important;
}

.desktop-theme-slot {
    display: flex;
    align-items: center;
    align-self: stretch;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left:
        1px solid
        var(--ui-border);
}

/* ---------------------------------------------------------
 * Desktop-Themenmenü
 * --------------------------------------------------------- */

html[data-theme]
.desktop-navigation-panel {
    border-color:
        var(--ui-border);

    background:
        var(--ui-surface);

    color:
        var(--ui-text);

    box-shadow:
        var(--ui-shadow);
}

html[data-theme]
.desktop-navigation-panel::before {
    border-color:
        var(--ui-border);

    background:
        var(--ui-surface);
}

html[data-theme]
.desktop-navigation-panel strong {
    color:
        var(--ui-heading);
}

html[data-theme]
.desktop-navigation-panel p,
html[data-theme]
.desktop-navigation-panel small,
html[data-theme]
.desktop-navigation-panel header span {
    color:
        var(--ui-muted);
}

html[data-theme]
.desktop-navigation-panel a,
html[data-theme]
.desktop-navigation-panel a:visited {
    border:
        1px solid
        var(--ui-border);

    background:
        var(--ui-surface-soft);

    color:
        var(--ui-text);

    box-shadow: none;
}

html[data-theme]
.desktop-navigation-panel a:hover,
html[data-theme]
.desktop-navigation-panel a:focus-visible {
    border-color:
        var(--ui-border-strong);

    background:
        var(--ui-surface-raised);

    color:
        var(--ui-accent-hover);
}

html[data-theme]
.desktop-navigation-panel
.navigation-arrow {
    color:
        var(--ui-accent);
}

/* ---------------------------------------------------------
 * Hero- und Seitenköpfe
 * --------------------------------------------------------- */

html[data-theme]
.hero-section,
html[data-theme]
.page-heading,
html[data-theme]
.article-header {
    background:
        radial-gradient(
            circle at 94% 8%,
            color-mix(
                in srgb,
                var(--ui-accent) 10%,
                transparent
            ),
            transparent 25rem
        ),
        linear-gradient(
            135deg,
            var(--ui-hero-start) 0%,
            var(--ui-hero-middle) 52%,
            var(--ui-hero-end) 100%
        );

    color:
        var(--ui-text);
}

html[data-theme]
.hero-section h1,
html[data-theme]
.page-heading h1,
html[data-theme]
.article-header h1,
html[data-theme]
.section-heading h2 {
    color:
        var(--ui-heading);
}

html[data-theme]
.hero-section p,
html[data-theme]
.page-heading p,
html[data-theme]
.article-header p {
    color:
        var(--ui-text);
}

html[data-theme] .eyebrow {
    color:
        var(--ui-accent-hover);
}

/* ---------------------------------------------------------
 * Inhaltssektionen und Karten
 * --------------------------------------------------------- */

html[data-theme]
.content-section {
    background:
        var(--ui-page);

    color:
        var(--ui-text);
}

html[data-theme]
.content-section.section-muted,
html[data-theme]
.section-muted {
    background:
        var(--ui-page-alternate);
}

html[data-theme]
.article-card,
html[data-theme]
.category-card,
html[data-theme]
.featured-article,
html[data-theme]
.article-sidebar-card,
html[data-theme]
.article-sources,
html[data-theme]
.empty-state {
    border-color:
        var(--ui-border);

    background:
        var(--ui-surface);

    color:
        var(--ui-text);

    box-shadow:
        var(--ui-shadow);
}

html[data-theme]
.article-card:hover,
html[data-theme]
.article-card:focus-within,
html[data-theme]
.category-card:hover,
html[data-theme]
.category-card:focus-visible {
    border-color:
        var(--ui-border-strong);

    background:
        var(--ui-surface-raised);

    box-shadow:
        0 1.15rem 2.75rem
        rgba(0, 0, 0, 0.12);
}

html[data-theme]
.category-card strong,
html[data-theme]
.article-card h3,
html[data-theme]
.article-card h3 a,
html[data-theme]
.featured-article h2,
html[data-theme]
.featured-article h2 a {
    color:
        var(--ui-heading);
}

html[data-theme]
.category-card span,
html[data-theme]
.category-card p,
html[data-theme]
.article-card-excerpt,
html[data-theme]
.featured-article p:not(.eyebrow) {
    color:
        var(--ui-text);
}

html[data-theme]
.category-card small,
html[data-theme]
.article-card-meta,
html[data-theme]
.article-card-meta span {
    color:
        var(--ui-muted);
}

html[data-theme]
.article-card-category,
html[data-theme]
.article-card-category > a,
html[data-theme]
.article-card-category > a:visited {
    color:
        var(--ui-accent-hover);
}

html[data-theme]
.article-card-category > a {
    background:
        var(--ui-accent-soft);
}

html[data-theme]
.article-card-category > a:hover,
html[data-theme]
.article-card-category > a:focus-visible {
    background:
        var(--ui-accent-soft-hover);

    color:
        var(--ui-accent-hover);
}

/* ---------------------------------------------------------
 * Artikel
 * --------------------------------------------------------- */

html[data-theme]
.article-content,
html[data-theme]
.article-content p,
html[data-theme]
.article-content li,
html[data-theme]
.article-sidebar-card p,
html[data-theme]
.article-sidebar-card li,
html[data-theme]
.article-sources p,
html[data-theme]
.article-sources li {
    color:
        var(--ui-text);
}

html[data-theme]
.article-content h2,
html[data-theme]
.article-content h3,
html[data-theme]
.article-content h4,
html[data-theme]
.article-sidebar-card h2,
html[data-theme]
.article-sidebar-card strong,
html[data-theme]
.article-sources h2 {
    color:
        var(--ui-heading);
}

html[data-theme]
.article-content a,
html[data-theme]
.article-sources a {
    color:
        var(--ui-accent-hover);

    text-decoration-color:
        currentColor;
}

html[data-theme]
.article-content a:hover,
html[data-theme]
.article-content a:focus-visible,
html[data-theme]
.article-sources a:hover,
html[data-theme]
.article-sources a:focus-visible {
    color:
        var(--ui-accent);
}

html[data-theme]
.article-meta,
html[data-theme]
.article-meta span,
html[data-theme]
.article-meta time,
html[data-theme]
.breadcrumbs,
html[data-theme]
.breadcrumbs [aria-current="page"] {
    color:
        var(--ui-muted);
}

html[data-theme]
.breadcrumbs a {
    color:
        var(--ui-accent-hover);
}

html[data-theme]
.article-content blockquote {
    border-color:
        var(--ui-accent);

    background:
        var(--ui-surface-raised);

    color:
        var(--ui-text);
}

html[data-theme]
.article-content code,
html[data-theme]
.article-content pre {
    border-color:
        var(--ui-border);

    background:
        var(--ui-surface-soft);

    color:
        var(--ui-text);
}

html[data-theme]
.article-table-scroll {
    border-color:
        var(--ui-border);

    background:
        var(--ui-surface);

    box-shadow: none;
}

html[data-theme]
.article-table-scroll th {
    border-color:
        var(--ui-border);

    background:
        var(--ui-surface-raised);

    color:
        var(--ui-heading);
}

html[data-theme]
.article-table-scroll td {
    border-color:
        var(--ui-border);

    background:
        var(--ui-surface);

    color:
        var(--ui-text);
}

/* ---------------------------------------------------------
 * Rechtstextseiten
 * --------------------------------------------------------- */

html[data-theme]
.legal-page {
    background:
        linear-gradient(
            180deg,
            var(--ui-page-alternate) 0%,
            var(--ui-page) 24rem,
            var(--ui-page) 100%
        );

    color:
        var(--ui-text);
}

html[data-theme]
.legal-page-header {
    border-color:
        var(--ui-border);

    background:
        transparent;

    color:
        var(--ui-text);
}

html[data-theme]
.legal-page-header h1,
html[data-theme]
.legal-content h2,
html[data-theme]
.legal-content h3 {
    color:
        var(--ui-heading);
}

html[data-theme]
.legal-page-header p,
html[data-theme]
.legal-content,
html[data-theme]
.legal-content p,
html[data-theme]
.legal-content li,
html[data-theme]
.legal-address,
html[data-theme]
.legal-contact-list {
    color:
        var(--ui-text);
}

html[data-theme]
.legal-content {
    border: 0;
    background: transparent;
    box-shadow: none;
}

html[data-theme]
.legal-content section {
    border-color:
        var(--ui-border);

    background:
        transparent;
}

html[data-theme]
.legal-content dt,
html[data-theme]
.legal-content th,
html[data-theme]
.legal-contact-label {
    color:
        var(--ui-muted);
}

html[data-theme]
.legal-content strong {
    color:
        var(--ui-heading);
}

html[data-theme]
.legal-content a,
html[data-theme]
.legal-content a:visited {
    color:
        var(--ui-accent-hover);
}

html[data-theme]
.legal-content a:hover,
html[data-theme]
.legal-content a:focus-visible {
    color:
        var(--ui-accent);
}

/* ---------------------------------------------------------
 * Footer
 * --------------------------------------------------------- */

html[data-theme]
.site-footer {
    border-color:
        var(--ui-border);

    background:
        var(--ui-footer);

    color:
        var(--ui-footer-text);
}

html[data-theme]
.site-footer strong,
html[data-theme]
.site-footer p,
html[data-theme]
.site-footer a {
    color:
        var(--ui-footer-text);
}

html[data-theme]
.site-footer a:hover,
html[data-theme]
.site-footer a:focus-visible {
    color:
        var(--ui-accent-hover);
}

/* ---------------------------------------------------------
 * Mobile Navigation
 * --------------------------------------------------------- */

html[data-theme]
.mobile-navigation-overlay {
    background:
        var(--ui-overlay);
}

@media (max-width: 900px) {
    .desktop-theme-slot {
        display: none;
    }

    .mobile-theme-slot {
        display: flex;
        align-items: center;
        margin-left: auto;
        padding-left: 0.9rem;
        border-left:
            1px solid
            var(--ui-border-strong);
    }

    html[data-theme]
    .mobile-navigation {
        border-color:
            var(--ui-border-strong);

        background:
            linear-gradient(
                180deg,
                var(--ui-drawer-start) 0%,
                var(--ui-drawer-middle) 48%,
                var(--ui-drawer-end) 100%
            );

        color:
            var(--ui-text);

        box-shadow:
            -1.5rem 0 4rem
            rgba(0, 0, 0, 0.24);
    }

    html[data-theme]
    .mobile-navigation-header,
    html[data-theme]
    .mobile-navigation-content,
    html[data-theme]
    .mobile-navigation-footer {
        background:
            transparent;
    }

    html[data-theme]
    .mobile-navigation-header {
        border-color:
            var(--ui-border);
    }

    html[data-theme]
    .mobile-navigation-header strong {
        color:
            var(--ui-heading);
    }

    html[data-theme]
    .mobile-navigation-header span {
        color:
            var(--ui-muted);
    }

    html[data-theme]
    .mobile-navigation-close {
        border-color:
            var(--ui-border-strong);

        background:
            var(--ui-surface);

        color:
            var(--ui-heading);
    }

    html[data-theme]
    .mobile-navigation-close:hover,
    html[data-theme]
    .mobile-navigation-close:focus-visible {
        background:
            var(--ui-surface-raised);

        color:
            var(--ui-accent-hover);
    }

    html[data-theme]
    .mobile-navigation-primary a,
    html[data-theme]
    .mobile-navigation-topics > summary {
        color:
            var(--ui-text);
    }

    html[data-theme]
    .mobile-navigation-primary a:hover,
    html[data-theme]
    .mobile-navigation-primary a:focus-visible,
    html[data-theme]
    .mobile-navigation-topics > summary:hover,
    html[data-theme]
    .mobile-navigation-topics > summary:focus-visible {
        background:
            var(--ui-accent-soft);

        color:
            var(--ui-accent-hover);
    }

    html[data-theme]
    .mobile-navigation-topics {
        border-color:
            var(--ui-border);
    }

    html[data-theme]
    .mobile-navigation-categories a,
    html[data-theme]
    .mobile-navigation-categories a:visited {
        border:
            1px solid
            var(--ui-border);

        background:
            var(--ui-surface);

        color:
            var(--ui-text);
    }

    html[data-theme]
    .mobile-navigation-categories a:hover,
    html[data-theme]
    .mobile-navigation-categories a:focus-visible {
        border-color:
            var(--ui-border-strong);

        background:
            var(--ui-surface-raised);

        color:
            var(--ui-accent-hover);
    }

    html[data-theme]
    .mobile-navigation-footer {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.85rem;
        border-color:
            var(--ui-border);
    }

    html[data-theme]
    .mobile-navigation-footer a {
        color:
            var(--ui-muted);
    }

    html[data-theme]
    .mobile-navigation-footer a:hover,
    html[data-theme]
    .mobile-navigation-footer a:focus-visible {
        color:
            var(--ui-accent-hover);
    }
}

@media (min-width: 901px) {
    .mobile-theme-slot {
        display: none;
    }

    .site-navigation {
        flex: 1 1 auto;
        justify-content: flex-end;
    }
}

/* ---------------------------------------------------------
 * Bewegung, Systemstandard und Kontrastmodus
 * --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .theme-toggle,
    .theme-toggle-graphic {
        transition: none;
        transform: none;
    }
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        background: #121619;
    }

    :root:not([data-theme]) body {
        background: #121619;
        color: #dce4df;
    }
}

@media (forced-colors: active) {
    .theme-toggle {
        color: ButtonText !important;
        background: ButtonFace !important;
        forced-color-adjust: auto;
    }

    .desktop-theme-slot,
    .mobile-theme-slot {
        border-color: ButtonText !important;
    }
}

/* COMPAROVO_MOBILE_MENU_BUTTON_THEME_START */

/*
 * Mobiler Menübutton.
 *
 * Die Komponente erhält in beiden Themes eine
 * klar definierte Oberfläche. Alte fest codierte
 * Light-Mode-Farben können dadurch im Dark Mode
 * nicht mehr durchschlagen.
 */

@media (max-width: 900px) {
    html[data-theme]
    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        min-width: 5rem;
        min-height: 2.75rem;
        padding: 0.55rem 0.78rem;
        border:
            1px solid
            var(--ui-border-strong);
        border-radius: 0.75rem;
        background:
            var(--ui-accent-soft);
        color:
            var(--ui-heading);
        box-shadow:
            0 0.35rem 1rem
            rgba(23, 63, 41, 0.08);
        font: inherit;
        font-size: 0.86rem;
        font-weight: 750;
        line-height: 1;
        cursor: pointer;
        transition:
            background-color 150ms ease,
            border-color 150ms ease,
            color 150ms ease,
            box-shadow 150ms ease,
            transform 150ms ease;
    }

    html[data-theme]
    .mobile-menu-button svg {
        width: 1.1rem;
        height: 1.1rem;
        flex: 0 0 auto;
        color: inherit;
        stroke: currentColor;
        opacity: 0.92;
    }

    html[data-theme]
    .mobile-menu-button:hover,
    html[data-theme]
    .mobile-menu-button:focus-visible {
        border-color:
            var(--ui-accent);
        background:
            var(--ui-accent-soft-hover);
        color:
            var(--ui-accent-hover);
        box-shadow:
            0 0.5rem 1.2rem
            rgba(23, 63, 41, 0.12);
        transform:
            translateY(-1px);
    }

    html[data-theme]
    .mobile-menu-button[aria-expanded="true"] {
        border-color:
            var(--ui-accent);
        background:
            var(--ui-accent-soft-hover);
        color:
            var(--ui-accent-hover);
    }

    /*
     * Light Mode
     *
     * Text #143d27 auf #eef6f1: 11,06:1
     */

    html[data-theme="light"]
    .mobile-menu-button {
        border-color:
            #bcd2c3;
        background:
            #eef6f1;
        color:
            #143d27;
    }

    html[data-theme="light"]
    .mobile-menu-button:hover,
    html[data-theme="light"]
    .mobile-menu-button:focus-visible,
    html[data-theme="light"]
    .mobile-menu-button[aria-expanded="true"] {
        border-color:
            #1d6a35;
        background:
            #dfeee4;
        color:
            #15552a;
    }

    /*
     * Dark Mode
     *
     * Text #e2e7ea auf #1d2428: 12,62:1
     * Hover #a4ebba auf #263036: 9,73:1
     */

    html[data-theme="dark"]
    .mobile-menu-button {
        border-color:
            #46544d;
        background:
            #1d2428;
        color:
            #e2e7ea;
        box-shadow:
            inset 0 1px 0
            rgba(255, 255, 255, 0.035),
            0 0.4rem 1rem
            rgba(0, 0, 0, 0.22);
    }

    html[data-theme="dark"]
    .mobile-menu-button:hover,
    html[data-theme="dark"]
    .mobile-menu-button:focus-visible {
        border-color:
            #78d998;
        background:
            #263036;
        color:
            #a4ebba;
        box-shadow:
            inset 0 1px 0
            rgba(255, 255, 255, 0.045),
            0 0.55rem 1.3rem
            rgba(0, 0, 0, 0.3);
    }

    html[data-theme="dark"]
    .mobile-menu-button[aria-expanded="true"] {
        border-color:
            #78d998;
        background:
            #20392a;
        color:
            #a4ebba;
    }
}

/* COMPAROVO_MOBILE_MENU_BUTTON_THEME_END */

/* COMPAROVO_THEME_SYSTEM_END */

/* COMPAROVO_FEATURED_FACTS_THEME_START */

/*
 * Metadatenspalte des hervorgehobenen Artikels.
 *
 * Die bisherige feste Light-Mode-Farbe #526174
 * wird durch semantische Theme-Farben ersetzt.
 */

html[data-theme]
.featured-facts {
    border-left-color:
        var(--ui-border-strong);

    color:
        var(--ui-muted);

    font-variant-numeric:
        tabular-nums;
}

html[data-theme]
.featured-facts > * {
    color:
        inherit;
}

html[data-theme]
.featured-facts > :first-child,
html[data-theme]
.featured-facts a {
    color:
        var(--ui-accent-hover);

    font-weight: 700;
}

html[data-theme]
.featured-facts a:hover,
html[data-theme]
.featured-facts a:focus-visible {
    color:
        var(--ui-accent);
}

/*
 * Explizite neutrale Abstufung für den Dark Mode.
 *
 * Metadaten: #c6d0ca auf #1d2428 = 9,94:1
 * Akzent:    #a4ebba auf #1d2428 = 11,36:1
 */

html[data-theme="dark"]
.featured-facts {
    border-left-color:
        #53635b;

    color:
        #c6d0ca;
}

html[data-theme="dark"]
.featured-facts > :first-child,
html[data-theme="dark"]
.featured-facts a {
    color:
        #a4ebba;
}

html[data-theme="dark"]
.featured-facts a:hover,
html[data-theme="dark"]
.featured-facts a:focus-visible {
    color:
        #c7f4d3;
}

/* COMPAROVO_FEATURED_FACTS_THEME_END */

/* COMPAROVO_ARTICLE_READER_START */

/*
 * Kompakte Vorleseleiste.
 *
 * Im Ruhezustand wird nur der Startbutton
 * dargestellt. Weitere Bedienelemente erscheinen
 * erst während der Wiedergabe.
 */

.article-reader {
    width:
        min(
            1180px,
            calc(100% - 2rem)
        );
    margin: 1rem auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color:
        var(--ui-text);
    box-shadow: none;
}

.article-reader[hidden],
.article-reader-secondary[hidden] {
    display: none !important;
}

.article-reader-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 2.75rem;
}

.article-reader-secondary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.article-reader-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.48rem 0.72rem;
    border:
        1px solid
        var(--ui-border-strong);
    border-radius: 999px;
    background:
        var(--ui-surface-soft);
    color:
        var(--ui-heading);
    box-shadow: none;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 150ms ease,
        border-color 150ms ease,
        color 150ms ease;
}

.article-reader-button svg {
    width: 0.92rem;
    height: 0.92rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.article-reader-button:hover,
.article-reader-button:focus-visible {
    border-color:
        var(--ui-accent);
    background:
        var(--ui-accent-soft);
    color:
        var(--ui-accent-hover);
}

.article-reader-button-primary {
    border-color:
        var(--ui-border-strong);
    background:
        var(--ui-surface-soft);
    color:
        var(--ui-accent-hover);
}

.article-reader.is-active
.article-reader-button-primary {
    border-color:
        var(--ui-accent);
    background:
        var(--ui-accent-soft);
}

.article-reader-button:disabled {
    color:
        var(--ui-muted);
    cursor: not-allowed;
    opacity: 0.55;
}

.article-reader-speed {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.5rem;
    color:
        var(--ui-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.article-reader-speed select {
    min-height: 2.5rem;
    padding: 0.35rem 1.8rem 0.35rem 0.6rem;
    border:
        1px solid
        var(--ui-border-strong);
    border-radius: 999px;
    background:
        var(--ui-surface);
    color:
        var(--ui-text);
    font: inherit;
    font-weight: 700;
}

.article-reader-status {
    margin: 0 0 0 0.25rem;
    color:
        var(--ui-muted);
    font-size: 0.76rem;
}

.article-reader-status:empty {
    display: none;
}

.article-header h1.is-being-read,
.article-lead.is-being-read,
.article-content
.is-being-read {
    border-radius: 0.2rem;
    box-shadow:
        0 0 0 0.35rem
        var(--ui-accent-soft);
    scroll-margin-top: 8rem;
}

html[data-theme="dark"]
.article-reader-button {
    border-color:
        var(--ui-border-strong);
    background:
        var(--ui-surface);
    color:
        var(--ui-text);
}

html[data-theme="dark"]
.article-reader-button-primary {
    color:
        var(--ui-accent-hover);
}

html[data-theme="dark"]
.article-reader-button:hover,
html[data-theme="dark"]
.article-reader-button:focus-visible,
html[data-theme="dark"]
.article-reader.is-active
.article-reader-button-primary {
    border-color:
        var(--ui-accent);
    background:
        var(--ui-accent-soft);
    color:
        var(--ui-accent-hover);
}

@media (max-width: 620px) {
    .article-reader {
        width:
            min(
                100% - 1rem,
                1180px
            );
        margin-top: 0.75rem;
    }

    .article-reader-bar {
        align-items: flex-start;
    }

    .article-reader-secondary {
        width: 100%;
    }

    .article-reader-status {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 390px) {
    .article-reader-button {
        padding-right: 0.6rem;
        padding-left: 0.6rem;
        font-size: 0.76rem;
    }

    .article-reader-speed {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-reader-button {
        transition: none;
    }
}

@media (forced-colors: active) {
    .article-reader-button,
    .article-reader-speed select {
        border-color: ButtonText;
        background: ButtonFace;
        color: ButtonText;
    }

    .article-header h1.is-being-read,
    .article-lead.is-being-read,
    .article-content
    .is-being-read {
        outline:
            3px solid
            Highlight;
        box-shadow: none;
    }
}

/* COMPAROVO_ARTICLE_READER_DOCK_START */

:root {
    --article-reader-dock-height: 0px;
}

body.article-reader-playing
.site-main {
    padding-bottom:
        calc(
            var(
                --article-reader-dock-height
            )
            + 1.5rem
        );
}

/*
 * Desktop: kompakter Player unten rechts.
 */

.article-reader.is-active {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: auto;
    z-index: 170;
    width:
        min(
            42rem,
            calc(100vw - 2rem)
        );
    margin: 0;
    padding: 0.7rem 0.8rem;
    border:
        1px solid
        var(--ui-border-strong);
    border-radius: 1rem;
    background:
        var(--ui-surface);
    box-shadow:
        0 1.2rem 3.5rem
        rgba(0, 0, 0, 0.22);
    backdrop-filter:
        blur(16px);
    -webkit-backdrop-filter:
        blur(16px);
}

.article-reader.is-active
.article-reader-bar {
    align-items: center;
    gap: 0.45rem;
}

.article-reader.is-active
.article-reader-secondary {
    flex: 1 1 auto;
}

.article-reader.is-active
.article-reader-status {
    flex: 1 1 100%;
    width: 100%;
    margin: 0.35rem 0 0;
    padding-top: 0.45rem;
    border-top:
        1px solid
        var(--ui-border);
}

.article-reader.is-active
.article-reader-button,
.article-reader.is-active
.article-reader-speed select {
    min-height: 2.6rem;
}

.article-reader.is-active
.article-reader-button:focus-visible,
.article-reader.is-active
.article-reader-speed
select:focus-visible {
    outline:
        3px solid
        var(--ui-accent);
    outline-offset: 2px;
}

html[data-theme="dark"]
.article-reader.is-active {
    border-color:
        var(--ui-border-strong);
    background:
        var(--ui-surface);
    box-shadow:
        0 1.3rem 4rem
        rgba(0, 0, 0, 0.5);
}

/*
 * Smartphone: Player über die verfügbare Breite.
 */

@media (max-width: 700px) {
    body.article-reader-playing
    .site-main {
        padding-bottom:
            calc(
                var(
                    --article-reader-dock-height
                )
                + 1rem
            );
    }

    .article-reader.is-active {
        right: 0.5rem;
        bottom:
            calc(
                0.5rem
                + env(
                    safe-area-inset-bottom,
                    0px
                )
            );
        left: 0.5rem;
        width: auto;
        padding: 0.55rem;
        border-radius: 0.9rem;
    }

    .article-reader.is-active
    .article-reader-bar {
        display: grid;
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
        gap: 0.45rem;
        width: 100%;
    }

    .article-reader.is-active
    .article-reader-secondary {
        display: contents;
    }

    .article-reader.is-active
    .article-reader-button {
        width: 100%;
        min-width: 0;
        min-height: 2.75rem;
        padding-right: 0.4rem;
        padding-left: 0.4rem;
        border-radius: 0.65rem;
        font-size: 0.76rem;
    }

    .article-reader.is-active
    .article-reader-speed {
        grid-column: 1 / -1;
        justify-content: space-between;
        width: 100%;
        min-height: 2.5rem;
        padding: 0 0.2rem;
    }

    .article-reader.is-active
    .article-reader-speed select {
        min-width: 6rem;
    }

    .article-reader.is-active
    .article-reader-status {
        grid-column: 1 / -1;
        margin-top: 0;
        font-size: 0.72rem;
        line-height: 1.35;
    }
}

@media (max-width: 390px) {
    .article-reader.is-active
    .article-reader-button {
        min-height: 3rem;
        font-size: 0.72rem;
    }

    .article-reader.is-active
    .article-reader-button svg {
        width: 0.85rem;
        height: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-reader.is-active {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@media (forced-colors: active) {
    .article-reader.is-active {
        border:
            2px solid
            CanvasText;
        background:
            Canvas;
        color:
            CanvasText;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* COMPAROVO_ARTICLE_READER_DOCK_END */

/* COMPAROVO_ARTICLE_READER_END */
