/* v1.9.19.11: Footer silhouettes and non-emoji video controls.
   Scoped to footer / video buttons. No header, hero or page-position overrides. */

/* The footer's color fills ONLY its clipped silhouette, never a rectangle above
   the cut edge. The inline footer background reset also protects against old
   per-page critical CSS that used background-color: ... !important. */
body.chakras-site #site-footer:not(.footer-shape-illustrated),
body #site-footer:not(.footer-shape-illustrated){
  background-color:transparent!important;
  background-image:none!important;
  border-top:0!important;
  border-radius:0!important;
  clip-path:none!important;
  isolation:isolate;
}
body #site-footer:not(.footer-shape-illustrated) > .footer-shape-panel{
  display:block!important;
  background:var(--chakras-footer-surface,linear-gradient(to bottom,#efce93,#e3b877))!important;
  clip-path:var(--chakras-footer-top-silhouette,none)!important;
  width:100%!important;
  height:100%!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
}
/* Keep existing dual-tone/edge controls functional; the existing footer-shapes
   stylesheet draws those bands when enabled. */
body #site-footer.chakras-edge-active:not(.footer-shape-illustrated) > .footer-shape-panel{
  background:var(--chakras-footer-edge-outer,#e6bd78)!important;
}
body #site-footer:not(.footer-shape-illustrated) > :not(.footer-shape-panel){position:relative;z-index:1;}
body #site-footer:not(.footer-shape-illustrated){padding-top:max(110px,calc(var(--chakras-footer-shape-depth,76px) + 24px));}
@media(max-width:800px){
  body #site-footer:not(.footer-shape-illustrated){padding-top:max(80px,calc(var(--chakras-footer-shape-depth,76px) + 20px));}
}
/* An uploaded footer logo can grow with its Customizer width without being
   capped by the theme's original 180/220px fixed footer grid column. */
@media(min-width:1101px){
  body #site-footer.footer-has-custom-logo > .footer-inner{
    grid-template-columns:minmax(60px,var(--chakras-footer-logo-width,180px)) minmax(0,1fr) minmax(100px,auto)!important;
  }
}
@media(min-width:801px) and (max-width:1100px){
  body #site-footer.footer-has-custom-logo > .footer-inner{
    grid-template-columns:minmax(60px,var(--chakras-footer-logo-width,180px)) minmax(0,1fr)!important;
  }
}
/* Independent footer logo, no modification to Site Identity/header branding. */
#site-footer .footer-brand.footer-brand--custom{
  box-sizing:border-box;
  width:min(100%,var(--chakras-footer-logo-width,180px))!important;
  max-width:100%!important;
  height:auto!important;
  align-items:center;
  justify-content:center;
}
#site-footer .footer-brand.footer-brand--custom .footer-custom-logo{
  display:block;width:100%!important;height:auto!important;max-width:100%!important;
  object-fit:contain;object-position:center;
}
@media(max-width:800px){
  #site-footer .footer-brand.footer-brand--custom{width:min(100%,var(--chakras-footer-logo-mobile-width,160px))!important;}
}
/* U+25B6 is treated as a blue emoji tile on some Android fonts.
   Use CSS geometry; don't change video actions, controls or thumbnails. */
.chakras-gallery-tile .chakras-gallery-play,
.chakras-managed-gallery .chakras-gallery-play{padding-left:0!important;font-size:0!important;line-height:0!important;}
.chakras-gallery-tile .chakras-gallery-play::before,
.chakras-managed-gallery .chakras-gallery-play::before,
.chakras-gallery-video-symbol::before,
.chakras-reference-film .ref-film-play::before,
.chakras-css-play-triangle::before{
  content:""!important;display:block!important;width:0!important;height:0!important;
  border-top:10px solid transparent!important;
  border-bottom:10px solid transparent!important;
  border-left:16px solid #e8cf96!important;
  background:none!important;border-radius:0!important;
  transform:translateX(2px);
}
.chakras-gallery-video-symbol{display:inline-flex;align-items:center;justify-content:center;font-size:0!important;line-height:0!important;}
.chakras-reference-film .ref-film-play{font-size:0!important;line-height:0!important;}
.chakras-reference-film .ref-film-play::before{border-top-width:15px!important;border-bottom-width:15px!important;border-left-width:24px!important;}
.chakras-css-play-triangle{display:none!important;}
@media(max-width:520px){
  .chakras-gallery-tile .chakras-gallery-play::before,
  .chakras-gallery-video-symbol::before{border-top-width:8px!important;border-bottom-width:8px!important;border-left-width:13px!important;}
  .chakras-reference-film .ref-film-play::before{border-top-width:11px!important;border-bottom-width:11px!important;border-left-width:18px!important;}
}
