/***top style****/
.top1 {width:68%; padding-right:15px; border-right:1px solid #eaeaea; margin-top:0;}
.top1 .relations-news, .biz-top-ver2025 .top .relations-news {display:none;}
.main-top-news {padding-bottom:30px;}
.top1 .newsbox-text{padding-top:20px;}
.top1 div{width:100% !important;}
.top-side{width:32%; padding-left:15px;}
.top-side .type-01 .info{border-bottom:0;}

.top-side li {list-style: none; padding: 18px 0; border-bottom: 1px solid #eaeaea; width;100%;}

.top-side li:first-child {padding-top: 0;}

.top-side li:last-child { border-bottom: 0; padding-bottom:0;}

.top-side .type-01 .thumb { height: 168px; overflow: hidden; margin-bottom: 10px; position: relative;}
.top-side li div a { text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box;  line-height: 1.4;}
.type-01.infotype_thumb_mobile .thumb {  display: block;}
.top-side .type-01 .thumb img { object-fit: cover;object-position: 50% 40%;height: 168px;}
.top-news-group-C.type-06 ul li:first-child { padding-top: 18px;}

/* .type-06 .hot-news .infotype_thumb_side .thumb img{height:140px;} */
.type-06 .hot-news .infotype_thumb_side .thumb { width: 40%; /* height: auto; */ padding-right:20px;}
.type-06 .hot-news .infotype_thumb_side .info { width: 60%;}

.dark .top1 {border-right: 1px solid #373737;}
.dark .top-news-group-A.type-06 ul li:last-child {border-bottom: 1px solid #373737;}
.dark .top-side li{border-bottom:1px solid #373737;}
.dark .top-side li:last-child {border-bottom:0;}

/*n-포커스 박스*/
 .n-focus-sec .type-03 {margin-top:0;}
 .n-focus-sec .type-03 .info {background: #f5ffff; padding: 7px; border: 1px solid #a9b4c7; width: 100%;}
 .n-focus-sec .group_title-a {padding: 5px 7px; background: #37507e;}
 .n-focus-sec .group_title-a a {color: #fff; font-size: 17px; line-height: 23px;}
 .n-focus-sec h2 a span {background: url(//image.newdaily.co.kr/assets/2023/icon-next-white.png?1) no-repeat center right;}
 .dark .n-focus-sec .type-03 a:nth-child(2) {color: #000 !important;}

/* n-포커스 박스 e*/


@media only screen and (max-width: 1024px){
     .group1 {padding: 0 50px;}

}

@media only screen and (max-width: 940px) {
    .top1 {padding-right: 0 !important;border-right: 0 !important; width:100%;}

    /* .top1 .newsbox-text {  display: none;} */

    .top-side {display: flex; padding: 20px 0 0; order: 3; width:100%; flex-wrap: wrap; border-top: 2px solid #E72812; margin-top: 15px;}
    .top-side li{width:100%;}
    .type-01.infotype_thumb_mobile .thumb {order: 2;}
    .top-side .infotype_thumb_mobile{width;100%;}
}

@media only screen and (max-width: 768px) {
	   .main-top-news { padding-bottom: 18px;}
       .top-news-group {border-top:1px solid #eaeaea; padding-top:18px;}

       .top-news-group-A.type-06{margin-top:0; margin-bottom: 0;}
       .top-news-group-A.type-06 ul li:first-child{padding-bottom:18px;}

        li.hot-news {margin: 10px 0 15px; background: #ffce3d; padding: 15px !important; }
        li.hot-news .info dd a {color: #3d3d3d;display: -webkit-box; -webkit-line-clamp: 3; }
        li.hot-news .infotype_thumb_side .thumb img { height: 140px !important;}
        .top-news-group-B{margin-top:10px;}

      .dark .top .top-news-group{border-top:1px solid #373737;}
      .dark .type-06 .hot-news .info dt a, .dark .type-06 .hot-news .info dd a{color:#000 !important;}
}

@media only screen and (max-width: 480px){
	  li.hot-news .infotype_thumb_side .thumb img { height: 110px !important;}
	  li.hot-news .info dd a {display: none; }
}


/*********************************** biz-top 2025 ver ***************************************/

.biz-top-ver2025 article.top{width:50%; padding:0 15px;}

.biz-top-ver2025 .left-top{padding:0 15px 0 0; border-right:1px solid #eaeaea;}
.biz-top-ver2025 .main-top-news .newsbox-text a:first-child{display:none;}
.biz-top-ver2025 .main-top-news .newsbox-img{width:100%; margin-right:0;}
.biz-top-ver2025 .main-top-news .title{margin-bottom:0; margin-top:15px;}

.biz-top-ver2025 {position: relative;}
.biz-top-ver2025 aside .div-3rd{position:absolute; bottom:0px; width:25%; padding-right:15px;}
.biz-top-ver2025 .type-01 a font {z-index: 9999; position: relative;}

@media only screen and (max-width: 940px){
.biz-top-ver2025{display:flex !important;}
.biz-top-ver2025 article.top{width:100%; padding:0 0 25px 0; order:-1;}

.biz-top-ver2025 .main-top-news .title{margin-top:0px;}
.biz-top-ver2025 .left-top{padding:0; border-right:0; }
.biz-top-ver2025 .main-top-news .newsbox-img{margin-bottom:8px;}

.biz-top-ver2025 .type-01{height:auto;}
}
@media only screen and (max-width: 768px){
.biz-top-ver2025 aside .type-01 .thumb{margin-bottom:0 !important;}
.biz-top-ver2025 aside.left-top{border-bottom:1px solid #eaeaea !important; padding-bottom:10px;}
.biz-top-ver2025 aside .type-01 .info dd{margin-bottom:0;}
}


/*********************************** nd 2nd-group 2025 ver-2 ***************************************/


.opinion.grid--2nd--column .opinion-list .opinion-list-1st{margin-right:20px !important;}
.opinion.grid--2nd--column .group-1st {width: 68% !important;}
.opinion.grid--2nd--column .opinion-list .opinion-list-1st .group-1st .list-1st-left .thumb img{width:100% !important;}
.opinion.grid--2nd--column .group-1st .opinion-list-1st .thumb {height: 200px !important;}
.opinion.grid--2nd--column .group-1st .opinion-list-1st {width: 50% !important;}
.opinion.grid--2nd--column .opinion-side .list-3rd { display: block;}
.opinion.grid--2nd--column .opinion-list .opinion-side {width: 32%; padding-left:20px;}
.opinion.grid--2nd--column .opinion-list .opinion-side div.info a {font-size : 18px; margin-top:0;}
.opinion.grid--2nd--column .opinion-list .opinion-side div.info h2 a {font-size:19px;}

@media only screen and (max-width: 1199px){
.opinion.grid--2nd--column .opinion-list .opinion-side .info a.info-title{ overflow: hidden; -webkit-line-clamp: 3;  -webkit-box-orient: vertical; display: -webkit-box !important; letter-spacing: -1px; line-height: 1.4;}
.opinion.grid--2nd--column .opinion-list .opinion-list-1st{border-bottom:0}
.opinion.grid--2nd--column .opinion-list .opinion-side .opinion-list-2nd, .opinion.grid--2nd--column .opinion-list div.info a {margin-top:0;}
}

@media only screen and (max-width: 1024px){
.opinion.grid--2nd--column .opinion-list .opinion-side .opinion-list-2nd{border-bottom:0;}

}

@media only screen and (max-width: 940px){
.opinion.grid--2nd--column  article{border-bottom:0; padding-bottom:0;}

}
@media only screen and (max-width: 768px){
  .opinion.grid--2nd--column .list-group{display:block !important;}
  .opinion.grid--2nd--column .group-1st, .opinion-side  {width: 100% !important;}
  .opinion.grid--2nd--column .opinion-side {padding:0 !important; border-left: 0;}
  .opinion.grid--2nd--column .opinion-list .group-1st{border-bottom:1px solid #eaeaea !important;}
  .opinion.grid--2nd--column h2.group_title-a.mb10 { padding-top: 30px; border-top: 1px solid #eaeaea;}
}

@media only screen and (max-width: 480px){
 .opinion.grid--2nd--column .group-1st {display:block !important;}
 .opinion.grid--2nd--column .opinion-list .opinion-list-1st{width: 100% !important;  margin-right: 0 !important; border-bottom:1px solid #eaeaea;}
}


/*****************뉴데일리 숏팟 2030*****************/

.type-05.type-00 .thumb { width: 30%; max-height: 115px; object-fit: cover;}
.nd-shortpod{overflow: hidden; position: relative;}
.type-05 .swiper-slide { display: flex; align-items: center;}

@media only screen and (max-width: 768px){
    .newdaily-newspaper{padding-bottom:30px;}
    .type-05.type-00 .thumb {max-height:250px; width: 25%;}
    .nd-shortpod .mt30{margin-top:0 !important;}
    .nd-shortpod {border-top: 2px solid #E72812; padding-top: 30px;}

    .nd-shortpod .swiper-pagination{right: 0; top: 37px; display: block !important;}
    .nd-shortpod .swiper-pagination span {margin-right: 3px;}
}

/* 공통 팝업 영역 */
#shorts-popup {display: none; position: fixed; z-index: 9999 !important; background: #000; box-shadow: 0 0 10px #333; transition: opacity 0.3s ease; overflow: hidden; }

/* 데스크탑용 팝업 */
#shorts-popup.desktop { width: 300px; height: 530px; bottom: 20px; right: 20px; }

/* 모바일 풀스크린 팝업 */
#shorts-popup.mobile { top: 0; left: 0; width: 100%;/* 높이는 JS에서 document.documentElement.clientHeight 로 설정됨 */ background: #000; }

/* 팝업 상단 헤더 공통 */
#popup-header {  display: flex; justify-content: space-between; align-items: center;  background: #222; color: #fff;  padding: 5px 10px; height: 30px;  font-size: 14px; cursor: move;}

/* 모바일 상단 헤더 (고정 위치 + 크기 확장) */
#popup-header.mobile {  position: static; /* fixed ❌ */  height: 40px; font-size: 18px;  padding: 10px;  background: rgba(0, 0, 0, 0.85); z-index: 10001; cursor: default;}

/* 닫기 버튼 공통 */
#close-popup { background: none;  border: none; color: #fff; cursor: pointer;}

/* 닫기 버튼 크기 - 데스크탑 */
#close-popup.desktop {  font-size: 18px;}

/* 닫기 버튼 크기 - 모바일 */
#close-popup.mobile { font-size: 26px;}

/* 유튜브 iframe 공통 */
#shorts-frame { width: 100%; height: calc(100% - 30px); /* 기본 높이: 헤더 제외 */}

/* 모바일일 때 iframe 높이 (JS에서 동적으로 덮어씌움 가능) */
#shorts-popup.mobile #shorts-frame {width: 100%; height: calc(100vh - 40px); margin-top: 0; /* fixed header 안 쓸 경우 이게 충분 */}

/* 모바일 팝업이 열릴 때 body 스크롤 방지 */
body.popup-open { overflow: hidden;}


/*****************계염 1년, 뭘 남겼나 ****************/

.box-banner {
    background: #939393;
    padding: 20px;
    margin: 15px 5px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(45deg, rgb(62 65 151 / 85%) 0%, rgb(194 0 28 / 43%) 100%);
}
.box-banner .info {
    padding: 0 20px;
      }

.box-banner .info a {
    color: #fff;
    display: flex;
}

.box-banner span {
    background: url(//image.newdaily.co.kr/assets/2023/icon-next-white.png) no-repeat center right;
    content: '';
    width: 15px;
    display: flex;
    margin-left: 10px;
}

@media only screen and (max-width: 768px) {
.box-banner .info {
        width: 100% !important;
        }
        .box-banner .info a {
		   font-size:17px !important;
        }
}


