/* community-section.css */

.community {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 3.5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Left column – text content */
.community__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.community__body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.community__cta {
    margin-top: 1rem;
}

.community__btn {
    background-color: #FDB913;
    color: #111;
    border: none;
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.community__btn:hover {
    background-color: #E5A610;
}

/* Right column – stats + images */
.community__right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community__stats {
    display: grid;
    grid-template-columns: auto auto;
    gap: 4rem;
    justify-content: end;
    margin-bottom: 0.5rem;
}

.community__stat {
    text-align: left;
}

.community__number {
    font-size: 3rem;
    font-weight: 600;
    color: #111;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.community__label {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #2e2c2c;
    font-weight: 400;
    max-width: 120px;
}

/* Images */
.image-grid {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.5rem;
    position: relative;
}

.image-grid img {
    display: block;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Smaller image (left) */
.img-small {
    width: 45%;
    height: 200px;
}

/* Taller image (right) */
.img-tall {
    width: 55%;
    height: 320px;
}

/* -------------------------------------------------
   Responsive tweaks
   ------------------------------------------------- */
@media (max-width: 992px) {
    .community {
        grid-template-columns: 1fr;
        padding: 3rem 3.5rem;
        gap: 3rem;
    }

    .community__stats {
        justify-content: center;
        gap: 4rem;
    }

    .community__stat {
        text-align: center;
    }

    .image-grid {
        gap: 1rem;
    }

    .img-small {
        height: 180px;
    }

    .img-tall {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .community {
        padding: 2rem 1.5rem;
    }

    .community__title {
        font-size: 2rem;
    }

    .community__number {
        font-size: 2.5rem;
    }

    .community__stats {
        gap: 2rem;
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .community__stat {
        text-align: center;
    }

    .community__label {
        max-width: none;
    }

    .image-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .img-small,
    .img-tall {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
}