@charset "utf-8";

/*
    법무법인 강현 - 메인 최신글 스킨
    적용 위치: /skin/latest/kh_main_latest/style.css
*/

.kh-latest {
    width: 100%;
}

.kh-latest ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kh-latest li {
    border-bottom: 1px solid #E5E7EB;
}

.kh-latest li:first-child {
    border-top: 1px solid #E5E7EB;
}

.kh-latest li a {
    display: block;
    padding: 22px 0;
    color: #374151;
    text-decoration: none;
    transition: all .2s ease;
}

.kh-latest li a:hover {
    padding-left: 8px;
}

.kh-latest-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.kh-latest-category {
    display: inline-flex;
    align-items: center;
    height: 25px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(200,169,106,.13);
    color: #9A7A37;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.kh-latest-date {
    color: #9CA3AF;
    font-size: 13px;
    white-space: nowrap;
}

.kh-latest-title {
    display: block;
    color: #1E2A38;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.kh-latest-desc {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: -0.03em;
}

.kh-latest-more {
    display: inline-flex;
    align-items: center;
    margin-top: 13px;
    color: #C8A96A;
    font-size: 13px;
    font-weight: 800;
}

.kh-latest-more::after {
    content: '→';
    margin-left: 6px;
    transition: margin .2s ease;
}

.kh-latest li a:hover .kh-latest-more::after {
    margin-left: 10px;
}

.kh-latest-empty {
    padding: 46px 20px;
    text-align: center;
    color: #6B7280;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    background: #F9FAFB;
    border-radius: 8px;
}

.kh-latest-more-wrap {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    clear: both;
}

.kh-latest-board-more {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px !important;
    border-radius: 4px;
    background: #1E2A38;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all .2s ease;
}

.kh-latest-board-more:hover {
    background: #C8A96A;
    color: #fff !important;
}

@media (max-width: 768px) {
    .kh-latest li a {
        padding: 18px 0;
    }

    .kh-latest-title {
        font-size: 16px;
    }

    .kh-latest-top {
        align-items: flex-start;
    }

    .kh-latest-desc {
        display: none;
    }

    .kh-latest-more-wrap {
        justify-content: flex-end;
    }
}
