.locations-page {
  max-width: 1800px;
  padding-right: clamp(68px, 4.2vw, 80px);
  padding-left: clamp(18px, 2.5vw, 48px);
}

.locations-hero::before {
  content: "POLSKA / RLRL";
}

.locations-introduction {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px clamp(38px, 6vw, 96px);
  margin: clamp(28px, 5vw, 72px) 0;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid rgba(42, 34, 26, 0.12);
  border-radius: 26px;
  background: rgba(255, 250, 242, 0.62);
}

.locations-introduction__index {
  grid-column: 1 / -1;
  margin: 0;
  color: #d95f37;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.locations-introduction h2 {
  margin: 0;
  color: #2a221a;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
}

.locations-introduction > p:not(.locations-introduction__index) {
  margin: 0;
  color: #65594e;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.location-jump {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.location-jump a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid rgba(42, 34, 26, 0.12);
  border-radius: 13px;
  color: #3c3128;
  font-weight: 750;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.5);
}

.location-jump span {
  color: #d95f37;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.location-jump a:hover,
.location-jump a:focus-visible {
  border-color: rgba(233, 116, 74, 0.48);
  background: #fffaf3;
}

.locations-grid {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.location-card {
  scroll-margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(42, 34, 26, 0.14);
  border-radius: clamp(24px, 3vw, 38px);
  background: #fffaf3;
  box-shadow: 0 30px 80px -58px rgba(42, 24, 15, 0.75);
}

.location-card__header {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 68px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(233, 116, 74, 0.22), transparent 32%),
    linear-gradient(120deg, #211913, #34271e);
  color: #fff8ec;
}

.location-card:nth-child(2) .location-card__header {
  background:
    radial-gradient(circle at 86% 10%, rgba(106, 191, 159, 0.18), transparent 34%),
    linear-gradient(120deg, #211913, #2a302a);
}

.location-card:nth-child(3) .location-card__header {
  background:
    radial-gradient(circle at 86% 10%, rgba(217, 176, 109, 0.2), transparent 34%),
    linear-gradient(120deg, #211913, #342b1f);
}

.location-card__number {
  position: absolute;
  top: clamp(24px, 3vw, 42px);
  right: clamp(26px, 4vw, 58px);
  margin: 0;
  color: rgba(255, 248, 236, 0.08);
  font-size: clamp(88px, 12vw, 190px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.location-card__badge {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(233, 116, 74, 0.42);
  border-radius: 999px;
  color: #ffc2aa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-card__header h2 {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0;
  color: #fff8ec;
  font-size: clamp(31px, 4.5vw, 67px);
  line-height: 1.01;
  letter-spacing: -0.035em;
}

.location-card__person {
  position: relative;
  z-index: 1;
  margin: 17px 0 0;
  color: rgba(255, 248, 236, 0.82);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
}

.location-card__distinction {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 18px 0 0;
  color: rgba(255, 248, 236, 0.64);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
}

.location-card__content {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  min-height: 500px;
}

.location-card__details,
.location-card__map {
  min-width: 0;
  padding: clamp(28px, 4vw, 56px);
}

.location-card__details {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(42, 34, 26, 0.11);
}

.location-card__details h3,
.location-card__map h3 {
  margin: 0 0 24px;
  color: #a64b2c;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-card address {
  margin: 0 0 28px;
  color: #342a22;
  font-size: clamp(17px, 1.5vw, 21px);
  font-style: normal;
  line-height: 1.65;
}

.location-contact {
  color: #5c5046;
  line-height: 1.65;
}

.location-contact p { margin: 0 0 12px; }
.location-contact ul { margin: -2px 0 20px; padding-left: 19px; }
.location-contact a { color: #924126; font-weight: 750; }

.location-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 30px;
}

.location-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(42, 34, 26, 0.17);
  border-radius: 999px;
  background: transparent;
  color: #3a2f27;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.location-card__actions .location-button--primary,
.location-card__actions .location-button--primary:visited {
  border-color: #2a211a;
  background: #2a211a;
  color: #fff8ec !important;
}

.location-button--map {
  border-color: rgba(233, 116, 74, 0.44);
  color: #b24d2c;
}

.location-button:hover,
.location-button:focus-visible {
  transform: translateY(-2px);
  border-color: #e9744a;
  background: #e9744a;
  color: #fff !important;
}

.location-card__map {
  display: flex;
  flex-direction: column;
  background: #f3ead9;
}

.location-card__map iframe {
  width: 100%;
  min-height: 390px;
  flex: 1;
  border: 0;
  border-radius: 18px;
  filter: saturate(0.7) contrast(0.96);
}

.location-map-fallback {
  margin: 18px 0 0;
  color: #65594e;
  font-size: 13px;
  line-height: 1.55;
}

.location-map-fallback a {
  color: #a64b2c;
  font-weight: 750;
}

.locations-information {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px clamp(36px, 6vw, 92px);
  margin: clamp(36px, 6vw, 90px) 0 28px;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid rgba(233, 116, 74, 0.22);
  border-radius: 24px;
  background: linear-gradient(140deg, #f6dfca, #fff8ed);
}

.locations-information h2 {
  grid-row: 1 / span 2;
  margin: 0;
  color: #2a221a;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.07;
}

.locations-information p {
  margin: 0;
  color: #605349;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
}

.locations-page .article-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.locations-page .article-links a {
  padding: 17px 18px;
  border: 1px solid rgba(42, 34, 26, 0.12);
  border-radius: 13px;
  background: rgba(255, 250, 242, 0.68);
  color: #3d3229;
  font-weight: 750;
  text-decoration: none;
}

.locations-page .article-links a:hover,
.locations-page .article-links a:focus-visible {
  border-color: rgba(233, 116, 74, 0.5);
  color: #b54f2c;
}

.locations-page + .evidence-back-to-top,
.locations-site .evidence-back-to-top {
  right: clamp(16px, 2.5vw, 34px);
}

@media (max-width: 900px) {
  .locations-introduction,
  .locations-information,
  .location-card__content {
    grid-template-columns: 1fr;
  }

  .locations-information h2 { grid-row: auto; }
  .location-card__details { border-right: 0; border-bottom: 1px solid rgba(42, 34, 26, 0.11); }
  .location-jump,
  .locations-page .article-links { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .locations-page {
    padding-right: 14px;
    padding-left: 14px;
  }

  .location-card__header { min-height: 290px; }
  .location-card__map iframe { min-height: 320px; }
  .location-card__actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .location-card__actions { grid-template-columns: 1fr; }
  .location-card__number { font-size: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  .location-button { transition: none; }
}
