/* =========================
   GROUP DIRECTORY
========================= */

.group-directory {
    margin-bottom: 50px;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.group-directory-card {
    background: #fff;
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    padding: 25px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow: 0 6px 18px rgba(62,63,155,0.04);
    transition: all 0.2s ease;
}

.group-directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(62,63,155,0.12);
}

.group-directory-badge {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.group-directory-card h2 {
    color: #3e3f9b;
    margin-bottom: 10px;
}

.group-directory-card p {
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}

.group-details {
    margin-top: auto;
    width: 100%;
    text-align: left;
    padding-top: 15px;
    border-top: 1px solid #eef2f7;
}

.group-detail {
    margin-bottom: 8px;
    color: #4b5563;
    font-size: 0.95rem;
}

.group-detail strong {
    color: #3e3f9b;
}

.group-description {
    flex-grow: 1;
}


.group-header-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.group-header-left {
    flex: 1;
}

.group-header-right {
    max-width: 350px;
    background: #fff;
    border: 1px solid #dbe3ea;
    border-radius: 12px;
    padding: 15px 20px;
}

.group-info-row {
    margin-bottom: 10px;
    color: #4b5563;
}

.group-info-row:last-child {
    margin-bottom: 0;
}

.group-info-row strong {
    color: #3e3f9b;
}


.group-venue {
    margin-top: 5px;
    line-height: 1.6;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .group-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .group-directory-badge {
        width: 140px;
        height: 140px;
    }

.group-header-content {
        flex-direction: column;
        gap: 20px;
    }

    .group-header-right {
        width: 100%;
        min-width: auto;
    }

}