/* Torunlar Nerede — page-specific map presentation. */
.torunlar-hero {
  background:
    radial-gradient(circle at 18% 40%, rgba(242,196,192,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 65%, rgba(242,196,192,.12) 0 2px, transparent 3px),
    var(--color-leaf);
}
.torunlar-hero::before,
.torunlar-hero::after {
  border: 1px solid rgba(242,196,192,.13);
  border-radius: 50%;
  content: '';
  height: 360px;
  position: absolute;
  width: 360px;
}
.torunlar-hero::before { left: -180px; top: 60px; }
.torunlar-hero::after { bottom: -180px; right: -140px; }
.torunlar-hero .page-hero__bg { display: none; }

.torunlar-section { padding-top: 6rem; padding-bottom: 6.5rem; }
.torunlar-intro { margin: 0 auto 3.25rem; max-width: 760px; }
.torunlar-intro > p {
  color: var(--color-ink-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 700px;
}
.torunlar-intro .ornament { margin-bottom: 0; }

.torunlar-map-shell {
  background: var(--color-white);
  border: 1px solid rgba(107,143,113,.22);
  border-radius: 6px;
  box-shadow: 0 18px 60px rgba(44,62,45,.12);
  margin: 0 auto;
  max-width: 1000px;
  overflow: hidden;
}
#torunlarMap {
  background: #e7eee8;
  height: min(64vh, 610px);
  min-height: 480px;
  width: 100%;
}
.torunlar-map-caption {
  align-items: center;
  color: var(--color-ink-faded);
  display: flex;
  font-family: var(--font-sans);
  font-size: .78rem;
  gap: .6rem;
  justify-content: center;
  letter-spacing: .02em;
  line-height: 1.45;
  margin: 0;
  padding: 13px 18px 14px;
}
.torunlar-map-caption__dot {
  background: var(--color-accent);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--color-accent);
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.family-marker-wrap { background: transparent; border: 0; }
.family-marker {
  background: var(--color-accent);
  border: 2px solid var(--color-white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 3px 10px rgba(44,62,45,.35);
  height: 18px;
  transform: rotate(-45deg);
  transition: transform .2s ease, background .2s ease;
  width: 18px;
}
.family-marker::after {
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  content: '';
  height: 5px;
  left: 4.5px;
  position: absolute;
  top: 4.5px;
  width: 5px;
}
.family-marker-wrap:hover .family-marker {
  background: var(--color-ink-light);
  transform: rotate(-45deg) scale(1.14);
}

.torunlar-map-shell .leaflet-popup-content-wrapper {
  border-radius: 4px;
  box-shadow: 0 8px 34px rgba(44,62,45,.24);
  overflow: hidden;
  padding: 0;
}
.torunlar-map-shell .leaflet-popup-content { margin: 0; min-width: 210px; }
.family-popup { font-family: var(--font-sans); padding: 17px 19px 16px; }
.family-popup + .family-popup { border-top: 1px solid #ece7e2; }
.family-popup__name {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: 4px;
}
.family-popup__place {
  color: var(--color-accent);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.family-popup__image {
  display: block;
  height: 104px;
  margin: 12px -19px -16px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  width: calc(100% + 38px);
}
.torunlar-map-shell .marker-cluster div {
  background: var(--color-leaf);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
}
.torunlar-map-shell .marker-cluster-small,
.torunlar-map-shell .marker-cluster-medium,
.torunlar-map-shell .marker-cluster-large { background: rgba(107,143,113,.28); }

@media (max-width: 768px) {
  .torunlar-hero::before,
  .torunlar-hero::after { height: 260px; width: 260px; }
  .torunlar-section { padding-top: 3.75rem; padding-bottom: 4.5rem; }
  .torunlar-intro { margin-bottom: 2.25rem; }
  #torunlarMap { height: 62vh; min-height: 430px; }
  .torunlar-map-caption { align-items: flex-start; justify-content: flex-start; text-align: left; }
  .torunlar-map-caption__dot { margin-top: 4px; }
}
