.formularz__submit p {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}
.page-hero--no-img {
  min-height: 180px;
  background: #695c4c;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.1) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  padding-top: 7rem;
}
.page-hero__title {
  color: #fff;
  margin: 0;
}
.page-hero:not(.page-hero--no-img) .page-hero__title {
  color: #fff;
  padding-bottom: 25px;
}

.search .page-hero__content {
  padding-bottom: 2rem;
  padding-top: 9rem;
}

.archive .page-hero--no-img .page-hero__content {
  padding-bottom: 2rem;
  padding-top: 9rem;
}

.page-breadcrumbs-bar {
  padding-top: 0.35rem;
  padding-bottom: 0.85rem;
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 15px;
}
.page-breadcrumbs a {
  color: rgba(26, 26, 26, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.page-breadcrumbs a:hover {
  color: #695c4c;
}
.page-breadcrumbs span {
  color: rgba(26, 26, 26, 0.55);
}
.page-breadcrumbs__sep {
  margin: 0 2px;
}

@media (min-width: 992px) {
  .page-layout__sidebar {
    margin-top: -40px;
  }
  .page-layout__sidebar .pg-sidebar {
    position: sticky;
    top: 115px;
    margin-bottom: 9px;
  }
  .page-layout__sidebar .zm-social {
    margin-bottom: 20px;
  }
}
.pg-sidebar.social {
  padding: 10px 0px 5px;
  margin-bottom: 15px;
}

.pg-sidebar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.0784313725);
  padding: 18px 22px;
}
.pg-sidebar__title {
  margin: 0 0 0.75rem;
  color: #1a1a1a;
}
@media (min-width: 1536px) {
  .pg-sidebar__title {
    font-size: 30px;
  }
}
.pg-sidebar__desc {
  margin: 0 0 0.5rem;
  color: #1a1a1a;
}
.pg-sidebar__contacts {
  list-style: none;
  margin: 0 0 5px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pg-sidebar__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}
.pg-sidebar__contact:hover {
  color: #695c4c;
  text-decoration: none;
}
.pg-sidebar__contact__contacts {
  margin-bottom: 15px;
}
.pg-sidebar__contact-icon {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #695c4c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-sidebar__contact-icon svg {
  height: 15px;
}
.pg-sidebar__form-label {
  margin: 0 0 5px;
  color: #1a1a1a;
  font-weight: 500;
}
.pg-sidebar .wpcf7 input[type=text],
.pg-sidebar .wpcf7 input[type=email],
.pg-sidebar .wpcf7 input[type=tel],
.pg-sidebar .wpcf7 select,
.pg-sidebar .wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 1rem;
  font: inherit;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pg-sidebar .wpcf7 input[type=text]::placeholder,
.pg-sidebar .wpcf7 input[type=email]::placeholder,
.pg-sidebar .wpcf7 input[type=tel]::placeholder,
.pg-sidebar .wpcf7 select::placeholder,
.pg-sidebar .wpcf7 textarea::placeholder {
  color: #9ca3af;
}
.pg-sidebar .wpcf7 input[type=text]:focus,
.pg-sidebar .wpcf7 input[type=email]:focus,
.pg-sidebar .wpcf7 input[type=tel]:focus,
.pg-sidebar .wpcf7 select:focus,
.pg-sidebar .wpcf7 textarea:focus {
  outline: none;
  border-color: #695c4c;
  box-shadow: 0 0 0 3px rgba(105, 92, 76, 0.12);
}
.pg-sidebar .wpcf7 textarea {
  min-height: 87px;
  height: 87px;
  resize: vertical;
}
.pg-sidebar .wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23695c4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.pg-sidebar .wpcf7 select:has(option[value=""]:checked) {
  color: #9ca3af;
}

.pg-sidebar .wpcf7-form {
  position: relative;
}
.pg-sidebar .wpcf7-form.submitting .formularz__field,
.pg-sidebar .wpcf7-form.submitting .formularz__row,
.pg-sidebar .wpcf7-form.submitting .formularz__accept,
.pg-sidebar .wpcf7-form.submitting .formularz__submit {
  opacity: 0.45;
  pointer-events: none;
}
.pg-sidebar .wpcf7-form.submitting::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 3px solid rgba(105, 92, 76, 0.25);
  border-top-color: #695c4c;
  border-radius: 50%;
  animation: pg-spin 0.8s linear infinite;
  z-index: 3;
}
.pg-sidebar__sent {
  text-align: center;
  padding: 28px 18px;
  animation: pg-sent-in 0.35s ease both;
}
.pg-sidebar__sent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #695c4c;
  color: #fff;
}
.pg-sidebar__sent-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
}
.pg-sidebar__sent-text {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}
.pg-sidebar--sent .pg-sidebar__form {
  display: none;
}

@keyframes pg-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pg-sent-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-layout__content > section > .container,
.page-layout__content > .zwykly_tekst > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.page-layout__content > section > .container > .row,
.page-layout__content > .zwykly_tekst > .container > .row {
  margin-left: 0;
  margin-right: 0;
}
.page-layout__content > section > .container > .row > [class*=col-],
.page-layout__content > .zwykly_tekst > .container > .row > [class*=col-] {
  padding-left: 0;
  padding-right: 0;
}
.page-layout__content > section + section {
  margin-top: 40px;
}

.page-layout__content .faq {
  padding-top: 0 !important;
  margin-top: 30px;
  padding-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .page-layout--has-sidebar {
    grid-template-columns: 1fr 280px;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .page-hero {
    min-height: 260px;
  }
  .page-main {
    padding: 32px 0 60px;
  }
  .page-layout__sidebar {
    position: static;
  }
}
