.national .grid-left {
  padding-top: 3px;
}

.date-select-swiper {
  width: 100%;
  height: 35px;
  margin-bottom: 15px;
}

.date-select {
  cursor: pointer;
}

.date-select-wrap {
  justify-content: space-between;
  align-items: center;
  list-style: none;
  font-size: 12px;
  font-weight: var(--weight-medium);
  color: #666;
}

#weatherMap .date-select-wrap {
  font-size: 14px;
}

.date-select-wrap li {
  width: auto;
  padding: 0 10px;
  border-radius: 18px;
  line-height: 35px;
  flex: 1;
  text-align: center;
  margin-right: 10px;
}

.date-select-wrap li:last-child {
  margin-right: 0;
}

.date-select-wrap li.active {
  background-color: var(--select-color);
  color: var(--main-color-d1);
}

.map-img-wrap .map-img {
  display: block;
  width: 100%;
  border-radius: var(--border-radius-small);
}

.time-select-wrap {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  width: max-content;
  font-size: 15px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.time-select-wrap span {
  font-weight: var(--weight-regular);
  color: var(--main-color-d1);
  background-color: var(--card-color);
  padding: 5px 10px;
  cursor: pointer;
}

.time-select-wrap span.active {
  background-color: #0b419a;
  color: var(--color-white);
  transition: 0.25s;
}

.time-select-wrap span.hide {
  display: none;
}

.time-select-wrap span:not(:last-child) {
  border-right: 1px solid var(--border-color);
}

[dir='rtl'] .time-select-wrap span:not(:last-child) {
  border-right: none;
  border-left: 1px solid var(--border-color);
}

.map-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 3em;
  cursor: pointer;
}

.marker-img {
  position: relative;
  width: 80%;
}

.marker-text {
  font-size: 0.9em;
  line-height: 1;
  z-index: 2;
  width: max-content;
  font-weight: var(--weight-medium);
}

.map-marker.seoul {
  top: 5%;
  left: 34%;
}

.map-marker.gangneung {
  top: 7%;
  left: 65%;
}

.map-marker.chuncheon {
  top: 1%;
  left: 50%;
}

.map-marker.suwon {
  top: 17%;
  left: 37%;
}

.map-marker.baengnyeong {
  top: 1%;
  left: 13%;
}

.map-marker.ulleung {
  top: 21%;
  left: 83%;
}

.map-marker.cheongju {
  top: 28%;
  left: 45%;
}

.map-marker.daejeon {
  top: 35%;
  left: 38%;
}

.map-marker.andong {
  top: 31%;
  left: 65%;
}

.map-marker.jeonju {
  top: 45%;
  left: 35%;
}

.map-marker.ulsan {
  top: 47%;
  left: 73%;
}

.map-marker.daegu {
  top: 43%;
  left: 60%;
}

.map-marker.gwangju {
  top: 58%;
  left: 32%;
}

.map-marker.mokpo {
  top: 65%;
  left: 21%;
}

.map-marker.busan {
  top: 58%;
  left: 65%;
}

.map-marker.yeosu {
  top: 65%;
  left: 45%;
}

.map-marker.jeju {
  top: 86%;
  left: 26%;
}

.map-footer {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--main-color-d1);
  margin-top: 10px;
  opacity: 0.5;
}

.map-footer span:first-child {
  display: flex;
  justify-content: flex-end;
}

.article-wrap {
  color: var(--main-color-d1);
  padding: 15px 0;
}

.article-title {
  font-size: 15px;
  font-weight: var(--weight-medium);
  margin-bottom: 15px;
}

.article-content {
  font-size: 14px;
}

/* 지역별 마커(아이콘, 이름, 온도) 및 선택 박스 크기 반응형[겹침 방지] */
@media all and (min-width: 950px) {
  .time-select-wrap {
    bottom: 20px;
    right: 20px;
  }

  .time-select-wrap span {
    padding: 6px 12px;
    font-size: 16px;
  }
}

@media all and (min-width: 768px) {
  .national .grid-left {
    padding-top: 5px;
  }
}

@media all and (min-width: 767px) and (max-width: 950px) {
  /* .date-select-day {
    display: none;
  } */

  .time-select-wrap span {
    padding: 4px 8px;
    font-size: 12px;
  }

  .time-select-wrap {
    bottom: 15px;
    right: 15px;
  }

  .time-select-wrap span {
    padding: 5px 10px;
    font-size: 14px;
  }

  .map-marker {
    width: 2.3em;
  }

  .marker-text {
    font-size: 0.6em;
  }

  .article-wrap {
    font-size: 14px;
  }
}

@media all and (min-width: 600px) and (max-width: 767px) {
  .time-select-wrap {
    bottom: 20px;
    right: 20px;
  }

  .time-select-wrap span {
    padding: 6px 12px;
    font-size: 16px;
  }
}


@media all and (max-width: 600px) {
  /* .date-select-day {
    display: none;
  } */

  .map-marker {
    width: 9vw;
    max-width: 3em;
  }

  .marker-text {
    font-size: 0.6em;
  }

  .time-select-wrap {
    bottom: 15px;
    right: 15px;
  }

  .time-select-wrap span {
    padding: 5px 10px;
    font-size: 14px;
  }
}

@media all and (max-width: 400px) {
  .time-select-wrap {
    bottom: 10px;
    right: 10px;
  }

  .time-select-wrap span {
    padding: 4px 8px;
    font-size: 12px;
  }

  .article-wrap {
    font-size: 14px;
  }

  .map-marker.ulleung {
    left: 82%;
  }

  .map-marker.daejeon {
    top: 33%;
    left: 34%;
  }
}

@media all and (max-width: 310px) {
  .map-marker.ulleung.move-marker {
    left: 80%;
  }
}
