/* Homepage geo city suggestion banner */
.city-geo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.85rem 3rem 0.85rem 1.25rem;
  background: rgba(255, 180, 0, 0.22);
  border-bottom: 2px solid rgba(255, 204, 0, 0.55);
  box-shadow: 0 4px 24px rgba(255, 204, 0, 0.12);
  position: relative;
  z-index: 40;
}

.city-geo-banner.is-hidden {
  display: none;
}

.city-geo-banner__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.city-geo-banner__city {
  font-weight: 800;
}

.city-geo-banner__cta {
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
}

.city-geo-banner__dismiss {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  opacity: 0.75;
}

.city-geo-banner__dismiss:hover {
  opacity: 1;
}

html[data-theme="light"] .city-geo-banner {
  background: rgba(255, 200, 0, 0.28);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 720px) {
  .city-geo-banner {
    padding: 0.75rem 2.75rem 0.75rem 1rem;
  }

  .city-geo-banner__text {
    font-size: 0.9375rem;
  }

  .city-geo-banner__cta {
    width: 100%;
    max-width: 18rem;
    justify-content: center;
  }
}
