/* ============================================================
   Archive: project  —  prj-* component styles
   Scoped to .post-type-archive-project
   ============================================================ */

.post-type-archive-project .prj-page {
    min-width: 1440px;
}

/* ── Hero ────────────────────────────────────────────────── */
.post-type-archive-project .prj-hero {
    width: 1440px;
    padding: 80px 140px 60px;
    background: #fff;
}

.post-type-archive-project .prj-hero__title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.1;
    color: #000;
    margin-bottom: 20px;
}

.post-type-archive-project .prj-hero__desc {
    font-size: 16px;
    font-weight: 400;
    color: #575855;
    line-height: 24px;
    max-width: 700px;
}

/* ── Search ──────────────────────────────────────────────── */
.post-type-archive-project .prj-search-row {
    padding: 0 140px 40px;
}

.post-type-archive-project .prj-search {
    position: relative;
    width: 400px;
    height: 40px;
}

.post-type-archive-project .prj-search__input {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    color: #676a68;
    line-height: 20px;
    padding: 0 40px 0 20px;
    outline: none;
    font-family: 'Jost', sans-serif;
    transition: border-color .15s;
}
.post-type-archive-project .prj-search__input::placeholder { color: #676a68; }
.post-type-archive-project .prj-search__input:focus { border-color: rgba(0,0,0,.4); }

.post-type-archive-project .prj-search__btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Project grid ────────────────────────────────────────── */
.post-type-archive-project .prj-grid {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    column-gap: 40px;
    row-gap: 60px;
    padding: 0 140px 80px;
}

.post-type-archive-project .prj-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.post-type-archive-project .prj-card__cover {
    width: 360px;
    height: 240px;
    background: #E7E8E4;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 20px;
}

.post-type-archive-project .prj-card__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}

.post-type-archive-project .prj-card:hover .prj-card__cover img {
    transform: scale(1.04);
}

.post-type-archive-project .prj-card__body {
    padding: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-type-archive-project .prj-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
}

.post-type-archive-project .prj-card__desc {
    font-size: 14px;
    font-weight: 400;
    color: #575855;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-type-archive-project .prj-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 40px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    border-radius: 20px;
    margin-top: 4px;
    transition: opacity .15s;
    cursor: pointer;
}
.post-type-archive-project .prj-card:hover .prj-card__btn { opacity: .85; }

/* ── No results ──────────────────────────────────────────── */
.post-type-archive-project .prj-empty {
    grid-column: 1 / -1;
    font-size: 16px;
    color: #676a68;
    padding: 40px 0;
}

/* ── Pagination ──────────────────────────────────────────── */
.post-type-archive-project .prj-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 140px 60px;
}

.post-type-archive-project .prj-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 400;
    color: #676a68;
    text-decoration: none;
    border: 1px solid transparent;
    transition: border-color .15s, color .15s;
}
.post-type-archive-project .prj-pagination .page-numbers:hover {
    border-color: rgba(0,0,0,.2);
    color: #000;
}
.post-type-archive-project .prj-pagination .page-numbers.current {
    border-color: #000;
    color: #000;
}
