/* Single Project Template Styles - Redesign */
.ce-single-project-page {
    padding: 0;
    background-color: #ffffff;
}

.ce-project-redesign-container {
    display: grid;
    grid-template-columns: 4fr 6fr; /* 40% Left, 60% Right */
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Left Column */
.ce-project-left-col {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 120px;
    align-self: start;
}

.ce-project-title {
    font-size: 36px;
    font-weight: 500;
    color: #111111;
    margin-top: 0;
    margin-bottom: 40px;
    text-transform: uppercase;
    line-height: 1.2;
}

.ce-project-meta-list {
    margin-bottom: 40px;
    border-top: 1px solid #e0e0e0;
}

.ce-meta-item {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.ce-meta-label {
    font-size: 13px;
    color: #888888;
    margin-bottom: 5px;
}

.ce-meta-value {
    font-size: 16px;
    color: #222222;
    font-weight: 400;
}

.ce-project-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444444;
}

/* Right Column */
.ce-project-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ce-project-main-image img,
.ce-project-gallery-stack img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 4px;
}

.ce-project-gallery-stack img:last-child {
    margin-bottom: 0;
}


/* Smart Layout Rows (Moved below) */
.ce-project-body {
    padding: 60px 0;
}

.mt-layout-row {
    margin-bottom: 60px;
}

.mt-layout-row h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.mt-content {
    font-size: 18px;
    color: #4a4a4a;
}

.mt-grid {
    display: grid;
    gap: 20px !important;
    margin-top: 40px;
}

.mt-grid-s1 { grid-template-columns: 1fr 1fr; }
.mt-grid-s2 { grid-template-columns: 1.5fr 1fr; }
.mt-grid-s3 { grid-template-columns: 1fr 1.5fr; }

.mt-left-image-content,
.mt-right-image-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.mt-col-content .mt-heading {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.3;
}

.mt-gallery-2 { grid-template-columns: repeat(2, 1fr); }
.mt-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.mt-gallery-4 { grid-template-columns: repeat(4, 1fr); }

.mt-single-img img,
.mt-col img,
.mt-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px !important;
}

/* Responsive */
@media (max-width: 1199px) {
    .ce-project-redesign-container {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .ce-project-redesign-container {
        grid-template-columns: 1fr; /* Stack on smaller screens */
        padding-top: 40px;
    }
    
    .ce-project-title {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .ce-project-left-col {
        position: static;
    }

    .ce-project-right-col {
        order: -1; /* Move images above text on mobile? Or keep below? Let's keep images below text like typical mobile, or above. Usually hero image is first. Let's put images first. */
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .ce-project-title {
        font-size: 26px;
    }
    
    .mt-grid {
        grid-template-columns: 1fr !important;
    }
    
    .mt-layout-row h2 {
        font-size: 28px !important;
    }
    
    .mt-layout-row .mt-content {
        font-size: 16px !important;
    }
}