/* opt-in, progressive-enhancement footer widget accordion. */
.bz-footer__widget-toggle[hidden], .bz-footer__widget-panel[hidden] { display: none !important; }
.bz-footer__widget-toggle { display:none; }
@media (max-width: 767px) {
  .bz-footer__widgets--collapsible { gap: 0; }
  .bz-footer__widgets--collapsible > .bz-widget { min-width:0; border:0; }
  .bz-footer__widgets--collapsible .bz-footer__widget-toggle:not([hidden]) {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    min-height:44px; width:100%; padding:12px 0; margin:0; border:0;
    background:transparent; color:inherit; text-align:start; font:700 1rem/1.45 system-ui,-apple-system,'Segoe UI',sans-serif;
    cursor:pointer; overflow-wrap:anywhere;
  }
  .bz-footer__widgets--collapsible .bz-footer__widget-toggle::after {
    content:''; width:12px; height:12px; flex:0 0 12px;
    background:currentColor; -webkit-mask:url('../icons/fontawesome-free/angle-down.svg') center/contain no-repeat; mask:url('../icons/fontawesome-free/angle-down.svg') center/contain no-repeat;
    transition: transform 160ms ease;
    margin-inline:8px 4px;
  }
  .bz-footer__widgets--collapsible .bz-footer__widget-toggle[aria-expanded='true']::after { transform:rotate(180deg); }
  .bz-footer__widgets--collapsible .bz-footer__widget-toggle:focus-visible { outline:2px solid var(--bz-primary); outline-offset:3px; border-radius:3px; }
  .bz-footer__widgets--collapsible .bz-footer__widget-panel { min-width:0; overflow-wrap:anywhere; padding-bottom:12px; }
  .bz-footer__widgets--collapsible .bz-footer__widget-panel :is(img, iframe, video, table) { max-width:100%; }
}
@media (prefers-reduced-motion: reduce) { .bz-footer__widget-toggle::after { transition:none !important; } }

/* 1.4.5: footers built from a content block. */
@media (max-width: 767px) {
  .bz-footer__block-content.bz-footer__widgets--collapsible .wp-block-heading[hidden] { display:none !important; }
  html:root body .bz-footer .bz-footer__block-content.bz-footer__widgets--collapsible>.wp-block-columns { grid-template-columns:minmax(0,1fr) !important; row-gap:0 !important; }
  html:root body .bz-footer .bz-footer__block-content.bz-footer__widgets--collapsible .wp-block-column.bz-footer__section--collapsible { grid-column:1/-1; border:0; }
  html:root body .bz-footer .bz-footer__block-content.bz-footer__widgets--collapsible .bz-footer__widget-toggle:not([hidden]):not(#_) { min-height:44px; margin:0; padding:8px 0; border:0; border-radius:0; background:transparent; box-shadow:none; color:inherit; font-size:15px; font-weight:700; text-transform:none; }
  html:root body .bz-footer .bz-footer__block-content.bz-footer__widgets--collapsible .bz-footer__widget-panel { margin:0 !important; padding:0 0 10px; }
  html:root body .bz-footer .bz-footer__block-content.bz-footer__widgets--collapsible .bz-footer__widget-panel>:first-child { margin-top:0 !important; }
}
