@charset "utf-8";
/* 페이지네이션(#pagination / p.btn_page)은 공용 컴포넌트로 분리됨 → _modules/pagination/assets/pagination.css
 * (Board.php 생성자가 <head> 로 로드). 여기엔 board 리스트 레이아웃에 조합하는 .board-list-footer 만 남긴다. */

.board-list-footer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 24px;
    width: 100%;
    margin: 40px 0 30px
}

.board-list-footer.has-action {
    justify-content: space-between
}

.board-list-footer__action {
    display: flex;
    align-items: center;
    min-width: var(--btn-list-action-min-width, 162px)
}

.board-list-footer__action .btn {
    min-width: var(--btn-list-action-min-width, 162px)
}

.board-list-footer #pagination {
    justify-content: flex-end;
    width: auto;
    margin: 0
}

/* 총 개수(#list_total_count) + 검색폼(.board_search_form) 한 줄 배치 — 전 board 스킨 공용
   (basic·schedule 스킨 board.css 에 중복 정의돼 있던 것을 승격) */
.board-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin: 0 0 16px;
}

/* #list_total_count 기본값이 width:100%/clear:both/보더라 flex 안에서 깨짐 → 툴바 안에선 초기화 */
.board-toolbar #list_total_count {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

@media screen and (max-width: 700px) {
    .board-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ================================================================================
   게시판 리스트 테이블 — 전 board 스킨 공용 (basic 정본 이관, 2026-08-28)
   각 스킨 board.css 의 #board_list thead/tbody 중복 정의를 제거하고 여기 하나로 통일.
   스킨 고유값이 필요하면 스킨 board.css 에 modifier(더 높은 특이도)로만 둔다.
   ================================================================================ */
#board_list table {
    width: 100%;
    height: auto;
    border-collapse: collapse;
    border-width: 0;
    font-size: 12px;
    border-bottom: 1px solid var(--color-border-board-list);
    table-layout: fixed;
}

#board_list th {
    padding: 0 10px;
    box-sizing: border-box;
}

#board_list thead {
    height: 60px;
    background-color: #fff;
    border: 0;
    border-top: 2px solid var(--color-border-board-header);
    border-bottom: 1px solid var(--color-border-table);
}

#board_list thead th {
    line-height: 53px;
    height: 55px;
    color: var(--color-text-table-header);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .04em;
    white-space: nowrap;
}

#board_list tbody tr {
    color: var(--color-text-body);
}

#board_list tbody tr a {
    color: var(--color-text-title1);
}

#board_list tbody td {
    line-height: 24px;
    border-bottom: 1px solid var(--color-border-base);
    letter-spacing: -.02em;
    text-align: center;
    padding: 20px 8px;
    height: 45px;
    min-height: 45px;
    font-size: 17px;
    color: var(--color-text-body);
    font-weight: 500;
}

#board_list tbody td.txt_l {
    text-align: left !important;
}

#board_list td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 리스트 상태 태그 — book_schedule(예약상태)/basic(xm_a_3 진행상태) 등 post_apply_status를
 * 쓰는 여러 스킨이 공용으로 참조. 값-free 토큰만 사용해서 스킨별 값 중복 없이 여기 단일 소유 */
.status-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    word-break: break-all;
    text-align: center;
}

.status-tag--pending {
    background: var(--color-gray50);
    border: 1px solid var(--color-gray300);
    color: var(--color-text-muted);
}

.status-tag--approved {
    background: var(--color-primary);
}

.status-tag--cancelled {
    background: var(--color-secondary);
}

.status-tag--completed {
    background: var(--color-primary-pressed);
}

.board-notice-tag {
    display: flex;
    width: 67px;
    margin: 0 auto;
    padding: 6px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 30px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

#board_list tbody td a {
    color: var(--color-text-body);
    width: 100%;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#board_list tbody td img {
    vertical-align: middle;
}

/* ================================================================================
   레거시 ========================================================================
   ================================================================================ */

.tab_type {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    margin: 25px 0;
}

/* 데스크톱은 Figma(1494:38696)대로 항목 개수와 무관하게 한 줄에 균등폭으로 전부 배치
 * (grid-auto-flow:column + grid-auto-columns:1fr — 5개든 3개든 자동으로 그 개수만큼 열 생성).
 * 태블릿/모바일은 아래 미디어쿼리에서 explicit grid-template-columns로 전환해 줄바꿈 복귀 */
.tab_type ul.title_box {
    width: 100%;
    margin-bottom: 40px;
    height: inherit;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}

.tab_type ul.title_box li a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 68px;
    box-sizing: border-box;
    padding: 20px 15px;
    background: var(--color-white);
    border: 1px solid var(--color-border-header);
    font-size: 20px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-title1);
}

.tab_type ul.title_box li a.on {
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-title2);
}

.tab_type ul.title_box li a.on::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--color-primary);
}

.tab_type ul.title_box li a:hover {
    color: var(--color-text-title2);
}

a[href^=tel] {
    text-decoration: inherit;
    color: inherit;
}


/* board css */
/* 게시판공통 */
#board_basic {
    padding: 0;
    max-width: 1260px;
    margin: 0 auto;
}

/* textarea */
.textarea_type {
    position: relative;
    border: 1px solid #b7b7b7;
    border-right-color: #e1e1e1;
    border-bottom-color: #e1e1e1;
    background: #fff;
    font-size: 12px;
    font-family: 'Nanum Gothic';
    padding: 0 3px;
    -webkit-appearance: none;
    border-radius: 0;
    box-sizing: border-box
}

/* 레거시 스킨(form.html)의 .input_type — 사이트 basic.css의 input[type=text]와 동일 토큰.
 * 모바일 반응형(width: calc(100% - 146px))은 이 파일 뒤쪽에 이미 있음, 기본값만 여기 추가 */
.input_type {
    padding: 0 15px;
    font-size: 15px;
    height: var(--control-h-md);
    line-height: calc(var(--control-h-md) - 2px);
    background: var(--color-white);
    border: 1px solid var(--color-gray500);
    border-radius: 0;
    vertical-align: middle;
    box-sizing: border-box;
    box-shadow: none;
    color: var(--color-text-body)
}

.input_type:focus {
    border-color: var(--color-primary);
    outline: none
}

.input_type:disabled {
    background: var(--color-gray100)
}

.select_type {
    border-radius: 0;
    border: 1px solid var(--color-gray400);
    min-width: 100px;
    font-size: 14px;
    letter-spacing: -.04em;
    color: var(--color-text-body);
    font-weight: 400;
    text-align: left;
    vertical-align: top;
    height: 40px;
    line-height: 38px;
    padding: 0 6px;
    background: var(--color-white) url(/assets/img/select_arrow.png) right top no-repeat;
    text-indent: 3px
}

.wfull_95 {
    width: 90%
}

.wfull_100 {
    width: 100%
}

.post_thumb_preview {
    margin-bottom: 10px;
}

.post_thumb_preview_img {
    display: block;
    max-width: 300px;
    max-height: 200px;
    margin-bottom: 8px;
}

mark {
    background: #ff0;
    color: #000;
}

/* border_info */
#border_info {
    width: 100%;
    height: auto;
    line-height: 32px
}

#border_info p {
    color: var(--color-text-body);
    font-weight: 400;
    font-size: 15px
}

span.star {
    font-weight: 700;
    color: #e6224c;
    padding: 0 2px
}

/* 카운트 수 */
#list_total_count {
    padding-bottom: 8px;
    font-size: 14px;
    color: var(--color-text-title1);
    clear: both;
    width: 100%;
    line-height: 16px
}

#list_total_count span {
    padding-left: 5px
}

#list_total_count strong {
    color: var(--color-primary);
    font-weight: 700;
}

#list_total_count a.btn_rss {
    padding-left: 5px
}

/* 게시판 버튼 */
#board_btn,
#board_parent_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 20px
}

/* 버튼 그룹(목록/취소 ↔ 삭제/수정/답변) — 각 그룹 내부는 flex row */
#board_btn > div,
#board_parent_btn > div {
    display: flex;
    align-items: center;
    gap: 8px
}

/* 뷰 하단 목록/답변/수정/삭제 액션 버튼 최소 폭 (Figma 1139:34840 = w130) */
#board_btn .btn {
    min-width: var(--btn-list-action-min-width, 130px)
}

/* faq 리스트 하단 쓰기 버튼 줄 (구 .fr 대체) */
.board_btn {
    display: flex;
    justify-content: flex-end
}

/* board_basic */
#board_wrap {
    width: 100%;
    margin: 0 auto;
    height: auto;
    overflow: hidden
}

/* 게시판 쓰기 폼 표 골격 — book_schedule 스킨 전용이었던 걸 스킨 공용으로 승격 */
#board_write {
    width: 99.9%;
    clear: both;
    margin-bottom: 20px;
    border-top: 2px solid var(--color-border-board-header);
}

#board_write table {
    width: 100%;
    height: auto;
    border-collapse: collapse;
    border-width: 0;
    font-size: 13px;
    letter-spacing: -1px;
    text-align: left;
}

#board_write tbody tr {
    color: var(--color-text-body);
}

#board_write tbody tr a {
    padding-left: 4px;
    color: var(--color-text-link);
}

#board_write tbody th {
    padding: 0 0 0 7px;
    border-bottom: 1px solid var(--color-border-header);
    color: var(--color-gray800);
    font-size: 15px;
    font-weight: 500;
    line-height: 60px;
}

#board_write tbody td {
    padding: 6px 13px;
    border-bottom: 1px solid var(--color-border-header);
    border-left: 1px solid var(--color-border-base);
    font-size: 15px;
    letter-spacing: -0.02em;
    line-height: 22px;
}

#board_write tbody td .f_alert {
    display: block;
    padding: 5px 0 10px;
    color: var(--color-text-notice);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
}

#board_write .leftcell {
    border-left: 0 !important;
}

#board_write .rightcell {
    border-right: 0 !important;
}

#board_write label {
    font-size: var(--font-size-caption);
    font-weight: 500;
    letter-spacing: -1px;
}

#board_write th:first-child,
#board_write td:first-child {
    border-left: 0;
}

#board_write .input_box.select .select-box-wrap,
#bs_writer_name_label {
    min-width: 200px;
}

/* .select-box-wrap 전역 기본 높이(--control-h-xl)는 사이트 전체가 쓰는 값이라 안 건드리고,
 * 글쓰기 폼 안에서만 .input_type(--control-h-md)과 높이를 맞춘다 */
#board_write .input_box.select .select-box-wrap {
    height: var(--control-h-md);
}

#board_write .input_box.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

#board_write .input_box.checkbox label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

#board_write div.bbs_file_ctl {
    width: 100%;
    height: auto;
    overflow: hidden;
}

#bbs_file_add {
    display: none;
}

.bbs_file_add_label {
    display: block;
    width: 100%;
    color: var(--color-gray800);
    font-size: 2rem;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
    cursor: pointer;
}

.bbs_file_add_label::before {
    content: "+";
    display: inline-block;
    margin-right: 4px;
}

.bbs_file_add_label:hover {
    color: var(--color-text-notice);
}

.bbs_file_del_label {
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--color-gray300);
    transition: all 0.35s ease;
}

.bbs_file_del_label::before,
.bbs_file_del_label::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    background-color: var(--color-gray700);
    transition: all 0.35s ease;
}

.bbs_file_del_label::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.bbs_file_del_label::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.bbs_file_del_label:hover {
    background-color: var(--color-danger);
}

.bbs_file_del_label:hover::before,
.bbs_file_del_label:hover::after {
    background-color: var(--color-white);
}

.file_upload {
    display: none;
}

.file_upload_name {
    display: inline-block;
    flex-shrink: 0;
    width: 210px;
    height: 40px;
    overflow: hidden;
    background-color: var(--color-gray200);
    line-height: 40px;
    text-overflow: ellipsis;
}

.bbs_file_item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
    margin-bottom: 10px;
}

.bbs_file_item:last-child {
    margin-bottom: 0;
}

.bbs_file_item .file_info_text {
    flex: 1;
}

#captcha_chk_label {
    width: 50%;
}

#bbs_captcha_img {
    height: 40px;
    cursor: pointer;
}



.btn_basic {
    display: inline-block;
    font-weight: bold;
    background: #222;
    font-size: 15px;
    color: #fff;
    border: none;
    padding: 0px 15px;
    cursor: pointer;
    min-width: 120px;
    height: 100px;
    line-height: 100px
}


/* 버튼 */
.button_type1 {
    background: #fff;
    color: #727272;
    border: solid #ccc 1px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 20px 8px 20px;
    border-radius: 3px;
}


.button_type2 {
    background: #35454d;
    background-image: -webkit-linear-gradient(top, #35454d, #263238);
    background-image: -moz-linear-gradient(top, #35454d, #263238);
    background-image: -ms-linear-gradient(top, #35454d, #263238);
    background-image: -o-linear-gradient(top, #35454d, #263238);
    background-image: linear-gradient(to bottom, #35454d, #263238);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    padding: 8px 20px 8px 20px;
    border: solid #16193b 1px;
    text-decoration: none;
    box-sizing: border-box;
    display: inline-block;
    cursor: pointer
}

.button_type2:hover {
    background-image: -webkit-linear-gradient(top, #263238, #35454d);
    background-image: -moz-linear-gradient(top, #263238, #35454d);
    background-image: -ms-linear-gradient(top, #263238, #35454d);
    background-image: -o-linear-gradient(top, #263238, #35454d);
    background-image: linear-gradient(to bottom, #263238, #35454d);
    text-decoration: none;
}


.button_type3 {
    background: #00b8d4;
    background-image: -webkit-linear-gradient(top, #00b8d4, #00a8c1);
    background-image: -moz-linear-gradient(top, #00b8d4, #00a8c1);
    background-image: -ms-linear-gradient(top, #00b8d4, #00a8c1);
    background-image: -o-linear-gradient(top, #00b8d4, #00a8c1);
    background-image: linear-gradient(to bottom, #00b8d4, #00a8c1);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    padding: 8px 20px 8px 20px;
    border: solid #009cb1 1px;
    text-decoration: none;
    box-sizing: border-box;
    display: inline-block;
    cursor: pointer
}

.button_type3:hover {
    background: #00a8c1;
    background-image: -webkit-linear-gradient(top, #00a8c1, #00b8d4);
    background-image: -moz-linear-gradient(top, #00a8c1, #00b8d4);
    background-image: -ms-linear-gradient(top, #00a8c1, #00b8d4);
    background-image: -o-linear-gradient(top, #00a8c1, #00b8d4);
    background-image: linear-gradient(to bottom, #00a8c1, #00b8d4);
    text-decoration: none;
}


.button_type4 {
    background: #c82b3a;
    background-image: -webkit-linear-gradient(top, #d24c59, #862c2c);
    background-image: -moz-linear-gradient(top, #d24c59, #862c2c);
    background-image: -ms-linear-gradient(top, #d24c59, #862c2c);
    background-image: -o-linear-gradient(top, #d24c59, #862c2c);
    background-image: linear-gradient(to bottom, #d24c59, #862c2c);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    padding: 8px 20px 8px 20px;
    border: solid #b10000 1px;
    text-decoration: none;
    box-sizing: border-box;
    display: inline-block;
    cursor: pointer
}

.button_type4:hover {
    background: #00a8c1;
    background-image: -webkit-linear-gradient(top, #862c2c, #d24c59);
    background-image: -moz-linear-gradient(top, #862c2c, #d24c59);
    background-image: -ms-linear-gradient(top, #862c2c, #d24c59);
    background-image: -o-linear-gradient(top, #862c2c, #d24c59);
    background-image: linear-gradient(to bottom, #862c2c, #d24c59);
    text-decoration: none;
}

.mt20 {
    margin-top: 20px;
}

.video_btn {
    text-align: center
}

/* ================================================================================
   게시글 상세조회 — 전 board 스킨 공용 (Figma 1044:37793)
   ================================================================================ */
.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
}

.board-view.board_view {
    width: 100%;
    padding-top: 0;
    border-top: 2px solid var(--color-border-board-header);
}

.board-view.board_view .board-view__title {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 98px;
    margin: 0;
    padding: 30px;
    border-bottom: 1px solid var(--color-gray500);
    color: var(--color-text-title1);
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 0;
}

.board-view.board_view .board-view__meta {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 68px;
    margin: 0;
    padding: 15px 30px;
    border-bottom: 1px solid var(--color-gray500);
    color: var(--color-text-title1);
}

.board-view.board_view .board-view__meta li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 320px;
    padding: 0;
    border-right: 0;
    font-size: 18px;
    line-height: 36px;
}

.board-view.board_view .board-view__meta-label {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-weight: 600;
    color: var(--color-text-title1);
    white-space: nowrap;
}

.board-view.board_view .board-view__meta-label::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 18px;
    margin-left: 12px;
    background: var(--color-gray300);
}

.board-view.board_view .board-view__meta-value {
    min-width: 0;
    color: var(--color-text-title1);
    font-weight: 400;
    word-break: break-all;
}

.board-view__link {
    padding: 20px 30px;
    border-bottom: 1px solid var(--color-gray300);
    font-size: 16px;
    line-height: 24px;
}

.board-view__link a {
    color: var(--color-text-link);
    word-break: break-all;
}

.board-view.board_view .board-view__contents {
    box-sizing: border-box;
    width: 100%;
    min-height: 300px;
    margin: 0 auto;
    padding: 25px 35px 105px 25px;
    border-bottom: 1px solid var(--color-gray500);
    color: var(--color-text-body);
    font-size: 16px;
    line-height: 24px;
}

.board-view.board_view .board-view__contents p {
    padding: 4px 0 !important;
}

.board-view.board_view .board-view__contents table {
    max-width: 100%;
}

.board-view.board_view .board-view__contents table td {
    border: 1px solid var(--color-gray800);
}

.board-view.board_view .board-view__contents img {
    width: auto;
    max-width: 100%;
    padding: 15px 0;
}

.board-view.board_view .board-view__file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 25px 0;
    border: 0;
    border-bottom: 1px solid var(--color-gray300);
}

/* 상세뷰의 첨부파일 "목록"이 비었을 때만 숨긴다.
 * 글쓰기 폼의 파일 업로드 영역도 같은 id(div#file_list)를 쓰는데 그쪽은 li가 없어서,
 * 태그 제한 없이 걸면 업로드 UI가 통째로 사라진다 — 반드시 ul로 한정할 것 */
ul#file_list:not(:has(li)) {
    display: none;
}

.board-view.board_view .board-view__file-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.board-view.board_view .board-view__file-list .icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.board-view.board_view .board-view__file-list a.file_title {
    min-width: 0;
    color: var(--color-text-title1);
    font-size: 16px;
    line-height: 27px;
    word-break: break-all;
}

.board-view.board_view .board-view__file-list a.file_title:hover,
.board-view.board_view .board-view__file-list a.file_title:focus-visible {
    color: var(--color-primary);
}

.board-view__button-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 본문 삽입 이미지·영상 (전 스킨 공용 — basic/board.css 에서 승격, 자체 board.css 있는 스킨도 커버) */
img.bbs_content_image {
    margin: 5px 0;
}

.bbs_content_video {
    width: 100%;
    height: 510px;
}

/* 게시판 리스트 비밀글 자물쇠 — M_board.php 가 post_title 뒤에 <img>로 append (lock.svg 원본 24×24) */
.board-secret-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 4px;
    vertical-align: -2px;
}

/*로딩바*/
#bbs_loading {
    display: none
}

.board_list_bg {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99999;
    display: table;
    top: 0;
    left: 0;
}

.loader {
    width: 100px;
    height: 100px;
    border: 6px solid #4d68c4;
    border-color: #4d68c4 transparent transparent;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 20%;
    animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.board_view hr {
    display: block;
    border: 1px dashed #ccc;
}

.board_view img {
    cursor: pointer;
    max-width: 100%
}

#board_modal {
    display: block;
    position: fixed;
    z-index: 10000;
    padding-top: 10%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

#board_img {
    margin: 0 auto;
    display: block;
    max-width: 95%;
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
    top: 30%;
    position: relative
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/****** Tablet ******/
@media screen and (max-width: 1024px) {
    .tab_type ul.title_box {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, 1fr);
    }
}

/****** Mobile ******/
@media screen and (max-width: 700px) {
    .tab_type ul.title_box {
        grid-auto-flow: row;
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 20px;
    }

    .tab_type ul.title_box li a {
        min-height: 52px;
        padding: 12px 16px;
        font-size: 16px;
    }
}

@media screen and (max-width:690px) {

    div,
    p,
    span,
    li,
    table td {
        word-break: break-all
    }

    .input_type {
        width: calc(100% - 146px)
    }

    .board-list-footer {
        flex-wrap: wrap;
        margin: 30px 0 20px
    }

    .board-list-footer #pagination {
        justify-content: center;
        width: 100%
    }

    #list_total_count {
        font-size: 13px;
        padding: 10px 0
    }

    .board_view {
        width: 100%
    }
}

@media screen and (max-width:420px) {
    .board-list-footer.has-action {
        flex-direction: column;
        align-items: stretch;
    }

    .board-list-footer__action {
        width: 100%;
    }

    .board-list-footer__action .btn {
        width: 100%;
    }
}

/****** Tablet / Desktop-narrow ******/
@media screen and (min-width:691px) and (max-width:1150px) {
    #board_basic {
        padding: 0 0 50px 0
    }
}

/****** Print ******/
@media print {

    #board_btn {
        display: none
    }

    #list_total_count {
        font-size: 11px
    }

    .board_btn {
        display: none
    }
}

.bbs_file_tip {
    float: left;
    width: 100%;
    overflow: hidden;
    background: var(--color-gray100);
    padding: 20px 30px;
    box-sizing: border-box;
    margin: 4px 0;
    text-align: left;
    border-radius: 4px;
}

.bbs_file_tip li {
    line-height: 24px;
    color: var(--color-text-body);
    position: relative;
    padding-left: 15px
}

.bbs_file_tip li:after {
    content: '';
    position: absolute;
    top: 14px;
    left: 0;
    width: 7px;
    height: 1px;
    background: var(--color-text-body)
}

.bbs_file_tip li span {
    color: var(--color-text-title1);
    font-weight: 400
}

#board_write div.bbs_file_ctl .button input {
    height: 28px;
    width: 28px;
    font-size: 22px
}

/* 댓글 목록 — 스킨별 comment_list.html 자체 <style>이 있으면 그게 우선(로드 순서상 이 파일 뒤에 옴),
   없는 스킨은 이 기본 스타일을 그대로 사용 */
.board-comment-list {
    margin-top: 40px;
}

.comment_box {
    width: 100%;
    overflow: hidden;
}

.comment_box li {
    width: 100%;
    border-bottom: 1px solid var(--color-gray300);
    padding: 15px;
    position: relative;
}

.comment_box li.is-hidden {
    display: none;
}

.comment_box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 42px;
    margin: -15px -15px 0;
    padding: 5px 15px;
    background: var(--color-gray50);
    border-top: 1px solid var(--color-gray500);
}

.comment_box .cmt_cnt {
    padding: 15px 0 0;
    color: var(--color-text-body);
    font-size: 16px;
    line-height: 24px;
    word-break: break-all;
}

.comment_box .cmt_name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--color-text-title1);
    font-size: 16px;
    line-height: 24px;
}

.comment_box .cmt_name span {
    font-family: var(--font-number);
    font-size: 15px;
    margin-left: 0;
    font-weight: 400;
    color: var(--color-text-title1);
    letter-spacing: 0;
}

.comment_box .cmt_btn {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.comment_box .cmt_btn .btn {
    min-width: 64px;
    height: 42px;
    padding: 0 18px;
    font-size: 15px;
    line-height: 27px;
}

.board-comment-form {
    margin-top: 40px;
}

.board-comment-form #comment_wrap {
    position: relative;
    width: 100%;
    margin-top: 0;
    padding: 30px;
    border-top: 1px solid var(--color-gray500);
    border-bottom: 1px solid var(--color-gray500);
    background: var(--color-gray50);
}

.board-comment-form__fields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.board-comment-form .cmt_write_label {
    display: flex;
    align-items: center;
    width: 220px;
    height: 48px;
    border: 1px solid var(--color-gray500);
    background: var(--color-white);
}

.board-comment-form .cmt_write_label span {
    flex-shrink: 0;
    width: 74px;
    padding-left: 15px;
    color: var(--color-text-title1);
    font-size: 16px;
    line-height: 27px;
}

.board-comment-form .cmt_write_label input {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 15px 0 0;
    border: 0;
    color: var(--color-text-title1);
    font-size: 16px;
}

.board-comment-form #comment_wrap textarea {
    width: 100%;
    height: 143px;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--color-gray500);
    background: var(--color-white);
    color: var(--color-text-body);
    font-size: 16px;
    line-height: 27px;
    resize: vertical;
}

.board-comment-form #comment_wrap textarea::placeholder {
    color: var(--color-text-muted);
}

.board-comment-form .comment_write_wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 15px;
}

.board-comment-form .comment_btn {
    position: static;
    height: auto;
    margin: 0;
}

.board-comment-form .comment_btn .btn {
    min-width: 180px;
}

.btn_more_plus {
    display: block;
    border: 1px solid var(--color-gray300);
    text-align: center;
    font-size: 15px;
    color: var(--color-text-body);
    overflow: hidden;
    width: 500px;
    margin: 30px auto;
    height: 50px;
    line-height: 50px;
}

.btn_more_plus:hover {
    background: var(--color-gray800);
    color: var(--color-white);
    border: none;
}

@media screen and (max-width: 690px) {
    .board-view.board_view .board-view__title {
        min-height: auto;
        padding: 22px 16px;
        font-size: 22px;
        line-height: 30px;
    }

    .board-view.board_view .board-view__meta {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 0 16px;
    }

    .board-view.board_view .board-view__meta li {
        width: 100%;
        min-height: 50px;
        border-bottom: 1px solid var(--color-gray300);
        font-size: 16px;
        line-height: 24px;
    }

    .board-view.board_view .board-view__meta li:last-child {
        border-bottom: 0;
    }

    .board-view.board_view .board-view__contents {
        padding: 20px 16px 60px;
    }

    .board-view.board_view .board-view__file-list {
        padding: 20px 0;
    }

    .comment_box__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 15px;
    }

    .comment_box .cmt_name {
        flex-wrap: wrap;
    }

    .board-comment-form #comment_wrap {
        padding: 20px 16px;
    }

    .board-comment-form .cmt_write_label {
        width: 100%;
    }

    .board-comment-form .comment_btn,
    .board-comment-form .comment_btn .btn {
        width: 100%;
    }

    .btn_more_plus {
        width: 100%;
    }
}

/* ============================================
 * 예약/일정형 게시판 공용 달력 (.schedule_calendar)
 * schedule 스킨(학사일정)·book_schedule 스킨(시설물예약 등 예약형) 둘 다 재사용.
 * 스킨별로 각자 인라인/중복 정의하지 말고 이 블록만 참조할 것 — 아래는 board 모듈 전체
 * 공용(common.css)이라 두 스킨의 캘린더 마크업/클래스가 동일한 것을 전제로 함
 * ============================================ */
.schedule_calendar {
    width: 100%;
}

.schedule_calendar_head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.schedule_calendar_head strong {
    min-width: 98px;
    color: var(--color-text-title1);
    font-family: var(--font-number);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

.schedule_calendar .calendar_nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--color-border-board-calendar-nav);
    border-radius: 50%;
    color: var(--color-text-board-calendar-nav);
    font-size: 0;
    line-height: 0;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.schedule_calendar .calendar_nav::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    mask: no-repeat center / contain;
    -webkit-mask: no-repeat center / contain;
}

.schedule_calendar .calendar_nav--prev::before {
    mask-image: url("/assets/icons/left.svg");
    -webkit-mask-image: url("/assets/icons/left.svg");
}

.schedule_calendar .calendar_nav--next::before {
    mask-image: url("/assets/icons/right.svg");
    -webkit-mask-image: url("/assets/icons/right.svg");
}

.schedule_calendar .calendar_nav:hover,
.schedule_calendar .calendar_nav:focus-visible {
    border-color: var(--color-text-title1);
    color: var(--color-text-title1);
}

.schedule_calendar table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-top: 1px solid var(--color-border-board-calendar);
}

.schedule_calendar th,
.schedule_calendar td {
    border: 1px solid var(--color-border-board-calendar);
    vertical-align: top;
}

.schedule_calendar th {
    height: 56px;
    padding: 15px;
    background: var(--color-bg-board-calendar-header);
    color: var(--color-text-board-calendar-header);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}

.schedule_calendar td {
    height: 120px;
    padding: 10px;
    background: var(--color-white);
}

.schedule_calendar td.empty {
    background: var(--color-bg-board-calendar-cell-empty);
}

.schedule_calendar td.today {
    background: var(--color-bg-board-calendar-cell-today);
}

.schedule_calendar .day {
    margin-bottom: 5px;
    color: var(--color-text-board-calendar-date);
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.schedule_calendar .day-number {
    font-family: var(--font-number);
}

.schedule_calendar th.sun,
.schedule_calendar td.sun .day {
    color: var(--color-text-board-calendar-sunday);
}

.schedule_calendar th.sat,
.schedule_calendar td.sat .day {
    color: var(--color-text-board-calendar-saturday);
}

.schedule_calendar td ul {
    max-height: 76px;
    overflow-y: auto;
    padding-right: 4px;
}

.schedule_calendar td ul::-webkit-scrollbar {
    width: 6px;
}

.schedule_calendar td ul::-webkit-scrollbar-thumb {
    background: var(--color-gray300);
    border-radius: 4px;
}

.schedule_calendar td ul::-webkit-scrollbar-track {
    background: var(--color-gray100);
}

.schedule_calendar li {
    margin-top: 5px;
}

.schedule_calendar li a {
    display: block;
    overflow: hidden;
    width: 100%;
    color: var(--color-text-board-calendar-event);
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (max-width: 700px) {
    .schedule_calendar th {
        height: 32px;
        padding: 4px 0;
        font-size: 10px;
        line-height: 16px;
    }

    .schedule_calendar td {
        height: 60px;
        padding: 4px 3px;
        vertical-align: top;
    }

    .schedule_calendar .day {
        margin-bottom: 0;
        font-size: 10px;
        line-height: 16px;
    }

    .schedule_calendar .day-week {
        display: none;
    }

    .schedule_calendar td ul {
        max-height: 32px;
        margin-top: 2px;
        padding: 0;
        overflow-y: auto;
    }

    .schedule_calendar li {
        margin-top: 0;
    }

    .schedule_calendar li a {
        font-size: 10px;
        line-height: 16px;
    }
}
