@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
@media ((max-width:768px) and (min-width:1024px)) {
    
}
@media (max-width: 768px) {
    .container:not(#item-details), main{
        width: 100% !important;
    }
    main{
        margin-bottom: unset !important;
    }
    .container:not(#item-details){
        margin-top: 40px !important;
        margin-bottom : unset !important;
    }
    .tile{
        width: 90vw !important;
    }
    .container:not(#item-details){
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 40px !important;
    }
    .tile-container > img{
        width: 90vw !important;
    }
    .container:not(#item-details) .tile > img{
        width: 90vw !important;
    }
    .container:not(#item-details) .tile .thumbnail{
        width: 90vw !important;
        height: auto !important;
        aspect-ratio: 384/211;
    }
}

.container:not(#item-details) .tile .thumbnail{
    width:384px;height:211px;border-radius:12px;
}

/* .loading img {
    animation: rotate360 1s forwards infinite;
} */
.main{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 120px;
}
.container:not(#item-details){
    margin-top: 80px;
    margin-bottom: 70px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 한 줄에 3개 */
    row-gap: 28px;
    column-gap: 24px;
    width: 1200px; /* 전체 너비 제한 */
}
.tile{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tile{
    text-decoration: none !important;
    color : black !important;
}
.tile-date{
margin-top: 4px;
}
.tile-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 250416 s*/
/* table */
.newcontent .tableWrap {overflow:hidden;}
.newcontent table {width:100%;margin-left:-1px;border-top:2px solid #333;}
.newcontent th,td {padding:15px 8px;border-bottom:1px solid #ddd;word-wrap:break-word;text-align:center;font-weight: normal;line-height:19px;}
.newcontent th,th a {font-size: 16px;color:#333;}
.newcontent td,td a {font-size: 14px;color:#333;letter-spacing: -0.5px;}
.newcontent th.left,td.left {padding-left:20px;padding-right:20px;}
.newcontent th.num,td.num {color:#888;letter-spacing:0;font-size: 14px;}
.newcontent th.date,td.date {color:#888;letter-spacing:0;font-size: 14px;}
.newcontent td.text {text-align:left;padding:40px;}
.newcontent .center {text-align:center !important;}
.newcontent .right {text-align:right !important;}
.newcontent .left {text-align:left !important;}
.newcontent .backList {text-align: right;margin: 30px 0 0;}
.newcontent .notable {width:100%;margin:0; display:table;border-collapse:collapse;text-align: left;border: 0;}
.newcontent .notable th,.notable td {padding:0;vertical-align: top;text-align: left;background: none;border: 0;}
.newcontent table.nlist {width:100%;margin-top:40px;border-top:1px solid #ddd;}
.newcontent table.nlist th,table.nlist td,table.nlist th a,table.nlist td a {font-size: 14px;}
.newcontent table.nlist th {border-bottom:1px solid #ddd;padding-left:40px;width:15%;}
.newcontent table.nlist td {border-bottom:1px solid #ddd;padding-left: 15px;text-align:left;width:85%;}
.newcontent table th.nlist01 {background: url("/1QLab/img/bl_up.png") 25px center no-repeat;}
.newcontent table th.nlist02 {background: url("/1QLab/img/bl_down.png") 25px center no-repeat;}
.newcontent table.newslist td.num {width:12%;}
.newcontent table.newslist td.left {width:73%;}
.newcontent table.newslist td.date {width:15%;}
.newcontent table.newsview th.left {width:85%;}
.newcontent table.newsview th.date {width:15%;text-align: right;padding-right: 30px;}

/* sub */

.newcontent h2 {font-size: 50px;font-weight: normal;color: #fff;line-height: 54px;letter-spacing: 0;padding: 60px 0 0 60px;text-align: left;}
.newcontent h2 p {font-size:25px;font-weight:normal;color:#333;letter-spacing: -2px;text-align:left;}
.newcontent h2 em {letter-spacing: 2px;text-align:left;}

.newcontent h4 {background: url("/1QLab/img/bl_h4.png") 0 2px no-repeat;font-size: 23px;font-weight: normal;color: #444;line-height: 26px;text-align: left;padding-left: 35px;letter-spacing: -0.5px;  margin-top: 35px;}
.newcontent h4:first-child {margin-top: 0;}
.newcontent h5 {background: url("/1QLab/img/bl_h5.png") 0 8px no-repeat;font-size: 19px;font-weight: bold;color: #555;line-height: 21px;text-align: left;padding-left: 18px;letter-spacing: -0.5px;margin-top: 35px;}
.newcontent h5:first-child {margin-top: 0;}
.newcontent div + h5 {margin-top: 0;}
.newcontent .subWrap {overflow: hidden;position: relative;z-index:1;background-color:#755ea2;height:250px;}
.newcontent .subTitle {position: relative;z-index: 2;margin: 0 auto;max-width: 1024px;}
.newcontent .subBg {background: url("/1QLab/img/bg_sub01.png") center bottom no-repeat;background-size: auto;width: 100%;height: 208px;position: absolute;z-index:1;bottom: -5px;left: 0;}

.newcontent p {font-size: 16px;font-weight: normal;color: #555;line-height: 24px;margin: 30px 0;}
.newcontent h4 + p {margin: 25px 0 30px;padding-left: 35px;}
.newcontent ul {margin: 10px  0 0 19px;}
.newcontent ul li {font-size: 16px;font-weight: normal;color: #555;line-height: 26px;text-indent: -12px;padding-left: 12px;}
.newcontent .portTab dt {width: 18.1%;}
.newcontent .portTab dt p {margin: 0;line-height: 100%;height: 48px;}
.newcontent .portTab dd h6 {font-size: 23px;font-weight: bold;color: #333;position: absolute;z-index: 99;top: 400px;left: 0;width: 100%;line-height: 36px;text-align: center;}
.newcontent .portTab p {margin: 0;}
.newcontent .portBox {display:none;}
.newcontent .bgHow {background: url("/1QLab/img/img_how01.png") right top no-repeat;background-size: 100%;width: 220px;height: 220px;position:absolute;z-index:1;top: 200px;right: 100px;}
.newcontent .btnWrap {text-align:center;margin:90px 0 20px;}
.newcontent h3 {font-size: 19px;font-weight: bold;letter-spacing: -1px;margin: 0;}

.newcontent table ul {margin-left:3px;margin-top:0;}
.newcontent table ul li {list-style-type: disc;list-style-position: inside;text-indent: -16px;padding-left: 16px;}
.newcontent table caption { width:0; height:0; font-size:0; visibility:hidden; overflow:hidden;}

/* 전체 페이지네이션 컨테이너 */
.pagination { display: flex; justify-content: center; /* 가운데 정렬 */ align-items: center; gap: 4px; /* 요소 간격 */ width: 100%; height: 82px; color: black; }
/* 각 페이지 버튼 */
.pagination a:not(.arrow_right):not(.nextpage):not(.arrow_left):not(.prevpage),
.page-item { color:black; width: 48px; height: 48px; display: flex; justify-content: center; align-items: center; border-radius: 24px; background-color: #ffffff; cursor: pointer; transition: background-color 0.2s, color 0.2s; font-family: 'Pretendard', sans-serif; text-decoration: none;}
/* 활성화된 페이지 스타일 */
.pagination a:not(.arrow_right):not(.nextpage):not(.arrow_left):not(.prevpage).active,
.page-item.active { background-color: var(--primary-500); color: white; border-radius: 24px; }
/* hover 효과 */
.pagination a:not(.arrow_right):not(.nextpage):not(.arrow_left):not(.prevpage):hover,
.page-item:hover { border-radius: 24px; background-color: #e0e0e0; }
/* 모바일일때 페이지 네이션 숨김 @임시 */
@media (max-width:768px) {
    .pagination{ display: none !important; }
}
.arrow_right{ background-image: url('/1QLab/static/images/arrow/arrow_right_white.svg'); width: 48px; height: 48px; background-color: var(--primary-500); border-radius: 48px; background-repeat: no-repeat; background-position: center; cursor: pointer; }
.arrow_left{ background-image: url('/1QLab/static/images/arrow/arrow_right_white.svg'); width: 48px; height: 48px; background-color: var(--primary-500); border-radius: 48px; background-repeat: no-repeat; background-position: center; transform: rotateY(180deg); cursor: pointer; }
.nextpage{ background-image: url('/1QLab/static/images/play_swiper.svg'); width: 48px; height: 48px; background-color: var(--primary-500); border-radius: 48px; background-repeat: no-repeat; background-position: center; cursor: pointer; }
.prevpage { background-image: url('/1QLab/static/images/play_swiper.svg'); width: 48px; height: 48px; background-color: var(--primary-500); border-radius: 48px; background-repeat: no-repeat; background-position: center; transform: rotateY(180deg); cursor: pointer; }
.arrow_right,
.arrow_left,
.nextpage,
.prevpage { font-size:0; line-height:0; }
/* 250416 e*/