/* LMYC site footer — layout, alignment & readable type */
#site-footer {
  --lmyc-footer-logo-max: 14rem;
  --lmyc-footer-logo-y: 0;
}

/* White footer with green text */
#site-footer .footer,
#site-footer .footer.gradient {
  background: #ffffff !important;
  --color-background: 255, 255, 255;
  --gradient-background: #ffffff;
  --color-foreground: 66, 89, 54;
  border-top: 1px solid rgba(66, 89, 54, 0.12) !important;
  color: #425936 !important;
}

#site-footer .footer__content-bottom {
  border-top-color: rgba(66, 89, 54, 0.15) !important;
}

#site-footer .footer-block__brand-info .rte p,
#site-footer .footer-block__details-content .list-menu__item--link,
#site-footer .footer-about-content .contact-content,
#site-footer .copyright__content,
#site-footer .footer__content-bottom-wrapper .footer-bottom-menu li a,
#site-footer .list-social__link,
#site-footer .footer-block__brand-info .footer__list-social .icon {
  color: #425936 !important;
}

#site-footer .footer-about-content .contact-label {
  color: #D18E95 !important;
}

#site-footer .footer-block__details-content .list-menu__item--link:hover,
#site-footer .footer-block__details-content .list-menu__item--active,
#site-footer .list-social__link:hover,
#site-footer .copyright__content a:hover,
#site-footer .footer-bottom-menu a:hover,
#site-footer .footer-about-content a.contact-content:hover {
  color: #303d1c !important;
}

#site-footer .lmyc-site-credit-bar {
  border-top-color: rgba(66, 89, 54, 0.12) !important;
}

#site-footer .lmyc-site-credit__admin {
  border-color: rgba(66, 89, 54, 0.35) !important;
  color: rgba(66, 89, 54, 0.78) !important;
}

#site-footer .lmyc-site-credit__admin:hover,
#site-footer .lmyc-site-credit__admin:focus-visible {
  color: #425936 !important;
  border-color: rgba(66, 89, 54, 0.65) !important;
  background: rgba(66, 89, 54, 0.06) !important;
}

#site-footer .lmyc-site-credit__label,
#site-footer .lmyc-site-credit__ig {
  color: #425936 !important;
  opacity: 0.88;
}

.lmyc-footer-community__btn {
  border: 1px solid rgba(66, 89, 54, 0.45) !important;
  background: #425936 !important;
  color: #ffffff !important;
}
.lmyc-footer-community__btn:hover,
.lmyc-footer-community__btn:focus-visible {
  background: transparent !important;
  color: #425936 !important;
  border-color: #425936 !important;
}

#site-footer .footer__content-top {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 2.5rem);
}

#site-footer .footer__blocks-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  row-gap: 2rem !important;
}

#site-footer .footer-block.grid__item {
  max-width: 100% !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  min-width: 0 !important;
}

#site-footer .footer__content-top .grid,
#site-footer .footer__blocks-wrapper.grid {
  row-gap: 2rem !important;
}

#site-footer .footer-block--menu {
  text-align: left !important;
}

/* Brand / logo — centred stack: logo → social → community */
#site-footer .footer-block:has(.footer-block__brand-info) {
  display: flex;
  justify-content: center;
  align-items: center;
}

#site-footer .footer-block__brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  max-width: min(var(--lmyc-footer-logo-max, 18rem), 100%);
  gap: 0;
}

#site-footer .footer-block__brand-info .footer-block__image-wrapper {
  order: 1;
  margin: 0 auto -0.55rem !important;
  width: min(100%, var(--lmyc-footer-logo-max, 18rem)) !important;
  max-width: min(100%, var(--lmyc-footer-logo-max, 18rem)) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: visible !important;
  transform: translateY(var(--lmyc-footer-logo-y, 0rem));
}

.lmyc-footer-since {
  display: none !important;
}

#site-footer .footer-block__brand-info .footer-block__image-wrapper[style] {
  width: min(100%, var(--lmyc-footer-logo-max, 18rem)) !important;
  max-width: min(100%, var(--lmyc-footer-logo-max, 18rem)) !important;
}

#site-footer .footer-block__brand-info .footer-block__image-wrapper img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#site-footer .footer-block__brand-info .rte p {
  text-align: center;
  max-width: 100%;
  line-height: 1.65;
  margin: 0;
  font-size: 1.35rem !important;
}

#site-footer .footer-block__brand-info .footer__list-social.list-social {
  order: 2;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  margin: 0.15rem 0 0 !important;
  padding: 0 !important;
  gap: 0.85rem;
}

#site-footer .footer-block__brand-info .footer__list-social .list-social__item {
  display: flex;
}

#site-footer .footer-block__brand-info .footer__list-social .list-social__link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 3rem !important;
  height: 3rem !important;
  padding: 0 !important;
}

#site-footer .footer-block__brand-info .footer__list-social .svg-wrapper {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.35rem !important;
  height: 2.35rem !important;
  line-height: 0;
}

#site-footer .footer-block__brand-info .footer__list-social .list-social__item .icon {
  width: 2.35rem !important;
  height: 2.35rem !important;
  min-width: 2.35rem;
  min-height: 2.35rem;
  display: block;
  flex-shrink: 0;
}

#site-footer .footer-block__brand-info .footer__list-social .list-social__link:hover .icon,
#site-footer .footer-block__brand-info .footer__list-social .list-social__link:focus-visible .icon {
  transform: scale(1.06);
}

/* Nav menus */
#site-footer .footer-block--menu {
  text-align: left !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#site-footer .footer-block--menu .footer-block__details-content {
  display: block !important;
  text-align: left;
  margin: 0;
  padding: 0;
}

#site-footer .footer-block__details-content li {
  margin: 0;
  padding: 0;
}

#site-footer .footer-block__details-content .list-menu__item--link {
  display: block;
  padding: 0.45rem 0 !important;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

/* Contact column */
#site-footer .footer-block:has(.footer-about-content) {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  align-items: flex-start !important;
}

#site-footer .footer-about-content {
  margin-top: 1.25rem;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
  font-size: 1.35rem;
}

#site-footer .footer-about-content:first-child {
  margin-top: 0;
}

#site-footer .footer-about-content .contact-label {
  margin-bottom: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

#site-footer .footer-about-content .contact-content {
  line-height: 1.6;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
}

/* Bottom bar */
#site-footer .footer__content-bottom {
  padding-top: 1.5rem;
  margin-top: 0;
}

#site-footer .footer__content-bottom-wrapper:last-child {
  display: block;
}

#site-footer .footer__copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  margin-top: 0;
  text-align: center;
  font-size: inherit;
}

#site-footer .footer__copyright.caption {
  font-size: inherit;
}

#site-footer .footer__copyright .center {
  width: 100%;
  text-align: center;
}

#site-footer .copyright__content {
  display: block;
  line-height: 1.55;
  font-size: 1.25rem !important;
}

#site-footer .lmyc-site-credit-bar {
  padding: 0.85rem 0 1.25rem;
  border-top: 1px solid rgba(var(--color-foreground), 0.08);
}

#site-footer .lmyc-site-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
}

#site-footer .lmyc-site-credit__admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 243, 237, 0.35);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(248, 243, 237, 0.78);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

#site-footer .lmyc-site-credit__admin:hover,
#site-footer .lmyc-site-credit__admin:focus-visible {
  color: #ffffff;
  border-color: rgba(248, 243, 237, 0.65);
  background: rgba(248, 243, 237, 0.08);
}

#site-footer .lmyc-site-credit__label {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  opacity: 0.92;
  line-height: 1.5;
}

#site-footer .lmyc-site-credit__ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#site-footer .lmyc-site-credit__ig .icon {
  width: 1.25rem;
  height: 1.25rem;
}

#site-footer .lmyc-site-credit__ig:hover,
#site-footer .lmyc-site-credit__ig:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

#site-footer .footer-bottom-menu {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0;
  margin: 0;
  padding: 0;
  width: 100%;
}

#site-footer .footer-bottom-menu li {
  padding: 0 0.75rem !important;
  margin: 0 !important;
}

#site-footer .footer-bottom-menu .list-menu__item--link {
  padding: 0.3rem 0 !important;
  font-size: 1.2rem !important;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.45;
  transition: color 0.22s ease, text-decoration-color 0.22s ease;
}

#site-footer .footer-bottom-menu .list-menu__item--link:hover,
#site-footer .footer-bottom-menu .list-menu__item--link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* Tablet / medium desktop — keep stable 4-column grid (avoids jumpy reflow) */
@media screen and (min-width: 750px) and (max-width: 1199px) {
  #site-footer .footer__blocks-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr) minmax(0, 0.82fr) minmax(0, 1.05fr);
    gap: clamp(1rem, 2vw, 1.75rem);
    row-gap: 1.5rem !important;
    align-items: start;
  }

  #site-footer .footer-block:has(.footer-block__brand-info),
  #site-footer .footer-block:has(.footer-about-content) {
    grid-column: auto;
    justify-content: flex-start;
    align-items: flex-start !important;
    text-align: left !important;
  }

  #site-footer .footer-block__brand-info {
    align-items: center;
    max-width: min(var(--lmyc-footer-logo-max, 16rem), 100%);
  }

  #site-footer .footer-block__brand-info .footer-block__image-wrapper,
  #site-footer .footer-block__brand-info .footer-block__image-wrapper[style] {
    width: min(100%, var(--lmyc-footer-logo-max, 16rem)) !important;
    max-width: min(100%, var(--lmyc-footer-logo-max, 16rem)) !important;
  }

  #site-footer .footer-about-content {
    text-align: left;
    margin-top: 0;
  }

  #site-footer .footer-block--menu {
    text-align: left !important;
    align-items: flex-start;
  }

  #site-footer .footer-block__details-content .list-menu__item--link {
    font-size: 1.25rem !important;
    padding: 0.35rem 0 !important;
  }
}

/* Override theme 33% column widths at medium sizes */
@media screen and (min-width: 750px) and (max-width: 991px) {
  #site-footer .footer-block.grid__item,
  #site-footer .footer__blocks-wrapper .grid__item {
    max-width: 100% !important;
    width: 100% !important;
  }

  #site-footer .footer-block--menu .footer-block__details-content {
    text-align: left !important;
  }
}

/* Legacy tablet stack — disabled in favour of stable 4-col above */
@media screen and (max-width: 1199px) {
  #site-footer .footer-block__details-content .list-menu__item--link {
    font-size: 1.35rem !important;
  }
}

/* Mobile */
@media screen and (max-width: 749px) {
  #site-footer .footer__content-top {
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }

  #site-footer .footer__blocks-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
    align-items: start;
    justify-items: stretch;
  }

  /* Logo + social centred full width */
  #site-footer .footer-block:has(.footer-block__brand-info) {
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 0.5rem;
  }

  #site-footer .footer-block__brand-info {
    max-width: 100%;
  }

  #site-footer .footer-block__brand-info .footer-block__image-wrapper,
  #site-footer .footer-block__brand-info .footer-block__image-wrapper[style] {
    width: min(92vw, var(--lmyc-footer-logo-max, 22rem)) !important;
    max-width: min(92vw, var(--lmyc-footer-logo-max, 22rem)) !important;
  }

  /* Two equal nav columns */
  #site-footer .footer-block--menu {
    text-align: center !important;
    align-items: center;
    min-width: 0;
  }

  #site-footer .footer-block--menu .footer-block__details-content,
  #site-footer .footer-block--menu .list-menu__item {
    text-align: center !important;
    justify-content: center !important;
    width: 100%;
  }

  #site-footer .footer-block__details-content .list-menu__item--link {
    font-size: 1.3rem !important;
    padding: 0.4rem 0 !important;
  }

  /* Contact column — full width, centred on mobile */
  #site-footer .footer-block#contact,
  #site-footer .footer-block:has(.footer-about-content) {
    grid-column: 1 / -1;
    align-items: center !important;
    text-align: center !important;
    justify-content: center;
  }

  #site-footer .footer-about-content {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  #site-footer .footer-about-content .contact-label {
    font-size: 0.95rem !important;
    text-align: center;
    width: 100%;
  }

  #site-footer .footer-about-content .contact-content {
    font-size: 1.25rem !important;
    text-align: center;
  }

  #site-footer .footer-about-content .contact-content[href] {
    display: inline-block;
  }

  #site-footer .lmyc-footer-community--contact {
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
  }

  #site-footer .footer-about-content:first-child {
    margin-top: 0;
  }

  #site-footer .footer__copyright {
    gap: 1rem;
  }

  #site-footer .footer-bottom-menu li {
    padding: 0 0.5rem !important;
  }

  #site-footer .footer-bottom-menu .list-menu__item--link {
    font-size: 1.1rem !important;
  }

  #site-footer .copyright__content {
    font-size: 1.1rem !important;
    padding: 0 0.5rem;
  }

  #site-footer .lmyc-site-credit__label {
    font-size: 1rem;
  }
}

/* Desktop bottom bar */
@media screen and (min-width: 750px) {
  #site-footer .footer__copyright {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.5rem;
    text-align: left;
  }

  #site-footer .footer__copyright .center {
    width: auto;
    flex: 1 1 18rem;
    text-align: left;
  }

  #site-footer .footer-bottom-menu {
    justify-content: flex-end;
    flex: 1 1 18rem;
    width: auto;
  }
}

@media screen and (min-width: 992px) {
  #site-footer .footer-block--menu,
  #site-footer .footer-block:has(.footer-about-content) {
    align-self: center;
  }
}


/* WhatsApp community follow CTA */
.lmyc-footer-community--brand {
  display: none;
}

.lmyc-footer-community--contact {
  margin-top: 1.35rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-self: stretch;
}

@media screen and (min-width: 750px) {
  .lmyc-footer-community--brand {
    order: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.65rem !important;
    width: 100%;
    align-self: stretch;
  }

  #site-footer .footer-block__brand-info .lmyc-footer-community--brand {
    margin-top: 0.65rem !important;
  }

  .lmyc-footer-community--contact {
    display: none !important;
  }
}

@media screen and (max-width: 749px) {
  .lmyc-footer-community--brand {
    display: none !important;
  }
}

.lmyc-footer-community {
  margin-top: 1.35rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-self: stretch;
}
.lmyc-footer-community__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(66, 89, 54, 0.45);
  background: #425936;
  color: #ffffff !important;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.lmyc-footer-community__btn:hover,
.lmyc-footer-community__btn:focus-visible {
  background: transparent;
  color: #425936 !important;
  border-color: #425936;
  transform: translateY(-1px);
}

/* legacy class kept for safety */
.lmyc-footer-community__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
}
.lmyc-footer-community__link:hover,
.lmyc-footer-community__link:focus-visible {
  color: #ffffff !important;
  text-decoration: underline !important;
}
