.beyzer-html-footer-grid[data-beyzer-html-footer] {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: flex-start;
  gap: 1rem 2rem;
  max-width: 100%;
}

.beyzer-html-footer-grid[data-beyzer-html-footer] > .beyzer-html-footer-column {
  display: flex;
  flex-direction: column;
  flex: 0 1 14rem;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beyzer-html-footer-column > ul {
  padding: 0;
  margin: 0;
  list-style: inherit;
}

.beyzer-html-footer-column > p,
.beyzer-html-footer-column > a,
.beyzer-html-footer-column > ul > li {
  display: block;
  /* Row-level CSS columns would split one link into narrow pieces inside our columns. */
  columns: auto !important;
  width: 100%;
  margin: 0 0 .35em;
  max-width: 100%;
}

.beyzer-html-footer-column a {
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .beyzer-html-footer-grid[data-beyzer-html-footer] > .beyzer-html-footer-column {
    flex-basis: 100%;
  }
}

.lemonai-footer-link-section {
  break-inside: avoid;
  column-span: all;
  min-width: 0;
  width: 100%;
}

.lemonai-footer-links--vertical {
  align-items: flex-start;
  column-gap: clamp(1rem, 3vw, 2.5rem);
  display: flex !important;
  flex-flow: row wrap;
  max-width: 100%;
  min-width: 0;
  row-gap: 0.35em;
  width: 100%;
}

.lemonai-footer-links__column {
  align-items: flex-start;
  break-inside: avoid;
  display: flex;
  flex: 0 1 max-content;
  flex-direction: column;
  max-width: 100%;
  min-width: 0;
}

.lemonai-footer-links--compact .lemonai-footer-links__column > a {
  font-size: var(--lemonai-footer-link-font-size) !important;
}

.lemonai-footer-links__column a {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Allocate normal-flow space, never paint over an adjacent live container. */
@media (min-width: 1025px) {
  .e-con.lemonai-footer-layout-owner {
    box-sizing: border-box;
    flex: 0 0 var(--lemonai-footer-allocated-width) !important;
    max-width: var(--lemonai-footer-allocated-width) !important;
    width: var(--lemonai-footer-allocated-width) !important;
  }

  .e-con.lemonai-footer-layout-space {
    display: none !important;
  }

  .lemonai-footer-links--allocated-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--lemonai-footer-allocated-columns), minmax(0, 1fr));
  }
}

/* Keep verified customer-owned Elementor columns intact; add only our own sibling. */
.lemonai-footer-native-grid {
  align-items: start;
  column-gap: clamp(1rem, 3vw, 2.5rem);
  display: grid !important;
  grid-template-columns: repeat(var(--lemonai-footer-native-columns), minmax(0, 1fr));
  row-gap: 1rem;
}

.lemonai-footer-native-grid > .e-con,
.lemonai-footer-native-grid > .elementor-widget,
.lemonai-footer-native-grid > .lemonai-footer-native-column {
  min-width: 0;
  width: 100% !important;
}

.lemonai-footer-native-column > nav {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.lemonai-footer-native-column a {
  overflow-wrap: anywhere;
}

.lemonai-footer-native-item--plain,
.lemonai-footer-native-item--marker {
  min-width: 0;
  width: 100%;
}

.lemonai-footer-native-item--plain {
  display: block;
}

.lemonai-footer-native-item--marker {
  align-items: baseline;
  display: flex;
}

.lemonai-footer-native-item__marker {
  flex: 0 0 auto;
  margin-right: 0.35em;
}

.lemonai-footer-native-item--injected.lemonai-footer-native-item--plain {
  display: inline;
  width: auto;
}

.lemonai-footer-native-item--injected.lemonai-footer-native-item--marker {
  display: inline-flex;
  width: auto;
}

.lemonai-footer-native-list {
  margin: 0;
  padding-inline-start: 1.15em;
}

.lemonai-footer-native-overflow {
  flex: 0 0 auto;
  grid-column: 1 / -1;
  max-width: 100%;
  min-width: 0;
  width: 100% !important;
  margin-block-start: clamp(1rem, 2vw, 2rem);
}

.lemonai-footer-native-overflow__grid {
  column-gap: clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(var(--lemonai-footer-overflow-columns), minmax(0, 1fr));
  row-gap: 1rem;
}

.lemonai-footer-native-overflow__grid > .lemonai-footer-native-column {
  min-width: 0;
  width: 100%;
}

/* The verified source widget supplies responsive typography and horizontal alignment. */

/* Opt-in only after server identity and browser capacity checks; no descendant
   widget width rewrites. On unsupported layouts the following row stays intact. */
.lemonai-footer-sibling-row {
  display: grid !important;
  grid-template-columns: repeat(var(--lemonai-footer-sibling-count), minmax(0, 1fr)) !important;
  align-items: start !important;
}

.lemonai-footer-sibling-row > .lemonai-footer-sibling-cell,
.lemonai-footer-sibling-row > .lemonai-footer-native-column {
  box-sizing: border-box;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.lemonai-footer-native-overflow--promoted {
  display: none !important;
}

@media (max-width: 1024px) {
  .lemonai-footer-native-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lemonai-footer-native-overflow__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lemonai-footer-links--vertical {
    column-gap: 1rem;
  }

  .lemonai-footer-native-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lemonai-footer-native-overflow__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lemonai-footer-links--stacked {
  flex-direction: column !important;
}
.lemonai-footer-links--stacked > .lemonai-footer-links__column {
  flex: 0 0 auto;
  width: 100%;
}

/* Titled link groups keep their native typography and alignment across adapters. */
.lemonai-footer-link-section--single-seed .lemonai-footer-links__column {
  display: block;
  flex: 1 1 10rem;
}

.lemonai-footer-link-section--single-seed .lemonai-footer-links__column > a {
  display: block !important;
  float: none;
  text-align: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .lemonai-footer-link-section--single-seed .lemonai-footer-links__column {
    flex-basis: 100%;
  }
}
