/* css/project.css */

.project-page {
     padding-top: 1.5rem;
     padding-bottom: 1.5rem;
}

.project-page h1 {
     margin-bottom: 2rem;
}

/* --- Section Styling --- */
.project-page section {
    margin-bottom: 2.5rem;
}
.project-page section:last-child {
     margin-bottom: 1rem;
}

.project-page section h2 {
    margin-top: 1.5rem;
}

.project-page ul + h2 {
     margin-top: 2.5rem;
}

/* --- List Styling --- */
.project-page ul {
    list-style: disc;
    margin-bottom: 1.5rem;
}

.project-page li {
    line-height: 1.6;
}

/* --- Image and Caption Styling --- */
.project-page figure {
    width: 95%;
}

.project-page figure img {
    border: 1px solid #eee;
}

/* --- Side-by-side figure pair --- */
.figure-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem auto;
    max-width: 100%;
}

.figure-pair figure {
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .figure-pair {
        grid-template-columns: 1fr;
    }
}
