/* Project Page Styles */

/* Project Header */
.project-header {
    margin-bottom: 1.5rem;
}

.project-title {
    margin: 0 0 0.5rem 0;
}

.project-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Project Meta Table */
.project-meta {
    margin-bottom: 2rem;
}

.project-meta table {
    margin: 0;
    border: none;
    width: 100%;
}

.project-meta tr {
    border-top: 1px solid #eee;
}

.project-meta th,
.project-meta td {
    border: none;
    padding: 0.5rem 0;
    vertical-align: top;
    background: transparent !important;
}

.project-meta th {
    font-weight: 600;
    padding-right: 1.5rem;
    white-space: nowrap;
    color: #888;
    font-size: 0.85rem;
}

.project-meta td {
    color: #333;
    font-size: 0.85rem;
    font-weight: 400;
}

/* Image with Caption */
.figure {
    margin: 1.5rem 0;
}

.figure img {
    margin-bottom: 0.5rem;
}

.figure figcaption {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    line-height: 1.4;
}

/* Two Column Layout */
.columns {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.columns-2 {
    grid-template-columns: 1fr 1fr;
}

.columns-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.columns-1-2 {
    grid-template-columns: 1fr 2fr;
}

.columns-2-1 {
    grid-template-columns: 2fr 1fr;
}

@media (max-width: 600px) {
    .columns-2,
    .columns-3,
    .columns-1-2,
    .columns-2-1 {
        grid-template-columns: 1fr;
    }
}

.columns .figure {
    margin: 0;
}

.columns .figure img {
    width: 100%;
    height: auto;
}

/* Video Container */
.video-container {
    margin: 1.5rem 0;
    position: relative;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.video-container figcaption {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Blockquote (for tweets/testimonials) */
.project blockquote {
    background: #f9f9f9;
    border-left: 4px solid #ffff00;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.project blockquote p:last-child {
    margin-bottom: 0;
}

.project blockquote cite,
.project blockquote small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #888;
}

/* Section Divider */
.project hr {
    margin: 2.5rem 0;
}

/* Credits */
.project-credits {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.project-credits a {
    color: #333;
}

/* Project List / Index Page */
.project-card {
    margin-bottom: 2.5rem;
}

.project-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card a:hover {
    text-decoration: none;
}

.project-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 0.75rem;
}

.project-card h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.project-card a:hover h3 {
    color: #268bd2;
}

.project-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #515151;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

.project-grid .project-card {
    margin-bottom: 0;
}

/* Placeholder cards */
.project-card--placeholder {
    opacity: 0.4;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    margin-bottom: 0.75rem;
}
