@charset "utf-8";


/* -------------------------------------------------------------
    0. 공통 컨테이너 & 서브 헤딩
   ------------------------------------------------------------- */
.board-content,
.sub-content,
.bbs-list,
.bbs-view,
.bbs-form,
.inquiry-content,
.inquiry-view-section {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;
    box-sizing: border-box;
    color: #333333;
    font-family: 'Wanted Sans', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}

.board-content .inner,
.sub-content .inner,
.inquiry-content .inner,
.inquiry-view-section .inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}



/* -------------------------------------------------------------
    1. 테이블형 게시판 목록 (공지사항, 채용, 문의하기)
   ------------------------------------------------------------- */
.board-list-wrap {
    width: 100%;
    margin-bottom: 40px;
    overflow-x: auto;
}

table.board-list,
.bbs-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 2px solid #222222;
    text-align: center;
    background: #ffffff;
}

table.board-list caption {
    display: none;
}

table.board-list thead tr {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    height: 58px;
}

table.board-list thead th {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    padding: 0 10px;
    text-align: center;
    vertical-align: middle;
    letter-spacing: -0.02em;
}

table.board-list tbody tr {
    border-bottom: 1px solid #eeeeee;
    height: 64px;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

table.board-list tbody tr:hover {
    background-color: #fafafa;
}

table.board-list td {
    font-size: 15px;
    color: #555555;
    padding: 0 10px;
    vertical-align: middle;
    letter-spacing: -0.01em;
}

/* 번호 컬럼 */
table.board-list td.board-num {
    color: #888888;
    font-family: "Wanted Sans", Pretendard, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

/* 제목 컬럼 */
table.board-list td.board-title {
    text-align: left;
    padding-left: 20px !important;
    font-weight: 500;
    font-size: 16px;
    color: #222222;
}

table.board-list td.board-title a {
    color: #222222;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s ease;
}

table.board-list td.board-title a:hover,
table.board-list td.board-title a:hover .board-subject {
    color: #1FB330;
}

/* 작성자 컬럼 */
table.board-list td.board-writer {
    text-align: center;
    color: #777777;
    font-size: 15px;
}

/* 등록일 컬럼 */
table.board-list td.board-date {
    text-align: center;
    color: #888888;
    font-family: "Wanted Sans", Pretendard, sans-serif;
    font-size: 15px;
}

/* 자물쇠 아이콘 & 첨부파일 아이콘 */
.board-lock-icon {
    font-size: 14px;
    color: #888888;
    margin-right: 4px;
}

.file-icon {
    color: #999999;
    font-size: 13px;
    margin-left: 6px;
}

.board-empty-row td {
    padding: 80px 0 !important;
    text-align: center;
    color: #888888;
    font-size: 16px;
}

/* -------------------------------------------------------------
    2. 상태 뱃지 (채용 상태, 공지 뱃지, 답변 상태)
   ------------------------------------------------------------- */
.career-badge,
.label-answer,
.qna-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    vertical-align: middle;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    margin-right: 8px;
    letter-spacing: -0.02em;
}

.career-badge.ing,
.label-answer.Y,
.qna-status.is-done {
    background-color: #E8F5E9 !important;
    color: #1FB330 !important;
}

.career-badge.end,
.label-answer.N,
.qna-status.is-wait {
    background-color: #F3F4F6 !important;
    color: #888888 !important;
}

.career-badge.default {
    background-color: #E8F5E9 !important;
    color: #1FB330 !important;
}

.qna-type {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #666666;
    margin-right: 6px;
}

.notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background-color: #E03E3E;
    letter-spacing: -0.2px;
}

/* 상단 검색바 공통 (Q&A, 홍보자료실 등) */
.board-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.board-top .board-count {
    font-size: 15px;
    color: #666666;
    margin: 0;
}

.board-top .board-count strong {
    color: #1FB330;
    font-weight: 700;
}

.board-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.board-search .select-wrap select,
.board-search select {
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    background: #ffffff;
    color: #333333;
}

.board-search input[type="text"] {
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
    box-sizing: border-box;
}

.board-search button {
    height: 42px;
    padding: 0 20px;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.board-search button:hover {
    background: #1FB330;
}


/* 작성중일때 */
.write-form label{
    font-family: 'Pretendard';
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.write-row  {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.write-row  label{
    width: 150px;
}
.write-row > .write-field{
    width: 100%;
}

#cke_board_content{
    width: 100%;
}

/* 업로드영역 */

.upload-guide-text{
    font-size: 0.8em;
}

.upload-btn{text-align: right;}


/* 최하단 */
.bbs-form-foot{
    text-align: center;
}

.bbs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 48px;
    min-width: 120px;
    padding: 0 20px;
    border: 1px solid #333333;
    background: #ffffff;
    color: #222222;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    gap: 8px;
    transition: all 0.2s ease;
}

.bbs-btn:hover {
    background: #222222;
    color: #ffffff;
    border-color: #222222;
}

/* -------------------------------------------------------------
    3. 4열 갤러리 카드 그리드 (미디어 자료실: 영상자료실 / 사진자료실, 보도자료)
   ------------------------------------------------------------- */

/* 2개 탭메뉴 (영상자료실 / 사진자료실 - 발간도서 탭 스타일) */
.media-sub-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.media-tabs-wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.media-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}

.media-tab-item {
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    height: 52px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.media-tab-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    padding: 0 10px;
    letter-spacing: -0.3px;
    transition: all 0.15s ease;
}

.media-tab-item:hover {
    background: #f8f9fa;
}

.media-tab-item:hover a {
    color: #1FB330;
}

.media-tab-item.active {
    background: #1FB330 !important;
    border-color: #1FB330 !important;
}

.media-tab-item.active a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* 갤러리 상단 정보 (총 개수 + 검색 폼) */
.gallery-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-count-info {
    font-size: 14px;
    color: #666666;
}

.gallery-count-info .count-num {
    color: #1FB330;
    font-weight: 700;
}

.gallery-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-search-select {
    height: 40px;
    padding: 0 32px 0 14px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.gallery-search-input-wrap {
    display: flex;
    align-items: center;
    position: relative;
}

.gallery-search-input {
    height: 40px;
    width: 240px;
    padding: 0 42px 0 14px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background: #ffffff;
    box-sizing: border-box;
}

.gallery-search-input:focus,
.gallery-search-select:focus {
    border-color: #1FB330;
    outline: none;
}

.gallery-search-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 40px;
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.gallery-search-submit:hover {
    color: #1FB330;
}

.media-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 24px;
    margin-bottom: 50px;
    width: 100%;
}

.media-card,
.gallery-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.media-thumb,
.gallery-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f8fafc;
    border: 1px solid #eeeeee;
    border-radius: 2px;
    overflow: hidden;
}

.media-thumb img,
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.media-card:hover .media-thumb img,
.gallery-card:hover .gallery-thumb img {
    transform: scale(1.05);
}

.media-info,
.gallery-info {
    padding: 14px 2px 0;
    display: flex;
    flex-direction: column;
}

.media-info strong,
.gallery-info .title {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    line-height: 1.45;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 46px;
    word-break: keep-all;
    transition: color 0.2s ease;
}

.media-card:hover .media-info strong,
.gallery-card:hover .gallery-info .title {
    color: #1FB330;
}

.media-info span,
.gallery-info .date {
    font-size: 14px;
    color: #888888;
    font-family: "Wanted Sans", Pretendard, sans-serif;
}

/* -------------------------------------------------------------
    4. 게시판 상세 뷰 (공지사항, 채용, 보도자료)
   ------------------------------------------------------------- */
.board-view-box,
.inquiry-view-box {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.board-view-head {
    border-top: 2px solid #222222;
    border-bottom: 1px solid #e5e5e5;
    padding: 24px 20px;
    position: relative;
    background: #ffffff;
}

.board-view-head::before {
    display: none !important;
    content: none !important;
}

.board-view-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.board-view-title {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    line-height: 1.4;
    margin: 0;
    word-break: keep-all;
}

.board-view-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #888888;
    font-family: "Wanted Sans", Pretendard, sans-serif;
}

.board-view-meta .meta-item strong {
    color: #333333;
    font-weight: 500;
    margin-left: 4px;
}

.board-view-meta .sep {
    color: #dddddd;
}

/* 첨부파일 바 */
.board-file-wrap {
    border-bottom: 1px solid #eeeeee;
    background: #fafafa;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.board-file-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.board-file-bar .file-label {
    color: #666666;
    font-weight: 600;
    min-width: 60px;
}

.board-file-bar .file-link {
    color: #333333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.board-file-bar .file-link:hover {
    color: #1FB330;
    text-decoration: underline;
}

.board-file-bar i {
    color: #888888;
    font-size: 14px;
}

/* 본문 내용 */
.board-view-cont {
    padding: 40px 20px;
    min-height: 250px;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    word-break: keep-all;
}

.board-view-cont img {
    max-width: 100%;
    height: auto;
}

/* 이전글 / 다음글 네비게이션 */
.board-nav-list {
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
    margin-top: 50px;
}

.board-nav-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    font-size: 15px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}

.board-nav-item + .board-nav-item {
    border-top: 1px solid #eeeeee;
}

.board-nav-item:hover {
    background-color: #fafafa;
}

.board-nav-item .nav-dir {
    color: #888888;
    font-weight: 600;
    width: 90px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.board-nav-item .nav-subject {
    color: #222222;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.board-nav-item .nav-subject:hover {
    color: #1FB330;
}

.board-nav-item .nav-subject.is-none {
    color: #aaaaaa;
}

/* =============================================================
   공통 버튼 시스템 (Board Buttons & Actions)
   ============================================================= */
.board-btn,
.bbs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 48px;
    min-width: 120px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    gap: 8px;
    margin: 0;
    transition: all 0.2s ease;
    vertical-align: middle;
}

/* 중앙 하단 액션 버튼 영역 (상세보기 하단) */
.board-actions-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.board-actions-admin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.board-actions-center .board-btn,
.board-actions-center .btn-back,
.board-actions-admin .board-btn {
    min-width: 120px;
    height: 48px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 목록 버튼 (기본 검정 배경) */
.board-btn.is-list-center,
.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 48px;
    min-width: 120px;
    padding: 0 20px;
    border: 1px solid #222222;
    background: #222222;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    gap: 8px;
    transition: all 0.2s ease;
}

.board-btn.is-list-center:hover,
.btn-back:hover {
    background: #1FB330;
    border-color: #1FB330;
    color: #ffffff;
}

/* -------------------------------------------------------------
    5. 문의하기 (Inquiry Styles - Form, Lock, Detail View)
   ------------------------------------------------------------- */
.inquiry-page-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin-top: 10px;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.inquiry-write-section,
.inquiry-view-section,
.inquiry-lock-section {
    padding-bottom: 80px;
}

.inquiry-form-box,
.inquiry-view-box {
    max-width: 1000px;
    margin: 0 auto;
}

/* 문의하기 작성 폼 */
.inquiry-form-table {
    border-top: 2px solid #222222;
    border-bottom: 1px solid #222222;
    background: #ffffff;
}

.inquiry-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #eeeeee;
}

.inquiry-row-1col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid #eeeeee;
}

.inquiry-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inquiry-label {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 4px;
}

.inquiry-label .required {
    color: #1FB330;
    font-weight: 700;
}

.inquiry-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 15px;
    color: #333333;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-input:focus {
    border-color: #1FB330;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 75, 158, 0.1);
}

.inquiry-input::placeholder {
    color: #aaaaaa;
    font-size: 14px;
}

.inquiry-textarea {
    width: 100%;
    min-height: 200px;
    padding: 16px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-textarea:focus {
    border-color: #1FB330;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 75, 158, 0.1);
}

.inquiry-textarea::placeholder {
    color: #aaaaaa;
    font-size: 14px;
}

/* 문의 답변 표시 */
.inquiry-answer-date {
    font-size: 13px;
    font-weight: 400;
    color: #888888;
}

.inquiry-answer-box {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid #d7f0dc;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    background: #f4fbf5;
    box-sizing: border-box;
    white-space: normal;
}

/* 첨부파일 커스텀 컴포넌트 */
.inquiry-file-component {
    display: flex;
    align-items: center;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
    height: 48px;
    overflow: hidden;
    box-sizing: border-box;
}

.inquiry-file-btn {
    height: 100%;
    padding: 0 24px;
    background: #ffffff;
    border: none;
    border-right: 1px solid #dddddd;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.inquiry-file-btn:hover {
    background-color: #f8f9fa;
}

.inquiry-file-hidden {
    display: none !important;
}

.inquiry-file-display {
    padding: 0 16px;
    font-size: 14px;
    color: #aaaaaa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 0 1 auto;
    max-width: 55%;
}

.inquiry-file-display.has-file {
    color: #333333;
    font-weight: 500;
}

.inquiry-file-spacer {
    flex: 1;
}

.inquiry-file-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #f1f3f5;
    color: #888888;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.inquiry-file-remove:hover {
    background-color: #feb2b2;
    color: #c53030;
}

.inquiry-file-remove.hidden {
    display: none;
}

.inquiry-file-help {
    font-size: 13px;
    color: #888888;
    margin-top: 8px;
    margin-bottom: 0;
}

/* 개인정보 수집 및 이용 안내 */
.inquiry-privacy-section {
    margin-top: 40px;
}

.inquiry-privacy-title {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 14px;
}

.inquiry-privacy-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 24px;
    font-size: 13px;
    line-height: 1.7;
    color: #666666;
    max-height: 170px;
    overflow-y: auto;
}

.inquiry-privacy-box strong {
    color: #222222;
    font-weight: 600;
}

.inquiry-privacy-agree {
    margin-top: 16px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eeeeee;
}

.privacy-agree-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    user-select: none;
}

.privacy-agree-label .custom-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #111;
    cursor: pointer;
    margin: 0;
}

/* 문의하기 작성 폼 버튼 */
.inquiry-form-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

.inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 50px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.inquiry-btn.is-cancel {
    background: #ffffff;
    border: 1px solid #333333;
    color: #333333;
}

.inquiry-btn.is-cancel:hover {
    background: #f4f4f4;
}

.inquiry-btn.is-submit {
    background: #111;
    border: 1px solid #111;
    color: #ffffff;
}

.inquiry-btn.is-submit:hover {
    background: #111;
    border-color: #111;
}

/* 문의하기 비밀번호 확인 모달 (Lock Modal) */
.inquiry-lock-modal-wrap {
    max-width: 440px;
    margin: 60px auto;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 36px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    text-align: center;
}

.inquiry-lock-modal-wrap .lock-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #888888;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
}

.inquiry-lock-modal-wrap .lock-close-btn:hover {
    color: #222222;
}

.inquiry-lock-title {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.inquiry-lock-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 24px;
}

.inquiry-lock-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 15px;
    color: #333333;
    box-sizing: border-box;
    margin-bottom: 24px;
    transition: border-color 0.2s ease;
}

.inquiry-lock-input:focus {
    border-color: #2E4B9E;
    outline: none;
}

.inquiry-lock-actions {
    display: flex;
    gap: 10px;
}

.inquiry-lock-actions .board-btn {
    flex: 1;
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.inquiry-lock-actions .btn-lock-cancel {
    background: #ffffff;
    border: 1px solid #dddddd;
    color: #333333;
}

.inquiry-lock-actions .btn-lock-cancel:hover {
    background: #f8f9fa;
}

.inquiry-lock-actions .btn-lock-submit {
    background: #2E4B9E;
    border: 1px solid #2E4B9E;
    color: #ffffff;
}

.inquiry-lock-actions .btn-lock-submit:hover {
    background: #223877;
    border-color: #223877;
}

/* 문의하기 상세 뷰 (Inquiry Detail View) */
.inquiry-detail-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #222222;
    border-bottom: 1px solid #222222;
    margin-bottom: 40px;
    background: #ffffff;
}

.inquiry-detail-table th {
    width: 140px;
    background: #ffffff;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
    vertical-align: top;
}

.inquiry-detail-table td {
    padding: 18px 20px;
    font-size: 15px;
    color: #333333;
    border-bottom: 1px solid #eeeeee;
    vertical-align: top;
    line-height: 1.6;
}

.inquiry-detail-table td.inquiry-content-text {
    min-height: 140px;
    line-height: 1.8;
}

.file-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2E4B9E;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.file-download-link:hover {
    text-decoration: underline;
}

.file-download-link i {
    font-size: 13px;
}

.inquiry-answer-section {
    border-top: 1px solid #eeeeee;
    padding-top: 30px;
    margin-top: 20px;
}

.inquiry-answer-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.inquiry-answer-head .answer-title {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
}

.inquiry-answer-head .career-badge.ing {
    background: #FEE2E2;
    color: #EF4444;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.inquiry-answer-head .career-badge.end {
    background: #F3F4F6;
    color: #6B7280;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.inquiry-answer-box {
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 20px;
}

.inquiry-answer-file-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #eeeeee;
}

.inquiry-answer-file-row .file-label {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    min-width: 80px;
}

/* -------------------------------------------------------------
    6. 페이지네이션 (Pagination)
   ------------------------------------------------------------- */
.board-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 50px;
    min-height: 48px;
}

.pagination,
.board-paging,
.adm-pagination,
.notice-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 숫자 링크 및 버튼 공통 기본 */
.board-paging a.page-num,
.board-paging span.page-num,
.board-paging strong.page-num,
.pagination a,
.pagination .page-link,
.pagination span,
.adm-pagination a.adm-pagebtn,
.adm-pagination .adm-pagebtn,
.notice-page {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 24px !important;
    height: 28px !important;
    color: #666666 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: "Wanted Sans", Pretendard, sans-serif !important;
    text-decoration: none !important;
    padding: 0 4px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
}

.board-paging a.page-num:hover,
.pagination a:hover,
.pagination .page-link:hover,
.adm-pagination a.adm-pagebtn:hover,
.notice-page:hover {
    color: #111111 !important;
}

/* Active 된 페이지: 컬러 변경(#1FB330) + 밑줄 */
.board-paging .page-num.active,
.board-paging .page-num.is-active,
.board-paging strong.page-num,
.pagination strong,
.pagination .active,
.pagination .active .page-link,
.pagination span.current,
.adm-pagination .adm-pagebtn.is-active,
.notice-page.active {
    position: relative !important;
    color: #1FB330 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: default !important;
}

.board-paging .page-num.active::after,
.board-paging .page-num.is-active::after,
.board-paging strong.page-num::after,
.pagination strong::after,
.pagination .active::after,
.pagination .active .page-link::after,
.pagination span.current::after,
.adm-pagination .adm-pagebtn.is-active::after,
.notice-page.active::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: -3px !important;
    transform: translateX(-50%) !important;
    width: 14px !important;
    height: 2px !important;
    background: #1FB330 !important;
    border-radius: 1px !important;
    display: block !important;
}

/* 화살표 버튼 (< >) */
.board-paging .page-btn,
.notice-page-arrow,
.adm-pagination .adm-pagebtn--prev,
.adm-pagination .adm-pagebtn--next {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 28px !important;
    color: #666666 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color 0.15s ease, opacity 0.15s ease !important;
}

.board-paging .page-btn svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

.board-paging .page-btn:hover:not(.is-disabled):not(.disabled) {
    color: #111111 !important;
}

/* 1페이지이거나 비활성화된 화살표 */
.board-paging .page-btn.is-disabled,
.board-paging .page-btn.disabled,
.board-paging span.page-btn {
    color: #cccccc !important;
    opacity: 0.6 !important;
    cursor: default !important;
    pointer-events: none !important;
}

.notice-page-arrow.prev,
.adm-pagination .adm-pagebtn--prev {
    background-image: url('/images/layout/page-arrow-left.svg') !important;
    margin-right: 6px !important;
}

.notice-page-arrow.next,
.adm-pagination .adm-pagebtn--next {
    background-image: url('/images/layout/page-arrow-right.svg') !important;
    margin-left: 6px !important;
}

.board-actions-list {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.board-btn.is-write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-width: 120px;
    padding: 0 24px;
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    cursor: pointer;
}

.board-btn.is-write:hover {
    background: #1FB330;
    border-color: #1FB330;
    color: #ffffff;
}

/* 어드민 접속중 및 상세 페이지 수정/삭제 버튼 */
.board-btn.is-edit,
.board-btn.is-delete,
.board-btn.is-small,
.board-btn.is-secondary,
.bbs-btn.bbs-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 48px;
    min-width: 120px;
    padding: 0 20px;
    border: 1px solid #333333;
    background: #ffffff;
    color: #222222;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    gap: 8px;
    margin: 0;
    transition: all 0.2s ease;
}

.board-btn.is-edit:hover,
.board-btn.is-small:hover,
.board-btn.is-secondary:hover,
.bbs-btn.bbs-btn-secondary:hover {
    background: #222222;
    color: #ffffff;
    border-color: #222222;
}

.board-btn.is-delete:hover {
    background: #e53935;
    color: #ffffff;
    border-color: #e53935;
}



/* -------------------------------------------------------------
    8. 발간도서 게시판 (Book / Publication Skin - _39 ~ _44)
   ------------------------------------------------------------- */
.book-list-section,
.book-view-section {
    padding-bottom: 80px;
}

.book-sub-header {
    margin-bottom: 40px;
}

/* 6개 탭메뉴 (충북학, 충북테마기행, 충북학총서, 충북의 인물, 100년전 충북의 옛모습, 기타 자료) */
.book-tabs-wrap {
    width: 100%;
    margin-bottom: 40px;
}

.book-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}

.book-tab-item {
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    height: 52px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.book-tab-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    padding: 0 10px;
    letter-spacing: -0.3px;
    transition: all 0.15s ease;
}

.book-tab-item:hover {
    background: #f8f9fa;
}

.book-tab-item:hover a {
    color: #1FB330;
}

.book-tab-item.active {
    background: #1FB330 !important;
    border-color: #1FB330 !important;
}

.book-tab-item.active a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* 상단 게시물 수 & 검색 폼 바 */
.book-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #222222;
    margin-bottom: 36px;
}

.book-count-info {
    font-size: 15px;
    color: #555555;
    font-weight: 500;
}

.book-count-info .count-num {
    color: #1FB330;
    font-weight: 700;
}

.book-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-search-select {
    height: 42px;
    padding: 0 32px 0 14px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

.book-search-select:focus {
    border-color: #1FB330;
    outline: none;
}

.book-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.book-search-input {
    width: 240px;
    height: 42px;
    padding: 0 40px 0 14px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    box-sizing: border-box;
}

.book-search-input:focus {
    border-color: #1FB330;
    outline: none;
}

.book-search-input::placeholder {
    color: #aaaaaa;
    font-size: 13px;
}

.book-search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777777;
    font-size: 15px;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-search-submit:hover {
    color: #1FB330;
}

/* 2열 그리드 도서 카드 목록 */
.book-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 30px;
}

.book-card-item {
    display: flex;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eeeeee;
    align-items: stretch;
}

.book-card-thumb {
    width: 140px;
    min-width: 140px;
    height: 195px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    display: block;
    background: #f8f9fa;
    box-sizing: border-box;
}

.book-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.book-card-item:hover .book-card-thumb img {
    transform: scale(1.04);
}

.book-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.book-card-num {
    display: block;
    font-size: 13px;
    color: #888888;
    font-weight: 500;
    margin-bottom: 6px;
}

.book-card-title {
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.book-card-title a {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.book-card-title a:hover {
    color: #1FB330;
}

.book-card-title .title-icon {
    font-size: 13px;
    color: #666666;
}

.book-card-meta {
    font-size: 13px;
    color: #666666;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

.book-card-meta .meta-label {
    color: #555555;
    font-weight: 500;
}

.book-card-meta .meta-val {
    color: #444444;
}

.book-card-date {
    font-size: 13px;
    color: #888888;
    margin: 0;
}

.book-empty-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: #888888;
    font-size: 15px;
}

/* -------------------------------------------------------------
    발간도서 작성 / 수정 폼 (Book Write / Edit Form)
   ------------------------------------------------------------- */
.book-form-section {
    padding-bottom: 80px;
    margin-top: 10px;
}

.book-form-box {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.book-form-table {
    border-top: 2px solid #222222;
    border-bottom: 1px solid #222222;
    background: #ffffff;
}

.book-textarea {
    min-height: 160px;
}

.book-form-table label[for="extraToc"] {
    color: #0357A2;
    font-weight: 800;
}

.book-captcha-component {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-badge {
    min-width: 130px;
    height: 48px;
    background: #f1f3f5;
    border: 1px solid #dddddd;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 3px;
    color: #222222;
    user-select: none;
    overflow: hidden;
}

.captcha-badge img {
    height: 100%;
    width: auto;
    display: block;
}

.book-captcha-input {
    flex: 1;
}

.book-form-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

/* -------------------------------------------------------------
    도서 상세 뷰 (Book Detail View)
   ------------------------------------------------------------- */
.book-view-box {
    width: 100%;
    margin-top: 10px;
}

.book-view-header {
    border-top: 2px solid #222222;
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.book-view-title {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px 0;
}

.book-view-meta {
    font-size: 14px;
    color: #888888;
}

.book-view-meta .meta-sep {
    margin: 0 10px;
    color: #dddddd;
}

.book-view-file-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.book-view-file-bar .file-label {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
}

.book-view-file-bar .file-download-link {
    color: #2E4B9E;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.book-view-file-bar .file-download-link:hover {
    text-decoration: underline;
}

/* 도서 상세 2열 그리드 레이아웃 (좌: 표지 썸네일, 우: 정보영역 [메타박스 + 요약 + 목차]) */
.book-view-body-grid {
    display: flex;
    gap: 40px;
    margin: 36px 80px;
    align-items: flex-start;
}

.book-view-left-col {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 150px;
    align-self: flex-start;
    height: -moz-fit-content;
    height: fit-content;
    z-index: 10;
}

.book-view-cover {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #ffffff;
    box-sizing: border-box;
}

.book-view-cover img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    object-fit: contain;
}

.book-view-right-col {
    flex: 1;
    min-width: 0;
}

.book-view-meta-box {
    position: relative;
    background: #F7F8FA;
    border-radius: 4px;
    padding: 20px 24px 20px 28px;
    box-sizing: border-box;
    margin-bottom: 28px;
}

.book-view-meta-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    background-color: #40AEC9;
    border-radius: 2px;
}

.book-meta-table {
    width: 100%;
    border-collapse: collapse;
}

.book-meta-table th {
    width: 110px;
    padding: 5px 0;
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    text-align: left;
    vertical-align: middle;
}

.book-meta-table td {
    padding: 5px 0;
    font-size: 15px;
    color: #555555;
    vertical-align: middle;
    line-height: 1.5;
}

/* 요약 & 목차 섹션 */
.book-section-block {
    margin-top: 28px;
}

.book-section-block + .book-section-block {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px dotted #BBBBBB;
}

.book-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0357A2;
    margin-bottom: 12px;
}

.book-section-content {
    font-size: 14px;
    line-height: 1.85;
    color: #444444;
    word-break: keep-all;
}

.book-view-main-content {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px dotted #BBBBBB;
    font-size: 15px;
    line-height: 1.8;
    color: #444444;
}

/* -------------------------------------------------------------
    인터랙티브 전자책 / PDF 뷰어 프레임 (PDF Viewer Container)
   ------------------------------------------------------------- */
.book-pdf-viewer {
    margin: 40px 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.book-pdf-viewer iframe {
    display: block;
    width: 100%;
    height: 800px;
    border: none;
}

/* -------------------------------------------------------------
    게시판 첨부파일 100% 바 레이아웃 (Board Upload File Full Bar)
   ------------------------------------------------------------- */
.upload-control-box {
    width: 100%;
    margin-top: 15px;
}

.upload-rect {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.upload-guide-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666666;
}

.upload-guide-text i {
    color: #40AEC9;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.upload-btn:hover {
    background-color: #f8fafc;
    border-color: #1FB330;
    color: #1FB330;
}

.file-upload-box.attached-file-box {
    width: 100%;
    margin-top: 14px;
}

.file-upload-box.hidden {
    display: none !important;
}

.board-upload-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.board-upload-list__item {
    width: 100%;
    min-height: 48px;
    padding: 10px 18px;
    background-color: #fbfbfc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.board-upload-list__item:hover {
    background-color: #f4f6f8;
    border-color: #cbd5e1;
}

.board-upload-list__item .file-name-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.board-upload-list__item .file-icon {
    font-size: 14px;
    color: #718096;
    flex-shrink: 0;
}

.board-upload-list__link {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

a.board-upload-list__link:hover {
    color: #1FB330;
    text-decoration: underline;
}

.board-upload-list__delete {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    height: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #e53e3e;
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
    line-height: 1;
}

.board-upload-list__delete .del-icon {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.board-upload-list__delete:hover {
    background-color: #feb2b2;
    color: #c53030;
    border-color: #feb2b2;
}

.board-upload-list__item.is-deleted {
    background-color: #f7fafc;
    border-color: #edf2f7;
    opacity: 0.65;
}

.board-upload-list__item.is-deleted .board-upload-list__link {
    text-decoration: line-through;
    color: #a0aec0;
}

.board-upload-list__item.is-deleted .board-upload-list__delete {
    color: #4a5568;
    background-color: #edf2f7;
    border-color: #cbd5e0;
}

/* =============================================================
    반응형 미디어 쿼리 (Responsive Media Queries)
   ============================================================= */

/* -------------------------------------------------------------
    1. 대형 태블릿 (max-width: 1200px)
   ------------------------------------------------------------- */
@media (max-width: 1200px) {
    .media-grid,
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 20px;
    }

    .book-view-body-grid {
        margin: 30px 20px;
        gap: 36px;
    }

    .book-view-left-col {
        width: 240px;
        min-width: 240px;
        top: 130px;
    }
}

/* -------------------------------------------------------------
    2. 일반 태블릿 (max-width: 900px)
   ------------------------------------------------------------- */
@media (max-width: 900px) {
    .book-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    .book-view-body-grid {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 24px 0;
        gap: 24px;
    }

    .book-view-left-col {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
        position: static;
    }

    .book-view-right-col {
        width: 100%;
        min-width: 0;
    }

    .book-view-meta-box {
        width: 100%;
        box-sizing: border-box;
    }
}

/* -------------------------------------------------------------
    3. 모바일 & 소형 태블릿 (max-width: 768px)
   ------------------------------------------------------------- */
@media (max-width: 768px) {
    .board-heading {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .board-content,
    .sub-content,
    .inquiry-content,
    .inquiry-view-section,
    .book-list-section,
    .book-view-section,
    .book-form-section {
        padding-bottom: 50px;
    }

    /* 공통 테이블형 게시판 (공지사항, 채용/일반, 문의하기, Q&A 등) 모바일 카드/리스트 변환 */
    .board-list-wrap {
        margin-bottom: 24px;
        overflow-x: visible;
    }

    table.board-list {
        display: block;
        width: 100%;
        border-top: 2px solid #222222;
        border-collapse: separate;
    }

    table.board-list colgroup,
    table.board-list thead {
        display: none !important;
    }

    table.board-list tbody {
        display: block;
        width: 100%;
    }

    table.board-list tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 16px 8px;
        height: auto;
        min-height: auto;
        border-bottom: 1px solid #eeeeee;
        position: relative;
        text-align: left;
        cursor: pointer;
    }

    table.board-list tbody tr:active {
        background-color: #f7f7f7;
    }

    /* 번호 컬럼: 모바일에서는 숨김 */
    table.board-list td.board-num {
        display: none !important;
    }

    /* 상태 / 카테고리 컬럼 */
    table.board-list td.board-status {
        display: inline-flex;
        align-items: center;
        padding: 0;
        margin-bottom: 6px;
        margin-right: 6px;
        width: auto;
    }

    table.board-list td.board-category {
        display: inline-flex;
        align-items: center;
        padding: 0;
        margin-bottom: 6px;
        width: auto;
    }

    /* 제목 컬럼: 100% 전체 너비 차지 & 자연스러운 줄바꿈 */
    table.board-list td.board-title {
        display: block;
        width: 100%;
        padding: 0 !important;
        margin-bottom: 8px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.45;
        color: #222222;
        text-align: left;
    }

    table.board-list td.board-title a {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        width: 100%;
        color: #222222;
        text-decoration: none;
    }

    table.board-list td.board-title .board-subject {
        font-size: 15px;
        font-weight: 600;
        color: #222222;
        word-break: break-all;
    }

    /* 뱃지 크기 모바일 미세조정 */
    .career-badge,
    .notice-badge,
    .qna-status {
        font-size: 11px;
        padding: 0 8px;
        height: 22px;
        line-height: 22px;
        border-radius: 999px;
        margin-right: 6px;
        flex-shrink: 0;
    }

    .notice-badge {
        border-radius: 4px;
    }

    /* 작성자 및 등록일 컬럼: 하단에 가로로 나란히 표시 */
    table.board-list td.board-writer,
    table.board-list td.board-date {
        display: inline-flex;
        align-items: center;
        padding: 0;
        font-size: 13px;
        color: #888888;
        line-height: 1.2;
        text-align: left;
        width: auto;
    }

    table.board-list td.board-writer::after {
        content: "·";
        display: inline-block;
        margin: 0 6px;
        color: #cccccc;
        font-weight: bold;
    }

    /* 빈 게시물 안내 행 */
    table.board-list tbody tr.board-empty-row {
        display: block;
        padding: 50px 0;
        text-align: center;
    }

    table.board-list tbody tr.board-empty-row td {
        display: block;
        width: 100%;
        padding: 0;
    }

    /* 상단 검색바 모바일 */
    .board-top {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 20px;
    }

    .board-search {
        width: 100%;
        display: flex;
        gap: 6px;
    }

    .board-search .select-wrap select,
    .board-search select {
        height: 40px;
        font-size: 13px;
    }

    .board-search input[type="text"] {
        flex: 1;
        min-width: 0;
        height: 40px;
        font-size: 13px;
    }

    .board-search button {
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }


    /* 미디어 자료실 (영상자료실 / 사진자료실) */
    .media-sub-header {
        margin-bottom: 24px;
    }

    .media-tabs-wrap {
        max-width: 100%;
    }

    .media-tab-item {
        height: 46px;
    }

    .media-tab-item a {
        font-size: 14px;
        padding: 0 10px;
    }

    .gallery-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 24px;
    }

    .gallery-search-box,
    .gallery-search-form {
        width: 100%;
    }

    .gallery-search-input-wrap {
        flex: 1;
    }

    .gallery-search-input {
        width: 100%;
    }

    .media-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
        margin-bottom: 36px;
    }

    .media-info strong,
    .gallery-info .title {
        font-size: 14px;
        min-height: 40px;
    }

    /* 발간도서 목록 */
    .book-tabs-wrap {
        margin-bottom: 24px;
    }

    .book-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    .book-tab-item {
        height: 46px;
    }

    .book-tab-item a {
        font-size: 13px;
        padding: 0 4px;
    }

    .book-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 24px;
    }

    .book-search-box,
    .book-search-form {
        width: 100%;
    }

    .book-search-input-wrap {
        flex: 1;
    }

    .book-search-input {
        width: 100%;
    }

    .book-grid-list {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .book-card-item {
        gap: 16px;
        padding-bottom: 16px;
    }

    .book-card-thumb {
        width: 110px;
        min-width: 110px;
        height: 155px;
    }

    .book-card-title a {
        font-size: 16px;
    }

    /* 발간도서 상세 뷰 */
    .book-view-header {
        padding: 20px 10px 16px;
    }

    .book-view-title {
        font-size: 19px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .book-view-meta {
        font-size: 12px;
    }

    .book-view-file-bar {
        padding: 12px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .book-view-body-grid {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 20px 0;
        gap: 24px;
    }

    .book-view-left-col {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
        position: static;
    }

    .book-view-right-col {
        width: 100%;
        min-width: 0;
    }

    .book-view-meta-box {
        width: 100%;
        box-sizing: border-box;
        padding: 16px 16px 16px 20px;
        margin-bottom: 20px;
    }

    .book-meta-table {
        width: 100%;
    }

    .book-meta-table th {
        width: 90px;
        font-size: 13px;
        padding: 5px 0;
        white-space: nowrap;
    }

    .book-meta-table td {
        font-size: 13px;
        padding: 5px 0;
        word-break: break-word;
    }

    .book-section-block {
        width: 100%;
        box-sizing: border-box;
        margin-top: 22px;
    }

    .book-section-block + .book-section-block {
        margin-top: 22px;
        padding-top: 22px;
    }

    .book-section-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .book-section-content {
        width: 100%;
        box-sizing: border-box;
        font-size: 13px;
        line-height: 1.75;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .book-view-main-content {
        width: 100%;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 1.75;
        margin-top: 22px;
        padding-top: 22px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* PDF 뷰어 프레임 */
    .book-pdf-viewer {
        margin: 24px 0;
    }

    .book-pdf-viewer iframe {
        height: 500px;
    }

    /* 일반/공지/채용/문의 상세보기 모바일 */
    .board-view-head {
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .board-view-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .board-view-meta {
        flex-wrap: wrap;
        gap: 8px 12px;
        font-size: 13px;
    }

    .board-file-wrap {
        padding: 10px 14px;
        margin-bottom: 20px;
    }

    .board-file-bar {
        font-size: 13px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .board-view-cont {
        padding: 24px 8px;
        font-size: 15px;
        min-height: 180px;
        line-height: 1.7;
    }

    .board-nav-list {
        margin-top: 30px;
    }

    .board-nav-item {
        padding: 12px 10px;
        font-size: 13px;
    }

    .board-nav-item .nav-dir {
        min-width: 56px;
        font-size: 12px;
    }

    .board-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
    }

    .board-actions-left,
    .board-actions-right {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .board-actions-left .board-btn,
    .board-actions-right .board-btn {
        flex: 1;
        min-width: 0;
        height: 44px;
        font-size: 14px;
    }

    .board-actions-center {
        margin-top: 30px;
        gap: 8px;
    }

    .board-actions-center .board-btn,
    .board-actions-center .btn-back,
    .board-actions-admin .board-btn,
    .board-btn.is-list-center,
    .board-btn.is-edit,
    .board-btn.is-delete {
        min-width: 90px;
        height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }

    .board-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 36px;
        width: 100%;
    }

    .board-actions-list {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .board-actions-list .board-btn.is-write,
    .board-actions-list .board-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 44px;
        font-size: 14px;
    }

    /* 발간도서 / 문의하기 작성 폼 */
    .inquiry-page-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .inquiry-row-2col {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 0;
    }

    .inquiry-row-1col {
        padding: 12px 0;
    }

    .inquiry-label {
        font-size: 14px;
    }

    .inquiry-input {
        height: 44px;
        font-size: 14px;
        padding: 0 12px;
    }

    .inquiry-textarea,
    .book-textarea {
        min-height: 130px;
        font-size: 14px;
        padding: 12px;
    }

    .inquiry-file-component {
        height: 44px;
    }

    .inquiry-file-btn {
        padding: 0 16px;
        font-size: 13px;
    }

    .inquiry-file-display {
        font-size: 13px;
        padding: 0 10px;
    }

    .book-captcha-component {
        flex-wrap: wrap;
        gap: 8px;
    }

    .captcha-badge {
        min-width: 110px;
        height: 44px;
        font-size: 16px;
    }

    .book-captcha-input {
        width: 100%;
    }

    .inquiry-form-actions,
    .book-form-actions {
        width: 100%;
        gap: 10px;
        margin-top: 24px;
    }

    .inquiry-btn {
        flex: 1;
        min-width: 0;
        height: 46px;
        font-size: 14px;
    }

    .inquiry-privacy-section {
        margin-top: 28px;
    }

    .inquiry-privacy-title {
        font-size: 16px;
    }

    .inquiry-privacy-box {
        padding: 16px;
        font-size: 12px;
        max-height: 140px;
    }

    .inquiry-detail-table th {
        width: 85px;
        padding: 12px 8px;
        font-size: 13px;
    }

    .inquiry-detail-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .inquiry-lock-modal-wrap {
        margin: 30px auto;
        padding: 24px 18px;
    }

    .board-upload-list__item {
        padding: 10px 12px;
        min-height: 44px;
        gap: 10px;
    }

    .board-upload-list__link {
        font-size: 13px;
    }

    .board-upload-list__delete {
        padding: 4px 8px;
        font-size: 12px;
        height: 28px;
    }
}

/* -------------------------------------------------------------
    4. 소형 모바일 (max-width: 480px)
   ------------------------------------------------------------- */
@media (max-width: 480px) {
    .book-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-tab-item a {
        font-size: 13px;
        padding: 0 6px;
    }

    .book-card-item {
        gap: 12px;
    }

    .book-card-thumb {
        width: 90px;
        min-width: 90px;
        height: 125px;
    }

    .book-card-title a {
        font-size: 15px;
    }

    .book-card-meta,
    .book-card-date {
        font-size: 12px;
    }

    .media-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .book-view-meta-box {
        padding: 14px 14px 14px 16px;
    }

    .book-meta-table th {
        width: 80px;
        font-size: 12.5px;
    }

    .book-meta-table td {
        font-size: 12.5px;
    }

    .book-pdf-viewer iframe {
        height: 400px;
    }

    .inquiry-detail-table th,
    .inquiry-detail-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .inquiry-answer-box {
        padding: 14px;
        font-size: 13px;
    }
}