

#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 .image-container {
    max-height: 500px;
}

.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;

    object-fit: cover;

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


.chapter.home section.chapter-campaign {
    background-color: var(--miss-amazing-purple);
    height: 600px;

    padding: 0;
}

.chapter.home section.chapter-campaign .container-fluid {
    background-color: transparent;
    padding-right: 0;
    padding-left: 0;
}

.chapter.home section.chapter-campaign .image-container {
    width: 50%;
    padding-right: 2rem;
}

.chapter.home section.chapter-campaign .image-container img {
    border-radius: 0;
}

.chapter.home section.chapter-campaign .content-container {
    padding-left: 2rem;
    max-width: 600px;
}

.chapter.home section.chapter-campaign .section-title {
    color: var(--miss-amazing-white);
}

.chapter.home section.chapter-campaign .button-container {
    margin-top: 1.5rem;
}

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

.page-container.chapter #events .section-title,
.page-container.chapter #news .section-title,
.page-container.chapter #leadership .section-title {
    line-height: 35px;
}

.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-white);
    padding-bottom: 2rem;
}

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

.page-container.chapter #leadership .container-fluid {
    padding: 2rem;
    border-radius: var(--base-border-radius);

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

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

    position: relative;
}

.page-container.chapter #leadership .container-fluid .section-title {
    margin-bottom: 2rem;
}

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

.page-container.chapter #sponsors {
    background-color: var(--miss-amazing-white);
}

.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);
}

.chapter.home section#leadership .swiper-controls {
    position: absolute;
    top: 200px;
    left: 0;
    height: 35px;
    width:100%;
}

.chapter.home section#leadership .swiper-controls div {
    color: var(--miss-amazing-purple);
    height: 35px;
    width: 35px;
}

.chapter.home section#leadership .swiper-controls .swiper-button-next {
    margin-right: -1rem;
}

.chapter.home section#leadership .swiper-controls .swiper-button-prev {
    margin-left: -1rem;
}

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

section#news .item-carousel {
    display: inline-grid;
    gap: 2rem;

    grid-template-columns: repeat(3, calc(33.3% - 1.33rem));
}

section#news .item-carousel .news-item {
    padding: 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: 1200px) {
    section#leadership #chapter-team-carousel {
        max-width: var(--max-content-width);
    }

    section#news .item-carousel {
        grid-template-columns: repeat(2, calc(50% - 1rem));
    }

    section#news .item-carousel .news-item {
        max-width: unset;
    }
}

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

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

    .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;
    }

    .chapter.home section.chapter-campaign {
        background-color: var(--miss-amazing-purple);
        height: unset;

        padding: 0;
    }

    .chapter.home section.chapter-campaign .container-fluid {
        background-color: transparent;
        padding-right: 0;
        padding-left: 0;
    }

    .chapter.home section.chapter-campaign .image-container {
        width: 100%;
        padding-right: 0;
    }

    .chapter.home section.chapter-campaign .image-container img {
        border-radius: 0;
    }

    .chapter.home section.chapter-campaign .content-container {
        padding: 2rem 1rem;
        max-width: unset;
        text-align: center;
    }

    .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;
    }
}

@media screen and (max-width: 720px) {
    .chapter.home section.call-to-action {
        padding: 1rem;
    }

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

    section#news .item-carousel {
        grid-template-columns: repeat(1, 100%);
        justify-content: center;
    }
}