#page {
  display: flex;
  flex-direction: column;
}

#site-navigation {
  order: -1;
}
/* Menu na górze */
#page {
  display: flex;
  flex-direction: column;
}

#site-navigation {
  order: -1;
  background-color: #F7F3EC;
  padding: 1em 0;
}

/* Wyśrodkowanie i odstępy */
@media screen and (min-width: 32.375em) {
  #site-navigation ul.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.2em;
    flex-wrap: wrap;
  }
}

/* Styl linków */
#site-navigation a {
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: color 0.2s ease;
}

#site-navigation ul.menu > li > a:hover {
  color: #8A6D5C;
}

/* Przycisk "Skontaktuj się" - ostatnia pozycja menu */
#site-navigation ul.menu > li:last-child > a {
  background-color: #6B8E5A;
  color: #ffffff !important;
  padding: 0.6em 1.4em;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 0.85em;
}

#site-navigation ul.menu > li:last-child > a:hover {
  background-color: #566E48;
  color: #ffffff !important;
}
/* Pola formularza (Jetpack) */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  border-radius: 8px !important;
  border: 1px solid #D9D2C5 !important;
  padding: 0.7em !important;
  width: 100%;
  box-sizing: border-box;
}

/* Przycisk Wyślij */
.contact-form input[type="submit"],
#contact-submit {
  background-color: #6B8E5A !important;
  border: none !important;
  border-radius: 30px !important;
  color: #ffffff !important;
  padding: 0.6em 1.6em !important;
  text-transform: uppercase;
  font-size: 0.85em;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover,
#contact-submit:hover {
  background-color: #566E48 !important;
}

/* Odstępy między polami */
.contact-form p {
  margin-bottom: 1.2em;
}

/* Kafelki z danymi kontaktowymi */
.kafelek-adres,
.kafelek-telefon,
.kafelek-godziny {
  background-color: #F7F3EC;
  border-radius: 12px;
  padding: 1em 1.3em;
  margin-bottom: 0.8em;
  display: block;
   width: 100%;
   box-sizing: border-box;
  color: #6B5D4B;
}

/* Mapa Google - zaokrąglone rogi (uniwersalny selektor) */
iframe[src*="google.com/maps"] {
  border-radius: 12px !important;
  border: 1px solid #E5DFD3 !important;
}
/* Stopka (ElementsKit) na całą szerokość ekranu */
.ekit-template-content-footer {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.entry-content .alignfull {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}