.location-section { background: #33213b; color: #fdf6ff; }
.location-layout {
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  grid-template-areas: "heading map" "times map";
  gap: 1.15rem clamp(1.8rem,5vw,5.3rem);
}
.location-heading { grid-area: heading; align-self: end; min-width: 0; container-type: inline-size; }
.location-heading .eyebrow { color: #e4efad; }
.location-heading h2 {
  font-size: clamp(2.12rem,5vw,5.35rem);
  font-size: clamp(2.12rem,16.7cqi,5.35rem);
  max-width: 13ch;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.location-copy { grid-area: times; align-self: start; min-width: 0; }
.location-copy .contact-times { margin-top: 0; }
.location-copy .contact-times > div { border-color: #86668c; }
.location-copy .contact-times dt { color: #dfc9e5; }
.location-copy .contact-times dd { color: #fff5ff; }
.location-copy .primary { color: var(--ink); background: var(--highlight); border-color: var(--highlight); }
.location-copy .primary:hover { background: #f6f9d8; border-color: #f6f9d8; }
.location-route { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 690; color: #fff7ff; text-decoration-color: #d5aede; }
.location-section :focus-visible { outline-color: var(--highlight); }
.location-map { grid-area: map; align-self: center; min-width: 0; border: 1px solid #997ca4; background: #2a1931; }
.location-map .map-frame { height: clamp(18rem,32vw,30.5rem); }
.location-map-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem 1.1rem;
  padding: .85rem clamp(.85rem,2vw,1.35rem) .45rem;
}
.location-map-notes { padding: 0 clamp(.85rem,2vw,1.35rem) .9rem; }
.location-map-controls .secondary { min-height: 2.75rem; color: #fff6ff; background: #51375b; border-color: #c6a8cf; }
.location-map-controls .secondary:is(:hover,:focus-visible) { background: #f3e9f6; border-color: #f3e9f6; color: #2d1a36; }
.location-map .map-note { color: #e5d4e9; margin-top: .34rem; }
.location-map [data-map-consent] { font-size: .875rem; }
.location-map [data-map-consent] a { color: #fff5ff; }
.location-map .local-map {
  background: repeating-linear-gradient(14deg,transparent 0 37px,#cbbad15c 37px 38px,transparent 38px 44px), linear-gradient(143deg,#e5dfe5,#d3c1da);
  font-size: clamp(.74rem,.95vw,.94rem);
}
.location-map .map-raclawicka { border-color: #b199bb; background: #fffbff; padding-block: .6rem; }
.location-map .map-blacharska, .location-map .map-rymarska { background: #fdf6fc; }
.location-map .map-stop { font-weight: 650; }
.location-map .map-pin { padding: .53rem .66rem; box-shadow: 0 .4rem .9rem #3a244144; }
.rights-layout { display: grid; grid-template-columns: minmax(13rem,.36fr) minmax(0,1fr); gap: clamp(1.7rem,5vw,5.5rem); align-items: start; }
.rights-layout .guide-index { background: #eae0ee; padding-block: 1.15rem; }
.rights-layout .guide-index ul { list-style: none; padding: 0; }
.rights-layout .guide-index a { padding: .5rem .27rem; }
.rights-topic {
  padding: clamp(1.65rem,4.5vw,3.15rem) 0;
  border-block-start: 1px solid #b59cbe;
}
.rights-topic h2 { font-size: clamp(2rem,4.3vw,4.45rem); margin-bottom: .85rem; text-wrap: balance; }
.rights-topic p { max-width: 67ch; color: #47334d; }
.rights-topic .actions { gap: .65rem 1rem; margin-top: 1rem; }
.page-legal .mast-grid { min-height: 0; padding-block-end: clamp(2.2rem,5vw,4rem); }
.legal-layout .rights-topic h2 { font-size: clamp(1.7rem,3.15vw,3.1rem); }
.rights-example {
  max-width: 64ch;
  border-inline-start: .2rem solid #886495;
  background: #eae1ee;
  color: #3c2546;
  margin: 1rem 0 0;
  padding: .82rem 1rem;
}
.rights-sources { border-top: 1px solid #b59cbe; padding-block-start: 1.3rem; display:flex; flex-wrap:wrap; gap:.6rem 1.3rem; }
@media (max-width: 50rem) {
  .location-layout, .rights-layout { grid-template-columns: minmax(0,1fr); }
  .location-layout { grid-template-areas: "heading" "map" "times"; }
  .location-map .map-frame { height: clamp(15rem,65vw,24rem); }
  .rights-layout .guide-index { position: static; }
  .rights-layout .guide-index ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .1rem .6rem; }
}
