/* =========================================================
   COMUNIDADES
========================================================= */

.communities-header {
    padding: 64px 0 52px;

    background: #fff6f9;

    border-bottom: 1px solid #f1dfe6;
}


.communities-header-content {
    max-width: 760px;
}


.communities-header .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    color: #c56f8f;

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}


.communities-header h1 {
    margin: 0 0 14px;

    color: #58434d;

    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;

    line-height: 1.15;
}


.communities-header p {
    max-width: 650px;

    margin: 0;

    color: #806d76;

    font-size: 1.02rem;
    line-height: 1.7;
}


/* =========================================================
   PÁGINA
========================================================= */

.communities-page {
    padding: 55px 0 80px;

    background: #fff;
}


/* =========================================================
   CARTÃO
========================================================= */

.community-card {
    height: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid #efdee5;
    border-radius: 18px;

    box-shadow:
        0 5px 20px rgba(88, 67, 77, .06);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.community-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 28px rgba(88, 67, 77, .11);
}


/* =========================================================
   IMAGEM
========================================================= */

.community-image {
    position: relative;

    height: 210px;

    overflow: hidden;

    background: #fff0f5;
}


.community-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}


.community-card:hover .community-image img {
    transform: scale(1.04);
}


.community-image-empty {
    display: flex;

    align-items: center;
    justify-content: center;

    color: #c56f8f;

    font-size: 3rem;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.community-content {
    display: flex;

    flex-direction: column;

    min-height: 190px;

    padding: 22px;
}


.community-content h2 {
    margin: 0 0 10px;

    color: #58434d;

    font-size: 1.2rem;
    font-weight: 700;

    line-height: 1.35;
}


.community-content p {
    margin: 0 0 18px;

    color: #806d76;

    font-size: .9rem;
    line-height: 1.65;
}


/* =========================================================
   LINK
========================================================= */

.community-link {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    width: fit-content;

    margin-top: auto;

    color: #b45f7e;

    font-size: .86rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease,
        gap .2s ease;
}


.community-link:hover {
    color: #8f4964;

    gap: 10px;
}


.community-link i {
    font-size: .85rem;
}


/* =========================================================
   VAZIO
========================================================= */

.communities-empty {
    max-width: 650px;

    margin: 10px auto 60px;

    padding: 55px 30px;

    text-align: center;

    background: #fff8fa;

    border: 1px solid #efdee5;
    border-radius: 20px;
}


.communities-empty-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #f8dce6;

    color: #b45f7e;

    font-size: 1.7rem;
}


.communities-empty h2 {
    margin: 0 0 10px;

    color: #5b4650;

    font-size: 1.35rem;
}


.communities-empty p {
    max-width: 480px;

    margin: 0 auto;

    color: #87737d;

    line-height: 1.6;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 767.98px) {

    .communities-header {
        padding: 48px 0 42px;
    }


    .communities-page {
        padding: 35px 0 55px;
    }


    .community-image {
        height: 200px;
    }


    .community-content {
        min-height: 170px;

        padding: 20px;
    }

}


@media (max-width: 430px) {

    .communities-header h1 {
        font-size: 1.8rem;
    }


    .community-image {
        height: 190px;
    }

}