/* ALAMKAR — mode sombre des pages du site (thème GeneratePress + retouches ALAMKAR).
   Actif seulement quand <html data-aet-theme="dark"> : choix du membre ou réglage du téléphone. */
html[data-aet-theme="dark"] { background: #0E1326; }
html[data-aet-theme="dark"] body { background: #0E1326; color: #E2E6F4; }
html[data-aet-theme="dark"] .site-header, html[data-aet-theme="dark"] .main-navigation, html[data-aet-theme="dark"] .main-navigation ul ul,
html[data-aet-theme="dark"] .inside-navigation, html[data-aet-theme="dark"] .main-navigation.toggled .main-nav > ul { background: #121831; }
html[data-aet-theme="dark"] .separate-containers .inside-article, html[data-aet-theme="dark"] .one-container .container,
html[data-aet-theme="dark"] .separate-containers .comments-area, html[data-aet-theme="dark"] .separate-containers .page-header,
html[data-aet-theme="dark"] .inside-page-header, html[data-aet-theme="dark"] .widget-area .widget, html[data-aet-theme="dark"] .site-main > article { background: #161C33; }
html[data-aet-theme="dark"] .site-footer, html[data-aet-theme="dark"] .site-info, html[data-aet-theme="dark"] .footer-widgets { background: #0B1024; color: #A3AACB; }
html[data-aet-theme="dark"] .site-info a, html[data-aet-theme="dark"] .footer-widgets a { color: #DCE3FF; }
html[data-aet-theme="dark"] .site-info a:hover, html[data-aet-theme="dark"] .footer-widgets a:hover { color: #F07AB4; }
html[data-aet-theme="dark"] .entry-header .entry-title, html[data-aet-theme="dark"] .entry-content h1, html[data-aet-theme="dark"] .entry-content h2,
html[data-aet-theme="dark"] .entry-content h3, html[data-aet-theme="dark"] .entry-content h4, html[data-aet-theme="dark"] .entry-content h5,
html[data-aet-theme="dark"] h1, html[data-aet-theme="dark"] h2, html[data-aet-theme="dark"] h3 { color: #DCE3FF; }
html[data-aet-theme="dark"] .entry-content, html[data-aet-theme="dark"] .entry-content p, html[data-aet-theme="dark"] .entry-content li { color: #E2E6F4; }
html[data-aet-theme="dark"] .entry-content a, html[data-aet-theme="dark"] .entry-summary a { color: #F07AB4; }
html[data-aet-theme="dark"] .entry-content a:hover, html[data-aet-theme="dark"] .entry-content a:focus { color: #FFFFFF; }
html[data-aet-theme="dark"] .main-navigation .main-nav ul li a, html[data-aet-theme="dark"] .menu-toggle,
html[data-aet-theme="dark"] .menu-toggle:hover, html[data-aet-theme="dark"] .menu-toggle:focus, html[data-aet-theme="dark"] .site-title a { color: #DCE3FF; background: transparent; }
html[data-aet-theme="dark"] .main-navigation .main-nav ul li:hover > a, html[data-aet-theme="dark"] .main-navigation .main-nav ul li.current-menu-item > a { color: #F07AB4; }
html[data-aet-theme="dark"] .main-navigation .main-nav ul li.current-menu-item > a { box-shadow: inset 0 -2px 0 #F07AB4; }
html[data-aet-theme="dark"] .site-description { color: #A3AACB; }
html[data-aet-theme="dark"] input, html[data-aet-theme="dark"] select, html[data-aet-theme="dark"] textarea {
	background-color: #10152B; color: #E7EAF6; border-color: #36406A; }
html[data-aet-theme="dark"] input::placeholder, html[data-aet-theme="dark"] textarea::placeholder { color: #7C84A8; }
html[data-aet-theme="dark"] hr, html[data-aet-theme="dark"] table, html[data-aet-theme="dark"] th, html[data-aet-theme="dark"] td { border-color: #2A3356; }
html[data-aet-theme="dark"] code, html[data-aet-theme="dark"] pre, html[data-aet-theme="dark"] kbd { background: #10152B; color: #E7EAF6; }
html[data-aet-theme="dark"] blockquote { border-color: #F07AB4; color: #C6CCE6; }
/* Le logo garde ses couleurs : il est posé sur une plaque ivoire. */
html[data-aet-theme="dark"] .site-logo img, html[data-aet-theme="dark"] .site-header .header-image {
	background: #F7F3EA; border-radius: 12px; padding: 4px 8px; box-sizing: content-box; }
html[data-aet-theme="dark"] body.home .alamkar-home-logo img { background: #F7F3EA; border-radius: 22px; padding: 14px 18px; box-sizing: border-box; }
html[data-aet-theme="dark"] .alamkar-slogan, html[data-aet-theme="dark"] body.home .entry-content .has-large-font-size { color: #E2E6F4 !important; }
html[data-aet-theme="dark"] .alamkar-home-links { color: #A3AACB; }
html[data-aet-theme="dark"] .alamkar-home-links a { color: #DCE3FF; }
html[data-aet-theme="dark"] .alamkar-home-links a:hover, html[data-aet-theme="dark"] .alamkar-home-links a:focus { color: #F07AB4; }
html[data-aet-theme="dark"] .alamkar-home-links span { color: #4A5385; }
html[data-aet-theme="dark"] .has-text-color.has-contrast-color, html[data-aet-theme="dark"] .has-contrast-color { color: #E2E6F4 !important; }

/* Bouton du thème (menu du site, appli, guide). */
.aet-theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
	border: 1.5px solid #D7DCEB; background: #fff; color: #102058; font-size: 19px; line-height: 1; cursor: pointer; vertical-align: middle; }
.aet-theme-btn:hover, .aet-theme-btn:focus-visible { border-color: #A0105A; background: #FBEFF5; outline: none; }
.aet-theme-btn:focus-visible { box-shadow: 0 0 0 3px rgba(160,16,90,.35); }
.aet-theme-btn .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
html[data-aet-theme="dark"] .aet-theme-btn { background: #161C33; border-color: #36406A; color: #F8B838; }
html[data-aet-theme="dark"] .aet-theme-btn:hover, html[data-aet-theme="dark"] .aet-theme-btn:focus-visible { border-color: #F07AB4; background: #1F2747; }
.main-navigation .aet-theme-li { display: flex; align-items: center; padding: 0 8px; }
.main-navigation .aet-theme-btn.is-menu { width: 36px; height: 36px; font-size: 17px; }
@media (max-width: 768px) { .main-navigation.toggled .aet-theme-li { padding: 10px 20px; } }
@media (prefers-reduced-motion: no-preference) { html[data-aet-theme] body { transition: background-color .2s ease, color .2s ease; } }

/* --- accueil (généré depuis alam-home.css) --- */
html[data-aet-theme="dark"] .aet-alam-home { color: #D1D7EB; }
html[data-aet-theme="dark"] .aet-alam-home-hello { color: #EDC982; }
html[data-aet-theme="dark"] .aet-alam-home-quote { background: #171D33; }
html[data-aet-theme="dark"] .aet-alam-home-quote blockquote { color: #B9C6F2; }
html[data-aet-theme="dark"] .aet-alam-home-quote figcaption { color: #ED82B9; }
html[data-aet-theme="dark"] .aet-alam-home-more { color: #ED82B9; }
