/* Qollab Consulting — 1.2.0 — News templates + homepage feed.
   The existing page styles and animations are not edited. */

/* QOLLAB — harmonisation de la version test, sans modification des textes de fond */
:root{--pink:#fa0074;--max:1280px}
html{scroll-padding-top:93px}
/* Fixes for pre-existing intrinsic grid overflow at intermediate sizes */
@media(min-width:821px){
 body.site-partner .hero-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,.95fr);gap:clamp(22px,2.6vw,42px)}
 body.site-partner .production-grid{grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);gap:clamp(22px,3.1vw,48px)}
 body.site-partner .production-copy{min-width:0}
 body.site-partner .hero-visual{min-width:0}
}
@media(max-width:400px){
 body.site-conference .hero{grid-template-columns:minmax(0,1fr)!important;max-width:100%}
 body.site-conference .hero-copy,body.site-conference .hero-photo{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
}
body{font-family:Inter,Arial,Helvetica,sans-serif}
body>.site-header{position:fixed;z-index:999;top:0;left:0;right:0;height:78px;background:rgba(5,5,5,.96);border-bottom:1px solid rgba(255,255,255,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.site-header *{box-sizing:border-box}
.site-header .site-nav-inner{height:78px;max-width:1280px;width:calc(100% - 56px);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:26px}
.site-header .site-brand{display:flex;align-items:center;flex:0 0 147px;width:147px;height:50px;text-decoration:none;position:relative;z-index:2}
.site-header .site-brand img{display:block;max-width:147px;max-height:49px;width:100%;height:auto;object-fit:contain;object-position:left center}
.site-header .site-nav-links{display:flex;align-items:center;justify-content:flex-end;gap:clamp(11px,1.3vw,23px);margin:0 0 0 auto;padding:0;list-style:none;white-space:nowrap}
.site-header .site-nav-links a{font:750 .733rem/1.2 Inter,Arial,sans-serif;letter-spacing:.005em;text-decoration:none;color:#dadada;transition:color .2s;display:inline-flex;align-items:center;justify-content:center;padding:12px 0;border:0;background:none}
.site-header .site-nav-links a:hover,.site-header .site-nav-links a:focus-visible,.site-header .site-nav-links a.active{color:var(--pink)}
.site-header .site-nav-links a.site-nav-cta{border:1px solid var(--pink);color:#fff;padding:12px 15px;min-height:39px}
.site-header .site-nav-links a.site-nav-cta:hover{background:var(--pink);color:#fff}
.site-header .site-menu-btn{display:none;color:#fff;background:transparent;border:1px solid #474747;font-size:1.35rem;line-height:1;padding:8px 13px;cursor:pointer}
.site-header a:focus-visible,.site-header button:focus-visible{outline:2px solid var(--pink);outline-offset:4px}
/* Typography, pink accents and actions use one shared scale across six pages. */
.eyebrow{font-size:.73rem!important;letter-spacing:.18em!important}
.btn{min-height:54px!important;font-family:Inter,Arial,sans-serif!important;font-size:.88rem!important;border-radius:0!important}
.hero h1{font-family:Manrope,Inter,Arial,sans-serif;letter-spacing:-.055em}
body:not(.site-home) .hero h1{font-size:clamp(3rem,5.15vw,6.15rem);line-height:1.01}
.site-photo-accent{position:absolute;bottom:0;left:0;width:112px;height:7px;background:var(--pink);z-index:7;pointer-events:none}
.site-footer{background:#050505;color:#999;border-top:1px solid #202020;padding:26px 0;font-size:.76rem;line-height:1.5}
.site-footer .site-footer-inner{max-width:1280px;width:calc(100% - 56px);margin:auto;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.site-footer a{color:#dedede;text-decoration:none;transition:color .2s}
.site-footer a:hover{color:var(--pink)}
.site-footer .site-footer-links{display:flex;gap:22px;flex-wrap:wrap}
@media(max-width:1180px){
 .site-header .site-nav-links{gap:11px}
 .site-header .site-nav-links a{font-size:.70rem}
 .site-header .site-brand{flex-basis:133px;width:133px}
 .site-header .site-brand img{max-width:133px}
}
@media(max-width:1010px){
 .site-header .site-nav-inner{width:calc(100% - 36px)}
 .site-header .site-brand{flex-basis:145px;width:145px}
 .site-header .site-brand img{max-width:145px}
 .site-header .site-menu-btn{display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:43px}
 .site-header .site-nav-links{display:none;position:absolute;top:78px;left:0;right:0;margin:0;background:rgba(6,6,6,.985);padding:14px 20px 25px;border-bottom:1px solid #333;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100vh - 78px);overflow-y:auto;box-shadow:0 22px 32px rgba(0,0,0,.35)}
 .site-header .site-nav-links.open{display:flex}
 .site-header .site-nav-links a{font-size:.9rem;width:100%;min-height:45px;justify-content:flex-start;padding:13px 9px;border-bottom:1px solid #222}
 .site-header .site-nav-links a.site-nav-cta{margin-top:14px;width:max-content;min-width:140px;justify-content:center;padding:12px 18px}
}
@media(max-width:620px){
 .site-footer .site-footer-inner{width:calc(100% - 36px);align-items:flex-start;flex-direction:column;gap:12px}
 .site-footer .site-footer-links{gap:18px}
 body:not(.site-home) .hero h1{font-size:clamp(2.75rem,10vw,4rem);line-height:1.055}
 .btn{min-height:52px!important}
}
@media(prefers-reduced-motion:reduce){.site-header .site-nav-links a,.site-footer a{transition:none}}

.site-photo-wrap{position:relative}


/* Navigation has one new item: stay within the existing mobile breakpoint. */
@media (min-width:1011px) and (max-width:1230px){
 .site-header .site-nav-inner{width:calc(100% - 36px);gap:14px}
 .site-header .site-nav-links{gap:clamp(7px,.8vw,12px)}
 .site-header .site-nav-links a{font-size:.68rem}
 .site-header .site-brand{flex-basis:123px;width:123px}
 .site-header .site-brand img{max-width:123px}
}
.q-news-section,body.site-news{--q-news-pink:#fa0074;--q-news-black:#080808;--q-news-max:1280px}
body.site-news{margin:0;background:#fff;color:#121212;font-family:Inter,Arial,sans-serif;overflow-x:hidden}
body.site-news *, .q-news-section *{box-sizing:border-box}
body.site-news a,.q-news-section a{text-decoration:none}
body.site-news img,.q-news-section img{max-width:100%;height:auto}
body.site-news .site-header .site-brand img{width:100%;max-width:147px}
body.site-news .site-footer .qollab-footer-identity{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.q-news-container{width:min(calc(100% - 56px),var(--q-news-max,1280px));margin:0 auto}
.q-news-prose-width{width:min(calc(100% - 48px),850px);margin-left:auto;margin-right:auto}
.q-news-section{padding:110px 0 120px;color:#0b0b0b;background:#fff}
.q-news-home{border-top:1px solid #e5e5e5;background:#f7f7f7}
.q-news-related{border-top:1px solid #e9e9e9;background:#f8f8f8}
.q-news-section-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:45px}
.q-news-section-heading h2{font:800 clamp(2.25rem,4.3vw,4.9rem)/1.05 Manrope,Inter,sans-serif;letter-spacing:-.06em;margin:10px 0 0}
.q-news-section-heading h2 em,.q-news-hero h1 em,.q-news-related h2 em{font-style:normal;color:var(--q-news-pink)}
.q-news-eyebrow{font:800 .76rem/1.4 Inter,Arial,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:var(--q-news-pink);margin:0}
.q-news-all,.q-news-read,.q-news-back a{display:inline-flex;gap:13px;align-items:center;font-weight:800;color:#121212;border-bottom:2px solid var(--q-news-pink);padding-bottom:7px;transition:color .2s}
.q-news-all:hover,.q-news-read:hover,.q-news-back a:hover{color:var(--q-news-pink)}
.q-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.q-news-card{min-width:0;background:#fff;display:flex;flex-direction:column;box-shadow:0 12px 35px rgba(0,0,0,.045);border:1px solid #e8e8e8;transition:transform .25s,box-shadow .25s}
.q-news-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(0,0,0,.105)}
.q-news-card-media{position:relative;display:block;aspect-ratio:1.52;overflow:hidden;background:#090909}
.q-news-card-media img.q-news-card-image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .4s;aspect-ratio:auto}
.q-news-card:hover .q-news-card-image{transform:scale(1.035)}
.q-news-card-placeholder{width:100%;height:100%;display:grid;place-items:center;background:radial-gradient(circle at 75% 20%,#31313a,transparent 40%),linear-gradient(135deg,#090909,#171717);color:#fff;font:800 1.6rem Manrope,Inter,sans-serif;letter-spacing:-.055em}
.q-news-dot{color:var(--q-news-pink)}
.q-news-card-accent{position:absolute;z-index:1;bottom:0;left:0;width:100px;height:6px;background:var(--q-news-pink)}
.q-news-card-body{padding:26px 27px 30px;display:flex;flex:1;flex-direction:column;align-items:start}
.q-news-date{font:750 .75rem Inter,Arial,sans-serif;color:#777;letter-spacing:.055em;text-transform:uppercase}
.q-news-card-title{font:800 clamp(1.24rem,1.7vw,1.54rem)/1.26 Manrope,Inter,sans-serif;letter-spacing:-.04em;margin:14px 0 0;overflow-wrap:anywhere}
.q-news-card-title a{color:#111}
.q-news-card-title a:hover{color:#d00061}
.q-news-excerpt{font:400 .93rem/1.65 Inter,Arial,sans-serif;color:#555;margin:16px 0 23px;overflow-wrap:anywhere}
.q-news-card .q-news-read{font-size:.86rem;margin-top:auto;padding-top:9px}
/* Archive page */
.q-news-hero{padding:175px 0 88px;color:#fff;background:radial-gradient(circle at 83% 45%,rgba(250,0,116,.2),transparent 28%),linear-gradient(120deg,#050505,#171717)}
.q-news-hero h1{font:800 clamp(3.35rem,7vw,7rem)/1.02 Manrope,Inter,sans-serif;letter-spacing:-.065em;margin:20px 0 28px;overflow-wrap:anywhere}
.q-news-hero-description{font:500 clamp(1rem,1.7vw,1.22rem)/1.6 Inter,Arial,sans-serif;max-width:770px;color:#ccc;margin:0}
.q-news-archive{padding:82px 0 118px}
.q-news-empty{font:500 1.15rem/1.6 Inter,Arial,sans-serif;color:#555}
.q-news-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-top:66px}
.q-news-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;border:1px solid #d9d9d9;padding:8px 13px;font-weight:750;color:#121212}
.q-news-pagination .page-numbers:hover,.q-news-pagination .page-numbers.current{background:#0b0b0b;color:#fff;border-color:#0b0b0b}
/* Single article — same navigation, fonts, pink accents. Gutenberg content stays editable. */
.q-news-article-hero{background:#080808;color:#fff;padding:146px 0 75px}
.q-news-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#bbb;font-size:.81rem;margin:0 0 30px}
.q-news-breadcrumb a{color:#fff}
.q-news-breadcrumb a:hover{color:var(--q-news-pink)}
.q-news-breadcrumb [aria-current="page"]{max-width:60ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.q-news-article-hero .q-news-date{color:#d9d9d9}
.q-news-article-hero h1{font:800 clamp(2.45rem,5.3vw,5.2rem)/1.08 Manrope,Inter,sans-serif;letter-spacing:-.05em;overflow-wrap:anywhere;margin:18px 0 0}
.q-news-feature{margin-top:48px;margin-bottom:0}
.q-news-feature img.q-news-feature-image{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}
.q-news-feature figcaption{font-size:.82rem;line-height:1.5;color:#666;margin:9px 0 0}
.q-news-prose{font:400 1.06rem/1.85 Inter,Arial,sans-serif;color:#242424;padding-top:60px;overflow-wrap:anywhere}
.q-news-prose > :first-child{margin-top:0}
.q-news-prose p{margin:0 0 1.55em}
.q-news-prose h2,.q-news-prose h3,.q-news-prose h4{font-family:Manrope,Inter,sans-serif;line-height:1.2;letter-spacing:-.04em;margin:1.65em 0 .7em;color:#111}
.q-news-prose h2{font-size:clamp(1.7rem,3vw,2.45rem)}
.q-news-prose h3{font-size:clamp(1.35rem,2.3vw,1.8rem)}
.q-news-prose ul,.q-news-prose ol{margin:0 0 1.55em;padding-left:1.7em}
.q-news-prose li{margin-bottom:.6em}
.q-news-prose a{color:#b50055;text-decoration:underline;text-underline-offset:3px}
.q-news-prose a:hover{color:#111}
.q-news-prose img{max-width:100%;height:auto}
.q-news-prose figure{max-width:100%;margin:2.2em auto}
.q-news-prose figcaption{color:#666;font-size:.83rem;line-height:1.5;margin-top:10px;text-align:center}
.q-news-prose blockquote{border-left:5px solid var(--q-news-pink);padding:8px 0 8px 26px;margin:2em 0;font:600 1.2rem/1.6 Manrope,Inter,sans-serif}
.q-news-prose iframe,.q-news-prose video,.q-news-prose embed{max-width:100%}
.q-news-prose .wp-block-embed__wrapper{max-width:100%;overflow:hidden}
.q-news-prose .wp-block-image img{height:auto}
.q-news-prose .alignwide{max-width:100%;margin-left:auto;margin-right:auto}
.q-news-prose .alignfull{max-width:100%;margin-left:auto;margin-right:auto}
.q-news-prose .wp-block-button__link{display:inline-block;background:var(--q-news-pink);color:#fff;text-decoration:none;border-radius:0;padding:14px 24px;font-weight:750}
.q-news-prose .wp-block-button__link:hover{background:#b60056;color:#fff}
.q-news-prose .wp-block-columns{display:flex;gap:22px;flex-wrap:wrap}
.q-news-prose .wp-block-column{flex:1 1 240px;min-width:0}
.q-news-prose .wp-block-table{overflow-x:auto}
.q-news-prose .wp-block-table table{width:100%;border-collapse:collapse}
.q-news-prose .wp-block-table td,.q-news-prose .wp-block-table th{border:1px solid #ddd;padding:10px}
.q-news-back{padding:30px 0 95px}
.q-news-back a{font-size:.95rem}
/* Accessibility */
.q-news-section a:focus-visible,body.site-news .q-news-main a:focus-visible{outline:3px solid var(--q-news-pink);outline-offset:4px}
@media(max-width:1050px){.q-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .q-news-container{width:calc(100% - 36px)}
 .q-news-section{padding:72px 0 83px}
 .q-news-section-heading{flex-direction:column;align-items:flex-start;gap:22px;margin-bottom:30px}
 .q-news-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .q-news-section-heading h2{font-size:clamp(2.15rem,9vw,3.3rem)}
 .q-news-card-body{padding:22px 23px 26px}
 .q-news-card-title{font-size:1.4rem}
 .q-news-hero{padding:134px 0 65px}
 .q-news-hero h1{font-size:clamp(2.85rem,12vw,4.1rem)}
 .q-news-archive{padding:52px 0 80px}
 .q-news-article-hero{padding:128px 0 57px}
 .q-news-article-hero h1{font-size:clamp(2.45rem,9.6vw,3.5rem)}
 .q-news-prose{font-size:1rem;padding-top:40px;line-height:1.78}
 .q-news-feature{margin-top:30px}
 .q-news-back{padding-bottom:70px}
 .q-news-breadcrumb [aria-current="page"]{display:none}
}
@media(prefers-reduced-motion:reduce){
 .q-news-card,.q-news-card-image,.q-news-all,.q-news-read,.q-news-back a{transition:none!important;transform:none!important}
}
