.map-overview {
  position: relative;
  min-height: 0;
  height: auto;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #180e0a;
  padding: 0;
}

.map-overview__bg {
  position: absolute;
  inset: 0;
}

.map-overview__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.map-overview__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 14, 10, 0.58) 0%, rgba(24, 14, 10, 0.18) 52%, rgba(24, 14, 10, 0.08) 100%),
    linear-gradient(to top, rgba(24, 14, 10, 0.78) 0%, rgba(24, 14, 10, 0.22) 48%, rgba(24, 14, 10, 0.16) 100%);
}

.map-overview__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 6.35rem 2rem 1.7rem;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1.6rem 2.8rem;
  align-items: end;
}

.map-overview__eyebrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold, #c9963a);
  margin-bottom: 0.55rem;
}

.map-overview__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 300;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 0.65rem;
}

.map-overview__title em {
  font-style: italic;
  color: var(--sand, #f0e2c4);
}

.map-overview__lead {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin: 0 0 0.9rem;
}

.map-overview__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold, #c9963a);
  margin-bottom: 1rem;
}

.map-overview__cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--terracotta, #c4622d);
  padding: 0.72rem 1.35rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

.map-overview__cta:hover {
  background: var(--gold, #c9963a);
  transform: translateY(-1px);
}

.map-overview__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: 0;
}

.map-overview__chips a {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(24, 14, 10, 0.32);
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.map-overview__chips a:hover,
.map-overview__chips a.is-active,
.map-overview__chips a:focus-visible {
  background: var(--terracotta, #c4622d);
  border-color: var(--terracotta, #c4622d);
  outline: none;
}

.egypt-map { padding: 1.55rem 2rem 5rem; background: var(--cream, #faf6ee); scroll-margin-top: 5.5rem; }

.egypt-map__intro {
  max-width: 1180px;
  margin: 0 auto 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
}

.egypt-map__intro span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta, #c4622d);
  margin-bottom: 0.25rem;
}

.egypt-map__intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 400;
  color: var(--forest, #180e0a);
  margin: 0;
}

.egypt-map__intro h2 em {
  font-style: italic;
  color: var(--terracotta, #c4622d);
}

.egypt-map__intro p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: #5c5148;
  max-width: 38rem;
}

.egypt-map__layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 1.6rem;
  align-items: start;
}

.egypt-map__canvas {
  background: #efe4cc;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(24, 14, 10, 0.08);
  box-shadow: 0 18px 40px rgba(24, 14, 10, 0.06);
  min-height: 640px;
  position: sticky;
  top: 6.2rem;
}

.egypt-map__leaflet {
  width: 100%;
  height: 640px;
  background: #efe4cc;
}

.egypt-map__leaflet .leaflet-control-zoom a {
  width: 32px;
  height: 32px;
  line-height: 30px;
  color: #180e0a;
  border: 0;
  background: #faf6ee;
}
.egypt-map__leaflet .leaflet-control-zoom a:hover { background: #fff; color: #c4622d; }
.egypt-map__leaflet .leaflet-bar { border: 0; box-shadow: 0 8px 20px rgba(24, 14, 10, 0.12); border-radius: 10px; overflow: hidden; }
.egypt-map__leaflet .leaflet-control-attribution {
  background: rgba(250, 246, 238, 0.92);
  color: #7a6a58;
  font-size: 10px;
}
.egypt-map__leaflet .leaflet-control-attribution a { color: #c4622d; }

.egypt-pin { background: none !important; border: none !important; }
.egypt-pin__inner { display: flex; align-items: center; gap: 0.4rem; }
.egypt-pin__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c4622d;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 10px rgba(24, 14, 10, 0.28);
  flex-shrink: 0;
  transition: transform 0.18s ease, background 0.18s ease;
}
.egypt-pin.is-active .egypt-pin__dot,
.egypt-pin:hover .egypt-pin__dot {
  background: #180e0a;
  transform: scale(1.18);
}
.egypt-pin__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #180e0a;
  white-space: nowrap;
  text-shadow: 0 1px 0 #fff, 0 0 8px rgba(250, 246, 238, 0.9);
}

.egypt-popup strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #180e0a;
}
.egypt-popup em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a6a58;
}
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(24, 14, 10, 0.14);
  padding: 0.15rem 0.2rem;
}
.leaflet-popup-content { margin: 0.7rem 0.9rem; }
.leaflet-popup-tip { box-shadow: none; }

.egypt-map__list { display: grid; gap: 0.75rem; max-height: 640px; overflow: auto; padding-right: 0.35rem; }
.egypt-map__place { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid rgba(24,14,10,0.08); scroll-margin-top: 6.5rem; }
.egypt-map__place.is-active { border-color: #c4622d; box-shadow: 0 8px 24px rgba(24,14,10,0.08); }
.egypt-map__place-btn { width: 100%; display: flex; gap: 0.9rem; align-items: center; text-align: left; background: none; border: 0; padding: 0.7rem; cursor: pointer; }
.egypt-map__place-btn img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; background: #efe4cc; }
.egypt-map__place-btn strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500; color: #180e0a; }
.egypt-map__place-btn em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #7a6a58; }
.egypt-map__place-body { display: none; padding: 0 1rem 1.05rem; font-size: 0.9rem; line-height: 1.7; color: #444; }
.egypt-map__place.is-active .egypt-map__place-body { display: block; }
.egypt-map__place-body h3 {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4622d;
  margin: 0.95rem 0 0.4rem;
}
.egypt-map__highlights-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a6a58;
  margin: 0.9rem 0 0.4rem;
}
.egypt-map__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.egypt-map__pills li {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(196, 98, 45, 0.08);
  color: #2e1a14;
}
.egypt-map__tours { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.egypt-map__place-body a { color: #c4622d; }
.muted { color: #7a6a58; }

@media (max-width: 900px) {
  .map-overview__inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 6.1rem 1.35rem 1.45rem;
  }
  .map-overview__chips { justify-content: flex-start; }
  .egypt-map { padding: 1.35rem 1.25rem 3.5rem; }
  .egypt-map__layout { grid-template-columns: 1fr; }
  .egypt-map__canvas { position: static; min-height: 0; }
  .egypt-map__canvas, .egypt-map__leaflet { height: 420px; }
  .egypt-map__list { height: auto; max-height: none; }
}
