/* Compositions éditoriales, communes au site et à l’éditeur WordPress. */
.cts-landing { margin-block-start: 0; }
.cts-landing > .wp-block-post-content { margin: 0; }
.cts-page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 480px; display: grid; align-items: center; background: #173f4a; color: #fff; }
.cts-page-hero > .wp-block-image { position: absolute; z-index: -2; inset: 0; margin: 0; width: 100%; height: 100%; }
.cts-page-hero > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.cts-page-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(14,39,48,.87),rgba(14,39,48,.45) 60%,rgba(14,39,48,.15)); }
.cts-page-hero__content { width: min(1180px,calc(100% - 3rem)); margin: 0 auto; padding: 5rem 0; }
.cts-page-hero h1 { max-width: 800px; color: #fff; font-size: clamp(2.4rem,4.4vw,4.4rem); line-height: 1.06; margin: .7rem 0 1.3rem; }
.cts-page-hero p { max-width: 640px; font-size: 1.1rem; }
.cts-eyebrow { font-size: .76rem !important; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.cts-page-hero .wp-block-buttons { margin-top: 1.75rem; gap: .8rem; }
.cts-section { padding: 4.5rem 1.5rem; margin: 0; }
.cts-section > .cts-section__inner { max-width: 1180px; margin: 0 auto; }
.cts-section--alternate { background: #fff; }
.cts-section h2 { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.15; margin-top: 0; }
.cts-section h3 { font-size: 1.65rem; line-height: 1.2; }
.cts-section .wp-block-columns { gap: 3.5rem; align-items: center; margin-block: 0; }
.cts-section .wp-block-column { min-width: 0; }
.cts-section .wp-block-image { margin: 0; }
.cts-section .wp-block-image img { display: block; width: 100%; height: auto; }
.cts-section .cts-editorial-photo img { aspect-ratio: 4/3; object-fit: cover; }
.cts-section .cts-cards { align-items: stretch; gap: 1.5rem; }
.cts-cards > .wp-block-column { display: flex; flex-direction: column; background: #fff; border: 1px solid #d9dfda; }
.cts-cards .cts-card__body { padding: 1.8rem; flex: 1; }
.cts-cards h3 { margin: 0 0 1rem; }
.cts-cards .wp-block-image img { aspect-ratio: 3/2; object-fit: cover; }
.cts-note { padding: 1.25rem 1.5rem; border-left: 3px solid #ad7e40; background: #f0e8db; margin-block: 1.5rem; }
.cts-note p { margin: 0; }
.cts-section .wp-block-gallery { gap: 1rem; }
.cts-section .wp-block-gallery img,.site-editorial .wp-block-gallery img { border-radius: 0 !important; }
.site-editorial { max-width: 1180px; margin-inline: auto; }
.site-editorial > .wp-block-post-content { max-width: 1180px !important; }
.site-editorial .cts-editorial-columns { gap: 2.5rem; align-items: center; margin-block: 2.8rem; }
.site-editorial .cts-editorial-columns .wp-block-column { min-width: 0; }
.site-editorial .cts-editorial-columns img { max-height: 540px; width: 100%; object-fit: cover; }
.site-editorial .wp-block-details { padding: 1.2rem 0; border-bottom: 1px solid #cbd3cf; }
.site-editorial .wp-block-details summary { font-size: 1.2rem; font-weight: 600; cursor: pointer; }
.site-editorial .wp-block-table { overflow-x: auto; }
.site-editorial .wp-block-table td,.site-editorial .wp-block-table th { padding: .8rem; }
.site-editorial .wp-block-table a,.cts-section .wp-block-table a { display: inline-block; background: #a4531b; color: #fff; padding: .6rem 1rem; border-radius: 4px; text-decoration: none; }
.site-editorial .wp-block-table a:hover,.cts-section .wp-block-table a:hover { background: #7f3f14; }
@media(max-width: 781px) {
  .cts-page-hero { min-height: 430px; }
  .cts-page-hero__content { width: calc(100% - 2.5rem); padding-block: 3.5rem; }
  .cts-page-hero::after { background: rgba(14,39,48,.68); }
  .cts-section { padding: 3rem 1.25rem; }
  .cts-section .wp-block-columns { gap: 1.75rem; }
  .cts-section .cts-cards { gap: 1.5rem; }
  .site-editorial .cts-editorial-columns { gap: 1.5rem; }
}
@media(prefers-reduced-motion:reduce) { .cts-landing * { scroll-behavior: auto; } }
