

#representatives .container-fluid .representative .representative-card,
#representatives .container-fluid .representative .representative-card .card-img-top-container,
#representatives .container-fluid .representative .representative-card .card-img-top-container .card-img-top {
    max-height: unset;
    width: 100%;
}

#representatives .container-fluid .representative .representative-card .card-img-top-container,
#representatives .container-fluid .representative .representative-card .card-img-top-container .card-img-top {
    max-width: unset;
}

.chapter.home section.call-to-action {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.chapter.home section.call-to-action .call-to-action-wrapper {
    display: flex;
    flex-direction: row;
    max-width: var(--max-page-width);
    margin-left: auto;
    margin-right: auto;
}

.chapter.home section.call-to-action .call-to-action-wrapper .content-container,
.chapter.home section.call-to-action .call-to-action-wrapper .image-container {
    max-width: 600px;
    width: 100%;

    display: flex;
    justify-content: center;
}

.chapter.home section.call-to-action .call-to-action-wrapper .content-container {
    flex-direction: column;
}

.chapter.home section.call-to-action .call-to-action-wrapper .content-container h4 {
    margin-bottom: 1rem;
}

.chapter.home section.call-to-action .call-to-action-wrapper .content-container h2 {
    padding-right: 2rem;
}

.chapter.home section.call-to-action .call-to-action-wrapper .image-container img {
    border-radius: var(--base-border-radius);
    width: auto;
    height: auto;

    max-height: 100%;
    max-width: 100%;
}

.page-container.chapter #events {
    background-color: var(--miss-amazing-white);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.page-container.chapter #events .row .event {
    margin-bottom: 1rem;
}

.page-container.chapter #events .event:first-child {
    padding-left: 0;
}

.page-container.chapter #events .event:last-child {
    padding-right: 0;
    margin-bottom: 0;
}

.page-container.chapter #representatives {
    background-color: var(--miss-amazing-off-white);
    padding-bottom: 2rem;
}

.page-container.chapter #leadership {
    padding-top: 0;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom, var(--miss-amazing-off-white) 50%, var(--miss-amazing-purple) 50%);
}

.page-container.chapter #leadership .container-fluid {
    padding: 2rem;
    background-color: var(--miss-amazing-white);
    border-radius: var(--medium-border-radius);

    width: 100%;
    max-width: var(--max-page-width);

    margin-right: auto;
    margin-left: auto;
}

.page-container.chapter #representatives .row,
.page-container.chapter #sponsors .row {
    justify-content: center;
}

.page-container.chapter #representatives .row,
.page-container.chapter #leadership .row {
    margin-left: auto;
    margin-right: auto;
}

.page-container.chapter #leadership .section-title {
    color: var(--miss-amazing-purple);
}

.page-container.chapter #leadership .team-member {
    margin-left: auto;
    margin-right: auto;
}

#events .container-fluid,
#representatives .container-fluid {
    padding-left: 0;
    padding-right: 0;
}


@media (max-width: 550px) {
    #news-carousel .news-item {
        padding: 0;
        margin-bottom: 1rem;
    }

    .page-container .wp-block-jetpack-contact-form {
        padding: 0 !important;
    }
}

@media (min-width: 990px) {
    .page-container {
        padding-top: 0;
    }

    body.admin-bar .page-container {
        padding-top: 0;
    }
}

@media (min-width: 1400px) {
    .page-container.chapter section.call-to-action {
        padding-left: 0;
        padding-right: 0;
    }

    .page-container.chapter section.multi-call-to-action .content-container {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1359px) {
    .page-container.chapter section.call-to-action {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media (max-width: 1225px) {
    .page-container.chapter section.call-to-action {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 1224px) {
    .page-container.chapter section.call-to-action {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 992px) {
    .chapter.home section.call-to-action {
        padding: 3rem 2rem 1rem;
    }

    .chapter.home section.call-to-action .call-to-action-wrapper {
        flex-direction: column;
    }

    .chapter.home section.call-to-action .call-to-action-wrapper .image-container {
        order: 1;
        max-width: unset;
    }

    .chapter.home section.call-to-action .call-to-action-wrapper .content-container {
        order: 2;
        max-width: unset;
    }

    .page-container.chapter #events .row {
        justify-content: center;
    }

    .page-container.chapter section.call-to-action {
        max-height: unset;
    }

    .page-container.chapter section.call-to-action .content-container {
        padding-bottom: 0;
        padding-left: 0;
    }

    .page-container.chapter section {
        padding: 2rem 1.75rem;
    }

    .page-container.chapter #leadership .container-fluid {
        width: 100%;
    }

    .page-container.chapter section.call-to-action .content-container {
        text-align: center;
        margin-left: 0;
        padding: 2rem;
    }

}

@media screen and (max-width: 750px) {
    .page-container.chapter #events .row .event {
        padding-right: 0;
        padding-left: 0;
    }
    .page-container.chapter #events .row .content-wrapper .event-card {
        margin-left: auto;
        margin-right: auto;
    }
}