/* Grid Layout */
.mh-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Card Container */
.mh-team-member {
    border: 1px solid #000000;
    padding: 35px;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header Section: Image + Name/Role */
.mh-rep-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.mh-rep-img{
    width: 35%;
}

.mh-rep-img img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
}

.mh-rep-info h4 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-family: "Roboto", Helvetica, sans-serif !important;
    font-weight: 800;
    color: #000;	
	letter-spacing: 0.5px;
}

.mh-rep-role {
    margin: 0;
    font-size: 14px;
    font-family: "Roboto", Helvetica, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgb(84, 89, 95);
    line-height: 1.4;
    font-weight: 300;
}

/* Bio Section */
.mh-rep-bio {
    font-family: "Crimson Text", serif !important;
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
    font-weight: 400;
}

.mh-rep-bio p {
    margin-bottom: 15px;
	font-family: "Crimson Text", Helvetica Neue !important;
	  font-size: 18px;
	font-weight: 400;
	  line-height: 1.5em;
	  letter-spacing: 0.3px;
	  color: var( --e-global-color-text );
}

.mh-rep-bio p:last-child {
    margin-bottom: 0;
}

/* Footer Section: Email Icon */
.mh-rep-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.mh-rep-email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #000;
    text-decoration: none;
}

.mh-rep-email-icon i.icon-mail {
    font-size: 28px;
    transition: font-size 0.4s;
}

.mh-rep-email-icon i.icon-mail:hover{
    font-size: 30px;
}

/* ZIP Search Styles */
.mh-rep-search-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: #fdfdfd;
    border: 1px solid #eeedec;
    text-align: center;
}

.mh-rep-search-container h3 {
    font-family: "Roboto", sans-serif !important;
    margin-bottom: 25px;
    font-weight: 700;
}

#mh-rep-search-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#mh-zip-search {
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    flex: 1;
    font-family: "Roboto", sans-serif ;
}

#mh-rep-search-form button {
    padding: 12px 30px;
    font-size: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: "Roboto", sans-serif !important;
    transition: background 0.3s;
}

#mh-rep-search-form button:hover {
    background: #333;
}

#mh-rep-result {
    margin-top: 30px;
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .mh-team-grid {
        grid-template-columns: 1fr;
    }
    
    .mh-rep-member {
        padding: 25px;
    }

    .mh-rep-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .mh-rep-img img {
        width: 110px;
        height: 110px;
    }
}
