/* Shared grouped layout for Ahrens Labs lab pages (Coding, Writing, Music, etc.) */

.lab-group + .lab-group {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e8ecf0;
}

.lab-group-title {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 0.35rem;
}

.lab-group-heading {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: var(--font-display-spacing);
}

.project-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.project-card-title img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: contain;
}

.project-card-title h4 {
    margin: 0;
}

/* A card whose heading is a full logo with its own name. */
.project-card-logo {
    margin: 0 0 0.9rem;
    text-align: center;
}

.project-card-logo img {
    display: block;
    width: min(220px, 70%);
    height: auto;
    margin: 0 auto;
}
