/* Project detail - public/project_detail.php */
/* Shared article layout/typography: news_detail_public.css */

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 25px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: 0.35rem;
    margin-bottom: 0.35rem;
    vertical-align: middle;
}

.status-completed {
    background: #28a745;
    color: white;
}

.status-ongoing {
    background: #007bff;
    color: white;
}

.status-upcoming {
    background: #ffc107;
    color: #333;
}

/* Compact project facts — complements visual stat row */
.project-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem 1.15rem;
    margin: 1.25rem 0 0;
    border: 1px solid #e8eaed;
}

.project-info h3 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 0.4rem;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.55rem;
}

.project-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #444;
}

.project-info-item i {
    color: #ff6b35;
    width: 16px;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.project-info-item strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.15rem;
}

.project-info-item span {
    color: #2c3e50;
    font-weight: 600;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.project-gallery-grid .article-figure {
    margin: 0;
}

.project-gallery-grid .article-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: 100%;
}

.fx-detail-cta {
    margin-top: 1.25rem;
}
