/* =====================================================================
   Ceiling Pro Article Template — mise en page « article ressource »
   Valeurs relevées sur la page de référence (1440 px) :
     bandeau : padding 36px 120px · 2 colonnes (titre+texte / image 628x355)
     titre 38px/46px ExtraBold #090c14 · description 16px/22px #54545c
     bouton #090c14 / blanc, 49px, rayon 8px · méta 14px #7d7d85
     corps : conteneur 1360px, colonne de lecture 676px, partage 48px à gauche
     h2 28px/700 (24px/800 ≤1520) · h3 24px/700 (22px/800 ≤1520)
     cartes 176px, rayon 12px, fond #f4f7fb
   ===================================================================== */

body.cp-post {
	--cp-font-title: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--cp-font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--cp-ink: #54545c;
	--cp-ink-strong: #090c14;
	--cp-heading: #2b2b36;
	/* Couleurs de marque Ceiling Pro (à confirmer sur la source du site) */
	--cp-brand: #0a0909;
	--cp-brand-dark: #2a2a2a;
	--cp-accent: #fa6400;
	--cp-accent-dark: #c74f00;
	--cp-link: #c74f00;
	--cp-muted: #7d7d85;
	--cp-crumb: #9f9fa2;
	--cp-card-bg: #f4f7fb;
	--cp-share-bg: #f2f6fa;
}

/* ---------- thème VamTam Konstruktion + Elementor ---------- */
/* 1) le titre du thème est un widget Elementor : on masque le widget ET sa section */
body.cp-post .elementor-widget-theme-post-title { display: none !important; }
body.cp-post section.elementor-section:has(.elementor-widget-theme-post-title) { display: none !important; }
body.cp-post .elementor-widget-post-info { display: none !important; }

/* 2) la section Elementor qui contient le contenu ne doit plus limiter la largeur
      (sinon la colonne de lecture s'écrase) ni rogner le bandeau */
body.cp-post section.elementor-section:has(.elementor-widget-theme-post-content) { overflow: visible !important; padding-top: 0 !important; }
body.cp-post section.elementor-section:has(.elementor-widget-theme-post-content) > .elementor-container { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body.cp-post .elementor-widget-theme-post-content > .elementor-widget-container { margin: 0 !important; padding: 0 !important; }
body.cp-post .cp-outer { margin: 0 !important; }

/* 3) les conteneurs VamTam au-dessus du contenu : pleine largeur aussi */
body.cp-post #main-content:has(.cp-outer),
body.cp-post .limit-wrapper:has(.cp-outer),
body.cp-post .page-content:has(.cp-outer),
body.cp-post #page:has(.cp-outer) { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body.cp-post .page-header,
body.cp-post .vamtam-page-header { display: none !important; }

/* 4) commentaires, navigation et articles liés : ramenés sur la grille du contenu */
body.cp-post .elementor-widget-post-comments > .elementor-widget-container,
body.cp-post .elementor-widget-post-navigation > .elementor-widget-container,
body.cp-post section.elementor-section:has(.elementor-widget-posts) > .elementor-container { max-width: 1600px !important; margin-left: auto !important; margin-right: auto !important; padding: 0 120px !important; box-sizing: border-box; }
@media (max-width: 1320px) {
	body.cp-post .elementor-widget-post-comments > .elementor-widget-container,
	body.cp-post .elementor-widget-post-navigation > .elementor-widget-container,
	body.cp-post section.elementor-section:has(.elementor-widget-posts) > .elementor-container { padding: 0 60px !important; }
}
@media (max-width: 1024px) {
	body.cp-post .elementor-widget-post-comments > .elementor-widget-container,
	body.cp-post .elementor-widget-post-navigation > .elementor-widget-container,
	body.cp-post section.elementor-section:has(.elementor-widget-posts) > .elementor-container { padding: 0 40px !important; }
}
@media (max-width: 640px) {
	body.cp-post .elementor-widget-post-comments > .elementor-widget-container,
	body.cp-post .elementor-widget-post-navigation > .elementor-widget-container,
	body.cp-post section.elementor-section:has(.elementor-widget-posts) > .elementor-container { padding: 0 24px !important; }
}

/* 5) commentaires WordPress (thème ou plugin) : jamais collés aux bords */
body.cp-post .post-comments,
body.cp-post #comments,
body.cp-post .comment-respond,
body.cp-post .comment-form { max-width: 1600px !important; margin-left: auto !important; margin-right: auto !important; padding-left: 120px !important; padding-right: 120px !important; box-sizing: border-box; }
@media (max-width: 1320px) { body.cp-post .post-comments, body.cp-post #comments { padding-left: 60px !important; padding-right: 60px !important; } }
@media (max-width: 1024px) { body.cp-post .post-comments, body.cp-post #comments { padding-left: 40px !important; padding-right: 40px !important; } }
@media (max-width: 640px) { body.cp-post .post-comments, body.cp-post #comments { padding-left: 24px !important; padding-right: 24px !important; } }

/* 6) aucun forçage de casse sur les titres */
body.cp-post .cp-outer h1,
body.cp-post .cp-outer h2,
body.cp-post .cp-outer h3,
body.cp-post .cp-outer h4,
body.cp-post .cp-outer h5,
body.cp-post .cp-outer h6 { text-transform: none !important; }

/* ---------- conteneur (1360 px utiles + 120 px de marge) ---------- */
.cp-outer { width: 100%; }
.cp-wrap { max-width: 1600px; margin: 0 auto; padding: 0 120px; box-sizing: border-box; }

/* =====================================================================
   BANDEAU
   ===================================================================== */
/* bandeau : pleine largeur (bord à bord), fond légèrement teinté bleu/violet */
.cp-hero {
	margin: 0;
	padding: 18px 0 64px;
	border-radius: 0;
	border-bottom: 1px solid #f6dedb;
	background: linear-gradient(135deg, #fff5f4 0%, #fdeeee 55%, #fdf4f1 100%);
	width: 100%;
}
.cp-hero .cp-wrap { max-width: 1600px; margin: 0 auto; padding: 0 120px; box-sizing: border-box; }
.cp-crumbs { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 18px; font-family: var(--cp-font-body); font-size: 14px; font-weight: 600; line-height: 20px; }
body.cp-post .cp-crumbs,
body.cp-post .cp-crumbs a { color: #9f9fa2 !important; text-decoration: none; }
body.cp-post .cp-crumbs a:hover { color: var(--cp-accent-dark) !important; }
.cp-crumbs .cp-sep { margin: 0 6px; opacity: .75; }
.cp-crumbs span[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 480px; }

.cp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
body.cp-post h1.cp-title { margin: 0 0 16px; font-family: var(--cp-font-title) !important; font-size: 38px !important; font-weight: 800 !important; line-height: 46px !important; letter-spacing: -0.02em; color: #090c14 !important; }
body.cp-post .cp-desc { margin: 0 0 24px; font-family: var(--cp-font-title) !important; font-size: 16px !important; font-weight: 400 !important; line-height: 22px !important; color: #54545c !important; }
.cp-cover { margin: 0; }
.cp-cover img { display: block; width: 100%; height: auto; aspect-ratio: 628 / 355; object-fit: cover; border-radius: 0; }

/* bouton d'appel à l'action (même style que la page de référence) */
.cp-cta a { display: inline-flex; align-items: center; gap: 8px; min-height: 49px; box-sizing: border-box; padding: 0 24px; border-radius: 8px; background: var(--cp-brand); color: #ffffff !important; font-family: var(--cp-font-title) !important; font-size: 16px !important; font-weight: 600 !important; line-height: 22px !important; text-decoration: none !important; border: 0; transition: background .2s ease, transform .2s ease; }
.cp-cta a:hover { background: var(--cp-brand-dark); color: #ffffff !important; transform: translateY(-1px); }
.cp-cta a svg { width: 14px; height: 14px; }
.cp-tip { margin: 12px 0 0; font-family: var(--cp-font-title); font-size: 14px; line-height: 20px; color: #7d7d85; }

body.cp-post .cp-meta { display: flex; flex-wrap: wrap; align-items: center; margin: 20px 0 0; font-family: var(--cp-font-title) !important; font-size: 14px !important; line-height: 20px !important; color: #7d7d85 !important; }
body.cp-post .cp-meta a { color: #7d7d85 !important; text-decoration: none; }
body.cp-post .cp-meta a:hover { color: var(--cp-accent-dark) !important; }
.cp-meta span + span::before { content: '·'; margin: 0 8px; }

/* =====================================================================
   CORPS : rail de partage + colonne de lecture
   ===================================================================== */
.cp-body { margin-top: 30px; display: grid; grid-template-columns: 48px minmax(0, 676px) 320px; column-gap: 60px; align-items: start; }
.cp-share { position: sticky; top: var(--cp-sticky-top, 140px); width: 48px; }
.cp-share-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cp-share-list a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; background: #f2f6fa; color: #6b7480; text-decoration: none; transition: background .25s ease, color .25s ease; }
.cp-share-list a:hover { background: var(--cp-brand); color: #1c1c1c; }
.cp-share-list svg { width: 18px; height: 18px; fill: currentColor; }
.cp-article { max-width: 676px; overflow: hidden; }

body.cp-post .cp-article { font-family: var(--cp-font-body) !important; }
body.cp-post .cp-article > *:first-child { margin-top: 0; }
body.cp-post .cp-article p { margin: 0; padding-top: 6px; font-family: var(--cp-font-title) !important; font-size: 18px !important; font-weight: 400 !important; line-height: 1.33 !important; color: #54545c !important; }
body.cp-post .cp-article h2 { margin: 0; padding-top: 60px; font-family: var(--cp-font-title) !important; font-size: 28px !important; font-weight: 700 !important; line-height: 140% !important; color: #2b2b36 !important; }
body.cp-post .cp-article h3 { margin: 0; padding-top: 32px; font-family: var(--cp-font-title) !important; font-size: 24px !important; font-weight: 700 !important; line-height: 140% !important; color: #2b2b36 !important; }
body.cp-post .cp-article h4 { margin: 0; padding-top: 24px; font-family: var(--cp-font-title) !important; font-size: 20px !important; font-weight: 700 !important; line-height: 140% !important; color: #2b2b36 !important; }
body.cp-post .cp-article a { color: var(--cp-link) !important; text-decoration: underline; text-underline-offset: 2px; }
body.cp-post .cp-article a:hover { color: var(--cp-accent) !important; }
body.cp-post .cp-article strong { color: #2b2b36; font-weight: 700; }
body.cp-post .cp-article ul,
body.cp-post .cp-article ol { margin: 6px 0 0; padding-left: 26px; }
body.cp-post .cp-article li { padding-top: 4px; font-family: var(--cp-font-title) !important; font-size: 18px !important; line-height: 1.33 !important; color: #54545c !important; }
body.cp-post .cp-article ul li::marker { color: var(--cp-accent); }
body.cp-post .cp-article ol li::marker { color: var(--cp-accent); font-weight: 700; }
body.cp-post .cp-article img { width: 100%; height: auto; border-radius: 16px; margin: 24px 0; }
body.cp-post .cp-article figure { margin: 24px 0; }
body.cp-post .cp-article figcaption { margin-top: 8px; font-family: var(--cp-font-body); font-size: 13px; color: #7d7d85; text-align: center; }
body.cp-post .cp-article blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--cp-brand); font-family: var(--cp-font-title); font-size: 18px; color: #54545c; }
body.cp-post .cp-article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-family: var(--cp-font-body); font-size: 15px; }
body.cp-post .cp-article th,
body.cp-post .cp-article td { border: 1px solid #e4e5e7; padding: 10px 12px; text-align: left; color: #54545c; }
body.cp-post .cp-article th { background: #f4f5f5; color: #2b2b36; font-weight: 600; }

/* sommaire (plugin LuckyWP) accordé au style */
body.cp-post .cp-article .lwptoc { background: #f2f9ff; border: 1px solid #d6ecff; border-radius: 12px; padding: 18px 22px; margin: 26px 0; font-family: var(--cp-font-body); }
body.cp-post .cp-article .lwptoc .lwptoc_title { font-family: var(--cp-font-title); font-size: 18px; font-weight: 800; color: #2b2b36; }
body.cp-post .cp-article .lwptoc a { color: #54545c !important; text-decoration: none; }
body.cp-post .cp-article .lwptoc a:hover { color: var(--cp-accent-dark) !important; }

/* =====================================================================
   CARTES « articles liés » + bouton de bas de page
   ===================================================================== */
.cp-cards { margin: 88px 0 0; }
body.cp-post .cp-cards h2 { margin: 0 0 20px; font-family: var(--cp-font-title) !important; font-size: 24px !important; font-weight: 800 !important; line-height: 140% !important; color: #2b2b36 !important; }
.cp-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, 176px); gap: 20px; }
.cp-card { display: block; width: 176px; background: #f4f7fb; border-radius: 12px; overflow: hidden; padding-bottom: 12px; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.cp-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(20, 40, 60, .08); }
.cp-card-img { display: block; width: 176px; height: 117px; object-fit: cover; background: #e8eef5; }
.cp-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 12px 12px 4px; font-family: var(--cp-font-body) !important; font-size: 14px !important; font-weight: 500 !important; line-height: 18.2px !important; color: #000 !important; }
.cp-card-sub { display: block; margin: 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--cp-font-body) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 15.6px !important; color: rgba(28, 40, 61, .5) !important; }
.cp-footer-cta { margin: 36px 0 0; }

/* =====================================================================
   COLONNE DE DROITE : articles recommandés
   (même principe que la page de référence : 320 px, collante)
   ===================================================================== */
.cp-recommend { position: sticky; top: var(--cp-sticky-top, 140px); }
body.cp-post .cp-recommend-title { margin: 0 0 18px; font-family: var(--cp-font-title) !important; font-size: 24px !important; font-weight: 800 !important; line-height: 130% !important; color: #2b2b36 !important; }
.cp-recommend-list { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.cp-recommend-list li { margin: 0; }
.cp-recommend-list a { display: flex; gap: 12px; align-items: flex-start; text-decoration: none !important; }
.cp-recommend-list img { flex: 0 0 76px; width: 76px; height: 57px; object-fit: cover; border-radius: 8px; background: #e8eef5; }
.cp-recommend-text { display: block; }
.cp-recommend-post { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--cp-font-body) !important; font-size: 15px !important; font-weight: 500 !important; line-height: 20px !important; color: #16161d !important; }
.cp-recommend-list a:hover .cp-recommend-post { color: var(--cp-accent-dark) !important; }
.cp-recommend-meta { display: block; margin-top: 4px; font-family: var(--cp-font-body) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 16px !important; color: #7d7d85 !important; }

/* =====================================================================
   Quand la barre latérale du thème est affichée, la colonne de lecture est
   plus étroite : on adapte les marges et le bandeau.
   ===================================================================== */
body.cp-post.cp-with-sidebar .cp-wrap { max-width: 100%; padding: 0; }
body.cp-post.cp-with-sidebar .cp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
body.cp-post.cp-with-sidebar .cp-cover { order: -1; }
body.cp-post.cp-with-sidebar .cp-body { grid-template-columns: 44px minmax(0, 1fr); column-gap: 32px; }
body.cp-post.cp-with-sidebar .cp-article { max-width: 100%; }

/* =====================================================================
   Paliers d'écran (identiques à la page de référence)
   ===================================================================== */
@media (max-width: 1520px) {
	body.cp-post .cp-article h2 { font-size: 24px !important; font-weight: 800 !important; padding-top: 52px; }
	body.cp-post .cp-article h3 { font-size: 22px !important; font-weight: 800 !important; padding-top: 28px; }
}

@media (max-width: 1320px) {
	.cp-wrap { padding: 0 60px; }
	.cp-hero .cp-wrap { padding: 0 60px; }
	.cp-body { grid-template-columns: 40px minmax(0, 1fr) 280px; column-gap: 40px; }
	.cp-share { width: 40px; }
	.cp-share-list { gap: 12px; }
	.cp-share-list a { width: 40px; height: 40px; border-radius: 6px; }
	.cp-share-list svg { width: 16px; height: 16px; }
}

@media (max-width: 1024px) {
	.cp-wrap { padding: 0 40px; }
	.cp-hero { padding: 14px 0 44px; }
	.cp-hero .cp-wrap { padding: 0 40px; }
	body.cp-post h1.cp-title { font-size: 30px !important; line-height: 38px !important; }
	.cp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.cp-cover { order: -1; }
	.cp-body { grid-template-columns: minmax(0, 1fr); column-gap: 0; row-gap: 32px; }
	.cp-share { position: static; width: auto; margin: 0; }
	.cp-share-list { flex-direction: row; flex-wrap: wrap; gap: 10px; }
	.cp-article { max-width: 100%; }
	.cp-recommend { position: static; }
	.cp-recommend-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	body.cp-post .cp-article h2 { font-size: 22px !important; padding-top: 40px; }
	body.cp-post .cp-article h3 { font-size: 20px !important; padding-top: 20px; }
	body.cp-post .cp-article p,
	body.cp-post .cp-article li { font-size: 17px !important; }
	.cp-cards-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
	.cp-card,
	.cp-card-img { width: 100%; }
}

@media (max-width: 640px) {
	.cp-wrap { padding: 0 24px; }
	.cp-hero { padding: 12px 0 34px; }
	.cp-hero .cp-wrap { padding: 0 24px; }
	.cp-body { margin-top: 22px; }
	body.cp-post h1.cp-title { font-size: 26px !important; line-height: 33px !important; }
	body.cp-post .cp-article h2 { font-size: 21px !important; padding-top: 34px; }
	body.cp-post .cp-article h3 { font-size: 19px !important; padding-top: 18px; }
	body.cp-post .cp-article p,
	body.cp-post .cp-article li { font-size: 16px !important; }
	.cp-cards { margin-top: 56px; }
	.cp-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.cp-cta a { width: 100%; justify-content: center; }
}

/* =====================================================================
   PRIORITÉ — beaucoup de sites ajoutent dans une <style> placée dans le
   corps de la page quelque chose comme :
     article a, .entry-content a, .post-content a {
       color: #0056b3 !important; text-decoration: underline !important; }
   Cette règle arrive APRÈS la feuille du plugin et, à spécificité égale
   (.entry-content a = .cp-cta a), c'est elle qui gagne : le bouton
   devenait bleu et souligné. On repasse devant avec deux classes.
   ===================================================================== */
body.cp-post .cp-cta a { color: #ffffff !important; text-decoration: none !important; }
body.cp-post .cp-cta a:hover { color: #ffffff !important; }
body.cp-post .cp-cta a svg { stroke: currentColor !important; }
body.cp-post .cp-share-list a { color: #6b7480 !important; text-decoration: none !important; }
body.cp-post .cp-share-list a:hover { color: #1c1c1c !important; }
body.cp-post .cp-share-list svg { fill: currentColor !important; }
body.cp-post .cp-card,
body.cp-post .cp-card .cp-card-title,
body.cp-post .cp-card .cp-card-sub { color: #000000 !important; text-decoration: none !important; }
body.cp-post .cp-card .cp-card-sub { color: rgba(28, 40, 61, .5) !important; }
body.cp-post .cp-recommend-list a { color: #16161d !important; text-decoration: none !important; }
body.cp-post .cp-recommend-list a .cp-recommend-post { color: #16161d !important; text-decoration: none !important; }
body.cp-post .cp-recommend-list a .cp-recommend-meta { color: #7d7d85 !important; text-decoration: none !important; }
body.cp-post .cp-crumbs a { color: #9f9fa2 !important; text-decoration: none !important; }
body.cp-post .cp-meta a { color: #7d7d85 !important; text-decoration: none !important; }
body.cp-post .cp-article .lwptoc a { text-decoration: none !important; }
body.cp-post .cp-article a { text-decoration: underline !important; }

/* =====================================================================
   FENÊTRE DU FORMULAIRE (popup « Request a Quote »)
   ===================================================================== */
.cp-modal { position: fixed; inset: 0; z-index: 99999; display: none; }
.cp-modal.is-open { display: block; }
.cp-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 16, 26, .62); }
.cp-modal-box {
	position: relative;
	z-index: 1;
	width: calc(100% - 32px);
	max-width: 640px;
	margin: 6vh auto;
	max-height: 88vh;
	overflow: auto;
	padding: 26px 26px 20px;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 24px 60px rgba(10, 20, 40, .28);
	box-sizing: border-box;
}
.cp-modal-title { margin: 0 0 14px; padding-right: 36px; font-family: var(--cp-font-title) !important; font-size: 24px !important; font-weight: 700 !important; line-height: 130% !important; color: #222222 !important; }
.cp-modal-close {
	position: absolute !important; top: 12px !important; right: 12px !important;
	display: flex !important; align-items: center !important; justify-content: center !important;
	width: 36px !important; height: 36px !important; padding: 0 !important; margin: 0 !important;
	border: 0 !important; border-radius: 50% !important;
	background: #f2f4f7 !important; color: #4a4f57 !important;
	font-size: 22px !important; line-height: 1 !important; text-align: center !important;
	box-shadow: none !important;
	cursor: pointer; transition: background .2s ease, color .2s ease;
}
/* La croix est dessinée en CSS (deux barres) : ni caractère, ni SVG. Le thème force
   « bouton = fond foncé / texte blanc » et peut toucher les règles SVG, ce qui
   rendait l'icône invisible. Ici tout est explicite. */
.cp-modal-close .cp-close-x { position: relative !important; display: block !important; width: 16px !important; height: 16px !important; font-size: 0 !important; line-height: 0 !important; }
.cp-modal-close .cp-close-x::before,
.cp-modal-close .cp-close-x::after {
	content: '' !important;
	position: absolute !important;
	left: 0 !important; top: 7px !important;
	width: 16px !important; height: 2px !important;
	background: #4a4f57 !important;
	border-radius: 2px !important;
	box-shadow: none !important;
}
.cp-modal-close .cp-close-x::before { transform: rotate(45deg) !important; }
.cp-modal-close .cp-close-x::after { transform: rotate(-45deg) !important; }
.cp-modal-close:hover { background: #e4e8ee !important; }
.cp-modal-close:hover .cp-close-x::before,
.cp-modal-close:hover .cp-close-x::after { background: #1f2329 !important; }
.cp-modal-close:hover { background: #e4e8ee; color: #1f2329; }
.cp-modal-body { font-family: var(--cp-font-body); }
.cp-modal-body .wpforms-container { margin: 0 !important; }
.cp-modal-body .wpforms-field { padding: 0 0 12px !important; }
.cp-modal-body .wpforms-submit-container { padding-top: 4px !important; }
.cp-modal-fallback { margin: 0; font-size: 15px; color: #54545c; }
html.cp-modal-open { overflow: hidden; }
@media (max-width: 640px) {
	.cp-modal-box { width: 100%; margin: 0; min-height: 100%; max-height: 100%; border-radius: 0; padding: 22px 18px; }
}

/* =====================================================================
   FORMULAIRE DE LA FENÊTRE (si le mode « formulaire du plugin » est choisi)
   ===================================================================== */
.cp-form { margin: 0; font-family: var(--cp-font-body); }
.cp-field { margin: 0 0 12px; }
.cp-field label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; line-height: 18px; color: #3a3f47; }
.cp-field label span { color: var(--cp-brand); }
.cp-field input[type="text"],
.cp-field input[type="email"],
.cp-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid #d8dee7;
	border-radius: 8px;
	background: #ffffff;
	color: #222222;
	font-family: var(--cp-font-body) !important;
	font-size: 15px !important;
	line-height: 22px !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.cp-field textarea { resize: vertical; min-height: 96px; }
.cp-field input:focus,
.cp-field textarea:focus { outline: none; border-color: var(--cp-brand); box-shadow: 0 0 0 3px rgba(0, 168, 255, .15); }
.cp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cp-form-actions { margin: 16px 0 0; }
.cp-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 47px; padding: 0 26px;
	border: 0; border-radius: 8px;
	background: var(--cp-ink-strong); color: #ffffff;
	font-family: var(--cp-font-title) !important; font-size: 15px !important; font-weight: 600 !important;
	cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.cp-submit:hover { background: #1f2430; transform: translateY(-1px); }
.cp-submit[disabled] { opacity: .6; cursor: default; transform: none; }
.cp-form-msg { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: #54545c; }
.cp-form-msg.is-error { color: #c0392b; }
.cp-form-msg.is-ok { color: #1a8f4a; }


/* =====================================================================
   BANDEAU PLEIN ÉCRAN (thème inconnu)
   --cp-vw est posé par le script du plugin = largeur réelle de la fenêtre
   (évite les 15 px de barre de défilement que provoquerait 100vw).
   ===================================================================== */
.cp-hero { width: var(--cp-vw, 100%) !important; margin-left: calc(50% - (var(--cp-vw, 100%) / 2)) !important; }
.cp-cover a { display: block; }
.cp-cover img { transition: transform .25s ease; }
.cp-cover a:hover img { transform: scale(1.02); }


/* =====================================================================
   Blocs collants (partage + Recommanded) : on passe SOUS le header du thème
   --cp-sticky-top est calculé par le script (hauteur du header + barre d'admin)
   ===================================================================== */
body.cp-post .cp-share,
body.cp-post .cp-recommend { top: var(--cp-sticky-top, 140px) !important; }
