#cnh-membership-wrapper {
    background-color: #F2EFEA;
    padding: 1em 2em;
}

#cnh-membership-wrapper.cnh-section {
    margin-bottom: 4em;
}

#cnh-membership {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2em;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
    #cnh-membership {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
}

#cnh-membership .cnh-col.text {
    padding-left: 0;
}

#cnh-membership .cnh-col {
    flex: 1 1 1px;
    padding: 1em;
}

#cnh-membership .cnh-col p {
    margin: 0 0 1em 0;
}

#cnh-membership .cnh-col.map {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
    #cnh-membership .cnh-col.map {
        min-height: 200px;
    }
}

#cnh-membership .cnh-col.map h3 {
    margin: 1em auto;
}

#cnh-membership .cnh-col.links a {
    margin-bottom: 1em;
}

#cnh-spotlight-wrapper {
    width: 100%;
    margin-bottom: 4em;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
    #cnh-spotlight-wrapper.cnh-section {
        /* padding: 0 2rem; */
    }
}

#cnh-spotlight {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4em;
}

#cnh-spotlight-wrapper.spotlight-v2 #cnh-spotlight {
    align-items: center;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
    #cnh-spotlight {
        flex-direction: column;
        /* padding: 0 2rem 0 2rem; */
    }
}

#cnh-spotlight .cnh-col {
    flex: 1 1 1px;
    display: flex;
    flex-direction: column;
    /* max-width: 33.3%; */
}

#cnh-spotlight .cnh-col.text p {
    margin: 0 0 1em 0;
}

#cnh-spotlight .cnh-col.info {
    align-items: center;
    justify-content: center;

}

#cnh-spotlight-wrapper.spotlight-v2 #cnh-spotlight .cnh-col.info {
    max-width: 33.3%;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {

    #cnh-spotlight .cnh-col.info,
    #cnh-spotlight-wrapper.spotlight-v2 #cnh-spotlight .cnh-col.info {
        width: 100%;
        max-width: 100%;
    }

    #cnh-spotlight .cnh-col.info a.cnh-btn {
        display: inline-block;
        width: auto;
        margin: auto;
    }
}

#cnh-spotlight .cnh-col.info .organization {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#cnh-spotlight .cnh-col.info .label {
    display: inline-block;
    color: #195189;
    margin: 0 auto;
}

#cnh-spotlight .cnh-col.info .website {
    margin: 0 0 1em 0;
}

#cnh-spotlight .cnh-col.info img {
    max-width: 70%;
    margin: 0 0 2em 0;
}

.cnh-member-logos {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    padding: 30px 0 30px 0;
    border-top: 4px solid #e3e3e3;
    border-bottom: 4px solid #e3e3e3;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
    .cnh-member-logos {
        grid-template-columns: 1fr 1fr;
    }
}

.cnh-member-logos .member-logo {
    max-height: 150px;
    justify-self: center;
    align-self: center;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
    .cnh-member-logos .member-logo:last-of-type {
        display: none;
    }
}

/* Membership dues */
.membership-dues * {
    margin: 0;
    padding: 0;
}

.membership-dues .bg-tan {
    background-color: #F2EFEA;
}

.membership-dues .topbar p {
    color: white;
    padding: 10px;
    text-align: center;
    margin-bottom: 2px;
}

.membership-dues .dues {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 2px;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
    .membership-dues .dues {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
}

.membership-dues .dues p {
    padding: 8px;
}

.membership-dues .dues p.bg-brick {
    color: white;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
    .membership-dues .dues p.bg-brick {
        grid-column: 1 / 3;
    }
}

.cnh-testimonials p.byline {
    margin-left: 30px;
    font-style: italic;
}

.member-directory {
    display: block;
    width: 100%;
}

.member-item * {
    /* outline: 1px solid pink; */
}

.member-directory .member-item {
    display: grid;
    grid-template-columns: 1fr 4fr 2fr;
    grid-template-rows: auto auto auto;
    border-bottom: 1px solid #e3e3e3;
    padding: 15px 0 15px 0;
    align-items: top;
}

.member-directory .member-item h4 {
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.member-directory .member-item .mem-avatar {
    grid-column-start: 1;
    grid-row-start: 1;
    grid-column-end: 2;
    grid-row-end: 3;
    align-self: start;
    text-align: center;
}

.member-directory .member-item .mem-avatar img {
    max-height: 75px;
    margin: 0;
}

.member-directory .member-item .mem-description {
    grid-column-start: 2;
    grid-column-end: 7;
    padding: 25px 0 10px 0;
}

.member-directory .member-item .mem-city-state {
    font-weight: 600;
    justify-self: end;
}

.member-directory .member-item .mem-level {
    font-style: italic;
    justify-self: start;
    font-weight: 400;
}

.member-directory .member-item .mem-contact {
    grid-column-start: 2;
    grid-column-end: 3;
}

.member-directory .member-item .mem-contact .contact {
    font-weight: 600;
}

.member-directory .member-item .mem-contact .title {
    font-style: italic;
}

#member-search {
    display: inline;
}

#member-search input#search {
    display: inline;
    width: 200px;
    border-bottom: 1px solid #e3e3e3;
    background-color: #fafafa !important;
}

button#clear {
    background-color: white;
    color: #B34220;
}

.member-directory-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.member-directory-nav a {
    margin: 0;
}