/* ---- clone layout fixes ---- */

/* Language flags: the flag bar is a full-width strip at the top of <body>.
   Constrain it to the content container width (max 1230, 50px gutters) so the
   right-aligned flags line up with the layout, not the browser's edge. */
body > .header-social{
  max-width:1230px;
  margin:0 auto;
  box-sizing:border-box;
  padding:8px 50px !important;
  text-align:right !important;
  line-height:0;
  white-space:nowrap;
}
body > .header-social a{
  display:inline-block;
  margin:0 0 0 8px;
  vertical-align:middle;
}
body > .header-social img{
  width:24px !important;
  height:24px !important;
  border-radius:50%;
  display:inline-block;
  vertical-align:middle;
  margin-left:8px;
}

/* Mobile: reduce the gutter to match the narrower container, and cap the wide
   logo so it does not collide with the menu button. */
@media (max-width: 768px){
  body > .header-social{ padding:6px 15px !important; }
  .site-branding{ max-width:58% !important; }
  .site-branding img{ max-width:100% !important; height:auto !important; }

  /* Mobile dropdown menu: the theme's JS pins it with a fixed inline top that
     leaves a gap below the header (the hero shows through). Anchor it flush to
     the bottom of the header container so there is no blank space. */
  .wpc-menu.wpc-menu-mobile{ top:100% !important; }
}
@media (max-width: 480px){
  body > .header-social{ padding:6px 12px !important; }
  body > .header-social img{ width:22px !important; height:22px !important; }
  .site-branding{ max-width:62% !important; }
}

/* Static build: VC's scroll-reveal JS was removed, so show this content always. */
.wpb_animate_when_almost_visible{ opacity:1 !important; }

/* Responsive embeds (replaces FitVids JS) */
.site-content iframe{ max-width:100%; }

/* ---- Lightbox (dependency-free) ---- */
.se-lb{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.9);opacity:0;transition:opacity .25s ease}
.se-lb.open{display:flex;opacity:1}
.se-lb img{max-width:92vw;max-height:86vh;box-shadow:0 6px 40px rgba(0,0,0,.6);border-radius:2px;transition:opacity .15s ease}
.se-lb-btn{position:absolute;background:none;border:0;color:#fff;cursor:pointer;line-height:1;opacity:.75;transition:opacity .2s ease;-webkit-user-select:none;user-select:none;padding:10px;font-family:Arial,sans-serif}
.se-lb-btn:hover{opacity:1}
.se-lb-close{top:8px;right:14px;font-size:44px}
.se-lb-prev{left:6px;top:50%;transform:translateY(-50%);font-size:58px}
.se-lb-next{right:6px;top:50%;transform:translateY(-50%);font-size:58px}
.se-lb-count{position:absolute;bottom:14px;left:0;right:0;text-align:center;color:#fff;font-family:'PT Sans',Arial,sans-serif;font-size:14px;opacity:.7}
@media (max-width:600px){.se-lb-prev,.se-lb-next{font-size:38px}.se-lb-close{font-size:34px}.se-lb img{max-width:96vw}}
