/* =========================================================
   RECETTES COCKTAIL — PAGE À PROPOS FULL WIDTH
   Libère /a-propos/ du container, sidebar et titre natif thème.
========================================================= */

body.rc-about-fullwidth-active {
  overflow-x: hidden;
}

body.rc-about-fullwidth-active .site-content,
body.rc-about-fullwidth-active #content,
body.rc-about-fullwidth-active .content-area,
body.rc-about-fullwidth-active .container,
body.rc-about-fullwidth-active .site-main {
  max-width: none;
}

.rc-about-fw-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff8f0;
}

.rc-about-fw-article,
.rc-about-fw-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.rc-about-fw-content > *:first-child {
  margin-top: 0 !important;
}

.rc-about-fw-content > *:last-child {
  margin-bottom: 0 !important;
}

/* Sécurité : masque les éléments natifs du thème s'ils restent injectés */
body.rc-about-fullwidth-active .entry-header,
body.rc-about-fullwidth-active .page-header,
body.rc-about-fullwidth-active .breadcrumb-area,
body.rc-about-fullwidth-active .breadcrumbs,
body.rc-about-fullwidth-active .entry-title,
body.rc-about-fullwidth-active .post-title,
body.rc-about-fullwidth-active aside,
body.rc-about-fullwidth-active .sidebar,
body.rc-about-fullwidth-active .widget-area {
  display: none !important;
}

/* Elementor : neutralise les largeurs héritées */
body.rc-about-fullwidth-active .elementor,
body.rc-about-fullwidth-active .elementor-section,
body.rc-about-fullwidth-active .elementor-container,
body.rc-about-fullwidth-active .elementor-widget-wrap,
body.rc-about-fullwidth-active .elementor-widget-html {
  max-width: none !important;
}

body.rc-about-fullwidth-active .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: none !important;
}

/* Le bloc À propos peut désormais occuper toute la largeur utile */
body.rc-about-fullwidth-active .rc-about {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* En cas de wrapper thème résiduel autour du contenu Elementor */
body.rc-about-fullwidth-active .rc-about-fw-content .rc-about {
  display: block;
}
