@charset "utf-8";

/* 법무법인 강현 - 삼청교육대 피해보상 게시판 스킨 */


/* Sub Visual */
.kh-sub-visual {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #121B26;
    color: #fff;
}

.kh-sub-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18,27,38,.92) 0%, rgba(18,27,38,.74) 55%, rgba(18,27,38,.45) 100%),
        var(--kh-sub-bg, url('/images/sub_visual_default.jpg')) center/cover no-repeat;
    z-index: 1;
}

.kh-sub-visual-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 58px 20px;
}

.kh-sub-visual-label {
    color: #C8A96A;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.kh-sub-visual-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.06em;
}

.kh-sub-visual-desc {
    margin: 0;
    max-width: 680px;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: -0.03em;
}

/* Category Tabs */
.kh-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #F8FAFC;
}

.kh-category-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition: all .2s ease;
}

.kh-category-tabs a:hover,
.kh-category-tabs a.is-active {
    border-color: #1E2A38;
    background: #1E2A38;
    color: #fff;
}

.kh-category-tabs a.is-gold {
    border-color: #C8A96A;
    background: #C8A96A;
    color: #fff;
}


.kh-board-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
    font-family: 'Noto Sans KR', 'Pretendard', Arial, sans-serif;
    color: #2B2F33;
    word-break: keep-all;
}

.kh-board-head {
    margin-bottom: 36px;
    text-align: center;
}

.kh-board-label {
    color: #C8A96A;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.kh-board-title {
    color: #1E2A38;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.35;
    margin: 0 0 14px;
}

.kh-board-desc {
    color: #6B7280;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

.kh-board-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.kh-board-count {
    color: #6B7280;
    font-size: 14px;
}

.kh-board-btns {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.kh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    height: 40px;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}

.kh-btn-navy {
    background: #1E2A38;
    color: #fff !important;
}

.kh-btn-gold {
    background: #C8A96A;
    color: #fff !important;
}

.kh-btn-light {
    background: #F3F4F6;
    color: #374151 !important;
}

.kh-search-box {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 18px;
}

.kh-search-box select,
.kh-search-box input {
    height: 40px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
}

.kh-search-box input {
    width: 230px;
}

.kh-board-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #1E2A38;
    background: #fff;
}

.kh-board-table th {
    background: #F8FAFC;
    color: #1E2A38;
    font-size: 15px;
    font-weight: 800;
    padding: 16px 10px;
    border-bottom: 1px solid #E5E7EB;
}

.kh-board-table td {
    padding: 17px 10px;
    border-bottom: 1px solid #E5E7EB;
    text-align: center;
    color: #4B5563;
    font-size: 15px;
}

.kh-board-table .td_subject {
    text-align: left;
}

.kh-board-table .td_subject a {
    color: #1F2937;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.kh-board-table .td_subject a:hover {
    color: #C8A96A;
}

.kh-category {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 9px;
    margin-right: 8px;
    border-radius: 20px;
    background: rgba(200,169,106,.12);
    color: #9A7A37;
    font-size: 12px;
    font-weight: 800;
}

.kh-board-empty {
    padding: 70px 20px;
    text-align: center;
    color: #6B7280;
    border-top: 2px solid #1E2A38;
    border-bottom: 1px solid #E5E7EB;
    background: #fff;
}

/* view */
.kh-view {
    border-top: 2px solid #1E2A38;
    background: #fff;
}

.kh-view-title {
    padding: 28px 26px;
    border-bottom: 1px solid #E5E7EB;
}

.kh-view-title h1 {
    margin: 0;
    color: #1E2A38;
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: -0.05em;
}

.kh-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    color: #6B7280;
    font-size: 14px;
}

.kh-view-content {
    padding: 42px 26px;
    min-height: 260px;
    font-size: 17px;
    line-height: 1.9;
    color: #333;
}

.kh-view-content img {
    max-width: 100%;
    height: auto;
}

.kh-view-files {
    padding: 18px 26px;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.kh-view-files a {
    color: #1E2A38;
    font-weight: 700;
}

/* write */
.kh-write {
    border-top: 2px solid #1E2A38;
    background: #fff;
}

.kh-write-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid #E5E7EB;
}

.kh-write-label {
    padding: 18px 20px;
    background: #F8FAFC;
    color: #1E2A38;
    font-weight: 800;
}

.kh-write-field {
    padding: 14px 18px;
}

.kh-input,
.kh-select,
.kh-textarea {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    padding: 11px 12px;
    font-size: 15px;
    box-sizing: border-box;
}

.kh-textarea {
    min-height: 260px;
    line-height: 1.8;
    resize: vertical;
}

.kh-help {
    margin-top: 7px;
    color: #6B7280;
    font-size: 13px;
}

.kh-agree-box {
    padding: 18px;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    color: #4B5563;
    font-size: 14px;
    line-height: 1.7;
}

/* consult */
.kh-consult-notice {
    margin-bottom: 28px;
    padding: 26px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
}

.kh-consult-notice h3 {
    margin: 0 0 10px;
    color: #1E2A38;
    font-size: 21px;
}

.kh-consult-notice p {
    margin: 0;
    color: #6B7280;
    font-size: 15px;
    line-height: 1.7;
}

.kh-secret-badge {
    display: inline-flex;
    height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 20px;
    background: #1E2A38;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
}

/* additional */
.kh-view-content ul { list-style:disc inside;}


@media (max-width: 768px) {
    .kh-board-wrap {
        padding: 48px 16px;
    }

    .kh-board-title {
        font-size: 30px;
    }

    .kh-board-tools {
        display: block;
    }

    .kh-board-btns {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .kh-board-table th:nth-child(1),
    .kh-board-table th:nth-child(3),
    .kh-board-table th:nth-child(4),
    .kh-board-table th:nth-child(5),
    .kh-board-table td:nth-child(1),
    .kh-board-table td:nth-child(3),
    .kh-board-table td:nth-child(4),
    .kh-board-table td:nth-child(5) {
        display: none;
    }

    .kh-board-table td {
        padding: 16px 6px;
    }

    .kh-search-box {
        display: grid;
        grid-template-columns: 1fr;
    }

    .kh-search-box input {
        width: 100%;
    }

    .kh-write-row {
        display: block;
    }

    .kh-write-label {
        padding: 14px 16px;
    }

    .kh-write-field {
        padding: 14px 16px;
    }

    .kh-view-title,
    .kh-view-content,
    .kh-view-files {
        padding-left: 18px;
        padding-right: 18px;
    }

    .kh-view-title h1 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .kh-sub-visual {
        min-height: 240px;
    }

    .kh-sub-visual-title {
        font-size: 32px;
    }

    .kh-sub-visual-desc {
        font-size: 15px;
    }

    .kh-category-tabs {
        padding: 12px;
        gap: 6px;
    }

    .kh-category-tabs a {
        min-height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }
}
