
.mono-route-page {
  --route-graphite: #58595b;
  --route-yellow: #ffdd00;
  --route-light: #c7c8ca;
  --route-white: #fff;
  background: #fff;
  color: var(--route-graphite);
}
.mono-route-page .site-header.mono-header {
  position: relative;
  inset: auto;
  background: var(--route-graphite);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mono-route-page .header-row { min-height: 104px; }

.route-intro {
  padding: 72px 0 68px;
  background: #fff;
}
.route-intro-inner,
.route-directions > .container,
.route-warehouses-bottom > .container {
  box-sizing: border-box;
}
.route-intro h1,
.route-intro h2,
.route-section-heading h2 {
  margin: 0;
  color: #26272a;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.038em;
}
.route-intro h1,
.route-section-heading h2 {
  font-size: clamp(2rem, 3.3vw, 3.35rem);
}
.route-intro h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.35rem);
}
.route-lead,
.route-logistics > p:not(.mono-section-label) {
  max-width: 980px;
  margin: 22px 0 0;
  color: var(--route-graphite);
  font-size: .94rem;
  line-height: 1.78;
}
.route-permit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 20px;
  border: 1px solid var(--route-yellow);
  border-radius: 999px;
  background: var(--route-yellow);
  color: #202124;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.route-permit-button.is-disabled {
  cursor: not-allowed;
  opacity: .72;
}
.route-intro-alert {
  max-width: 980px;
  margin: 26px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--route-yellow);
  background: rgba(199,200,202,.18);
  color: #26272a;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.55;
}
.route-logistics {
  max-width: 980px;
  margin-top: 44px;
}
.route-logistics .mono-section-label { margin-bottom: 12px; }
.route-logistics > p:not(.mono-section-label) { margin-top: 15px; }

.route-directions {
  padding: 80px 0 92px;
  background: rgba(199,200,202,.16);
}
.route-section-heading { margin-bottom: 34px; }
.route-direction-card,
.route-info-card {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(199,200,202,.55);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(88,89,91,.04);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.route-direction-card:hover,
.route-direction-card:focus-within,
.route-info-card:hover,
.route-info-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--route-light);
  box-shadow: 0 18px 34px rgba(88,89,91,.11);
}
.route-direction-card + .route-direction-card { margin-top: 18px; }
.route-card-accent {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--route-yellow);
}
.route-card-label {
  margin: 0 0 8px;
  color: #77787b;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.route-direction-card h3,
.route-info-card h3 {
  margin: 0 0 18px;
  color: #26272a;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.route-direction-card h3 { font-size: clamp(1.55rem, 2.3vw, 2.35rem); }
.route-info-card h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.route-direction-card p,
.route-info-card p,
.route-info-card li {
  color: var(--route-graphite);
  font-size: .88rem;
  line-height: 1.72;
}
.route-direction-card p,
.route-info-card p { margin: 0 0 14px; }
.route-info-card ul { margin: 0 0 18px; padding-left: 20px; }

.route-warehouse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 26px;
}
.route-warehouse-grid > div {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.route-warehouse-grid h4,
.route-warehouse-grid h5,
.route-weight-section > h4 {
  margin: 0 0 12px;
  color: #26272a;
  font-weight: 600;
  line-height: 1.35;
}
.route-warehouse-grid h4,
.route-weight-section > h4 { font-size: 1rem; }
.route-warehouse-grid h5 { font-size: .94rem; }
.route-warning {
  margin-top: 16px;
  padding: 15px 17px;
  border-left: 4px solid var(--route-yellow);
  background: rgba(199,200,202,.14);
}
.route-warning strong {
  display: block;
  margin-bottom: 5px;
  color: #26272a;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.route-warning p { margin: 0; }
.route-weight-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(199,200,202,.65);
}
.route-weight-section:first-of-type { margin-top: 24px; }
.route-after-warning { margin-top: 22px !important; }

.route-warehouses-bottom {
  padding: 78px 0 94px;
  background: #fff;
}
.route-warehouses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .route-warehouse-grid,
  .route-warehouses-grid { grid-template-columns: 1fr; }
  .route-warehouse-grid { gap: 26px; }
}
@media (max-width: 760px) {
  .mono-route-page .header-row { min-height: 96px; }
  .route-intro { padding: 50px 0 48px; }
  .route-intro h1,
  .route-section-heading h2 {
    white-space: nowrap;
    font-size: clamp(1.35rem, 6vw, 1.9rem);
  }
  .route-lead,
  .route-logistics > p:not(.mono-section-label) {
    font-size: .91rem;
    line-height: 1.7;
  }
  .route-logistics { margin-top: 38px; }
  .route-directions { padding: 58px 0 68px; }
  .route-direction-card,
  .route-info-card {
    padding: 24px;
    border-radius: 24px;
  }
  .route-warehouse-grid { margin-top: 22px; }
  .route-weight-section {
    margin-top: 24px;
    padding-top: 24px;
  }
  .route-warehouses-bottom { padding: 58px 0 70px; }
}


/* Korekta: jedna, spójna sekcja wprowadzająca z aktywnym pobieraniem zezwolenia. */
.route-intro-inner {
  max-width: none;
}
.route-intro-subheading {
  margin-top: 34px !important;
}
.route-intro-copy {
  max-width: 980px;
  margin: 15px 0 0;
  color: var(--route-graphite);
  font-size: .94rem;
  line-height: 1.78;
}
.route-permit-button {
  margin-top: 24px;
}
.route-intro-alert {
  margin-top: 18px;
}
@media (max-width: 760px) {
  .route-intro-subheading {
    margin-top: 28px !important;
    font-size: clamp(1.18rem, 5vw, 1.55rem) !important;
  }
  .route-intro-copy {
    font-size: .91rem;
    line-height: 1.7;
  }
}


/* Korekta 40: identyczna szerokość góry i kart, równe kolumny oraz wyrównane pola Uwaga/Ważne. */
.mono-route-page .route-intro-inner,
.mono-route-page .route-directions > .container,
.mono-route-page .route-warehouses-bottom > .container {
  width: min(calc(100% - 48px), 1280px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.mono-route-page .route-lead,
.mono-route-page .route-intro-copy,
.mono-route-page .route-intro-alert {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.mono-route-page .route-warehouse-grid,
.mono-route-page .route-warehouses-grid {
  align-items: stretch;
}
.mono-route-page .route-warehouse-grid > div {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}
.mono-route-page .route-warehouse-grid > div > .route-warning {
  width: 100%;
  height: 126px;
  min-height: 126px;
  margin-top: auto;
  box-sizing: border-box;
}
.mono-route-page .route-info-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  box-sizing: border-box;
}
.mono-route-page .route-info-card > .route-warning {
  width: 100%;
  height: 126px;
  min-height: 126px;
  margin-top: auto;
  box-sizing: border-box;
}
.mono-route-page .route-warning strong {
  min-height: 18px;
}
@media (max-width: 900px) {
  .mono-route-page .route-warehouse-grid > div > .route-warning,
  .mono-route-page .route-info-card > .route-warning {
    height: auto;
    min-height: 0;
    margin-top: 16px;
  }
}
@media (max-width: 760px) {
  .mono-route-page .route-intro-inner,
  .mono-route-page .route-directions > .container,
  .mono-route-page .route-warehouses-bottom > .container {
    width: min(calc(100% - 32px), 1280px) !important;
  }
}

/* Korekta: mapa pod zezwoleniem i mobilny nagłówek mieszczący się w jednej linii. */
.route-map-shell {
  width: 100%;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(199,200,202,.55);
  border-radius: 28px;
  background: rgba(199,200,202,.16);
}
.route-map-shell iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}
@media (max-width: 760px) {
  .mono-route-page .route-section-heading h2 {
    white-space: nowrap !important;
    font-size: clamp(.82rem, 3.9vw, 1.15rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
  }
  .route-map-shell {
    margin-top: 22px;
    border-radius: 22px;
  }
  .route-map-shell iframe { height: 360px; }
}
@media (max-width: 420px) {
  .mono-route-page .route-section-heading h2 {
    font-size: clamp(.74rem, 3.65vw, .96rem) !important;
  }
  .route-map-shell iframe { height: 320px; }
}


/* Korekta 2026-07-12: mobilny nagłówek kierunków w jednej linii. */
@media (max-width: 760px) {
  .mono-route-page .route-section-heading h2 {
    white-space: nowrap !important;
    font-size: clamp(.62rem, 2.9vw, .78rem) !important;
    letter-spacing: -.02em !important;
    line-height: 1.1 !important;
  }
}
@media (max-width: 420px) {
  .mono-route-page .route-section-heading h2 {
    font-size: clamp(.58rem, 2.75vw, .72rem) !important;
  }
}
