/*
 * EL-CREDO BUSINESS LTD
 * Footer design v1
 * Blonwe footer type 1 only
 */

body:not([data-theme="dark"]) .site-footer.footer-type1 {
  --ef-bg: #f7f6f3;
  --ef-bottom: #efeee9;
  --ef-text: #282a2e;
  --ef-muted: #5f6369;
  --ef-border: #dedbd3;
  --ef-gold: #906a22;
}

body[data-theme="dark"] .site-footer.footer-type1 {
  --ef-bg: #202326;
  --ef-bottom: #1a1c1f;
  --ef-text: #f5f2ec;
  --ef-muted: #c3c5c7;
  --ef-border: #414449;
  --ef-gold: #d5a64a;
}

.site-footer.footer-type1 .footer-widgets {
  background: var(--ef-bg) !important;
  color: var(--ef-text) !important;
  border-color: var(--ef-border) !important;
}

.site-footer.footer-type1 .footer-widgets .container {
  padding-top: 56px;
  padding-bottom: 52px;
}

.site-footer.footer-type1 .footer-widgets .footer-inner {
  align-items: flex-start;
  gap: 42px;
}

.site-footer.footer-type1 .footer-widgets .column-brand {
  min-width: 0;
}

.site-footer.footer-type1 .footer-widgets .column-widgets {
  min-width: 0;
}

.site-footer.footer-type1 .footer-widgets .widget {
  margin-bottom: 0;
}

.site-footer.footer-type1 .footer-widgets .widget-title,
.site-footer.footer-type1 .footer-widgets .widget h2,
.site-footer.footer-type1 .footer-widgets .widget h3,
.site-footer.footer-type1 .footer-widgets .widget h4 {
  color: var(--ef-text) !important;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  line-height: 1.35;
}

.site-footer.footer-type1 .footer-widgets .textwidget {
  color: var(--ef-muted) !important;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer.footer-type1 .footer-widgets .textwidget p {
  color: var(--ef-muted) !important;
  margin: 0 0 12px;
}

.site-footer.footer-type1 .footer-widgets .textwidget ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer.footer-type1 .footer-widgets .textwidget li {
  list-style: none !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  line-height: 1.5;
}

.site-footer.footer-type1 .footer-widgets .textwidget li::before,
.site-footer.footer-type1 .footer-widgets .textwidget li::marker {
  content: none !important;
}

.site-footer.footer-type1 .footer-widgets a {
  color: var(--ef-muted) !important;
  text-decoration: none !important;
  transition: color 160ms ease;
}

.site-footer.footer-type1 .footer-widgets a:hover,
.site-footer.footer-type1 .footer-widgets a:focus-visible {
  color: var(--ef-gold) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.site-footer.footer-type1 .footer-widgets .column-brand a {
  overflow-wrap: anywhere;
}

.site-footer.footer-type1 .footer-copyright {
  background: var(--ef-bottom) !important;
  color: var(--ef-muted) !important;
  border-top: 1px solid var(--ef-border) !important;
}

.site-footer.footer-type1 .footer-copyright .footer-inner {
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-footer.footer-type1 .footer-copyright p,
.site-footer.footer-type1 .footer-copyright .site-copyright {
  color: var(--ef-muted) !important;
  font-size: 12px;
  line-height: 1.7;
}

.site-footer.footer-type1 .footer-copyright a {
  color: var(--ef-text) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer.footer-type1 .footer-copyright a:hover {
  color: var(--ef-gold) !important;
}

/* Tablet and mobile */
@media (max-width: 991px) {
  .site-footer.footer-type1 .footer-widgets .container {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .site-footer.footer-type1 .footer-widgets .footer-inner {
    display: block;
  }

  .site-footer.footer-type1 .footer-widgets .column-brand {
    width: 100%;
    max-width: none;
    margin: 0 0 32px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--ef-border);
  }

  .site-footer.footer-type1 .footer-widgets .column-widgets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    width: 100%;
    max-width: none;
  }

  .site-footer.footer-type1 .footer-widgets .widget-column {
    min-width: 0;
    width: 100%;
  }

  .site-footer.footer-type1 .footer-widgets .widget-title,
  .site-footer.footer-type1 .footer-widgets .widget h2,
  .site-footer.footer-type1 .footer-widgets .widget h3,
  .site-footer.footer-type1 .footer-widgets .widget h4 {
    margin-bottom: 12px;
  }

  .site-footer.footer-type1 .footer-widgets .textwidget {
    font-size: 13px;
  }

  .site-footer.footer-type1 .footer-widgets .textwidget li {
    margin-bottom: 10px !important;
  }
}

@media (max-width: 360px) {
  .site-footer.footer-type1 .footer-widgets .column-widgets {
    column-gap: 14px;
  }

  .site-footer.footer-type1 .footer-widgets .textwidget {
    font-size: 12px;
  }
}

/* ==================================================
   EL-CREDO FOOTER SPACING V2
   Reduce excess whitespace without changing content
   ================================================== */

@media (min-width: 992px) {
  .site-footer.footer-type1 .footer-widgets {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .site-footer.footer-type1 .footer-widgets .container {
    padding-top: 32px !important;
    padding-bottom: 28px !important;
  }

  .site-footer.footer-type1 .footer-widgets .footer-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
  }

  .site-footer.footer-type1 .footer-widgets .column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 991px) {
  .site-footer.footer-type1 .footer-widgets .container {
    padding-top: 28px !important;
    padding-bottom: 26px !important;
  }

  .site-footer.footer-type1 .footer-widgets .column-brand {
    margin-bottom: 22px !important;
    padding-bottom: 20px !important;
  }

  .site-footer.footer-type1 .footer-widgets .column-widgets {
    row-gap: 22px !important;
  }
}

.site-footer.footer-type1 .footer-copyright .footer-inner {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
