:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --surface: #14161a;
  --surface-soft: #101216;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #d7b66a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(215, 182, 106, 0.09), transparent 24rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  letter-spacing: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  font-size: 1.05rem;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.map-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

a.map-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #171a1f;
}

.map-media {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 1;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--surface-soft);
  background-size: 24px 24px;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}

a.map-card:hover .map-image {
  transform: scale(1.018);
}

.map-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.map-title {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.1;
}

.map-description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.map-action {
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

article.map-card .map-action {
  color: var(--muted);
}

@media (max-width: 860px) {
  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 1120px);
    padding-top: 22px;
  }

  .header {
    margin-bottom: 36px;
  }

  .hero {
    margin-bottom: 30px;
  }

  .map-grid {
    grid-template-columns: 1fr;
  }
}
