/* Event Country Explore page - targeted only for /explore/ */
.ecx-explore-body {
  background: #f2f2f2 !important;
}

.ecx-explore-page {
  width: min(100% - 36px, 1240px);
  margin: 0 auto;
  padding: 34px 0 70px;
}

.ecx-explore-hero {
  min-height: 280px;
  border-radius: 6px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: end;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82), rgba(0,0,0,0.45), rgba(0,0,0,0.72)),
    url('/assets/img/generated/ec-image-fallback.svg') center/cover no-repeat;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.16);
  overflow: hidden;
}

.ecx-explore-hero-copy span,
.ecx-explore-results-head span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #ff6200;
  font-weight: 1000;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ecx-explore-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 1000;
}

.ecx-explore-hero-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.86);
  font-size: 1rem;
  line-height: 1.65;
}

.ecx-explore-currency-card {
  border-radius: 6px;
  padding: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
}

.ecx-explore-currency-card small,
.ecx-explore-currency-card strong,
.ecx-explore-currency-card p {
  display: block;
}

.ecx-explore-currency-card small {
  color: #ffd4b6;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecx-explore-currency-card strong {
  margin: 8px 0;
  font-size: 1.55rem;
  color: #ffffff;
}

.ecx-explore-currency-card p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.45;
}

.ecx-explore-search-card {
  position: relative;
  z-index: 3;
  margin: -32px auto 0;
  width: min(100% - 40px, 1130px);
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e7eaf0;
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.16);
  padding: 12px;
}

.ecx-explore-form {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 0.75fr 0.82fr auto auto;
  gap: 8px;
  align-items: stretch;
}

.ecx-explore-field {
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #edf0f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.ecx-explore-field label {
  color: #667085;
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ecx-explore-field input,
.ecx-explore-field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101010;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
}

.ecx-explore-form button {
  min-height: 58px;
  border-radius: 6px;
  border: 0;
  padding: 0 18px;
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
}

.ecx-explore-form button[type="submit"] {
  background: #ff6200;
  color: #ffffff;
}

#ecxExploreReset {
  background: #101010;
  color: #ffffff;
}

.ecx-explore-chips-wrap {
  margin: 26px 0 0;
}

.ecx-explore-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ecx-explore-chips button {
  border: 1px solid #e3e7ed;
  border-radius: 999px;
  background: #ffffff;
  color: #101010;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

.ecx-explore-chips button.is-active,
.ecx-explore-chips button:hover {
  border-color: #ff6200;
  background: #fff1e8;
  color: #ff6200;
}

.ecx-explore-results-head {
  margin: 34px 0 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.ecx-explore-results-head h2 {
  margin: 0;
  color: #101010;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 1000;
}

.ecx-explore-results-head p {
  margin: 10px 0 0;
  color: #667085;
  font-weight: 750;
}

.ecx-explore-results-head a {
  color: #ff6200;
  font-weight: 1000;
  white-space: nowrap;
}

.ecx-explore-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.ecx-explore-grid .ecx-empty,
.ecx-explore-grid .ecx-loader {
  grid-column: 1 / -1;
  border-radius: 6px;
  background: #ffffff;
  padding: 28px;
  border: 1px solid #e7eaf0;
  color: #667085;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 1120px) {
  .ecx-explore-hero,
  .ecx-explore-form {
    grid-template-columns: 1fr;
  }

  .ecx-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .ecx-explore-page {
    width: min(100% - 24px, 1240px);
    padding-top: 18px;
  }

  .ecx-explore-hero {
    padding: 24px;
    min-height: 340px;
  }

  .ecx-explore-hero-copy h1 {
    font-size: 2.65rem;
  }

  .ecx-explore-search-card {
    width: calc(100% - 10px);
  }

  .ecx-explore-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ecx-explore-grid {
    grid-template-columns: 1fr !important;
  }
}
