/* GLOBAL WRAP & RESET */
.ps-60c93ab2-portfolio-wrap {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    padding: 20px 0;
}

/* FEATURED CASE STUDY */
.ps-60c93ab2-feat-container {
    margin-bottom: 60px;
}
.ps-60c93ab2-feat-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(27, 48, 34, 0.08);
    overflow: hidden;
}
@media (max-width: 991px) {
    .ps-60c93ab2-feat-card {
        grid-template-columns: 1fr;
    }
}
.ps-60c93ab2-video-ratio {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}
.ps-60c93ab2-video-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.ps-60c93ab2-video-placeholder {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    display: flex; align-items: center; justify-content: center;
    color: #888; background: #e0e0e0; font-size: 14px;
}

.ps-60c93ab2-feat-content-side {
    padding: 50px;
    background: #1B3022;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 480px) {
    .ps-60c93ab2-feat-content-side {
        padding: 25px;
    }
}
.ps-60c93ab2-feat-tagline {
    color: #D4AF37;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 12px;
}
.ps-60c93ab2-feat-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #ffffff;
    margin: 0 0 8px 0;
}
.ps-60c93ab2-feat-cat {
    color: #b0c2b4;
    font-size: 14px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 500;
}
.ps-60c93ab2-feat-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    margin-bottom: 25px;
}
@media (max-width: 767px) {
    .ps-60c93ab2-feat-split {
        grid-template-columns: 1fr;
    }
}
.ps-60c93ab2-feat-split strong {
    font-size: 13px;
    color: #D4AF37;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.ps-60c93ab2-feat-body {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.ps-60c93ab2-feat-results-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.ps-60c93ab2-feat-results-block strong {
    font-size: 13px;
    color: #D4AF37;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.ps-60c93ab2-feat-stats {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}
.ps-60c93ab2-stat-item {
    display: flex;
    flex-direction: column;
}
.ps-60c93ab2-stat-num {
    color: #D4AF37;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
}
.ps-60c93ab2-stat-lbl {
    color: #c9d6cc;
    font-size: 12px;
}
.ps-60c93ab2-feat-quote {
    border-left: 3px solid #D4AF37;
    padding-left: 20px;
    margin-top: 20px;
    font-style: italic;
}
.ps-60c93ab2-feat-quote p {
    font-size: 15px;
    color: #e0e0e0;
    line-height: 1.5;
    margin-bottom: 5px;
}
.ps-60c93ab2-feat-quote cite {
    display: block;
    font-size: 12px;
    color: #D4AF37;
    font-style: normal;
    font-weight: 500;
}

/* FILTERS */
.ps-60c93ab2-filters-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.ps-60c93ab2-filter-btn {
    background: transparent;
    border: 1px solid #1B3022;
    color: #1B3022;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.ps-60c93ab2-filter-btn:hover,
.ps-60c93ab2-filter-btn.active {
    background: #1B3022;
    color: #ffffff;
}

/* PORTFOLIO GRID */
.ps-60c93ab2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 991px) {
    .ps-60c93ab2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .ps-60c93ab2-grid {
        grid-template-columns: 1fr;
    }
}
.ps-60c93ab2-grid-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.ps-60c93ab2-item-inner {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.ps-60c93ab2-item-thumb {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}
.ps-60c93ab2-item-hover {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(27, 48, 34, 0.9);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}
.ps-60c93ab2-item-thumb:hover .ps-60c93ab2-item-hover {
    opacity: 1;
}
.ps-60c93ab2-view-btn {
    background: #D4AF37;
    color: #1B3022;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
}
.ps-60c93ab2-view-btn:hover {
    background: #ffffff;
}
.ps-60c93ab2-item-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.ps-60c93ab2-item-cat {
    color: #D4AF37;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}
.ps-60c93ab2-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1B3022;
    margin: 0 0 10px 0;
}
.ps-60c93ab2-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* DETAILED MODAL OVERLAY */
.ps-60c93ab2-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(15, 27, 19, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
body.admin-bar .ps-60c93ab2-modal-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .ps-60c93ab2-modal-overlay {
        top: 46px;
    }
}
.ps-60c93ab2-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.ps-60c93ab2-modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 950px;
    max-height: 85vh;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: psModalSlide 0.4s ease;
}
@keyframes psModalSlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.ps-60c93ab2-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: transparent;
    border: none;
    font-size: 34px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    z-index: 10;
}
.ps-60c93ab2-modal-body {
    padding: 0;
}

/* INSIDE MODAL BODY STYLING */
.ps-60c93ab2-m-header {
    background: #1B3022;
    color: #fff;
    padding: 40px;
}
.ps-60c93ab2-m-cat {
    color: #D4AF37;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}
.ps-60c93ab2-m-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #ffffff;
    margin: 5px 0 0 0;
}
.ps-60c93ab2-m-content {
    padding: 40px;
}
.ps-60c93ab2-m-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}
@media (max-width: 767px) {
    .ps-60c93ab2-m-layout-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}
.ps-60c93ab2-m-block {
    margin-bottom: 25px;
}
.ps-60c93ab2-m-block h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #D4AF37;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ps-60c93ab2-m-block p,
.ps-60c93ab2-m-block div {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}
.ps-60c93ab2-m-right-side {
    background: #f7f9f7;
    padding: 30px;
    border-radius: 8px;
    border-left: 3px solid #1B3022;
}
.ps-60c93ab2-m-stat-box {
    text-align: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    margin-bottom: 25px;
}
.ps-60c93ab2-modal-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #D4AF37;
    font-weight: 700;
    display: block;
}
.ps-60c93ab2-modal-stat-lbl {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}
.ps-60c93ab2-m-quote {
    font-style: italic;
    border-top: 1px solid #e2e8e2;
    padding-top: 20px;
    margin-top: 20px;
}
.ps-60c93ab2-m-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #D4AF37;
    font-style: normal;
    font-weight: 600;
}
