﻿/* =========================================================
   /css/reporter_ui.css
   기자 목록 페이지 전용 UI
   ========================================================= */

.reporter-list-page {
    background: #ffffff;
}

.reporter-page-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.reporter-page-head {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 2px solid #202632;
}

.reporter-page-kicker {
    margin-bottom: 8px;
    color: #1f5fae;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.reporter-page-title {
    margin: 0;
    color: #101827;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 760;
    letter-spacing: -0.075em;
}

.reporter-page-desc {
    max-width: 760px;
    margin: 11px 0 0;
    color: #667085;
    font-size: 15.5px;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

/* 검색 */
.reporter-search-panel {
    margin-bottom: 18px;
    border: 1px solid #e4e8ef;
    border-radius: 18px;
    background: #fbfcfe;
    padding: 18px;
}

.reporter-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reporter-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 15px;
    border: 1px solid #cfd6df;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    outline: none;
}

.reporter-search-input:focus {
    border-color: #1f5fae;
    box-shadow: 0 0 0 4px rgba(31, 95, 174, 0.11);
}

.reporter-search-button,
.reporter-search-reset {
    flex: 0 0 auto;
    min-width: 82px;
    height: 46px;
    padding: 0 17px;
    border-radius: 999px;
    border: 1px solid #1f5fae;
    background: #1f5fae;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    text-align: center;
}

.reporter-search-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: #cfd6df;
    background: #ffffff;
    color: #374151;
}

.reporter-search-reset:hover {
    border-color: #1f5fae;
    background: #f4f8ff;
    color: #1f5fae;
}

/* 툴바 */
.reporter-toolbar {
    min-height: 42px;
    margin-bottom: 18px;
    padding: 0 2px 12px;
    border-bottom: 1px solid #e4e8ef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #667085;
    font-size: 14px;
}

.reporter-toolbar strong {
    color: #1f5fae;
    font-weight: 750;
}

/* 카드 */
.reporter-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.reporter-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
    padding: 21px;
    border: 1px solid #e4e8ef;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.reporter-card:hover {
    transform: translateY(-3px);
    border-color: #c9daf8;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
}

.reporter-profile {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #d9e1ec;
    background: #f4f8ff;
}

.reporter-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reporter-profile-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f5fae;
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #f4f8ff 0%, #eaf2ff 100%);
}

.reporter-card-body {
    min-width: 0;
}

.reporter-dept {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 7px;
    padding: 0 9px;
    border-left: 3px solid #1f5fae;
    background: #f4f8ff;
    color: #1f5fae;
    font-size: 12px;
    font-weight: 650;
}

.reporter-name {
    margin: 0;
    color: #111827;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -0.065em;
}

.reporter-intro {
    min-height: 44px;
    margin: 9px 0 0;
    color: #5f6b7a;
    font-size: 14px;
    line-height: 1.58;
    word-break: keep-all;
}

.reporter-intro.muted,
.reporter-mail.muted {
    color: #98a2b3;
}

.reporter-meta {
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 13px;
    color: #8b95a1;
    font-size: 12.5px;
}

.reporter-meta strong {
    color: #1f5fae;
}

.reporter-actions {
    margin-top: 12px;
    min-width: 0;
}

.reporter-mail {
    display: inline-flex;
    max-width: 100%;
    color: #374151;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    word-break: break-all;
}

.reporter-mail:hover {
    color: #1f5fae;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 빈 상태 */
.reporter-empty {
    grid-column: 1 / -1;
    padding: 58px 20px;
    border: 1px solid #e4e8ef;
    border-radius: 18px;
    background: #f8fafc;
    color: #8b95a1;
    font-size: 15px;
    text-align: center;
}

/* 페이징 */
.reporter-paging {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.reporter-paging a,
.reporter-paging strong {
    min-width: 39px;
    height: 39px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4dae3;
    border-radius: 999px;
    background: #ffffff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
}

.reporter-paging a:hover {
    border-color: #1f5fae;
    color: #1f5fae;
    background: #f4f8ff;
}

.reporter-paging strong {
    border-color: #1f5fae;
    background: #1f5fae;
    color: #ffffff;
    font-weight: 700;
}

/* 반응형 */
@media (max-width: 1080px) {
    .reporter-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .reporter-page-title {
        font-size: 29px;
        line-height: 1.32;
    }

    .reporter-page-desc {
        font-size: 14.5px;
    }

    .reporter-search-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .reporter-search-button,
    .reporter-search-reset {
        width: 100%;
    }

    .reporter-toolbar {
        display: block;
        line-height: 1.8;
    }

    .reporter-card-grid {
        grid-template-columns: 1fr;
    }

    .reporter-card {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
        border-radius: 18px;
    }

    .reporter-profile {
        width: 74px;
        height: 74px;
    }

    .reporter-profile-initial {
        font-size: 26px;
    }

    .reporter-name {
        font-size: 19px;
    }
}

@media (max-width: 420px) {
    .reporter-card {
        grid-template-columns: 1fr;
    }

    .reporter-profile {
        width: 82px;
        height: 82px;
    }
}