/* Al-Mintaqa — nouveaux blocs (oct. 2026). Couleurs du thème : --almq-navy, --almq-gold, --almq-paper… */

.almq-note{ font-size:11.5px; color:var(--almq-ink-soft); margin:10px 0 0; }
.almq-section-title small{ font-family:var(--almq-font-body); font-size:12.5px; font-weight:600; color:var(--almq-ink-soft); }
.almq-chg{ font-size:12px; font-weight:700; direction:ltr; display:inline-block; white-space:nowrap; font-variant-numeric:tabular-nums; }
.almq-chg.up{ color:#1f8a4c; } .almq-chg.down{ color:var(--almq-red); }

/* ---------- Barre du haut : horloges + outils ---------- */
.almq-utility .container{ gap:16px; }
.almq-utility .container > span:first-child{ flex:0 0 auto; }
.almq-clocks{ flex:1; display:flex; gap:16px; justify-content:center; overflow:hidden; white-space:nowrap; font-variant-numeric:tabular-nums; }
.almq-clock b{ font-weight:600; color:rgba(255,255,255,.6); margin-inline-end:3px; }
.almq-clock time{ color:var(--almq-gold-2); font-weight:700; direction:ltr; display:inline-block; }
.almq-tools{ display:flex; gap:6px; flex:0 0 auto; }
.almq-tools button{ background:rgba(255,255,255,.1); color:#fff; border:0; border-radius:4px; height:24px; min-width:28px; padding:0 6px; cursor:pointer; font:inherit; font-size:12px; font-weight:700; line-height:24px; display:inline-flex; align-items:center; justify-content:center; }
.almq-tools button:hover, .almq-theme-btn[aria-pressed="true"]{ background:var(--almq-gold); color:var(--almq-navy); }
@media (max-width:1100px){ .almq-clock:nth-child(n+6){ display:none; } }
@media (max-width:800px){ .almq-clock:nth-child(n+4){ display:none; } }
@media (max-width:520px){ .almq-utility .container > span:first-child{ display:none; } .almq-clocks{ justify-content:flex-start; } .almq-clock:nth-child(n+3){ display:none; } }

/* ---------- Ligne « موجز » + « بالأرقام » ---------- */
.almq-briefrow{ padding:26px 0 0; }
.almq-briefrow-grid{ display:grid; grid-template-columns:2fr 1fr; gap:24px; align-items:stretch; }
.almq-brief{ background:var(--almq-white); border:1px solid var(--almq-line); border-top:4px solid var(--almq-navy); border-radius:var(--almq-radius); padding:20px 22px; box-shadow:var(--almq-shadow); }
.almq-brief-head{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.almq-brief-kicker{ background:var(--almq-gold); color:var(--almq-navy); font-weight:800; font-size:12px; padding:3px 10px; border-radius:3px; }
.almq-brief-head h2{ margin:0; font-size:22px; }
.almq-brief-date{ margin-inline-start:auto; font-size:12.5px; color:var(--almq-ink-soft); }
.almq-brief ol{ list-style:none; margin:0; padding:0; counter-reset:b; }
.almq-brief li{ display:flex; gap:12px; padding:10px 0; border-top:1px dashed var(--almq-line); }
.almq-brief li:first-child{ border-top:0; }
.almq-brief .n{ flex:0 0 28px; height:28px; border-radius:50%; background:var(--almq-navy); color:#fff; font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; font-family:var(--almq-font-head); }
.almq-brief strong{ font-family:var(--almq-font-head); font-size:15.5px; color:var(--almq-navy); line-height:1.4; display:block; }
.almq-brief a:hover strong{ color:var(--almq-gold); }
.almq-brief p{ margin:3px 0 0; font-size:13.5px; color:var(--almq-ink-soft); }
.almq-brief-more{ display:inline-block; margin-top:10px; font-weight:800; font-size:13px; color:var(--almq-gold); }
.almq-brief.is-full p{ font-size:15px; }

.almq-number{ background:var(--almq-navy); color:#fff; border-radius:var(--almq-radius); padding:22px; display:flex; flex-direction:column; gap:8px; position:relative; overflow:hidden; box-shadow:var(--almq-shadow); }
.almq-number::before{ content:""; position:absolute; inset-inline-end:-40px; top:-40px; width:160px; height:160px; border-radius:50%; border:22px solid rgba(200,147,42,.18); }
.almq-number-kicker{ font-weight:800; font-size:12.5px; color:var(--almq-gold-2); letter-spacing:.04em; }
.almq-number-big{ font-family:var(--almq-font-head); font-weight:800; font-size:clamp(34px, 4.6vw, 54px); line-height:1.05; color:var(--almq-gold-2); }
.almq-number p{ margin:0; color:rgba(255,255,255,.85); font-size:14px; line-height:1.6; flex:1; }
.almq-number a{ color:#fff; font-weight:800; font-size:13px; }
.almq-number a:hover{ color:var(--almq-gold-2); }

/* ---------- Carte interactive ---------- */
.almq-mapblock{ padding:30px 0 0; }
.almq-map-wrap{ display:grid; grid-template-columns:1fr 300px; gap:20px; background:var(--almq-white); border:1px solid var(--almq-line); border-radius:var(--almq-radius); padding:14px; box-shadow:var(--almq-shadow); }
.almq-map{ position:relative; background:#eef1f6; border-radius:4px; overflow:hidden; }
.almq-map-svg{ display:block; width:100%; height:auto; }
.almq-map-svg .ctx{ fill:#dcd6c6; }
.almq-map-svg .c{ fill:var(--almq-navy); fill-opacity:var(--lv, .5); stroke:#fff; stroke-width:.8; cursor:pointer; transition:fill .15s, fill-opacity .15s; outline:none; }
.almq-map-svg .c:hover, .almq-map-svg .c:focus-visible{ fill:var(--almq-gold); fill-opacity:1; }
.almq-map-svg .c.is-active{ fill:var(--almq-gold); fill-opacity:1; }
.almq-map-svg .dot{ fill:var(--almq-gold); stroke:#fff; stroke-width:1.5; cursor:pointer; }
.almq-map-svg .dot:hover, .almq-map-svg .dot.is-active{ fill:var(--almq-red); }
.almq-map-tip{ position:absolute; transform:translateX(-50%); background:var(--almq-navy); color:#fff; font-size:12.5px; font-weight:700; padding:4px 10px; border-radius:4px; pointer-events:none; white-space:nowrap; }
.almq-map-panel{ display:flex; flex-direction:column; }
.almq-map-empty strong{ font-family:var(--almq-font-head); font-size:17px; color:var(--almq-navy); }
.almq-map-empty p{ font-size:13.5px; color:var(--almq-ink-soft); }
.almq-map-top{ margin:0; padding:0 18px 0 0; }
.almq-map-top li{ display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px dashed var(--almq-line); font-size:14px; }
.almq-map-top button{ background:none; border:0; padding:0; font:inherit; font-weight:700; color:var(--almq-navy); cursor:pointer; }
.almq-map-top button:hover{ color:var(--almq-gold); }
.almq-map-top span{ color:var(--almq-gold); font-weight:800; }
.almq-map-detail{ position:relative; }
.almq-map-detail h3{ font-size:22px; margin:0 0 4px; }
.almq-map-count{ font-size:13px; color:var(--almq-gold); font-weight:700; margin:0 0 10px; }
.almq-map-detail ul{ list-style:none; margin:0; padding:0; }
.almq-map-detail li{ padding:8px 0; border-top:1px dashed var(--almq-line); }
.almq-map-detail li a{ font-weight:700; font-size:14px; line-height:1.45; display:block; color:var(--almq-ink); }
.almq-map-detail li a:hover{ color:var(--almq-gold); }
.almq-map-detail time{ font-size:11.5px; color:var(--almq-ink-soft); }
.almq-map-all{ display:inline-block; margin-top:10px; font-weight:800; font-size:13px; color:var(--almq-gold); }
.almq-map-back{ position:absolute; inset-inline-end:0; top:0; background:var(--almq-paper-2); border:0; border-radius:50%; width:28px; height:28px; font-size:18px; cursor:pointer; color:var(--almq-navy); }

/* ---------- Dossiers ---------- */
.almq-dossiers{ margin-top:40px; }
.almq-dossier-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.almq-dossier-card{ position:relative; min-height:170px; border-radius:var(--almq-radius); overflow:hidden; background:var(--almq-navy) center/cover no-repeat; color:#fff; padding:16px; display:flex; flex-direction:column; justify-content:flex-end; gap:4px; box-shadow:var(--almq-shadow); }
.almq-dossier-card::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(13,27,62,.25) 0%, rgba(13,27,62,.92) 75%); }
.almq-dossier-card > *{ position:relative; }
.almq-dossier-kicker{ align-self:flex-start; background:var(--almq-gold); color:var(--almq-navy); font-weight:800; font-size:11.5px; padding:2px 9px; border-radius:3px; }
.almq-dossier-card h3{ color:#fff; font-size:18px; margin:4px 0 0; }
.almq-dossier-meta{ font-size:12px; color:rgba(255,255,255,.75); }
.almq-dossier-card:hover h3{ color:var(--almq-gold-2); }

.almq-dossier-hero{ background:var(--almq-navy); color:#fff; padding:40px 0 34px; border-bottom:4px solid var(--almq-gold); }
.almq-dossier-hero h1{ color:#fff; font-size:36px; margin:10px 0 8px; }
.almq-dossier-hero .lead{ color:rgba(255,255,255,.85); font-size:16.5px; max-width:760px; margin:0 0 20px; }
.almq-dossier-stats{ display:flex; flex-wrap:wrap; gap:12px; }
.almq-dossier-stats div{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:6px; padding:10px 16px; display:flex; flex-direction:column; }
.almq-dossier-stats b{ font-family:var(--almq-font-head); font-size:20px; color:var(--almq-gold-2); }
.almq-dossier-stats span{ font-size:12px; color:rgba(255,255,255,.7); }
.almq-timeline{ position:relative; padding-inline-start:26px; }
.almq-timeline::before{ content:""; position:absolute; inset-inline-start:8px; top:6px; bottom:0; width:2px; background:var(--almq-line); }
.almq-tl-month{ font-size:16px; margin:22px 0 12px; color:var(--almq-gold); position:relative; }
.almq-tl-item{ position:relative; margin-bottom:14px; }
.almq-tl-dot{ position:absolute; inset-inline-start:-23px; top:18px; width:12px; height:12px; border-radius:50%; background:var(--almq-navy); border:2px solid var(--almq-gold); }
.almq-tl-card{ display:flex; gap:14px; background:var(--almq-white); border:1px solid var(--almq-line); border-radius:var(--almq-radius); padding:12px; }
.almq-tl-card img{ width:120px; height:84px; object-fit:cover; border-radius:4px; flex:0 0 auto; }
.almq-tl-card time{ font-size:12px; color:var(--almq-ink-soft); }
.almq-tl-card h3{ font-size:16px; margin:2px 0 4px; }
.almq-tl-card p{ font-size:13.5px; color:var(--almq-ink-soft); margin:0; }
.almq-tl-card:hover h3{ color:var(--almq-gold); }

/* ---------- Revue de presse ---------- */
.almq-press{ margin-top:40px; }
.almq-press-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.almq-press-item{ display:flex; flex-direction:column; gap:4px; background:var(--almq-white); border:1px solid var(--almq-line); border-inline-start:4px solid var(--almq-gold); border-radius:var(--almq-radius); padding:12px 14px; }
.almq-press-item .src{ font-size:12px; font-weight:800; color:var(--almq-gold); }
.almq-press-item strong{ font-size:14.5px; line-height:1.5; color:var(--almq-ink); }
.almq-press-item:hover strong{ color:var(--almq-navy); text-decoration:underline; }
.almq-press-item time{ font-size:11.5px; color:var(--almq-ink-soft); }

/* ---------- Barre latérale : lecteurs en direct, bourses, طالع/نازل, sondage ---------- */
.almq-widget h4 small{ font-family:var(--almq-font-body); font-size:11px; font-weight:600; color:var(--almq-ink-soft); text-transform:none; letter-spacing:0; }
.almq-live h4{ display:flex; align-items:center; gap:8px; }
.almq-live-dot{ width:9px; height:9px; border-radius:50%; background:var(--almq-red); box-shadow:0 0 0 0 rgba(215,38,61,.6); animation:almq-pulse 1.6s infinite; }
@keyframes almq-pulse{ 0%{ box-shadow:0 0 0 0 rgba(215,38,61,.55); } 70%{ box-shadow:0 0 0 8px rgba(215,38,61,0); } 100%{ box-shadow:0 0 0 0 rgba(215,38,61,0); } }
.almq-live-item{ display:flex; gap:10px; align-items:center; padding:8px 0; border-bottom:1px dashed var(--almq-line); font-weight:700; font-size:13.5px; line-height:1.45; }
.almq-live-item:last-of-type{ border-bottom:0; }
.almq-live-item img{ width:56px; height:42px; object-fit:cover; border-radius:4px; flex:0 0 auto; }
.almq-markets table{ width:100%; border-collapse:collapse; font-size:13px; }
.almq-markets td{ padding:7px 0; border-top:1px dashed var(--almq-line); }
.almq-markets tr:first-child td{ border-top:0; }
.almq-markets td.v{ font-weight:700; direction:ltr; text-align:end; font-variant-numeric:tabular-nums; padding-inline:8px; }
.almq-markets td:last-child{ text-align:end; }
.almq-ud-cols{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.almq-ud{ border-radius:6px; padding:10px; }
.almq-ud.up{ background:rgba(31,138,76,.08); } .almq-ud.down{ background:rgba(215,38,61,.07); }
.almq-ud .h{ display:block; font-weight:800; font-size:13px; margin-bottom:6px; }
.almq-ud.up .h{ color:#1f8a4c; } .almq-ud.down .h{ color:var(--almq-red); }
.almq-ud .r{ display:flex; flex-direction:column; font-size:12.5px; padding:5px 0; border-top:1px dashed var(--almq-line); }
.almq-ud .r:nth-of-type(1){ border-top:0; }
.almq-poll .q{ font-weight:700; font-size:14.5px; margin:0 0 10px; color:var(--almq-navy); line-height:1.5; }
.almq-poll .opts{ display:flex; flex-direction:column; gap:8px; }
.almq-poll button{ position:relative; overflow:hidden; text-align:start; background:var(--almq-paper-2); border:1px solid var(--almq-line); border-radius:6px; padding:9px 12px; font:inherit; font-size:13.5px; font-weight:600; color:var(--almq-ink); cursor:pointer; display:flex; justify-content:space-between; gap:8px; }
.almq-poll button:hover{ border-color:var(--almq-gold); }
.almq-poll button .t, .almq-poll button .pc{ position:relative; z-index:1; }
.almq-poll button .pc{ display:none; font-weight:800; color:var(--almq-navy); }
.almq-poll button::before{ content:""; position:absolute; inset-block:0; inset-inline-start:0; width:0; background:rgba(200,147,42,.28); transition:width .6s ease; }
.almq-poll.is-voted button{ cursor:default; }
.almq-poll.is-voted button::before{ width:var(--p, 0%); }
.almq-poll.is-voted button .pc{ display:inline; }
.almq-poll button.is-mine{ border-color:var(--almq-gold); }
.almq-nl-msg{ margin:10px 0 0; font-size:13px; color:var(--almq-gold-2); }
.almq-newsletter .hp{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* ---------- Article : outils, résumé, progression, partage ---------- */
.almq-reading-progress{ position:fixed; top:0; inset-inline:0; height:4px; z-index:9999; pointer-events:none; }
.admin-bar .almq-reading-progress{ top:32px; }
.almq-reading-progress span{ display:block; height:100%; background:linear-gradient(90deg, var(--almq-gold), var(--almq-gold-2)); transform:scaleX(0); transform-origin:right center; }
.almq-article-tools{ display:flex; gap:10px; margin:0 0 16px; }
.almq-listen{ display:inline-flex; align-items:center; gap:8px; background:var(--almq-navy); color:#fff; border:0; border-radius:20px; padding:8px 16px; font:inherit; font-weight:700; font-size:13.5px; cursor:pointer; }
.almq-listen[hidden]{ display:none; }
.almq-listen[aria-pressed="true"]{ background:var(--almq-gold); color:var(--almq-navy); }
.almq-summary{ background:var(--almq-paper-2); border-inline-start:4px solid var(--almq-gold); border-radius:var(--almq-radius); padding:14px 18px; margin:0 0 24px; }
.almq-summary-k{ display:inline-block; font-weight:800; font-size:13px; color:var(--almq-navy); margin-bottom:6px; }
.almq-summary ul{ margin:0; padding-inline-start:20px; }
.almq-summary li{ margin:4px 0; font-size:15px; line-height:1.7; }
.almq-summary li::marker{ color:var(--almq-gold); }
.almq-share{ flex-wrap:wrap; }

/* ---------- Taille du texte ---------- */
html[data-fs="-1"] .almq-article .entry-content{ font-size:16px; }
html[data-fs="1"] .almq-article .entry-content{ font-size:20px; }
html[data-fs="2"] .almq-article .entry-content{ font-size:22.5px; }
html[data-fs="1"] body{ font-size:17px; }
html[data-fs="2"] body{ font-size:18px; }

/* ---------- Mode sombre ---------- */
html[data-theme="dark"]{
	--almq-paper:#0a1430; --almq-paper-2:#14214a; --almq-white:#101c3f; --almq-ink:#e9e5da; --almq-ink-soft:#a9b1c6; --almq-line:#253561;
	--almq-shadow:0 6px 24px rgba(0,0,0,.35); color-scheme:dark;
}
html[data-theme="dark"] body{ background:var(--almq-paper); color:var(--almq-ink); }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4,
html[data-theme="dark"] .almq-section-title, html[data-theme="dark"] .almq-stat .v, html[data-theme="dark"] .almq-brief strong,
html[data-theme="dark"] .almq-map-empty strong, html[data-theme="dark"] .almq-map-top button, html[data-theme="dark"] .almq-poll .q,
html[data-theme="dark"] .almq-summary-k, html[data-theme="dark"] .almq-poll button .pc, html[data-theme="dark"] .almq-article .entry-content blockquote{ color:#f3efe3; }
html[data-theme="dark"] .almq-masthead{ background:#f7f5ef; }
html[data-theme="dark"] .almq-widget, html[data-theme="dark"] .almq-pagination a, html[data-theme="dark"] .almq-pagination span{ background:var(--almq-white); }
html[data-theme="dark"] .almq-newsletter{ background:#16274f; }
html[data-theme="dark"] .almq-map{ background:#0d1836; }
html[data-theme="dark"] .almq-map-svg .ctx{ fill:#1d2b52; }
html[data-theme="dark"] .almq-map-svg .c{ fill:#9fb4e6; stroke:#0d1836; }
html[data-theme="dark"] .almq-map-svg .c:hover, html[data-theme="dark"] .almq-map-svg .c.is-active{ fill:var(--almq-gold); }
html[data-theme="dark"] .almq-brief .n, html[data-theme="dark"] .almq-listen{ background:#22346a; }
html[data-theme="dark"] .almq-number{ background:#16274f; }
html[data-theme="dark"] .almq-press-item:hover strong{ color:var(--almq-gold-2); }
html[data-theme="dark"] .almq-side-card, html[data-theme="dark"] .almq-card{ background:var(--almq-white); }
html[data-theme="dark"] a:hover{ color:var(--almq-gold-2); }

/* ---------- Responsive ---------- */
@media (max-width:900px){
	.almq-briefrow-grid{ grid-template-columns:1fr; }
	.almq-map-wrap{ grid-template-columns:1fr; }
	.almq-dossier-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:600px){
	.almq-press-grid, .almq-dossier-grid{ grid-template-columns:1fr; }
	.almq-tl-card img{ width:88px; height:66px; }
	.almq-dossier-hero h1{ font-size:27px; }
	.almq-brief{ padding:16px; }
}
@media (prefers-reduced-motion: reduce){ .almq-live-dot{ animation:none; } .almq-poll button::before{ transition:none; } }
