/**
 * BBMC Elevate 1.2.3 — footer-only refinement.
 * Works with the shipped Gutenberg footer and compatible saved Site Editor copies.
 * Intentionally never targets the header, contact form, or plugin UI.
 */
.bbmc-site-footer {
  background: #081927;
  color: #eaf0f1;
}
.bbmc-site-footer .bbmc-footer-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  padding: clamp(62px, 6.1vw, 95px) clamp(24px, 5vw, 84px) 25px !important;
}
.bbmc-site-footer .bbmc-footer-grid {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, .73fr) minmax(0, .91fr);
  gap: clamp(35px, 5.1vw, 86px) !important;
  width: 100%;
  max-width: 1180px !important;
  margin: 0 auto 62px !important;
  padding: 0 !important;
  align-items: start !important;
}
.bbmc-site-footer .bbmc-footer-grid > .wp-block-column,
.bbmc-site-footer .bbmc-footer-grid > .wp-block-column:first-child {
  box-sizing: border-box;
  flex: 0 1 auto !important;
  flex-basis: auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.bbmc-site-footer .bbmc-footer-col {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0 !important;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
}
/* Gutenberg constrained groups center individual children by default; override that
   inside the footer only so the logo, caption and column labels share a left edge. */
.bbmc-site-footer .bbmc-footer-col > *,
.bbmc-site-footer .bbmc-footer-col > .wp-block-shortcode,
.bbmc-site-footer .bbmc-footer-col > .wp-block-paragraph {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}
.bbmc-site-footer .bbmc-footer-col > .wp-block-shortcode {
  display: block !important;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}
.bbmc-site-footer .bbmc-official-logo--footer {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: min(335px, 100%) !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.bbmc-site-footer .bbmc-official-logo--footer img,
.bbmc-site-footer .bbmc-official-logo--footer .bbmc-official-logo-image {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.bbmc-site-footer .bbmc-footer-col .bbmc-footer-caption {
  width: 100%;
  max-width: 340px !important;
  font-size: 13px !important;
  line-height: 1.85 !important;
  color: #b9cbd3 !important;
  margin: 0 !important;
}
.bbmc-site-footer .bbmc-footer-col .bbmc-footer-label {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.5;
  color: #ddbc87 !important;
  margin: 7px 0 22px !important;
}
.bbmc-site-footer .bbmc-footer-col p:not(.bbmc-footer-label):not(.bbmc-footer-caption) {
  line-height: 1.5;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
.bbmc-site-footer .bbmc-footer-col a:not(.bbmc-official-logo) {
  font-size: 13px !important;
  line-height: 1.55;
  color: #e0e9ec;
  text-underline-offset: 4px;
  transition: color .18s ease;
}
.bbmc-site-footer .bbmc-footer-col a:not(.bbmc-official-logo):hover {color: #e5c18c !important;}
.bbmc-site-footer .bbmc-footer-col a:focus-visible {
  outline: 2px solid #e5c18c;
  outline-offset: 4px;
}
.bbmc-site-footer .bbmc-footer-col .bbmc-company-info {
  width: 100%;
  max-width: 340px;
  margin: 0 0 14px !important;
  color: #b9cbd3;
}
.bbmc-site-footer .bbmc-footer-col .bbmc-company-info > div {
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(190, 211, 220, .16);
}
.bbmc-site-footer .bbmc-footer-col .bbmc-company-info .bbmc-meta-label {
  color: #ddbc87;
  font-size: 10px;
  letter-spacing: .12em;
}
.bbmc-site-footer .bbmc-footer-bottom {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px 30px !important;
  padding: 22px 0 0 !important;
  margin: 0 auto !important;
  border-top: 1px solid rgba(208, 224, 228, .2);
}
.bbmc-site-footer .bbmc-footer-bottom > * {margin-left: 0 !important; margin-right: 0 !important;}
.bbmc-site-footer .bbmc-footer-bottom .bbmc-foot-small {
  color: #9bb2bd !important;
  font-size: 11px !important;
  line-height: 1.7 !important;
  letter-spacing: .015em !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  .bbmc-site-footer .bbmc-footer-shell {padding: 66px 35px 24px !important;}
  .bbmc-site-footer .bbmc-footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr) !important;
    gap: 40px 44px !important;
    margin-bottom: 46px !important;
  }
  .bbmc-site-footer .bbmc-footer-grid > .wp-block-column:first-child {grid-column: 1 / -1;}
  .bbmc-site-footer .bbmc-official-logo--footer {width: min(315px,100%) !important;}
}
@media (max-width: 600px) {
  .bbmc-site-footer .bbmc-footer-shell {padding: 53px 23px 22px !important;}
  .bbmc-site-footer .bbmc-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 37px 22px !important;
    margin-bottom: 43px !important;
  }
  .bbmc-site-footer .bbmc-official-logo--footer {width: min(280px, 100%) !important;}
  .bbmc-site-footer .bbmc-footer-col .bbmc-footer-caption {font-size: 13px !important;max-width: 330px !important;}
  .bbmc-site-footer .bbmc-footer-col .bbmc-footer-label {font-size: 10px !important;margin-top: 0 !important;margin-bottom: 16px !important;}
  .bbmc-site-footer .bbmc-footer-col a:not(.bbmc-official-logo) {font-size: 12px !important;}
  .bbmc-site-footer .bbmc-footer-bottom {align-items: flex-start !important;justify-content: flex-start !important;flex-direction: column !important;gap: 7px !important;}
  .bbmc-site-footer .bbmc-footer-bottom .bbmc-foot-small {font-size: 10.5px !important;}
}
@media (max-width: 350px) {
  .bbmc-site-footer .bbmc-footer-grid {grid-template-columns: 1fr !important;gap: 25px !important;}
  .bbmc-site-footer .bbmc-footer-grid > .wp-block-column:first-child {grid-column: 1;}
}
@media (prefers-reduced-motion: reduce) {
  .bbmc-site-footer .bbmc-footer-col a {transition: none !important;}
}
