*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
}

.page-main {
  width: 100%;
  flex: 1;
}

.page-layout {
  padding-left: 8px;
  padding-right: 8px;
}

.map-section {
  width: 100%;
  padding: 8px 0;
}

#mapContainer {
  position: relative;
  width: 100%;
  min-height: 420px;
  height: 80dvh;
  overflow: hidden;
  border-radius: 0.5rem;
}

@media (max-width: 992px) {
  #mapContainer {
    height: 30dvh;
    min-height: 220px;
  }
}

.map-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  font-size: 0.95rem;
  color: #6c757d;
  background: #f8f9fa;
}

.site-footer {
  width: 100%;
  margin-top: 1rem;
  padding: 10px 12px;
  font-size: 0.9rem;
  background-color: #fff;
  border-top: 1px solid #e9ecef;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  max-width: 100%;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  min-width: 0;
}

.footer-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-right a {
  word-break: break-word;
}

@media (max-width: 576px) {
  .site-footer {
    padding: 8px;
    font-size: 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}