/*
Theme Name: Cameroon Guide
Theme URI: https://cameroon-guide.com/
Author: Cameroon Guide
Description: Guide des villes du Cameroun. Bleu, blanc et noir ; typographie Calibri ; accueil illustré, guides de villes et articles WordPress.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cameroon-guide
License: GPL-2.0-or-later
*/
:root{--blue:#0758b7;--white:#ffffff;--accent:#0758b7;--muted:#4b4b4b}*{box-sizing:border-box}body{margin:0;background:var(--white);color:var(--blue);font-family:'DM Sans',sans-serif;font-size:15px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.topline{background:var(--blue);color:#ffffff;padding:10px 5%;font-size:10px;letter-spacing:1.8px}.topline span{float:right;letter-spacing:.4px}header{display:flex;align-items:center;gap:30px;padding:24px 5%;background:#ffffff}header .brand{display:flex;align-items:center;gap:12px;white-space:nowrap;font-weight:700;font-size:22px;letter-spacing:-1px}.brand i{font-family:Georgia;font-size:35px;display:block;border:1px solid #d5dce6;border-radius:50%;height:50px;width:50px;text-align:center;font-style:normal;background:#f2f6fc}.brand i span{color:var(--accent)}.brand div>span{display:block;font-weight:400;font-size:10px;letter-spacing:1px;margin-top:5px}nav{display:flex;gap:23px;margin-left:auto;font-size:12px}nav a:hover{color:var(--accent)}.contact,.btn{display:inline-block;padding:14px 19px;border-radius:4px;background:var(--blue);color:white;font-size:12px;font-weight:600}.contact{white-space:nowrap}#menu{display:none}main{min-height:60vh}.hero{position:relative;min-height:580px;margin:0 2%;border-radius:7px;background:linear-gradient(90deg,rgba(0,18,48,.82),rgba(0,0,0,.18)),url('assets/couverture-cameroun.png') center/cover;color:white;padding:70px 7% 90px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;display:block;margin-bottom:18px}.hero .eyebrow{color:#ffffff}.hero h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(42px,5vw,72px);font-weight:500;line-height:1.08;max-width:700px;margin:0 0 22px}.hero h1 em{font-weight:500;color:#ffffff}.hero p{max-width:590px;line-height:1.8;color:#ffffff;font-size:14px}.hero .btn{background:#ffffff;color:var(--blue);margin-top:18px}.photolabel{position:absolute;right:30px;bottom:25px;font-size:11px}.searchwrap{position:relative;margin:-35px auto 0;width:82%;background:#ffffff;border:1px solid #d5dce6;box-shadow:0 8px 30px #0758b70b;border-radius:5px;padding:22px 28px;display:flex;align-items:center;gap:24px}.searchwrap strong{font-family:Georgia;font-weight:400;font-size:21px;white-space:nowrap}.searchwrap input{flex:1;min-width:60px;padding:13px;border:0;border-left:1px solid #ddd;background:transparent}.searchwrap button{border:0}.section{max-width:1240px;margin:auto;padding:75px 35px}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.heading h2,h1.page-title{font-family:'Playfair Display',Georgia,serif;font-size:40px;font-weight:500;margin:0}.heading p{color:var(--muted);max-width:380px;line-height:1.7;font-size:13px;margin:0}.eyebrow.orange{color:var(--accent)}.citygrid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.city{position:relative;border:1px solid #d5dce6;border-radius:4px;padding:25px 20px;min-height:160px;transition:.2s;background:#ffffff;overflow:hidden}.city:nth-child(3n+2){background:#f2f6fc}.city:nth-child(3n){background:#f2f6fc}.city:hover{transform:translateY(-4px);border-color:var(--blue);background:#eef4fc}.city .num{font-size:10px;letter-spacing:1px;opacity:.55}.city h3{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:30px 0 8px}.city p{margin:0;color:#4b4b4b;font-size:11px}.city b{position:absolute;right:18px;top:22px;font-size:20px;font-weight:400}.cityline{font-size:12px;color:var(--muted);line-height:2;margin-top:25px}.themes{background:#f2f6fc}.themegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #d5dce6}.theme{padding:30px 28px 30px 0;border-bottom:1px solid #d5dce6}.theme:not(:nth-child(3n+1)){padding-left:28px;border-left:1px solid #d5dce6}.theme span{font-size:24px}.theme h3{font-family:Georgia;font-size:24px;font-weight:400;margin:20px 0 12px}.theme p{color:var(--muted);font-size:13px;line-height:1.8;max-width:280px}.theme a{font-size:12px;font-weight:700;display:inline-block;margin-top:12px}.feature{display:grid;grid-template-columns:1.1fr 1fr;gap:55px;align-items:center}.feature img{width:100%;height:360px;object-fit:cover;border-radius:4px}.feature h2{font-family:Georgia;font-size:43px;font-weight:400;line-height:1.15;margin:15px 0}.feature p,.prose p{color:var(--muted);line-height:1.85}.feature .caption{font-size:10px;margin-top:8px;color:var(--muted)}.partner{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:45px;background:var(--blue);color:#fff;border-radius:5px}.partner h2{font-family:Georgia;font-size:31px;font-weight:400;margin:0 0 12px}.partner p{color:#ffffff;font-size:13px;max-width:630px;line-height:1.8}.partner a{background:#ffffff;color:var(--blue);white-space:nowrap}footer{background:#111111;color:#ffffff;padding:50px 7% 25px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px;font-size:12px}footer a{display:block;margin:12px 0;color:#e0e0e0}footer .footerbrand{font-family:Georgia;font-size:27px;color:white;margin:0}footer strong{font-size:12px}footer small{grid-column:1/-1;border-top:1px solid #444444;margin-top:20px;padding-top:23px;color:#cccccc}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:40px}.pageintro{background:#eef4fc;padding:55px max(7%,calc((100vw - 1170px)/2))}.pageintro p{max-width:700px;line-height:1.8;color:#333333}.pageintro h1{font-family:Georgia;font-size:54px;font-weight:400;margin:10px 0}.pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.pills a,.pills button{border:1px solid #bccce1;border-radius:30px;background:transparent;padding:11px 18px;color:var(--blue);font-size:12px}.pills .active{background:var(--blue);color:white}.prose{max-width:850px}.prose h2{font-family:Georgia;font-size:30px;font-weight:400}.notice{background:#eef4fc;border-left:3px solid var(--accent);padding:22px;font-size:13px;line-height:1.8;margin:25px 0}.empty{padding:30px;border:1px solid #d5dce6;line-height:1.8}.resultcount{font-size:12px;color:var(--muted);margin:20px 0}#city-search{padding:15px;border:1px solid #bccce1;background:white;width:min(100%,420px);border-radius:4px}html{scroll-behavior:smooth}@media(min-width:1500px){header{padding-left:7%;padding-right:7%}}@media(max-width:1100px){header{gap:20px}nav{gap:14px}.contact{display:none}.citygrid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.topline span{display:none}header{padding:18px 5%;flex-wrap:wrap}.brand{font-size:20px!important}#menu{display:block;margin-left:auto;border:0;background:none;font-size:24px;color:var(--blue)}nav{display:none;width:100%;flex-direction:column;padding:15px 0;gap:20px}nav.open{display:flex}.hero{margin:0 12px;padding:55px 25px 95px;min-height:560px;background-position:60% center}.hero h1{font-size:48px}.hero p{font-size:13px}.photolabel{font-size:9px}.searchwrap{width:90%;padding:18px;gap:10px;flex-wrap:wrap}.searchwrap strong{width:100%;font-size:18px}.searchwrap input{border:1px solid #ddd;width:100px}.section{padding:50px 22px}.heading{display:block}.heading h2{font-size:34px}.heading p{margin-top:17px}.citygrid{grid-template-columns:repeat(2,1fr)}.city{padding:20px 15px}.city h3{font-size:23px}.themegrid{grid-template-columns:1fr}.theme{padding:25px 0!important;border-left:0!important}.theme p{max-width:none}.feature{grid-template-columns:1fr;gap:25px}.feature img{height:250px}.feature h2{font-size:36px}.partner{display:block;padding:30px}.partner a{margin-top:15px}footer{grid-template-columns:1fr 1fr}footer>div:first-child{grid-column:1/-1}.pageintro{padding:35px 22px}.pageintro h1{font-size:42px}}

/* Photographies réelles des dix villes */
.city{padding:0 0 22px;min-height:280px;background:#ffffff!important}.city-thumb{display:block;width:100%;height:155px;object-fit:cover;margin-bottom:20px}.city .num{display:block;padding:0 16px;font-size:9px}.city h3{margin:15px 16px 8px}.city p{padding:0 16px;line-height:1.5}.city b{top:170px;right:12px;font-size:18px}.city-figure{margin:0 0 36px}.city-figure>img{width:100%;max-height:470px;object-fit:cover;border-radius:5px}.city-figure figcaption{font-size:10px;line-height:1.8;color:var(--muted);margin-top:10px}.city-figure a,.photo-credits a{text-decoration:underline}.photo-credits p{font-size:12px;border-bottom:1px solid #d5dce6;padding:12px 0}@media(max-width:700px){.city-thumb{height:135px}.city{min-height:260px}.city b{top:150px}.city .num{font-size:8px;padding:0 12px}.city h3{margin-left:12px;margin-right:12px}.city p{padding:0 12px}.city-figure>img{max-height:300px}}

.theme h3 .title-link,.feature h2 .title-link{font:inherit;margin:0;display:inline;color:inherit}.title-link:hover{color:var(--accent)!important;text-decoration:underline;text-underline-offset:5px}.feature>div>a:first-child{display:block}

/* Logo officiel fourni pour l’en-tête */
header .brand{display:block;flex:0 1 340px;min-width:230px;line-height:0}header .site-logo{display:block;width:100%;height:auto;object-fit:contain}header{padding-top:14px;padding-bottom:14px}@media(max-width:1100px) and (min-width:701px){header .brand{flex-basis:300px;min-width:230px}header{gap:20px}nav{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:700px){header .brand{flex:0 1 290px;min-width:0;max-width:calc(100% - 50px)}header{gap:15px;padding-top:12px;padding-bottom:12px}}

/* Palette bleu, blanc et noir */
body{color:#111111}h1,h2,h3,.searchwrap strong{color:var(--blue)}.hero h1,.hero h1 em,.partner h2{color:#ffffff}.contact:hover,.btn:hover{background:#003d85;color:#ffffff}.hero .btn:hover,.partner .btn:hover{background:#eaf2ff;color:#003d85}.theme>span,.theme>a,.city b,.prose a:not(.btn),.cityline a{color:var(--blue)}header nav a:hover,footer a:hover{color:#3f8deb}.city:hover{border-color:var(--blue)}.city .num{opacity:1;color:#4b4b4b}

.hero{background-position:center 55%}@media(max-width:700px){.hero{background-position:48% center}}

/* Titre d’accueil sur une seule ligne */
.hero h1{white-space:nowrap;max-width:none;font-size:clamp(16px,3.8vw,58px);line-height:1.2}@media(max-width:700px){.hero h1{font-size:clamp(12px,4.1vw,28px)}}

/* Typographie Calibri et lecture agrandie */
body,button,input,select,textarea,h1,h2,h3,h4,.hero h1,.heading h2,h1.page-title,.feature h2,.partner h2,.prose h2,.pageintro h1,.city h3,.theme h3,.searchwrap strong,footer .footerbrand{font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif}
body{font-size:18px;line-height:1.6}header{flex-wrap:wrap;gap:16px 30px}header .contact{margin-left:auto}header nav{order:3;width:100%;margin-left:0;justify-content:center;gap:30px;font-size:18px;padding:8px 0}.contact,.btn{font-size:17px}.hero p{font-size:18px;max-width:730px;line-height:1.7}.hero .eyebrow,.eyebrow{font-size:13px;letter-spacing:1.5px}.hero h1{font-size:clamp(17px,4vw,62px)}.topline{font-size:12px}.searchwrap strong{font-size:24px}.searchwrap input{font-size:18px}.heading p,.theme p,.partner p{font-size:17px}.theme a{font-size:17px}.theme h3{font-size:28px}.city p{font-size:15px}.city .num{font-size:12px}.city h3{font-size:29px}.city b{top:172px}.cityline,.breadcrumb,.resultcount{font-size:16px}.feature .caption,.city-figure figcaption{font-size:13px}.notice{font-size:17px}.photo-credits p{font-size:16px}footer{font-size:16px}footer strong{font-size:17px}footer small{font-size:14px}.pills a,.pills button{font-size:16px}
@media(max-width:1100px) and (min-width:701px){header nav{justify-content:center;gap:20px}.contact{display:inline-block}}
@media(max-width:700px){header{gap:15px}.hero h1{font-size:clamp(12px,4.25vw,30px)}.hero p{font-size:17px}.hero .eyebrow{font-size:11px}.hero{padding-top:40px}.city .num{font-size:10px}.city h3{font-size:25px}.city p{font-size:14px}header nav{align-items:flex-start;gap:16px;font-size:19px}header .contact{display:none}.searchwrap strong{font-size:22px}.heading p{font-size:17px}}

/* Six illustrations des rubriques */
.themegrid{gap:24px;border:0}.theme,.theme:not(:nth-child(3n+1)){padding:0;border:1px solid #d5dce6;border-radius:6px;overflow:hidden;background:#ffffff}.theme .theme-image-link{display:block;margin:0;font-size:0}.theme-image{display:block;width:100%;height:210px;object-fit:cover;transition:transform .25s}.theme-image-link:hover .theme-image{transform:scale(1.025)}.theme-content{padding:22px}.theme h3{margin:0 0 14px}.theme p{max-width:none}.topic-figure{margin:0 0 45px}.topic-figure img{display:block;width:100%;height:400px;object-fit:cover;border-radius:6px}.topic-figure figcaption{font-size:13px;margin-top:10px;color:#4b4b4b}@media(max-width:700px){.theme,.theme:not(:nth-child(3n+1)){padding:0!important;border:1px solid #d5dce6!important}.theme-image{height:220px}.topic-figure img{height:240px}}

/* Yaoundé et Douala en tête des destinations */
.featured-cities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:35px}.featured-city{display:block;background:#0758b7;color:#ffffff;border-radius:6px;padding:30px 34px;border:1px solid #0758b7;transition:background .2s}.featured-city:nth-child(2){background:#111111;border-color:#111111}.featured-city:hover{background:#003d85;border-color:#003d85}.featured-kicker{font-size:12px;letter-spacing:1.5px}.featured-city h3{color:#ffffff;font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif;font-size:38px;line-height:1.2;margin:15px 0}.featured-city h3 span{float:right;font-size:26px}.featured-city p{font-size:17px;margin:0 0 18px;color:#ffffff}.featured-city strong{display:inline-block;font-size:17px;border-bottom:1px solid #ffffff;padding-bottom:3px}.other-cities-label{font-size:16px;font-weight:600;margin:28px 0 20px;color:#4b4b4b}.other-cities-title{font-size:30px;font-weight:600;margin:35px 0 22px}@media(max-width:700px){.featured-cities{grid-template-columns:1fr;gap:16px}.featured-city{padding:25px}.featured-city h3{font-size:34px}}

/* Miniature fournie pour Douala */
.featured-city-heading{display:flex;align-items:center;gap:20px;margin:15px 0}.featured-city-thumb{display:block;width:96px;height:96px;flex:0 0 96px;object-fit:cover;border-radius:5px}.featured-city-heading h3{flex:1;min-width:0;margin:0}.featured-city-heading h3 span{margin-left:10px}@media(max-width:700px){.featured-city-thumb{width:80px;height:80px;flex-basis:80px}.featured-city-heading{gap:15px}}

.wp-post-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0 45px}.wp-post-card{border:1px solid #d5dce6;border-radius:6px;padding:24px;background:white}.wp-post-card img{width:100%;height:190px;object-fit:cover}.wp-post-card h2,.wp-post-card h3{font-size:26px;line-height:1.3}.wp-post-card p{font-size:17px}.entry-content{font-size:19px;line-height:1.8;overflow-wrap:anywhere}.entry-content img,.entry-content video{max-width:100%;height:auto}.entry-content iframe{max-width:100%}.entry-content a{color:#0758b7;text-decoration:underline}.entry-content table{width:100%;border-collapse:collapse}.entry-content td,.entry-content th{border:1px solid #ddd;padding:12px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.skip-link:focus{position:fixed;top:40px;left:20px;width:auto;height:auto;clip:auto;z-index:99999;background:white;padding:12px}.native-featured-image{width:100%;height:auto;max-height:550px;object-fit:cover}.wp-post-list time,.post-meta{font-size:15px;color:#4b4b4b}body.admin-bar header{scroll-margin-top:32px}.wp-block-image{margin:25px 0}@media(max-width:800px){.wp-post-list{grid-template-columns:1fr}}

.city-editorial{margin:35px 0}.city-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#city-more[hidden]{display:none}@media(max-width:700px){.city-post-grid{grid-template-columns:1fr}}
