/******************  New Agent Detail Page  *********************************/



ul.agent-contact-info {
  margin: 0 0 30px 0;
  padding: 0;
}
.agent-contact-info li {
  list-style: none;
  margin: 0 0 12px;
  font-size: 20px;
}
.agent-contact-info li:last-child {
  margin: 0;
}
.agent-contact-info i {
  border: 0px solid #000;
  border-radius: 100%;
  display: inline-block;
  margin-right: 5px;
  font-size: 22px;
  width: 24px;
  text-align: left;
}
p.agent-desi {
  font-size: 20px;
  line-height: 30px;
  margin: 0 0 20px;
  padding: 0;
}

.agent-review-top {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 12px;
}

.agent-review-top a {
  text-decoration: underline;
}

.agent-review-top i {
  color: #fcca36;
  font-size: 22px;
  width: 24px;
  margin-right: 5px;
}

.follow-agent {
  margin: 0 0 20px;
}

.follow-agent h5.epl-author-title a,
.follow-agent h5 {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
}

.fas-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fas-links li {
  display: inline-block;
  margin-right: 20px;
  font-size: 22px;
  list-style: none;
}

.follow-agent .fas-links li a i,
.follow-agent .fas-links li a {
  font-size: 24px;
  color: #000 !important;
}

.performance-snapshot {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 60px;
}

.performance-snapshot h5 {
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
  margin-bottom: 0 0 10px;
}

.performance-snapshot p {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  margin: 10px 0 15px;
  padding: 0;
}

.agent-bio {
  overflow: hidden;
  width: 100%;
  max-width: 850px;
  padding: 90px 15px 0;
  margin: 0 auto;
}

/* core grid */
.agent-bio .performance-snapshot ul.ps-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 30px 20px;
  box-sizing: border-box;
  background: #f6f5f7;
  border: 1px solid #ccc;
  border-radius: 10px;
}
.agent-bio.shortcode .performance-snapshot ul.ps-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 30px 20px;
  box-sizing: border-box;
  background: #f6f5f7;
  border: 1px solid #ccc;
  border-radius: 10px;
}

ul.ps-stats li {
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  color: #231f20;
  text-align: center;
  line-height: 22px;
}

ul.ps-stats li strong {
  font-size: 30px;
  font-weight: 700;
  display: block;
  text-align: center;
}

/* responsive breakpoints */
@media (max-width: 992px) {
  ul.ps-stats {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

/**/

.agent-reviews {
  padding: 80px 0;
  background: #fff;
}

.agent-reviews-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.agent-reviews-container .section-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 30px;
}

.agent-reviews-container .section-title .epl-author-title {
  display: inline-block;
  font-size: 22px;
  font-weight: 500;
}

.agent-review-box {
  background: #f6f5f7;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
}

.arb-veri {
  position: absolute;
  right: 30px;
  top: 30px;
  font-size: 16px;
  letter-spacing: 0.48px;
}

.raging-stars {
  margin-bottom: 25px;
  font-size: 18px;
}

.raging-stars span {
  display: inline-block;
  margin-left: 7px;
}

.raging-stars i {
  font-size: 22px;
}

.raging-stars i.checked {
  color: #fcca36;
}

.review-meta h6 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 5px;
  text-transform: unset;
  letter-spacing: normal;
}

.review-meta h6 strong {
  font-weight: 500;
}

span.rtimestamp {
  display: block;
  color: #8f8f8f;
  font-size: 15px;
}

.review-meta {
  margin: 0 0 20px;
}

.agent-review-box p {
  padding-bottom: 0;
  font-size: 18px;
  line-height: 30px;
}

.agent-review-box p span {
  display: block;
}

button.readMoreBtn {
  color: #e2710c;
  border: 0;
  background: none;
  font-size: 18px;
  font-weight: 500;
  padding: 0;
  margin: 10px 0;
  cursor: pointer;
}

.reviews-footer {
  text-align: center;
}

.reviews-footer p {
  padding-bottom: 10px;
}

.reviews-footer img {
  width: 190px;
  max-width: 190px !important;
  height: auto;
}

.fas-links .fa-brands,
.fas-links .fab {
  font-family: "Font Awesome 6 Brands" !important;
}

.agent-listing.withmap-full {
}

.agent-listing.withmap-full .agent-listing-wrap {
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
}

.agent-listing.withmap-full .epl-sd-listings.directory-section.epl-clearfix,
.agent-listing.withmap-full
  ul.epl_ui_tab_menu_wrapper.epl_ui_tab_menu_wrapper_horizontal {
  width: 100%;
  max-width: 1400px;
  padding: 0 30px;
  margin: 0 auto 30px;
}

.agent-listing.withmap-full
  ul.epl_ui_tab_menu_wrapper.epl_ui_tab_menu_wrapper_horizontal {
  display: block;
  text-align: center;
}

.agent-listing.withmap-full
  .agent-listing-wrap
  ul.epl_ui_tab_menu_wrapper
  li.epl_ui_tab_menu {
  margin: 0 5px;
  display: inline-block;
  width: auto;
}

.agent-listing.withmap-full
  .agent-listing-wrap
  .epl-icon-container-bath
  .icon-value:after,
.agent-listing.withmap-full
  .agent-listing-wrap
  .epl-icon-container-car
  .icon-value:after,
.agent-listing.withmap-full
  .agent-listing-wrap
  .epl-icon-container-bed
  .icon-value:after {
  display: none !important;
}

.agent-listing.withmap-full
  .gm-style-iw-d
  .epl-infobox-wrap
  .epl-icon-svg-container
  .icon-value {
  font-size: 15px;
  line-height: 20px;
  font-weight: 400 !important;
  margin: 0 5px;
}

.agent-listing.withmap-full .agent-listing-wrap .epl-icon-svg-container:after,
.agent-listing.withmap-full .agent-listing-wrap .epl-icon-svg-container:after {
  width: 0.01em !important;
  top: 0;
  height: 20px;
  background: #ccc;
}

.agent-listing.withmap-full .agent-listing-wrap .epl-icon {
  display: inline-block;
}

.epl-icon-svg.bed:before {
  content: "Bed";
  color: #fff;
  font-size: 20px;
}
.epl-icon-svg.bath:before {
  content: "Bath";
  color: #fff;
  font-size: 20px;
}
.epl-icon-svg.car:before {
  content: "Car";
  color: #fff;
  font-size: 20px;
}

.agent-listing.withmap-full {
  padding: 50px 0;
}

/********************************/

.agent-bio.shortcode {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 0px;
  padding-bottom: 0px;
}

.agent-bio.shortcode .performance-snapshot {
  background: #fff;
  border: 0px solid #ccc;
  border-radius: 0;
  padding: 0;
  margin-bottom: 5px;
  text-align: center;
}

.agent-bio.shortcode .performance-snapshot ul.ps-stats {
  margin: 20px 0 0;
  padding: 0;
  box-sizing: border-box;
  background: #fff;
  border: 0px solid #ccc;
  border-radius: 0;
  gap: 20px;
}

.agent-bio.shortcode ul.ps-stats li {
  font-size: 16px;
  font-weight: 400;
  color: #231f20;
  text-align: center;
  line-height: 22px;
  padding: 40px 30px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  background: #ffffff;
}

.agent-bio.shortcode ul.ps-stats li strong {
  font-size: 58px;
  line-height: 58px;
  font-weight: 500;
  display: block;
  text-align: center;
  margin: 0 0 15px;
}

.agent-bio.shortcode h5 {
  font-family: "RecifeDisplay Book" !important;
  font-size: 42px;
  font-weight: 400;
  position: relative;
  margin-bottom: 45px;
}

.agent-bio.shortcode h5:after {
  position: absolute;
  width: 120px;
  height: 2px;
  background: #000;
  left: 0;
  right: 0;
  bottom: -35px;
  margin: auto;
  content: "";
}

@media only screen and (min-width: 280px) and (max-width: 767px) {
  body .agent-bio.shortcode ul.ps-stats li strong {
    font-size: 42px;
    line-height: 42px;
  }

  body .agent-bio.shortcode h5 {
    font-family: "RecifeDisplay Book" !important;
    font-size: 28px;
    line-height: 36px;
  }

  .agent-bio.shortcode ul.ps-stats {
    grid-template-columns: repeat(1, 1fr);
  }

  .agent-listing.withmap-full .epl-sd-listings.directory-section.epl-clearfix,
  .agent-listing.withmap-full
    ul.epl_ui_tab_menu_wrapper.epl_ui_tab_menu_wrapper_horizontal {
    padding: 0 15px;
  }

  .agent-listing.withmap-full
    .agent-listing-wrap
    ul.epl_ui_tab_menu_wrapper
    li.epl_ui_tab_menu
    a {
    font-size: 14px;
  }

  .agent-listing.withmap-full .epl-am-section {
    display: block !important;
    height: auto !important;
    margin: 0 0 50px;
  }

  .agent-office-info h6,
  body .agent-small-info .agent-contact-info li,
  .follow-agent h5.epl-author-title a,
  .follow-agent h5,
  body .agent-small-info .agent-contact-info li a,
  .agent-small-info .agent-review-top,
  .agent-small-info p.agent-desi {
    font-size: 16px;
  }

  .agent-bio .performance-snapshot {
    padding: 15px;
  }

  .performance-snapshot ul.ps-stats li strong {
    font-size: 24px;
  }

  .performance-snapshot ul.ps-stats li {
    font-size: 14px;
  }

  .agent-review-box {
    padding: 30px 15px;
  }

  body .review-meta h6,
  body button.readMoreBtn,
  body .agent-review-box p,
  body .agent-review-box .raging-stars {
    font-size: 14px;
    line-height: 24px;
  }

  .agent-listing.withmap-full #epl-advanced-map-inner-sales {
    height: 50vh !important;
  }
}

/* Staff Info Section Styling */
.staff-info {
  display: flex;
  align-items: center;
  margin-top: 15px;
  gap: 12px;
}

.staff-info .staff-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.staff-info .staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-info .staff-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

button.show-more-reviews-btn {
  border: 1px solid #000;
  background: #000;
  color: #fff;
  height: 50px;
  padding: 0 35px;
  font-size: 18px;
  margin: 0 auto;
  line-height: 50px;
  cursor: pointer;
  margin-bottom: 30px;
}
@media all and (min-width: 992px) {
  .agent-reviews-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 15px;
  }
  .agent-reviews-wrapper .agent-review-box {
    width: 49%;
  }
}
.shortcode .agent-review-box {
  text-align: left;
}
.review-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.review-meta .review-agent {
    max-width: 160px;
    margin-left: auto;
}
.review-meta .raging-stars {
    margin-bottom: 0px;
}
.review-meta .raging-stars i {
    font-size: 16px;
    margin-top: -5px;
}
.review-meta .review-agent span.image img {
    max-width: 50px;
    border-radius: 50%;
}
.review-meta .review-agent a {
    display: flex;
}
@media all and (max-width: 667px){
    .review-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .review-meta .review-agent {
        margin-left: 0px;
        margin-top: 15px;
    }
}
