@charset "utf-8";
a {text-decoration: none; color: #1a3a6d;}
.text-center {text-align: center;}

/* 카테고리 */
.list-category .div-tab-box { margin-bottom:15px; }
.list-category .dropdown { margin-bottom:15px; }
.list-category .active a, .list-category .selected a { color:crimson; font-weight:bold !important; }

/* PC 목록 */
table.list-pc { border-bottom: 1px solid #ddd; margin-bottom:15px; }
table.list-pc th { white-space:nowrap; clear:both; height:43px; background: url('./img/head.gif') repeat-x !important; font-weight:bold; font-size:12px; color:#333; border:0px !important; padding:0px !important; margin:0px !important; text-align:center; }
table.list-pc th a { text-decoration:none; color:#333; }
table.list-pc th a:hover, table.bo-list th a:focus, table.bo-list th a:active { color:#000; }
table.list-pc td { white-space:nowrap; }
table.list-pc tbody tr:first-child td { border-top:0 !important; }
table.list-pc .list-now { background: #fafafa; }
table.list-pc .list-img img { width:40px; height:40px; border-radius:50%; }
table.list-pc .list-img i { width: 40px; height: 40px; line-height:40px; margin:0px; font-size: 24px; background: rgb(238, 238, 238); border-radius:50%; text-align: center; color: rgb(255, 255, 255); display: inline-block; }
table.list-pc .list-subject { text-align:left !important;  white-space:normal !important;}
table.list-pc .list-subject a { display:block; }
table.list-pc .list-subject.now { font-weight:bold !important; }
table.list-pc .list-subject.notice { font-weight:bold !important; }
table.list-pc .list-none { padding:100px 0px; }

/* 모바일 목록 */
.list-mobile { margin-bottom:15px; border-top:1px solid #eee; }
.list-mobile strong { font-weight:normal; margin:0px; line-height:40px; display:block; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal; overflow:hidden; }
.list-mobile.no-img strong { line-height:30px; }
.list-mobile strong.notice a { font-weight:bold; }
.list-mobile strong.best a { }
.list-mobile strong.now a { font-weight:bold; color:crimson; }
.list-mobile .list-img img { width:40px; height:40px; border-radius:50%; }
.list-mobile .list-img i { width: 40px; height: 40px; line-height:40px; margin:0px; font-size: 24px; background: rgb(238, 238, 238); border-radius:50%; text-align: center; color: rgb(255, 255, 255); display: inline-block; }
.list-mobile .list-cnt { color: orangered; font-size: 12px; font-weight:bold; font-family:verdana; letter-spacing:-1px; }
.list-mobile .media { border-bottom:1px solid #eee; margin:0px; padding:6px 8px; }
.list-mobile .media.list-notice {  background:#fafafa; }
.list-mobile .media.list-now { background:#fafafa; }
.list-mobile :first-child.media { margin-top:0px; }
.list-mobile .media .media-body { padding-left:0px; }

/* 목록 공통 */
.list-wrap { width:100%; }
.list-btn-box { margin-bottom: 15px; }
.list-btn-box a span { margin-left: 4px; }
.list-btn-box .sort a { color:crimson !important; font-weight:bold !important; }
.list-btn-box .dropdown-menu { font-size: 12px; }
.list-none { margin:0px 0px 15px; padding:80px 0px; }
.list-page { margin-bottom:15px; }
.list-page .pagination { margin:0; }

/* 아이콘 */
.list-wrap .wr-text { font-family:dotum; font-size:11px; letter-spacing:-1px; line-height:11px; font-weight:normal; }
.list-wrap .wr-icon { display:inline-block; padding:0px; margin:0px; overflow:hidden; vertical-align:middle; background-repeat: no-repeat; background-position: left top; }
.list-wrap .wr-notice { width:37px; height:19px; background-image: url('./img/icon_notice.gif'); }
.list-wrap .wr-new { width:12px; height:12px; background-image: url('./img/icon_new.gif'); }
.list-wrap .wr-secret { width:12px; height:12px; background-image: url('./img/icon_secret.gif'); }
.list-wrap .wr-hot { width:12px; height:12px; background-image: url('./img/icon_hot.gif'); }

/* 내용 공통 */
.view-wrap { width:100%; overflow:hidden; }
.view-wrap .img-photo i { background: rgb(245, 245, 245); padding: 16px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(143, 143, 143); font-size: 40px; display: inline-block; }
.view-wrap .img-photo img { border-radius: 50%; width: 80px !important; height: 80px !important; display:inline-block; }
.view-wrap .img-resize img { max-width:100%; height:auto; }
.view-wrap h1 { font-size: 22px; font-weight:bold; margin:0px; line-height:50px; display:block; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal; overflow:hidden; margin:0px; padding:0px 10px; color: rgb(59, 62, 67); letter-spacing:-1px; }
.view-wrap h1 .photo { border-radius: 50%; width: 50px; height: 50px; margin-bottom:10px; margin-right:10px; }
.view-wrap .no-attach { border-bottom:0px; }

.view-btn { margin:0px 0px 30px; }
.view-btn i { margin-right:2px; }

.view-head { border-left:0px; border-right:0px; }
.view-head .sp { display:inline-block; width:20px; text-align:center; font-size:11px; color:#888; }
.view-head .list-group-item { padding:5px 15px; border-style:dotted; }
.view-tag { margin:10px 0px; padding:0px; color:#888; }
.view-tag a { color:#888; }
.view-tag a:hover { color:crimson; }
.view-cnt { margin-top:4px; }
.view-img img { display:block; max-width:100%; margin:0 auto 15px; border:0; height:auto; }
.view-content { padding:0px 15px 20px }
.view-mobile .view-content { padding:0px 0px 20px; }
.view-content img { width:auto; height:auto; max-width:100%; }
.view-content p { padding:0; margin:0; line-height:22px; }
.view-good-box { text-align:center; }
.view-good-box span { margin:15px 6px; width:80px; height:80px; display:inline-block; }
.view-good-box a { background: rgb(245, 245, 245); padding-top:14px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(51, 51, 51); font-size: 22px; line-height:26px; display: inline-block; }
.view-good-box .view-good a:hover { background: rgb(223, 17, 25); color: rgb(255, 255, 255); }
.view-good-box .view-nogood a:hover { background: rgb(0, 0, 0); color: rgb(255, 255, 255); }
.view-author .auth-photo { width:160px; padding-right:15px; }
.view-comment { color: rgb(51, 51, 51); font-family: "Roboto", sans-serif; margin: 0px 0px 10px; padding: 0px 0px 5px; text-transform: capitalize; overflow: hidden; font-size: 20px; font-weight: 500; border-bottom-color: rgb(51, 51, 51); border-bottom-width: 1px; border-bottom-style: solid; display: inline-block; position: relative; }

#bo_v_sns {margin:4px 0 15px;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;margin:0 5px 0 0}

/* 댓글 */
.comment-media { }
.comment-media .photo i { background: rgb(245, 245, 245); padding: 15px; border-radius: 50%; width: 64px; height: 64px; text-align: center; color: rgb(143, 143, 143); font-size: 30px; display: inline-block; }
.comment-media .photo img { border-radius: 50%; width: 64px !important; height: 64px !important; display:inline-block; }
.view-mobile .comment-media .photo i { padding: 10px; width: 54px; height: 54px; }
.view-mobile .comment-media .photo img { width: 54px !important; height: 54px !important; }

.comment-media .media { border-top:1px solid #eee; margin:7px 0px; padding:7px 0px 0px; }
.comment-media :first-child.media { border-top:0px; margin-top:0px; padding-top:0px; }
.comment-media h5 { margin:2px 0px; line-height: 22px; }
.comment-media .media .media-body { padding-left:0px; }
.comment-media .media .media-info { margin-left:10px; }
.comment-media .media .media-content {	margin-top:8px; }
.comment-media .media .media-btn {	margin-left:4px; }
.comment-media .cmt-good-btn { text-align:right; padding-right:1px; }
.comment-media .cmt-good, .comment-media .cmt-nogood { display:inline-block; width:74px; height:20px; margin-top:10px; padding-right:10px; margin-right:-1px; font:bold 11px verdana; text-align:right; letter-spacing:-1px; line-height:19px; cursor:pointer; }
.comment-media .cmt-good { background: url('./img/cmt_good.gif') no-repeat left center; color:#f4695b; }
.comment-media .cmt-nogood { background: url('./img/cmt_nogood.gif') no-repeat left center; color:#888; }

#bo_vc_opt ol {	margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_opt ol:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_opt ol li { float:left;margin:0; }
#bo_vc_send_sns ul { margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_send_sns ul:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_send_sns ul li {	float:left;margin:0 0 0 20px; }
#bo_vc_send_sns input {	margin:0 0 0 5px; }

/* 쓰기 공통 */
.write-wrap { width:100%; overflow:hidden; }
.write-wrap h2 { padding:0px; margin:0px; font-size:14px; font-weight:bold; }
.write-wrap label { font-weight:bold; margin-top:4px; }
.write-wrap .write-content { height: 300px; }
.write-wrap .write-file { border:0;box-shadow:none; }
.write-wrap .write-btn { margin:15px 0px 25px; text-align:center; }
.write-wrap .delete-file { margin:0px; padding:0px 10px; font-weight:normal; }
.write-wrap .delete-file label { font-weight: normal; }
.write-wrap .sp-label { font-weight:normal; margin-right:10px; }
.write-wrap .sp-label input[type="checkbox"], .write-wrap .sp-label input[type="radio"] { margin-top:0px; }

#autosave_pop div { text-align:right; }
#autosave_pop button { margin:0; margin-left:10px; padding:0; border:0; background:transparent; color:#888; }
#autosave_pop ul { margin:0; padding:0; padding-left:15px; list-style:disc; }
#autosave_pop li { padding:2px 5px;  }
#autosave_pop li:after { display:block; visibility:hidden; clear:both; content:""; }
#autosave_pop a { display:block; float:left; }
#autosave_pop span { display:block;; float:right; }

/* 반응형 공통 */
@media all and (max-width:460px) {
	.responsive .list-btn { text-align:center; margin:0px auto; }
	.responsive .pull-right.list-btn { float:none !important; margin-bottom:14px; }
	.responsive .view-wrap h1 { text-overflow:clip; overflow:none; white-space:normal; line-height: 24px; font-size: 18px; margin-bottom:10px; }
	.responsive .view-wrap h1 .photo { display:none; }
	.responsive .view-btn i { margin-right:0px; }
	.responsive .view-author .auth-photo { float:none; width:100%; padding-right:0px; }
	.responsive .comment-btn { text-align:center; }
	.responsive .comment-btn .pull-right { float:none !important; }
}

/* 페이지 타이틀 섹션 */
.page-title {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26,58,109,0.8), rgba(42,82,152,0.8));
}

.page-title .container {
    position: relative;
    z-index: 1;
}

.page-title h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 컨테이너 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 검색 섹션 */
.notice-search {
    padding: 40px 0;
    background: #f8f9fa;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.search-box form {
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.search-box button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #2a5298;
    font-size: 1.2rem;
    cursor: pointer;
}

/* 공지사항 목록 */
.notice-list {
    padding: 60px 0;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.notice-table th {
    background: #f8f9fa;
    padding: 20px;
    font-weight: 500;
    color: #1a3a6d;
    border-top: 2px solid #2a5298;
    border-bottom: 1px solid #dee2e6;
}

.notice-table td {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    color: #495057;
}

.notice-table tr:hover {
    background: #f8f9fa;
}

.notice-important {
    background: #f8f9fa;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background: #2a5298;
    color: #fff;
    border-radius: 15px;
    font-size: 0.9rem;
}

.new-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 8px;
}

.notice-table td a {
    color: #1a3a6d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.notice-table td a:hover {
    color: #2a5298;
}

.center {
  text-align: center;
}

/* 페이지네이션 개선 스타일 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    background-color: #f8f9fa;
    color: #1a3a6d;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #e9ecef;
    color: #2a5298;
    transform: translateY(-2px);
}

.pagination .current {
    background-color: #2a5298;
    color: #fff;
    box-shadow: 0 4px 8px rgba(42,82,152,0.2);
}

.pagination .prev_page,
.pagination .next_page {
    font-size: 0.9rem;
}

.pagination i {
    font-size: 0.8rem;
}

/* 모바일 페이징 개선 */
@media (max-width: 576px) {
    .pagination {
        gap: 5px;
    }

    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* 페이지 번호 부분에 애니메이션 효과 추가 */
.pagination a,
.pagination span {
    position: relative;
    overflow: hidden;
}

.pagination a:before,
.pagination span:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42,82,152,0.1);
    border-radius: 20px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.pagination a:hover:before {
    transform: scale(1);
}

.pagination .current:before {
    display: none;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .page-title {
        padding: 80px 0;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }

    .notice-table th:nth-child(3),
    .notice-table th:nth-child(4),
    .notice-table td:nth-child(3),
    .notice-table td:nth-child(4) {
        display: none;
    }

    .notice-table td {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 2rem;
    }

    .page-title p {
        font-size: 1.1rem;
    }

    .search-box input {
        font-size: 1rem;
        padding: 12px 40px 12px 15px;
    }

    .notice-table th,
    .notice-table td {
        padding: 12px 10px;
    }

    .pagination {
        gap: 5px;
    }

    .page-number,
    .page-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* 공지사항 상세 보기 스타일 */
.notice-view {
    padding: 60px 0;
    background: #fff;
}

.post-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.post-title {
    font-size: 2rem;
    color: #1a3a6d;
    margin-bottom: 15px;
}

.post-info {
    display: flex;
    gap: 20px;
    color: #666;
}

.post-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-info i {
    color: #2a5298;
}

.post-content {
    min-height: 300px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.post-content h3 {
    font-size: 1.2rem;
    color: #1a3a6d;
    margin: 30px 0 15px;
}

.post-content ul {
    padding-left: 20px;
    margin: 15px 0;
}

.post-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.post-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2a5298;
}

.attachments {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.attachments h3 {
    font-size: 1.1rem;
    color: #1a3a6d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attachments ul {
    list-style: none;
}

.attachments li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s ease;
}

.attachments li a:hover {
    color: #2a5298;
}

.file-size {
    color: #868e96;
    font-size: 0.9rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    text-decoration: none;
    color: #495057;
    width: 50%;
    transition: background-color 0.3s ease;
}

.prev-post:hover,
.next-post:hover {
    background-color: #f8f9fa;
}

.nav-content {
    display: flex;
    flex-direction: column;
}

.nav-content .label {
    font-size: 0.9rem;
    color: #868e96;
    margin-bottom: 5px;
}

.nav-content .title {
    color: #1a3a6d;
    font-weight: 500;
}

.post-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.list-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #2a5298;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.list-button:hover {
    background: #1a3a6d;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .notice-view {
        padding: 40px 0;
    }

    .post-title {
        font-size: 1.6rem;
    }

    .post-navigation {
        flex-direction: column;
    }

    .prev-post,
    .next-post {
        width: 100%;
    }

    .prev-post {
        border-bottom: 1px solid #e9ecef;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.4rem;
    }

    .post-info {
        flex-direction: column;
        gap: 10px;
    }

    .attachments {
        padding: 15px;
    }
}

/* 공지사항 작성 폼 스타일 */
.notice-form {
    padding: 60px 0;
    background: #fff;
}

.notice-form h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a3a6d;
    margin-bottom: 40px;
}

.board-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.notice-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
    font-weight: normal;
}

.notice-label span {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    position: relative;
}

.selec_chk:checked + .notice-label span:after {
    content: "✓";
    position: absolute;
    top: -1px;
    left: 3px;
    color: #2a5298;
    font-size: 12px;
}

.selec_chk {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    color: #495057;
}

.cancel-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 40px;
    background: #eee;
    color: #666;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 10px;
}

.cancel-button:hover {
    background: #ddd;
    color: #333;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .board-form {
        padding: 30px 20px;
    }

    .form-submit {
        flex-direction: column;
        gap: 10px;
    }

    .submit-button, .cancel-button {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
}
/* 상담문의 목록 페이지 스타일 */
.inquiry-list {
    padding: 80px 0;
    background: #fff;
}

.list-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.list-btn-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    flex-wrap: wrap;
}

.list-left-btn, .list-right-btn {
    margin-bottom: 15px;
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-search, .btn-rss {
    background: #f0f4ff;
    color: #2a5298;
}

.btn-search:hover, .btn-rss:hover {
    background: #2a5298;
    color: #fff;
    transform: translateY(-2px);
}

.btn-sort {
    background: #f0f4ff;
    color: #2a5298;
}

.btn-list {
    background: #f0f4ff;
    color: #2a5298;
}

.btn-write {
    background: #2a5298;
    color: #fff;
}

.btn-write:hover {
    background: #1a3a6d;
    transform: translateY(-2px);
}

.btn-admin {
    background: #f0f4ff;
    color: #666;
}

.btn-admin:hover {
    background: #ddd;
    color: #333;
}

.sort-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 160px;
    padding: 10px 0;
    margin-top: 5px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f0f4ff;
    color: #2a5298;
}

.dropdown-menu .sort a {
    color: #2a5298;
    font-weight: bold;
}

table.list-pc {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    border-top: 2px solid #2a5298;
}

table.list-pc th {
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    color: #1a3a6d;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

table.list-pc td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #666;
    text-align: center;
}

table.list-pc .list-subject {
    text-align: left !important;
}

table.list-pc .list-subject a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

table.list-pc .list-subject a:hover {
    color: #2a5298;
}

table.list-pc .list-now .list-subject a {
    color: #2a5298;
    font-weight: bold;
}

.list-mobile .media {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.list-mobile .media-body {
    flex: 1;
}

.list-mobile strong {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.list-mobile .media-info {
    font-size: 13px;
    color: #888;
    display: flex;
    gap: 15px;
}

.list-page {
    text-align: center;
    margin: 40px 0 20px;
}

.pagination {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination li {
    display: inline-block;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4ff;
    color: #2a5298;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #2a5298;
    color: #fff;
}

.pagination .active .page-link {
    background-color: #2a5298;
    color: #fff;
    font-weight: bold;
}

.search-modal .modal-dialog {
    max-width: 500px;
    margin: 100px auto;
}

.search-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.search-modal .modal-header {
    background: #2a5298;
    color: #fff;
    border-bottom: none;
    padding: 20px;
}

.search-modal .modal-header h4 {
    font-weight: 500;
    margin: 0;
}

.search-modal .close {
    color: #fff;
    opacity: 0.8;
    font-size: 24px;
}

.search-modal .modal-body {
    padding: 30px;
}

.search-form {
    padding: 0;
}

.search-form label {
    font-weight: 500;
    color: #1a3a6d;
    margin-bottom: 8px;
    display: block;
}

.search-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-submit {
    background: #2a5298;
    color: #fff;
    flex: 1;
}

.btn-submit:hover {
    background: #1a3a6d;
}

.btn-cancel {
    background: #eee;
    color: #666;
}

.btn-cancel:hover {
    background: #ddd;
    color: #333;
}

/* 상담문의 상세보기 페이지 스타일 */
.inquiry-view {
    padding: 80px 0;
    background: #fff;
}

.view-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.view-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.view-header h2 {
    font-size: 1.8rem;
    color: #1a3a6d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.view-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-attachments {
    margin-bottom: 30px;
}

.view-attachments h3 {
    font-size: 1.2rem;
    color: #1a3a6d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attachment-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.attachment-list a {
    display: block;
    padding: 10px;
    color: #2a5298;
    text-decoration: none;
    transition: background 0.3s ease;
    border-radius: 5px;
    margin-bottom: 5px;
}

.attachment-list a:last-child {
    margin-bottom: 0;
}

.attachment-list a:hover {
    background: #f0f4ff;
}

.view-images {
    margin-bottom: 30px;
}

.view-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.view-content-wrap {
    margin-bottom: 30px;
}

.view-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    margin-bottom: 10px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 500;
    color: #1a3a6d;
    width: 100px;
}

.view-content {
    line-height: 1.8;
    color: #333;
}

.view-content img {
    max-width: 100%;
    height: auto;
}

.view-rating {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #666;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rating-item a:hover {
    background: #f0f4ff;
}

.rating-item.good a:hover {
    color: #3498db;
}

.rating-item.nogood a:hover {
    color: #e74c3c;
}

.rating-item i {
    font-size: 24px;
}

.rating-item span {
    font-weight: 500;
}

.view-tags {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9rem;
}

.view-tags a {
    display: inline-block;
    margin-right: 5px;
    padding: 3px 8px;
    background: #f0f4ff;
    color: #2a5298;
    border-radius: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-tags a:hover {
    background: #2a5298;
    color: #fff;
}

.view-actions {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.btn-tool {
    background: #f0f4ff;
    color: #666;
    font-size: 0.9rem;
    padding: 8px 15px;
}

.btn-tool:hover {
    background: #ddd;
    color: #333;
}

.view-comment-wrap {
    margin-bottom: 40px;
}

.comment-title {
    font-size: 1.4rem;
    color: #1a3a6d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f4ff;
}

.view-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-nav {
    background: #f0f4ff;
    color: #2a5298;
}

.btn-nav:hover {
    background: #2a5298;
    color: #fff;
}

.btn-edit {
    background: #3498db;
    color: #fff;
}

.btn-edit:hover {
    background: #2980b9;
    color: #fff;
}

.btn-delete {
    background: #e74c3c;
    color: #fff;
}

.btn-delete:hover {
    background: #c0392b;
    color: #fff;
}

.btn-action {
    background: #f0f4ff;
    color: #666;
}

.btn-action:hover {
    background: #ddd;
    color: #333;
}

.btn-reply {
    background: #f0f4ff;
    color: #2a5298;
}

.btn-reply:hover {
    background: #2a5298;
    color: #fff;
}

@media (max-width: 768px) {
    .list-container, .view-container {
        padding: 20px;
        margin: 0 15px;
    }

    .list-btn-wrapper, .view-actions, .view-buttons {
        flex-direction: column;
    }

    .list-left-btn, .list-right-btn, .action-left, .action-right {
        width: 100%;
    }

    .view-info {
        flex-direction: column;
        gap: 10px;
    }

    .btn-group {
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    table.list-pc th:nth-child(2),
    table.list-pc td:nth-child(2),
    table.list-pc th:nth-child(4),
    table.list-pc td:nth-child(4) {
        display: none;
    }
}

/* 댓글 섹션 스타일 */
.comment-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.comment-title {
    font-size: 1.4rem;
    color: #1a3a6d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f4ff;
}

.comment-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.photo {
    margin-right: 15px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-info {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-best {
    background: #ff8c42;
    color: #fff;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.comment-name {
    font-weight: 600;
    color: #1a3a6d;
    margin-right: 10px;
}

.comment-date, .comment-ip, .comment-sns {
    color: #888;
    font-size: 0.9rem;
    margin-right: 10px;
}

.comment-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
}

.comment-action-btn {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 15px;
    background: #f0f4ff;
    transition: all 0.3s ease;
}

.comment-action-btn:hover {
    background: #2a5298;
    color: #fff;
}

.comment-content {
    padding: 5px 0;
    color: #444;
    line-height: 1.6;
}

.comment-secret {
    color: #ff8c42;
    margin-right: 5px;
}

.reply-tag {
    display: inline-block;
    background: #f0f4ff;
    color: #2a5298;
    padding: 2px 8px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 5px;
}

.comment-rating {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.rating-good, .rating-nogood {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 15px;
    background: #f0f4ff;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rating-good:hover {
    background: #e8f4fd;
    color: #3498db;
}

.rating-nogood:hover {
    background: #fef0f0;
    color: #e74c3c;
}

.no-comment {
    text-align: center;
    padding: 30px 0;
    color: #888;
}

.no-comment i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ddd;
}

/* 댓글 작성 섹션 스타일 */
.comment-write-section {
    margin-top: 30px;
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.comment-write-section h3 {
    font-size: 1.2rem;
    color: #1a3a6d;
    margin-bottom: 20px;
}

.comment-form {
    width: 100%;
}

.guest-comment-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.char-count {
    float: right;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.comment-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.comment-option-left, .comment-option-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkbox-label, .radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
}

.comment-auto-rating {
    display: flex;
    gap: 10px;
}

.comment-submit-btn {
    padding: 10px 20px;
    background: #2a5298;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.comment-submit-btn:hover {
    background: #1a3a6d;
    transform: translateY(-2px);
}

.comment-tool-btns {
    display: flex;
    gap: 8px;
}

.comment-tool-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4ff;
    color: #2a5298;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-tool-btn:hover {
    background: #2a5298;
    color: #fff;
}

.guest-captcha {
    margin-top: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.comment-login {
    margin-top: 30px;
    text-align: center;
}

.comment-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f0f4ff;
    color: #2a5298;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.comment-login-btn:hover {
    background: #2a5298;
    color: #fff;
}

@media (max-width: 768px) {
    .guest-comment-info {
        grid-template-columns: 1fr;
    }

    .comment-actions {
        width: 100%;
        margin-top: 10px;
        justify-content: flex-start;
    }

    .comment-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-option-right {
        width: 100%;
        justify-content: space-between;
    }

    .comment-submit-btn {
        width: auto;
    }

    .d-none {
        display: none !important;
    }

    .d-md-inline-block {
        display: none !important;
    }
}

/* 공지사항 글쓰기 페이지 스타일 추가 */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    color: #495057;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
}

.form-textarea {
    width: 96%;
    min-height: 150px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    resize: vertical;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
}

.editor-container {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.required-mark {
    color: #dc3545;
    margin-left: 2px;
}

.file-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-input-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-upload-wrap {
    position: relative;
}

.file-upload-wrap::after {
    content: '파일 선택';
    position: absolute;
    right: 0;
    top: 0;
    background: #f0f4ff;
    color: #2a5298;
    padding: 8px 15px;
    border-radius: 0 8px 8px 0;
    pointer-events: none;
}

.file-upload-wrap input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.file-delete {
    margin-top: 5px;
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
        margin: 0 15px;
    }

    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .form-submit {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .submit-button, .cancel-button {
        width: 100%;
        justify-content: center;
    }
}

/* 폼 그리드 스타일 추가 */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1a3a6d;
    font-weight: 500;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* 폼 제출 버튼 그룹 */
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 40px;
    background: #2a5298;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #1a3a6d;
    transform: translateY(-2px);
}

/* 공지사항 모바일 최적화 스타일 */
.notice-subject-link {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.notice-subject-text {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 2px;
}

.notice-subject-meta {
  display: block;
  text-align: left;
  color: #888;
  font-size: 0.9em;
  margin-top: 2px;
}

.notice-date {
  display: inline-block;
}

@media (max-width: 576px) {
  .list-mobile strong {
    line-height: normal;
    padding: 8px 0;
  }

  .list-mobile.no-img strong {
    line-height: normal;
  }

  .notice-subject-link {
    padding: 5px 0;
  }

  /* 모바일 공지사항 게시판 추가 개선 */
  .list-mobile .media {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }

  .list-mobile .media-body {
    width: 100%;
  }

  .list-mobile .media-heading {
    width: 100%;
    line-height: 1.4;
  }

  .notice-subject-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
    white-space: normal;
    word-break: break-word;
  }

  .notice-subject-meta {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
  }

  .list-mobile p {
    margin-bottom: 12px;
    font-size: 14px;
  }

  /* 검색창 모바일 최적화 */
  .search-box {
    max-width: 100%;
    padding: 0 15px;
  }

  .search-box input {
    padding: 12px 45px 12px 15px;
    font-size: 1rem;
  }

  .search-box button {
    right: 15px;
  }

  /* 모바일 페이지 여백 조정 */
  .container {
    padding: 0 15px;
  }

  .notice-list {
    padding: 30px 0;
  }

  /* 목록 페이지 여백 조정 */
  .list-mobile {
    margin-bottom: 10px;
  }
}

/* 초소형 모바일 화면 최적화 */
@media (max-width: 360px) {
  .list-mobile .media {
    padding: 8px;
  }

  .notice-subject-text {
    font-size: 14px;
  }

  .notice-subject-meta {
    font-size: 12px;
  }

  .list-mobile p {
    font-size: 13px;
    padding: 0 10px;
  }

  .pagination a,
  .pagination span {
    min-width: 30px;
    height: 30px;
    font-size: 0.8rem;
    padding: 0 8px;
  }

  /* 초소형 화면 추가 최적화 */
  .search-box input {
    padding: 10px 40px 10px 12px;
    font-size: 0.9rem;
  }

  .search-box button {
    right: 12px;
    font-size: 1rem;
  }
}

/* 모바일 레이아웃 개선 */
@media (max-width: 576px) {
  /* 컨테이너 여백 조정 */
  .container {
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 텍스트 오버플로우 방지를 위한 공통 스타일 */
  .media-heading, .notice-subject-text, .notice-subject-link, .media-body {
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* 모바일 여백 최적화 */
  .notice-search {
    padding: 25px 0;
  }

  .notice-list {
    padding: 25px 0;
  }

  /* 검색창 모바일 최적화 */
  .search-box {
    width: 100%;
    padding: 0;
  }

  /* 목록 텍스트 최적화 */
  .list-mobile .media {
    padding: 12px 10px;
  }

  .list-mobile strong {
    padding: 5px 0;
  }

  /* 페이지 정보 텍스트 */
  p {
    padding: 0 10px;
    box-sizing: border-box;
    word-break: break-word;
  }
}
