.lelypas-footer-v2 {
  --lelypas-navy: #121f38;
  --lelypas-teal: #046783;
  --lelypas-mint: #99ccbf;
  --lelypas-yellow: #f5ba0f;
  --lelypas-coral: #eb7051;
  --lelypas-white: #fff;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 48px 24px 28px;
  color: var(--lelypas-white);
  background: var(--lelypas-navy);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.lelypas-footer-v2 *,
.lelypas-footer-v2 *::before,
.lelypas-footer-v2 *::after {
  box-sizing: border-box;
}

body.lelypas-footer-v2-enabled footer.ehp-footer:not(.lelypas-footer-v2),
body.lelypas-footer-v2-enabled .elementor-location-footer,
body.lelypas-footer-v2-enabled footer[data-elementor-type="footer"] {
  display: none !important;
}

.lelypas-footer-v2__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

body.lelypas-footer-v2-enabled footer.lelypas-footer-v2 {
  padding: 48px 24px 28px !important;
}

body.lelypas-footer-v2-enabled .lelypas-footer-v2__row {
  margin-right: auto !important;
  margin-left: auto !important;
}

.lelypas-footer-v2__block {
  min-width: 0;
  margin: 0;
  padding: 24px;
  border-radius: 18px;
  color: var(--lelypas-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lelypas-footer-v2__block--brand { background: var(--lelypas-mint); }
.lelypas-footer-v2__block--links { background: var(--lelypas-yellow); }
.lelypas-footer-v2__block--contact { background: var(--lelypas-coral); }
.lelypas-footer-v2__block--newsletter { background: var(--lelypas-white); }

.lelypas-footer-v2__site-link {
  display: inline-block;
}

.lelypas-footer-v2__site-logo {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.lelypas-footer-v2__description {
  margin: 0 0 8px;
}

.lelypas-footer-v2__description strong {
  display: block;
  margin-bottom: 2px;
  font-size: 20px;
}

.lelypas-footer-v2__local-label {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
}

.lelypas-footer-v2__social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lelypas-footer-v2 a {
  color: inherit;
}

/* Keep footer block contrast stable when the theme adds a visited-link color. */
.lelypas-footer-v2 .lelypas-footer-v2__block,
.lelypas-footer-v2 .lelypas-footer-v2__block h2,
.lelypas-footer-v2 .lelypas-footer-v2__block a,
.lelypas-footer-v2 .lelypas-footer-v2__block a:visited {
  color: var(--lelypas-navy) !important;
}

.lelypas-footer-v2 .lelypas-footer-v2__social-icon:hover {
  color: var(--lelypas-white) !important;
}

.lelypas-footer-v2__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 50%;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.lelypas-footer-v2__social-icon:hover {
  color: var(--lelypas-white);
  background: var(--lelypas-navy);
}

.lelypas-footer-v2__social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.lelypas-footer-v2 h2 {
  margin: 0 0 14px;
  color: inherit;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.25;
}

.lelypas-footer-v2__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lelypas-footer-v2__menu li {
  margin: 0;
  padding: 0;
}

.lelypas-footer-v2__menu li + li {
  margin-top: 8px;
}

.lelypas-footer-v2__menu a,
.lelypas-footer-v2__contact-information a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.lelypas-footer-v2__contact-information {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.lelypas-footer-v2__newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.lelypas-footer-v2__newsletter-form > label {
  grid-column: auto;
  font-weight: 700;
}

.lelypas-footer-v2__newsletter-form input[type="email"] {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 13px;
  border: 2px solid var(--lelypas-navy);
  border-radius: 10px;
  color: var(--lelypas-navy);
  background: var(--lelypas-white);
  box-shadow: none;
  font: inherit;
}

.lelypas-footer-v2__newsletter-form button {
  min-height: 44px;
  margin: 0;
  padding: 11px 18px;
  border: 2px solid var(--lelypas-navy);
  border-radius: 10px;
  color: var(--lelypas-white);
  background: var(--lelypas-navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lelypas-footer-v2__newsletter-form button:hover:not(:disabled) {
  color: var(--lelypas-navy);
  background: var(--lelypas-yellow);
}

.lelypas-footer-v2__newsletter-form button:disabled,
.lelypas-footer-v2__newsletter-form input:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.lelypas-footer-v2__newsletter-form .lelypas-footer-v2__consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.lelypas-footer-v2__consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--lelypas-teal);
}

.lelypas-footer-v2__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.lelypas-footer-v2__newsletter-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.lelypas-footer-v2__form-message {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 4px solid var(--lelypas-teal);
  border-radius: 4px;
  background: #eef7f4;
}

.lelypas-footer-v2__form-message--invalid,
.lelypas-footer-v2__form-message--error {
  border-left-color: #b32d2e;
  background: #fcf0f1;
}

.lelypas-footer-v2 a:focus-visible,
.lelypas-footer-v2 input:focus-visible,
.lelypas-footer-v2 button:focus-visible {
  outline: 3px solid var(--lelypas-teal);
  outline-offset: 3px;
}

.lelypas-footer-v2__copyright {
  width: 100%;
  max-width: 1160px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  font-size: 14px;
}

.lelypas-footer-v2__copyright p {
  margin: 0;
  color: var(--lelypas-white);
}

.lelypas-footer-v2-admin__status {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 4px solid #b32d2e;
  background: #fff;
}

.lelypas-footer-v2-admin__status.is-enabled {
  border-left-color: #00a32a;
}

.lelypas-footer-v2-admin__preview {
  max-width: 1240px;
  margin: 20px 0 28px;
  border: 4px solid #dcdcde;
}

.lelypas-footer-v2-admin__settings {
  max-width: 760px;
  padding: 20px;
  border: 1px solid #c3c4c7;
  background: #fff;
}

@media (max-width: 900px) {
  body.lelypas-footer-v2-enabled footer.lelypas-footer-v2 {
    padding: 40px 20px 24px !important;
  }

  .lelypas-footer-v2__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .lelypas-footer-v2 {
    padding: 28px 18px 18px;
  }

  body.lelypas-footer-v2-enabled footer.lelypas-footer-v2 {
    padding: 28px 18px 18px !important;
  }

  .lelypas-footer-v2__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lelypas-footer-v2__block {
    padding: 24px;
  }

  .lelypas-footer-v2__site-logo {
    width: 200px;
  }

  .lelypas-footer-v2__copyright {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lelypas-footer-v2__social-icon {
    transition: none;
  }
}
