.explore {
  max-width: 1180px;
  margin: 0;
  padding: 2rem 1rem 3rem;
}

.explore__intro {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.explore__intro h1 {
  margin: 0.2rem 0 0.6rem;
  font-size: 2rem;
}

.explore__intro > p:last-child {
  color: #58605c;
  line-height: 1.6;
}

.explore__eyebrow,
.explore__step {
  margin: 0;
  color: #6a756f;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.explore__region-picker {
  border: 1px solid #ccd2ce;
  padding: 1.5rem;
  background: #fff;
}

.explore__stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.explore__stepper li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.65rem;
  padding-right: 1rem;
  color: #7a837e;
}

.explore__stepper li:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 15px;
  left: 32px;
  right: 0;
  height: 1px;
  background: #cbd2ce;
}

.explore__stepper li > span {
  position: relative;
  z-index: 1;
}

.explore__step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #b8c0bb;
  border-radius: 50%;
  background: white;
  font-weight: 700;
}

.explore__stepper li > span:last-child {
  display: grid;
  gap: 0.2rem;
}

.explore__stepper li > span:last-child strong {
  background: #fff;
  justify-self: start;
  padding-right: 4px;
}

.explore__stepper small {
  max-width: 250px;
  color: #7a837e;
  font-size: 0.72rem;
  line-height: 1.35;
}

.explore__step-current {
  color: #2f4e3a;
}

.explore__step-current .explore__step-number {
  border-color: #496955;
  background: #496955;
  color: white;
}

.explore__step-complete {
  color: #496955;
}

.explore__step-complete .explore__step-number {
  border-color: #718f7b;
  background: #e7f0e9;
}

.explore__stepper-wrap {
  padding: 1.25rem 1rem 0;
  border-bottom: 1px solid #d8ddda;
}

.explore__stepper-wrap .explore__stepper {
  margin-bottom: 1.25rem;
}

.explore__picker-heading {
  max-width: 640px;
  margin-bottom: 1.4rem;
}

.explore__picker-heading h2 {
  margin: 0.25rem 0 0.45rem;
  font-size: 1.55rem;
}

.explore__picker-heading > p:last-child {
  margin: 0;
  color: #65706a;
}

.explore__region-grid,
.explore__province-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.explore__region-grid a,
.explore__province-grid a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 108px;
  padding: 1rem;
  border: 1px solid #bbc5bf;
  background: #f8faf8;
  color: #202522;
  text-decoration: none;
}

.explore__region-grid a:hover,
.explore__province-grid a:hover {
  border-color: #61796a;
  background: #f0f5f1;
}

.explore__region-grid span,
.explore__province-grid span {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.explore__region-grid strong,
.explore__province-grid strong {
  font-size: 1.05rem;
}

.explore__region-grid small,
.explore__province-grid small {
  color: #68716c;
  line-height: 1.4;
}

.explore__region-grid b,
.explore__province-grid b {
  align-self: flex-end;
  color: #53685b;
  font-size: 0.75rem;
  white-space: nowrap;
}

.explore__region-grid i {
  margin-left: 0.25rem;
  font-style: normal;
}

.explore__all-thailand,
.explore__back-step {
  display: inline-block;
  margin-top: 1rem;
  color: #405d4b;
  text-decoration: underline;
}

.explore__explorer {
  border: 1px solid #ccd2ce;
  background: #fff;
}

.explore__location-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #d8ddda;
  background: #f7f9f7;
  font-size: 0.85rem;
}

.explore__location-bar a {
  color: #405d4b;
  text-decoration: underline;
}

.explore__location-bar span {
  color: #8a938e;
}

.explore__change-location {
  margin-left: auto;
}

.explore__province-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #d8ddda;
}

.explore__province-picker > span {
  margin-right: 0.25rem;
  color: #65706a;
  font-size: 0.78rem;
  font-weight: 700;
}

.explore__province-picker a {
  border: 1px solid #b9c2bc;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: white;
  color: #364139;
  text-decoration: none;
}

.explore__province-picker a:hover,
.explore__province-picker .explore__active-choice {
  border-color: #4f6757;
  background: #eaf0ec;
}

.explore__province-picker small {
  margin-left: 0.25rem;
  color: #78817c;
}

.explore__toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 0.8fr) auto auto;
  gap: 1rem;
  align-items: end;
  padding: 1rem;
  border-bottom: 1px solid #d8ddda;
}

.explore__toolbar label {
  display: grid;
  gap: 0.35rem;
  color: #4d5651;
  font-size: 0.78rem;
  font-weight: 700;
}

.explore__toolbar input,
.explore__toolbar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #aeb7b1;
  border-radius: 4px;
  padding: 0.6rem 0.7rem;
  background: white;
  color: #202522;
  font: inherit;
}

.explore__toolbar-submit {
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid #263d30;
  background: #263d30;
  color: white;
  cursor: pointer;
}

.explore__count {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.2rem 0.2rem 0;
  color: #66706a;
}

.explore__count strong {
  color: #202522;
  font-size: 1.1rem;
  margin-right: 0.35rem;
}

.explore__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  min-height: 610px;
}

.explore__map {
  z-index: 0;
  min-height: 610px;
  background: #edf0ee;
}

.explore__sidebar {
  max-height: 610px;
  overflow: auto;
  border-left: 1px solid #d8ddda;
}

.explore__list {
  padding: 1rem;
}

.explore__list h2 {
  margin: 0 0 0.75rem;
}

.explore__list-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  padding: 0.8rem 0.25rem;
  border: 0;
  border-bottom: 1px solid #e2e6e3;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.explore__list-item:hover {
  background: #f5f7f5;
}

.explore__list-item i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.explore__list-item span {
  display: grid;
  gap: 0.2rem;
}

.explore__list-item small {
  color: #6a736e;
}

.explore__list-item b {
  font-size: 1.3rem;
  color: #7a837e;
}

.explore__detail {
  position: relative;
  padding: 1.2rem;
}

.explore__detail-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 0;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.explore__detail h2 {
  margin: 0.35rem 1.5rem 0.1rem 0;
}

.explore__thai {
  margin: 0 0 1rem;
  color: #68716c;
  font-size: 1.05rem;
}

.explore__detail > p {
  line-height: 1.5;
}

.explore__detail dl {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.explore__detail dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e2e6e3;
  padding-bottom: 0.4rem;
}

.explore__detail dt {
  color: #68716c;
}

.explore__detail dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.explore__note {
  padding: 0.75rem;
  background: #f1f5f2;
  font-size: 0.9rem;
}

.explore__note p {
  margin: 0.25rem 0 0;
}

.explore__marker {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--poi-color);
  box-shadow: 0 1px 3px rgba(38, 50, 43, 0.5);
}

.explore__marker--selected {
  width: 24px;
  height: 24px;
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7), 0 1px 4px rgba(38, 50, 43, 0.6);
}

.explore__source-note {
  color: #6e7772;
  font-size: 0.78rem;
  margin-top: 0.75rem;
}

@media (max-width: 760px) {
  .explore__stepper {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .explore__stepper li:not(:last-child)::after {
    top: 32px;
    bottom: -0.8rem;
    left: 15px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .explore__stepper small {
    max-width: none;
  }

  .explore__toolbar {
    grid-template-columns: 1fr;
  }

  .explore__workspace {
    grid-template-columns: 1fr;
  }

  .explore__map {
    min-height: 430px;
  }

  .explore__sidebar {
    border: 0;
    border-top: 1px solid #d8ddda;
    max-height: 420px;
  }

  .explore__location-bar {
    flex-wrap: wrap;
  }

  .explore__change-location {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }
}
