.community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.community-card {
    position: relative;
    height: 360px;
    overflow: hidden;
    color: #fff;
    display: block;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.community-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.community-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.78),
        rgba(0,0,0,0.18),
        rgba(0,0,0,0.05)
    );
    z-index: 1;
}

.community-card span {
    position: absolute;
    left: 28px;
    bottom: 24px;
    z-index: 2;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.community-card:hover img {
    transform: scale(1.06);
}

/* Communities page hero */
.communities-page-hero {
    position: relative;
    min-height: 55vh;
    background:
        linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
        url("/img/communities/orlando.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 120px 6% 80px;
}

.communities-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1950px;
    padding: 50px;
    background: rgba(0,0,0,0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 15px;
}

.communities-hero-content h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 22px;
}

.communities-hero-content p {
    font-size: 1.15rem;
    max-width: 760px;
    margin: 0 auto;
}

.communities-intro .section-heading p {
    color: #555;
}

/* CTA */
.community-cta {
    background:
        linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)),
        url("/img/hero/hero.jpg") center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 6%;
}

.community-cta div {
    max-width: 780px;
    margin: 0 auto;
}

.community-cta h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 22px;
}

.community-cta p {
    margin-bottom: 30px;
}