body {
   font-family: serif;
}
h1, h2, h3, h4, h5, h6 {font-family:serif;}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.grid-item h3 {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.portfolio-project-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.project-facts-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    float: right;
    width: 300px;
    margin-left: 2rem;
}

.project-facts-box h3 {
    margin-top: 0;
    color: #495057;
    font-size: 1.2rem;
}

.fact-item {
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.fact-item strong {
    color: #212529;
    display: inline-block;
    min-width: 80px;
}

.project-content {
    margin-bottom: 3rem;
}

.soundcloud-section,
.audio-files-section,
.youtube-section,
.video-files-section {
    margin-bottom: 2rem;
    clear: both;
}

.soundcloud-embed,
.audio-player,
.youtube-embed,
.video-player {
    margin-bottom: 1rem;
}

.youtube-embed iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.audio-player p,
.video-player p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-facts-box {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 2rem;
    }
    
    .portfolio-project-content {
        padding: 1rem;
    }
}

.project-gallery {
    margin: 2rem 0;
    clear: both;
}

.project-gallery h3 {
    color: #495057;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* GLightbox image styling */
.gallery-grid a.glightbox img {
    width: 100%;
    height: 200px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 4px;
    object-fit: cover;
}

.gallery-grid a.glightbox img:hover {
    transform: scale(1.02);
}

.gallery-grid a.glightbox {
    display: block;
    text-decoration: none;
}