* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 92px;
    padding-bottom: 130px;
    box-sizing: border-box;
    width: 100%;
}

.container .posts-table{
    max-width: 1600px;
}
h2 {
    text-align: center;
    margin-bottom: 10px;
}
@media (max-width: 600px) {
    h2 {
        font-size: 22px;
        width: 100%;
        min-width: unset;
        max-width: unset;
        height: auto;
    }
}
.description {
    text-align: center;
    color: #555;
    font-size: 14px;
    margin-bottom: 90px;
    line-height: 1.6;
}
@media (max-width: 600px) {
    .description {
        font-size: 16px;
        line-height: 26px;
        max-width: 95vw;
        padding: 8px 0;
    }
}
.search-box {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.search-box select{
    appearance: none; /* 기본 화살표 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 40px;
    width: 130px;
    padding: 8px 30px 8px 10px; /* 오른쪽 여백 확보 */
    font-size: 16px;
    border: 1px solid #ccc;
    background: url('/resources/images/customer/btn_select.png') no-repeat right 10px center;
    background-size: 12px; /* 이미지 크기 조정 */
    cursor: pointer;
    box-sizing: border-box;
}

.search-box input[type="text"] {
    padding: 8px;
    margin-right: 4px;
    font-size: 16px;
    border: 1px solid #ccc;
    height: 40px;
    width: 320px;
}
.search-box button {
    padding: 10px 27px;
    background-color: #222;
    width: 80px;
    font-size: 14px;
    height: 40px;
    color: white;
    border: none;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
thead {
    background-color: #f7f7f7;
}
thead tr {
    border-top: 1px solid #222;
}
th, td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

th.number {
    padding: 24px 12px;
}
th.title {
    padding: 12px 24px;
}
th.writer {
    padding: 12px 8px;
}
th.date {
    padding: 12px 8px;
}
th.view {
    padding: 12px 8px;
}
td.number {
    padding: 23px 49px 23px 49px;
}
td.title {
    padding: 12px 24px 12px 40px;
    text-align: left;
}
td.writer {
    padding: 12px 8px;
}
td.date {
    padding: 12px 8px;
}
td.view {
    padding: 12px 8px;
}
.pagination {
    text-align: center;
    margin-top: 30px;
    height: 40px;
}
.pagination a {
    /*display: inline-block;*/
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid #ccc;
    text-decoration: none;
    max-width: 132px;
    max-height: 40px;
    text-align: center;
}

.pagination a.active {
    background-color: #003366;
    color: #fff;
    border-color: #003366;
}

.pagination a.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* hero 관련 스타일 분리 */
/* 아래 hero 관련 스타일은 hero.css로 이동 */
.hero-wrap {
    background-image: url('/resources/images/customer/customer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 440px;
}
.section-title {
    text-align: center;
    padding: 100px 20px 60px;
    color: white;
}
.daehonews-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
}

.section-subtitle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}
.section-subtitle {
    display: inline-block;
    max-width: 144px;
    font: normal normal bold 34px/38px Pretendard;
}
.write-button {
    position: absolute;
    right: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #003375 0% 0% no-repeat padding-box;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    width: 132px;
    height: 40px;
    opacity: 1;
    /*font-size: 16px;*/
    border: none;
    cursor: pointer;
    padding: 0;
    font: normal normal 500 16px/26px 'Pretendard', '맑은 고딕', 'Malgun Gothic', Arial, sans-serif;

}
.container {
    padding-bottom: 130px;
}

.container .underline {
    width: 79px;
    height: 4px;
    background-color: #003375;
    margin: 10px auto;
}
.daehonews-title {
    font-size: 34px;
}
.secret-icon {
    width: 24px;
    height: 24px;
    vertical-align: text-bottom;
    margin-right: 2px;
}
.posts-table .title, .posts-table .title a {
    text-decoration: none !important;
    color: #000 !important;
}
.modal-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}

.modal-box {
    width: 400px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-family: 'Pretendard', sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.modal-header {
    background-color: #003375;
    height: 50px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 16px;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.modal-body {
    height: 92px;
    width: 400px;
    padding: 20px 16px;
    box-sizing: border-box;
}

.input-group {
    display: flex;
    border: 1px solid #ccc;
    height: 40px;
}

.input-group input[type="password"] {
    flex: 1;
    border: none;
    padding: 0 8px;
    font-size: 14px;
}

.input-group button {
    width: 60px;
    background-color: #f0f0f0;
    border-left: 1px solid #ccc;
    border: none;
    cursor: pointer;
    font-size: 14px;
}



@media (max-width: 1640px) {
    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 60px;
    }
}
