/*
Theme Name: Divi Child
Template: Divi
Author: Randy Hunt - Sustain Florida
Version: Divi Forge 5 3.3 - 25 APR 2026
Description: Child theme for Divi with custom css
*/


/* =========================================================
   SPS Hero Buttons
   Divi 5 hero button layout
   ========================================================= */

.sps-hero-content {
  display: block;
}

.sps-hero-content .et_pb_button_module,
.sps-hero-content .et_pb_button_module_wrapper {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content !important;
  margin-right: var(--space-S) !important;
  margin-bottom: 0 !important;
  vertical-align: middle !important;
}

.sps-hero-content .et_pb_button,
.sps-hero-content a.et_pb_button {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content !important;
  white-space: nowrap;
}

.sps-hero-content .et_pb_button_module_wrapper:last-of-type,
.sps-hero-content .et_pb_button_module:last-of-type {
  margin-right: 0 !important;
}

@media (max-width: 767px) {
  .sps-hero-content .et_pb_button_module,
  .sps-hero-content .et_pb_button_module_wrapper {
    display: block !important;
    margin-right: 0 !important;
    margin-bottom: var(--space-S) !important;
  }
}


/* =========================================================
   SPS Trust Bar - Divi 6 Column Version
   Floating credential bar below hero
   ========================================================= */

.sps-trust-bar-row {
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14) !important;
  padding: 18px 24px !important;
  margin-top: -36px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1220px !important;
  width: 92% !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Make the row columns compact and centered */
.sps-trust-bar-row .et_pb_column {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 72px !important;
  border-right: 1px solid rgba(19, 55, 100, 0.14) !important;
  padding: 0 14px !important;
  margin: 0 !important;
}

/* Remove border from last column */
.sps-trust-bar-row .et_pb_column:last-child {
  border-right: none !important;
}

/* Each blurb */
.sps-trust-item {
  width: 100% !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

/* Blurb content */
.sps-trust-item .et_pb_blurb_content {
  max-width: 140px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Icon */
.sps-trust-item .et_pb_main_blurb_image {
  margin-bottom: 6px !important;
}

.sps-trust-item .et-pb-icon {
  font-size: 26px !important;
  line-height: 1 !important;
}

/* Title */
.sps-trust-item .et_pb_module_header {
  font-size: 13px !important;
  line-height: 1.15em !important;
  font-weight: 700 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

/* Body text */
.sps-trust-item .et_pb_blurb_description {
  font-size: 12px !important;
  line-height: 1.15em !important;
  margin-top: 3px !important;
  text-align: center !important;
}

/* Tablet */
@media (max-width: 980px) {
  .sps-trust-bar-row {
    width: 92% !important;
    margin-top: -24px !important;
  }

  .sps-trust-bar-row .et_pb_column {
    border-right: none !important;
    border-bottom: 1px solid rgba(19, 55, 100, 0.12) !important;
    padding: 14px 8px !important;
  }
}

/* Phone */
@media (max-width: 767px) {
  .sps-trust-bar-row {
    width: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 16px !important;
  }

  .sps-trust-bar-row .et_pb_column {
    min-height: auto !important;
  }
}
/* =========================================================
   SPS Circle Icon Blurbs
   Used for Why Choose SPS section
   ========================================================= */

.sps-circle-blurb .et_pb_main_blurb_image {
  width: 82px !important;
  height: 82px !important;
  min-width: 82px !important;
  border-radius: 50% !important;
  background: #173f7a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 22px !important;
  margin-bottom: 0 !important;
}

.sps-circle-blurb .et-pb-icon {
  color: #ffffff !important;
  font-size: 38px !important;
  line-height: 1 !important;
}

.sps-circle-blurb .et_pb_blurb_content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
}

.sps-circle-blurb .et_pb_module_header,
.sps-circle-blurb .et_pb_blurb_description {
  text-align: left !important;
}

.sps-circle-blurb .et_pb_blurb_container {
  padding-left: 0 !important;
}
/* Green version for middle Why Choose SPS blurb */
.sps-circle-blurb.sps-circle-green .et_pb_main_blurb_image {
  background: #7fb24a !important;
}