
.agent-profile-block {
  position: relative;
  margin: 0px;
  padding: 0px 0px 0px 0px;
}
.agent-profile-block .section__shell {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: var(--width--section-padded);
  margin: 0 auto;
}
.agent-profile-block .section__content {
  position: relative;
  margin: auto auto;
  width: 100%;
}
.agent-profile-block .section__content .section-heading {
  max-width: calc(100%);
  width: 100%;
  text-align: center;
  font-family: var(--font-family);
  font-variation-settings: "slnt" 0, "wght" 600;
  font-size: 20px;
  line-height: 32px;
  color: var(--color--title);
  margin-bottom: 1.5rem;
}
.agent-profile-block .section__content .section-heading:after{
  content: "";
  display: block;
  width: 65px;
  height: 2px;
  background: var(--color--secondary);
  margin: 0.5rem auto;
}
.agent-profile-block .section__content .agent-profile-block-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
}
@media (min-width: 70.25em) {
  .agent-profile-block .section__content .agent-profile-block-list {
    margin-left: 0px;
    margin-right: 0px;
  }
}
.agent-profile-block .section__content .agent-profile-block-list .section__column {
  width: calc(100%);
}
@media (min-width: 34.375em) {
  .agent-profile-block .section__content .agent-profile-block-list .section__column {
    width: calc(33% - 1rem);
  }
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner {
  position: relative;
  width: 100%;
  min-height: 338px;
  background: var(--color--off-white);
  border-radius: 10px;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .image-wrapper {
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 130px;
  height: 130px;
  border-radius: 50%;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .image-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  padding: 0px;
  border-radius: 8px;
  overflow: hidden;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem 0px;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper {
  padding: 0px;
  color: var(--color--title);
  text-transform: none;
  text-align: center;
  font-family: var(--font-family);
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .name {
  font-variation-settings: "slnt" 0, "wght" 600;
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 0px;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .position {
  font-size: 17px;
  line-height: 26px;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .contact-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .excerpt {
  font-size: 15px;
  line-height: 23px;
  color: var(--color--black);
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .excerpt p {
  margin-bottom: 1.5rem;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .cta-button-wrapper {
  display: flex;
  justify-content: center;
  padding: 0px;
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  font-family: var(--font-family);
  font-variation-settings: "slnt" 0, "wght" 600;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  padding: 0px 18px 0px 18px;
  color: var(--color--title);
  background: var(--color--secondary);
  border: 1px solid var(--color--secondary);
}
.agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .cta-button:hover {
  background: var(--color--tertiary);
  border: 1px solid var(--color--title);
}

.agent-profile-block .controls {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  align-items: center;
}
.agent-profile-block .controls * {
  position: absolute;
  height: 16px;
  width: 27px;
  z-index: 5;
  padding: 0px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 14px 25px;
  cursor: pointer;
  transition: all 0.5s ease;
  top: calc(50% - 8px) !important;
  background-color: transparent !important;
}
.agent-profile-block .controls .slider-prev-apb {
  background-image: url("/wp-content/themes/mackenzie-smith-estate-agents/images/icon-slider-left.svg");
  left: 1rem;
}
.agent-profile-block .controls .slider-next-apb {
  background-image: url("/wp-content/themes/mackenzie-smith-estate-agents/images/icon-slider-right.svg");
  right: 1rem;
}
@media (min-width: 600px) {
  .agent-profile-block .controls {
    display: none;
  }
}


/** Mobile Design Overrides **/
@media (max-width: 34.375em) {
  .agent-profile-block .section__content .section-heading {
    font-size: 18px;
    line-height: 1.5;
  }
  .agent-profile-block .section__content .section-heading:after{
    width: 40px;
  }
  .agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .name {
    font-size: 19px;
    line-height: 1.5;
  }
  .agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .position {
    font-size: 14px;
    line-height: 1.5;
  }
  .agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .excerpt {
    font-size: 12px;
    line-height: 1.5;
    padding-left: 3.25rem;
    padding-right: 3.25rem;
  }
  .agent-profile-block .section__content .agent-profile-block-list .section__column .section__inner .card-wrapper .cta-button {
    font-size: 13px;
  }
}