.project-logo {
    width: 100%;
    margin-top: 1.5rem;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1rem;

    border: none;
}

.project-logo img {
    width: 100%;
    max-height: 300px;
    max-width: 600px;
    object-fit: contain;
    display: block;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;

    margin-top: 2rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 90px;

    padding: 1rem;

    background: white;

    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.project-content {
    display: none;
    padding: 1.5rem 0;
}

.project-content.active {
    display: block;

    background: white;

    border-radius: 16px;

    padding: 2rem;

    box-shadow: 0 4px 24px rgba(0,0,0,.05);
}

.project-body {
    min-height: 200px;
}

/* Left column — project name */
.project-title {
    padding: 1rem;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.project-title h2 {
    margin: 0;

    font-size: 1.8rem;
    font-weight: 700;
}

/* Middle column — description */
.project-description {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3748;
}

.project-description p {
    margin: 0;
}

/* Right column — metadata */
.project-meta {
    margin-top: 1.5rem;

    padding: 1.25rem;

    background: #f7f9fb;

    border-radius: 12px;

    border-left: 4px solid #4a90d9;
}

.meta-heading {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6c757d;
    margin-bottom: .25rem;
}

.meta-detail {
    font-size: 1.2rem;
    color: #212529;
}

/* --- Tabs --- */

.project-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.project-tabs button {
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    background: none;
    font-weight: 500;
    transition: border-color 0.15s, color 0.15s;
}

.project-tabs button:hover {
    border-bottom-color: #aaa;
}

.project-tabs button.active {
    border-bottom-color: #4a90d9;
    color: #4a90d9;
}

@media (max-width: 768px) {
    .project-body {
        flex-direction: column;
    }

    .project-title {
        flex: none;
        border-radius: 6px 6px 0 0;
        padding: 1rem;
    }

    .project-description {
        border-radius: 0;
    }

    .project-meta {
        border-radius: 0 0 6px 6px;
    }
}