/* Sports, people, and a city-sized invitation to play. */
.activity-map-section {
  height: 100svh;
  min-height: 820px;
  max-height: 1100px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f2f4f1;
  scroll-margin-top: -88px;
}
.map-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  z-index: -3;
}
.activity-map-section:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    #f6f8f5 0%,
    #f6f8f5ee 23%,
    #f6f8f533 52%,
    transparent 72%
  );
}
.activity-map-section:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(0deg, #f4f7f180, transparent 20%);
}
.map-heading {
  position: absolute;
  top: 58px;
  left: max(var(--gutter), calc((100% - 1280px) / 2));
  width: 450px;
  z-index: 3;
}
.map-heading > .eyebrow {
  color: #4b6975;
  font-size: 10px;
  letter-spacing: 0.13em;
  margin-bottom: 21px;
}
.map-heading h2 {
  font-size: 58px;
  line-height: 1.04;
}
.map-heading > p:not(.eyebrow) {
  margin-top: 23px;
  font-size: 15px;
  line-height: 1.65;
  color: #4b6379;
}
.map-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 340px;
  margin-top: 25px;
}
.map-filters button {
  border: 1px solid #d6e1df;
  border-radius: 30px;
  padding: 11px 16px;
  background: #ffffffbf;
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.map-filters button:hover {
  border-color: #658986;
}
.map-filters button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.map-place-labels,
.activity-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.district {
  position: absolute;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: #6d8580;
}
.district-uskudar {
  left: 61%;
  top: 18%;
}
.district-kadikoy {
  left: 66%;
  top: 61%;
}
.district-atasehir {
  left: 87%;
  top: 43%;
}
.water-label {
  position: absolute;
  top: 49%;
  left: 47%;
  transform: rotate(-72deg);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #537d8a;
  font-style: italic;
}
.sport-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  background: none;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  min-width: 112px;
  z-index: 2;
  border-radius: 16px;
}
.sport-pin[hidden] {
  display: none;
}
.pin-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 63px;
  height: 63px;
  background: #fff;
  color: var(--navy);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 20px #123d4d20;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pin-disc > .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.65;
}
.pin-disc:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: inherit;
  z-index: -1;
}
.pin-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
}
.pin-label {
  background: #fffffff0;
  border: 1px solid #e2e9e4;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 3px 10px #05225c08;
}
.sport-pin:hover .pin-disc {
  transform: translateY(-4px);
  box-shadow: 0 7px 24px #123d4d28;
}
.sport-pin[aria-pressed="true"] {
  z-index: 3;
}
.sport-pin[aria-pressed="true"] .pin-disc {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 0 8px #20d1c124, 0 10px 25px #00877928;
}
.sport-pin[aria-pressed="true"] .pin-label {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.map-activity-card {
  position: absolute;
  left: max(var(--gutter), calc((100% - 1280px) / 2));
  bottom: 42px;
  width: 322px;
  background: white;
  box-shadow: 0 14px 42px -10px #123d4d28;
  border: 1px solid #fff;
  border-radius: 17px;
  overflow: hidden;
  z-index: 4;
}
.map-activity-card > img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  object-position: center 57%;
}
.map-card-content {
  padding: 18px 20px 16px;
}
.map-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 8px;
}
.map-card-top > span:first-child {
  color: #00776b;
  font-weight: 600;
}
.map-card-top > span:last-child {
  color: #496b62;
  background: #eff8f2;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 9px;
}
.map-card-content h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.map-card-content > p {
  font-size: 11px;
  line-height: 1.5;
  color: #576a81;
  margin-top: 5px;
}
.map-card-content > p + p {
  font-size: 10px;
  margin-top: 4px;
  color: #6a7b8e;
}
.map-card-host {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #e9edef;
}
.map-card-host .player-initials {
  width: 33px;
  height: 33px;
  font-size: 11px;
}
.map-card-host > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.map-card-host > div > span {
  font-size: 9px;
  color: #5e7289;
}
.map-card-host strong {
  font-size: 10px;
  font-weight: 500;
}
.map-card-host > a {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  transition: background 0.2s;
}
.map-card-host > a:hover {
  background: #087e79;
}
.map-card-host > a > .icon {
  width: 17px;
  height: 17px;
}
.map-city-badge {
  position: absolute;
  top: 45px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #fff;
  background: #ffffffd9;
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 12px;
}
.map-city-badge > .icon {
  width: 23px;
  color: #008a7d;
}
.map-city-badge > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  line-height: 1.4;
}
.map-city-badge strong {
  font-size: 10px;
  font-weight: 400;
  color: #5f7486;
}
.map-demo-note {
  position: absolute;
  bottom: 25px;
  right: var(--gutter);
  font-size: 9px;
  letter-spacing: 0.015em;
  color: #4e6871;
  background: #f8faf4c9;
  border: 1px solid #ffffff85;
  border-radius: 20px;
  padding: 8px 13px;
}
.map-demo-note > span {
  margin-left: 17px;
  border-left: 1px solid #b6c6c8;
  padding-left: 13px;
  font-weight: 500;
}
@media (min-width: 1600px) {
  .map-heading {
    top: 68px;
  }
  .map-activity-card {
    bottom: 56px;
    width: 350px;
  }
  .map-activity-card > img {
    height: 138px;
  }
}
@media (max-width: 1150px) {
  .map-heading {
    width: 360px;
  }
  .map-heading h2 {
    font-size: 46px;
  }
  .map-filters {
    max-width: 310px;
  }
  .map-heading > p:not(.eyebrow) {
    font-size: 14px;
  }
  .map-activity-card {
    width: 298px;
  }
  .map-demo-note {
    font-size: 8px;
  }
  .district-atasehir {
    left: 85%;
  }
}
@media (max-width: 900px) {
  .map-heading {
    width: 315px;
    top: 43px;
  }
  .map-heading h2 {
    font-size: 40px;
  }
  .map-heading > .eyebrow {
    font-size: 8px;
  }
  .map-heading > p:not(.eyebrow) {
    font-size: 13px;
  }
  .map-filters {
    max-width: 280px;
    gap: 7px;
  }
  .map-filters button {
    padding: 10px 13px;
    font-size: 10px;
  }
  .map-activity-card {
    width: 280px;
    bottom: 46px;
  }
  .map-activity-card > img {
    height: 115px;
  }
  .sport-pin {
    min-width: 92px;
  }
  .pin-disc {
    width: 53px;
    height: 53px;
  }
  .pin-disc > .icon {
    width: 26px;
    height: 26px;
  }
  .pin-label {
    font-size: 9px;
    padding: 6px 8px;
  }
  .pin-count {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
  .map-city-badge {
    top: 35px;
    padding: 12px 15px;
  }
  .map-city-badge > span {
    font-size: 10px;
  }
  .map-city-badge strong {
    font-size: 8px;
  }
  .district {
    font-size: 8px;
  }
  .water-label {
    font-size: 11px;
    left: 44%;
  }
}
@media (max-width: 680px) {
  .activity-map-section {
    height: 100svh;
    min-height: 1040px;
    max-height: none;
    scroll-margin-top: -25px;
  }
  .map-backdrop {
    object-fit: cover;
    object-position: 57% center;
    opacity: 0.9;
  }
  .activity-map-section:before {
    background: linear-gradient(
      180deg,
      #f6f8f5 0%,
      #f6f8f5f5 21%,
      #f6f8f544 40%,
      transparent 64%
    );
  }
  .activity-map-section:after {
    background: linear-gradient(
      0deg,
      #f2f5ef 1%,
      #f4f7f144 25%,
      transparent 45%
    );
  }
  .map-heading {
    top: 39px;
    left: 24px;
    right: 24px;
    width: auto;
  }
  .map-heading > .eyebrow {
    font-size: 9px;
    margin-bottom: 19px;
    letter-spacing: 0.11em;
  }
  .map-heading h2 {
    font-size: 44px;
  }
  .map-heading > p:not(.eyebrow) {
    font-size: 14px;
    margin-top: 19px;
    line-height: 1.6;
  }
  .map-filters {
    max-width: 345px;
    gap: 7px;
    margin-top: 22px;
  }
  .map-filters button {
    font-size: 10px;
    padding: 10px 13px;
  }
  .map-city-badge {
    display: none;
  }
  .activity-markers {
    top: 350px;
    bottom: auto;
    height: 250px;
  }
  .sport-pin {
    left: var(--mx);
    top: var(--my);
    gap: 8px;
    min-width: 87px;
    padding: 4px;
  }
  .pin-disc {
    width: 52px;
    height: 52px;
  }
  .pin-disc > .icon {
    width: 25px;
    height: 25px;
  }
  .pin-label {
    font-size: 9px;
    padding: 6px 7px;
  }
  .pin-count {
    width: 21px;
    height: 21px;
    font-size: 8px;
  }
  .sport-pin[aria-pressed="true"] .pin-disc {
    box-shadow: 0 0 0 6px #20d1c128, 0 10px 25px #00877928;
  }
  .district-uskudar {
    left: 63%;
    top: 31%;
  }
  .district-kadikoy {
    left: 50%;
    top: 59%;
  }
  .district-atasehir {
    display: none;
  }
  .water-label {
    left: 39%;
    top: 41%;
    font-size: 10px;
    letter-spacing: 0.07em;
  }
  .map-activity-card {
    left: 24px;
    right: 24px;
    width: auto;
    bottom: 52px;
    max-width: 410px;
    margin-inline: auto;
    border-radius: 15px;
  }
  .map-activity-card > img {
    height: 112px;
  }
  .map-card-content {
    padding: 16px 19px;
  }
  .map-card-content h3 {
    font-size: 25px;
  }
  .map-card-content > p {
    font-size: 12px;
  }
  .map-card-content > p + p {
    font-size: 11px;
  }
  .map-card-top {
    font-size: 10px;
  }
  .map-card-host > div > span {
    font-size: 10px;
  }
  .map-card-host strong {
    font-size: 11px;
  }
  .map-card-host .player-initials {
    width: 35px;
    height: 35px;
  }
  .map-card-host > a {
    width: 37px;
    height: 37px;
  }
  .map-demo-note {
    left: 24px;
    right: auto;
    bottom: 15px;
    font-size: 8px;
    padding: 7px 10px;
  }
  .map-demo-note > span {
    margin-left: 10px;
    padding-left: 10px;
  }
}
@media (max-width: 380px) {
  .map-heading h2 {
    font-size: 42px;
  }
  .map-filters {
    gap: 6px;
  }
  .map-filters button {
    font-size: 9px;
    padding: 10px 12px;
  }
  .map-heading > p:not(.eyebrow) {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sport-pin:hover .pin-disc {
    transform: none;
  }
}
.player-initials {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d5f8ef;
  color: #00786d;
  font-size: 14px;
  font-weight: 600;
}
