/*
Theme Name: Vivre Canada
Theme URI: https://vivre-canada.com
Author: Vivre Canada
Description: Thème d'actualité pour vivre-canada.com : nouvelles de l'immigration au fédéral et dans les 13 provinces et territoires, guides pratiques et vidéos. Catégories créées automatiquement à l'activation.
Version: 1.6.2
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vivre-canada
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
	/* Palette inspirée de l'Overbrook Community Association (OCA) */
	--vc-accent: #D64933;        /* corail : barres, bordures, soulignés */
	--vc-accent-strong: #B33A26; /* corail foncé : texte et boutons (contraste AA) */
	--vc-link: #0E7C86;          /* sarcelle : liens */
	--vc-green: #1F9D74;
	--vc-violet: #55468A;
	--vc-sun: #FFD23F;
	--vc-ink: #0B2545;           /* marine */
	--vc-text: #0B2545;
	--vc-muted: #4A5A70;
	--vc-line: #F0E2D6;
	--vc-line-strong: #E2CFBF;
	--vc-soft: #FFF1E6;          /* pêche */
	--vc-cream: #FFFAF5;         /* blanc chaud */
	--vc-wrap: 1280px;
	--vc-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--vc-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--vc-sans); color: var(--vc-ink); background: var(--vc-cream); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vc-ink); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--vc-accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; }

.vc-wrap { max-width: var(--vc-wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text, .vc-skip { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vc-skip:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 12px 16px; background: #fff; z-index: 1000; }

/* Boutons */
.vc-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 4px; font-weight: 700; font-size: 14px; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; }
.vc-btn--accent { background: var(--vc-accent-strong); color: #fff; }
.vc-btn--accent:hover { filter: brightness(0.92); }
.vc-btn--outline { border-color: #fff; color: #fff; }
.vc-icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* En-tête */
.vc-header { background: var(--vc-ink); color: #fff; }
.vc-header a { color: #fff; }
.vc-header__inner { display: flex; align-items: center; gap: 8px 32px; min-height: 64px; flex-wrap: wrap; }
.vc-logo, .custom-logo-link { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none !important; }
.custom-logo { max-height: 44px; width: auto; }
.vc-primary { flex: 1 1 400px; }
.vc-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 15px; font-weight: 600; }
.vc-menu a { display: block; padding: 21px 0 18px; border-bottom: 3px solid transparent; }
.vc-menu .current-menu-item > a, .vc-menu .current-category-ancestor > a, .vc-menu a:hover { border-bottom-color: var(--vc-accent); text-decoration: none; }
.vc-header__actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.vc-menu-toggle { display: none; }
.vc-search { background: var(--vc-ink); padding: 16px 0; }

/* Formulaire de recherche */
.search-form { display: flex; gap: 8px; max-width: 640px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 48px; border: 1px solid var(--vc-line-strong); border-radius: 4px; padding: 0 14px; font: inherit; color: var(--vc-ink); }
.search-submit { height: 48px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--vc-accent-strong); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* Barre des régions */
.vc-regions { background: var(--vc-soft); border-bottom: 1px solid var(--vc-line); }
.vc-regions nav { display: flex; gap: 0 20px; font-size: 14px; font-weight: 600; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.vc-regions a { color: var(--vc-text); padding: 12px 0; border-bottom: 3px solid transparent; }
.vc-regions a[aria-current="page"] { color: var(--vc-ink); border-bottom-color: var(--vc-accent); }

/* Titres de page et sections */
.vc-page-head { padding: 28px 0 20px; border-bottom: 1px solid var(--vc-line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.vc-page-head h1 { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.vc-page-head p, .vc-page-head__desc { margin: 0; color: var(--vc-muted); font-size: 15px; }
.vc-section { padding: 32px 0; border-bottom: 1px solid var(--vc-line); }
.vc-section__title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin: 0 0 6px; }
.vc-section__sub { color: var(--vc-muted); margin: 0 0 24px; }
.vc-empty { padding: 40px 0; color: var(--vc-muted); }

/* Bandeau En bref */
.vc-ticker { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 14px 0; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--vc-line); }
.vc-ticker__label { background: var(--vc-accent-strong); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 8px; letter-spacing: 0.5px; }
.vc-ticker__sep { color: var(--vc-muted); }

/* Étiquettes et métadonnées */
.vc-tag { font-size: 13px; font-weight: 800; letter-spacing: 0.5px; color: var(--vc-accent-strong) !important; }
.vc-meta { font-size: 13px; color: var(--vc-muted); margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.vc-meta .vc-tag { font-size: 12px; }

/* Images */
.vc-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--vc-soft); }
.vc-img--empty { background: linear-gradient(135deg, var(--vc-soft), var(--vc-line)); }
.vc-card__media { display: block; }

/* À la une */
.vc-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--vc-line); }
.vc-lead__title { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; margin: 16px 0 10px; }
.vc-lead__dek { font-size: 17px; color: var(--vc-text); margin: 0 0 10px; }
.vc-top__list .vc-card { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--vc-line); }
.vc-top__list .vc-card:last-child { border-bottom: 0; margin-bottom: 0; }

/* Cartes */
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; }
.vc-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 12px 0 0; }
.vc-card--list .vc-card__title { margin-top: 0; }

/* Provinces */
.vc-provinces { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; }
.vc-province { padding: 18px 0; border-top: 1px solid var(--vc-line); }
.vc-province__lead { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; margin-top: 8px; }
.vc-province__second { display: block; font-size: 14px; line-height: 1.4; color: var(--vc-text); margin-top: 8px; }

/* Guides */
.vc-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-top: 18px; }
.vc-guide { display: block; border-top: 4px solid var(--vc-ink); padding-top: 14px; }
.vc-guide span { display: block; }
.vc-guide__tag { font-size: 12px; font-weight: 800; letter-spacing: 0.5px; color: var(--vc-accent-strong); }
.vc-guide__title { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 6px 0 8px; }
.vc-guide__text { font-size: 14px; color: var(--vc-muted); }

/* Vidéo */
.vc-video { background: var(--vc-ink); color: #fff; margin-top: 40px; }
.vc-video__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.vc-video__player iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.vc-video__label { font-size: 13px; font-weight: 800; letter-spacing: 0.5px; color: var(--vc-sun); }
.vc-video h2 { font-size: 30px; font-weight: 800; margin: 8px 0 12px; }
.vc-video p { color: #D6DEE8; margin: 0 0 20px; }

/* Infolettre */
.vc-newsletter { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.vc-newsletter > div { flex: 1 1 380px; }
.vc-newsletter h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.vc-newsletter p { margin: 0; color: var(--vc-muted); }
.vc-admin-note { background: #FFF7D6; border: 1px dashed #C9A400; padding: 12px; font-size: 14px; color: #111 !important; }

/* Page article */
.vc-single { padding-top: 24px; padding-bottom: 24px; }
.vc-breadcrumb { font-size: 13px; color: var(--vc-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.vc-breadcrumb a { color: var(--vc-muted); }
.vc-breadcrumb__cat { color: var(--vc-accent-strong) !important; font-weight: 700; }
.vc-layout { display: flex; flex-wrap: wrap; gap: 48px; }
.vc-article { flex: 999 1 620px; min-width: 0; max-width: 780px; }
.vc-article--page { margin: 0 auto; }
.vc-article__title { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin: 0 0 14px; }
.vc-article__dek { font-size: 20px; line-height: 1.45; color: var(--vc-text); margin: 0 0 20px; }
.vc-byline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--vc-line); border-bottom: 1px solid var(--vc-line); }
.vc-byline__author { display: flex; gap: 12px; align-items: center; }
.vc-avatar { border-radius: 50%; }
.vc-byline__name { font-weight: 700; font-size: 15px; }
.vc-byline__date { font-size: 13px; color: var(--vc-muted); }
.vc-share { display: flex; gap: 8px; }
.vc-share__btn { width: 44px; height: 44px; border: 1px solid var(--vc-line-strong); border-radius: 50%; background: #fff; color: var(--vc-ink); font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none !important; }
.vc-share__btn:hover { border-color: var(--vc-ink); }
.vc-share__btn.is-copied { background: var(--vc-accent-strong); color: #fff; border-color: var(--vc-accent-strong); }
.vc-article__figure { margin: 24px 0; }
.vc-article__figure figcaption { font-size: 13px; color: var(--vc-muted); margin-top: 8px; }
.vc-box { border-left: 4px solid var(--vc-accent); background: var(--vc-soft); padding: 20px 24px; margin: 0 0 28px; }
.vc-box__title { font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.vc-box ul { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--vc-text); }

.vc-content { font-family: var(--vc-serif); font-size: 19px; line-height: 1.75; }
.vc-content h2, .vc-content h3, .vc-content h4 { font-family: var(--vc-sans); font-weight: 800; margin: 32px 0 12px; }
.vc-content h2 { font-size: 24px; }
.vc-content h3 { font-size: 20px; }
.vc-content a { color: var(--vc-link); text-decoration: underline; }
.vc-content blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--vc-accent); font-style: italic; color: var(--vc-text); }
.vc-content figure { margin: 28px 0; }
.vc-content figcaption { font-family: var(--vc-sans); font-size: 13px; color: var(--vc-muted); }
.vc-content table { width: 100%; border-collapse: collapse; font-family: var(--vc-sans); font-size: 15px; display: block; overflow-x: auto; }
.vc-content th, .vc-content td { border: 1px solid var(--vc-line); padding: 8px 10px; text-align: left; }
.vc-content .alignwide { max-width: none; }
.vc-content .aligncenter { margin-left: auto; margin-right: auto; }

.vc-avis { border-top: 3px solid var(--vc-ink); border-bottom: 1px solid var(--vc-line); padding: 18px 0; margin: 28px 0; }
.vc-avis p { font-size: 18px; line-height: 1.55; margin: 6px 0 0; }
.vc-source { border: 1px solid var(--vc-line); padding: 18px 22px; font-size: 15px; }
.vc-source a { color: var(--vc-link); text-decoration: underline; word-break: break-word; }
.vc-disclaimer { font-size: 13px; color: var(--vc-muted); }
.vc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.vc-tags a { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--vc-soft); }
.vc-author { display: flex; gap: 20px; align-items: center; margin-top: 32px; padding: 24px; background: var(--vc-soft); }
.vc-author__name { font-weight: 700; }
.vc-author p { margin: 4px 0 0; font-size: 14px; color: var(--vc-text); }

/* Barre latérale */
.vc-sidebar { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.vc-side-title { font-size: 18px; font-weight: 800; padding-bottom: 10px; border-bottom: 3px solid var(--vc-ink); margin: 0; }
.vc-popular { list-style: none; margin: 0; padding: 0; }
.vc-popular a { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--vc-line); font-size: 15px; font-weight: 700; line-height: 1.4; }
.vc-popular__n { font-size: 26px; font-weight: 800; color: var(--vc-accent-strong); line-height: 1; min-width: 20px; }
.vc-side-nl { background: var(--vc-ink); color: #fff; padding: 24px; }
.vc-side-nl h2 { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.vc-side-nl p { font-size: 14px; color: #D6DEE8; margin: 0 0 16px; }
.vc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vc-chips a { font-size: 13px; font-weight: 600; padding: 10px 12px; border: 1px solid var(--vc-line-strong); border-radius: 4px; }
.vc-widget { font-size: 15px; }

/* Pagination et commentaires */
.pagination { padding: 24px 0 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--vc-line); font-weight: 600; }
.pagination .current { background: var(--vc-ink); color: #fff; border-color: var(--vc-ink); }
.vc-comments { margin-top: 40px; }
.vc-comment-list { padding-left: 0; list-style: none; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--vc-line-strong); border-radius: 4px; padding: 10px 12px; font: inherit; }
.comment-form .submit { min-height: 44px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--vc-accent-strong); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.vc-search-again { padding: 20px 0; }

/* Pied de page */
.vc-footer { background: var(--vc-ink); color: #C9D3E0; font-size: 14px; }
.vc-footer a { color: #C9D3E0; }
.vc-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 20px; }
.vc-footer__brand { font-size: 20px; font-weight: 800; color: #fff; }
.vc-footer__col { display: flex; flex-direction: column; gap: 8px; }
.vc-footer__col h2 { font-size: 14px; color: #fff; margin: 0 0 4px; }
.vc-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vc-social { display: flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 600; }
.vc-footer__legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; padding-bottom: 28px; font-size: 13px; color: #C9D3E0; }
.vc-footer__legal p { margin: 0 0 6px; }

/* Éléments WordPress */
.wp-caption, .gallery-caption { max-width: 100%; }
.sticky, .bypostauthor { display: block; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }

/* Tablette et mobile */
@media (max-width: 900px) {
	.vc-top { grid-template-columns: 1fr; }
	.vc-lead__title { font-size: 28px; }
	.vc-article__title, .vc-page-head h1 { font-size: 32px; }
}
@media (max-width: 760px) {
	.vc-menu-toggle { display: inline-flex; order: 3; }
	.vc-header__actions { order: 2; }
	.vc-primary { order: 4; flex-basis: 100%; display: none; }
	.vc-primary.is-open { display: block; }
	.vc-menu { flex-direction: column; }
	.vc-menu a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
	.vc-content { font-size: 18px; }
	.vc-author { flex-direction: column; align-items: flex-start; }
	.vc-header__inner { gap: 0 8px; }
	.vc-logo, .custom-logo-link { flex: 1 1 auto; font-size: 20px; }
	.vc-header__actions { margin-left: 0; gap: 4px; }
	.vc-ticker { flex-direction: column; align-items: flex-start; gap: 8px; }
	.vc-ticker__sep { display: none; }
}
@media (max-width: 480px) {
	.vc-header__actions .vc-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* Publicités */
.vc-ad { margin: 28px 0; padding-top: 6px; border-top: 1px solid var(--vc-line); min-height: 120px; }
.vc-ad__label { display: block; font-family: var(--vc-sans); font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--vc-muted); margin-bottom: 6px; }

/* ---- v1.3.0 : palette OCA appliquée aux pages du Guide Ontario ---- */
.vc-content .vcg-nav b { color: var(--vc-accent-strong); }
.vc-content .vcg-pn { border-top-color: var(--vc-accent); }
.vc-content .vcg-nav { background: var(--vc-soft); border-color: var(--vc-line); }
.vc-content .vcg-s th { background: var(--vc-soft); }
.vc-content .vcg-s th, .vc-content .vcg-s td { border-color: var(--vc-line-strong); }
.vc-content .vcg-bc { color: var(--vc-muted); }
.vc-content a[style*="border-top:4px solid #c8102e"] { border-color: var(--vc-line) !important; border-top: 4px solid var(--vc-accent) !important; }
.vc-content a[style*="border-top:4px solid #c8102e"] span[style*="color:#555"] { color: var(--vc-muted) !important; }
.vc-content a[style*="border-top:4px solid #c8102e"]:hover { box-shadow: 0 6px 18px rgba(11,37,69,.10); text-decoration: none; }

/* ---- v1.4.0 : bandes de couleur pleine largeur sur l'accueil (inspirées de l'OCA) ---- */
body.home { overflow-x: clip; }
.home .vc-top, .home .vc-grid.vc-section, .home .vc-band-prov, .home .vc-start, .home .vc-band-guides, .home .vc-newsletter { position: relative; isolation: isolate; border-bottom: 0; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }
.home .vc-top::before, .home .vc-grid.vc-section::before, .home .vc-band-prov::before, .home .vc-start::before, .home .vc-band-guides::before, .home .vc-newsletter::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--band); }
.home .vc-top { --band: transparent; }
.home .vc-grid.vc-section { --band: #FFFFFF; }
.home .vc-band-prov { --band: #FFF1E6; }
.home .vc-start { --band: #E8F7F1; }
.home .vc-band-guides { --band: #FFD23F; }
.home .vc-newsletter { --band: linear-gradient(120deg, #D64933, #E8743A); margin-top: 0; }
.home .vc-video { margin-top: 0; }
.vc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vc-link); margin: 0 0 6px; }

/* À la une : fond transparent, comme la première version */

/* Bande pêche : provinces en cartes blanches */
.home .vc-provinces { gap: 16px; }
.home .vc-province { background: #fff; border: 1px solid var(--vc-line); border-radius: 12px; padding: 16px 18px; }

/* Bande menthe : 4 cartes de couleur */
.vc-routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vc-route { display: flex; flex-direction: column; gap: 8px; border-radius: 18px; padding: 22px; color: #fff !important; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; min-height: 220px; }
.vc-route:hover, .vc-route:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,37,69,.22); }
.vc-route__k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
.vc-route__title { font-family: var(--vc-serif); font-size: 24px; font-weight: 700; line-height: 1.15; }
.vc-route__body { font-size: 15px; line-height: 1.5; flex: 1; }
.vc-route__go { align-self: flex-start; background: #fff; border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 700; }
.vc-route.is-coral { background: #C4442F; } .vc-route.is-coral .vc-route__go { color: #B33A26; }
.vc-route.is-navy { background: #0B2545; } .vc-route.is-navy .vc-route__go { color: #0B2545; }
.vc-route.is-violet { background: #55468A; } .vc-route.is-violet .vc-route__go { color: #55468A; }
.vc-route.is-teal { background: #0E7C86; } .vc-route.is-teal .vc-route__go { color: #0B5F66; }
.vc-route-note { margin: 18px 0 0; background: #fff; border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.vc-route-note a { color: var(--vc-link); font-weight: 700; }
@media (max-width: 1100px) { .vc-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vc-routes { grid-template-columns: minmax(0, 1fr); } .vc-route { min-height: 0; } }

/* Bande jaune : guides en cartes blanches */
.home .vc-band-guides .vc-section__title { color: #1E1934; }
.home .vc-guide { background: #fff; border-radius: 12px; border-top: 5px solid var(--vc-accent); padding: 18px; box-shadow: 0 10px 30px rgba(30,25,52,.10); }
.home .vc-guide:nth-child(4n+2) { border-top-color: #0B2545; }
.home .vc-guide:nth-child(4n+3) { border-top-color: #0E7C86; }
.home .vc-guide:nth-child(4n+4) { border-top-color: #55468A; }

/* Bande corail : infolettre */
.home .vc-newsletter h2, .home .vc-newsletter p { color: #fff; }
.home .vc-newsletter p { opacity: .95; }
.home .vc-newsletter button, .home .vc-newsletter input[type="submit"] { background: #fff !important; color: #B33A26 !important; }

/* v1.4.2 : aucune couleur de fond dans la section À la une */
.home .vc-top { background: none !important; }
.home .vc-top::before { content: none !important; display: none !important; }

/* v1.5.0 : coins arrondis et drapeaux des provinces */
.home .vc-img, .home .vc-card__media, .home .vc-card__media img, .home .vc-lead img { border-radius: 14px; overflow: hidden; }
.home .vc-card__media { display: block; }
.home .vc-grid .vc-card { border-radius: 14px; }
.home .vc-province { border-radius: 16px; position: relative; padding-top: 18px; transition: box-shadow .2s ease, transform .2s ease; }
.home .vc-province:hover { box-shadow: 0 10px 26px rgba(11,37,69,.10); transform: translateY(-2px); }
.vc-province__flag { display: block; width: 44px; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(11,37,69,.12); margin-bottom: 10px; }

/* v1.5.1 : provinces sur 2 rangées de 7 */
.home .vc-provinces { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.home .vc-province { padding: 14px 14px 16px; }
.home .vc-province .vc-tag { font-size: 11px; letter-spacing: .3px; display: block; overflow-wrap: anywhere; }
.home .vc-province__lead { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.home .vc-province__second { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home .vc-province__flag { width: auto; height: 22px; max-width: 48px; margin-bottom: 8px; }
@media (max-width: 1100px) { .home .vc-provinces { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .home .vc-provinces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v1.6.0 : À la une avec photos (article principal + dernières nouvelles) */
.vc-top--v2 { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.vc-lead2__media { display: block; border-radius: 18px; overflow: hidden; }
.vc-lead2__media .vc-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.vc-chip { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .6px; color: var(--vc-accent-strong) !important; background: #FFE9E4; padding: 5px 10px; border-radius: 99px; margin: 18px 0 10px; text-decoration: none !important; }
.vc-lead2__title { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.5px; margin: 0 0 12px; text-align: left; }
.vc-lead2__title a { text-decoration: none; }
.vc-lead2__title a:hover { color: var(--vc-accent-strong); }
.vc-lead2__dek { font-size: 18px; line-height: 1.55; color: var(--vc-muted); margin: 0 0 12px; }
.vc-lead2__meta { font-size: 13px; color: var(--vc-muted); margin: 0; }
.vc-side2__title { font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--vc-link); margin: 0 0 14px; font-weight: 800; }
.vc-item2 { display: flex; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--vc-line); border-radius: 14px; margin-bottom: 12px; transition: box-shadow .2s ease, transform .2s ease; }
.vc-item2:hover { box-shadow: 0 10px 26px rgba(11,37,69,.10); transform: translateY(-2px); }
.vc-item2__media { flex: none; width: 110px; display: block; }
.vc-item2__media .vc-img { width: 110px; height: 78px; aspect-ratio: auto; object-fit: cover; border-radius: 10px; }
.vc-item2__media .vc-img--empty { background: var(--vc-soft); }
.vc-item2__body { min-width: 0; }
.vc-item2__cat { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: var(--vc-accent-strong); }
.vc-item2__title { font-size: 15px; line-height: 1.3; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vc-item2__title a { text-decoration: none; }
.vc-item2__time { font-size: 12px; color: var(--vc-muted); }
.vc-side2__all { display: block; text-align: center; font-weight: 700; color: var(--vc-link); font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) { .vc-top--v2 { grid-template-columns: 1fr; } }

/* v1.6.1 : forcer les proportions (grande colonne à gauche) même si un autre CSS cible .vc-top */
body.home .vc-top.vc-top--v2 { display: grid !important; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) !important; grid-template-areas: "lead side" !important; grid-auto-flow: row !important; }
body.home .vc-top.vc-top--v2 > .vc-lead2 { grid-area: lead !important; grid-column: auto !important; grid-row: auto !important; width: auto !important; max-width: none !important; order: 0 !important; }
body.home .vc-top.vc-top--v2 > .vc-side2 { grid-area: side !important; grid-column: auto !important; grid-row: auto !important; width: auto !important; max-width: none !important; order: 0 !important; }
body.home .vc-top.vc-top--v2 .vc-lead2__media .vc-img { height: auto !important; aspect-ratio: 16 / 9; }
body.home .vc-top.vc-top--v2 .vc-item2__media, body.home .vc-top.vc-top--v2 .vc-item2__media .vc-img { width: 110px !important; }
@media (max-width: 900px) {
	body.home .vc-top.vc-top--v2 { grid-template-columns: 1fr !important; grid-template-areas: "lead" "side" !important; }
}

/* v1.6.2 : page d'accueil du Guide Ontario plus large, 4 cartes par rangée */
.page-id-69 .vc-article--page { max-width: 1160px; flex-basis: 100%; }
.page-id-69 .vc-content > div[style*="grid-template-columns"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; }
.page-id-69 .vc-content > div[style*="grid-template-columns"] > a { border-radius: 14px !important; }
.page-id-69 .vc-content > div[style*="grid-template-columns"] > a:hover { transform: translateY(-2px); }
@media (max-width: 1000px) { .page-id-69 .vc-content > div[style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .page-id-69 .vc-content > div[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; } }
.page-id-69 .vc-content > p, .page-id-69 .vc-content > ul, .page-id-69 .vc-content > h2, .page-id-69 .vc-content > h3, .page-id-69 .vc-article__title { max-width: 820px; }
