/* ==========================================================================
   Kodu Media — Markdown-driven site footer
   ========================================================================== */

.site-footer {
  width: 100%;
}

.site-footer__container {
  max-width: var(--kodumedia-container-width, 1280px);
  margin: 0 auto;
  padding: 0 var(--kodumedia-container-padding, 20px);
}

.site-footer__contact {
  padding: 72px 0;
}

.site-footer__contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.site-footer__contact-copy h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.site-footer__contact-copy p {
  margin: 0;
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 34rem;
}

.site-footer__main {
  background: #000000;
  color: #ffffff;
  padding: 56px 0 48px;
}

.site-footer__main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: inline-block;
  width: fit-content;
}

.footer-logo img {
  display: block;
  width: 150px;
  height: auto;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-footer__social-link:hover {
  transform: translateY(-2px);
  background: #f1333e;
  color: #ffffff;
}

.site-footer__social-link i {
  font-size: 16px;
}

.site-footer__disclaimer {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer__disclaimer--secondary {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__menus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__menu-title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.3;
}

.site-footer__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.site-footer__menu-list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.site-footer__menu-list a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .site-footer__contact-grid,
  .site-footer__main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__menus {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .site-footer__contact {
    padding: 56px 0;
  }

  .site-footer__menus {
    grid-template-columns: 1fr;
  }

  .site-footer__brand,
  .site-footer__social,
  .footer-logo {
    align-items: center;
    text-align: center;
  }

  .site-footer__brand {
    align-items: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__menu-list,
  .site-footer__menu-title {
    text-align: center;
  }
}

@media (max-width: 540px) {
  .site-footer__contact-copy p {
    font-size: 1rem;
  }
}

/* Collapse empty Elementor newsletter row when markdown footer is not active */
.elementor-location-footer .elementor-element-1db888a {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.elementor-location-footer .elementor-element-7174327 {
  row-gap: 0 !important;
  gap: 0 !important;
}

.elementor-location-footer .elementor-element-f21b4a2,
.elementor-location-footer .elementor-element-f21b4a2 > .e-con-inner {
  padding-top: 0 !important;
}

.site-footer__contact {
  margin-bottom: 0;
}

.site-footer__main {
  margin-top: 0;
}
