html.ymi-vector-preferred .india-map-shell > .leaflet-container,
.india-map-shell.ymi-vector-map-pending > .leaflet-container,
.india-map-shell.ymi-vector-map-active > .leaflet-container {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.india-map-shell.ymi-vector-map-fallback > .leaflet-container {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.india-map-shell.ymi-vector-map-pending,
.india-map-shell.ymi-vector-map-active {
  overflow: hidden;
}

.india-map-shell .ymi-vector-map {
  position: absolute;
  inset: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 78px);
  background: #e7e4d8;
}

.ymi-map-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at center, rgba(225, 171, 52, 0.13), transparent 34%),
    #e7e4d8;
  color: #34291d;
  font: 700 12px/1.4 Manrope, "Noto Sans Devanagari", sans-serif;
  letter-spacing: 0.04em;
}

.ymi-map-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(143, 91, 8, 0.2);
  border-top-color: #8f5b08;
  border-radius: 50%;
  animation: ymiMapSpin 0.75s linear infinite;
}

@keyframes ymiMapSpin {
  to { transform: rotate(360deg); }
}

.ymi-vector-map .maplibregl-canvas,
.ymi-vector-map .maplibregl-canvas-container {
  outline: none;
}

.ymi-vector-map .maplibregl-canvas {
  image-rendering: auto;
}

.ymi-vector-map .maplibregl-control-container {
  font-family: Manrope, "Noto Sans Devanagari", "Noto Sans", sans-serif;
}

.ymi-vector-map .maplibregl-ctrl-top-left {
  top: 8px;
  left: 8px;
}

.ymi-vector-map .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(92, 64, 25, 0.24);
  border-radius: 5px;
  box-shadow: 0 3px 12px rgba(31, 22, 8, 0.18);
}

.ymi-vector-map .maplibregl-ctrl button {
  width: 34px;
  height: 34px;
}

.ymi-vector-map .maplibregl-ctrl-scale {
  border-color: rgba(32, 28, 22, 0.72);
  background: rgba(255, 252, 242, 0.82);
  color: #28231d;
  font-size: 9px;
}

.ymi-vector-map .maplibregl-ctrl-attrib {
  background: rgba(255, 250, 235, 0.86);
  color: #393125;
  font-size: 9px;
}

.ymi-vector-map .maplibregl-ctrl-attrib a {
  color: #393125;
}

.ymi-map-message {
  position: absolute;
  z-index: 720;
  left: 50%;
  bottom: 18px;
  max-width: min(520px, calc(100% - 32px));
  padding: 10px 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(239, 180, 56, 0.5);
  border-radius: 5px;
  background: rgba(5, 7, 20, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  color: #f7e6bd;
  font: 600 12px/1.45 Manrope, "Noto Sans Devanagari", sans-serif;
  text-align: center;
  pointer-events: none;
}

/* Keep the selected location title on its own line and prevent bilingual text collisions. */
.golden-card-head {
  display: grid;
  justify-items: center;
  gap: 0;
}

.golden-card-head .back-gold {
  margin-bottom: 14px;
}

.golden-card-head > .eyebrow {
  position: static;
  margin: 0 0 12px;
  line-height: 1.35;
}

.golden-card-head > h1 {
  max-width: 100%;
  margin: 0;
  line-height: 1.02;
  overflow-wrap: anywhere;
  word-break: normal;
}

.golden-card-head > p:not(.eyebrow) {
  max-width: min(850px, 100%);
  margin: 16px auto 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.golden-card-head .place-breadcrumbs {
  width: 100%;
}

.golden-card-head .place-breadcrumbs span {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .india-map-shell .ymi-vector-map {
    min-height: 72vh;
  }

  .ymi-vector-map .maplibregl-ctrl-top-left {
    top: 10px;
    left: 10px;
  }

  .ymi-map-message {
    bottom: 12px;
    font-size: 11px;
  }

  .golden-card-head > h1 {
    font-size: clamp(42px, 13vw, 68px);
    line-height: 1.04;
  }

  .golden-card-head > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.55;
  }
}
