.mono-contact-page {
  --contact-graphite: #58595b;
  --contact-yellow: #ffdd00;
  --contact-light: #c7c8ca;
  --contact-text: #26272a;
  background: #fff;
  color: var(--contact-graphite);
}

.mono-contact-page .site-header.mono-header {
  position: relative;
  inset: auto;
  background: var(--contact-graphite);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.mono-contact-page .header-row { min-height: 104px; }

.contact-page-main {
  padding: 64px 0 76px;
  background: #fff;
}

.contact-page-heading {
  margin-bottom: 30px;
}

.mono-contact-page .mono-section-label {
  margin: 0 0 13px;
  color: #77787b;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-page-heading h1 {
  max-width: 900px;
  margin: 0;
  color: var(--contact-text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 2.5vw, 2.55rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.035em;
}

.contact-location-grid {
  display: grid;
  gap: 24px;
}

.contact-location-card {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(199,200,202,.62);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(88,89,91,.06);
}

.contact-location-info {
  min-width: 0;
  padding: 30px;
}

.mono-contact-page .mono-home-contact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(199,200,202,.55);
}

.mono-contact-page .mono-home-contact-heading h2 {
  margin: 0;
  color: var(--contact-text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.025em;
}

.mono-contact-page .mono-home-contact-address {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 16px 0 0;
  color: var(--contact-graphite);
  font-style: normal;
  font-size: .86rem;
  line-height: 1.5;
}

.mono-contact-page .mono-home-contact-address span + span::before {
  content: "•";
  margin-right: 14px;
  color: var(--contact-yellow);
}

.mono-contact-page .mono-home-contact-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .82fr);
  gap: 24px;
  margin-top: 25px;
}

.mono-contact-page .mono-home-contact-lines,
.mono-contact-page .mono-home-contact-hours {
  min-width: 0;
}

.mono-contact-page .mono-home-contact-lines p {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 6px 0;
}

.mono-contact-page .mono-home-contact-lines span,
.mono-contact-page .mono-home-contact-hours > p {
  color: #77787b;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mono-contact-page .mono-home-contact-lines a {
  min-width: 0;
  color: var(--contact-text);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mono-contact-page .mono-home-contact-lines a:hover,
.mono-contact-page .mono-home-contact-lines a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--contact-yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.mono-contact-page .mono-home-contact-hours > p {
  margin: 7px 0 8px;
}

.mono-contact-page .mono-home-contact-hours ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mono-contact-page .mono-home-contact-hours li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: #77787b;
  font-size: .78rem;
}

.mono-contact-page .mono-home-contact-hours li b {
  color: var(--contact-text);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.mono-contact-page .mono-home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.mono-contact-page .mono-home-contact-actions a,
.contact-truck-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--contact-light);
  border-radius: 999px;
  color: var(--contact-graphite);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .045em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.mono-contact-page .mono-home-contact-actions a:hover,
.mono-contact-page .mono-home-contact-actions a:focus-visible,
.contact-truck-route:hover,
.contact-truck-route:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(88,89,91,.12);
}

.mono-contact-page .mono-home-contact-actions .is-dark {
  border-color: var(--contact-graphite);
  background: var(--contact-graphite);
  color: #fff;
}

.mono-contact-page .mono-home-contact-actions .is-yellow {
  border-color: var(--contact-yellow);
  background: var(--contact-yellow);
  color: var(--contact-text);
}

.contact-location-map {
  min-width: 0;
  min-height: 360px;
  background: rgba(199,200,202,.18);
}

.contact-location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.contact-truck-route-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.contact-truck-route {
  min-height: 46px;
  padding-inline: 24px;
  border-color: var(--contact-yellow);
  background: var(--contact-yellow);
  color: var(--contact-text);
}

@media (max-width: 1040px) {
  .contact-location-card {
    grid-template-columns: 1fr;
  }

  .contact-location-map,
  .contact-location-map iframe {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .mono-contact-page .header-row { min-height: 88px; }

  .contact-page-main {
    padding: 48px 0 58px;
  }

  .contact-page-heading h1 {
    max-width: none;
    font-size: clamp(1.35rem, 6.2vw, 1.9rem);
  }

  .contact-location-card {
    border-radius: 24px;
  }

  .contact-location-info {
    padding: 24px 20px;
  }

  .mono-contact-page .mono-home-contact-address {
    display: grid;
    gap: 2px;
  }

  .mono-contact-page .mono-home-contact-address span + span::before {
    display: none;
  }

  .mono-contact-page .mono-home-contact-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mono-contact-page .mono-home-contact-actions a {
    flex: 1 1 calc(50% - 9px);
  }

  .mono-contact-page .mono-home-contact-actions a:last-child {
    flex-basis: 100%;
  }

  .contact-location-map,
  .contact-location-map iframe {
    min-height: 230px;
  }

  .contact-truck-route {
    width: 100%;
    padding: 11px 18px;
  }
}


/* Korekta 2026-07-17: żółty pasek dla ciężarówek na pełną szerokość mapy Pisarzowic. */
.contact-location-map.contact-map-with-route { display: flex; flex-direction: column; }
.contact-location-map.contact-map-with-route iframe { flex: 1 1 auto; min-height: 300px; }
.contact-location-map.contact-map-with-route .contact-truck-route-wrap { justify-content: stretch; margin-top: 0; padding: 0; border-top: 1px solid rgba(199,200,202,.55); background: #fff; }
.contact-location-map.contact-map-with-route .contact-truck-route { width: 100%; min-height: 54px; padding-inline: 22px; border: 0; border-radius: 0; box-shadow: none; justify-content: center; }
.contact-location-map.contact-map-with-route .contact-truck-route:hover,
.contact-location-map.contact-map-with-route .contact-truck-route:focus-visible { transform: none; box-shadow: none; }
@media (max-width: 760px) { .contact-location-map.contact-map-with-route .contact-truck-route { min-height: 50px; padding-inline: 18px; } }


/* Final 2026-07-18: direct Facebook entry on the contact page. */
.contact-facebook-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 24px;
  padding: 22px 26px;
  background: #f3f3f1;
  border-left: 4px solid var(--contact-yellow);
}
.contact-facebook-copy { min-width: 0; }
.contact-facebook-copy .mono-section-label { margin-bottom: 7px; }
.contact-facebook-copy h2 {
  margin: 0;
  color: var(--contact-text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(1.12rem, 1.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.contact-facebook-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 0 19px;
  border: 1px solid var(--contact-yellow);
  background: var(--contact-yellow);
  color: var(--contact-text);
  font-size: .7rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.contact-facebook-link:hover,
.contact-facebook-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--contact-graphite);
  background: #fff;
}
@media (max-width: 700px) {
  .contact-facebook-panel { align-items: flex-start; flex-direction: column; gap: 18px; padding: 21px 20px; }
  .contact-facebook-link { width: 100%; min-height: 48px; }
}
