/* Search and fallback views only. Existing compositions keep their own layout. */
.ms-system-main{padding:clamp(36px,6vw,84px) max(20px,calc((100vw - 1240px)/2)) 80px;min-height:55vh}
.ms-system-query>h1,.ms-not-found h1{font-size:clamp(32px,5vw,60px);max-width:100%;overflow-wrap:anywhere;margin:0 0 36px}
.ms-system-search{max-width:800px;margin:0 0 48px}.ms-system-search label{display:block;color:#c0c4c9;margin-bottom:12px;font-weight:600}.ms-system-search .wp-block-search__inside-wrapper{gap:10px}.ms-system-search input{min-width:0;background:#202327;color:#fff;border:1px solid #52575c;border-radius:6px;padding:16px}.ms-system-search button{margin:0;border:0;border-radius:6px;background:#f1572d;color:#151515;font-weight:700;padding:14px 22px}.ms-system-search :focus-visible,.ms-system-query a:focus-visible{outline:2px solid #ff925f;outline-offset:4px}
.ms-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}.ms-result-grid>li{min-width:0;margin:0}.ms-result-card{height:100%;box-sizing:border-box;padding:24px;border:1px solid #3c4147;border-radius:12px;background:#1b1e22}.ms-result-card figure{margin:0 0 22px;overflow:hidden;border-radius:7px}.ms-result-card img{display:block;width:100%;object-fit:cover}.ms-result-card h2,.ms-result-card h3{font-size:23px;line-height:1.25;letter-spacing:-.02em;margin:0 0 16px;overflow-wrap:anywhere}.ms-result-card h2 a,.ms-result-card h3 a{text-decoration:none}.ms-result-card p{color:#c1c6cc;line-height:1.65}.ms-result-card .wp-block-read-more{color:#ff946e}.ms-system-query .wp-block-query-pagination{display:flex;gap:20px;flex-wrap:wrap;margin:40px 0 0}.ms-system-query .page-numbers{display:inline-block;padding:7px 12px}.ms-system-query .page-numbers.current{background:#f1572d;color:#151515;border-radius:4px}
.ms-not-found{max-width:800px;margin:20px auto}.ms-system-kicker{color:#ff946e;letter-spacing:.15em;font-size:13px;font-weight:700}.ms-not-found>p:not(.ms-system-kicker){color:#c1c6cc;font-size:18px}.ms-not-found .wp-block-buttons{gap:14px;margin:30px 0 48px}
/* Full-width native compositions already include their own inner spacing. */
.ms-zones-view .ms-system-main,.ms-realisation-view .ms-system-main,.ms-glossaire-view .ms-system-main,.ms-conseils-view .ms-system-main{padding:0}
@media(max-width:900px){.ms-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ms-result-grid{grid-template-columns:1fr}.ms-system-search .wp-block-search__inside-wrapper{flex-wrap:wrap}.ms-system-search input{flex:1 1 100%}.ms-system-search button{width:100%}.ms-result-card{padding:22px}}
