/*
Theme Name: Forum Congo–Canada Institutionnel
Version: 0.1.2
Description: Identité WordPress en préparation; textes et dates des archives conservés.
Requires PHP: 8.0
Text Domain: forum-institutionnel
*/
:root{--ink:#102a43;--accent:#086aa4;--pale:#eef5f9;--line:#dce5eb;--gold:#c59a40;--paper:#fff;--serif:Georgia,'Times New Roman',serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.7;background:var(--paper)}img{max-width:100%;height:auto}a{color:var(--accent);text-underline-offset:4px}button,input,summary{font:inherit}a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:5px}.wrap{width:min(1240px,calc(100% - 80px));margin-inline:auto}.skip-link{position:absolute;top:-100px;background:#fff;padding:14px;z-index:1000}.skip-link:focus{top:8px}.mastline{background:var(--ink);color:#fff;font-size:11px;letter-spacing:1.6px;text-transform:uppercase}.mastline .wrap{display:flex;justify-content:space-between;padding-block:9px;gap:16px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:24px;min-height:116px}.brand{display:flex;gap:15px;align-items:center;text-decoration:none;color:var(--ink);font-size:19px;font-weight:700;line-height:1.2;flex-shrink:0}.brand img{object-fit:contain;width:74px;height:82px}.brand small{display:block;max-width:270px;font-size:10px;font-weight:400;text-transform:uppercase;letter-spacing:2px;line-height:1.5;margin-top:8px}.desktop-nav{display:flex;margin-left:auto;gap:22px;align-items:center}.desktop-nav a,.language{font-size:12px;font-weight:bold;text-decoration:none;color:inherit}.desktop-nav a{padding:14px 0;border-bottom:2px solid transparent}.desktop-nav a:hover{border-color:var(--accent)}.more-nav{position:relative;font-size:12px;font-weight:700}.more-nav summary{cursor:pointer;list-style:none;white-space:nowrap;padding:15px 0}.more-nav summary::-webkit-details-marker{display:none}.more-nav nav{position:absolute;right:0;top:100%;z-index:20;background:#fff;border:1px solid var(--line);box-shadow:0 15px 35px #102a4320;width:290px;padding:14px;display:grid;max-height:70vh;overflow-y:auto}.more-nav nav a{padding:9px 12px;text-decoration:none;color:var(--ink)}.more-nav nav a:hover{background:var(--pale)}.language{border:1px solid currentColor;padding:8px}.entry{overflow-wrap:anywhere}.entry h1,.page-header h1,.empty-state h1,.article-header h1{font:400 clamp(36px,4.2vw,64px)/1.12 var(--serif);letter-spacing:-1.8px}.entry h2,.journal h2{font:400 clamp(28px,2.8vw,42px)/1.18 var(--serif);letter-spacing:-.7px;margin-top:0;margin-bottom:28px}.entry h3{font-size:24px;line-height:1.3}.entry h4{font-size:19px;line-height:1.45}.entry p{max-width:78ch}.migration-section{padding:64px max(40px,calc((100vw - 1120px)/2));border-bottom:1px solid var(--line)}.migration-section:nth-of-type(2n){background:var(--pale)}.migration-section>div{max-width:1120px;margin:auto}.migration-section:first-child{padding-top:76px;padding-bottom:76px}.migration-section:first-child h1{max-width:1050px;margin:0 0 28px}.migration-section:first-child p{font-size:21px;line-height:1.55;max-width:780px}.migration-section:first-child a{display:inline-block;margin:16px 16px 0 0;padding:13px 22px;background:var(--accent);color:white;text-decoration:none;font-size:14px;font-weight:700}.migration-section figure{margin:28px 0}.migration-section img{border-radius:2px;display:block;max-height:650px;object-fit:contain;margin:22px 0}.migration-section img[alt*="Logo"],.migration-section img[alt*="logo"]{max-height:110px;object-fit:contain}.migration-section figcaption{font-size:13px;color:#52677b}.migration-section hr{border:0;border-top:1px solid var(--line);margin:32px 0}.migration-section blockquote{margin:30px 0;border-left:3px solid var(--gold);padding:10px 24px;font:italic 24px/1.5 var(--serif)}.migration-section table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.migration-section td,.migration-section th{padding:14px;border:1px solid var(--line)}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:2.5px;color:var(--accent);margin:0 0 18px}.journal{padding-block:80px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.card{border:1px solid var(--line);background:#fff}.card>a{display:block;height:100%;color:var(--ink);text-decoration:none}.card>a:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.card img{width:100%;aspect-ratio:18/11;object-fit:cover;display:block}.card-body{padding:25px}.card time,.article-header time,.archive time{font-size:12px;color:#536679}.card h3{font:400 24px/1.3 var(--serif);margin:13px 0}.card p{font-size:14px;line-height:1.6;color:#52677b}.read{font-size:12px;font-weight:bold;color:var(--accent)}.article-header,.page-header{padding-block:70px 40px;max-width:1000px}.article-header h1{max-width:1000px;margin:0 0 25px}.article-cover{max-width:1000px;margin-bottom:40px}.article-cover img{width:100%;max-height:540px;object-fit:cover}.article-body{max-width:780px;margin:auto;padding:0 30px 80px;line-height:1.85}.article-body h2{font:400 31px/1.25 var(--serif);margin-top:45px}.article-body h3{margin-top:34px}.article-body img{display:block;margin:30px auto}.archive,.empty-state{padding-block:70px 100px}.archive-list{max-width:840px}.archive-list article{padding:32px 0;border-bottom:1px solid var(--line)}.site-footer{background:var(--ink);color:white;padding:60px 0;font-size:14px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:50px}.footer-title{font:400 27px/1.3 var(--serif);margin:0 0 20px}.site-footer nav{display:grid;align-content:start;gap:12px}.site-footer a{color:white}.site-footer .eyebrow{color:#d1b16a}.footer-contact{font-size:21px}.fine-print{font-size:11px;opacity:.7;margin-top:30px}
.forum{--ink:#092d4b;--accent:#086ba8;--pale:#f1f6f9}.forum .site-header{background:var(--ink);color:#fff;border-bottom:1px solid #ffffff25}.forum .brand{color:#fff}.forum .brand img{width:68px;height:90px}.forum .desktop-nav a:hover{border-color:var(--gold)}.forum .entry-page>.migration-section:first-child,.forum .entry-home>.migration-section:first-child{background:var(--ink);color:#fff;position:relative;border-bottom:5px solid var(--gold)}.forum .entry-page>.migration-section:first-child:before,.forum .entry-home>.migration-section:first-child:before{content:'';position:absolute;width:80px;height:4px;background:#d73636;top:38px}.forum .migration-section:first-child a{background:white;color:var(--ink)}
.immobilier{--ink:#173c43;--accent:#176674;--pale:#f0f7f7;--gold:#318797}.immobilier .brand{font-size:17px;max-width:310px}.immobilier .brand img{width:68px;height:72px}.immobilier .entry h1,.immobilier .entry h2,.immobilier .journal h2,.immobilier .card h3,.immobilier .article-header h1{font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:-1px}.immobilier .entry-home>.migration-section:first-child{background:#dff0f1;border-bottom:8px solid #7abac4}.immobilier .entry-home>.migration-section:first-child h1{font-size:clamp(38px,4.7vw,66px);max-width:840px}.immobilier .entry-page>.migration-section:first-child{background:var(--pale)}.immobilier .footer-title{font-family:Arial,Helvetica,sans-serif;font-weight:700}.immobilier .cards{gap:24px}.immobilier .card h3{font-size:22px}
@media(min-width:1500px){.migration-section{padding-inline:max(40px,calc((100vw - 1120px)/2))}}@media(max-width:1180px){.desktop-nav{display:none}.more-nav{margin-left:auto}.header-inner{min-height:102px}.cards{gap:18px}.brand{font-size:18px}}@media(max-width:760px){body{font-size:16px}.wrap{width:calc(100% - 40px)}.mastline .wrap span:last-child{display:none}.mastline{font-size:9px;letter-spacing:1px}.header-inner{gap:14px;min-height:90px}.brand{font-size:15px;max-width:240px}.brand small{font-size:8px;letter-spacing:1px}.brand img,.forum .brand img,.immobilier .brand img{width:48px;height:64px}.immobilier .brand{font-size:14px;max-width:235px}.language{font-size:10px;padding:6px}.more-nav{font-size:12px}.more-nav nav{position:fixed;top:145px;right:20px;left:20px;width:auto}.admin-bar .more-nav nav{top:175px}.migration-section{padding:42px 22px}.migration-section:first-child{padding-top:55px;padding-bottom:50px}.migration-section:first-child p{font-size:18px}.entry h1,.article-header h1{font-size:38px;letter-spacing:-1px}.entry h2,.journal h2{font-size:30px}.entry h3{font-size:23px}.entry h4{font-size:18px}.cards{grid-template-columns:1fr}.journal{padding-block:52px}.card-body{padding:24px}.footer-grid{grid-template-columns:1fr;gap:32px}.site-footer{padding:44px 0}.article-header,.page-header{padding-block:45px 30px}.article-body{padding-inline:22px}.article-cover{width:100%}.forum .entry-home>.migration-section:first-child:before{top:28px}.migration-section:first-child a{font-size:13px;padding:12px 18px}.immobilier .entry-home>.migration-section:first-child h1{font-size:39px}.more-nav summary{padding:14px 6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Contact forms: responsive controls, clear focus and private test state. */
.wpcf7{width:min(780px,calc(100% - 44px));max-width:100%;margin:40px auto;padding:26px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:8px}.migration-section .wpcf7{width:100%;margin:32px 0}.wpcf7 label{display:block;font-weight:700;margin:18px 0 8px}.wpcf7 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),.wpcf7 textarea,.wpcf7 select{display:block;width:100%;max-width:100%;min-width:0;font:inherit;line-height:1.5;padding:12px;border:1px solid #71858d;border-radius:5px;background:#fff;color:var(--ink);margin-top:8px}.wpcf7 textarea{min-height:150px;resize:vertical}.wpcf7 input[type=submit]{display:inline-block;max-width:100%;white-space:normal;background:var(--accent);color:#fff;font:inherit;font-weight:700;padding:14px 22px;border:0;border-radius:5px;cursor:pointer}.wpcf7 input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:var(--accent)}.wpcf7 .wpcf7-list-item{margin:0}.wpcf7 .wpcf7-list-item label{display:flex;gap:12px;align-items:flex-start;font-weight:400;line-height:1.5}.wpcf7 :is(input,textarea,select):focus-visible{outline:3px solid var(--gold);outline-offset:3px}.wpcf7 .wpcf7-not-valid{border-color:#a11515!important}.wpcf7 .wpcf7-not-valid-tip{color:#a11515;font-size:14px;line-height:1.5;margin-top:6px}.wpcf7 p.cc-form-test{font-size:14px;line-height:1.6;background:var(--pale);padding:14px;border-left:4px solid var(--accent)}.wpcf7 .wpcf7-response-output{margin:24px 0 0;padding:14px;font-size:16px;line-height:1.5}@media(max-width:760px){.wpcf7{padding:18px}.migration-section .wpcf7{padding:18px}.wpcf7 label{font-size:16px}}

/* Forum identity refinement, 24 October 2026. Presentation only. */
.forum .mastline{background:#061d30;color:#dfeaf0}
.forum .site-header{background:#092d4b;border-bottom:1px solid #ffffff24}
.forum .header-inner{min-height:112px}
.forum .brand small{color:#e0c77d}
.forum .language{min-width:44px;min-height:44px;display:grid;place-items:center}
.forum .more-nav summary{min-height:44px;display:flex;align-items:center;gap:8px}
.forum :is(.entry-home,.entry-page)>.migration-section:first-child:before{background:linear-gradient(90deg,#d93d42 0 33%,#e9be5b 33% 66%,#2399d1 66%);width:104px;height:4px}
.forum.home .entry-home>.migration-section:first-child{isolation:isolate;overflow:hidden;padding-block:90px 84px;border-bottom:5px solid #d6af58;background:#092d4b}
.forum.home .entry-home>.migration-section:first-child:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#092d4b 0%,#092d4bf5 34%,#092d4b87 70%,#092d4b40),url('../../uploads/2026/10/qtq88.jpg') right top/cover no-repeat;opacity:.95}
.forum.home .entry-home>.migration-section:first-child h1{font-size:clamp(38px,4.4vw,66px);line-height:1.08;max-width:810px;letter-spacing:-1.8px;text-wrap:balance}
.forum.home .entry-home>.migration-section:first-child p{max-width:680px;font-size:19px;line-height:1.7;color:#edf3f7}
.forum.home .entry-home>.migration-section:first-child>div:last-child>div{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.forum.home .entry-home>.migration-section:first-child a{margin:0;min-height:52px;padding:14px 24px;border:1px solid #dfbd6d;background:#dfbd6d;color:#092d4b;font-size:14px;transition:background .15s}
.forum.home .entry-home>.migration-section:first-child>div:last-child>div>div+div a{background:transparent;color:white;border-color:#ffffff9c}
.forum.home .entry-home>.migration-section:first-child a:hover{background:#f0d99e;color:#092d4b}
.forum.home .entry-home>.migration-section:nth-child(2){padding-block:24px;background:#f6f3eb}
.forum.home .entry-home>.migration-section:nth-child(2) h2{font:600 18px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.2px;margin:0}
.forum.home .migration-section div:has(>article){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-block:32px}
.forum.home .migration-section div>article{min-width:0;background:#fff;border:1px solid #dce5eb;box-shadow:0 8px 22px #092d4b08;padding:26px}
.forum.home .migration-section div>article img{width:100%;aspect-ratio:16/10;object-fit:cover;margin:0 0 22px;max-height:none}
.forum.home .migration-section div>article strong{display:block;font-size:19px;line-height:1.4;margin-bottom:10px}
.forum.home .migration-section div>article p{font-size:16px;line-height:1.75}
.forum.home .migration-section div>article h3{font:400 27px/1.2 var(--serif);margin-top:0}
.forum.home .migration-section section:has(h2[id^=fcc-]){padding-block:30px 48px;border-bottom:1px solid var(--line)}
.forum.home .migration-section section:has(h2[id^=fcc-])>div>div:first-child>div>span{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:700;color:#80611f}
.forum.page-id-50023 .entry-page>.migration-section:first-child{background:linear-gradient(135deg,#092d4b,#10496c);padding-top:70px}
.forum.page-id-50023 .migration-section:first-child img{width:100%;max-height:340px;object-fit:cover;margin:0 0 40px;filter:brightness(.85);border-bottom:3px solid #d6af58}
.forum.page-id-50023 .migration-section:first-child h1{max-width:900px;text-wrap:balance}
.forum.page-id-50023 .migration-section:first-child h4{font:400 28px/1.3 var(--serif);margin:40px 0 16px;color:#f0d99e}
.forum :is(.entry-home,.entry-page) a:focus-visible{outline:3px solid #e7c574;outline-offset:5px}
@media(max-width:760px){
 .forum .header-inner{gap:10px;min-height:98px}.forum .brand{font-size:14px;gap:10px;flex-shrink:1;min-width:0}.forum .brand small{letter-spacing:.7px}.forum .brand img{flex-shrink:0;width:44px;height:62px}.forum .language{padding:6px;min-width:36px}.forum .more-nav{margin-left:auto}
 .forum.home .entry-home>.migration-section:first-child{padding:64px 22px 48px}.forum.home .entry-home>.migration-section:first-child:after{background:linear-gradient(120deg,#092d4b,#10496c)}
 .forum.home .entry-home>.migration-section:first-child h1{font-size:40px;letter-spacing:-1px}.forum.home .entry-home>.migration-section:first-child p{font-size:18px;line-height:1.65}
 .forum.home .entry-home>.migration-section:first-child>div:last-child>div{gap:12px}.forum.home .entry-home>.migration-section:first-child>div:last-child>div>div{width:100%}.forum.home .entry-home>.migration-section:first-child a{display:block;text-align:center}
 .forum.home .migration-section div:has(>article){grid-template-columns:1fr;gap:20px}.forum.home .migration-section div>article{padding:22px}
 .forum.page-id-50023 .migration-section:first-child img{max-height:230px}.forum.page-id-50023 .migration-section:first-child h1{font-size:38px}.forum.page-id-50023 .migration-section:first-child p{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.forum.home .entry-home>.migration-section:first-child a{transition:none}}

/* Reading hierarchy for migrated Forum pages; archives retain their template. */
.forum .entry-page>.migration-section:not(:first-child) h3{font:400 clamp(25px,2.2vw,32px)/1.3 var(--serif);letter-spacing:-.35px;margin:38px 0 18px;padding-left:18px;border-left:3px solid #b58c35}
.forum .entry-page>.migration-section:not(:first-child) p{line-height:1.8}
.forum .entry-page>.migration-section:not(:first-child) h2{max-width:1000px;text-wrap:balance}
.forum .entry-page>.migration-section:first-child h1{max-width:1000px;text-wrap:balance}
.forum .entry-page>.migration-section:first-child a[href]{min-height:48px;border:1px solid #e3c373;background:#e3c373;color:#092d4b;padding:13px 23px}
.forum .entry-page>.migration-section:not(:first-child) a[href]:not(:has(img)){text-decoration-thickness:1px;text-underline-offset:5px}
.forum .entry-page>.migration-section:not(:first-child) blockquote{background:#fffdf6;border-left-color:#b58c35;padding:22px 28px}
@media(max-width:760px){.forum .entry-page>.migration-section:not(:first-child) h3{font-size:25px;padding-left:14px}.forum .entry-page>.migration-section:not(:first-child) blockquote{margin-inline:0;padding:18px}}

/* Keep the English page heading in the opening view below its illustration. */
.forum:is(.page-id-50019,.page-id-50025,.page-id-50007,.page-id-50016) .entry-page>.migration-section:first-child img{width:100%;max-height:280px;object-fit:cover;object-position:center 35%;margin:0 0 30px;border-bottom:3px solid #d6af58}
@media(max-width:760px){.forum:is(.page-id-50019,.page-id-50025,.page-id-50007,.page-id-50016) .entry-page>.migration-section:first-child img{max-height:180px;margin-bottom:28px}}

/* Mobile navigation: readable labels and comfortable touch targets, 27 October 2026. */
@media(max-width:760px){
 .forum .more-nav nav a{display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.45;padding:10px 12px}
 .forum .more-nav nav{max-height:calc(100dvh - 165px);overscroll-behavior:contain}
 .forum.admin-bar .more-nav nav{max-height:calc(100dvh - 195px)}
}

/* Disclosure navigation touch targets at every breakpoint, 30 October 2026. */
.forum .more-nav nav a{display:flex;align-items:center;min-height:44px}

