#location {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.location-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4rem;
  max-width: 1400px;
  height: fit-content;
}

.location-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.location-img-wrapper {
  position: relative;
  width: 50%;
  padding: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
}

.location-img-inner {
  width: 90%;
  max-width: 40rem;
  height: 25rem;

  border-radius: 2rem;
  overflow: hidden;
}

.location-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-img-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;

  background: var(--color-primary);
  box-shadow: 0 10px 18px var(--shadow);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 2; /* ensure above image */
}

.location-img-circle h4 {
  color: var(--color-text-white);
}

.location-info-wrapper {
  position: relative;
  width: 50%;
  padding: 0px 3rem;

  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 2.2rem;
}

.location-info-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
}

.location-info-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: #222;
}

.location-info-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6rem;
  height: 0.6rem;
  background-color: #8fa63a; /* olive green */
  border-radius: 50%;
}

@media (max-width: 768px) {
  .location-content {
    flex-direction: column;
  }

  .location-img-wrapper {
    width: 100%;
    margin-bottom: 3rem;
  }

  .location-img-inner {
    height: 400px;
    width: 400px;
    max-width: 95%;
  }

  .diklo-circle,
  .sukosan-circle {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 30%);
  }

  .location-info-wrapper {
    width: 100%;
  }

  .location-info-wrapper h3 {
    display: none;
  }

  /* target ONLY the second location-content */
  .location-content:nth-of-type(2) .location-info-wrapper {
    order: 2;
  }

  .location-content:nth-of-type(2) .location-img-wrapper {
    order: 1;
  }
}

@media (min-width: 768px) {
  .diklo-circle {
    top: 50%;
    right: 0;
    transform: translate(0%, -50%);
  }

  .sukosan-circle {
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
  }
}
