/*
Theme Name: Actusmartphone
Theme URI: https://github.com/sylvainhiha/actusmartphone
Author: DBX
Description: Thème autonome pour Actusmartphone, sans constructeur de pages ni thème parent.
Version: 1.2.2
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: actusmartphone
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --green: #0ee6b0;
  --green-text: #00775b;
  --header: #5b5b5b;
  --hero: #e9ecef;
  --ink: #000;
  --muted: #686868;
  --line: #d9dde0;
  --footer: #111;
  --container: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Inter", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #03ae84; outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--green); color: #000; padding: 8px 11px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Header: the logo spans both rows; tools sit beside the tagline. */
.site-header { height: 81px; background: var(--header); color: #fff; position: relative; z-index: 50; }
.header-inner { height: 100%; display: grid; grid-template-columns: 279px minmax(0, 1fr) auto; grid-template-rows: 40px 41px; column-gap: 20px; }
.brand { grid-column: 1; grid-row: 1 / 3; display: flex; align-items: center; border-right: 1px solid rgba(0,0,0,.2); }
.brand-logo { width: 248px; height: 60px; object-fit: contain; }
.header-content { grid-column: 2 / 4; grid-row: 1 / 3; display: grid; grid-template-rows: 40px 41px; min-width: 0; }
.tagline { margin: 0; padding-right: 130px; align-self: center; color: #ddd; font-size: 12px; line-height: 18px; }
.desktop-nav { position: relative; display: flex; align-items: center; gap: 20px; font-size: 14px; line-height: 21px; font-weight: 700; letter-spacing: -.175px; }
.desktop-nav::before { content: ""; position: absolute; top: 0; left: -20px; right: 0; border-top: 1px solid rgba(0,0,0,.14); }
.desktop-nav a { color: rgba(255,255,255,.92); white-space: nowrap; }
.desktop-nav a.active { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.desktop-nav a:hover { color: var(--green); }
.header-actions { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: 6px; position: relative; }
.sun-icon, .moon-icon { font-size: 18px; line-height: 1; }
.theme-toggle { width: 32px; height: 16px; flex-shrink: 0; border: 0; padding: 0; border-radius: 20px; background: #777; position: relative; cursor: pointer; }
.theme-toggle span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; left: 2px; top: 2px; transition: transform .2s; }
.theme-toggle.on span { transform: translateX(16px); }
.icon-button { width: 28px; height: 28px; border: 0; background: transparent; padding: 4px; color: #fff; cursor: pointer; }
.search-button { margin-left: 12px; }
.icon-button svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-button { display: none; background: transparent; border: 0; padding: 6px; cursor: pointer; }
.menu-button i { display: block; width: 21px; height: 2px; background: #fff; margin: 4px; }
.mobile-nav { display: none; }

/* Production desktop proportions: 800px editorial column + 60px gap + 300px sidebar. */
.hero-zone { background: var(--hero); padding: 48px 0; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.hero-main-column { min-width: 0; }
.main-story { display: grid; grid-template-columns: 60% 40%; align-items: center; }
.main-story-image { display: block; width: 100%; aspect-ratio: 3 / 2; background: #d1d1d1; overflow: hidden; }
.main-story-copy { position: relative; z-index: 2; min-width: 0; padding: 14px 0 20px 20px; }
.category-pill { display: table; background: rgba(0,0,0,.65); color: #fff; text-transform: uppercase; font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: .5px; padding: 5px 10px; }
/* Inline highlighting wraps naturally, including when a future WordPress title changes. */
.strip-title { margin: 0; color: #000; font-weight: 700; letter-spacing: -.25px; line-height: 1.8; }
.strip-title a { display: inline; background: var(--green); padding: .25em .35em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.main-story h1 { margin: 16px 0 0 -80px; font-size: 40px; }
.main-story-copy time { display: block; color: var(--muted); font-size: 10px; line-height: 15px; text-transform: uppercase; letter-spacing: .5px; margin-top: 16px; }
.headline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.headline-item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; }
.headline-thumb { height: 80px; background: #ddd; overflow: hidden; }
.headline-item h2 { margin: 0 0 16px; font-size: 20px; line-height: 25px; font-weight: 700; letter-spacing: -.2px; }
.headline-item p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 10px; line-height: 15px; text-transform: uppercase; color: var(--muted); letter-spacing: .25px; }
.headline-item p b { color: var(--green-text); font-weight: 700; }
.headline-item p span::before { content: "·"; margin-right: 8px; }
.popular h2 { font-size: 20px; line-height: 25px; margin: 0 0 32px; font-weight: 800; letter-spacing: -.4px; text-align: center; }
.popular h2 span { font-size: 20px; }
.popular ol { list-style: none; padding: 0; margin: 0; }
.popular li { min-width: 0; }
.popular-link { position: relative; isolation: isolate; display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 10px; align-items: start; padding: 20px; overflow: hidden; transition: color .25s; }
.popular-image { position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; transition: opacity .25s; }
.popular-image::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.popular-image img { width: 100%; height: 100%; object-fit: cover; }
.rank { font-size: 40px; color: #cfd4d8; font-weight: 400; line-height: 1; }
.popular a { font-size: 16px; font-weight: 700; line-height: 25px; letter-spacing: -.25px; }
.popular .rank { border-right: 1px solid transparent; padding-right: 7px; transition: color .25s, border-color .25s; }
.popular-link:hover, .popular-link:focus-visible { color: #fff; }
.popular-link:hover .popular-image, .popular-link:focus-visible .popular-image { opacity: 1; }
.popular-link:hover .rank, .popular-link:focus-visible .rank { color: #fff; border-right-color: #fff; }

.categories-wrap { padding: 96px 0; }
.category-section { margin: 0 0 64px; }
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; padding-bottom: 16px; }
.section-heading h2 { font-size: 24px; line-height: 36px; margin: 0; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
.section-heading span { height: 1px; background: #cfd4d8; flex: 1; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.visual-feature { position: relative; overflow: hidden; background: #ddd; }
.visual-feature-tall { min-height: 500px; }
.visual-feature-wide { min-height: 350px; }
.visual-bg { position: absolute; inset: 0; }
.visual-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 38%,rgba(0,0,0,.05) 55%,rgba(0,0,0,.48) 100%); pointer-events: none; }
.visual-overlay { position: relative; margin: 30px; z-index: 2; }
.visual-feature { display: flex; align-items: flex-end; }
.overlay-category { display: table; background: rgba(0,0,0,.65); color: #fff; text-transform: uppercase; font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: .5px; padding: 5px 10px; margin-bottom: 16px; }
.strip-title-small { font-size: 32px; max-width: 100%; }
.visual-overlay time { display: block; color: rgba(255,255,255,.75); font-size: 10px; line-height: 15px; letter-spacing: .25px; text-transform: uppercase; margin-top: 16px; }
.small-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
.small-card { min-width: 0; }
.small-card-image { display: block; aspect-ratio: 8 / 5; margin-bottom: 16px; background: #eee; overflow: hidden; }
.small-card > span { display: block; color: var(--green-text); text-transform: uppercase; font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: .5px; }
.small-card h3 { font-size: 16px; line-height: 25px; letter-spacing: -.25px; margin: 16px 0; font-weight: 700; }
.small-card time { display: block; font-size: 10px; line-height: 15px; color: var(--muted); letter-spacing: .25px; text-transform: uppercase; }
.android-grid .visual-feature { order: 2; }
.android-grid .small-news-grid { order: 1; }
.double-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.compact-section { margin-bottom: 0; }
.small-news-grid-lower { margin-top: 30px; }
.compact-section .strip-title-small { font-size: 28px; }

.site-footer { background: var(--footer); color: #fff; }
.footer-bottom-inner { display: grid; grid-template-columns: 240px minmax(0, 1fr) 380px; gap: 40px; }
.footer-bottom-zone { padding: 40px 0 48px; }
.footer-bottom-inner { align-items: start; }
.footer-brand { font-weight: 700; font-size: 18px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #444; display: grid; place-items: center; font-size: 12px; color: #ddd; }
.legal-link { font-size: 14px; line-height: 1.5; }
.footer-bottom-inner p { font-size: 12px; color: #888; margin: 3px 0 0; text-align: center; }

.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.72); display: grid; place-items: start center; padding-top: 12vh; opacity: 0; visibility: hidden; transition: .2s; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel { width: min(620px,calc(100% - 32px)); background: #fff; color: #111; padding: 28px; position: relative; box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.search-panel h2 { margin: 0 0 22px; font-size: 28px; }
.search-close { position: absolute; right: 12px; top: 10px; border: 0; background: transparent; font-size: 29px; cursor: pointer; }
.search-field { display: flex; }
.search-field input { flex: 1; min-width: 0; border: 1px solid #ddd; padding: 12px; }
.search-field button { border: 0; background: var(--green); padding: 0 18px; font-weight: 700; }
.search-result { font-size: 14px; color: #777; margin: 12px 0 0; min-height: 21px; }

html[data-theme="dark"] { --muted: #aaa; --green-text: #0ee6b0; }
html[data-theme="dark"] body { background: #171717; color: #f7f7f7; }
html[data-theme="dark"] .categories-wrap { background: #171717; }
html[data-theme="dark"] .hero-zone { background: #242729; }
html[data-theme="dark"] .section-heading span { background: #3c3c3c; }
html[data-theme="dark"] .small-card time { color: #aaa; }

@media (max-width: 1199px) {
  .header-inner { grid-template-columns: 239px minmax(0, 1fr) auto; }
  .brand-logo { width: 208px; height: auto; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .main-story h1 { font-size: 32px; margin-left: -60px; }
  .headline-grid { gap: 32px; }
  .headline-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .headline-thumb { height: 64px; }
  .headline-item h2 { font-size: 18px; line-height: 23px; }
  .popular h2 { font-size: 18px; }
  .popular-link { padding: 16px 10px; }
  .strip-title-small { font-size: 28px; }
  .footer-bottom-inner { grid-template-columns: 200px minmax(0, 1fr) 320px; gap: 24px; }
}
@media (max-width: 991px) {
  .site-header { height: 64px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 64px; }
  .brand { grid-row: 1; border: 0; }
  .brand-logo { width: 190px; height: 46px; }
  .header-content { display: none; }
  .header-actions { grid-column: 2; }
  .menu-button { display: block; }
  .mobile-nav { position: absolute; top: 64px; left: 0; right: 0; background: #4d4d4d; display: flex; flex-direction: column; max-height: 0; visibility: hidden; overflow: hidden; padding: 0 20px; transition: .25s; }
  .mobile-nav.open { max-height: 400px; visibility: visible; padding: 8px 20px 15px; }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .main-story h1 { font-size: 36px; }
  .popular { border-top: 1px solid #cfd4d8; padding-top: 32px; }
  .popular h2 { text-align: left; font-size: 20px; margin-bottom: 16px; }
  .popular ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
  .popular-link { padding: 12px 0; }
  .feature-grid, .double-categories { grid-template-columns: 1fr; }
  .visual-feature-tall { min-height: 480px; }
  .android-grid .visual-feature { order: 1; }
  .android-grid .small-news-grid { order: 2; }
  .categories-wrap { padding: 64px 0; }
  .footer-bottom-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner p { text-align: left; }
}
@media (max-width: 580px) {
  .container { width: calc(100% - 32px); }
  .brand-logo { width: 165px; height: 40px; }
  .header-inner { column-gap: 10px; }
  .sun-icon, .moon-icon { display: none; }
  .header-actions { gap: 2px; }
  .search-button { margin-left: 6px; }
  .hero-zone { padding: 32px 0 40px; }
  .main-story { display: block; }
  .main-story-copy { padding: 0; margin: -32px 16px 0; }
  .category-pill { margin-bottom: 16px; }
  .main-story h1 { font-size: 28px; margin: 0; }
  .main-story-copy time { margin-top: 16px; }
  .headline-grid { grid-template-columns: 1fr; margin-top: 40px; gap: 28px; }
  .headline-item { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .headline-thumb { height: 80px; }
  .headline-item h2 { margin-bottom: 12px; }
  .popular ol { grid-template-columns: 1fr; gap: 0; }
  .popular-link { padding: 16px 0; }
  .categories-wrap { padding: 48px 0; }
  .category-section { margin-bottom: 48px; }
  .section-heading { gap: 16px; margin-bottom: 24px; padding-bottom: 0; }
  .section-heading h2 { font-size: 22px; line-height: 30px; }
  .feature-grid { gap: 28px; }
  .visual-feature-tall { min-height: 400px; }
  .visual-feature-wide { min-height: 320px; }
  .visual-overlay { margin: 20px; }
  .strip-title-small, .compact-section .strip-title-small { font-size: 24px; }
  .small-news-grid { gap: 28px 16px; }
  .small-card h3 { font-size: 16px; line-height: 21px; margin: 12px 0; }
  .small-card > span, .small-card time { font-size: 9px; }
  .double-categories { gap: 0; }
  .search-panel { padding: 24px 20px; }
  .search-field { flex-direction: column; gap: 10px; }
  .search-field button { padding: 12px; }
}

/* Article: dimensions measured on the production theme, with the shared local Inter font. */
.article-page { background: #fff; }
.article-shell { padding: 48px 0; background: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.article-main { min-width: 0; }
.article-hero { position: relative; margin-bottom: 16px; }
.article-hero-media { position: relative; aspect-ratio: 16 / 9; margin: 0; background: #e4e4e4; overflow: hidden; }
.article-hero-media img { object-fit: cover; }
.article-hero-caption { position: absolute; top: 10px; right: 10px; z-index: 1; max-width: calc(100% - 20px); margin: 0; padding: 3px 6px; background: rgba(0, 0, 0, .38); color: rgba(255, 255, 255, .88); font-size: 10px; line-height: 14px; text-align: right; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.article-hero-caption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.article-title-wrap { position: relative; margin-top: -100px; padding: 0 20px 0 30px; z-index: 2; }
.article-category { display: table; background: rgba(0,0,0,.65); color: #fff; text-transform: uppercase; font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: .5px; padding: 5px 10px; }
.article-strip-title { margin: 20px 0 0; color: #000; font-size: 40px; line-height: 1.8; letter-spacing: -.5px; font-weight: 700; }
/* One continuous title lets the highlighted lines adapt to the available width. */
.article-strip-title span { background: var(--green); padding: .25em .35em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-height: 26px; margin: 0 0 40px 30px; color: var(--muted); font-size: 10px; line-height: 15px; text-transform: uppercase; letter-spacing: .25px; }
.article-meta > span:not(:last-child)::after { content: "·"; margin-left: 10px; color: #b9b9b9; }
.article-meta strong { color: #4c4c4c; font-weight: 700; }

/* 60px sharing column + 40px gap; the reading text stays at most 680px wide. */
.article-body-grid { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 40px; }
.share-rail { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 0; position: sticky; top: 24px; align-self: start; }
.share-rail a { width: 40px; height: 36px; display: grid; place-items: center; font-size: 18px; line-height: 1; font-weight: 700; color: #3b5998; }
.share-rail a:nth-child(2) { color: #111; }
.share-rail a:nth-child(3) { color: #707070; }
.share-rail a:nth-child(4) { color: #0a66c2; }
.article-content { width: 100%; max-width: 680px; min-width: 0; margin: 0 auto; }
.article-content p { font-size: 17.6px; line-height: 1.5; margin: 0 0 32px; color: #0a0a0a; }
.article-content h2 { font-size: 40px; line-height: 1.25; letter-spacing: -.5px; margin: 64px 0 32px; font-weight: 700; }
.article-follow { display: grid; grid-template-columns: 165px repeat(2, minmax(0, 1fr)); align-items: center; gap: 12px; margin: 8px 0 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-follow h2 { margin: 0; font-size: 18px; line-height: 24px; letter-spacing: -.2px; }
.article-follow-link { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 64px; padding: 12px 14px; border: 1px solid #dedede; border-radius: 9px; background: #f5f5f5; color: #111; font-size: 16px; line-height: 20px; font-weight: 600; text-align: center; transition: border-color .2s, background-color .2s, transform .2s; }
.article-follow-link:hover { border-color: #aaa; background: #eee; transform: translateY(-1px); }
.article-follow-link:focus-visible { outline-offset: 2px; }
.article-follow-icon, .article-follow-link .as-icon { width: 30px; height: 30px; flex: 0 0 30px; }
.article-follow-x .as-icon { fill: currentColor; }
.article-share-buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 48px; }
.article-share-buttons a { display: grid; place-items: center; min-height: 42px; padding: 10px 12px; color: #fff; font-size: 12px; line-height: 18px; font-weight: 600; text-align: center; background: #315c9a; }
.article-share-buttons a:nth-child(2) { background: #111; }
.article-share-buttons a:nth-child(3) { background: #1675a9; }
.article-share-buttons a:nth-child(4) { background: #111; }
.comment-cta { text-align: center; margin: 0; }
.comment-cta a { display: inline-block; border: 1px solid #111; padding: 10px 24px; font-size: 14px; line-height: 20px; font-weight: 600; color: #111; background: #fff; }

.article-sidebar { min-width: 0; }
.article-sidebar h2 { font-size: 16px; line-height: 20px; margin: 0 0 24px; font-weight: 800; letter-spacing: -.4px; }
.sidebar-social { margin-bottom: 48px; }
.sidebar-social > div { display: flex; flex-wrap: wrap; gap: 16px; }
.sidebar-social a { display: grid; place-items: center; min-width: 28px; min-height: 32px; font-size: 20px; font-weight: 700; }
.sidebar-latest a { display: block; font-size: 14px; line-height: 24px; font-weight: 700; letter-spacing: -.175px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #e9e9e9; }
.sidebar-latest a:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.related-section { margin-top: 48px; }
.related-section > h2 { font-size: 16px; line-height: 20px; margin: 0 0 32px; font-weight: 800; letter-spacing: -.4px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.related-card { min-width: 0; }
.related-image { display: block; aspect-ratio: 4 / 3; background: #eee; margin-bottom: 24px; overflow: hidden; }
.related-card > span { display: block; color: var(--green-text); text-transform: uppercase; font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: .5px; margin-bottom: 16px; }
.related-card h3 { font-size: 20px; line-height: 25px; margin: 0 0 16px; letter-spacing: -.25px; font-weight: 700; }
.related-card p { font-size: 14px; line-height: 21px; color: var(--muted); margin: 0; }

html[data-theme="dark"] .article-shell, html[data-theme="dark"] .article-page { background: #171717; }
html[data-theme="dark"] .article-content p { color: #d6d6d6; }
html[data-theme="dark"] .article-meta strong { color: #ddd; }
html[data-theme="dark"] .article-follow-link { border-color: #484848; background: #292929; color: #fff; }
html[data-theme="dark"] .article-follow-link:hover { border-color: #777; background: #333; }
html[data-theme="dark"] .share-rail a:nth-child(2) { color: #eee; }
html[data-theme="dark"] .share-rail a:nth-child(3) { color: #aaa; }
html[data-theme="dark"] .sidebar-latest a { border-color: #333; }
html[data-theme="dark"] .related-card p { color: #aaa; }

@media (max-width: 1199px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .article-body-grid { gap: 20px; }
  .article-strip-title { font-size: 36px; }
  .related-grid { gap: 30px; }
}
@media (max-width: 991px) {
  .article-shell { padding-top: 40px; }
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .article-title-wrap { padding-left: 10px; margin-top: -88px; }
  .article-meta { margin-left: 10px; }
  .article-body-grid { grid-template-columns: 1fr; gap: 24px; }
  .share-rail { position: static; flex-direction: row; justify-content: flex-start; gap: 8px; }
  .article-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
  .sidebar-social { margin-bottom: 0; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .article-shell { padding: 32px 0 48px; }
  .article-title-wrap { margin-top: -68px; }
  .article-strip-title { font-size: 30px; letter-spacing: -.375px; }
  .article-meta { margin-bottom: 32px; gap: 8px; }
  .article-meta > span:not(:last-child)::after { margin-left: 8px; }
  .article-content h2 { font-size: 32px; line-height: 40px; letter-spacing: -.4px; margin-top: 48px; }
  .article-follow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .article-follow h2 { grid-column: 1 / -1; margin: 0 0 6px; font-size: 18px; line-height: 24px; }
  .article-follow-link { min-height: 58px; padding: 10px; font-size: 14px; line-height: 18px; }
  .article-follow-icon, .article-follow-link .as-icon { width: 26px; height: 26px; flex-basis: 26px; }
  .article-share-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 32px; }
  .related-grid { gap: 28px 16px; }
  .related-image { margin-bottom: 16px; }
  .related-card h3 { font-size: 18px; line-height: 23px; }
}

/* WordPress content, navigation and forms — all public styles live in this file. */
[hidden], input[type="hidden"] { display: none !important; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; white-space: nowrap; }
.screen-reader-text:focus { clip-path: none; width: auto; height: auto; margin: 0; padding: 12px; background: #fff; color: #000; z-index: 999; }
.as-icon { width: 20px; height: 20px; vertical-align: middle; flex-shrink: 0; }
.as-social-icon { width: 1em; height: 1em; }
.nav-item { position: relative; display: flex; align-items: center; }
.submenu-toggle { border: 0; color: inherit; background: transparent; cursor: pointer; padding: 2px; display: grid; place-items: center; }
.submenu-toggle .as-icon { width: 13px; height: 13px; }
.sub-menu { display: none; position: absolute; top: 100%; left: -16px; padding: 10px 16px; background: #4d4d4d; min-width: 200px; box-shadow: 0 6px 12px #0002; max-height: 65vh; overflow-y: auto; }
.sub-menu a { display: block; padding: 8px 0; }
.submenu-open > .sub-menu { display: block; }
.desktop-nav > .nav-item { height: 100%; }
.search-is-open { overflow: hidden; }
.search-field button { cursor: pointer; }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #6b7476; background: #e4e7e8; }
.image-placeholder .as-icon { width: 20%; height: auto; opacity: .5; }
.without-image .article-title-wrap { margin-top: 0; padding-left: 0; }
.article-share-buttons a { display: flex; justify-content: center; gap: 8px; }
.share-rail a:nth-child(3) { color: #0a66c2; }
.share-rail a:nth-child(4) { color: #707070; }
.entry-content { overflow-wrap: anywhere; font-size: 17.6px; line-height: 1.5; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: #008465; }
.entry-content img, .comment-content img { width: auto; max-width: 100%; height: auto; object-fit: contain; }
.entry-content figure { max-width: 100%; margin: 0 0 32px; }
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.entry-content h1 { font-size: 44px; line-height: 1.2; }
.entry-content h3 { font-size: 28px; line-height: 1.3; margin: 48px 0 24px; }
.entry-content h4 { font-size: 24px; line-height: 1.4; margin: 32px 0 24px; }
.entry-content h5, .entry-content h6 { font-size: 20px; margin: 32px 0 24px; }
.entry-content ul, .entry-content ol { margin: 0 0 32px; padding-left: 26px; }
.entry-content li { margin-bottom: 10px; }
.entry-content li > ul, .entry-content li > ol { margin-bottom: 0; }
.entry-content blockquote { border-left: 4px solid var(--green); margin: 32px 0; padding: 8px 0 8px 24px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content cite { display: block; font-size: 14px; margin-top: 16px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.entry-content pre { overflow: auto; padding: 20px; background: #e9ecef; color: #111; font-size: 14px; white-space: pre; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 16px; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 700; }
.wp-block-table { overflow-x: auto; }
.wp-block-table.is-style-stripes tr:nth-child(odd) { background: #8881; }
.entry-content iframe { max-width: 100%; }
.entry-content video { width: 100%; height: auto; }
.entry-content audio { width: 100%; }
.wp-block-embed__wrapper { position: relative; }
.wp-has-aspect-ratio .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.wp-embed-aspect-4-3 .wp-block-embed__wrapper { aspect-ratio: 4 / 3; }
.wp-block-columns { display: flex; gap: 24px; margin-bottom: 32px; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-gallery, .gallery { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.wp-block-gallery .wp-block-image, .gallery-item { margin: 0; flex: 1 1 calc(50% - 16px); min-width: 0; }
.wp-block-gallery.columns-3 .wp-block-image, .gallery-columns-3 .gallery-item { flex-basis: calc(33.333% - 16px); }
.wp-block-gallery img, .gallery img { width: 100%; }
.blocks-gallery-grid { display: contents; list-style: none; }
.blocks-gallery-item { flex: 1 1 calc(50% - 16px); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.wp-block-button__link, .wp-element-button { display: inline-block; background: var(--green); color: #000; padding: 12px 24px; border: 0; font-weight: 700; text-decoration: none !important; }
.aligncenter { margin-left: auto !important; margin-right: auto !important; text-align: center; }
.alignleft { float: left; margin: 0 24px 24px 0 !important; }
.alignright { float: right; margin: 0 0 24px 24px !important; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-small-font-size { font-size: 13px !important; }
.has-medium-font-size { font-size: 20px !important; }
.has-large-font-size { font-size: 36px !important; }
.has-huge-font-size { font-size: 42px !important; }
.has-actusmartphone-color { color: var(--green-text) !important; }
.has-actusmartphone-background-color { background: var(--green); }
.has-black-color { color: #000 !important; }
.has-white-color { color: #fff !important; }
.has-black-background-color { background: #000; }
.has-white-background-color { background: #fff; }
.has-light-gray-background-color { background: #e9ecef; }
.has-background { padding: 20px; }

/* Editor: reproduce the published article canvas without loading another stylesheet. */
.editor-styles-wrapper,
body.mce-content-body {
  background: #fff;
  color: #0a0a0a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17.6px;
  line-height: 1.5;
}
.editor-styles-wrapper .is-root-container,
.editor-styles-wrapper .wp-block-post-content,
body.mce-content-body {
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
body.mce-content-body { padding: 24px; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) p,
body.mce-content-body p { margin: 0 0 32px; color: #0a0a0a; font-size: 17.6px; line-height: 1.5; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) a:not(.wp-block-button__link),
body.mce-content-body a:not(.wp-block-button__link) {
  color: var(--green-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) a:not(.wp-block-button__link):hover,
body.mce-content-body a:not(.wp-block-button__link):hover { color: #005f49; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) a:focus-visible,
body.mce-content-body a:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) h1,
body.mce-content-body h1 { font-size: 44px; line-height: 1.2; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) h2,
body.mce-content-body h2 { margin: 64px 0 32px; font-size: 40px; line-height: 1.25; letter-spacing: -.5px; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) h3,
body.mce-content-body h3 { margin: 48px 0 24px; font-size: 28px; line-height: 1.3; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) h4,
body.mce-content-body h4 { margin: 32px 0 24px; font-size: 24px; line-height: 1.4; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) h5,
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) h6,
body.mce-content-body h5,
body.mce-content-body h6 { margin: 32px 0 24px; font-size: 20px; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) :where(ul, ol),
body.mce-content-body :where(ul, ol) { margin: 0 0 32px; padding-left: 26px; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) li,
body.mce-content-body li { margin-bottom: 10px; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) blockquote,
body.mce-content-body blockquote { margin: 32px 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--green); }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) blockquote p:last-child,
body.mce-content-body blockquote p:last-child { margin-bottom: 0; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) :where(img, video),
body.mce-content-body :where(img, video) { width: auto; max-width: 100%; height: auto; object-fit: contain; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) figure,
body.mce-content-body figure { max-width: 100%; margin: 0 0 32px; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) figcaption,
body.mce-content-body figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) hr,
body.mce-content-body hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) pre,
body.mce-content-body pre { overflow: auto; padding: 20px; background: #e9ecef; color: #111; font-size: 14px; white-space: pre; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) table,
body.mce-content-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) :where(th, td),
body.mce-content-body :where(th, td) { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.editor-styles-wrapper :where(.is-root-container, .wp-block-post-content) th,
body.mce-content-body th { font-weight: 700; }
.comments-section { margin-top: 32px; scroll-margin-top: 24px; }
summary.comment-cta { cursor: pointer; list-style: none; }
summary.comment-cta::-webkit-details-marker { display: none; }
summary.comment-cta span { display: inline-block; padding: 10px 24px; border: 1px solid currentColor; font-size: 14px; line-height: 20px; font-weight: 600; }
.comments-section[open] > summary { margin-bottom: 32px; }
.article-content .comments-title, .comment-reply-title { font-size: 24px; line-height: 1.3; margin: 32px 0 24px; }
.comment-list, .comment-list .children { list-style: none; padding: 0; }
.comment-list .children { margin-left: 24px; }
.comment-body { border-bottom: 1px solid var(--line); padding: 24px 0; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-metadata { margin: 10px 0 16px; color: var(--muted); font-size: 12px; }
.article-content .comment-content p, .article-content .comment-notes, .article-content .logged-in-as { font-size: 15px; margin-bottom: 16px; }
.comment-content { overflow-wrap: anywhere; }
.reply { font-size: 13px; font-weight: 700; }
.comment-respond { scroll-margin-top: 24px; }
.comment-form label, .post-password-form label { display: block; font-size: 14px; margin-bottom: 8px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea, .post-password-form input[type="password"] { display: block; width: 100%; max-width: 100%; border: 1px solid #ccc; background: #fff; color: #111; padding: 12px; font: inherit; }
.comment-form .submit, .post-password-form input[type="submit"] { background: #111; color: #fff; padding: 12px 24px; border: 0; cursor: pointer; font-weight: 700; }
.comment-form-cookies-consent { display: flex; align-items: start; gap: 10px; }
.comment-form-cookies-consent input { margin-top: 4px; }
#cancel-comment-reply-link { font-size: 13px; font-weight: 400; margin-left: 12px; text-decoration: underline; }
.archive-shell { padding-top: 48px; padding-bottom: 80px; }
.archive-heading { margin-bottom: 40px; max-width: 800px; }
.archive-heading h1, .page-title { font-size: 40px; line-height: 1.25; margin: 0 0 24px; letter-spacing: -.5px; }
.archive-description { color: var(--muted); }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
.archive-card h3 { font-size: 22px; line-height: 1.3; }
.archive-main { min-width: 0; }
.pagination, .comments-pagination, .page-links { margin: 40px 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers, .page-links a, .page-links .post-page-numbers { padding: 8px 14px; border: 1px solid var(--line); }
.page-numbers.current { background: var(--green); color: #000; border-color: var(--green); }
.not-found { padding-top: 80px; padding-bottom: 100px; min-height: 55vh; }
.not-found .search-field { max-width: 600px; margin: 32px 0; }
html[data-theme="dark"] .entry-content, html[data-theme="dark"] .comment-content { color: #d6d6d6; }
html[data-theme="dark"] .comment-body { border-color: #3c3c3c; }
html[data-theme="dark"] .comment-form .submit { background: var(--green); color: #000; }
@media (max-width: 991px) {
  .mobile-nav.open { max-height: calc(100dvh - 64px); overflow-y: auto; }
  .mobile-nav .nav-item { flex-wrap: wrap; flex-shrink: 0; }
  .mobile-nav .nav-item > a { flex: 1; }
  .mobile-nav .submenu-toggle { width: 44px; height: 44px; }
  .mobile-nav .sub-menu { position: static; flex-basis: 100%; box-shadow: none; max-height: none; background: #414141; }
}
@media (max-width: 580px) {
  .archive-shell { padding-top: 32px; padding-bottom: 48px; }
  .archive-heading h1, .page-title { font-size: 32px; }
  .archive-grid { gap: 28px 16px; }
  .archive-card h3 { font-size: 18px; }
  .wp-block-columns { flex-direction: column; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 auto 24px !important; }
  .search-panel { padding: 24px 16px; }
  .search-field button { padding: 0 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
