.page-wrap {
    min-height: calc(100vh - 160px);
}

.page-hero {
    padding: 110px 0 90px;
    background:
            radial-gradient(circle at top right, rgba(31, 58, 95, 0.08), transparent 28%),
            linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
}

.page-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-point);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title {
    margin: 0;
    font-size: 54px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.page-desc {
    margin: 20px 0 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-sub-text);
    word-break: keep-all;
}

.page-section {
    padding: 90px 0;
}

.page-section.bg-soft {
    background: #fafbfc;
}

.page-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.page-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.page-card {
    padding: 28px;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--color-card-shadow);
}

.page-card-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 800;
}

.page-card-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-sub-text);
}

.page-list {
    margin: 0;
    padding-left: 20px;
    color: var(--color-sub-text);
    line-height: 1.9;
}

.page-cta {
    padding: 56px;
    border-radius: 32px;
    background: linear-gradient(135deg, #111111 0%, #1d2e45 100%);
    color: #ffffff;
}

.page-cta-title {
    margin: 0;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.25;
}

.page-cta-desc {
    margin: 16px 0 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.page-cta-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .page-hero {
        padding: 90px 0 70px;
    }

    .page-title {
        font-size: 40px;
    }

    .page-desc {
        font-size: 16px;
    }

    .page-grid-2,
    .page-grid-3 {
        grid-template-columns: 1fr;
    }

    .page-cta {
        padding: 36px 28px;
    }

    .page-cta-title {
        font-size: 28px;
    }
}
/* =========================
   board / draft page
========================= */
.page-board-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.page-board-wrap {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

.board-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.board-table thead th {
    background: #f7faff;
    color: #243042;
    font-size: 14px;
    font-weight: 700;
    padding: 18px 16px;
    border-bottom: 1px solid #e7edf5;
    text-align: center;
}

.board-table tbody td {
    padding: 18px 16px;
    border-bottom: 1px solid #eef3f8;
    font-size: 15px;
    color: #334155;
    text-align: center;
    vertical-align: middle;
}

.board-table tbody tr:last-child td {
    border-bottom: none;
}

.board-table tbody tr:hover {
    background: #fbfdff;
}

.board-table .text-left {
    text-align: left;
}

.board-table .col-num {
    width: 100px;
}

.board-table .col-type {
    width: 140px;
}

.board-table .col-status {
    width: 140px;
}

.board-table .col-date {
    width: 140px;
}

.board-link {
    display: inline-block;
    max-width: 100%;
    color: #111827;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.board-link:hover {
    color: #2563eb;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.board-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px 28px;
    border-top: 1px solid #eef3f8;
    background: #ffffff;
    flex-wrap: wrap;
}

.page-nav,
.page-number {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.page-nav:hover,
.page-number:hover {
    border-color: #93c5fd;
    color: #1d4ed8;
}

.page-number.is-active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.page-empty-card {
    text-align: center;
    padding: 42px 28px;
}

/* =========================
   draft room list
========================= */
.draft-room-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.draft-room-card {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.draft-room-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.draft-room-title-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.draft-room-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    color: #111827;
}

.draft-room-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.draft-room-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eef3f8;
}

.draft-room-meta-row:last-child {
    border-bottom: none;
}

.draft-room-meta-label {
    flex: 0 0 90px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
}

.draft-room-meta-value {
    flex: 1 1 auto;
    text-align: right;
    font-size: 15px;
    color: #1f2937;
    line-height: 1.5;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.draft-room-actions {
    display: flex;
    justify-content: flex-end;
}

/* =========================
   responsive
========================= */
@media (max-width: 1024px) {
    .draft-room-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .board-table {
        table-layout: auto;
    }

    .board-table thead {
        display: none;
    }

    .board-table,
    .board-table tbody,
    .board-table tr,
    .board-table td {
        display: block;
        width: 100%;
    }

    .board-table tbody tr {
        padding: 18px;
        border-bottom: 1px solid #eef3f8;
    }

    .board-table tbody td {
        text-align: left;
        border: none;
        padding: 6px 0;
    }

    .board-table tbody td::before {
        display: inline-block;
        min-width: 72px;
        margin-right: 8px;
        color: #64748b;
        font-weight: 700;
    }

    .board-table tbody td:nth-child(1)::before {
        content: "번호";
    }

    .board-table tbody td:nth-child(2)::before {
        content: "제목";
    }

    .board-table tbody td:nth-child(3)::before {
        content: "품목";
    }

    .board-table tbody td:nth-child(4)::before {
        content: "상태";
    }

    .board-table tbody td:nth-child(5)::before {
        content: "등록일";
    }

    .draft-room-card {
        padding: 20px;
    }

    .draft-room-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .draft-room-meta-value {
        text-align: left;
    }
}
/* =========================
   inquiry card list
========================= */
.inquiry-card-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.inquiry-card {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inquiry-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.inquiry-title-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.inquiry-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    color: #111827;
}

.inquiry-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inquiry-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eef3f8;
}

.inquiry-meta-row:last-child {
    border-bottom: none;
}

.inquiry-meta-label {
    flex: 0 0 90px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
}

.inquiry-meta-value {
    flex: 1 1 auto;
    text-align: right;
    font-size: 15px;
    color: #1f2937;
    line-height: 1.6;
}

.inquiry-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 15px;
    font-weight: 700;
    cursor: default;
}

@media (max-width: 768px) {
    .inquiry-card {
        padding: 20px;
    }

    .inquiry-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .inquiry-meta-value {
        text-align: left;
    }

    .inquiry-actions {
        justify-content: stretch;
    }

    .inquiry-actions .btn,
    .inquiry-actions .btn-disabled {
        width: 100%;
    }
}
