.rd-search-form { width:100%; }
.rd-search-form .e-search { visibility:visible; }
.rd-search-form .e-search-form { display:flex; gap:1rem; align-items:stretch; }
.rd-search-form .e-search-input-wrapper { flex:1; min-width:0; }
.rd-search-form input.e-search-input { width:100%; min-height:56px; padding:1rem 1.25rem; border:1px solid var(--e-global-color-v4-c-sapin,#285749); border-radius:8px; background:#fff; color:#1d1d1b; font:inherit; }
.elementor .elementor-widget-search.rd-search-form .e-search-submit { flex-shrink:0; padding:1rem 1.5rem; font:inherit; font-weight:600; background:var(--e-global-color-v4-c-sapin,#285749); color:#fff; border:2px solid var(--e-global-color-v4-c-sapin,#285749); border-radius:0 1rem 0 1rem; }
.elementor .elementor-widget-search.rd-search-form .e-search-submit:hover { background:#fff; color:var(--e-global-color-v4-c-sapin,#285749); }
.rd-search-form input:focus-visible, .rd-search-form button:focus-visible, [href="#rd-search-popup"]:focus-visible, .rd-search-card a:focus-visible { outline:3px solid #7e9a92; outline-offset:4px; }
.rd-search-form .e-search-label, .rd-search-form .e-search-results-container { display:none; }
.rd-search-card { height:100%; overflow:hidden; background:#fff; border:1px solid #dce5e0; border-radius:16px; gap:0; transition:border-color .2s; }
.rd-search-card:hover { border-color:#7e9a92; }
.rd-search-image img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.rd-search-card-copy { padding:1.5rem; gap:1rem; }
.rd-search-card h2 { font-size:1.5rem; line-height:1.25; margin:0; color:var(--e-global-color-v4-c-sapin,#285749); overflow-wrap:anywhere; }
.rd-search-card h2 a { color:inherit; }
.rd-search-excerpt { margin:0; line-height:1.6; }
.rd-search-excerpt mark { background:#dce8dc; color:#1c3c32; padding:0 .12em; border-radius:.15em; }
.rd-search-results .elementor-pagination { margin-top:2.5rem; }
.rd-search-results .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; margin:.25rem; border:1px solid #dce5e0; border-radius:6px; }
.rd-search-results .page-numbers.current { color:#fff; background:#285749; }
.rd-search-results .elementor-posts-nothing-found { padding:2rem; background:#f3f6f3; border-radius:12px; }
.rd-search-hero-title h1 { font-family:'DM Sans',sans-serif; font-size:var(--e-global-typography-v4-f--title-h1-font-size,clamp(2rem,3vw,3.5rem)); font-weight:700; line-height:1.12; color:#285749; margin:0; overflow-wrap:anywhere; }
.rd-search-popup-content h2 { color:#285749; }
@media(max-width:767px) {
 .rd-search-form .e-search-form { flex-direction:column; gap:.75rem; }
 .elementor .elementor-widget-search.rd-search-form .e-search-submit { width:100%; justify-content:center; }
 .rd-search-card-copy { padding:1.25rem; }
}
@media(prefers-reduced-motion:reduce) { .rd-search-card { transition:none; } }
#rd-search-hero { background-image:url('/wp-content/uploads/2026/09/Site-4-nos-services-titre.jpg'); }
.rd-search-popup-content { padding:3rem; gap:1.5rem; }
@media(max-width:767px) { .rd-search-popup-content { padding:3rem 1.25rem 1.5rem; } }

/* Archive global-class files load after the header: retain its own zero padding. */
body.search .elementor-location-header .site-header__main-bar { padding:0; }

.elementor .rd-search-form input.e-search-input::placeholder { color:#92999A; opacity:1; }
