@charset "utf-8";

/* =================================
*		news css
*		2024-02-01 작성
================================== */


/* =====================================================
  news
=====================================================*/
.news-tab{margin-bottom: 30px; overflow-x: hidden;}
.news-tab ul{display: -webkit-flex; display: -ms-flexbox; display: flex; position: relative; width: 100%; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; justify-content: flex-start; box-sizing: border-box; }
.news-tab ul li{font-size: 18px; width: auto; background-color: #fff; color: #888;}
.news-tab ul li + li{margin-left: 10px; padding-left: 10px; position: relative;}
.news-tab ul li + li::before{
  content: "";
  display: block;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background-color: #999;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

}

.news-tab ul li.active a{font-weight: 600; color: #222;text-decoration: underline;}
.news-list{display: none;}
.news-list.active{display: block;}
.news-list ul{display: flex; flex-wrap: wrap;}
.news-list ul li{ margin-right: 30px; margin-bottom: 30px; border: 1px solid #ddd; width: calc((100% - 90px) / 4); background-color: #fff; cursor: pointer; box-sizing: border-box; position: relative; }
.news-list ul li:nth-child(4n){margin-right: 0;}
.news-list ul li:hover{border-color: #6ab5d5;}
.news-list ul li:hover .news-tit{text-decoration: underline;}
.news-list ul li.nodata{ margin: 0; padding: 100px 0;border: none; width: 100%; height: 0; text-align: center; color: #666; font-size: 14px; cursor: default;}
.news-group{padding: 25px;box-sizing: border-box; height: 100%;}
.news-type{
  margin-bottom: 15px;
  font-size: 14px;
  padding: 2px 10px;
  box-sizing: border-box;
  display: inline-block;
  border-radius: 3px;
  font-weight: 500;
  color: #6ab5d5;
  border: 1px solid #6ab5d5;
  border-radius:4px;
}
.news-thumb-img{ margin-bottom: 15px; padding-top: 56.25%;overflow: hidden; position: relative; width: 100%; height: 0; background-color: #fafafa; border: 1px solid #eee; box-sizing: border-box;}

.news-thumb-img img{position: absolute;top: 50%;left: 50%; width: 100%; transform: translate(-50%, -50%);}
.news-txt{margin-bottom: 20px;}
.news-txt .news-tit{font-size: 20px; display: -webkit-box; margin-bottom: 20px;overflow: hidden;height: 52px;font-weight: 600;color: #222;white-space: normal;word-wrap: break-word;text-overflow: ellipsis;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
.news-txt .news-dcs{color: #666;  display: -webkit-box; overflow: hidden; letter-spacing: -0.25px;white-space: normal;word-wrap: break-word;text-overflow: ellipsis;-webkit-line-clamp: 8;-webkit-box-orient: vertical; min-height: 68px;}
.news-thumb-img ~ .news-dcs{-webkit-line-clamp: 3; min-height: 68px;}
.news-date{font-size: 14px; color: #444;}


/* 뉴스 팝업 */
.news-popup{width: 100%; height: 100%; position: fixed; top: 0; left: 0; display: none; z-index: 1002;}
.news-popup-area{width: 768px; height: 66vh; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; z-index: 1003; padding: 30px; box-sizing: border-box; overflow: hidden;}
.news-popup-close{background-image: url(/AppData/images/mediacommerce/white/button/layer_close.png); background-repeat: no-repeat; background-position: center; width: 30px; height: 30px; background-size: 16px;}
.news-popup-top{padding-bottom: 10px; position: relative; border-bottom: 1px solid #222;} 
.news-popup-txts .top-txt{
  font-size: 14px;
  padding: 2px 10px;
  display: inline-block;
  border-radius: 3px;
  font-weight: 500;
  color: #6ab5d5;
  border: 1px solid #6ab5d5;
  border-radius:4px;
}
.news-popup-txts .mid-tit{font-size: 20px; font-weight: 600; margin: 15px 0; letter-spacing: -0.5px;}
.news-popup-txts .bot-txt{color: #888; display: flex; justify-content: space-between; font-size: 14px; letter-spacing: -0.8px;}
.news-popup-btn{position: absolute; right: 0; top: -4px;}
.news-popup-view{margin-left: 10px;}
.news-popup-view span{padding-left: 5px;}
.news-popup-line{width: 100%; height: 1px; background-color: #000;}
.news-popup-con{width: 100%; height: calc(66vh - 200px); overflow-x: hidden; overflow-y: auto; padding: 20px 0 0; box-sizing: border-box; word-break: keep-all;}
.news-popup-con img{width: 100% !important; display: block;}

@media (max-width: 1200px){
  .news-list ul li{margin-right: 15px; margin-bottom: 30px;width: calc((100% - 30px) / 3);}
  .news-list ul li:nth-child(3n){margin-right: 0;}
  .news-list ul li:nth-child(4n){margin-right: 15px;}
  .news-list ul li:nth-child(12n){margin-right: 0;}
}

@media (max-width: 960px){
  .news-tab ul li{font-size: 15px;}
  .news-group{padding: 20px;}
  .news-txt .news-tit{font-size: 18px; height: 48px;}

  /* 뉴스 팝업 */
  .news-popup-area{
    width: 100%;
    height: 100vh;
    padding: 20px;
    top: 0;
    transform: translate(0);
    left: 0;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  .news-popup-con{height: calc(100vh - 183px);padding:10px 0 0;}
  .news-popup-txts .mid-tit{font-size: 18px;margin: 10px 0 30px;}
  

}
@media (max-width: 768px){
  .news-list ul li{ margin-right: 20px;width: calc((100% - 20px) / 2);}
  .news-list ul li:nth-child(3n){margin-right: 20px;}
  .news-list ul li:nth-child(2n){margin-right: 0;}
  .news-group{padding: 16px;}
  .news-date{bottom: 16px;}
  .news-txt .news-tit{font-size: 16px; height: 41px;}
  .news-txt .news-dcs{min-height: 56px; font-size: 13px;}

}
@media (max-width: 500px){
  .news-type{font-size: 12px; padding: 3px 7px;}
  .news-list ul li{ margin-right: 10px;width: calc((100% - 10px) / 2); margin-bottom: 20px;}
  .news-list ul li:nth-child(3n){margin-right: 10px;}
  .news-list ul li:nth-child(2n){margin-right: 0;}
  .news-txt .news-tit{font-size: 14px; height: 37px;}
  .news-date{font-size: 12px;}
  
  
  /* 뉴스 팝업 */
  .news-popup-con{height: calc(100vh - 163px)}
  .news-popup-txts .top-txt{font-size: 13px;}
  .news-popup-txts .mid-tit{font-size: 16px; margin: 10px 0 20px;}
  .news-popup-txts .bot-txt{font-size: 12px;}

  .news .pagination-wrap{margin: 40px 0 100px;}

}
@media (max-width: 375px){



}