@charset "utf-8";

/* ===== 지노블 공지사항 게시판 스킨 ===== */

/* 데스크탑과 태블릿에서는 br 숨김 (한 줄) */
.mobile_br {
    display: none;
}

/* ===== 공지사항 메인 섹션 ===== */
.news_main_section {
    position: relative;
    width: 100%;
    height: 580px; /* 데스크탑 기본 높이 */
    margin-top: 70px; /* top_banner 높이만큼 여백 - 기본값 */
    background-image: url('/theme/gnoble/images/about/main_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news_main_container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news_main_content {
    text-align: center;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news_main_title {
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 60px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.news_main_title.animate {
    opacity: 1;
    transform: translateY(0);
}

.news_navigation {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

.news_nav_item {
    flex: 1;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(72, 67, 60, 0.8);
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news_nav_item:last-child {
    border-right: none;
}

.news_nav_item span {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    display: block;
}

.news_nav_item.active span {
    color: #D4AF5F;
    font-weight: 600;
}

.news_nav_item:hover span {
    color: #D4AF5F;
}

.news_nav_item:hover {
    background: rgba(72, 67, 60, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.news_nav_item:focus {
    /* outline: 2px solid #D4AF5F; */
    /* outline-offset: 2px; */
}

.news_nav_item:active {
    transform: translateY(0);
}


/* ===== 공지사항 타이틀 섹션 ===== */
.news_title_section {
    background-color: #FFFCF7;
    padding: 100px 0 40px 0; /* 데스크탑 기본값 */
}

.news_title_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news_title {
    font-size: 40px; /* 데스크탑 기본값 */
    font-weight: 700;
    color: #333333;
    text-align: left;
    margin: 0;
    line-height: 1.2;
}

/* ===== 게시글 카드 목록 ===== */
.news_card_list {
    border-top: 1px solid #48433C;
    border-bottom: 1px solid #48433C;
}

.news_card_item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid #48433C;
    transition: all 0.3s ease;
}

.news_card_item {
    cursor: pointer;
    position: relative;
}

.news_card_item:hover {
    background-color: #F8F6F3;
}

.news_card_item:last-child {
    border-bottom: none;
}

.news_card_image {
    flex-shrink: 0;
}

.news_image_placeholder {
    width: 200px;
    height: 111px;
    background-color: #F5F5F5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.news_image_placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.placeholder_icon {
    font-size: 32px;
    color: #CCCCCC;
}

.news_card_content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.news_card_left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news_card_right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.news_card_title {
    margin-bottom: 8px;
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
    color: #48433C;
    line-height: 1.4;
    max-width: 100%;
    word-wrap: break-word;
}

.new_badge {
    display: inline-block;
    background-color: #FF6B6B;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.news_card_desc {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #48433C;
    line-height: 1.5;
    margin-bottom: 12px;
}

.news_card_meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #48433C;
}

.news_author {
    font-weight: 500;
}

.news_separator {
    margin: 0 8px;
    color: #CCCCCC;
}

.news_date {
    font-weight: 400;
}

.news_empty {
    text-align: center;
    padding: 80px 20px;
    color: #999999;
}

.empty_icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty_text {
    font-size: 18px;
    font-weight: 500;
}

/* ===== 페이지네이션 ===== */
.news_pagination_wrap {
    padding: 40px 0;
    text-align: center;
}

.news_pagination_wrap .pg_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* 일반 페이지 번호 (원형 없음) */
.news_pagination_wrap .pg_page {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.news_pagination_wrap .pg_page:hover {
    color: #48433C;
}

/* 현재 페이지 (원형 배경) */
.news_pagination_wrap .pg_current {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #D4AF5F;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
}

/* 이전/다음 버튼 (원형 배경) */
.news_pagination_wrap .pg_prev,
.news_pagination_wrap .pg_next {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #E5E5E5;
    color: #666666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* 처음/마지막 버튼 (타원형 배경) */
.news_pagination_wrap .pg_start,
.news_pagination_wrap .pg_end {
    display: inline-block;
    min-width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 20px;
    background-color: #E5E5E5;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    padding: 0 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.news_pagination_wrap .pg_prev:hover,
.news_pagination_wrap .pg_next:hover,
.news_pagination_wrap .pg_start:hover,
.news_pagination_wrap .pg_end:hover {
    background-color: #D4AF5F;
    color: #FFFFFF;
}

/* ===== 관리자 글쓰기 버튼 ===== */
#bo_btn_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

#bo_list_total {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.admin_write_btn {
    display: flex;
    align-items: center;
}

.btn_write_admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #D4AF5F;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(212, 175, 95, 0.2);
}

.btn_write_admin:hover {
    background-color: #B8941F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 95, 0.3);
}

.btn_write_admin i {
    font-size: 16px;
}

/* ===== 게시판 전체 영역 ===== */
#bo_list {
    width: 100%;
    background-color: #FFFCF7;
}

/* ===== 게시판 컨텐츠 영역 ===== */
.bo_content_area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    position: relative;
}

/* ===== 게시판 작성/보기 공통 ===== */
#bo_w, #bo_v {
    width: 100%;
    background-color: #FFFCF7;
}

/* ===== 작성 폼 스타일 (상담신청 스타일) ===== */
#bo_w {
    width: 100%;
    background: #FFFCF7;
    padding: 50px 0;
}

#bo_w .bo_content_area {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.write_form_group {
    margin-bottom: 30px;
}

.write_form_group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #48433C;
    font-size: 15px;
    font-family: 'Noto Sans KR', sans-serif;
}

.write_form_input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Sans KR', sans-serif;
    background: #FFFFFF;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.write_form_input:focus {
    outline: none;
    border-color: #51453A;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(81, 69, 58, 0.1);
}

#bo_w .wr_content {
    /* border: 1px solid #DDDDDD; */
    /* border-radius: 8px; */
    /* background: #FFFCF7; */
    transition: all 0.3s ease;
}

#bo_w .wr_content:focus-within {
    border-color: #51453A;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(81, 69, 58, 0.1);
}

/* ===== 파일 업로드 영역 ===== */
.file_upload_area {
    border: 2px dashed #E0E0E0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #FAFAFA 0%, #F8F8F8 100%);
    position: relative;
    overflow: hidden;
    max-width: 300px;
    margin: 0;
}

.file_upload_area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(81, 69, 58, 0.05) 0%, rgba(81, 69, 58, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file_upload_area:hover::before {
    opacity: 1;
}

.file_upload_area:hover {
    border-color: #51453A;
    background: linear-gradient(135deg, #F5F5F5 0%, #F0F0F0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(81, 69, 58, 0.15);
}

.file_upload_area.drag-over {
    border-color: #51453A;
    background: linear-gradient(135deg, #F0F0F0 0%, #E8E8E8 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(81, 69, 58, 0.2);
}

.file_upload_area.drag-over::before {
    opacity: 1;
}

.file_upload_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.file_upload_icon {
    color: #CCCCCC;
    transition: all 0.3s ease;
}

.file_upload_icon svg {
    transition: all 0.3s ease;
}

.file_upload_area:hover .file_upload_icon {
    color: #51453A;
}

.file_upload_area:hover .file_upload_icon svg {
    transform: translateY(-3px);
}

.file_upload_text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #48433C;
    margin: 0 0 6px 0;
    font-family: 'Noto Sans KR', sans-serif;
}

.file_upload_text p {
    font-size: 13px;
    color: #666666;
    margin: 0 0 12px 0;
    font-family: 'Noto Sans KR', sans-serif;
}

.file_types {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.file_type {
    background: #E8E4DD;
    color: #48433C;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.file_upload_area:hover .file_type {
    background: #51453A;
    color: #FFFFFF;
    transform: scale(1.05);
}

/* ===== 업로드 진행률 ===== */
.upload_progress {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

.progress_bar {
    width: 100%;
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress_fill {
    height: 100%;
    background: linear-gradient(90deg, #51453A 0%, #D4AF60 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
}

.progress_text {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.file_input_hidden {
    display: none;
}

/* ===== 파일 미리보기 ===== */
.file_preview {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.preview_image_wrap {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.preview_image_wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.preview_image {
    max-width: 250px;
    max-height: 250px;
    display: block;
    transition: all 0.3s ease;
}

.preview_image_wrap:hover .preview_image {
    transform: scale(1.02);
}

.preview_remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.preview_remove:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* ===== 기존 파일 표시 ===== */
.file_existing {
    margin-top: 15px;
    padding: 15px;
    background: #FFF8F0;
    border-radius: 8px;
    border: 1px solid #F0E6D2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.existing_file_info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #48433C;
    font-size: 14px;
}

.existing_file_info i {
    color: #51453A;
    font-size: 16px;
}

.file_delete_checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
}

.file_delete_checkbox input[type="checkbox"] {
    margin: 0;
    accent-color: #51453A;
}

#bo_w .form-group {
    margin-bottom: 20px;
}

#bo_w .btn_submit {
    background: #48433C;
    color: #FFFFFF;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#bo_w .btn_submit:hover {
    background: #D4AF60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 96, 0.3);
}

/* ===== 작성 폼 버튼 영역 ===== */
.write_form_actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 40px 0 60px 0;
    margin-top: 30px;
}

.write_btn_cancel {
    background: #F5F3F0;
    color: #48433C;
    padding: 10px 20px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.write_btn_cancel:hover {
    background: #E8E4DD;
    border-color: #51453A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.write_btn_submit {
    background: #393029;
    color: #FFFFFF;
    padding: 10px 20px;
    border: 1px solid #393029;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.write_btn_submit:hover {
    background: #2A2119;
    border-color: #2A2119;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== 파일 첨부 스타일 ===== */
#bo_w .bo_w_flie {
    margin-bottom: 25px;
    padding: 25px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 2px solid #F0E6D2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#bo_w .file_wr {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

#bo_w .lb_icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #48433C;
    font-weight: 600;
    margin: 0;
    min-width: 140px;
    font-size: 15px;
}

#bo_w .lb_icon i {
    color: #D4AF60;
    font-size: 16px;
}

#bo_w .frm_file {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E8E4DD;
    border-radius: 8px;
    font-size: 14px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

#bo_w .frm_file:focus {
    border-color: #D4AF60;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 96, 0.1);
}

#bo_w .file_del {
    margin-top: 15px;
    padding: 15px;
    background: #FFF8F0;
    border-radius: 8px;
    border: 1px solid #F0E6D2;
}

#bo_w .file_del input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #D4AF60;
    transform: scale(1.1);
}

#bo_w .file_del label {
    color: #666666;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

/* ===== 게시물 보기 스타일 ===== */
.news_view_header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.news_view_title {
    margin-bottom: 20px;
}

#bo_v_title {
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    line-height: 1.4;
    margin: 0;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.bo_v_cate {
    display: inline-block;
    background: #D4AF5F;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
    vertical-align: middle;
}

.bo_v_tit {
    display: inline-block;
    vertical-align: middle;
}

.news_view_meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #666666;
}

.news_view_author {
    font-weight: 600;
    color: #48433C;
}

.news_view_date {
    color: #999999;
}

.news_view_stats {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.news_view_hit {
    color: #999999;
    font-size: 13px;
}

.news_view_files {
    margin: 20px 0;
}

.news_view_files img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

.news_view_content {
    margin: 30px 0;
    line-height: 1.8;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    color: #333333;
}

#bo_v_con {
    min-height: 200px;
}

.news_view_actions {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}

.news_action_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news_action_good {
    background: #FFFFFF;
    color: #666666;
}

.news_action_good:hover {
    background: #F0F8FF;
    color: #007BFF;
    border-color: #007BFF;
}

.news_action_nogood {
    background: #FFFFFF;
    color: #666666;
}

.news_action_nogood:hover {
    background: #FFF5F5;
    color: #FF4444;
    border-color: #FF4444;
}

.news_view_buttons {
    display: flex;
    gap: 10px;
    margin: 40px 0;
    /* padding-top: 20px; */
    /* border-top: 1px solid #E5E5E5; */
}

.news_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 80px;
}

.news_btn_list,
.news_btn_reply,
.news_btn_write {
    background: #393029;
    color: #FFFFFF;
    border-color: #393029;
}

.news_btn_list:hover,
.news_btn_reply:hover,
.news_btn_write:hover {
    background: #2A2119;
    border-color: #2A2119;
}

.news_btn_more {
    position: relative;
}

.news_btn_more_btn {
    background: #FFFFFF;
    color: #666666;
    border: 1px solid #DDDDDD;
    cursor: pointer;
}

.news_btn_more_btn:hover {
    background: #F8F8F8;
    border-color: #C0C0C0;
}

.news_btn_more_menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 120px;
    margin-top: 5px;
}

.news_btn_more_item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #333333;
    transition: background 0.3s ease;
}

.news_btn_more_item:hover {
    background: #F8F8F8;
    color: #48433C;
}

.news_btn_more_item:first-child {
    border-radius: 8px 8px 0 0;
}

.news_btn_more_item:last-child {
    border-radius: 0 0 8px 8px;
}

/* ===== 이전글/다음글 네비게이션 ===== */
.news_view_navigation {
    margin: 30px 0;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.news_view_navigation .news_nav_item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #F0F0F0;
    background: none;
    box-shadow: none;
    transition: none;
    transform: none;
    cursor: pointer;
    border-right: none;
    text-decoration: none;
    color: inherit;
    gap: 45px;
}

.news_view_navigation .news_nav_item:last-child {
    border-bottom: none;
}

.news_view_navigation .news_nav_item:hover {
    background-color: #F8F8F8;
    transform: none;
    box-shadow: none;
}

.news_view_navigation .news_nav_item span {
    font-weight: normal;
    text-shadow: none;
    color: #333333;
}

.news_view_navigation .news_nav_item:hover span {
    color: inherit;
}

.news_nav_label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 90px;
    flex-shrink: 0;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #48433C;
}

.news_nav_icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news_nav_icon svg {
    width: 32px;
    height: 32px;
    color: #48433C;
}

.news_nav_text {
    white-space: nowrap;
}

.news_nav_link {
    flex: 1;
    text-decoration: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #48433C;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
}

.news_nav_link:hover {
    color: #48433C;
}

.news_nav_date {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #999999;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
}

/* ===== 스마트에디터 스타일 ===== */
.cke_sc {
    display: none !important;
}
.wr_content {
    margin-bottom: 20px;
}

/* 스마트에디터 컨테이너 */
.wr_content.smarteditor {
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
}

/* 스마트에디터 툴바 */
.wr_content .se-wrapper .se-toolbar {
    background: #F8F6F2 !important;
    border-bottom: 1px solid #E8E4DD !important;
}

/* 스마트에디터 에디팅 영역 */
.wr_content .se-wrapper .se-contents {
    background: #FFFFFF !important;
    min-height: 300px !important;
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* 스마트에디터 버튼 */
.wr_content .se-wrapper .se-toolbar .se-btn-list button {
    color: #48433C !important;
}

.wr_content .se-wrapper .se-toolbar .se-btn-list button:hover {
    background: #E8E4DD !important;
    color: #D4AF60 !important;
}

.wr_content .se-wrapper .se-toolbar .se-btn-list button.se-active {
    background: #D4AF60 !important;
    color: #FFFFFF !important;
}

/* 스마트에디터 드롭다운 */
.wr_content .se-wrapper .se-toolbar .se-btn-list .se-dropdown {
    background: #FFFFFF !important;
    border: 1px solid #E8E4DD !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.wr_content .se-wrapper .se-toolbar .se-btn-list .se-dropdown li:hover {
    background: #F8F6F2 !important;
    color: #D4AF60 !important;
}

/* 스마트에디터 모달 */
.wr_content .se-wrapper .se-modal {
    background: rgba(0, 0, 0, 0.5) !important;
}

.wr_content .se-wrapper .se-modal .se-modal-content {
    background: #FFFFFF !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.wr_content .se-wrapper .se-modal .se-modal-header {
    background: #F8F6F2 !important;
    border-bottom: 1px solid #E8E4DD !important;
    color: #48433C !important;
}

.wr_content .se-wrapper .se-modal .se-modal-footer button {
    background: #48433C !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
}

.wr_content .se-wrapper .se-modal .se-modal-footer button:hover {
    background: #D4AF60 !important;
}

/* 스마트에디터 링크/이미지 입력 */
.wr_content .se-wrapper .se-modal input[type="text"],
.wr_content .se-wrapper .se-modal input[type="url"] {
    border: 1px solid #DDDDDD !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-family: 'Noto Sans KR', sans-serif !important;
}

.wr_content .se-wrapper .se-modal input[type="text"]:focus,
.wr_content .se-wrapper .se-modal input[type="url"]:focus {
    outline: none !important;
    border-color: #D4AF60 !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 96, 0.1) !important;
}

/* ===== 게시글 보기 페이지 ===== */
#bo_v_title {
    font-size: 24px;
    font-weight: 700;
    color: #48433C;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E8E4DD;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

#bo_v_info {
    background: #F8F6F2;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.profile_info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pf_img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.profile_info_ct {
    flex: 1;
}

.profile_info_ct strong {
    color: #48433C;
    font-weight: 600;
    margin-right: 15px;
}

.profile_info_ct a {
    color: #D4AF60;
    text-decoration: none;
    margin-right: 15px;
}

.profile_info_ct a:hover {
    text-decoration: underline;
}

.if_date {
    color: #999999;
    font-size: 13px;
}

#bo_v_top {
    margin-bottom: 30px;
}

#bo_v_con {
    line-height: 1.8;
    font-size: 14px;
    color: #333333;
}

#bo_v_con img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

#bo_v_con p {
    margin-bottom: 15px;
}

#bo_v_con h1, #bo_v_con h2, #bo_v_con h3 {
    color: #48433C;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

#bo_v_con ul, #bo_v_con ol {
    margin: 15px 0;
    padding-left: 20px;
}

#bo_v_con li {
    margin-bottom: 5px;
}

/* ===== 접근성을 위한 숨김 요소 ===== */
.sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===== 기본 그누보드 스타일 제거 ===== */
#bo_list:after, #bo_w:after, #bo_v:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

/* ===== 폼 스타일 ===== */
#fwrite, #fboardlist {
    width: 100%;
}

/* 테이블 기본 스타일 */
#bo_list table, #bo_w table, #bo_v table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#bo_list thead th, #bo_w thead th, #bo_v thead th {
    background: #F8F6F2;
    color: #48433C;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    padding: 20px 15px;
    text-align: center;
    border-bottom: 2px solid #E8E4DD;
    font-size: 16px;
}

#bo_list tbody td, #bo_w tbody td, #bo_v tbody td {
    padding: 20px 15px;
    border-bottom: 1px solid #F0F0F0;
    vertical-align: middle;
}

#bo_list tbody tr:hover, #bo_w tbody tr:hover, #bo_v tbody tr:hover {
    background: #FFFCF7;
    transition: background 0.3s ease;
}

#bo_list tbody tr:last-child td, #bo_w tbody tr:last-child td, #bo_v tbody tr:last-child td {
    border-bottom: none;
}

/* 컬럼 너비 설정 */
#bo_list .td_num, #bo_w .td_num, #bo_v .td_num {
    width: 80px;
    text-align: center;
    color: #999999;
    font-weight: 500;
}

#bo_list .td_subject, #bo_w .td_subject, #bo_v .td_subject {
    text-align: left;
    padding-left: 30px;
}

#bo_list .td_subject a, #bo_w .td_subject a, #bo_v .td_subject a {
    color: #48433C;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

#bo_list .td_subject a:hover, #bo_w .td_subject a:hover, #bo_v .td_subject a:hover {
    color: #D4AF60;
}

#bo_list .td_name, #bo_w .td_name, #bo_v .td_name {
    width: 120px;
    text-align: center;
    color: #666666;
    font-weight: 500;
}

#bo_list .td_date, #bo_w .td_date, #bo_v .td_date {
    width: 120px;
    text-align: center;
    color: #999999;
    font-size: 14px;
}

#bo_list .td_hit, #bo_w .td_hit, #bo_v .td_hit {
    width: 80px;
    text-align: center;
    color: #999999;
    font-size: 14px;
}

/* 공지사항 아이콘 */
#bo_list .td_subject img {
    margin-left: 8px;
    vertical-align: middle;
}

/* 카테고리 스타일 */
#bo_cate {
    margin: 40px 0 30px 0;
    text-align: center;
}

#bo_cate h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#bo_cate ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#bo_cate li {
    display: inline-block;
}

#bo_cate a {
    display: block;
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid #E8E4DD;
    color: #666666;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
    background: #D4AF60;
    color: #FFFFFF;
    border-color: #D4AF60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 96, 0.3);
}

#bo_cate #bo_cate_on {
    background: #D4AF60;
    color: #FFFFFF;
    border-color: #D4AF60;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 96, 0.3);
}

/* 페이지 정보 및 버튼 */
#bo_btn_top {    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#bo_list_total {
    font-size: 16px;
    color: #666666;
    font-weight: 500;
}

#bo_list_total span {
    color: #D4AF60;
    font-weight: 700;
}

.btn_bo_user {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.btn_bo_user li {
    list-style: none;
}

.btn_bo_user .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #48433C;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn_bo_user .btn:hover {
    background: #D4AF60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 96, 0.3);
}

.btn_bo_user .btn_admin {
    background: #D4AF60;
}

.btn_bo_user .btn_admin:hover {
    background: #B8941F;
}

/* 검색 영역 */
#bo_sch {
    background: #F8F6F2;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

#bo_sch .sch_wr {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

#bo_sch .sch_wr select {
    padding: 12px 15px;
    border: 2px solid #E8E4DD;
    border-radius: 8px;
    background: #FFFFFF;
    color: #48433C;
    font-size: 14px;
    min-width: 120px;
}

#bo_sch .sch_wr input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #E8E4DD;
    border-radius: 8px;
    background: #FFFFFF;
    color: #48433C;
    font-size: 14px;
    min-width: 200px;
}

#bo_sch .sch_wr input[type="text"]:focus {
    border-color: #D4AF60;
    outline: none;
}

#bo_sch .sch_wr .btn {
    padding: 12px 24px;
    background: #D4AF60;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#bo_sch .sch_wr .btn:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 96, 0.3);
}

/* 페이지네이션 */
#bo_pg {
    text-align: center;
    margin: 40px 0;
}

#bo_pg .pg_wrap {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

#bo_pg .pg_wrap a,
#bo_pg .pg_wrap strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

#bo_pg .pg_wrap a {
    background: #FFFFFF;
    color: #666666;
    border: 2px solid #E8E4DD;
}

#bo_pg .pg_wrap a:hover {
    background: #D4AF60;
    color: #FFFFFF;
    border-color: #D4AF60;
    transform: translateY(-2px);
}

#bo_pg .pg_wrap strong {
    background: #D4AF60;
    color: #FFFFFF;
    border: 2px solid #D4AF60;
}

/* 체크박스 스타일 */
.selec_chk {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    outline: 0;
    z-index: -1;
    overflow: hidden;
}

.chk_box {
    position: relative;
}

.chk_box input[type="checkbox"] + label {
    position: relative;
    color: #666666;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chk_box input[type="checkbox"] + label span {
    width: 18px;
    height: 18px;
    display: block;
    background: #FFFFFF;
    border: 2px solid #E8E4DD;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.chk_box input[type="checkbox"]:checked + label {
    color: #48433C;
}

.chk_box input[type="checkbox"]:checked + label span {
    background: #D4AF60;
    border-color: #D4AF60;
    background-image: url('./img/chk.png');
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* 반응형 디자인 */
@media (max-width: 1199px) and (min-width: 768px) {
    #bo_list {
        padding: 0 15px;
    }
    
    #bo_list thead th,
    #bo_list tbody td {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    #bo_list .td_subject {
        padding-left: 20px;
    }
    
    #bo_sch .sch_wr {
        flex-direction: column;
        align-items: stretch;
    }
    
    #bo_sch .sch_wr select,
    #bo_sch .sch_wr input[type="text"] {
        min-width: auto;
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    #bo_list {
        padding: 0 10px;
    }
    
    #bo_list table {
        font-size: 13px;
    }
    
    #bo_list thead th,
    #bo_list tbody td {
        padding: 12px 8px;
    }
    
    #bo_list .td_num {
        width: 60px;
    }
    
    #bo_list .td_name {
        width: 80px;
    }
    
    #bo_list .td_date {
        width: 90px;
        font-size: 12px;
    }
    
    #bo_list .td_hit {
        width: 60px;
        font-size: 12px;
    }
    
    #bo_cate ul {
        gap: 5px;
    }
    
    #bo_cate a {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    #bo_btn_top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .btn_bo_user {
        justify-content: center;
    }
}

@media (max-width: 479px) {
    #bo_list {
        padding: 0 5px;
    }
    
    #bo_list table {
        font-size: 12px;
    }
    
    #bo_list thead th,
    #bo_list tbody td {
        padding: 10px 5px;
    }
    
    #bo_list .td_num {
        width: 50px;
    }
    
    #bo_list .td_name {
        width: 70px;
        font-size: 12px;
    }
    
    #bo_list .td_date {
        width: 80px;
        font-size: 11px;
    }
    
    #bo_list .td_hit {
        width: 50px;
        font-size: 11px;
    }
    
    #bo_cate a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    #bo_sch {
        padding: 20px;
    }
    
    #bo_sch .sch_wr {
        gap: 10px;
    }
    
    .btn_bo_user .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ===== 반응형 디자인 - 메인 섹션 ===== */

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .news_main_section {
        height: 580px;
        margin-top: 70px; /* 데스크탑 top_banner 높이 */
    }
    
    .news_main_title {
        font-size: 40px; /* 데스크탑 */
        margin-bottom: 60px;
    }
    
    .news_navigation {
        max-width: 1200px;
    }
    
    .news_nav_item {
        padding: 20px 0;
    }
    
    .news_nav_item span {
        font-size: 18px; /* 데스크탑 */
    }
    
    .news_title_section {
        padding: 100px 0 40px 0; /* 데스크탑 */
    }
    
    .news_title {
        font-size: 40px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .news_main_section {
        height: 520px; /* 태블릿 중간값 */
        margin-top: 60px; /* 태블릿 top_banner 높이 */
    }
    
    .news_main_title {
        font-size: 35px; /* 태블릿 중간값 */
        margin-bottom: 50px;
    }
    
    .news_navigation {
        max-width: 100%;
    }
    
    .news_nav_item {
        padding: 18px 0;
    }
    
    .news_nav_item span {
        font-size: 16px; /* 태블릿 중간값 */
    }
    
    .news_title_section {
        padding: 87px 0 35px 0; /* 태블릿 중간값 */
    }
    
    .news_title {
        font-size: 35px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .news_main_section {
        height: 480px; /* 모바일 중간값 */
        margin-top: 55px; /* 모바일 top_banner 높이 */
    }
    
    .news_main_container {
        padding: 0 15px;
    }
    
    .news_main_title {
        font-size: 32px; /* 모바일 중간값 */
        margin-bottom: 40px;
    }
    
    .news_navigation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0;
    }
    
    .news_nav_item {
        padding: 15px 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .news_nav_item:nth-child(2n) {
        border-right: none;
    }
    
    .news_nav_item:nth-child(n+3) {
        border-bottom: none;
    }
    
    .news_nav_item span {
        font-size: 15px; /* 모바일 중간값 */
    }
    
    .news_title_section {
        padding: 81px 0 32px 0; /* 모바일 중간값 */
    }
    
    .news_title_container {
        padding: 0 15px;
    }
    
    .news_title {
        font-size: 32px; /* 모바일 중간값 */
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .news_main_section {
        height: 435px; /* 작은 모바일 */
        margin-top: 55px; /* 작은 모바일 top_banner 높이 */
    }
    
    .news_main_container {
        padding: 0 15px;
    }
    
    .news_main_title {
        font-size: 30px; /* 작은 모바일 */
        margin-bottom: 35px;
    }
    
    .news_navigation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0;
    }
    
    .news_nav_item {
        padding: 12px 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .news_nav_item:nth-child(2n) {
        border-right: none;
    }
    
    .news_nav_item:nth-child(n+3) {
        border-bottom: none;
    }
    
    .news_nav_item span {
        font-size: 13px; /* 작은 모바일 */
    }
    
    .news_title_section {
        padding: 75px 0 30px 0; /* 작은 모바일 */
    }
    
    .news_title_container {
        padding: 0 15px;
    }
    
    .news_title {
        font-size: 30px; /* 작은 모바일 */
    }
}

/* ===== 반응형 디자인 - 카드 레이아웃 ===== */

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .news_card_list {
       
    }
    
    .news_card_item {
        gap: 20px;
        padding: 30px 40px;
    }
    
    .news_image_placeholder {
        width: 180px;
        height: 100px;
    }
    
    .news_card_title {
        font-size: 22px;
    }
    
    .news_card_desc {
        font-size: 17px;
    }
    
    .news_card_meta {
        font-size: 13px;
    }
    
    .news_pagination_wrap {
        padding: 40px 0;
    }
    
    .news_pagination_wrap .pg_page {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .news_pagination_wrap .pg_current,
    .news_pagination_wrap .pg_prev,
    .news_pagination_wrap .pg_next {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }
    
    .news_pagination_wrap .pg_start,
    .news_pagination_wrap .pg_end {
        min-width: 50px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        padding: 0 12px;
        border-radius: 20px;
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .news_card_list {
    }
    
    .news_card_item {
        gap: 18px;
        padding: 25px 30px;
        align-items: center;
    }
    
    .news_card_content {
        align-items: center;
    }
    
    .news_image_placeholder {
        width: 160px;
        height: 89px;
    }
    
    .placeholder_icon {
        font-size: 28px;
    }
    
    .news_card_title {
        font-size: 20px;
    }
    
    .news_card_desc {
        font-size: 16px;
    }
    
    .news_card_meta {
        font-size: 12px;
    }
    
    .news_pagination_wrap {
        padding: 35px 0;
    }
    
    .news_pagination_wrap .pg_page {
        font-size: 15px;
        padding: 6px 10px;
    }
    
    .news_pagination_wrap .pg_current,
    .news_pagination_wrap .pg_prev,
    .news_pagination_wrap .pg_next {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }
    
    .news_pagination_wrap .pg_start,
    .news_pagination_wrap .pg_end {
        min-width: 45px;
        height: 36px;
        line-height: 36px;
        font-size: 13px;
        padding: 0 10px;
        border-radius: 18px;
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .bo_content_area {
        padding: 40px 15px;
    }
    
    .news_card_list {
    }
    
    .news_card_item {
        gap: 15px;
        padding: 20px 0;
    }
    
    .news_card_content {
        align-items: flex-start;
    }
    
    .news_card_image {
        align-self: flex-start;
    }
    
    .news_image_placeholder {
        width: 160px;
        height: 89px;
    }
    
    .placeholder_icon {
        font-size: 24px;
    }
    
    .news_card_title {
        font-size: 19px;
    }
    
    .news_card_desc {
        font-size: 15px;
    }
    
    .news_card_content {
        flex-direction: column;
        gap: 15px;
    }
    
    .news_card_left {
        gap: 10px;
    }
    
    .news_card_right {
        align-items: flex-start;
    }
    
    .news_card_meta {
        font-size: 11px;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
    }
    
    .news_separator {
        margin: 0 6px;
    }
    
    .news_pagination_wrap {
        padding: 30px 0;
    }
    
    .news_pagination_wrap .pg_page {
        font-size: 14px;
        padding: 5px 8px;
    }
    
    .news_pagination_wrap .pg_current,
    .news_pagination_wrap .pg_prev,
    .news_pagination_wrap .pg_next {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 13px;
    }
    
    .news_pagination_wrap .pg_start,
    .news_pagination_wrap .pg_end {
        min-width: 40px;
        height: 32px;
        line-height: 32px;
        font-size: 12px;
        padding: 0 8px;
        border-radius: 16px;
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .bo_content_area {
        padding: 35px 15px;
    }
    
    .news_card_list {
    }
    
    .news_card_item {
        gap: 12px;
        padding: 15px 0;
    }
    
    .news_card_content {
        align-items: flex-start;
    }
    
    .news_card_image {
        align-self: flex-start;
    }
    
    .news_image_placeholder {
        width: 140px;
        height: 78px;
    }
    
    .placeholder_icon {
        font-size: 20px;
    }
    
    .news_card_title {
        font-size: 18px;
    }
    
    .news_card_desc {
        font-size: 13px;
    }
    
    .news_card_content {
        flex-direction: column;
        gap: 12px;
    }
    
    .news_card_left {
        gap: 8px;
    }
    
    .news_card_right {
        align-items: flex-start;
    }
    
    .news_card_meta {
        font-size: 11px;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
    }
    
    .news_separator {
        margin: 0 5px;
    }
    
    .news_pagination_wrap {
        padding: 25px 0;
    }
    
    .news_pagination_wrap .pg_page {
        font-size: 13px;
        padding: 4px 6px;
    }
    
    .news_pagination_wrap .pg_current,
    .news_pagination_wrap .pg_prev,
    .news_pagination_wrap .pg_next {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
    
    .news_pagination_wrap .pg_start,
    .news_pagination_wrap .pg_end {
        min-width: 38px;
        height: 30px;
        line-height: 30px;
        font-size: 11px;
        padding: 0 6px;
        border-radius: 15px;
    }
}

/* ===== 반응형 디자인 - 게시물 보기 ===== */

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    #bo_v_title {
        font-size: 24px;
    }
    
    .news_view_meta {
        font-size: 14px;
        gap: 20px;
    }
    
    .news_view_content {
        font-size: 16px;
    }
    
    .news_btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    #bo_v_title {
        font-size: 22px;
    }
    
    .news_view_meta {
        font-size: 13px;
        gap: 18px;
    }
    
    .news_view_content {
        font-size: 15px;
    }
    
    .news_btn {
        padding: 11px 22px;
        font-size: 14px;
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .news_view_header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    #bo_v_title {
        font-size: 20px;
        line-height: 1.3;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .news_view_meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 13px;
    }
    
    .news_view_stats {
        margin-left: 0;
        gap: 10px;
    }
    
    .news_view_content {
        font-size: 15px;
        margin: 25px 0;
    }
    
    .news_view_buttons {
        flex-wrap: wrap;
        gap: 8px;
        margin: 30px 0;
    }
    
    .news_btn {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 70px;
    }
    
    /* 이전글/다음글 태블릿 */
    .news_view_navigation .news_nav_item {
        padding: 18px 0;
        background: none;
        box-shadow: none;
        transition: none;
        transform: none;
        border-right: none;
        gap: 12px;
    }
    
    .news_nav_label {
        font-size: 13px;
        color: #48433C;
        min-width: 80px;
    }
    
    .news_nav_icon svg {
        width: 28px;
        height: 28px;
        color: #48433C;
    }
    
    .news_nav_link {
        font-size: 13px;
        font-weight: 500;
        color: #48433C;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 8px;
    }
    
    .news_nav_date {
        font-size: 13px;
        color: #999999;
        min-width: 70px;
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .news_view_header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    #bo_v_title {
        font-size: 18px;
    }
    
    .bo_v_cate {
        font-size: 11px;
        padding: 3px 10px;
        margin-right: 8px;
    }
    
    .news_view_meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 12px;
    }
    
    .news_view_stats {
        margin-left: 0;
        gap: 8px;
    }
    
    .news_view_hit {
        font-size: 12px;
    }
    
    .news_view_content {
        font-size: 14px;
        margin: 20px 0;
    }
    
    .news_view_buttons {
        flex-wrap: wrap;
        gap: 6px;
        margin: 25px 0;
    }
    
    .news_btn {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 60px;
    }
    
    /* 이전글/다음글 모바일 */
    .news_view_navigation .news_nav_item {
        flex-direction: row;
        align-items: center;
        padding: 15px 0;
        gap: 8px;
        background: none;
        box-shadow: none;
        transition: none;
        transform: none;
        border-right: none;
    }
    
    .news_nav_label {
        min-width: 70px;
        font-size: 12px;
        color: #48433C;
        flex-shrink: 0;
    }
    
    .news_nav_icon svg {
        width: 24px;
        height: 24px;
        color: #48433C;
    }
    
    .news_nav_link {
        margin: 0;
        font-size: 12px;
        font-weight: 500;
        flex: 1;
        color: #48433C;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 5px;
    }
    
    .news_nav_date {
        font-size: 12px;
        color: #999999;
        flex-shrink: 0;
        min-width: 60px;
        text-align: right;
    }
}

/* ===== 반응형 디자인 - 관리자 버튼 ===== */

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    #bo_btn_top {
        padding: 20px 0;
    }
    
    #bo_list_total {
        font-size: 14px;
    }
    
    .btn_write_admin {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    #bo_btn_top {
        padding: 18px 0;
    }
    
    #bo_list_total {
        font-size: 13px;
    }
    
    .btn_write_admin {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    #bo_btn_top {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
        align-items: flex-start;
    }
    
    #bo_list_total {
        font-size: 12px;
    }
    
    .btn_write_admin {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    #bo_btn_top {
        flex-direction: column;
        gap: 12px;
        padding: 12px 0;
        align-items: flex-start;
    }
    
    #bo_list_total {
        font-size: 11px;
    }
    
    .btn_write_admin {
        padding: 8px 14px;
        font-size: 11px;
    }
}

/* ===== 반응형 디자인 - 작성/보기 페이지 ===== */

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .bo_content_area {
        padding: 50px 20px;
    }
    
    #bo_v_title {
        font-size: 24px;
    }
    
    #bo_v_con {
        font-size: 14px;
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .bo_content_area {
        padding: 45px 20px;
    }
    
    #bo_v_title {
        font-size: 22px;
    }
    
    #bo_v_con {
        font-size: 14px;
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .bo_content_area {
        padding: 40px 15px;
    }
    
    #bo_v_title {
        font-size: 20px;
    }
    
    #bo_v_info {
        padding: 15px;
    }
    
    .profile_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    #bo_v_con {
        font-size: 13px;
    }
}

/* ===== 작성 폼 반응형 스타일 ===== */

/* 태블릿 */
@media (max-width: 1199px) and (min-width: 768px) {
    #bo_w .bo_content_area {
        padding: 35px;
        margin: 0 15px;
    }
    
    .write_form_group {
        margin-bottom: 25px;
    }
    
    .write_form_actions {
        padding: 35px 0 50px 0;
        gap: 12px;
    }
    
    .write_btn_cancel,
    .write_btn_submit {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 90px;
    }
    
    .file_upload_area {
        padding: 25px 15px;
        max-width: 250px;
    }
    
    .file_upload_text h4 {
        font-size: 15px;
    }
    
    .file_upload_text p {
        font-size: 12px;
    }
    
    .preview_image {
        max-width: 150px;
        max-height: 150px;
    }
}

/* 모바일 */
@media (max-width: 767px) and (min-width: 480px) {
    #bo_w .bo_content_area {
        padding: 30px;
        margin: 0 15px;
    }
    
    .write_form_group {
        margin-bottom: 20px;
    }
    
    .write_form_actions {
        padding: 30px 0 40px 0;
        gap: 10px;
        flex-direction: row;
        justify-content: center;
    }
    
    .write_btn_cancel,
    .write_btn_submit {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 80px;
    }
    
    .write_form_input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .file_upload_area {
        padding: 20px 15px;
        max-width: 220px;
    }
    
    .file_upload_text h4 {
        font-size: 14px;
    }
    
    .file_upload_text p {
        font-size: 12px;
    }
    
    .preview_image {
        max-width: 120px;
        max-height: 120px;
    }
    
    .file_existing {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* 작은 모바일 */
@media (max-width: 479px) {
    #bo_w .bo_content_area {
        padding: 25px;
        margin: 0 10px;
    }
    
    .write_form_group {
        margin-bottom: 15px;
    }
    
    .write_form_actions {
        padding: 25px 0 35px 0;
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .write_btn_cancel,
    .write_btn_submit {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 200px;
    }
    
    .write_form_input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .write_form_group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .file_upload_area {
        padding: 18px 12px;
        max-width: 200px;
    }
    
    .file_upload_text h4 {
        font-size: 13px;
    }
    
    .file_upload_text p {
        font-size: 11px;
    }
    
    .preview_image {
        max-width: 100px;
        max-height: 100px;
    }
    
    .preview_remove {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .file_existing {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 12px;
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .bo_content_area {
        padding: 35px 15px;
    }
    
    #bo_v_title {
        font-size: 18px;
    }
    
    #bo_v_info {
        padding: 12px;
    }
    
    .profile_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    #bo_v_con {
        font-size: 12px;
    }
}

/* 반응형 이미지 스타일 추가 */
@media (max-width: 1199px) and (min-width: 768px) {
    .news_view_files img {
        max-width: 100%;
        margin: 15px 0;
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    .news_view_files {
        margin: 15px 0;
    }
    
    .news_view_files img {
        max-width: 100%;
        margin: 12px 0;
    }
}

@media (max-width: 479px) {
    .news_view_files {
        margin: 10px 0;
    }
    
    .news_view_files img {
        max-width: 100%;
        margin: 8px 0;
    }
}

/* ===== 뉴스 타이틀 섹션 ===== */
.news_title_section {
    background-color: #FFFFFF;
    padding: 100px 0 40px 0; /* 데스크탑 기본값 */
}

.news_title_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news_title {
    text-align: center;
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    color: #48433C;
    margin: 0;
    line-height: 1.2;
}

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .news_title_section {
        padding: 100px 0 40px 0; /* 데스크탑 */
    }
    
    .news_title {
        font-size: 40px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .news_title_section {
        padding: 87px 0 35px 0; /* 태블릿 중간값 */
    }
    
    .news_title {
        font-size: 35px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .news_title_section {
        padding: 81px 0 32px 0; /* 모바일 중간값 */
    }
    
    .news_title_container {
        padding: 0 15px;
    }
    
    .news_title {
        font-size: 32px; /* 모바일 중간값 */
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .news_title_section {
        padding: 75px 0 30px 0; /* 작은 모바일 */
    }
    
    .news_title_container {
        padding: 0 15px;
    }
    
    .news_title {
        font-size: 30px; /* 작은 모바일 */
    }
}
