/* ============================================================
   WPlama — Footer LAYOUT ([wpl_footer])
   ------------------------------------------------------------
   Rozložení patičky. Komponentní styly (.wpl-socials, .wpl-footer-menu,
   .wpl-newsletter, .wpl-partners, .wpl-footer-bottom-*, .wpl-cc-license,
   .wpl-hosting-badge, .wpl-contact-line, .wpl-col-heading) jsou ve
   style.css. Tady je jen scaffold sloupců — původní patička stála na
   Divi šířkách sloupců, které shortcode nemá.
   ============================================================ */

/* Sekce – tmavé pozadí přes celou šířku.
   V Divi se [wpl_footer] vloží do Code modulu; na obalovou Divi sekci
   přidej třídu `wpl-flush-section` (stejně jako u hlavičky), aby šla
   patička od kraje ke kraji bez paddingu. */
.wpl-footer {
  background: #082a42;
  width: 100%;
  color: #E2E7EA;
}

.wpl-footer-inner {
  max-width: var(--wpl-container, 1180px);
  margin: 0 auto;
  padding: 64px 24px 40px;
  box-sizing: border-box;
}

/* ---- Horní pruh: logo + staty ---- */
.wpl-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wpl-footer-logo {
  display: inline-flex;
  flex-shrink: 0;
}

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

.wpl-footer-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.wpl-stat {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wpl-stat strong {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.wpl-stat span {
  font-size: 13px;
  color: #93A3AE;
  margin-top: 2px;
}

/* ---- Hlavní mřížka: 4 sloupce ---- */
.wpl-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.wpl-footer-col .wpl-col-heading {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.wpl-footer-about {
  font-size: 14px;
  line-height: 1.7;
  color: #93A3AE;
  margin: 0;
}

.wpl-footer-contact {
  margin-top: 18px;
}

/* ---- Partneři + spodní lišta ---- */
.wpl-partners {
  margin-top: 44px;
}

.wpl-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet: 4 → 2 sloupce */
@media (max-width: 900px) {
  .wpl-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .wpl-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* Mobil: 1 sloupec, vše na střed */
@media (max-width: 767px) {
  .wpl-footer-inner {
    padding: 48px 20px 32px;
  }
  .wpl-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .wpl-footer-top {
    align-items: center;
    text-align: center;
  }
  .wpl-footer-stats {
    justify-content: center;
    gap: 28px;
  }
  .wpl-stat {
    align-items: center;
  }
  .wpl-socials {
    justify-content: center;
  }
  .wpl-footer-menu {
    align-items: center;
  }
  .wpl-footer-contact .wpl-contact-line {
    justify-content: center;
  }
  .wpl-newsletter {
    text-align: center;
  }
  .wpl-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}
