/* =====================================================================
   Allwill 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.aw-post {
	--aw-font-title: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--aw-font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--aw-ink: #54545c;
	--aw-ink-strong: #090c14;
	--aw-heading: #2b2b36;
	/* Couleurs de marque Allwill Group (relevées sur le site : teal #01a7a3) */
	--aw-brand: #01a7a3;
	--aw-brand-dark: #018a87;
	--aw-accent: #01a7a3;
	--aw-accent-dark: #017572;
	--aw-link: #017572;
	--aw-muted: #7d7d85;
	--aw-crumb: #9f9fa2;
	--aw-card-bg: #f4f7fb;
	--aw-share-bg: #f2f6fa;
}

/* ---------- thème Flatsome : on masque le bandeau de titre du thème ---------- */
body.aw-post .page-title,
body.aw-post .page-header-wrapper { display: none !important; }

/* ---------- colonne unique (large-9 en pleine largeur) ---------- */
body.aw-post.aw-hide-sidebar .blog-single .row-large { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.aw-post.aw-hide-sidebar .blog-single .large-9 { flex-basis: 100% !important; max-width: 100% !important; width: 100% !important; padding: 0 !important; }
body.aw-post.aw-hide-sidebar .blog-single .large-3,
body.aw-post .post-sidebar { display: none !important; }
body.aw-post .blog-single .row-divided > .col:first-child { border: 0 !important; }
body.aw-post .entry-content { margin: 0 !important; padding: 0 !important; }
body.aw-post .entry-content > .aw-outer { margin: 0 !important; }

/* ---------- pied d'article du thème (catégories, permalien, précédent/suivant) ---------- */
body.aw-post .article-inner > footer.entry-meta,
body.aw-post .article-inner .entry-meta,
body.aw-post nav#nav-below.navigation-post,
body.aw-post .navigation-post { max-width: 1600px !important; margin: 32px auto 0 !important; padding: 0 120px !important; box-sizing: border-box; }
body.aw-post nav#nav-below.navigation-post { margin-top: 16px !important; }
body.aw-post .navigation-post .flex-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
body.aw-post .navigation-post a { color: #16161d !important; text-decoration: none !important; }
body.aw-post .navigation-post a:hover { color: var(--aw-accent-dark) !important; }
@media (max-width: 1320px) { body.aw-post .article-inner > footer.entry-meta, body.aw-post .article-inner .entry-meta, body.aw-post nav#nav-below.navigation-post, body.aw-post .navigation-post { padding: 0 60px !important; } }
@media (max-width: 1024px) { body.aw-post .article-inner > footer.entry-meta, body.aw-post .article-inner .entry-meta, body.aw-post nav#nav-below.navigation-post, body.aw-post .navigation-post { padding: 0 40px !important; } }
@media (max-width: 640px) { body.aw-post .article-inner > footer.entry-meta, body.aw-post .article-inner .entry-meta, body.aw-post nav#nav-below.navigation-post, body.aw-post .navigation-post { padding: 0 24px !important; } }

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

/* ---------- bas d'article : blocs du thème retirés ---------- */
/* « Related Posts » + ses 3 articles */
body.aw-post #at_posts_related,
body.aw-post .posts-section-title-related { display: none !important; }
/* encadré auteur (« admin5 ») */
body.aw-post .entry-author,
body.aw-post .author-box { display: none !important; }
/* liens précédent / suivant */
body.aw-post nav#nav-below.navigation-post,
body.aw-post .navigation-post { display: none !important; }

/* ---------- conteneur (1360 px utiles + 120 px de marge) ---------- */
.aw-outer { width: 100%; }
.aw-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 */
.aw-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%;
}
.aw-hero .aw-wrap { max-width: 1600px; margin: 0 auto; padding: 0 120px; box-sizing: border-box; }
.aw-crumbs { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 18px; font-family: var(--aw-font-body); font-size: 14px; font-weight: 600; line-height: 20px; }
body.aw-post .aw-crumbs,
body.aw-post .aw-crumbs a { color: #9f9fa2 !important; text-decoration: none; }
body.aw-post .aw-crumbs a:hover { color: var(--aw-accent-dark) !important; }
.aw-crumbs .aw-sep { margin: 0 6px; opacity: .75; }
.aw-crumbs span[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 480px; }

.aw-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
body.aw-post h1.aw-title { margin: 0 0 16px; font-family: var(--aw-font-title) !important; font-size: 38px !important; font-weight: 800 !important; line-height: 46px !important; letter-spacing: -0.02em; color: #090c14 !important; }
body.aw-post .aw-desc { margin: 0 0 24px; font-family: var(--aw-font-title) !important; font-size: 16px !important; font-weight: 400 !important; line-height: 22px !important; color: #54545c !important; }
.aw-cover { margin: 0; }
.aw-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) */
.aw-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(--aw-brand); color: #ffffff !important; font-family: var(--aw-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; }
.aw-cta a:hover { background: var(--aw-brand-dark); color: #ffffff !important; transform: translateY(-1px); }
.aw-cta a svg { width: 14px; height: 14px; }
.aw-tip { margin: 12px 0 0; font-family: var(--aw-font-title); font-size: 14px; line-height: 20px; color: #7d7d85; }

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

/* =====================================================================
   CORPS : rail de partage + colonne de lecture
   ===================================================================== */
.aw-body { margin-top: 30px; display: grid; grid-template-columns: 48px minmax(0, 676px) 320px; column-gap: 60px; align-items: start; }
.aw-share { position: sticky; top: 100px; width: 48px; }
.aw-share-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.aw-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; }
.aw-share-list a:hover { background: var(--aw-brand); color: #1c1c1c; }
.aw-share-list svg { width: 18px; height: 18px; fill: currentColor; }
.aw-article { max-width: 676px; overflow: hidden; }

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

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

/* =====================================================================
   CARTES « articles liés » + bouton de bas de page
   ===================================================================== */
.aw-cards { margin: 88px 0 0; }
body.aw-post .aw-cards h2 { margin: 0 0 20px; font-family: var(--aw-font-title) !important; font-size: 24px !important; font-weight: 800 !important; line-height: 140% !important; color: #2b2b36 !important; }
.aw-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, 176px); gap: 20px; }
.aw-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; }
.aw-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(20, 40, 60, .08); }
.aw-card-img { display: block; width: 176px; height: 117px; object-fit: cover; background: #e8eef5; }
.aw-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 12px 12px 4px; font-family: var(--aw-font-body) !important; font-size: 14px !important; font-weight: 500 !important; line-height: 18.2px !important; color: #000 !important; }
.aw-card-sub { display: block; margin: 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--aw-font-body) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 15.6px !important; color: rgba(28, 40, 61, .5) !important; }
.aw-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)
   ===================================================================== */
.aw-recommend { position: sticky; top: 100px; }
body.aw-post .aw-recommend-title { margin: 0 0 18px; font-family: var(--aw-font-title) !important; font-size: 24px !important; font-weight: 800 !important; line-height: 130% !important; color: #2b2b36 !important; }
.aw-recommend-list { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.aw-recommend-list li { margin: 0; }
.aw-recommend-list a { display: flex; gap: 12px; align-items: flex-start; text-decoration: none !important; }
.aw-recommend-list img { flex: 0 0 76px; width: 76px; height: 57px; object-fit: cover; border-radius: 8px; background: #e8eef5; }
.aw-recommend-text { display: block; }
.aw-recommend-post { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--aw-font-body) !important; font-size: 15px !important; font-weight: 500 !important; line-height: 20px !important; color: #16161d !important; }
.aw-recommend-list a:hover .aw-recommend-post { color: var(--aw-accent-dark) !important; }
.aw-recommend-meta { display: block; margin-top: 4px; font-family: var(--aw-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.aw-post.aw-with-sidebar .aw-wrap { max-width: 100%; padding: 0; }
body.aw-post.aw-with-sidebar .aw-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
body.aw-post.aw-with-sidebar .aw-cover { order: -1; }
body.aw-post.aw-with-sidebar .aw-body { grid-template-columns: 44px minmax(0, 1fr); column-gap: 32px; }
body.aw-post.aw-with-sidebar .aw-article { max-width: 100%; }

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

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

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

@media (max-width: 640px) {
	.aw-wrap { padding: 0 24px; }
	.aw-hero { padding: 12px 0 34px; }
	.aw-hero .aw-wrap { padding: 0 24px; }
	.aw-body { margin-top: 22px; }
	body.aw-post h1.aw-title { font-size: 26px !important; line-height: 33px !important; }
	body.aw-post .aw-article h2 { font-size: 21px !important; padding-top: 34px; }
	body.aw-post .aw-article h3 { font-size: 19px !important; padding-top: 18px; }
	body.aw-post .aw-article p,
	body.aw-post .aw-article li { font-size: 16px !important; }
	.aw-cards { margin-top: 56px; }
	.aw-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.aw-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 = .aw-cta a), c'est elle qui gagne : le bouton
   devenait bleu et souligné. On repasse devant avec deux classes.
   ===================================================================== */
body.aw-post .aw-cta a { color: #ffffff !important; text-decoration: none !important; }
body.aw-post .aw-cta a:hover { color: #ffffff !important; }
body.aw-post .aw-cta a svg { stroke: currentColor !important; }
body.aw-post .aw-share-list a { color: #6b7480 !important; text-decoration: none !important; }
body.aw-post .aw-share-list a:hover { color: #1c1c1c !important; }
body.aw-post .aw-share-list svg { fill: currentColor !important; }
body.aw-post .aw-card,
body.aw-post .aw-card .aw-card-title,
body.aw-post .aw-card .aw-card-sub { color: #000000 !important; text-decoration: none !important; }
body.aw-post .aw-card .aw-card-sub { color: rgba(28, 40, 61, .5) !important; }
body.aw-post .aw-recommend-list a { color: #16161d !important; text-decoration: none !important; }
body.aw-post .aw-recommend-list a .aw-recommend-post { color: #16161d !important; text-decoration: none !important; }
body.aw-post .aw-recommend-list a .aw-recommend-meta { color: #7d7d85 !important; text-decoration: none !important; }
body.aw-post .aw-crumbs a { color: #9f9fa2 !important; text-decoration: none !important; }
body.aw-post .aw-meta a { color: #7d7d85 !important; text-decoration: none !important; }
body.aw-post .aw-article .lwptoc a { text-decoration: none !important; }
body.aw-post .aw-article a { text-decoration: underline !important; }

/* =====================================================================
   FENÊTRE DU FORMULAIRE (popup « Request a Quote »)
   ===================================================================== */
.aw-modal { position: fixed; inset: 0; z-index: 99999; display: none; }
.aw-modal.is-open { display: block; }
.aw-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 16, 26, .62); }
.aw-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;
}
.aw-modal-title { margin: 0 0 14px; padding-right: 36px; font-family: var(--aw-font-title) !important; font-size: 24px !important; font-weight: 700 !important; line-height: 130% !important; color: #222222 !important; }
.aw-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. */
.aw-modal-close .aw-close-x { position: relative !important; display: block !important; width: 16px !important; height: 16px !important; font-size: 0 !important; line-height: 0 !important; }
.aw-modal-close .aw-close-x::before,
.aw-modal-close .aw-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;
}
.aw-modal-close .aw-close-x::before { transform: rotate(45deg) !important; }
.aw-modal-close .aw-close-x::after { transform: rotate(-45deg) !important; }
.aw-modal-close:hover { background: #e4e8ee !important; }
.aw-modal-close:hover .aw-close-x::before,
.aw-modal-close:hover .aw-close-x::after { background: #1f2329 !important; }
.aw-modal-close:hover { background: #e4e8ee; color: #1f2329; }
.aw-modal-body { font-family: var(--aw-font-body); }
.aw-modal-body .wpforms-container { margin: 0 !important; }
.aw-modal-body .wpforms-field { padding: 0 0 12px !important; }
.aw-modal-body .wpforms-submit-container { padding-top: 4px !important; }
.aw-modal-fallback { margin: 0; font-size: 15px; color: #54545c; }
html.aw-modal-open { overflow: hidden; }
@media (max-width: 640px) {
	.aw-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)
   ===================================================================== */
.aw-form { margin: 0; font-family: var(--aw-font-body); }
.aw-field { margin: 0 0 12px; }
.aw-field label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; line-height: 18px; color: #3a3f47; }
.aw-field label span { color: var(--aw-brand); }
.aw-field input[type="text"],
.aw-field input[type="email"],
.aw-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(--aw-font-body) !important;
	font-size: 15px !important;
	line-height: 22px !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.aw-field textarea { resize: vertical; min-height: 96px; }
.aw-field input:focus,
.aw-field textarea:focus { outline: none; border-color: var(--aw-brand); box-shadow: 0 0 0 3px rgba(0, 168, 255, .15); }
.aw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.aw-form-actions { margin: 16px 0 0; }
.aw-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(--aw-ink-strong); color: #ffffff;
	font-family: var(--aw-font-title) !important; font-size: 15px !important; font-weight: 600 !important;
	cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.aw-submit:hover { background: #1f2430; transform: translateY(-1px); }
.aw-submit[disabled] { opacity: .6; cursor: default; transform: none; }
.aw-form-msg { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: #54545c; }
.aw-form-msg.is-error { color: #c0392b; }
.aw-form-msg.is-ok { color: #1a8f4a; }


/* =====================================================================
   BANDEAU PLEIN ÉCRAN (thème inconnu)
   --aw-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).
   ===================================================================== */
.aw-hero { width: var(--aw-vw, 100%) !important; margin-left: calc(50% - (var(--aw-vw, 100%) / 2)) !important; }
.aw-cover a { display: block; }
.aw-cover img { transition: transform .25s ease; }
.aw-cover a:hover img { transform: scale(1.02); }


/* ---------- commentaires : alignés sur la colonne du contenu ---------- */
body.aw-post .post-comments,
body.aw-post #comments { 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.aw-post .post-comments, body.aw-post #comments { padding-left: 60px !important; padding-right: 60px !important; } }
@media (max-width: 1024px) { body.aw-post .post-comments, body.aw-post #comments { padding-left: 40px !important; padding-right: 40px !important; } }
@media (max-width: 640px) { body.aw-post .post-comments, body.aw-post #comments { padding-left: 24px !important; padding-right: 24px !important; } }

/* ---------- blocs collants : sous le header du thème (valeur calculée) ---------- */
body.aw-post .aw-share,
body.aw-post .aw-recommend { top: var(--aw-sticky-top, 140px) !important; }
