.projects-hero-content p {
    color: var(--primary);
}

.ps-breadcrumb-bar {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    padding: 0.7rem 0;
}

.ps-breadcrumb-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ps-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ps-bc-item {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.ps-bc-item:hover {
    color: #374255;
}

.ps-bc-active {
    color: #374255;
    font-weight: 700;
}

.ps-bc-sep {
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.ps-share {
    position: relative;
    flex-shrink: 0;
}

.ps-share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374255;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.ps-share-btn:hover {
    border-color: #374255;
    color: #374255;
}

.ps-share-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 0.6rem 0.8rem;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 100;
    white-space: nowrap;
}

.ps-share-panel.open {
    display: flex;
}

.ps-share-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 700;
}

.ps-share-opt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s;
}

.ps-share-opt:hover {
    transform: scale(1.1);
}

.ps-copy-link {
    background: #374255;
}

.ps-tw {
    background: #000;
}

.ps-li {
    background: #0A66C2;
}

.ps-copy-note {
    font-size: 0.72rem;
    color: #22c55e;
    font-weight: 600;
    display: none;
}

.ps-copy-note.show {
    display: inline;
}
.ps-section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #374255;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.ps-section-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #374255, transparent);
}

.ps-main {
    background: #f8f8f7;
    padding: 4.5rem 0;
}

.ps-main-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 1023px) {
    .ps-main-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.ps-desc-body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.ps-desc-body p {
    font-size: 0.97rem;
    line-height: 1.8;
    color: #374255;
    font-weight: 500;
}

.ps-details-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ps-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #374255;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.ps-detail-card:hover {
    box-shadow: 0 6px 20px rgba(55, 66, 85, 0.12);
    transform: translateX(4px);
}

.ps-detail-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(55, 66, 85, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374255;
}

.ps-detail-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ps-detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #A8937D;
}

.ps-detail-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #374255;
    line-height: 1.4;
}

.ps-gallery-section {
    background: #fff;
    padding: 4rem 0 5rem;
}

.ps-gallery-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ps-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    overflow: hidden;
    background: #111;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .ps-gallery-main {
        aspect-ratio: 4/3;
    }
}

.ps-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.ps-gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.ps-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ps-gal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374255;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.ps-gal-arrow:hover {
    background: #374255;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.ps-gal-prev {
    left: 14px;
}

.ps-gal-next {
    right: 14px;
}

.ps-gal-counter {
    position: absolute;
    bottom: 14px;
    right: 18px;
    z-index: 5;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: rgba(55, 66, 85, 0.75);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.ps-gallery-thumbs {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.ps-gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.ps-gallery-thumbs::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.ps-gallery-thumbs::-webkit-scrollbar-thumb {
    background: #374255;
    border-radius: 2px;
}

.ps-thumb {
    flex: 0 0 calc(20% - 0.5rem);
    min-width: 100px;
    aspect-ratio: 16/9;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.6;
    scroll-snap-align: start;
}

.ps-thumb.active,
.ps-thumb:hover {
    border-color: #374255;
    opacity: 1;
}

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

@media (max-width: 575px) {
    .ps-thumb {
        flex: 0 0 calc(33.333% - 0.5rem);
    }
}

/* lightbox */
.ps-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
}

.ps-lightbox.open {
    display: flex;
}

.ps-lb-img-wrap {
    max-width: 90vw;
    max-height: 88vh;
}

.ps-lb-img-wrap img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.ps-lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.ps-lb-close:hover {
    background: rgba(55, 66, 85, 0.55);
}

.ps-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.ps-lb-arrow:hover {
    background: rgba(55, 66, 85, 0.55);
}

.ps-lb-prev {
    left: 16px;
}

.ps-lb-next {
    right: 16px;
}

/* Related Projects */
.ps-related-section {
    background: #f8f8f7;
    padding: 4rem 0 5rem;
}

.ps-related-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ps-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .ps-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ps-related-grid {
        grid-template-columns: 1fr;
    }
}
