.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.member-title {
    font-size: 1.375rem!important;
    font-weight: 500!important;
    margin: 10px 0;
    line-height:1.1!important;
}
.member-types {
    color: var(--dark-gray)!important;
    margin-top:0px!important;
    padding-left: 0px !important;
    list-style-type: none;
    font-size: 1rem!important;
    font-weight:300!important;
    font-family: "Montserrat", sans-serif;
    text-decoration: underline;
}
ul.member-types li::before {
    content: "— ";
}
.member-grid-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.bio-trigger {
    cursor: pointer;
}
.bio-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.bio-modal.active {
    display: flex;
}
.bio-trigger img {
    max-width: 50px;
    border: 2px solid #1e1d1d;
    border-radius: 50%;
    padding: 6px;
}
.bio-modal-inner {
    background: #fff;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    border-radius: 8px;
}
.bio-content h2, .bio-content h3, .bio-content h4, .bio-content h5 {
    font-weight:700!important;
}
.bio-content h3 {
    font-size: 26px!important;
    font-size: 1.625rem!important;
}
.bio-content.sep {
    padding-top:15px;
}
.bio-close {
    position: absolute;
    top: 0px;
    right: 15px;
    background: none;
    border: none;
    font-size: 48px;
    cursor: pointer;
    color:#000;
}
.bio-close:hover {  
    color: #000;    
}
.cicons {
    margin-top:20px;
}
.cicons img {
    margin-right:10px;
}
.padprom { padding: 60px 0px 120px; }
.pagination {
    margin-top: 20px;
    text-align: center;
}
.pagination .page-num {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    text-decoration: none;
}
.pagination .page-num.active {
    background: #333;
    color: #fff;
}

.member-card {
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease;
    font-family: "Montserrat", sans-serif;
}
.member-body {
    margin-top:20px;
}
.member-card:hover {
    text-decoration: none;
}
.member-department {
    color: var(--dark-gray)!important;
    text-transform: uppercase;
    font-size:.938rem;
    font-weight:500!important;
}
.member-image {
    width: 100%;
    height: 350px; /* fixed height */
    background-size: cover;
    background-position: top center;
    transition: transform 0.4s ease;
    overflow: hidden;
}

.member-card:hover .member-image {
    transform: scale(1.1);
}

.member-title {
    color: var(--dark-gray);
}

.member-card:hover .member-title {
    color: var(--dark-gray);
}
.cutoff {
    width: 100%;
    height: 350px; /* fixed height */
    overflow: hidden;
    background-color:#ddd;
}

.filterlabel {
    font-size:.938rem;
    font-weight:500;
    font-family: "Montserrat", sans-serif;
}

.member-search-wrapper {
    position: relative;
    display: inline-block;
    flex: 1; /* so it grows nicely with the filters */
    width: 100%;
}

.member-search-wrapper input {
    width: 100%;
    padding-right: 36px; /* space for the icon */
    box-sizing: border-box;
}

.member-search-wrapper .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none; /* so clicks go to the input */
    fill: #666;
}

.member-search-wrapper .search-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
