.grid-left {
  padding-top: 3px;
}

#typhoonMenu .typhoon-kind-wrap {
  display: flex;
  align-items: center;
  text-align: center;
}

#typhoonMenu .typhoon-kind {
  flex: 1;
  font-weight: var(--weight-bold);
  color: var(--color-d5-text);
  padding: 5px 0;
  cursor: pointer;
}

#typhoonMenu .typhoon-kind > span {
  color: var(--main-color-d1);
}

#typhoonCommentWrap {
  padding: 20px 0 0;
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d4);
}

#typhoonMenu .typhoon-kind.active {
  border-radius: 20px;
  background-color: var(--select-color);
  color: var(--main-color-d1);
}

#typhoonRoute .typhoon-cur-loc:not(:first-child) {
  display: none;
}

#typhoonRoute .typhoon-ex-route:not(:first-child) {
  display: none;
}

#typhoonInfo .typhoon-info-wrap .typhoon-description img {
  width: 100%;
}

#typhoonInfo .typhoon-info-wrap .typhoon-text-wrap {
  display: -webkit-box;
  max-height: 100%;
  -webkit-line-clamp: initial;
  -webkit-box-orient: vertical;
  color: var(--main-color-d1);
  text-overflow: ellipsis;
  transition: max-height 0.3s ease-in-out;
  padding: 4px 0;
  overflow-y: hidden;
}

#typhoonInfo .typhoon-info-wrap #typhoonCategory {
  display: flex;
}

#typhoonInfo .typhoon-info-wrap .typhoon-text-wrap.short {
  max-height: 120px;
  -webkit-line-clamp: 3;
}

#typhoonInfo .typhoon-img:first-child {
  display: block;
}

#typhoonInfo .typhoon-img {
  display: none;
}

#typhoonInfo .weather-video-wrap .weather-video-category {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

#typhoonInfo .weather-video-wrap .weather-video-category span {
  flex: 1;
  color: var(--color-d5-text);
  padding: 5px 0;
  cursor: pointer;
}

#typhoonInfo .weather-video-wrap .weather-video-category span.active {
  font-weight: var(--weight-medium);
  color: var(--main-color-d1);
  background-color: var(--select-color);
  border-radius: 20px;
}

#typhoonInfo .weather-video {
  position: relative;
  justify-content: center;
  padding-bottom: 56.25%;
}

#weatherVideoUrl {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px 0;
}

#typhoonInfo .weather-video-title {
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
}

#typhoonInfo .weather-video-text {
  color: var(--main-color-d1);
  padding: 10px 0;
}

.swiper-card .swiper-container {
  padding: 0 20px;
}

.typhoon-card-wrap .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-small);
}

.typhoon-img-wrap {
  display: flex !important;
}

.typhoon-info-img {
  position: relative;
  left: -2px;
  width: 18px;
  height: 18px;
  filter: invert(66%) sepia(0%) saturate(0%) hue-rotate(179deg) brightness(96%) contrast(87%);
  padding: 2px;
  margin-right: 1px;
}

#typhoonRoute {
  color: var(--main-color-d1);
}

#typhoonRoute .typhoon-cur-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: var(--weight-medium);
  line-height: 18px;
  border-bottom: 1px solid var(--border-color);
  padding: 13px 0;
}

#typhoonRoute .typhoon-cur-list:nth-child(1) {
  padding-top: 0;
}

#typhoonRoute .typhoon-list-title {
  width: 90px;
  margin-right: 10px;
}

[dir='rtl'] #typhoonRoute .typhoon-list-title {
  margin-right: 0;
  margin-left: 10px;
}

.typhoon-contents {
  flex: 1;
}

#typhoon-current-route .typhoon-route-wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.typhoon-cur-loc-wrap {
  width: 100%;
  color: var(--main-color-d3);
}

table {
  color: var(--main-color-d3);
}

.typhoon-route-contents {
  display: flex;
  justify-content: space-around;
}

tr {
  font-size: 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

th.tg-vjiz {
  font-size: 11px;
  border: 1px solid var(--border-color);
  border-bottom: 0;
  padding: 0px 0px;
}

td.tg-baqh {
  font-size: 11px;
  border-right: 1px solid var(--border-color);
  word-break: keep-all;
}

td.tg-baqh:first-child {
  border-left: 1px solid var(--border-color);
}

/* 카드뉴스 */
#typhoonCard .card img {
  width: 100%;
}

.card.swiper-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  background-color: var(--card-color);
  border-radius: var(--border-radius-medium);
  padding: 15px;
  margin-top: 5px;
}

.card-news-wrap {
  flex: 1 1 40%;
  padding: 5px;
}

.card-news-wrap img {
  display: flex;
  width: 100%;
}

/* 기사 공통 스타일 */
.weather-topic-wrap .weather-topic {
  margin: 0 -10px;
}

.weather-topic-wrap .weather-topic .weather-topic-list {
  margin-bottom: 30px;
}

.weather-topic-wrap .weather-topic .weather-topic-list:last-child {
  margin-bottom: 0;
}

.weather-topic-wrap .weather-topic .weather-topic-list .topic-img-wrap img {
  /* width: 40vw;
  height: 22.5vw;
  object-fit: cover; */
  width: 100%;
  height: 50vw;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-small);
}

.weather-topic-wrap .weather-topic .weather-topic-list .right-txt {
  display: grid;
  font-weight: var(--weight-regular);
  color: var(--main-color-d1);
  /* justify-items: end;
  align-items: flex-end;
  padding: 0 0 0 15px; */
}

.weather-topic-wrap .weather-topic .weather-topic-list .right-txt span {
  font-size: 13px;
  color: var(--color-d5-text);
}

.weather-topic-wrap .weather-topic .weather-topic-list .right-txt .last-row-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
}

.weather-topic-wrap .info-more-btn-wrap {
  padding-top: 15px;
}

@media all and (min-width: 768px) {
  .grid-left {
    padding-top: 5px;
  }

  #typhoonInfo .weather-topic-wrap .weather-topic .weather-topic-list .topic-img-wrap img {
    /* width: 32vw; */
    height: 16.5vw;
    object-fit: cover;
  }

  .weather-topic-wrap .weather-topic .weather-topic-list .topic-img-wrap img {
    width: 100%;
    height: 50vw;
    max-height: 200px;
    margin-bottom: 10px;
    object-fit: cover;
  }
}

/* .popup img {
  filter: brightness(0) saturate(100%) invert(58%) sepia(0%) saturate(61%) hue-rotate(191deg) brightness(95%) contrast(86%);
} */
.popup {
  color: var(--main-color-d1);
}

@media all and (min-width: 280px) and (max-width: 415px) {
  th.tg-vjiz {
    font-size: 11px;
    border: 1px solid var(--border-color);
    border-bottom: 0;
    padding: 4px 0px;
    white-space: nowrap;
  }
}
