.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.office-title {
    font-size: 1.375rem!important;
    font-weight: 500!important;
    margin: 10px 0;
    line-height:1.1!important;
}
.office-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.office-types li::before {
    content: "— ";
}
.office-grid-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cicons {
    margin-top:20px;
}
.cicons img {
    margin-right:10px;
}
.padproo { 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;
}

.office-card {
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease;
    font-family: "Montserrat", sans-serif;
}
.office-body {
    margin-top:20px;
}
.office-card:hover {
    text-decoration: none;
}
.office-department {
    color: var(--dark-gray)!important;
    text-transform: uppercase;
    font-size:.938rem;
    font-weight:500!important;
}
.office-image {
    width: 100%;
    height: 350px; /* fixed height */
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    overflow: hidden;
}

.office-card:hover .office-image {
    transform: scale(1.1);
}

.office-title {
    color: var(--dark-gray);
}

.office-card:hover .office-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;
}

.office-search-wrapper {
    position: relative;
    display: inline-block;
    flex: 1; /* so it grows nicely with the filters */
    width: 100%;
}

.office-search-wrapper input {
    width: 100%;
    padding-right: 36px; /* space for the icon */
    box-sizing: border-box;
}

.office-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;
}

.office-search-wrapper .search-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
