:root {
    color-scheme: light;
    --page-background: #eceeef;
    --surface: #f7f8f8;
    --surface-raised: #e2e5e7;
    --theme-border: #cdd1d4;
    --color-cream: var(--page-background);
    --color-white: var(--surface);
    --color-gray-light: #666b70;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --page-background: #17191b;
    --surface: #222528;
    --surface-raised: #2c3034;
    --theme-border: #474c52;
    --color-black: #eceef0;
    --color-gray: #b6bcc2;
    --color-gray-light: #a6adb5;
    --color-primary: #ecc8f5;
    --color-primary-light: #f4ddfa;
    --color-primary-dark: #ecc8f5;
    --color-purple: #ecc8f5;
    --color-red: #ff9aac;
    --color-red-dark: #ffafbc;
}

html body,
html main:has(> .archive-hero),
html main:has(> .archive-hero) .podcast-page-body {
    background: var(--page-background);
}

html .site-header,
html .site-header.scrolled {
    background: var(--page-background);
    border-color: var(--theme-border);
}

.color-mode-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    color: var(--color-black);
    border: 1px solid var(--theme-border);
    border-radius: 50%;
    cursor: pointer;
    margin-left: 12px;
}

.color-mode-toggle:hover { background: var(--surface-raised); }
.color-mode-icon { display: block; width: 18px; height: 18px; background: currentColor; }
.color-mode-icon {
    mask: url('../icons/moon.svg') center / contain no-repeat;
    -webkit-mask: url('../icons/moon.svg') center / contain no-repeat;
}
[data-theme="dark"] .color-mode-icon {
    mask-image: url('../icons/sun.svg');
    -webkit-mask-image: url('../icons/sun.svg');
}

html :is(button, a, input, select, textarea):focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

html[data-theme="dark"] :is(input, select, textarea) {
    background-color: var(--surface);
    color: var(--color-black);
    border-color: var(--theme-border);
}
html[data-theme="dark"] ::placeholder { color: var(--color-gray); opacity: 1; }
html[data-theme="dark"] ::selection { background: #634f71; color: #fff; }
html[data-theme="dark"] :is(.site-footer, .back-to-top) { background: #101112; color: #eceef0; }
html[data-theme="dark"] :is(.mega-menu, .mobile-nav) { background: var(--surface); border-color: var(--theme-border); }
html[data-theme="dark"] :is(.hero-top, .hero-bottom) { background: var(--page-background); color: var(--color-black); }
html[data-theme="dark"] :is(.hero-title, .hero-year, .hero-credentials) { color: var(--color-black); }
html[data-theme="dark"] :is(.year-btn.current, .mobile-year-btn.current) { background: var(--surface-raised); color: var(--color-black); }
html[data-theme="dark"] :is(.filter-btn.active, .checkbox-btn.checked, .homepage-year-link.featured) { background: #674475; color: #fff; border-color: #90669f; }
html[data-theme="dark"] :is(.news-archive-card-source, .active-filter-tag) { background: var(--surface-raised); color: var(--color-primary); }
html[data-theme="dark"] :is(.homepage-photos-grid, .component-gallery .gallery-grid) { background: var(--page-background); }

@media (max-width: 767px) {
    .color-mode-toggle { width: 34px; height: 34px; flex-basis: 34px; margin-left: 8px; margin-right: 8px; }
    .header-inner .site-logo { min-width: 0; margin-right: auto; }
    .header-inner .logo-main { white-space: normal; font-size: 12px; line-height: 1.2; }
    .header-inner .logo-sub { font-size: 7px; letter-spacing: 0; }
    .header-inner .menu-toggle { width: 36px; min-width: 36px; padding: 4px; flex-shrink: 0; }
    .header-inner .menu-toggle-label { display: none; }
}

.mobile-nav-language { display: none; }
@media (max-width: 360px) {
    .header-inner > .archive-language-switcher { display: none; }
    .mobile-nav-language { display: block; padding: 12px 0; }
    .mobile-nav-language .archive-language-switcher { margin-left: 0; }
}

html[data-theme="dark"] .hero-image::after,
html[data-theme="dark"] .hero-image-bottom-wave { background: var(--page-background); }

/* Neutral surfaces and text in component styles. */
html[data-theme="dark"] :is(.catlakzemin-hero-custom-section-handle .dashicons) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.catlakzemin-hero-custom-section-row) {
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.catlakzemin-hero-custom-section-placeholder) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.catlakzemin-hero-custom-section-row.postbox) {
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.catlakzemin-hero-custom-section-toggle) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.catlakzemin-hero-custom-section-toggle-icon) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.catlakzemin-hero-custom-section-body) {
    border-top-color: var(--theme-border) !important;
}


html[data-theme="dark"] :is(html[data-theme="dark"] :is(.press-search input)) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(html[data-theme="dark"] :is(.ozetler-search-input)) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(html[data-theme="dark"] :is(.year-ozet-trigger:focus)) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(html[data-theme="dark"] :is(.homepage-carousel-dot-index)) {
    border-top-left-radius: inherit !important;
    border-top-right-radius: inherit !important;
    border-bottom-right-radius: inherit !important;
    border-bottom-left-radius: inherit !important;
}
html[data-theme="dark"] :is(html[data-theme="dark"] :is(.news-archive-card:focus)) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(html[data-theme="dark"] :is(.archive-search-input)) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(html[data-theme="dark"] :is(.news-item:focus)) {
    outline-color: initial !important;
}

html[data-theme="dark"] :is(.hero-image::before) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.hero-nav-link:hover, .hero-nav-link:focus) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.tab-count) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.archive-card) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.card-external-link:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.component-gallery) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.filter-btn) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.filter-btn.active) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.gallery-category) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.gallery-caption) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.lightbox-close svg) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.lightbox-nav svg) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.lightbox-info.lightbox-credentials) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.lightbox-credentials-card) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.load-more-btn) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.site-header) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.site-header.scrolled) {
    background-color: rgba(34,37,40,0.95) !important;
}
html[data-theme="dark"] :is(.mega-menu) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.mega-menu-info) {
    border-right-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.mega-menu-links) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.mega-menu-link-item) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-btn.current) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.mobile-nav-item) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.mobile-year-btn) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.mobile-year-btn:active) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.mobile-year-btn.current) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.mobile-quick-links) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.site-footer) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.footer-logo-main) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.social-link) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.footer-bottom) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.footer-legal a:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.back-to-top) {
    color: #f2f4f5 !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.press-archive-page) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.press-page-header) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.press-search input) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    outline-color: initial !important;
}
html[data-theme="dark"] :is(.press-filter-bar .checkbox-btn) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.press-filter-bar .checkbox-btn.checked) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.press-filter-bar .active-filters) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.press-results-info .sort-select) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.press-year-section .year-line) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.press-card) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.press-card .meta-tag.language) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.press-card .meta-tag.language.kurdish) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.press-card .meta-tag.language.english) {
    background-color: var(--surface) !important;
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.press-card .card-link) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.press-card .card-link:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.press-no-results .no-results-icon) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.press-archive-page .back-to-top) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.ozetler-page-header) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-search-input) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: rgba(34,37,40,0.85) !important;
    outline-color: initial !important;
}
html[data-theme="dark"] :is(.ozetler-search-input:hover) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-search-input:focus) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-toc) {
    background-color: rgba(34,37,40,0.72) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-toc-link) {
    background-color: rgba(34,37,40,0.90) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-toc-link:hover) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-card) {
    background-color: rgba(34,37,40,0.92) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-card:hover) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-card-top) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-card-link) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-card-link:hover) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-meta-value) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.ozetler-prose) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.ozetler-prose--lead) {
    color: var(--color-black) !important;
    background-color: rgba(34,37,40,0.65) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-details) {
    background-color: rgba(34,37,40,0.55) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-details .ozetler-prose--full) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-empty) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.ozetler-empty-path) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.component-year-ozet) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-ozet-trigger) {
    background-color: rgba(34,37,40,0.78) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-ozet-trigger:hover) {
    background-color: rgba(34,37,40,0.95) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-ozet-trigger:focus) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(.year-ozet-trigger-meta) {
    background-color: rgba(34,37,40,0.35) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-ozet-trigger-meta-value) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.year-ozet-dialog-panel) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-ozet-dialog-head) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-ozet-dialog-meta) {
    background-color: rgba(34,37,40,0.45) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-ozet-dialog-meta dd) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.year-ozet-dialog-prose) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.year-ozet-dialog-foot) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-adjacent-card) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-hero-overlay) {
    background-color: rgba(34,37,40,0.86) !important;
}
html[data-theme="dark"] :is(.homepage-hero-content) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-hero-cta) {
    color: #f2f4f5 !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.homepage-hero-cta:hover) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.homepage-hero-cta-primary:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-hero-stat) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.homepage-hero-stat-value) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-quick-archive-inner) {
    background-color: rgba(34,37,40,0.94) !important;
}
html[data-theme="dark"] :is(.homepage-quick-archive-link:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-quick-archive-link--accent) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-hero-scroll-line) {
    background-color: rgba(34,37,40,0.60) !important;
}
html[data-theme="dark"] :is(.homepage-section-link:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-about-collage-note) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-memory-pick-links a) {
    background-color: rgba(34,37,40,0.68) !important;
}
html[data-theme="dark"] :is(.homepage-memory-pick-links a:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-archive-card) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-archive-card::before) {
    background-color: rgba(34,37,40,0.68) !important;
}
html[data-theme="dark"] :is(.homepage-archive-card::after) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.homepage-archive-card-icon) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-archive-card-title) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-carousel-play:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-carousel-arrow) {
    background-color: rgba(34,37,40,0.92) !important;
}
html[data-theme="dark"] :is(.homepage-carousel-arrow:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-carousel-year-badge) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-carousel-title-text) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-carousel-dot.is-active) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-year-link) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.homepage-year-link:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-year-link.featured) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-podcast-content) {
    background-color: rgba(34,37,40,0.72) !important;
}
html[data-theme="dark"] :is(.homepage-podcast-cta:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.site-header.homepage-header.scrolled) {
    background-color: rgba(34,37,40,0.95) !important;
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.site-header.homepage-header:not(.scrolled) .site-logo, .site-header.homepage-header:not(.scrolled) .nav-link, .site-header.homepage-header:not(.scrolled) .menu-toggle-label) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.single-post-category:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.single-post-footer) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.single-post-share-btn:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.single-post-navigation) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.single-post-copy-link.copied::after) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.posts-pagination) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.posts-pagination .page-numbers.current) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.archive-hero) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.archive-card-category:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.archive-pagination .page-numbers) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.archive-pagination .page-numbers:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.archive-pagination .page-numbers.current) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.archive-empty-link) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.years-index-inner .default-page-prose) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.error-404-home) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.error-404-home:hover) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.site-image-lightbox__close, .site-image-lightbox__nav) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.site-image-lightbox__counter) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.homepage-carousel-dot-index) {
    border-top-left-radius: inherit !important;
    border-top-right-radius: inherit !important;
    border-bottom-right-radius: inherit !important;
    border-bottom-left-radius: inherit !important;
}
html[data-theme="dark"] :is(.fgy-uyari) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.fgy-belge) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.fgy-tr-satir + .fgy-tr-satir) {
    border-top-color: var(--theme-border) !important;
}


html[data-theme="dark"] :is(.catlakzemin-podcast-admin-row) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
}

html[data-theme="dark"] :is(.photo-archive-page .filters-stack) {
    background-color: rgba(34,37,40,0.90) !important;
}
html[data-theme="dark"] :is(.photo-archive-page .year-btn, .photo-archive-page .folder-btn) {
    background-color: rgba(34,37,40,0.68) !important;
}
html[data-theme="dark"] :is(.photo-archive-page .year-btn.active) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.photo-archive-page .folder-btn.active) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.photo-archive-page .photo-year-badge) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.photo-archive-page .photo-info) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.photo-archive-page .load-more-btn) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.photo-archive-page .lightbox-spinner) {
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.photo-archive-page .lightbox-close svg) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.photo-archive-page .lightbox-credentials-title) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.photo-archive-page .lightbox-nav svg) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.photo-archive-page .scroll-top) {
    color: #f2f4f5 !important;
}

html[data-theme="dark"] :is(.news-archive-page) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.filter-label) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.checkbox-btn) {
    color: var(--color-gray) !important;
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.checkbox-btn.checked .check-icon) {
    background-color: var(--surface) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.active-filters) {
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.active-filters-label) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.active-filter-tag) {
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.clear-all-filters) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.results-count) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.results-count strong) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.sort-select) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.no-results-icon) {
    background-color: var(--surface) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.news-archive-no-results h3) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.news-archive-no-results p) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.year-badge) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.year-count) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.year-line) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-card) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-card:focus) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(.news-archive-card-source.sfk) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-card-source.kaosgl) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-card-source.bianet) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-card-title) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.news-archive-card-year, .news-archive-card-date) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.news-archive-card-author) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.news-archive-card-type) {
    color: var(--color-gray) !important;
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.card-link) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-content) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-header) {
    background-color: var(--surface) !important;
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-title) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-year) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-close) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-close svg) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-spinner) {
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-footer) {
    background-color: var(--surface) !important;
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-nav-btn) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-nav-btn svg) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.news-archive-lightbox-counter) {
    color: var(--color-gray) !important;
}

html[data-theme="dark"] :is(.podcast-channel-panel) {
    background-color: rgba(34,37,40,0.82) !important;
}
html[data-theme="dark"] :is(.podcast-channel-copy p:not(.podcast-channel-kicker)) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.podcast-episode-card) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.podcast-episode-number span) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.podcast-episode-meta) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.podcast-episode-card p) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.podcast-episode-tags span) {
    background-color: var(--surface) !important;
}

html[data-theme="dark"] :is(.filters-section) {
    background-color: rgba(34,37,40,0.90) !important;
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.year-btn.active) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.video-thumbnail-placeholder) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.video-year-badge) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.lightbox-spinner) {
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.lightbox-close svg) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.lightbox-nav svg) {
    color: #f2f4f5 !important;
}


html[data-theme="dark"] :is(.archive-search-box .search-icon) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.archive-search-input) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(.archive-search-input::placeholder) {
    color: var(--color-gray) !important;
}

html[data-theme="dark"] ::selection {
    background: #ead0f6;
    color: #23182b;
}

html[data-theme="dark"] mark {
    background: #f0cc72 !important;
    color: #211b0d !important;
    -webkit-text-fill-color: #211b0d;
}

html[data-theme="dark"] .fgy-tr-satir.aktif {
    background: #403349;
    box-shadow: inset 3px 0 0 #ecc8f5;
}

html[data-theme="dark"] .fgy-tr-satir.eslesme { background: #423a24; }
html[data-theme="dark"] .podcast-feed-link { background: #674475; color: #fff; }
html[data-theme="dark"] .podcast-feed-link:hover,
html[data-theme="dark"] .podcast-feed-link:focus { background: #81508f; }
html[data-theme="dark"] .archive-title .highlight { background: none !important; }

html[data-theme="dark"] :is(.news-item) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.news-item:focus) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(.pdf-lightbox-content) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.pdf-lightbox-spinner) {
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    border-top-color: var(--theme-border) !important;
}

html[data-theme="dark"] :is(.component-slogans) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.slogans-title) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.slogans-card) {
    background-color: var(--surface) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.slogans-preview p) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.slogans-lightbox-container) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.slogans-lightbox-header) {
    border-bottom-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.slogans-lightbox-title) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.slogans-lightbox-close) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.slogans-lightbox-close:hover) {
    background-color: var(--surface) !important;
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.slogans-lightbox-content p) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.slogans-lightbox-content li) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.slogans-lightbox-content h2, .slogans-lightbox-content h3, .slogans-lightbox-content h4) {
    color: var(--color-black) !important;
}

html[data-theme="dark"] :is(.component-spotify) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.component-spotify .component-header h2) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.component-spotify .component-subtitle) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.spotify-item) {
    background-color: var(--surface) !important;
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.spotify-item-title) {
    color: var(--color-black) !important;
}

html[data-theme="dark"] :is(.component-video-gallery .video-thumbnail-placeholder) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.component-video-gallery .lightbox-spinner) {
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    border-top-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.component-video-gallery .lightbox-close svg) {
    color: #f2f4f5 !important;
}
html[data-theme="dark"] :is(.component-video-gallery .lightbox-nav svg) {
    color: #f2f4f5 !important;
}



html[data-theme="dark"] :is(.screen-reader-text:focus) {
    background-color: var(--surface) !important;
    color: var(--color-black) !important;
}




html[data-theme="dark"] :is(.fgy-text-tools) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.fgy-text-tools button) {
    background-color: var(--surface) !important;
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.fgy-text-tools button:hover) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.fgy-saved-quote) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.fgy-saved-quote blockquote) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.fgy-quote-source) {
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.fgy-save-button) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.fgy-save-button[aria-pressed="true"]) {
    color: var(--color-primary) !important;
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.fgy-save-button:hover) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.fgy-visitor-nav a) {
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.fgy-visitor-nav a:hover) {
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.fgy-community-page) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.fgy-community-heading) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.fgy-community-heading > a) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.fgy-saved-filters) {
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme="dark"] :is(.fgy-saved-filters button) {
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.fgy-saved-filters button[aria-pressed="true"]) {
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.fgy-saved-sort select) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.fgy-saved-count) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.fgy-saved-card > a) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.fgy-saved-preview) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.fgy-saved-preview > .dashicons) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.fgy-saved-type) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.fgy-saved-empty > .dashicons) {
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.fgy-saved-empty a) {
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.fgy-contribution-form input:not([type="checkbox"]), .fgy-contribution-form select, .fgy-contribution-form textarea) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
    color: var(--color-black) !important;
}
html[data-theme="dark"] :is(.fgy-contribution-form small) {
    color: var(--color-gray) !important;
}

html[data-theme="dark"] :is(.trp-language-item:focus) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(.trp_ald_ls_container .trp-language-switcher:not(.trp-ald-language-selector) > div) {
    border-top-color: var(--theme-border) !important;
    border-right-color: var(--theme-border) !important;
    border-bottom-color: var(--theme-border) !important;
    border-left-color: var(--theme-border) !important;
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.trp_ald_ls_container .trp-language-switcher:not(.trp-ald-language-selector) > div > a) {
    color: var(--color-primary) !important;
}
html[data-theme="dark"] :is(.trp_ald_ls_container .trp-language-switcher:not(.trp-ald-language-selector) > div > a:hover) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.trp_ald_ls_container .trp-language-switcher:not(.trp-ald-language-selector) > div > a.trp-ls-shortcode-disabled-language:hover) {
    background-color: var(--surface) !important;
}


html[data-theme="dark"] :is(.archive-title .highlight) {
    background-color: var(--surface) !important;
}
html[data-theme="dark"] :is(.archive-search-box .search-icon) {
    color: var(--color-gray) !important;
}
html[data-theme="dark"] :is(.archive-search-input) {
    outline-color: initial !important;
}
html[data-theme="dark"] :is(.archive-search-input::placeholder) {
    color: var(--color-gray) !important;
}


/* ==========================================================================
   KOYU MOD DÜZELTMELERİ
   ==========================================================================

   Sorun neydi?
   Koyu modda vurgu renkleri ters çevrildi: --color-red #c41e3a → #ff9aac,
   --color-primary #7b2d8e → #ecc8f5, --color-black #1a1a1a → #eceef0.
   Bu üçü koyu zemin üzerinde YAZI rengi olarak doğru. Ama main.css bu
   değişkenleri aynı zamanda DOLGU zemini olarak kullanıyor ve dolgunun
   üstündeki yazıyı var(--color-white) yapıyor:

       .homepage-year-link:hover { background: var(--color-red);
                                   color: var(--color-white); }

   Koyu modda bu çift kendiliğinden doğru dönüyordu — zemin açık pembe,
   yazı koyu (#222528). Fakat bu dosyanın üretilen bölümü o yazıyı
   "color: #f2f4f5 !important" ile açık griye çeviriyordu. Sonuç: açık
   pembe zemin üstünde beyaza yakın yazı, 1.82:1. Okunmuyor.
   Aynı hata --color-black dolgularında 1.05:1'e kadar iniyordu.

   İkinci sorun: hover zeminleri. rgba(0,0,0,.04) gibi siyah bir yıkama
   açık modda belli olur, koyu zeminde hiç fark etmez — fareyi üstüne
   getirince hiçbir şey olmuyormuş gibi görünüyordu. Bazı hover'lar da
   üretilen bölümün base seçicisine koyduğu "background !important"
   tarafından bütünüyle yutulmuştu.

   Çözüm: dolgu rollerini yazı rollerinden ayırmak. Vurgu rengi YAZI
   olarak açık (#ff9aac), DOLGU olarak koyu (#9e2b40) olmak zorunda;
   ikisi aynı değişken olamaz.

   Bu bölüm yalnızca [data-theme="dark"] altında iş yapar; açık mod
   hiç değişmez.

   Ölçüm: arac/kontrast/  (gerçek CSS motoruyla, getComputedStyle)
   ========================================================================== */

:root {
    /* Dolgu rolleri — zemin + üstündeki yazı birlikte tanımlanır. */
    --fill-accent: #c41e3a;
    --fill-accent-hover: #a01830;
    --fill-accent-border: #c41e3a;
    --on-fill-accent: #ffffff;

    --fill-brand: #7b2d8e;
    --fill-brand-hover: #5a1f6a;
    --fill-brand-border: #7b2d8e;
    --on-fill-brand: #ffffff;

    --fill-neutral: #1a1a1a;
    --fill-neutral-hover: #000000;
    --fill-neutral-border: #1a1a1a;
    --on-fill-neutral: #ffffff;

    /* Hover geri bildirimi. */
    --hover-wash: rgba(0, 0, 0, 0.045);
    --hover-tint-accent: rgba(196, 30, 58, 0.08);
    --hover-tint-brand: rgba(123, 45, 142, 0.08);
}

:root[data-theme="dark"] {
    /* Dolgular koyu, üstündeki yazı açık. Oranlar: yazı 5.2–9.5,
       dolgu/sayfa 1.7–3.4 (kenarlıkla sınırlandırılıyor). */
    --fill-accent: #9e2b40;
    --fill-accent-hover: #bb3a51;
    --fill-accent-border: #c9566d;
    --on-fill-accent: #ffffff;

    --fill-brand: #71497f;
    --fill-brand-hover: #8a5a9a;
    --fill-brand-border: #a273b3;
    --on-fill-brand: #ffffff;

    --fill-neutral: #3a4046;
    --fill-neutral-hover: #474e55;
    --fill-neutral-border: #5b636b;
    --on-fill-neutral: #f2f4f5;

    /* Koyu zeminde görünür olması için beyaz yıkama. */
    --hover-wash: rgba(255, 255, 255, 0.075);
    --hover-tint-accent: rgba(255, 154, 172, 0.15);
    --hover-tint-brand: rgba(236, 200, 245, 0.14);
}

/* --------------------------------------------------------------------------
   1. Vurgu (kırmızı) dolgular
   -------------------------------------------------------------------------- */

/* Dikkat: :is() özgüllüğü üyelerinin en yükseğini alır. İki sınıflı bir
   üye (.posts-pagination .page-numbers.current) grubun tamamını aynı
   öğenin :hover kuralının üstüne çıkarır, o yüzden ayrı yazılıyor. */
html[data-theme="dark"] :is(
    .archive-empty-link,
    .homepage-about-collage-note,
    .homepage-carousel-year-badge,
    .homepage-carousel-dot.is-active,
    .homepage-quick-archive-link--accent
) {
    background-color: var(--fill-accent) !important;
    border-color: var(--fill-accent-border) !important;
    color: var(--on-fill-accent) !important;
}

html[data-theme="dark"] .posts-pagination .page-numbers.current {
    background-color: var(--fill-accent) !important;
    border-color: var(--fill-accent-border) !important;
    color: var(--on-fill-accent) !important;
}

html[data-theme="dark"] :is(
    .archive-empty-link,
    .homepage-carousel-year-badge,
    .homepage-quick-archive-link--accent,
    .posts-pagination .page-numbers.current
) svg {
    color: var(--on-fill-accent) !important;
    fill: currentColor;
}

/* --------------------------------------------------------------------------
   2. Marka (mor) dolgular
   -------------------------------------------------------------------------- */

html[data-theme="dark"] :is(
    .fgy-belge,
    .tab-count,
    .tab-btn.active .tab-count,
    .filter-btn.active,
    .checkbox-btn.checked,
    .press-filter-bar .checkbox-btn.checked,
    .homepage-year-link.featured
) {
    background-color: var(--fill-brand) !important;
    border-color: var(--fill-brand-border) !important;
    color: var(--on-fill-brand) !important;
}

html[data-theme="dark"] :is(
    .press-filter-bar .checkbox-btn.checked .check-icon,
    .checkbox-btn.checked .check-icon
) {
    background-color: var(--on-fill-brand) !important;
    border-color: var(--on-fill-brand) !important;
    color: var(--fill-brand) !important;
}

/* --------------------------------------------------------------------------
   3. Nötr (siyah) dolgular
   -------------------------------------------------------------------------- */

html[data-theme="dark"] :is(
    .archive-pagination .page-numbers.current,
    .error-404-home,
    .homepage-archive-card,
    .year-adjacent-card,
    .year-btn.current,
    .mobile-year-btn.current
) {
    background-color: var(--fill-neutral) !important;
    border-color: var(--fill-neutral-border) !important;
    color: var(--on-fill-neutral) !important;
}

/* Kartın üstündeki başlık/ikon da aynı dolgunun üstünde duruyor. */
html[data-theme="dark"] :is(
    .homepage-archive-card-title,
    .homepage-archive-card-icon,
    .year-adjacent-card-title,
    .year-adjacent-card-label
) {
    color: var(--on-fill-neutral) !important;
}

/* --------------------------------------------------------------------------
   4. Hover geri bildirimi
   Koyu zeminde siyah yıkama görünmez; beyaz yıkamaya çevriliyor.
   -------------------------------------------------------------------------- */

html[data-theme="dark"] :is(
    .nav-link:hover,
    .year-ozet-dialog-close:hover,
    .fgy-tr-atla:hover,
    .lightbox-close:hover,
    .lightbox-nav:hover,
    .slogans-lightbox-close:hover,
    .news-archive-lightbox-close:hover,
    .fgy-text-tools button:hover,
    .fgy-save-button:hover
) {
    background-color: var(--hover-wash) !important;
}

html[data-theme="dark"] :is(
    .card-tag:hover,
    .single-post-tag:hover,
    .single-post-nav-link:hover,
    .posts-pagination .page-numbers:hover,
    .homepage-carousel-dot:hover,
    .archive-load-more:hover
) {
    background-color: var(--hover-tint-accent) !important;
}

html[data-theme="dark"] :is(
    .tab-btn:hover,
    .tab-btn.active,
    .filter-btn:hover,
    .press-filter-bar .checkbox-btn:hover,
    .ozetler-toc-link:hover,
    .ozetler-card:hover
) {
    background-color: var(--hover-tint-brand) !important;
}

/* Vurgu rengi YAZI olarak kullanıldığında koyu modun açık tonu doğrudur;
   main.css'teki sabit #7b2d8e / #c41e3a / #5a1f6a değerleri değil. */
html[data-theme="dark"] :is(
    .tab-btn:hover,
    .tab-btn.active,
    .card-tag:hover,
    .filter-btn:hover,
    .press-filter-bar .checkbox-btn:hover,
    .card-expand:hover,
    .archive-load-more:hover
) {
    color: var(--color-primary) !important;
}

html[data-theme="dark"] :is(
    .nav-item.active .nav-link,
    .mega-menu-link-item:hover,
    .mega-menu-link-item:hover span,
    .footer-nav-list a:hover,
    .footer-year-link:hover,
    .footer-year-link.current,
    .single-post-tag:hover,
    .single-post-nav-link:hover .single-post-nav-title,
    .posts-pagination .page-numbers:hover,
    .single-post-content-inner a:hover
) {
    color: var(--color-red) !important;
}

/* Açık modda beyaz yıkamayla açılan yüzeyler koyu modda açık kalıyordu. */
html[data-theme="dark"] :is(
    .ozetler-search-input:hover,
    .ozetler-search-input:focus,
    .year-ozet-trigger:hover,
    .year-ozet-trigger:hover .year-ozet-trigger-action
) {
    background-color: var(--surface-raised) !important;
    color: var(--color-black) !important;
}

/* --------------------------------------------------------------------------
   5. Her iki modda da zayıf olan sabit renkler
   -------------------------------------------------------------------------- */

/* Dil etiketleri: #1976d2 ve #e65100 iki modda da eşiğin altındaydı. */
html[data-theme="dark"] .press-card .meta-tag.language {
    color: #8fc4f5 !important;
}
html[data-theme="dark"] .press-card .meta-tag.language.kurdish {
    color: #f0a86a !important;
}
html[data-theme="dark"] .press-card .meta-tag.language.english {
    color: var(--color-primary) !important;
}

/* Eklenti düğmeleri tarayıcı varsayılan zeminine güveniyordu; koyu modda
   bu gri bir yüzey oluyor ve soluk lila yazı 3.59:1'de kalıyordu. */
html[data-theme="dark"] :is(
    .fgy-saved-filters button,
    .fgy-saved-filters button[aria-pressed="true"]
) {
    background-color: var(--surface) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="dark"] .fgy-saved-filters button[aria-pressed="true"] {
    background-color: var(--fill-brand) !important;
    border-color: var(--fill-brand-border) !important;
    color: var(--on-fill-brand) !important;
}

/* --------------------------------------------------------------------------
   6. Odak halkası
   Vurgu dolgularının üstünde duran odak halkası görünür kalmalı.
   -------------------------------------------------------------------------- */

html[data-theme="dark"] :is(button, a, input, select, textarea):focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   7. Durum dolguları — taban dolgulardan SONRA gelmek zorunda
   Aynı özgüllükte oldukları için sıra belirleyici: .year-btn.current
   kuralı .year-btn.current:hover kuralından önce yazılmalı, yoksa
   hover hiç görünmez.
   -------------------------------------------------------------------------- */

html[data-theme="dark"] :is(
    .homepage-archive-card:hover .homepage-archive-card-icon,
    .archive-card-category:hover,
    .archive-pagination .page-numbers:hover,
    .back-to-top:hover,
    .card-link:hover,
    .error-404-home:hover,
    .homepage-carousel-arrow:hover,
    .homepage-carousel-play:hover,
    .homepage-hero-cta-primary:hover,
    .homepage-memory-pick-links a:hover,
    .homepage-podcast-cta:hover,
    .homepage-section-link:hover,
    .homepage-year-link:hover,
    .press-card .card-link:hover,
    .single-post-category:hover,
    .social-link:hover,
    .year-btn.current:hover
) {
    background-color: var(--fill-accent) !important;
    border-color: var(--fill-accent-border) !important;
    color: var(--on-fill-accent) !important;
}

html[data-theme="dark"] :is(
    .social-link:hover,
    .back-to-top:hover,
    .homepage-carousel-arrow:hover,
    .homepage-carousel-play:hover
) svg {
    color: var(--on-fill-accent) !important;
    fill: currentColor;
}

html[data-theme="dark"] .archive-empty-link:hover {
    background-color: var(--fill-accent-hover) !important;
    border-color: var(--fill-accent-border) !important;
    color: var(--on-fill-accent) !important;
}

html[data-theme="dark"] :is(
    .card-external-link:hover,
    .hero-nav-link:hover,
    .hero-nav-link:focus
) {
    background-color: var(--fill-brand) !important;
    border-color: var(--fill-brand-border) !important;
    color: var(--on-fill-brand) !important;
}

html[data-theme="dark"] .homepage-year-link.featured:hover {
    background-color: var(--fill-brand-hover) !important;
    border-color: var(--fill-brand-border) !important;
    color: var(--on-fill-brand) !important;
}

html[data-theme="dark"] :is(
    .homepage-quick-archive-link:hover,
    .mobile-year-btn:active,
    .single-post-share-btn:hover
) {
    background-color: var(--fill-neutral-hover) !important;
    border-color: var(--fill-neutral-border) !important;
    color: var(--on-fill-neutral) !important;
}
