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

.team-cards-inner-container {
  display: flex;
  row-gap: 1.3rem;
  column-gap: 1.3rem;
}
.text-blk {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  line-height: 25px;
}
.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 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 5px;
  margin-left: 0px;
}
.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 {
    width: 100%;
    height: 130px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    object-fit: cover;
}
@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;
  }
  .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;
}



/* ========================================================
   WAYPOINT - TEAM CAROUSEL (MOCKUP SCALE + REMOVE GROUP-BG)
   ======================================================== */

/* 1. Remove group-bg before/after & section background */
.group-bg:before,
.group-bg:after {
  display: none !important;
  content: none !important;
  background: none !important;
}

#section-team,
#team-wrap {
  background: transparent !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

.outer-container:before {
  display: none !important;
  background: none !important;
  content: none !important;
}

.outer-container {
  background: transparent !important;
  padding: 0 !important;
  justify-content: center;
}

/* 2. Container Layout: Centered & Wider */
.inner-container,
#team-wrap .inner-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 60px 15px 90px !important;
}

/* 3. Section Heading (Larger & Centered) */
.content-container {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 0 50px 0 !important;
  padding: 0 !important;
}

.content-box {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.section-head {
  font-family: 'Tenor Sans', serif, sans-serif !important;
  font-size: 52px !important;
  line-height: 1.2 !important;
  color: #4b2065 !important; /* Brand plum from PSD */
  text-transform: uppercase !important;
  letter-spacing: 4px !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.section-body {
  display: none !important;
}

/* 4. Carousel Wrapper & Slick Reset */
.team-cards-outer-container {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  position: relative !important;
  padding: 0 55px !important;
}

.team-cards-inner-container {
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* 5. Slide Card */
.card-container {
  max-width: 100% !important;
  padding: 0 8px !important;
  outline: none !important;
  float: left !important;
  box-sizing: border-box !important;
}

.team-card {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 5px 0 15px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.full-link {
  display: none !important;
}

/* 6. Larger Headshot Container (Unclipped for 3D Popout Effect) */
.img-box {
  width: 270px !important;
  height: 290px !important;
  max-width: 100% !important;
  max-height: 310px !important;
  margin: 0 auto 16px auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.person-img {
  width: 100% !important;
  height: 100% !important;
  max-height: 290px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  transition: transform 0.3s ease !important;
}

.team-card:hover .person-img {
  transform: scale(1.05) !important;
}

/* 7. Larger Typography (Name & Role) */
.card-content-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  padding: 0 !important;
}

.person-name {
  font-family: 'Tenor Sans', serif, sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #6989cb !important; /* Brand blue from PSD */
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

.person-info {
  font-family: 'Karla', sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #555555 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

.person-info em {
  font-style: normal !important;
}

/* 8. Carousel Navigation Arrows */
.team-arrow {
  position: absolute !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  font-size: 32px !important;
  font-weight: 300 !important;
  color: #4b2065 !important;
  cursor: pointer !important;
  z-index: 10 !important;
  padding: 10px !important;
  line-height: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.team-arrow:hover {
  color: #6989cb !important;
  transform: translateY(-50%) scale(1.15) !important;
}

.team-arrow-prev {
  left: -30px !important;
  right: auto !important;
}

.team-arrow-next {
  right: -30px !important;
  left: auto !important;
}

/* 9. Responsive Adjustments */
@media (max-width: 1250px) {
  .img-box {
    width: 230px !important;
    height: 250px !important;
  }
  .person-name {
    font-size: 21px !important;
  }
  .person-info {
    font-size: 14px !important;
  }
}

@media (max-width: 991px) {
  .inner-container,
  #team-wrap .inner-container {
    padding: 50px 15px 70px !important;
  }
  .section-head {
    font-size: 40px !important;
  }
  .team-cards-outer-container {
    padding: 0 45px !important;
  }
  .img-box {
    width: 200px !important;
    height: 220px !important;
  }
  .person-name {
    font-size: 19px !important;
  }
  .person-info {
    font-size: 13px !important;
  }
  .team-arrow-prev {
    left: -15px !important;
  }
  .team-arrow-next {
    right: -15px !important;
  }
}

@media (max-width: 600px) {
  .section-head {
    font-size: 32px !important;
  }
  .team-cards-outer-container {
    padding: 0 35px !important;
  }
  .img-box {
    width: 220px !important;
    height: 240px !important;
  }
  .team-arrow-prev {
    left: -10px !important;
  }
  .team-arrow-next {
    right: -10px !important;
  }
}