/*
Theme Name: Antoine Gehant — Éditorial
Author: Antoine Gehant
Description: Un thème éditorial léger, blanc et bleu, pour Liberté et politique. Articles WordPress natifs et newsletter MailPoet.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: antoine-editorial
*/
:root{--ink:#102e50;--blue:#245be0;--muted:#526378;--line:#dce4ed;--pale:#f1f5fb;--white:#fff;--width:1160px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--white);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:5px}a:hover{color:var(--blue)}a,button,input,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #e2ad27;outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.1;letter-spacing:-.035em}h1{font-size:clamp(44px,6.3vw,82px)}h2{font-size:clamp(34px,4vw,49px)}h3{font-size:29px}p{margin-bottom:1.3em}button,input,textarea{font:inherit}.wrap{width:min(var(--width),calc(100% - 80px));margin-inline:auto}.skip-link{position:absolute;left:20px;top:-100px;background:var(--ink);color:#fff;padding:12px 20px;z-index:10000}.skip-link:focus{top:15px}.site-header{border-top:5px solid var(--blue);border-bottom:1px solid var(--line)}.masthead{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:26px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;flex-shrink:0}.monogram{display:grid;place-items:center;background:var(--ink);color:white;width:48px;height:48px;font-family:Georgia,serif;font-size:23px;letter-spacing:-2px}.brand-name{display:block;font-family:Georgia,serif;font-size:26px;line-height:1.15;letter-spacing:-.8px}.brand-line{display:block;color:var(--muted);font-size:10px;letter-spacing:2.4px;text-transform:uppercase;margin-top:7px}.nav{display:flex;align-items:center;gap:32px;font-size:14px}.nav a{text-decoration:none;padding-block:10px}.nav .nav-letter{border-bottom:1px solid var(--blue);color:var(--blue)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.1px;text-transform:uppercase;color:var(--blue);margin:0 0 25px}.hero{padding-block:86px 66px;display:grid;grid-template-columns:1.45fr .75fr;gap:80px;align-items:center}.hero h1{max-width:800px;margin-bottom:27px}.hero h1 em{font-weight:400;color:var(--blue)}.hero .lead{font-size:19px;line-height:1.7;max-width:560px;color:var(--muted);margin-bottom:29px}.button{display:inline-flex;justify-content:center;align-items:center;gap:27px;min-height:50px;background:var(--blue);color:#fff;padding:13px 24px;text-decoration:none;font-size:14px;font-weight:600;border:1px solid var(--blue);cursor:pointer}.button:hover{background:var(--ink);color:white;border-color:var(--ink)}.arrow{font-size:20px;line-height:1}.editorial-art{position:relative;aspect-ratio:4/5;background:var(--pale);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:28px;border-top:2px solid var(--blue)}.art-label{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);z-index:1}.art-mark{position:absolute;inset:0;display:grid;place-items:center;font-family:Georgia,serif;font-size:220px;line-height:1;color:var(--blue);letter-spacing:-30px;transform:translateX(-10px)}.art-lines{position:absolute;inset:18% -35% 18% 38%;border:1px solid #245be02e;border-radius:50%;transform:rotate(-35deg)}.art-lines:before,.art-lines:after{content:'';position:absolute;inset:25px;border:1px solid #245be02e;border-radius:50%}.art-lines:after{inset:50px}.art-foot{position:relative;font-family:Georgia,serif;font-size:21px;line-height:1.3;max-width:160px}.topics{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:32px;padding:17px 0;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}.topics span+span:before{content:'·';color:var(--blue);margin-right:32px}.section{padding-block:78px}.about{display:grid;grid-template-columns:1fr 1.25fr;gap:90px;align-items:start}.about h2{max-width:380px;margin-bottom:0}.about-copy{padding-top:4px;max-width:590px}.about-copy p{color:var(--muted);font-size:18px}.about-copy .signature{font-family:Georgia,serif;font-size:21px;color:var(--ink);margin-bottom:0}.articles-section{background:var(--pale);border-block:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;margin-bottom:38px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:17px}.section-note{font-size:13px;color:var(--muted);max-width:230px}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}.article-card{border-top:2px solid var(--ink);padding-top:20px;min-width:0}.article-card h3{font-size:29px;margin:16px 0}.article-card h3 a{text-decoration:none}.article-card .excerpt{font-size:15px;color:var(--muted)}.meta{font-size:11px;letter-spacing:.8px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.meta .category{color:var(--blue);text-transform:uppercase;font-weight:700}.read-link{font-size:13px;text-decoration:none;color:var(--blue);display:inline-block;min-height:44px;padding-block:8px}.card-image{width:100%;aspect-ratio:16/10;object-fit:cover;margin:0 0 20px}.empty-articles{padding:35px 0 24px;border-top:1px solid #b7c7db;display:grid;grid-template-columns:1fr 1fr;gap:60px}.empty-articles h3{font-size:30px;max-width:400px}.empty-articles p{font-size:16px;color:var(--muted);max-width:450px}.newsletter{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.newsletter h2{max-width:450px}.newsletter p{color:var(--muted)}.newsletter .eyebrow{color:var(--blue)}.newsletter-panel{background:var(--pale);padding:32px;border-top:2px solid var(--blue)}.newsletter-panel p:last-child{margin-bottom:0}.newsletter-panel .mailpoet_form{padding:0!important;background:transparent!important}.newsletter-panel label{display:block!important;font-size:13px;color:var(--ink);margin-bottom:7px}.newsletter-panel input[type=email],.newsletter-panel input[type=text]{width:100%!important;border:1px solid #a5b5c9!important;background:#fff!important;min-height:50px;padding:12px!important;color:var(--ink)!important;border-radius:0!important}.newsletter-panel input[type=submit],.newsletter-panel button{background:var(--blue)!important;color:#fff!important;padding:14px 20px!important;border:0!important;border-radius:0!important;min-height:50px;cursor:pointer;font:600 14px Arial,sans-serif!important}.newsletter-panel .mailpoet_paragraph{margin-bottom:16px!important}.newsletter-panel .mailpoet_checkbox_label{font-size:12px!important;line-height:1.6}.newsletter-panel input[type=checkbox]{width:18px;height:18px;margin-right:7px;vertical-align:middle}.fineprint{font-size:12px;line-height:1.6;margin-top:18px}.footer{border-top:1px solid var(--line);padding:32px 0}.footer-main{display:flex;justify-content:space-between;gap:25px;align-items:center}.footer .brand-name{font-size:21px}.footer-links{display:flex;flex-wrap:wrap;gap:10px 23px;font-size:12px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);margin-top:25px}.footer-bottom p{margin:0}.reading{max-width:740px;margin-inline:auto;padding-block:60px 85px}.reading h1{font-size:clamp(39px,5vw,62px);margin:22px 0}.reading .post-meta{margin-bottom:35px}.entry-content{font-family:Georgia,serif;font-size:21px;line-height:1.8;overflow-wrap:anywhere}.entry-content h2{font-size:35px;margin-top:1.8em}.entry-content h3{font-size:27px;margin-top:1.5em}.entry-content a{color:var(--blue)}.entry-content blockquote{border-left:3px solid var(--blue);margin:35px 0;padding:5px 0 5px 25px;color:var(--muted)}.entry-content figcaption{font:13px/1.6 Arial,sans-serif;color:var(--muted)}.entry-content pre{overflow:auto;font-size:14px}.entry-content table{border-collapse:collapse;width:100%;font-size:16px}.entry-content td,.entry-content th{border:1px solid var(--line);padding:10px}.post-end{margin-top:50px;border-top:1px solid var(--line);padding-top:25px;font-size:14px}.post-end .button{margin-top:15px}.navigation.pagination{padding-top:35px}.page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border:1px solid var(--line);padding:6px 12px;text-decoration:none;margin:4px}.page-numbers.current{background:var(--ink);color:white}.search-form{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}.search-field{padding:12px;min-height:48px;border:1px solid var(--line);max-width:100%;width:300px}.search-submit{background:var(--blue);color:#fff;border:0;padding:12px 22px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}.alignwide{max-width:100%}.wp-caption{max-width:100%}.sticky{border-top-color:var(--blue)}
@media(min-width:1500px){.hero{padding-block:100px 80px}}@media(max-width:900px){.wrap{width:calc(100% - 48px)}.hero{gap:35px;padding-top:55px;grid-template-columns:1.3fr .7fr}.art-mark{font-size:170px}.art-foot{font-size:18px}.editorial-art{padding:20px}.about,.newsletter{gap:40px}.nav{gap:20px}.article-grid{gap:24px}.article-card h3{font-size:26px}.section{padding-block:60px}}@media(max-width:640px){.wrap{width:calc(100% - 40px)}.masthead{flex-wrap:wrap;gap:18px;padding:21px 0 16px}.brand-name{font-size:25px}.nav{width:100%;justify-content:space-between;gap:14px;font-size:13px;border-top:1px solid var(--line);padding-top:8px}.hero{grid-template-columns:1fr;padding-block:47px 38px;gap:34px}.hero h1{font-size:52px}.hero .lead{font-size:17px}.eyebrow{font-size:10px;margin-bottom:22px}.editorial-art{aspect-ratio:auto;min-height:148px;flex-direction:row;align-items:flex-end;gap:20px;padding:20px}.art-label{max-width:80px;align-self:flex-start}.art-mark{font-size:132px;transform:translateX(20px);letter-spacing:-15px}.art-foot{max-width:110px;font-size:17px}.art-lines{inset:-120% -10% -120% 30%}.topics{justify-content:space-between;gap:8px;font-size:9px;letter-spacing:1.3px}.topics span+span:before{margin-right:14px}.about,.newsletter{grid-template-columns:1fr;gap:27px}.about h2{max-width:320px}.about-copy p{font-size:17px}.section{padding-block:48px}.section-heading{display:block;margin-bottom:28px}.section-note{margin:15px 0 0;max-width:none}.article-grid,.empty-articles{grid-template-columns:1fr;gap:22px}.article-card{padding-block:22px}.article-card h3{font-size:31px}.empty-articles h3{margin-bottom:0}.newsletter-panel{padding:25px 20px}.footer-main,.footer-bottom{align-items:flex-start;flex-direction:column}.footer-links{gap:8px 19px}.footer-links a{padding-block:8px}.reading{padding-block:40px 55px}.entry-content{font-size:19px}.entry-content h2{font-size:30px}.reading h1{font-size:43px;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{.site-header,.footer,.newsletter,.post-end,.skip-link,#wpadminbar{display:none!important}.wrap{width:100%}.reading{max-width:none;padding:0}a{color:inherit}body{font-size:12pt}}

.about{grid-template-columns:280px minmax(0,1fr);align-items:center;gap:80px;max-width:1060px}.portrait{margin:0;border-bottom:5px solid var(--blue)}.portrait img{width:100%;height:350px;object-fit:cover;object-position:center 36%;display:block}.about-copy{padding:0;max-width:650px}.about-copy h2{max-width:none;margin-bottom:25px}.about-copy .eyebrow{font-size:11px;color:var(--blue);margin-bottom:20px}.footer-main{align-items:flex-start}.footer-links{justify-content:flex-end;max-width:790px}.footer-links a{min-height:30px}
@media(max-width:900px){.about{grid-template-columns:220px minmax(0,1fr);gap:36px}.portrait img{height:330px}.about-copy h2{font-size:38px}.about-copy p{font-size:17px}}
@media(max-width:640px){.about{grid-template-columns:1fr;gap:28px}.portrait{width:100%;max-width:320px}.portrait img{height:320px;object-position:center 30%}.about-copy h2{font-size:38px}.footer-links{justify-content:flex-start}.hero h1{font-size:clamp(39px,8.1vw,52px)}}

/* Article typography aligned with the home page. */
.single .reading{max-width:740px;padding-block:56px 72px}
.single .reading h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(36px,4.3vw,54px);line-height:1.15;letter-spacing:-.035em;text-wrap:balance;hyphens:none;overflow-wrap:normal;word-break:normal;margin:22px 0 24px}
.single .reading .post-meta{font-size:12px;line-height:1.6;letter-spacing:.3px;margin-bottom:32px}
.single .entry-content{font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.8;color:var(--muted);hyphens:none;overflow-wrap:break-word;word-break:normal}
.single .entry-content p,.single .entry-content li{font-family:inherit;font-size:inherit;line-height:inherit;hyphens:none;word-break:normal}
.single .entry-content p{margin:0 0 1.3em;text-align:justify;text-align-last:start}
.single .entry-content h2,.single .entry-content h3{font-family:Georgia,'Times New Roman',serif;color:var(--ink);font-weight:400;line-height:1.2;letter-spacing:-.025em;text-align:left;hyphens:none;text-wrap:pretty}
.single .entry-content h2{font-size:32px;margin:1.6em 0 .65em}
.single .entry-content h3{font-size:26px;margin:1.4em 0 .6em}
.single .entry-content ul,.single .entry-content ol{padding-left:1.4em;margin:0 0 1.3em}
.single .entry-content li+li{margin-top:.45em}
.single .entry-content a{text-underline-offset:4px}
.single .entry-content blockquote{font-family:inherit;font-size:inherit;line-height:inherit}
@media(max-width:640px){.single .reading{padding-block:32px 48px}.single .reading h1{font-size:36px;line-height:1.16;margin:18px 0 22px}.single .reading .post-meta{font-size:11px;gap:6px 9px;margin-bottom:26px}.single .entry-content{font-size:17px;line-height:1.8}.single .entry-content h2{font-size:28px;margin-top:1.5em}.single .entry-content h3{font-size:24px}}

/* Keep the portrait accent consistent on desktop and mobile. */
@media(min-width:1000px){body #a-propos .portrait{border-bottom:5px solid var(--blue)}}

/* Consistent editorial covers and visible photo attribution. */
.article-card-photo{margin:0 0 22px}.article-card-photo .card-image,.article-featured>img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center;border-radius:10px;margin:0;background:var(--pale)}
.article-featured{margin:0 0 34px}.photo-credit{font-family:Arial,Helvetica,sans-serif;font-size:11px;font-weight:400;line-height:1.5;color:var(--muted);text-align:left;letter-spacing:0;hyphens:none;padding-top:9px}.photo-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}.article-card-photo .photo-credit{font-size:10px}
.post-900008 .card-image,.postid-900008 .article-featured>img{object-position:center 65%}.post-900018 .card-image,.postid-900018 .article-featured>img{object-position:center 40%}
@media(max-width:640px){.article-featured{margin-bottom:28px}.photo-credit{font-size:10px}}

/* Compact navigation, with an accessible mobile menu. */
.site-header.compact-header{border-top:0;border-bottom:1px solid var(--line);background:#fff;box-shadow:none}
.compact-masthead{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding-block:0}
.header-wordmark{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;font:400 24px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.6px;text-decoration:none;color:var(--ink)}
.header-panel{display:flex;align-items:center;gap:30px;min-width:0}
.header-panel[hidden],.header-toggle[hidden]{display:none!important}
.header-nav{display:flex;align-items:center;gap:26px;font:400 13px/1.4 Arial,Helvetica,sans-serif}
.header-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;text-decoration:none;color:var(--muted);transition:color .18s ease}
.header-nav a:hover,.header-nav .header-newsletter{color:var(--blue)}
.header-nav .header-newsletter{font-weight:600}
.header-socials{display:flex;align-items:center;gap:2px;padding-left:22px;border-left:1px solid var(--line)}
.header-socials a{display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:44px;color:var(--muted);text-decoration:none;transition:color .18s ease}
.header-socials a:hover{color:var(--blue)}
.header-socials svg{display:block;width:18px;height:18px;fill:currentColor}
.header-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 0 8px 12px;border:0;border-radius:0;background:transparent;color:var(--ink);font:400 13px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
.header-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.header-toggle .menu-close-icon{display:none}
.header-toggle[aria-expanded="true"] .menu-open-icon{display:none}
.header-toggle[aria-expanded="true"] .menu-close-icon{display:block}
@media(max-width:900px){
 .compact-masthead{min-height:60px;flex-wrap:wrap;gap:0 16px;padding-block:8px}
 .header-wordmark{font-size:22px}
 .header-panel{flex-basis:100%;flex-direction:column;align-items:stretch;gap:12px;padding:10px 0 12px}
 .header-nav{flex-direction:column;gap:0;font-size:14px;border-top:1px solid var(--line);padding-top:8px}
 .header-nav a{justify-content:center;width:100%;min-height:46px}
 .header-socials{justify-content:center;gap:10px;border-left:0;border-top:1px solid var(--line);padding:12px 0 0}
 .header-socials a{width:44px;min-height:44px}
 .header-socials svg{width:19px;height:19px}
}
@media(prefers-reduced-motion:reduce){.header-nav a,.header-socials a{transition:none}}

/* Keep navigation available while reading, with room for anchor targets. */
:root{--sticky-header-height:65px;--sticky-admin-offset:0px}
html:has(body.admin-bar){--sticky-admin-offset:32px}
html{scroll-padding-top:calc(var(--sticky-header-height) + var(--sticky-admin-offset) + 16px)}
.site-header.compact-header{position:sticky;top:var(--sticky-admin-offset);z-index:1000}
@media(max-width:900px){
 :root{--sticky-header-height:61px}
 .compact-header .header-panel{max-height:calc(100vh - var(--sticky-header-height) - var(--sticky-admin-offset));max-height:calc(100dvh - var(--sticky-header-height) - var(--sticky-admin-offset));overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:782px){html:has(body.admin-bar){--sticky-admin-offset:46px}}
@media(max-width:600px){html:has(body.admin-bar){--sticky-admin-offset:0px}}
