/* ==========================================================
   BEORGANIC CTA Admin Safe Guard
   Keeps homepage CTA buttons styled when the CMS removes link classes.
   ========================================================== */

#page_home_out {
  --bo-cta-safe-bg: #788974;
  --bo-cta-safe-bg-hover: #697a64;
  --bo-cta-safe-color: #ffffff;
  --bo-cta-safe-shadow: 0 12px 28px rgba(61, 78, 55, 0.16);
}

#page_home_out .bo-sets-section .bo-sets-wrap,
#page_home_out .bo-blog-section .bo-blog-btn-wrap,
#page_home_out .bo-super-btn-wrap,
#page_home_out .bo-guide-btn-wrap {
  text-align: center !important;
}

#page_home_out .bo-top-section .bo-top-card {
  text-align: center !important;
}

#page_home_out .bo-sets-section .bo-sets-wrap > a,
#page_home_out .bo-sets-section .bo-sets-wrap > p > a,
#page_home_out .bo-blog-section .bo-blog-btn-wrap a,
#page_home_out .bo-top-section .bo-top-card > a,
#page_home_out .bo-top-section .bo-top-card > p > a,
#page_home_out .bo-super-btn-wrap a,
#page_home_out .bo-guide-btn-wrap a,
#page_home_out a.bo-cta-safe-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 28px) !important;
  min-height: 44px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 14px 32px !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  background: var(--bo-cta-safe-bg) !important;
  color: var(--bo-cta-safe-color) !important;
  box-shadow: var(--bo-cta-safe-shadow) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: normal !important;
  cursor: pointer !important;
}

#page_home_out .bo-sets-section .bo-sets-wrap > a:hover,
#page_home_out .bo-sets-section .bo-sets-wrap > p > a:hover,
#page_home_out .bo-blog-section .bo-blog-btn-wrap a:hover,
#page_home_out .bo-top-section .bo-top-card > a:hover,
#page_home_out .bo-top-section .bo-top-card > p > a:hover,
#page_home_out .bo-super-btn-wrap a:hover,
#page_home_out .bo-guide-btn-wrap a:hover,
#page_home_out a.bo-cta-safe-btn:hover {
  background: var(--bo-cta-safe-bg-hover) !important;
  color: var(--bo-cta-safe-color) !important;
  text-decoration: none !important;
}

#page_home_out .bo-sets-section .bo-sets-wrap > a:focus-visible,
#page_home_out .bo-sets-section .bo-sets-wrap > p > a:focus-visible,
#page_home_out .bo-blog-section .bo-blog-btn-wrap a:focus-visible,
#page_home_out .bo-top-section .bo-top-card > a:focus-visible,
#page_home_out .bo-top-section .bo-top-card > p > a:focus-visible,
#page_home_out .bo-super-btn-wrap a:focus-visible,
#page_home_out .bo-guide-btn-wrap a:focus-visible,
#page_home_out a.bo-cta-safe-btn:focus-visible {
  outline: 2px solid rgba(120, 137, 116, 0.42) !important;
  outline-offset: 4px !important;
}

@media (max-width: 768px) {
  #page_home_out .bo-sets-section .bo-sets-wrap > a,
  #page_home_out .bo-sets-section .bo-sets-wrap > p > a,
  #page_home_out .bo-blog-section .bo-blog-btn-wrap a,
  #page_home_out .bo-top-section .bo-top-card > a,
  #page_home_out .bo-top-section .bo-top-card > p > a,
  #page_home_out .bo-super-btn-wrap a,
  #page_home_out .bo-guide-btn-wrap a,
  #page_home_out a.bo-cta-safe-btn {
    max-width: calc(100% - 24px) !important;
    min-height: 42px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
}
