/* Section Community Group */
.section-community-group {
    color: var(--primary-white);
    background: var(--primary-green);
    text-align: center;
}

.community-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.community-group .section-heading {
    margin-bottom: 0;
}

.community-group p {
    margin: 0;
    padding: 0;
}

.community-group .section-application {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    border-bottom: 1px solid var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.community-group .section-application a:hover {
    opacity: 0.75;
}

.community-group .section-description {
    max-width: 564px;
    margin: 0 auto;
    text-align: center;
}

.community-group .section-description p {
    font-size: 16px;
}

.community-group .section-description a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.community-group .section-description a:hover {
    opacity: 0.85;
}

/* Section Community Social */
.section-community-social {
    color: var(--primary-white);
    background: var(--primary-dark);
}

.community-social .section-heading {
    margin-bottom: 0;
}

.community-social p {
    margin: 0;
    padding: 0;
}

.community-social .section-images {
    padding: 40px 0;
}

.community-social .section-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.community-social .section-socials ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.community-social .section-socials a:hover {
    opacity: 0.85;
}

.community-newsletter {
    min-height: 680px;
    padding: 0;
    position: relative;
}

.community-newsletter video {
    width: 100%;
    object-fit: cover;
    display: block;
}

.community-newsletter .newsletter-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.community-newsletter .newsletter-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--secondary-sand);
    padding: 24px 40px 40px 40px;
}

.community-newsletter .newsletter-panel > div {
    flex: 1 1 0;
}

.community-newsletter .newsletter-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.community-newsletter .newsletter-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-white);
    line-height: normal;
    letter-spacing: -0.4px;
    margin: 0;
    padding: 0;
}

.community-newsletter .newsletter-icons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.community-newsletter .newsletter-icons p {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-green);
    margin: 8px 0 0 0;
    padding: 0;
    line-height: 1.25;
}

.community-newsletter .newsletter-form-title {
    color: var(--primary-white);
    font-weight: 800;
    line-height: 1.45;
    margin: 0;
    padding: 0;
}

.community-newsletter .ml-form-embedContainer {
    padding-top: 16px;
}

.community-newsletter .ml-form-fieldRow {
    display: flex;
    height: 48px;
    align-items: stretch;
}

.community-newsletter .ml-form-fieldRow .ml-field-email {
    width: calc(100% - 157px);
}

.community-newsletter .ml-form-fieldRow input {
    font-family: 'Manrope', serif;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.60);
    padding: 12px 16px;
    background: var(--primary-beige);
    width: 100%;
    height: 100%;
    border: 0 ;
    border-bottom: 1px solid var(--primary-beige);
}

.community-newsletter .ml-form-fieldRow .ml-field-email.ml-error {
    border-bottom: 1px solid var(--secondary-alert);
}

.community-newsletter .ml-form-embedSubmit .button {
    font-family: 'Manrope', serif;
    font-size: 16px;
    width: 158px;
    height: 100%;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    padding: 12px 32px;
    color: var(--primary-beige);
    background: var(--primary-green);
}

.community-newsletter .ml-form-embedPermissions {
    padding-top: 16px;
}

.community-newsletter .ml-form-embedPermissionsOptionsCheckbox label {
    font-size: 12px;
    color: var(--primary-green);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.community-newsletter .ml-form-embedPermissionsOptionsCheckbox label a {
    font-weight: 700;
    text-decoration: underline;
}

.community-newsletter .ml-form-embedPermissionsOptionsCheckbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    min-width: 24px;
    height: 24px;
    border: 2px solid var(--primary-beige);
    background: var(--secondary-sand);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    outline: none;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
    border-radius: 0;
}

.community-newsletter .ml-form-embedPermissionsOptionsCheckbox input[type="checkbox"]:checked {
    background: var(--primary-green);
    border-radius: 0;
}

.community-newsletter .ml-form-successContent p {
    color: var(--primary-white)
}

@media (max-width: 1440px) {
    .community-newsletter {
        min-height: 450px;
    }

    .community-newsletter video {
        height: 450px;
    }
}

@media (max-width: 1280px) {
    .community-newsletter .newsletter-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .community-group {
        gap: 16px;
    }

    .community-group .section-subtitle p {
        font-size: 18px;
    }

    .community-group .section-application {
        max-width: 100%;
        margin: 24px 0;
    }

    .community-social .section-images {
        padding: 16px 0;
    }

    .community-social .section-socials {
        flex-direction: column;
        gap: 15px;
    }

    .community-social .section-socials li img {
        width: auto;
        height: 24px;
    }

    .community-social .section-socials p {
        font-weight: 700;
    }

    .community-newsletter {
        min-height: auto
    }

    .community-newsletter .newsletter-wrapper {
        position: relative;
    }

    .community-newsletter video {
        max-height: 225px;
    }

    .community-newsletter .newsletter-panel {
        flex-direction: column;
        gap: 16px;
        margin: 0 -24px;
        padding: 24px;
    }

    .community-newsletter .newsletter-title {
        font-size: 24px;
    }

    .community-newsletter .newsletter-icons img {
        width: auto;
        max-height: 16px;
    }

    .community-newsletter .newsletter-icons p {
        font-size: 12px;
    }

}

@media (max-width: 576px) {
    .community-group .section-subtitle {
        max-width: 245px;
        margin: 0 auto;
    }

    .community-newsletter .newsletter-title {
        max-width: 295px;
    }

    .community-newsletter .ml-form-embedSubmit .button {
        font-size: 14px;
        width: 130px;
        padding: 12px 24px;
    }

    .community-newsletter .ml-form-fieldRow .ml-field-email {
        width: calc(100% - 130px);
    }
}

