/*
 * BeaMiiLocal – verified current location / "DU ER HER"
 * Dedicated front-page presence component.
 *
 * This is deliberately not styled as a normal place/association card. The
 * purpose is to communicate a verified physical presence at a BeaMiiLocal
 * place or association without competing with the nearby content rails.
 */

#BeaMiiLocalCurrentLocationSection[hidden] {
  display: none !important;
}

#BeaMiiLocalCurrentLocationSection {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 10px 0 20px !important;
  padding: 0 !important;
  overflow: visible !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__sectionshell--current-location,
#BeaMiiLocalCurrentLocationWrap {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

#BeaMiiLocalCurrentLocationWrap > .beamii-home__quick-slider--current-location,
#BeaMiiLocalCurrentLocationSection .beamii-home__quick-slider--current-location {
  box-sizing: border-box !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  grid-template-columns: none !important;
  grid-auto-flow: unset !important;
  grid-auto-columns: unset !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 14px 5px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x proximity !important;
  scroll-padding-inline: 14px !important;
  scrollbar-width: none !important;
  contain: none !important;
  -webkit-overflow-scrolling: touch !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__quick-slider--current-location::-webkit-scrollbar {
  display: none !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card {
  --beamii-presence-green: #17865e;
  --beamii-presence-green-dark: #0f6b4a;
  --beamii-presence-green-soft: #eaf8f1;
  --beamii-presence-ink: #153451;
  --beamii-presence-type-bg: #edf7fd;
  --beamii-presence-type-ink: #2a6e98;
  --beamii-presence-type-border: rgba(42, 110, 152, .13);

  box-sizing: border-box !important;
  position: relative !important;
  isolation: isolate !important;
  flex: 0 0 calc(100vw - 28px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 106px !important;
  grid-template-rows: minmax(126px, auto) !important;
  align-items: stretch !important;
  width: calc(100vw - 28px) !important;
  max-width: 430px !important;
  min-width: 0 !important;
  min-height: 126px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(23, 134, 94, .18) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 0 0, rgba(39, 181, 127, .13), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #fbfefd 60%, #f2faf6 100%) !important;
  box-shadow: 0 12px 30px rgba(18, 52, 80, .12) !important;
  color: var(--beamii-presence-ink) !important;
  text-decoration: none !important;
  scroll-snap-align: start !important;
  transform: translateZ(0) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card--association {
  --beamii-presence-type-bg: #f4effc;
  --beamii-presence-type-ink: #6c4aa0;
  --beamii-presence-type-border: rgba(108, 74, 160, .13);
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card::before {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 auto 0 0 !important;
  width: 3px !important;
  background: linear-gradient(180deg, #26aa78, #0f7954) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-copy {
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 2 !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  min-height: 126px !important;
  margin: 0 !important;
  padding: 12px 9px 11px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background: transparent !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-overline {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 6px !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-marker {
  box-sizing: border-box !important;
  position: relative !important;
  flex: 0 0 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border: 1px solid rgba(23, 134, 94, .20) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: var(--beamii-presence-green-dark) !important;
  box-shadow: 0 4px 12px rgba(23, 134, 94, .12) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-marker > i {
  position: relative !important;
  z-index: 2 !important;
  font-size: .86rem !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-marker-pulse {
  position: absolute !important;
  z-index: 1 !important;
  inset: 5px !important;
  border-radius: inherit !important;
  background: rgba(35, 173, 121, .18) !important;
  animation: beamii-presence-pulse 2.4s ease-out infinite !important;
}

@keyframes beamii-presence-pulse {
  0%, 35% { transform: scale(.72); opacity: .95; }
  75%, 100% { transform: scale(1.35); opacity: 0; }
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-kicker {
  box-sizing: border-box !important;
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-state,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-type {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-state {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--beamii-presence-green-dark) !important;
  font-size: .69rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: .07em !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-type {
  gap: 4px !important;
  min-height: 23px !important;
  padding: 0 8px !important;
  border: 1px solid var(--beamii-presence-type-border) !important;
  border-radius: 999px !important;
  background: var(--beamii-presence-type-bg) !important;
  color: var(--beamii-presence-type-ink) !important;
  font-size: .62rem !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: .045em !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-type i {
  font-size: .62rem !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-title {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: var(--beamii-presence-ink) !important;
  font-size: 1.08rem !important;
  line-height: 1.14 !important;
  font-weight: 920 !important;
  letter-spacing: -.018em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-proximity {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  margin: 5px 0 0 !important;
  color: #657b8e !important;
  font-size: .71rem !important;
  line-height: 1.15 !important;
  font-weight: 650 !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-proximity i {
  flex: 0 0 auto !important;
  color: var(--beamii-presence-green) !important;
  font-size: .67rem !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-height: 28px !important;
  margin: 8px 0 0 !important;
  padding: 0 10px !important;
  border: 1px solid rgba(35, 87, 117, .10) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .78) !important;
  color: #235775 !important;
  font-size: .70rem !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  box-shadow: 0 2px 7px rgba(18, 52, 80, .05) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-action i {
  color: var(--beamii-presence-green) !important;
  font-size: .67rem !important;
  transition: transform .18s ease !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card:active .beamii-home__presence-action i,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-card:hover .beamii-home__presence-action i {
  transform: translateX(2px) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media.beamii-places-quick__thumb {
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 2 !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: stretch !important;
  display: block !important;
  width: 98px !important;
  min-width: 98px !important;
  max-width: 98px !important;
  min-height: 110px !important;
  height: auto !important;
  margin: 8px 8px 8px 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(21, 52, 81, .08) !important;
  border-radius: 16px !important;
  background-color: #edf4f7 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  box-shadow: 0 5px 14px rgba(18, 52, 80, .10) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(10, 31, 48, .01), rgba(10, 31, 48, .10)) !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media.has-logo-only,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media.has-fallback {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef5f8 !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media .beamii-places-quick__thumb-fallback-label {
  display: none !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media .beamii-places-quick__thumb-fallback-mark {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media .beamii-places-quick__logo-badge {
  z-index: 2 !important;
  width: 39px !important;
  height: 39px !important;
  left: 8px !important;
  bottom: 8px !important;
  border-radius: 12px !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media .beamii-places-quick__logo-badge img,
#BeaMiiLocalCurrentLocationSection .beamii-home__presence-media img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

#BeaMiiLocalCurrentLocationSection .beamii-home__nearby-dots {
  margin-top: 7px !important;
}

@media (prefers-reduced-motion: reduce) {
  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-marker-pulse {
    animation: none !important;
    opacity: .45 !important;
  }
}

@media (max-width: 380px) {
  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-card {
    grid-template-columns: minmax(0, 1fr) 94px !important;
  }

  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-media,
  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-media.beamii-places-quick__thumb {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
  }
}

@media (min-width: 600px) {
  #BeaMiiLocalCurrentLocationSection .beamii-home__presence-card {
    flex-basis: 400px !important;
    width: 400px !important;
  }
}
