/* Custom fixes for offline static build */

/* Normalize UAGB social icon size across all pages */
.uagb-icon-wrapper,
.uagb-icon-wrapper * {
  box-sizing: border-box;
}

.uagb-icon-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.uagb-icon-wrapper .uagb-svg-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.uagb-icon-wrapper a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
}

.uagb-icon-wrapper svg {
  width: 35px !important;
  height: 35px !important;
  max-width: 35px !important;
  max-height: 35px !important;
  display: block !important;
}

/* Defensive: some theme rules may set SVG to 100% */
.uagb-icon-wrapper svg[viewBox] {
  flex: 0 0 35px !important;
}


/* =========================================================
   TEMPORARY HIDES (minimal code change, easy rollback)
   To restore in a future version, delete this whole block.
   ========================================================= */

/* 1) Hide Blog + Contact in menus (header and footer) */
#menu-item-2885,
#menu-item-2892 {
  display: none !important;
}

/* 2) Hide the right-side social icon group (YouTube/Instagram/TikTok) */
.ast-header-social-1-wrap {
  display: none !important;
}

/* 3) Hide homepage Blog post carousel module */
body.home .wp-block-uagb-post-carousel {
  display: none !important;
}

/* 3) Hide homepage blog carousel module */
body.home .wp-block-uagb-post-carousel {
  display: none !important;
}
/* TEMP_HIDE_FOOTER_AND_BOTTOM (remove this block to restore) */
/* Hide Blog + Contact in footer menu */
footer #menu-item-3006,
footer #menu-item-1574 {
  display: none !important;
}

/* Hide the gray social icon strip above the footer (homepage bottom) */
.uagb-block-54c8fac1 {
  display: none !important;
}
