/* --- Project Detail Page Styles --- */

.project-hero {
    padding: 8rem 0 4rem;
}

.project-header {
    margin-bottom: 4rem;
    max-width: 100%;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    /* Spread items: Start - Center - End */
    align-items: center;
    /* Optional: vertical alignment */
    gap: 0;
    /* Remove gap since we use space-between */
    /* border-top: 1px solid var(--border-color); Removed as requested */
    padding-top: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item:last-child {
    align-items: flex-end;
    text-align: right;
}

.meta-item:nth-child(2) {
    align-items: center;
    text-align: center;
}

.meta-value {
    font-size: 1rem;
    font-weight: 500;
}

.project-banner {
    width: 100%;
    margin-bottom: 5rem;
}

.banner-img,
.feature-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Content Layout */
.project-content {
    padding-bottom: 6rem;
}

.content-container {
    max-width: var(--container-width);
    /* Matched to Banner width as requested */
}

.content-block {
    margin-bottom: 5rem;
}

.content-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-subheading {
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Full width visual blocks */
.full-width-block {
    margin: 6rem 0;
}

.feature-item {
    margin-bottom: 6rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 100%;
}

.feature-image-wrapper {
    background-color: var(--gray-bg);
    padding: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.project-nav {
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.back-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    color: #666;
}

/* Responsive Design for Work Details */
@media (max-width: 768px) {

    /* Project Detail Specifics */
    .project-title {
        font-size: 2.5rem;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        /* Reset from center/space-between */
        gap: 2rem;
    }

    .meta-item:last-child,
    .meta-item:nth-child(2) {
        align-items: flex-start;
        text-align: left;
    }
}