.profile-card {
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-details h2.profile-title {
    text-align: left !important;
}


.view.view-people.view-id-people.view-display-id-block_14 .view-content {
    display: block;
}

.field--name-field-specialization p strong {
    font-size: inherit;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    max-width: 400px;
}

.profile-email a, .profile-phone a {
    color: #0073e6;
    text-decoration: none; 
    margin-right: 1em;
}


.profile-card img {
    width: 260px;
    height:auto;
    margin-right: 20px;
    border-radius: 16px 0 0 16px;
    object-fit: cover;
}

.profile-email, .profile-phone{
	font-size:.9em;
}

.info-label{
	font-size:.8em;
}

.profile-expertise a {
    padding: 0.5em;
    border-radius: 5%;
    color: #003366;
    background: #eee;
    text-decoration: none;
    margin: 0 0.2em;
    line-height: 3em;
    white-space: nowrap;
}

.profile-email {
    float: left;
    margin: 0.8em 0;
}

.profile-phone {
    margin: 0.8em;
}
.profile-email span.fa-mailto.extlink {
    display: none;
}

.profile-details {
    flex: 1;
}

.profile-title {
    font-weight: 500;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.profile-title a {
	color:#003366;
	text-decoration:none;
}
.profile-info, .profile-dept {
    margin: .3em 0;
    font-weight: 300;
    color: #666;
    font-size:.9em;
}

.profile-research {
    margin: .3em 0;
    font-weight: 300;
    color: #666;
    font-size:.9em;
}

.profile-expertise{
	font-size:.8em;
}

.info-label {
    font-weight: 400;
    color: #444;
    margin-top:.5em;
}

.profile-info a {
    color: #666;
    text-decoration: none;
    border-bottom: 1px dashed #666;
    transition: color 0.3s, border-color 0.3s;
}

.profile-info a:hover {
    color: #333;
    border-bottom-color: #333;
}

.view-experts {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-phone a:hover, .profile-email a:hover {
    text-decoration: underline;
}

.profile-expertise a:first-child {
    margin: 0;
}

.profile-expertise a:hover {
    background: #d4e8fc;
}

@media (max-width:499px){
.profile-card {
    display: block;
	margin:1em;
	border-radius: 16px;
	}
	
	.profile-card img {
    width: 100%;
    border-radius: 16px 16px 0 0;
	}
	
	.profile-details {
    margin: 1em;
	}
	
	.profile-title {
	    text-align: center;
	}
	
	.profile-email svg {
	    margin-right: 0.2em;
	}
	
	.contact-details {
	    grid-template-columns: 1fr;
	}
	
	.profile-phone, .profile-email {
	    margin: 0.8em 0;
	}
}