/* Regras usadas fora da boas-vindas desktop; carregado em todas as larguras. */
#modalLoginGuest.pm-modal-backdrop.open { z-index: 9600; }

/* Card Geoparque — popup informativo */
.pm-geoparque-info-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.pm-geoparque-info-modal.is-open {
  display: flex;
}

.pm-geoparque-info-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pm-geoparque-info-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 860px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.pm-geoparque-info-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08) !important;
  color: #334155 !important;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pm-geoparque-info-modal__title {
  margin: 0;
  padding: 22px 56px 4px 24px;
  font-size: 24px;
  font-weight: 800;
  color: #1e3a8a !important;
  flex: 0 0 auto;
}

.pm-geoparque-info-modal__subtitle {
  margin: 0;
  padding: 0 24px 14px;
  font-size: 13px;
  color: #64748b !important;
  flex: 0 0 auto;
}

.pm-geoparque-info-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: #475569 !important;
}

.pm-geoparque-info-modal__tabs {
  display: flex;
  gap: 6px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 0 0 auto;
}

.pm-geoparque-info-modal__tabs::-webkit-scrollbar {
  display: none;
}

.pm-geoparque-info-modal__tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.2) !important;
  background: rgba(241, 245, 249, 0.9) !important;
  color: #475569 !important;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pm-geoparque-info-modal__tab.is-active {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  border-color: rgba(37, 99, 235, 0.45) !important;
  color: #ffffff !important;
}

.pm-geoparque-info-modal__panels {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0 16px 8px;
}

.pm-geoparque-info-modal__panel {
  display: none;
  animation: pmGeoparqueTabIn 0.28s ease;
}

.pm-geoparque-info-modal__panel.is-active {
  display: block;
}

@keyframes pmGeoparqueTabIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pm-geoparque-info-modal__hero {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 16 / 7;
  background: #e2e8f0;
}

.pm-geoparque-info-modal__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-geoparque-info-modal__panel-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #1e3a8a !important;
}

.pm-geoparque-info-modal__panel-text p {
  margin: 0 0 12px;
}

.pm-geoparque-info-modal__bullets {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #475569 !important;
}

.pm-geoparque-info-modal__bullets li {
  margin-bottom: 6px;
}

.pm-geoparque-info-modal__cta {
  flex: 0 0 auto;
  margin: 0 16px 16px;
  width: calc(100% - 32px);
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

body.pm-geoparque-info-open {
  overflow: hidden;
}
