@charset "utf-8";

#gw-theme07-main-news .gw-news-container{}
#gw-theme07-main-news .gw-news{border-bottom:2px solid #ddd;height: 140px;}
#gw-theme07-main-news .gw-news > a {padding: 0 60px;position:relative;width: 100%;height: 100%;gap:50px;box-sizing: border-box;}
#gw-theme07-main-news .gw-news > a:before {content: "";display: block;width: 0;position: absolute;bottom: -2px;left: 0;height: 2px;background:var(--main-color);transition: all 0.8s ease-in-out;}
#gw-theme07-main-news .gw-category{font-size:16px;padding: 0 15px;letter-spacing: -0.025em; font-weight: 700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display: inline-block; background-color: var(--main-color); border-radius: 30px;  transition: background-color 0.3s;}
#gw-theme07-main-news .gw-title {font-size: var(--main-title04); font-weight: 600; letter-spacing: -0.05em; line-height: 1.375; overflow:hidden;display:block;display: -webkit-box;-webkit-line-clamp: 2; -webkit-box-orient: vertical;}
#gw-theme07-main-news .gw-title > span{position: relative;}
#gw-theme07-main-news .gw-text {font-size: var(--main-text01); letter-spacing: -0.05em; line-height: 1.75; overflow:hidden;display:block;display: -webkit-box; -webkit-line-clamp: 3;-webkit-box-orient: vertical;}
#gw-theme07-main-news .gw-date {color:#666;}
#gw-theme07-main-news  [class*="icon"] {display:inline-block;margin-top:-5px;margin-right:5px;width: 25px;height: 25px;position: relative;vertical-align: middle;}
#gw-theme07-main-news .icon-hit {background: #ff0000;}
#gw-theme07-main-news .icon-notice {background: #BFBFBF;}
#gw-theme07-main-news .icon-new {background: var(--main-color);}
#gw-theme07-main-news .gw-img-box {position: absolute; left: 0; width: 396px; height: 196px; pointer-events: none; opacity: 0; z-index: 10;overflow:hidden;}
#gw-theme07-main-news .gw-img-inner {position: relative; width: 100%; height: 100%; overflow: hidden;}
#gw-theme07-main-news .gw-img-inner .gw-img {position: absolute; left: 0; top: 0; height: 100%; width: 100%; object-fit: cover;}
@media (hover: hover) and (min-width:576px) {
    #gw-theme07-main-news .gw-news > a:hover .gw-title{color: var(--main-color);}
    #gw-theme07-main-news .gw-news a:hover:before {width: 100%;}
}


/*내용없을경우------------------------------------------------------------------------------------------------------------------ */
#gw-theme07-main-news .gw-empty-list {padding-top: 40px;}
#gw-theme07-main-news .gw-empty-list > h3 {font-size: var(--main-title03);}

@media screen and (max-width:1600px){
    #gw-theme07-main-news .gw-news > a{padding: 0 3%;}
}

@media screen and (max-width:1440px){
    #gw-theme07-main-news .gw-news-container{width: 100%;}
    #gw-theme07-main-news .gw-news > a{padding: 0;}
}

@media screen and (max-width:1024px){
    #gw-theme07-main-news  .gw-top-box {margin-bottom: 20px;flex-direction: column;align-items: flex-start;}
    #gw-theme07-main-news  .gw-top-box .gw-main-btn01{margin-top:0;}
    #gw-theme07-main-news .gw-news-container{width:100%;}
    #gw-theme07-main-news .gw-news{padding:20px 0;height:auto;}
    #gw-theme07-main-news .gw-news > a:before{display: none;}
    #gw-theme07-main-news .gw-img-box{display: none;}
    #gw-theme07-main-news .gw-con-box{flex-direction: column;align-items: flex-start;gap: 20px;}
}


@media screen and (max-width:576px){
    #gw-theme07-main-news .gw-sec-container {padding: 0 20px;}
    #gw-theme07-main-news .gw-news{padding:20px 0;}
    #gw-theme07-main-news .gw-news > a{flex-direction: column;}
    #gw-theme07-main-news  [class*="icon"]{margin-top: 0;}
    #gw-theme07-main-news .gw-text-box {display: flex;flex-direction: column;align-items: flex-start;gap: 0;}
}