/* ======================================================
   FORCE MAP BACKGROUND (Elementor override fix)
   ====================================================== */

/* Ensure the column/section behind the map is not white */
.imp-root,
.imp-root .page,
.imp-root .map-wrap {
  background: transparent;
}

/* Force the visible map panel background */
.imp-root .map-wrap {
  background-color: #EFF3F8 !important;
}

/* Safety: ensure image doesn't paint white behind */
.imp-root .map {
  background: transparent !important;
}

:root{
  --pink: #E63588;
  --pinkBorder: rgba(230, 53, 136, 0.18);
  --navyBorder: rgba(19, 50, 92, 0.22);
  --text: #111;
  --muted: #444;
  --line: #e6e6e6;
}

.imp-root * { box-sizing: border-box; }

.imp-root{
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  font-size: 16.5px; /* overall scale-up */
}

/* ======================================================
   SECTION WRAPPER
   ====================================================== */
.imp-root .section{
  padding: 14px 0;
}

.imp-root .section__inner{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ======================================================
   LAYOUT
   ====================================================== */
.imp-root .page{
  display: grid;
  grid-template-columns: 460px 1fr; /* wider left */
  gap: 32px;
  align-items: start;
}

/* Tablet */
@media (max-width: 1024px){
  .imp-root{
    font-size: 16px;
  }

  .imp-root .page{
    grid-template-columns: 380px 1fr;
    gap: 26px;
  }
}

/* Mobile */
@media (max-width: 767px){
  .imp-root{
    font-size: 15.5px;
  }

  .imp-root .page{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .imp-root .map-wrap{
    order: -1;
  }
}

/* ======================================================
   LEFT BOX
   ====================================================== */
.imp-root .details{
  border: 1px solid var(--navyBorder);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}

/* Card container */
.imp-root .card{
  border: 0;
  padding: 0;
  background: transparent;
}

/* City title */
.imp-root .card__city{
  width: 100%;
  max-width: 400px;
  margin: 0 auto 16px;
  font-size: 24px; /* bigger */
  font-weight: 700;
  color: var(--pink);
}

/* Events list */
.imp-root [data-imp="events"]{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Event box */
.imp-root .event{
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;

  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

/* Event title */
.imp-root .event__title{
  margin: 0 0 12px;
  font-size: 18px; /* bigger */
  font-weight: 700;
  color: var(--pink);
}

.imp-root .event__row{
  display: grid;
  gap: 10px;
}

.imp-root .event__label{
  font-weight: 700;
  font-size: 15.5px;
}

.imp-root .event__text{
  color: var(--muted);
  font-size: 15.5px;
}

/* CTA button */
.imp-root .event__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  border: 1px solid #111;
  background: #fff;
  color: #111;

  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

/* Hover state */
.imp-root .event:hover{
  background: var(--pink);
  border-color: rgba(230, 53, 136, 0.45);
  transform: translateY(-1px);
}

.imp-root .event:hover .event__title,
.imp-root .event:hover .event__label,
.imp-root .event:hover .event__text{
  color: #fff;
}

.imp-root .event:hover .event__cta{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.75);
}

/* ======================================================
   RIGHT BOX (MAP)
   ====================================================== */
.imp-root .map-wrap{
  border: 1px solid var(--pinkBorder);
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
  background: #EFF3F8;
}

.imp-root .map{
  position: relative;
  width: 100%;
}

.imp-root .map img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ======================================================
   PINS
   ====================================================== */
.imp-root .pin{
  appearance: none;
  -webkit-appearance: none;

  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 20px !important;  /* slightly bigger pin */
  height: 20px !important;

  font-size: 0 !important;
  line-height: 0 !important;

  display: block !important;
  position: absolute !important;
  transform: translate(-50%, -50%) !important;

  border-radius: 50% !important;
  border: 3px solid #ff2ea6 !important;
  background: #0b2a53 !important;

  cursor: pointer;
  z-index: 5;
}

/* Pin stem */
.imp-root .pin::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 18px;
  background: #ff2ea6;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Pin glow */
.imp-root .pin::before{
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 2px solid rgba(255, 46, 166, 0.55);
  box-shadow:
    0 0 0 0 rgba(255, 46, 166, 0.35),
    0 0 20px 7px rgba(255, 46, 166, 0.18);
  opacity: 0;
  pointer-events: none;
  animation: pinGlow 1.3s ease-out infinite;
  z-index: -1;
}

@keyframes pinGlow{
  0%{ transform: scale(0.85); opacity: 0; }
  40%{ opacity: 1; }
  100%{ transform: scale(1.25); opacity: 0; }
}

/* Accessibility */
.imp-root .pin:focus{
  outline: 3px solid rgba(230, 53, 136, 0.25);
  outline-offset: 3px;
}

.imp-root .pin:hover::before,
.imp-root .pin:focus::before{
  animation-play-state: paused;
  opacity: 1;
}
