/* =========================
   PickNote Category Archive
========================= */

.picknote-category-page {
    max-width: 1180px;
    margin: 60px auto 80px;
    padding: 0 28px;
}

.picknote-category-header {
    margin-bottom: 42px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e7e7e7;
}

.picknote-category-header h1 {
    margin: 0;
    color: #111;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.picknote-category-header p {
    max-width: 760px;
    margin: 14px 0 0;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}


/* 목록 */

.picknote-category-list {
    width: 100%;
}

.picknote-category-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: center;

    margin-bottom: 24px;
    padding: 18px;

    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,.05);
}

.picknote-category-thumb {
    display: block;
    width: 260px;
    height: 165px;
    overflow: hidden;
    border-radius: 12px;
}

.picknote-category-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.picknote-category-card-content {
    min-width: 0;
}

.picknote-category-card-content h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.picknote-category-card-content h2 a {
    color: #111;
    text-decoration: none;
}

.picknote-category-card-content h2 a:hover {
    color: #b08d57;
}

.picknote-category-card-content p {
    margin: 0 0 18px;
    color: #555;
    font-size: 15px;
    line-height: 1.75;
}

.picknote-category-card-meta {
    display: flex;
    gap: 14px;
    align-items: center;

    color: #888;
    font-size: 13px;
}

.picknote-category-card-meta span:last-child {
    color: #b08d57;
    font-weight: 800;
}


/* 페이지네이션 */

.picknote-category-pagination {
    margin-top: 50px;
}

.picknote-category-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.picknote-category-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;
    padding: 0 12px;

    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
}

.picknote-category-pagination .page-numbers.current {
    background: #111;
    color: #fff;
}


/* GeneratePress 기본 아카이브/사이드바 숨김 방어 */

body.category #primary,
body.category #right-sidebar,
body.category .widget-area {
    display: none !important;
}


/* 모바일 */

@media (max-width: 768px) {

    .picknote-category-page {
        margin-top: 36px;
        padding: 0 16px;
    }

    .picknote-category-header h1 {
        font-size: 32px;
    }

    .picknote-category-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px;
    }

    .picknote-category-thumb {
        width: 100%;
        height: 210px;
    }

    .picknote-category-card-content h2 {
        font-size: 21px;
    }

    .picknote-category-card-content p {
        font-size: 14px;
    }
}


/* =========================
   Category Header v2
========================= */

.picknote-category-header {
    margin-bottom: 42px;
    padding-bottom: 30px;
}

.picknote-category-label {
    display: block;
    margin-bottom: 10px;
    color: #b08d57;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .14em;
}

.picknote-category-header h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.picknote-category-accent {
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 15px;
    background: #b08d57;
    border-radius: 999px;
}

.picknote-category-header p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #666;
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .picknote-category-header h1 {
        font-size: 30px;
    }
}

