﻿
/* Dark mode — overrides authoritative (v3.49) */

body.dark-mode {
	--news-canvas: #0c0c0c;
	--news-surface: #1a1a1a;
	--news-surface-raised: #242424;
	--news-border: rgba(255, 255, 255, 0.1);
	--news-border-subtle: rgba(255, 255, 255, 0.06);
	--news-text: #e4e4e7;
	--news-muted: #a1a1aa;
	--news-ink: #fafafa;
	--color-bg: #0c0c0c;
	--color-surface: #1a1a1a;
	--color-text: #f4f4f5;
	--color-text-muted: #a1a1aa;
	--color-border: rgba(255, 255, 255, 0.1);
	--news-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
	--news-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.5);
	background: var(--news-canvas) !important;
	color: var(--news-text);
}

body.dark-mode #content.site-content,
body.dark-mode.home .site-content,
body.dark-mode .site-main.front-page {
	background: var(--news-canvas) !important;
	color: var(--news-text);
}

/* ── Homepage: blocs blancs codés en dur ── */
body.dark-mode .front-page .home-hero-zone.home-hero-zone--height-synced .hero-slider--premium,
body.dark-mode .front-page .home-hero-zone .home-sidebar-left .home-zone-block,
body.dark-mode .front-page .home-hero-zone .home-sidebar-right .home-zone-block--feed,
body.dark-mode .front-page .home-video-block .home-video-body--strip,
body.dark-mode .front-page .home-video-grid--strip .home-video-card-link,
body.dark-mode .front-page .home-tri-col,
body.dark-mode .front-page .home-sports-block .sports-card--mosaic-side,
body.dark-mode .front-page .home-sports-block .sports-card--mosaic-featured,
body.dark-mode .front-page .home-premium-body.home-mosaic-body,
body.dark-mode .front-page .believe-grid,
body.dark-mode .front-page .programs-video-section .programs-block,
body.dark-mode .front-page .home-premium-body,
body.dark-mode .front-page .home-mosaic-body,
body.dark-mode .front-page .home-national-grid,
body.dark-mode .front-page .home-category-section__body,
body.dark-mode .front-page .most-viewed-layout,
body.dark-mode .front-page .most-viewed-card,
body.dark-mode .front-page .most-viewed-card--featured,
body.dark-mode .front-page .home-see-also-zone,
body.dark-mode .front-page .home-see-also-main--shell,
body.dark-mode .front-page .see-also-zone,
body.dark-mode body.home .hero-slider--premium {
	background: var(--news-surface) !important;
	border-color: var(--news-border) !important;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35) !important;
}

body.dark-mode .front-page .home-premium-block,
body.dark-mode .front-page .home-mosaic-block,
body.dark-mode .front-page .home-national-block,
body.dark-mode .front-page .home-sports-block,
body.dark-mode .front-page .home-tri-columns.home-premium-block,
body.dark-mode .front-page .home-category-sections .home-category-section,
body.dark-mode .front-page .most-viewed-section,
body.dark-mode .front-page > .home-video-block {
	border-color: var(--news-border) !important;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35) !important;
}

body.dark-mode .front-page .home-hero-zone .hero-dot:not(.is-active) {
	background: var(--news-surface-raised) !important;
	border-color: var(--news-border) !important;
	color: var(--news-muted) !important;
}

body.dark-mode .front-page .home-hero-zone .hero-dot.is-active {
	color: var(--brand-charcoal, #1a1a1a) !important;
}

body.dark-mode .front-page .home-hero-zone .hero-slide-head,
body.dark-mode .front-page .home-hero-zone .hero-pagination {
	background: var(--news-surface) !important;
	border-top-color: var(--news-border) !important;
}

body.dark-mode .front-page .home-hero-zone .hero-slide-title,
body.dark-mode .front-page .home-hero-zone .hero-slide-title a {
	color: var(--news-ink) !important;
}

/* ── Titres & textes homepage ── */
body.dark-mode .front-page .home-highlight-title,
body.dark-mode .front-page .home-highlight-title a,
body.dark-mode .front-page .home-tri-featured-title,
body.dark-mode .front-page .home-tri-featured-title a,
body.dark-mode .front-page .home-tri-list-title,
body.dark-mode .front-page .home-tri-list-title a,
body.dark-mode .front-page .home-video-card-title,
body.dark-mode .front-page .home-video-card-title a,
body.dark-mode .front-page .home-national-title,
body.dark-mode .front-page .home-national-title a,
body.dark-mode .front-page .most-viewed-card-title,
body.dark-mode .front-page .most-viewed-card-title a,
body.dark-mode .front-page .home-cat-featured-title,
body.dark-mode .front-page .home-cat-featured-title a,
body.dark-mode .front-page .home-cat-list-title,
body.dark-mode .front-page .home-cat-list-title a,
body.dark-mode .front-page .home-mosaic-tile-title,
body.dark-mode .front-page .home-mosaic-tile-title a,
body.dark-mode .front-page .home-premium-featured-title,
body.dark-mode .front-page .home-premium-featured-title a,
body.dark-mode .front-page .home-premium-card-title,
body.dark-mode .front-page .home-premium-card-title a,
body.dark-mode .front-page .home-sports-block .sports-card-title a,
body.dark-mode .front-page .home-tri-col-title,
body.dark-mode .front-page .home-zone-block-title,
body.dark-mode .front-page .home-feed-link,
body.dark-mode .front-page .home-see-also-zone--news-reports .home-premium-title a,
body.dark-mode .front-page .home-see-also-card-title,
body.dark-mode .front-page .see-also-title,
body.dark-mode .front-page .see-also-title a {
	color: var(--news-ink) !important;
}

body.dark-mode .front-page .home-feed-time,
body.dark-mode .front-page .home-cat-featured-excerpt,
body.dark-mode .front-page .most-viewed-subtitle,
body.dark-mode .front-page .post-card-meta,
body.dark-mode .front-page .post-card-excerpt,
body.dark-mode .front-page .home-national-excerpt,
body.dark-mode .front-page .hero-slide-excerpt {
	color: var(--news-muted) !important;
}

body.dark-mode .front-page .home-tri-col-header,
body.dark-mode .front-page .home-premium-header,
body.dark-mode .front-page .home-mosaic-accent-header,
body.dark-mode .front-page .most-viewed-header {
	border-bottom-color: var(--news-border) !important;
}

/* ── Article / pages internes ── */
body.dark-mode .single-post,
body.dark-mode.single-lachtv .single-main .single-post,
body.dark-mode .related-posts--lachtv,
body.dark-mode .comments-area,
body.dark-mode .single-widget,
body.dark-mode .post-card,
body.dark-mode .archive-featured,
body.dark-mode .lachtv-breadcrumb,
body.dark-mode:not(.home) .page-content,
body.dark-mode .archive-lachtv-read,
body.dark-mode.archive-lachtv .lachtv-breadcrumb,
body.dark-mode.archive-lachtv .archive-lachtv-ad .widget {
	background: var(--news-surface) !important;
	border-color: var(--news-border) !important;
}

body.dark-mode.archive-lachtv .archive-card__title {
	color: #fff !important;
}

body.dark-mode.archive-lachtv .archive-card__time {
	color: rgba(255, 255, 255, 0.82) !important;
}

body.dark-mode.archive-lachtv .archive-lachtv-desc a {
	color: var(--news-ink) !important;
}

body.dark-mode.single-lachtv .single-post h1.entry-title,
body.dark-mode .entry-title,
body.dark-mode .entry-content,
body.dark-mode .entry-content h2,
body.dark-mode .entry-content h3,
body.dark-mode .entry-content h4 {
	color: var(--news-ink) !important;
}

body.dark-mode .entry-meta,
body.dark-mode .entry-meta > span {
	color: var(--news-muted) !important;
}

body.dark-mode .lachtv-breadcrumb__link {
	color: var(--news-muted) !important;
}

body.dark-mode .lachtv-breadcrumb__current {
	color: var(--news-ink) !important;
}

/* ── Header ── */
body.dark-mode .site-header.site-header--magazine .header-search__field {
	background: rgba(0, 0, 0, 0.22) !important;
	border-color: rgba(0, 0, 0, 0.35) !important;
	color: #fff !important;
}

body.dark-mode .site-header.site-header--magazine .header-search__field::placeholder {
	color: rgba(255, 255, 255, 0.55) !important;
}

/* ── Footer ── */
body.dark-mode .site-footer.site-footer--harmonized {
	--footer-top-bg: #141414;
	--footer-main-bg: #0f0f0f;
}

body.dark-mode .site-footer.site-footer--harmonized .footer-newsletter-input {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	color: #f4f4f5 !important;
}

body.dark-mode .site-footer.site-footer--harmonized .footer-newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.45) !important;
}

body.dark-mode .site-footer.site-footer--harmonized .footer-newsletter-input:focus {
	border-color: var(--news-gold) !important;
	box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.2) !important;
}

body.dark-mode .site-footer.site-footer--harmonized .footer-top-desc,
body.dark-mode .site-footer.site-footer--harmonized .footer-nav-list a,
body.dark-mode .site-footer.site-footer--harmonized .footer-copy {
	color: rgba(255, 255, 255, 0.78) !important;
}

body.dark-mode .site-footer.site-footer--harmonized .footer-nav-list a:hover {
	color: var(--news-gold) !important;
}

/* ── Formulaires & badges ── */
body.dark-mode .category-badge {
	background: var(--news-orange) !important;
	color: #fff !important;
}

body.dark-mode .category-badge:hover {
	background: var(--news-gold) !important;
	color: var(--brand-charcoal, #1a1a1a) !important;
}

body.dark-mode .single-post .entry-share__btn,
body.dark-mode .comment-form input,
body.dark-mode .comment-form textarea {
	background: var(--news-surface-raised) !important;
	border-color: var(--news-border) !important;
	color: var(--news-ink) !important;
}

body.dark-mode .page-numbers {
	background: var(--news-surface) !important;
	border-color: var(--news-border) !important;
	color: var(--news-text) !important;
}

body.dark-mode .page-numbers.current {
	background: var(--news-gold) !important;
	color: var(--brand-charcoal, #1a1a1a) !important;
}
