/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO ARCHIVE
═══════════════════════════════════════════════════════════════ */
.portfolio-archive {
    padding: 60px 0 80px;
    background: #f5f0eb;
}

.portfolio-archive__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.portfolio-archive__label {
    display: flex;
    align-items: center;
    gap: 20px;
  font-family: "Manrope", sans-serif;
            font-weight: 700;
            font-size: 12px;
            line-height: 100%;
            letter-spacing: 5px;
            text-transform: uppercase;
            color: #C19A2E;
            margin-bottom: 0;
}

.portfolio-archive__label::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 2px;
    background: #C19A2E;
}

.portfolio-archive__title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    color: #1a1a1a;
    font-style: normal !important;
    margin: 0;
}

/* Filter tabs */
.portfolio-filter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.portfolio-filter__btn {
    padding: 10px 20px !important;
    border: 1px solid #00000033 !important;
    background: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    letter-spacing: 1px !important;
}

.portfolio-filter__btn:hover {
    background: #222 !important;
    color: #C19A2E !important;
}

.portfolio-filter__btn.is-active {
    background: #222 !important;
    color: #fff !important;
    border-color: #222 !important;
}

@media (max-width: 768px) {
    .portfolio-filter {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: 10px;
        min-width: 0;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .portfolio-filter::-webkit-scrollbar {
        height: 6px;
    }

    .portfolio-filter::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.18);
        border-radius: 999px;
    }

    .portfolio-filter__btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
  
}

/* Masonry Grid */
.portfolio-masonry {
    columns: 2;
    column-gap: 12px;
}

.portfolio-masonry__item {
    break-inside: avoid;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.portfolio-masonry__link {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.portfolio-masonry__img {
    display: block;
    width: 100%;
}

.portfolio-masonry__img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.portfolio-masonry__link:hover .portfolio-masonry__img img {
    transform: scale(1.04);
}

.portfolio-masonry__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 55%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-masonry__link:hover .portfolio-masonry__overlay {
    opacity: 1;
}

.portfolio-masonry__cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b89a5a;
    margin-bottom: 6px;
}

.portfolio-masonry__name {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
}

.portfolio-masonry__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #b89a5a;
    color: #fff;
    flex-shrink: 0;
}

.portfolio-masonry__arrow svg {
    width: 16px;
    height: 16px;
}

/* Pagination */
.portfolio-archive .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.portfolio-archive .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.portfolio-masonry__name{
    margin: 0;
}
.portfolio-archive .page-numbers.current,
.portfolio-archive .page-numbers:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

@media (max-width: 900px) {
    .portfolio-masonry {
        columns: 2;
    }

    .portfolio-archive__header {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 768px) {
   
.portfolio-masonry__link,
.portfolio-masonry__overlay {
    opacity: 1;
}
}
@media (max-width: 540px) {
    .portfolio-masonry {
        columns: 1;
    }
}


/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO SINGLE
═══════════════════════════════════════════════════════════════ */

/* Shared label */
.ps-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
}

.ps-label--gold {
    color: #b89a5a;
}

.ps-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background: currentColor;
}

/* ── Hero ── */
.ps-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ps-hero__img img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    display: block;
}

.ps-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 48px 60px;
}

.ps-hero__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-hero__meta .ps-label {
    color: #b89a5a;
    margin-bottom: 0;
}

.ps-hero__title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400;
    font-style: italic;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}

/* ── Body: content + sidebar ── */
.ps-body {
    background: #f5f0eb;
    padding: 80px 0;
}

.ps-body__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.ps-body__text {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

.ps-body__text>p:first-child {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.45;
    margin-bottom: 24px;
}

.ps-body__text a {
    color: #b89a5a;
    text-decoration: none;
}

/* ── Project Details card ── */
.ps-details__card {
    border: 1px solid #e0d9d0;
    border-radius: 4px;
    padding: 28px;
    background: #fff;
}

.ps-details__row {
    padding: 14px 0;
    border-bottom: 1px solid #ede8e0;
}

.ps-details__row:last-of-type {
    border-bottom: none;
}

.ps-details__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}

.ps-details__value {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
}

.ps-details__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 20px;
    background: #b89a5a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s;
}

.ps-details__cta:hover {
    background: #9e8248;
    color: #fff;
}

.ps-details__cta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ── Gallery ── */
.ps-gallery {
    background: #f5f0eb;
    padding: 0 0 80px;
}

.ps-gallery__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.ps-gallery__title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 32px;
}

.ps-gallery__grid {
    columns: 4;
    column-gap: 8px;
}

.ps-gallery__item {
    display: block;
    break-inside: avoid;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 3px;
}

.ps-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.ps-gallery__item:hover img {
    transform: scale(1.04);
}

/* ── Single Responsive ── */
@media (max-width: 960px) {
    .ps-body__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ps-gallery__grid {
        columns: 3;
    }

    .ps-hero__overlay {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .ps-gallery__grid {
        columns: 2;
    }

    .ps-body__inner {
        padding: 0 20px;
    }

    .ps-gallery__inner {
        padding: 0 20px;
    }

    .ps-hero__img img {
        height: 50vh;
    }
}



