/* =========================
   NOTICE CONTAINER
========================= */

.notice-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    color: #222;
}

/* 타이틀 */
.notice-title {
    margin-bottom: 25px;
}

.notice-title h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
}

.notice-title p {
    color: #777;
    font-size: 14px;
}

/* =========================
   TABLE WRAPPER (핵심 개선)
========================= */

.notice-table-wrapper {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* =========================
   TABLE
========================= */

.board {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* header */
.board th {
    background: #f7f7f7;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
}

/* body */
.board td {
    padding: 18px 16px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    vertical-align: top;

    line-height: 1.6;
    word-break: break-word;
    color: #333;
}

/* =========================
   COLUMN STYLE
========================= */

/* 번호 */
.board td:nth-child(1),
.board th:nth-child(1) {
    width: 70px;
    text-align: center;
    color: #666;
}

/* 제목 */
.board td:nth-child(2),
.board th:nth-child(2) {
    width: 180px;
    text-align: left;
    font-weight: 600;
}

/* 내용 */
.board td:nth-child(3),
.board th:nth-child(3) {
    text-align: left;
}

/* 날짜 */
.board td:nth-child(4),
.board th:nth-child(4) {
    width: 120px;
    text-align: center;
    white-space: nowrap;
    color: #777;
}

/* =========================
   UX IMPROVEMENT
========================= */

.board tbody tr:hover {
    background: #fafafa;
    transition: 0.2s;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .notice-container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .notice-title h1 {
        font-size: 22px;
    }

    .notice-title p {
        font-size: 13px;
    }

    .notice-table-wrapper {
        overflow-x: auto;
    }

    .board {
        min-width: 700px;
    }

    .board td {
        font-size: 12px;
        padding: 12px;
    }
}