


/* -------- sub 공통 -------- */


.sub-sec-wrap {
    padding-top:150px;
    padding-bottom:150px;
}

.sub-title {
    display:flex;
    flex-direction: column;
    gap:10px;
    align-items: baseline;
    margin-bottom:80px;
}

.sub-title h2 {
    font-size: clamp(60px, 5vw, 64px); 
    line-height:1;
    font-weight:700;
}

.sub-title p {
    font-size:30px;
    color:#ccc;
    font-weight:200;
    letter-spacing: 0.2em;
}

.sub-subtitle {
    font-size:32px;
    position:relative;
    padding-left:25px;
    font-weight: 700;
}

.sub-subtitle::before {
    display: block;
    content:"";
    width:10px;
    height:80%;
    background: var(--primary-color);
    position:absolute;
    top:50%;
    left:0px;
    transform: translateY(-50%);
}

.flex-wrap {
    display:grid;
    grid-template-columns: 3fr 10fr;
    gap:50px;
}

.sub-con-flex {
    display:grid;
    grid-template-columns: 3fr 10fr;
    gap: 50px;
    height:auto;
}



/* -------- sub 공통 -------- */




/* -------- board 공통 --------*/
/* -------- board 공통 --------*/
/* -------- board 공통 --------*/

/* -------- 인재채용 / 채용공고 / recruit4 -------- */
/* -------- 홍보센터 / 공지사항 / promo1 -------- */

.board-wrap {
    width:100%;
}

.board {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 0px 20px rgba(26,92,164,0.16);
    overflow: hidden;
}
.board-header, .board-row {
    display: grid;
    grid-template-columns: 1fr 9fr;
    align-items: center;
    padding: 25px 30px;
}
.board-header {
    background: var(--primary-color2);  
}

.board-header .board-col {
    color:#fff;
    text-align: center;
}

.board-tday {
    display:grid;
    grid-template-columns: 9fr 2fr;
}

.board-body {
    background: #f9fbfd;
}
.board-row {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s; 
}

.board-row::after, .board-row::before {
    display:none;
}

.board-row:hover {
    background: #f0f6ff;
    z-index: 1;
}
.board-col {
    padding: 0 8px;
    text-align: center;
    overflow: hidden;
}
.board-title a {
    transition: color 0.15s;
    font-weight: 500;
}
.board-title a:hover {
    color: var(--primary-color2);
    text-decoration: underline;
}

.board-col.board-title {
    text-overflow: ellipsis;
}

.board-no {
    color: #666;
    font-size: 18px;
}

.board-title {
    text-align: left;
    font-weight: 500;
    font-size: 18px; 
}

.board-date {
    color: #666;
    font-size: 18px;
}

.board-views {
    color: #666;
    font-size: 18px;
}

/* 페이지네이션 스타일 */
.paging-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.paging-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    justify-content: center;
    margin-top:30px;
}

.paging-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 40px;
    padding: 0 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    color: #6c757d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.1s ease;
}

.paging-btn:hover {
    background: var(--primary-color2);
    border-color: var(--primary-color2);
    color: #fff;
    transform: translateY(-1px); 
}

.paging-btn:hover i {
    color:#fff;
    transition:0.1s;
}

.paging-btn:active {
    transform: translateY(0);
}

.paging-num-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.paging-num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    color: #495057;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.1s ease;
}

.paging-num:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.paging-num.active {
    background: var(--primary-color2);
    border-color: var(--primary-color2);
    color: #fff;
    font-weight: 600; 
}

.paging-num.active:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}



/* -------- 인재채용 / 채용공고 / recruit4 -------- */
/* -------- 홍보센터 / 공지사항 / promo1 -------- */



/* -------- 인재채용 / 채용공고 / recruit4-detail -------- */
/* -------- 홍보센터 / 공지사항 / promo1-detail -------- */



/* 게시판 상세페이지 스타일 */
.board-detail-wrap {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0px 20px rgba(26,92,164,0.16);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* 게시판 상세 헤더 */
.board-detail-header {
    background:var(--primary-color2); 
    padding: 40px 50px;
    border-bottom: 1px solid #e5eaf2;
}

.board-detail-title h3 {
    color:#fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom:10px;
    word-break: keep-all;
}

.board-detail-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.board-detail-meta {
    display: flex;
    gap: 20px;
    font-size: 18px; 
}

.board-detail-date, .board-detail-views { 
    color:#fff;
}

.board-detail-info em {
    color:#fff;
}


/* 게시판 상세 내용 */
.board-detail-content {
    padding: 40px 50px;
    background: #fff;
    min-height: 300px;
}

.board-detail-con {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.board-detail-con img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* 첨부파일 영역 */
.board-detail-attachments {
    padding: 30px 50px;
    background: #f9fbfd;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.board-detail-attachments-title h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color2);
    margin-bottom: 20px;
}

.board-detail-attachments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.board-detail-attachment-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.board-detail-attachment-item:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
}

.board-detail-attachment-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: var(--primary-color2);
}

.board-detail-attachment-name {
    flex: 1;
    font-size: 16px;
    color: #495057;
    text-decoration: none;
    word-break: break-all;
}

.board-detail-attachment-name:hover {
    color: var(--primary-color2);
    text-decoration: underline;
}

.board-detail-attachment-size {
    font-size: 14px;
    color: #6c757d;
    margin-left: 12px;
}


/* 리스트 */
.board-detail-navigation {
    background: #f9fbfd;
    border-top: 1px solid #f0f0f0;
    padding: 30px 50px;
}

.board-detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.board-detail-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.board-detail-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(26,92,164,0.1);
}

.board-detail-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color2);
    min-width: 80px;
    margin-right: 16px;
}

.board-detail-link {
    color: #495057;
    text-decoration: none;
    font-size: 18px;
    flex: 1;
    transition: color 0.2s ease;
}

.board-detail-link:hover {
    color: var(--primary-color2);
    text-decoration: underline;
}

.board-detail-button {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.board-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #fff;
    border:1px solid var(--primary-color2);
    color: var(--primary-color2);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease; 
}

.board-detail-btn:hover {
    background: var(--primary-color2);
    color:#fff; 
}



/* -------- 인재채용 / 채용공고 / recruit4-detail -------- */
/* -------- 홍보센터 / 공지사항 / promo1-detail -------- */

/* -------- board 공통 --------*/
/* -------- board 공통 --------*/
/* -------- board 공통 --------*/





/* 반응형 - 태블릿 */
@media (max-width: 900px) {
    .paging-nav {
        margin-top: 32px;
    }
    .paging-wrap {
        padding: 12px 16px;
        gap: 6px;
    }
    .paging-btn {
        min-width: 50px;
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
    .paging-num {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 600px) {
    .paging-nav {
        margin-top: 24px;
    }
    .paging-wrap {
        padding: 8px 12px;
        gap: 4px;
        border-radius: 8px;
    }
    .paging-btn {
        min-width: 44px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
        border-radius: 6px;
    }
    .paging-num {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: 6px;
    }
    /* 모바일에서는 페이지 번호를 줄여서 표시 */
    .paging-num-box {
        gap: 2px;
    }
    .paging-num:nth-child(n+4) {
        display: none;
    }
}











/* 
@media (max-width: 1100px) {
    .gallery-board {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 800px) {
    .gallery-board {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 500px) {
    .gallery-board {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .gallery-board-title {
        font-size: 1rem;
        margin: 12px 10px 4px 10px;
    }
    .gallery-board-date {
        font-size: 0.92rem;
        margin: 0 10px 12px 10px;
    }
} */







/* 게시판 반응형 */


/* 반응형 - 태블릿 */
/* @media (max-width: 900px) {
    .board {
        max-width: 100%;
        border-radius: 12px;
    }
    .board-header, .board-row {
        grid-template-columns: 50px 2fr 1fr 1fr 0.8fr;
        padding: 0 12px;
        font-size: 0.98rem;
    }
    .board-header {
        height: 48px;
    }
    .board-row {
        height: 54px;
    }
} */

/* 반응형 - 모바일 */
/* @media (max-width: 600px) {
    .board {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(26,92,164,0.10);
    }
    .board-header, .board-row {
        grid-template-columns: 1.2fr 3fr 1.5fr;
        padding: 0 6px;
        font-size: 0.93rem;
    }
    .board-header .board-no, .board-header .board-views,
    .board-row .board-no, .board-row .board-views {
        display: none;
    }
    .board-header {
        height: 40px;
    }
    .board-row {
        height: 48px;
    }
    .board-title {
        font-size: 1.01em;
    }
} */


/* 상세페이지 반응형 */


/* 반응형 - 태블릿 */
/* @media (max-width: 900px) {
    .board-detail-header {
        padding: 32px 24px;
    }
    
    .board-detail-title h3 {
        font-size: 24px;
    }
    
    .board-detail-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .board-detail-content {
        padding: 32px 24px;
    }
    
    .board-detail-con {
        font-size: 16px;
    }
    
    .board-detail-con h4 {
        font-size: 20px;
    }
    
    .board-detail-navigation {
        padding: 24px;
    }
    
    .board-detail-item {
        padding: 12px 16px;
    }
    
    .board-detail-label {
        font-size: 14px;
        min-width: 60px;
        margin-right: 12px;
    }
    
    .board-detail-link {
        font-size: 14px;
    }
} */

/* 반응형 - 모바일 */
/* @media (max-width: 600px) {
    .board-detail-wrap {
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(26,92,164,0.08);
    }
    
    .board-detail-header {
        padding: 24px 16px;
    }
    
    .board-detail-title h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .board-detail-meta {
        font-size: 14px;
    }
    
    .board-detail-content {
        padding: 24px 16px;
    }
    
    .board-detail-con {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .board-detail-con h4 {
        font-size: 18px;
        margin: 24px 0 12px 0;
    }
    
    .board-detail-con ul {
        padding-left: 16px;
    }
    
    .board-detail-navigation {
        padding: 20px 16px;
    }
    
    .board-detail-item {
        padding: 10px 12px;
        border-radius: 6px;
    }
    
    .board-detail-label {
        font-size: 13px;
        min-width: 50px;
        margin-right: 8px;
    }
    
    .board-detail-link {
        font-size: 13px;
    }
    
    .board-detail-btn {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 6px;
    }
} */









/* -------- 1600px --------*/
@media screen and (max-width: 1600px) {

    


}




/* -------- 1440px --------*/
@media screen and (max-width: 1440px) {

    .board-detail-title h3 {
        font-size:26px;
    }

    





}


/* -------- 1280px --------*/
@media screen and (max-width: 1280px) {

    .sub-title p {
        font-size:26px;
    }

    /* .sub-con-flex {
        grid-template-columns: 3fr 11fr;
    } */

    .flex-wrap {
        grid-template-columns: 3fr 11fr;
    }

    .sub-subtitle {
        font-size:30px;
    }

    .promo1 .flex-wrap, .recruit4 .flex-wrap {
        grid-template-columns: 1fr;
        gap:0;
    }

    .promo1 .sub-title, .recruit4 .sub-title {
        margin-bottom:50px;
    }



}



/* -------- 1024px --------*/
@media screen and (max-width: 1024px) {

    .sub-title {
        margin-bottom:50px;
    }

    .sub-sec-wrap {
        padding-top:100px;
        padding-bottom:100px;
    }

    .flex-wrap {
        grid-template-columns: 1fr;
        gap:0;
    }

    .sub-con-flex {
        grid-template-columns: 1fr;
    }

    .sub-subtitle {
        padding-left:20px;
        font-size:28px;
    }

    .sub-subtitle::before {
        width:8px;
    }

    .board-header div, .board-row div {
        font-size:16px;
    }

        .board-detail-title h3 {
        font-size:22px;
    }

    .board-header .board-date {
        display:none;
    }

    .board-tday {
        grid-template-columns: 1fr;
    }

    .board-date {
        text-align: left;
    }
    

}





/* -------- 768px --------*/
@media screen and (max-width: 768px) {


    .sub-title h2 {
        font-size:42px;
    }
    .sub-title p {
        font-size:22px;
        letter-spacing: 0.07em;
    }
    .sub-title {
        gap:5px;
        margin-bottom:50px;
    }
    
    .sub-subtitle {
        font-size:26px;
    }



    /* 게시판  */

    .board-detail-header,.board-detail-content {
        padding:40px 40px;
    }

    .board-header, .board-row {
        padding: 20px 20px;
    }

    .board-detail-date, .board-detail-views {
        font-size:16px;
    }

    .board-detail-con p,.board-detail-label,.board-detail-link {
        font-size:16px;
    }
    
    .board-detail-btn {
        padding:10px 20px;
    }
    
    .board-detail-navigation {
        padding:30px 40px;
    }




}


/* -------- 600px --------*/
@media screen and (max-width: 600px) {


    .board-detail-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .board-detail-label {
        min-width:unset;
        margin-right:0;
    }





    

}




/* -------- 480px --------*/
@media screen and (max-width: 480px) {

    .sub-title h2 {
        font-size:36px;
    }

    .board-detail-header, .board-detail-content {
        padding:30px 30px;
    }

    .board-detail-header {padding:30px 30px !important;}
    
    .board-detail-navigation {
        padding:12px;
    }

    .board-detail-btn {
        padding:7px 15px;
    }

    .board-detail-button {
        padding-top:12px;
    }

    .board-detail-list {
        margin-bottom:12px;
    }


}

/* -------- 350px --------*/
@media screen and (max-width: 350px) {

    

}






