body.meet-staff .staff-profile-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 40px;
}

body.meet-staff .staff-profile-container .profile-box {
  background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
    padding: 40px 20px;
    text-align: center;
    width: 250px;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body.meet-staff .staff-profile-container .profile-box h3 {
    font-size: 14px;
    margin: 0;
    margin-top: 20px;
    font-weight: 500;
}

body.meet-staff .staff-profile-container .profile-box p {
    font-size: 14px;
    line-height: 130%;
    margin-top: 6px;
}

body.meet-staff .staff-profile-container .profile-box:hover {
  transform: scale(1.05);
}

body.meet-staff .staff-profile-container .profile-box img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

body.meet-staff .staff-profile-container .modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

body.meet-staff .staff-profile-container .modal-content {
	background-color: white;
    padding: 10px;
    border-radius: 10px;
    width: 60%;
    max-width: 800px;
    box-shadow: 0 3px 15px #00000029;
    top: 50%;
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
}

body.meet-staff .staff-profile-container .right-content {
	padding: 40px 20px;
	flex: 1;
}

body.meet-staff p#modalDescription {
	font-size: 14px;
	margin-top: 20px;
	line-height: 140%;
}

body.meet-staff #modalTitle {
	font-weight: 600;
}

body.meet-staff h2#modalName {
    margin: 0;
    font-size: 35px;
    font-weight: 600;
}

body.meet-staff .staff-profile-container .close {
    color: #fff;
    float: right;
    font-size: 26px;
    font-weight: 400;
    cursor: pointer;
    position: absolute;
    right: 20px;
    background: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 104%;
}

body.meet-staff .staff-profile-container .close:hover {
    color: #ffffff;
    background: #4e4e4e;
}

body.meet-staff #modalImage {
	display: block;
	margin: 0;
	width: 150px;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
	box-shadow: 0 0 10px #ccc;
	flex: 1;
}

body.meet-staff .first-fold-section:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    height: 26vw;
    width: 60vw;
    background: url(../../../../../wp-content/uploads/2022/03/element1.svg) bottom center / contain no-repeat;
}

body.meet-staff .staff-section:before {
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
    height: 26vw;
    width: 30vw;
    background: url(../../../../../wp-content/uploads/2022/03/element1.svg) bottom center / contain no-repeat;
    transform: rotateY(180deg);
}

@media only screen and (max-width: 765px) {
	body.meet-staff .staff-profile-container .modal-content {
	    width: calc(100% - 20px);
	    flex-direction: column;
	    align-items: center;
	}

	body.meet-staff .first-fold-section .row {
		display: flex;
		flex-direction: column-reverse;
	}

	body.meet-staff .staff-section:before {
	    height: 40vw;
	    width: 58vw;
	}

	body.meet-staff .first-fold-section:before {
	    height: 40vw;
	    width: 68vw;
	}

	body.meet-staff .staff-profile-container .right-content {
	    padding: 20px;
	}

	body.meet-staff h2#modalName {
	    font-size: 24px;
	}
}