/* Accessibility - Hide Screen Reader Only Texts */
.sound_only {
    display: none !important;
}

/* Hero Banner Section */
.notice_main_section {
    position: relative;
    width: 100%;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.notice_main_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35); /* Elegant semi-dark overlay */
    z-index: 1;
}

.notice_main_container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.notice_main_content {
    text-align: center;
    color: #FFFFFF;
}

.notice_main_en {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.notice_main_ko {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 52px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}


/* Container */
.notice_list_container {
    max-width: 100%;
    background: #FFFFFF;
    padding-top: 100px;
    padding-bottom: 100px;
}

.notice_inner_wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Title Block */
.notice_title_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.notice_list_title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #222222;
    margin: 0;
    letter-spacing: -0.02em;
    text-align: center;
}

.notice_list_title .brand_color {
    color: #2B308B;
}

/* Search Bar Wrapper - Aligned Right on Desktop */
.notice_search_section {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
    width: 100%;
}

.notice_search_wrap {
    width: 100%;
    max-width: 320px;
}

.notice_search_box {
    position: relative;
    width: 100%;
}

.notice_search_input {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    border: none;
    background: #F4F4F8;
    border-radius: 30px;
    padding: 14px 50px 14px 24px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    color: #333333;
    transition: all 0.25s ease;
}

.notice_search_input::placeholder {
    color: #A0A0B0;
}

.notice_search_input:focus {
    background: #EEEEF4;
    box-shadow: 0 0 0 3px rgba(43, 48, 139, 0.05);
}

.notice_search_btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #222222;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    padding: 0;
    display: flex;
    align-items: center;
}

/* List Table Style */
.notice_list_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.notice_list_row {
    border-bottom: 1px solid #ECECF2;
    transition: background 0.2s ease;
    cursor: pointer;
}

.notice_list_row:hover {
    background: #FBFBFF;
}

.notice_col_num {
    padding: 24px 15px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #888899;
    text-align: center;
    width: 10%;
}

.notice_col_num.is_notice_badge {
    color: #FF2E93;
    font-weight: 700;
}

.notice_col_subject {
    padding: 24px 15px;
    width: 75%;
}

.notice_subject_link {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.notice_subject_link:hover {
    color: #2B308B;
}

.notice_col_date {
    padding: 24px 15px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #888899;
    text-align: right;
    width: 15%;
}

/* Write Button for Admin */
.notice_admin_write_wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.notice_admin_write_btn {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 700;
    background: #2B308B;
    color: #FFFFFF;
    border-radius: 30px;
    padding: 12px 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(43, 48, 139, 0.15);
    transition: all 0.25s ease;
}

.notice_admin_write_btn:hover {
    background: #1D2173;
    transform: translateY(-2px);
}

/* Circular Pagination Style */
.pg_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 8px;
}

.pg_wrap .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #2B308B;
    color: #FFFFFF;
    border-radius: 50%;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0 6px;
}

.pg_wrap .pg_page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #888899;
    border-radius: 50%;
    text-decoration: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0 6px;
}

.pg_wrap .pg_page:hover {
    background: #F1F1F6;
    color: #222222;
}

.pg_wrap .pg_start,
.pg_wrap .pg_prev,
.pg_wrap .pg_next,
.pg_wrap .pg_end {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: 32px;
    line-height: 32px;
    border-radius: 16px !important;
    padding: 0 12px !important;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    color: #555566;
    text-decoration: none;
    background: #F1F1F6;
    border: 1px solid #E1E1E8;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.pg_wrap .pg_start:hover,
.pg_wrap .pg_prev:hover,
.pg_wrap .pg_next:hover,
.pg_wrap .pg_end:hover {
    background: #2B308B;
    color: #FFFFFF;
    border-color: #2B308B;
}

/* =========================================================================
   Notice View Page Styles
   ========================================================================= */
.notice_view_container {
    max-width: 100%;
    background: #FFFFFF;
    padding-top: 100px;
    padding-bottom: 80px;
}

.notice_view_header {
    border-top: 1px solid #222222;
    padding-top: 20px;
    margin-top: 10px;
    margin-bottom: 40px;
}

.notice_view_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.notice_view_title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #222222;
}

.notice_view_date {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #888899;
}

.notice_view_content {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 50px;
    word-break: break-all;
}

.notice_view_text_con {
    padding: 10px 0;
}

.notice_view_text_con img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 20px 0;
}

/* Previous/Next Nav List */
.notice_view_nav_list {
    border-top: 1px solid #ECECF2;
    border-bottom: 1px solid #ECECF2;
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.notice_view_nav_list .nav_item {
    display: flex;
    align-items: center;
    padding: 20px 15px;
}

.notice_view_nav_list .nav_item.prev_item {
    border-bottom: 1px solid #F1F1F6;
}

.notice_view_nav_list .nav_label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #888899;
    width: 80px;
    flex-shrink: 0;
}

.notice_view_nav_list .nav_link {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
    text-decoration: none;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.notice_view_nav_list .nav_item:hover .nav_link {
    color: #2B308B;
}

.notice_view_nav_list .nav_date {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #888899;
    flex-shrink: 0;
    margin-left: 20px;
}

/* Back Button Layout - Centered Solid Pill */
.notice_view_actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-top: 40px;
}

.notice_back_list_btn {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    background: #2B308B;
    text-decoration: none;
    border-radius: 35px;
    padding: 16px 80px;
    box-shadow: 0 4px 12px rgba(43, 48, 139, 0.15);
    transition: all 0.25s ease;
    display: inline-block;
}

.notice_back_list_btn:hover {
    background: #1D2173;
    box-shadow: 0 6px 18px rgba(43, 48, 139, 0.25);
    transform: translateY(-2px);
}

.notice_view_admin_opts {
    display: flex;
    gap: 8px;
}

.notice_admin_opt_btn {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #888899;
    border: 1px solid #ECECF2;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.notice_admin_opt_btn:hover {
    border-color: #2B308B;
    color: #2B308B;
}

/* =========================================================================
   Notice Write Page Styles - Premium Card
   ========================================================================= */
.notice_write_wrap {
    max-width: 1200px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #ECECF2;
    border-radius: 16px;
    padding: 50px 45px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.notice_write_wrap .write_div {
    margin-bottom: 25px;
}

.notice_write_wrap .write_label {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 10px;
}

.notice_write_wrap .write_label strong {
    color: #E74C3C;
    margin-left: 3px;
    font-weight: bold;
}

.notice_write_wrap .frm_input {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    border: 1px solid #ECECF2;
    border-radius: 8px;
    padding: 14px 20px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.25s ease;
    background: #F8F8FC;
    color: #333333;
}

.notice_write_wrap .frm_input:focus {
    background: #FFFFFF;
    border-color: #2B308B;
    box-shadow: 0 0 0 3px rgba(43, 48, 139, 0.08);
}

.notice_write_wrap .wr_content {
    border: 1px solid #ECECF2;
    border-radius: 8px;
    padding: 12px;
    background: #F8F8FC;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.notice_write_wrap .wr_content:focus-within {
    background: #FFFFFF;
    border-color: #2B308B;
    box-shadow: 0 0 0 3px rgba(43, 48, 139, 0.08);
}

/* File Upload Field */
.notice_file_upload_box {
    position: relative;
    background: #F8F8FC;
    border: 1px dashed #D0D0DC;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice_file_upload_box:hover {
    border-color: #2B308B;
    background: #F2F2F9;
}

.notice_file_upload_box input[type="file"] {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #555555;
    cursor: pointer;
    outline: none;
}

.notice_write_wrap .btn_confirm {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.notice_write_wrap .btn_confirm .btn {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.notice_write_wrap .btn_confirm .btn_cancel {
    background: #FFFFFF;
    border: 1px solid #ECECF2;
    color: #555555;
    text-align: center;
}

.notice_write_wrap .btn_confirm .btn_cancel:hover {
    background: #F8F8FC;
    color: #222222;
}

.notice_write_wrap .btn_confirm .btn_submit {
    background: #2B308B;
    border: 1px solid #2B308B;
    color: #FFFFFF;
}

.notice_write_wrap .btn_confirm .btn_submit:hover {
    background: #1D2173;
    box-shadow: 0 6px 18px rgba(43, 48, 139, 0.2);
    transform: translateY(-1px);
}

/* Responsive Mobile Rules */
@media (max-width: 767px) {
    .notice_main_section {
        min-height: 380px;
    }
    
    .notice_main_ko {
        font-size: 32px;
    }
    
    .notice_list_container {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .notice_list_title {
        font-size: 30px;
    }
    
    .notice_title_section {
        margin-bottom: 30px;
    }
    
    .notice_search_section {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .notice_search_wrap {
        max-width: 100%;
    }
    
    .notice_col_num {
        width: 15%;
        padding: 16px 8px;
        font-size: 13px;
    }
    
    .notice_col_subject {
        width: 60%;
        padding: 16px 8px;
    }
    
    .notice_subject_link {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .notice_col_date {
        width: 25%;
        padding: 16px 8px;
        font-size: 13px;
    }
    
    .cta_title {
        font-size: 26px;
    }
    
    .cta_desc {
        font-size: 14px;
    }

    .notice_write_wrap {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .notice_write_wrap .btn_confirm .btn {
        padding: 14px 35px;
        font-size: 15px;
    }
}
