
/* gw-theme03-main-list-type01 */
#gw-theme03-main-list-type01 .gw-sec-container{text-align: center;flex-direction:column;align-items:center;background: #051026;}
#gw-theme03-main-list-type01 .gw-news-container{margin:0 auto;border-top: 1px solid rgba(0,0,0,0.1);text-align: left;}
#gw-theme03-main-list-type01 .gw-news{padding: 30px 0;border-bottom:1px solid rgba(0,0,0,0.1);}
#gw-theme03-main-list-type01 .gw-news > a {position:relative;width: 100%;height: 100%;}
#gw-theme03-main-list-type01 .gw-news > a:after {z-index: 4;content: "";display: block;width: 100%;position: absolute;top: -30px;left: 0;height: 1px;background: #D2D3D9;transition: all .3s;}
#gw-theme03-main-list-type01 .gw-news > a:before {z-index: 4;content: "";display: block;width: 100%;position: absolute;bottom: -32px;left: 0;height: 1px;background: #D2D3D9;transition: all .3s;}
#gw-theme03-main-list-type01 .gw-date01{font-size: var(--main-title01);}
#gw-theme03-main-list-type01 .gw-date02{color: #888888;font-size: 11px;}
#gw-theme03-main-list-type01 .gw-date-container {line-height:1.2;color: #bbb;transition: all .3s;}
#gw-theme03-main-list-type01 .gw-title {font-size: 16px;margin-bottom: 9px;margin-top: -5px;width: 100%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;word-wrap: normal;color: #f0f0f0;}
#gw-theme03-main-list-type01 .gw-title > span{position: relative;}
#gw-theme03-main-list-type01 .gw-text {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;text-overflow: ellipsis;overflow: hidden;color: #D2D3D9;font-size: 13px;margin-bottom: .5em;}
#gw-theme03-main-list-type01 .gw-img{aspect-ratio: 2 / 1;overflow: hidden;}
#gw-theme03-main-list-type01 .gw-img > img{transition: all 0.8s ease-in-out;}

#gw-theme03-main-list-type01 .gw-news > a:hover:after{z-index: 8;background: #FFC421;;}
#gw-theme03-main-list-type01 .gw-news > a:hover:before{z-index: 5;background: #FFC421;}
#gw-theme03-main-list-type01 .gw-news > a:hover .gw-date-container{color: var(--main-color);}
#gw-theme03-main-list-type01 .gw-news > a:hover .gw-img > img{transform: scale(1.05) rotate(0.01deg);}
#gw-theme03-main-list-type01  [class*="icon"] {display:inline-block;margin-top:-5px;margin-right:5px;width: 25px;height: 25px;position: relative;vertical-align: middle;}
#gw-theme03-main-list-type01 .icon-hit {background: #ff0000;}
#gw-theme03-main-list-type01 .icon-notice {background: #BFBFBF;}
#gw-theme03-main-list-type01 .icon-new {background: var(--main-color);}
#gw-theme03-main-list-type01.on .gw-text-effect-item {opacity:1; transform:translateY(0);}

@media screen and (max-width:1024px){
    #gw-theme03-main-list-type01 .gw-sec-container {padding: 2rem 5%;}
    #gw-theme03-main-list-type01 .gw-news-container{width: 100%;}

}

@media screen and (max-width:768px){
    /* gw-theme03-main-list-type01 */
    #gw-theme03-main-list-type01 .gw-img{aspect-ratio:1.5 / 1;}
}

@media screen and (max-width:576px){
    /* gw-theme03-main-list-type01 */
    #gw-theme03-main-list-type01 .gw-text-container{width: 70% !important;}
    #gw-theme03-main-list-type01  [class*="icon"]{margin-top: 0;}
    #gw-theme03-main-list-type01 .gw-img{aspect-ratio:1 / 1;width:20% !important;}
}

.gw-news-container {width: 100%;}
.gw-text-container-custom-lg{width: 95%;}
.gw-text-container-custom-sm{width: 5%;}
.gw-text-container-custom-sm > i{color: #dddddd; transition: all 0.8s ease-in-out;}
#gw-theme03-main-list-type01 .gw-news > a:hover .gw-text-container-custom-sm > i {color: #FFC421;}



/* 한 줄 정렬: 썸네일(좌) + 텍스트(중) + 화살표(우) */
#gw-theme03-main-list-type01 .gw-news > a{
  display:flex;
  align-items:center;
}

썸네일 이미지 커버 */
#gw-theme03-main-list-type01 .gw-news-thumb img{
  width:auto;                   /* ✅ 강제 늘림 금지 */
  height:auto;
  max-width:100%;               /* ✅ 박스 안에만 */
  max-height:100%;
  object-fit:contain;           /* 있어도 되고 없어도 됨 */
  display:block;
}
/* 텍스트 영역은 남은 공간을 먹게 */
#gw-theme03-main-list-type01 .gw-text-container-custom-lg{
  flex: 1 1 auto;
  width: auto;      /* 기존 95%가 레이아웃 방해할 수 있어서 */
}

/* 화살표는 우측 고정 */
#gw-theme03-main-list-type01 .gw-text-container-custom-sm{
  flex: 0 0 20px;   /* 아이콘 폭 정도로 고정 */
  width: auto;
  text-align:right;
}


@media (max-width:576px){
  #gw-theme03-main-list-type01 .gw-news-thumb{
    flex-basis: 96px;
    width: 96px;
    height: 64px;
  }
}


/* 썸네일 프레임: 모든 카드 동일 크기 */
#gw-theme03-main-list-type01 .gw-news-thumb{
  flex: 0 0 150px;      /* ✅ 자리 고정 */
  width: 150px;
  height: 90px;         /* ✅ 원하는 고정 높이(16:9 추천) */
  background: #ffffff;
  overflow: hidden;

  display: flex;        /* ✅ 내부 이미지 센터링 */
  align-items: center;
  justify-content: center;
}

/* 프레임 안 이미지: 원본비율 유지 + 안 잘림 */
#gw-theme03-main-list-type01 .gw-news-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;   /* ✅ 안 잘림 */
  object-position: center;
  display: block;
}