/* WESTWORLD V15.8 - Thematic full-width sections & refined expertise videos.
   This does not change the actual browser's Zoom setting. */

/* Avoid accidental boxed Elementor sections squeezing whole pages on the public site. */
@media screen {
  body.wwa-site:not(.elementor-editor-active) #wwa-main,
  body.wwa-site:not(.elementor-editor-active) #wwa-main > .elementor,
  body.wwa-site:not(.elementor-editor-active) #wwa-main .elementor-section-wrap,
  body.wwa-site:not(.elementor-editor-active) #wwa-main .elementor-section.elementor-top-section,
  body.wwa-site:not(.elementor-editor-active) #wwa-main .elementor-section.elementor-top-section > .elementor-container,
  body.wwa-site:not(.elementor-editor-active) #wwa-main .e-con.e-parent {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
  }
  body.wwa-site:not(.elementor-editor-active) #wwa-main .e-con.e-parent {
    --container-max-width: 100%;
    --content-width: 100%;
  }
  /* Safe full-bleed for WWA top-level authored sections even inside existing boxed HTML widgets. */
  body.wwa-site #wwa-main .wwa-elementor-editable > .wwa-slide,
  body.wwa-site #wwa-main .wwa-elementor-editable > .wwa-video-hero,
  body.wwa-site #wwa-main .wwa-elementor-editable > .wwa-a13,
  body.wwa-site #wwa-main .wwa-elementor-editable > .wwa-team-original,
  body.wwa-site #wwa-main .wwa-elementor-editable > .wwa-client-contact,
  body.wwa-site #wwa-main .wwa-elementor-editable > .wwa-contact-cinema,
  body.wwa-site #wwa-main .elementor-widget-container > .wwa-slide,
  body.wwa-site #wwa-main .elementor-widget-container > .wwa-video-hero,
  body.wwa-site #wwa-main .elementor-widget-container > .wwa-a13,
  body.wwa-site #wwa-main .elementor-widget-container > .wwa-client-contact,
  body.wwa-site #wwa-main .elementor-widget-container > .wwa-contact-cinema {
    width:100vw !important;
    max-width:none !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:0 !important;
  }
}

/* Keep all expertise text but suppress the tiny heading only, on the four video hero pages.
   Existing saved Elementor content is preserved. */
body.wwa-site .wwa-video-hero:not(.wwa-contact-cinema) .wwa-service-context-tag {
  display:none !important;
}
body.wwa-site .wwa-video-hero:not(.wwa-contact-cinema) .wwa-service-context-inner {
  padding:0 !important;
  margin:0 !important;
}
body.wwa-site .wwa-video-hero:not(.wwa-contact-cinema) .wwa-service-context-text > p:first-child {
  margin-top:0 !important;
}

/* Retain the old visual position of the paragraph after hiding its label.
   The left title keeps its current size and line breaks. */
@media(min-width:851px){
  body.wwa-site .wwa-video-hero:not(.wwa-contact-cinema) .wwa-cover-center > .wwa-service-context {
    margin-top:clamp(81px, 8vw, 124px) !important;
    align-self:start !important;
  }
}
@media(max-width:850px){
  body.wwa-site .wwa-video-hero:not(.wwa-contact-cinema) .wwa-cover-center > .wwa-service-context{
    margin-top:0 !important;
  }
}

/* Re-establish natural desktop editorial width on the sector grids, text sections and conclusion. */
body.wwa-site #wwa-main .wwa-slide > .wwa-inner,
body.wwa-site #wwa-main .wwa-sectors-slide > .wwa-inner,
body.wwa-site #wwa-main .wwa-detail-slide > .wwa-inner,
body.wwa-site .wwa-client-why__wrap {
  width:min(1300px,calc(100% - 2 * clamp(20px,5.2vw,90px))) !important;
  max-width:1300px !important;
  margin-inline:auto !important;
}
@media(max-width:600px){
  body.wwa-site #wwa-main .wwa-slide > .wwa-inner,
  body.wwa-site #wwa-main .wwa-sectors-slide > .wwa-inner,
  body.wwa-site #wwa-main .wwa-detail-slide > .wwa-inner,
  body.wwa-site .wwa-client-why__wrap {
    width:calc(100% - 36px) !important;
  }
}
/* Fallback if JavaScript has not moved the approach block into the video yet. */
body.wwa-site .wwa-service-context-tag{display:none!important}
