/* Páginas Eventos / Turismo — compatível com WebViews Android antigos */

.explore-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  color: #fff;
  margin-bottom: 1.5rem;
}

.explore-hero--eventos {
  background:
    linear-gradient(180deg, rgba(122, 47, 18, 0.88), rgba(74, 28, 12, 0.82)),
    url('/assets/img/img-lagoa2.jpeg') center/cover no-repeat;
}

.explore-hero--turismo {
  background:
    linear-gradient(180deg, rgba(10, 45, 74, 0.86), rgba(0, 74, 68, 0.78)),
    url('/assets/img/lagoa-itamogi.jpeg') center/cover no-repeat;
}

.explore-hero__content {
  padding: 2.5rem 0 2rem;
}

.explore-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
}

.explore-hero h1 {
  font-family: Montserrat, Poppins, sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

@supports (font-size: clamp(1rem, 2vw, 2rem)) {
  .explore-hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
  }
}

.explore-hero p {
  max-width: 40rem;
  margin: 0;
  opacity: 0.94;
}

.explore-content {
  padding-bottom: 3rem;
}

.explore-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.explore-summary__eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a7a3e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.explore-summary h2 {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  margin: 0.15rem 0 0;
}

.explore-summary__count {
  margin: 0;
  color: #64748b;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.explore-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/*
 * Mídia com ratio 16:10.
 * Fallback padding-bottom para Android WebView antigo (sem aspect-ratio).
 */
.explore-card__media {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 0;
  padding-bottom: 62.5%;
  margin: 0;
  border: 0;
  background: #d7e3de;
  cursor: zoom-in;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}

@supports (aspect-ratio: 16 / 10) {
  .explore-card__media {
    height: auto;
    padding-bottom: 0;
    aspect-ratio: 16 / 10;
  }
}

.explore-card__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.explore-card:hover .explore-card__media img {
  transform: scale(1.04);
}

.explore-card__zoom-hint {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  pointer-events: none;
}

.explore-card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.explore-card__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0d5c52;
  background: rgba(13, 92, 82, 0.1);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}

.explore-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #102a43;
  word-wrap: break-word;
}

.explore-card p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.explore-card__meta {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #64748b;
  font-size: 0.86rem;
}

.explore-card__meta i {
  width: 1rem;
  color: #0d5c52;
  margin-right: 0.3rem;
}

.explore-empty-note {
  grid-column: 1 / -1;
  margin: 0;
}

.explore-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Administração de eventos na página pública */
.evento-admin-panel {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.evento-admin-panel__head h2 {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  margin: 0.15rem 0 0.35rem;
  font-size: 1.35rem;
}

.evento-admin-panel__lead {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.evento-admin-form {
  margin-top: 1rem;
}

.evento-admin-form__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.evento-card-delete {
  margin-top: 0.75rem;
}
