/* ==========================================================================
   Organism: Related Projects Section
   ========================================================================== */

.saha-related-projects {
    width: 100%;
}

/* --- Centered title --- */

.saha-related-projects__title {
    font-family: var(--saha-font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 17.6px;
    letter-spacing: 2px;
    color: var(--saha-color-text-primary);
    text-align: center;
    margin: 60px 0;
}

/* --- 3-card flex grid --- */

.saha-related-projects__grid {
    display: flex;
    gap: 30px;
}

/* Cards fill equal width */

.saha-related-projects__grid > * {
    flex: 1;
    min-width: 0;
}

/* --- Responsive: Tablet --- */

@media (max-width: 1023px) {
    .saha-related-projects__grid {
        gap: 20px;
    }
}

/* --- Responsive: Mobile --- */

@media (max-width: 639px) {
    .saha-related-projects__title {
        margin: 40px 0;
    }

    .saha-related-projects__grid {
        flex-direction: column;
        gap: 40px;
    }
}
