/* ==========================================================================
   PAGE LAYOUT FIXES
   Loaded on pages, after responsive.css, so it wins over style.css.
   ========================================================================== */

/*------------------------------------------*/
/*   EMPTY BUILDER SECTIONS
/*------------------------------------------*/

/* A [vc_section] with nothing in it still renders its wide-* padding, which
   shows up as a blank band between two real sections. The empty ones are
   deleted from the page content, but re-saving the page in WPBakery can put
   them back, so collapse them here as well.

   The :empty guard means this only ever hits a section whose container has no
   content at all -- as soon as something real is added to one of these, the
   rule stops applying and the section shows normally. */
#languages-2:has(> .container:empty),
#media-1:has(> .container:empty) {
  display: none;
}
