body {
    font-family: monospace;
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.project-page {
    flex: 1;
    padding: 40px;
    margin-bottom: 40px;
    padding-bottom: 80px;
}

.project-title {
    font-size: 32px;
    margin-bottom: 30px;
}

.tools {
    margin-bottom: 20px;
    color: blue;
}

/* Container for all paired content blocks */
.content-pairs {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
    margin: 0;
}

/* Individual text + media pair - 50/50 split */
.content-pair {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.pair-text {
    font-size: 14px;
    line-height: 1.6;
}

.pair-media {
    width: 100%;
    padding-right: 40px;
}

.pair-media img,
.pair-media video {
    width: 100%;
    height: auto;
}

/* PDF download styling */
.pdf-download {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pdf-download:hover {
    opacity: 0.8;
}

.pdf-download img {
    width: 100%;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 8px;
}

/* Process visualization */
.process-visual {
    background: #eeeeee;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
}

.process-step {
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #0000FF;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #0000FF;
}

.process-step p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* Article grid styling */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.article-item {
    text-align: center;
}

.article-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.2s;
}

.article-item a:hover {
    opacity: 0.8;
}

.article-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.article-item a:hover img {
    transform: scale(1.02);
}

.article-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Impact stats styling */
.impact-stats {
    background: #eeeeee;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.stat {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 5px;
}

.stat h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    color: #0000FF;
}

.stat p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* Bottom bar styling */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #C3F400;
    z-index: 1000;
}

.back-arrow {
    margin-left: auto;
    font-size: 24px;
    text-decoration: none;
    color: #000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .content-pair {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pair-media {
        padding-right: 0;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .project-page {
        padding: 20px;
    }
    
    .content-pairs {
        gap: 40px;
    }
}