/* TEAM STYLE 3 */
.icon-block svg {
  width: 100%;
  height: 100%;
}

.hp-team-section .ry-each:nth-child(1) .ry-icon {
    position: relative;
    bottom: 46px;
}

.hp-team-section .ry-each .ry-icon {
    background: var(--color-secondary);
}

.hp-team-section .ry-each .ry-icon svg {
    width: 35px;
    height: 35px;
    fill: #fff;
    transform: rotate(320deg);
}


.team-cards-inner-container {
  display: flex;
  row-gap: 1.3rem;
  column-gap: 1.3rem;
}

div#hp-team-flex {
    gap: 0 1.5em;
    margin-top: 3em;
    justify-content: center;
}

.hp-team-section .ry-each {
    background: #eff6ff;
    border-radius: 30px;
    border: 1px solid rgb(0 86 184 / 16%) !important;
    display: flex;
    justify-content: flex-end;
    padding: 1.5em 0 0 0;
    overflow: hidden;
}

.person-name h4 {
    font-size: 28px;
    letter-spacing: -1px;
    line-height: 22px;
    color: #0055b8;
    font-weight: 500 !important;
}

.person-name h5 {
    font-size: 16px;
    line-height: 23px;
    color: #333;
    font-weight: 500 !important;
    font-style: italic;
    font-family: var(--font-title) !important;
    margin-top: 15px;
}

.hp-team-section {
    padding: 5em 0 0;
}

.hp-team-section .ry-container {
    max-width: 1280px;
    width: 80%;
}

.hp-team-section .ry-each:focus-visible,
.hp-team-section .ry-each:focus {
    outline: none !important;
}

.responsive-cell-block {
  min-height: 75px;
}
.responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  justify-content: flex-start;
}
.inner-container {
  max-width: 1200px;
padding: 200px 0;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  justify-content: center;
/*	flex-wrap:nowrap;*/
}
.section-head {
  font-size: 60px;
  line-height: 70px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 24px;
  margin-left: 0px;
	color: #FFFFFF;
	text-align:center;
}
.section-body {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 64px;
  margin-left: 0px;
  color: #FFFFFF;
}
.section-body p {
    text-align: center;
}
.team-cards-outer-container {
  display: flex;
  align-items: center;
}
.content-container {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}

.img-box {
  max-width: 130px;
  max-height: 130px;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  margin-top: 0px;
  margin-right: 25px;
  margin-bottom: 0px;
  margin-left: 0px;
}
.team-card {
  background-color: rgb(255, 255, 255);
  display: flex;
  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 16px;
  box-shadow: rgba(95, 95, 95, 0.1) 6px 12px 24px;
  flex-direction: row;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}

.card-container {
    max-width: 330px;
    margin: 0 auto;
}

.card-content-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.person-name {position: absolute;top: 22%;left: 10%;display: flex;flex-direction: column;justify-content: center;gap: 6em 0;}
.person-info {
  font-size: 13px;
  line-height: 15px;
}
.card-container {
  width: 100%;
}
.outer-container {
  justify-content: center;
  padding-top: 0px;
  padding-right: 50px;
  padding-bottom: 0px;
  padding-left: 50px;
	
}

.outer-container:before {
	content: '';
    background: url('https://www.royacdn.com/unsafe/smart/Site-2c1fcf37-21e5-4e04-9d57-d78ae9e591ea/index_about/bg_meetourdoctors.jpg') 
                no-repeat center center/cover;
    position: absolute;
    opacity: 0.3;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.person-img {
    height: 380px;
    object-fit: contain;
    max-width: 380px;
    float: right;
    position: relative;
    right: -35px;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0px);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0px);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
@media (max-width: 1024px) {
  .team-card-container {
    justify-content: center;
  }
  .section-head {
	  text-align:center;
    font-size: 50px;
    line-height: 55px;
  }
  .img-box {
    max-width: 130px;
    max-height: 130px;
  }
  .content-container {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
  }
  .inner-container {
    justify-content: space-evenly;
	  flex-wrap:wrap;
  }
	.card-container {margin:0 auto;}
}
@media (max-width: 768px) {
  .inner-container {
    margin: 0;
    padding: 6.6vh 0;
  }
  .section-body {
	text-align:center;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
  }
  .img-box {
    margin-top: 0px;
    margin-right: 30px;
    margin-bottom: 0px;
    margin-left: 0px;
  }
  .content-box {
    text-align: center;
  }
  .content-container {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 30px;
    margin-left: 0px;
  }
	.card-container {margin:0 auto;}
}
@media (max-width: 500px) {
	.card-container {margin:0 auto;}
  .outer-container {
    padding-top: 0px;
    padding-right: 30px;
    padding-bottom: 0px;
    padding-left: 30px;
  }
  .section-head {
    font-size: 40px;
    line-height: 45px;
  }
  .content-box {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
  }
  .section-body {
    font-size: 12px;
  }
  .person-name {
    font-size: 14px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 1px;
    margin-left: 0px;
    position: static;
    gap: 0 !important;
  }
  .content-box {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 46px;
    margin-left: 0px;
    text-align: left;
  }
  .content-container {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
  }
}
/* END OF STYLE 3 */

#team-wrap .inner-container {
    padding: 100px 0 260px;
}


@media (max-width:500px) {
  .hp-team-section .ry-each {
  flex-direction: column;
  gap: 2em 0;
  padding: 2em 0 3em;
}
.person-img {
  right: 0;
  max-width: 250px;
  margin: auto;
  background: #fff;
  height: 250px;
  border-radius: 20px;
}
.person-name h5, .person-name h4 {
  text-align: center !important;
}
.hp-team-section .ry-each:nth-child(1) .ry-icon {
}
.hp-team-section .ry-each .ry-icon {
  bottom: -1em !important;
  position: relative !important;
  margin: auto;
}
	
	.hp-team-section {
  padding: 3em 0 !important;
}
	
}