@media (max-width: 768px) {
  .agent-head {
    margin: 0 auto 24px;
  }
  .agent-cover-img {
    margin: 0;
    border-radius: 0;
    aspect-ratio: 365/140;
  }
  .agent-cover-img img {
    border-radius: 0;
  }
  .agent-picture {
    width: 100px;
    height: 100px;
    border: 3px solid white;
  }
  .agent-name {
    margin: 66px auto 8px;
    padding: 0 16px;
    font-size: 32px;
    line-height: 1.4;
  }
}
.agent-main {
  border-top: 1px solid #E9E9EA;
}

.breadcrumbs-nav {
  margin: 80px 0 48px;
}

.breadcrumbs-list {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: Medium;
}
.breadcrumbs-list svg {
  fill: #212530;
  width: 5px;
  height: 9px;
}
.breadcrumbs-list li:first-child a {
  text-decoration: none;
  color: #7A7C83;
  transition: ease 0.3s;
}
.breadcrumbs-list li:first-child a:visited {
  color: #7A7C83;
}
.breadcrumbs-list li:first-child a:hover {
  color: #1582E7;
}

.agent-body {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  margin-bottom: 80px;
}

.agent-col {
  position: relative;
  width: 100%;
}
.agent-col:first-child {
  position: sticky;
  top: 90px;
  max-width: 572px;
  height: fit-content;
}
.agent-col:last-child {
  max-width: 568px;
  padding-top: 16px;
}

.agent-img {
  width: 100%;
  border-radius: 12px;
  display: flex;
  aspect-ratio: 572/640;
  overflow: hidden;
}
.agent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-name {
  margin: 136px auto 8px;
  width: fit-content;
  font-size: 64px;
  font-family: Semi;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  padding: 0 32px;
}

.agent-position {
  margin: 16px 0 32px 0;
  color: #4D5159;
}

.agent-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agent-tag {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid #E9E9EA;
  padding: 2px 6px;
  color: #64666E;
  font-family: Medium;
  line-height: 1.4;
  font-size: 14px;
  text-decoration: none;
  transition: ease 0.3s;
}
.agent-tag:visited {
  color: #64666E;
}
.agent-tag svg {
  width: 13px;
  height: 13px;
  fill: #BCBEC1;
  transition: ease 0.3s;
}

.agent-tag-link:hover {
  color: #1582E7;
}
.agent-tag-link:hover svg {
  fill: #1582E7;
}

.contact-btn {
  margin-top: 32px;
}
.contact-btn .brand-btn-icon svg {
  width: 16px;
  height: 16px;
}

.more-about {
  margin-bottom: 16px;
}

.agent-col p {
  color: #64666E;
  margin-bottom: 16px;
  line-height: 1.5;
}

.agent-socials {
  display: flex;
  gap: 8px;
  margin: 32px 0 48px 0;
}

.agent-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #E9E9EA;
  border-radius: 8px;
  transition: ease 0.3s;
}
.agent-social svg {
  transition: ease 0.3s;
  width: 20px;
  height: 20px;
  fill: #212530;
}
.agent-social:hover {
  background-color: #212530;
  border: 1px solid #212530;
}
.agent-social:hover svg {
  fill: white;
}

.listing-items {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 32px;
}

.listing-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 596/450;
  display: flex;
}
.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-price {
  font-size: 32px;
  margin: 20px 0 12px;
  font-family: Semi;
  line-height: 1.5;
}

.listing-address {
  margin-bottom: 10px;
  color: #4D5159;
  font-family: Medium;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .agent-body {
    gap: 50px;
  }
}
@media (max-width: 900px) {
  .agent-body {
    flex-direction: column;
    margin-top: 0;
  }
  .agent-col {
    position: relative;
    width: 100%;
  }
  .agent-col:first-child {
    position: unset;
    top: 90px;
    max-width: 572px;
    height: fit-content;
  }
  .agent-col:last-child {
    max-width: 568px;
    padding-top: 0;
  }
  .breadcrumbs-nav {
    margin: 32px 0 16px 0;
  }
  .agent-tag {
    gap: 8px;
  }
  .agent-socials {
    margin-top: 24px;
  }
  .listing-items {
    margin-top: 24px;
    gap: 24px;
  }
  .listing-price {
    margin: 12px 0 8px;
    font-size: 20px;
    line-height: 1.7;
  }
  .listing-address {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .agent-body {
    gap: 24px;
  }
  .agent-col:first-child {
    position: unset;
    top: 90px;
    max-width: 100%;
    height: fit-content;
  }
  .agent-col:last-child {
    max-width: 100%;
    padding-top: 0;
  }
  .agent-img {
    border-radius: 8px;
    aspect-ratio: 1;
  }
  .agent-position {
    margin: 8px 0 16px 0;
  }
  .contact-btn {
    margin-top: 16px;
  }
  .agent-socials {
    margin: 16px 0 24px 0;
  }
}
@media (max-width: 480px) {
  .contact-btn {
    width: 100%;
    padding: 4px 10px;
    border-radius: 4px;
    justify-content: space-between;
  }
}
.people-slider {
  padding: 80px 32px 0;
}

.latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.team-navs {
  position: relative;
  width: 88px;
  height: 40px;
  display: flex;
  gap: 8px;
}

.swiper-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #E9E9EA;
  border-radius: 6px;
  transition: ease 0.3s;
}
.swiper-nav svg {
  transition: ease 0.3s;
  width: 14px;
  height: 12px;
  fill: #212530;
}
.swiper-nav:hover {
  cursor: pointer;
  background-color: #1582E7;
  border: 1px solid #1582E7;
}
.swiper-nav:hover svg {
  fill: white;
}

.swiper-nav-prev svg {
  transform: rotate(-180deg);
}

.team-swiper {
  overflow: unset;
  margin-bottom: 48px;
}

.agent-phone {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 8px;
  top: 8px;
  width: 36px;
  height: 36px;
  background-color: white;
  border-radius: 8px;
  opacity: 0;
  transition: ease 0.6s;
  box-shadow: 0 2px 8px 0 rgba(33, 37, 48, 0.3);
}
.agent-phone svg {
  width: 16px;
  height: 16px;
  fill: #1582E7;
}

.team-img {
  display: flex;
  width: 100%;
  aspect-ratio: 298/493;
  border-radius: 8px;
  overflow: hidden;
}
.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-info {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  padding: 0 24px 24px;
  color: white;
  z-index: 1;
  margin-bottom: -68px;
  transition: ease 0.4s;
}
.agent-info .agent-full-name {
  font-size: 20px;
  font-family: Semi;
  line-height: 1.7;
  text-transform: uppercase;
}
.agent-info .agent-position-card {
  font-size: 14px;
  font-family: Medium;
  line-height: 1.4;
}
.agent-info .agent-card-btn {
  margin-top: 24px;
}

.agent-bg-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: 0;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  background: linear-gradient(180deg, rgba(33, 37, 48, 0) 0%, #212530 100%);
}

.team-slide {
  position: relative;
  overflow: hidden;
}
.team-slide:hover .agent-phone {
  opacity: 1;
}
.team-slide:hover .agent-info {
  margin-bottom: 0;
}
.team-slide:hover .agent-card-btn {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .people-slider {
    padding: 0 16px;
  }
  .latest-head {
    margin-bottom: 24px;
  }
  .team-navs {
    display: none;
  }
  .team-swiper {
    margin-bottom: 24px;
  }
  .team-img {
    aspect-ratio: 298/340;
  }
  .team-img img {
    object-position: top;
  }
  .team-slide .agent-phone {
    opacity: 1;
  }
  .team-slide .agent-info {
    margin-bottom: 0;
  }
  .team-slide .agent-card-btn {
    margin-top: 16px;
  }
}
.featured {
  margin: 120px auto;
}

.featured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.featured-navs {
  position: relative;
  width: 88px;
  height: 40px;
  display: flex;
  gap: 8px;
}

.swiper-featured {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #E9E9EA;
  border-radius: 6px;
  transition: ease 0.3s;
}
.swiper-featured svg {
  transition: ease 0.3s;
  width: 14px;
  height: 12px;
  fill: #212530;
}
.swiper-featured:hover {
  cursor: pointer;
  background-color: #1582E7;
  border: 1px solid #1582E7;
}
.swiper-featured:hover svg {
  fill: white;
}

.swiper-featured-prev svg {
  transform: rotate(-180deg);
}

.featured-swiper {
  min-height: 300px;
  overflow: unset;
  margin-bottom: 48px;
}

.featured-slide .featured-img {
  display: flex;
  width: 100%;
  aspect-ratio: 392/260;
  border-radius: 8px;
  overflow: hidden;
}
.featured-slide .featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-price {
  font-size: 32px;
  font-family: Semi;
  line-height: 1.2;
  margin: 20px 0 8px;
}

.featured-address {
  font-family: Medium;
  color: #4D5159;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-tags {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}

.featured-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #E9E9EA;
  border-radius: 4px;
  padding: 4px 6px;
  color: #7A7C83;
  line-height: 1;
  font-size: 14px;
  font-family: Medium;
}
.featured-tag svg {
  width: 13px;
  height: 13px;
  fill: #BCBEC1;
}

@media (max-width: 768px) {
  .featured {
    margin: 48px auto;
  }
  .featured-top {
    margin-bottom: 24px;
  }
  .featured-navs {
    display: none;
  }
  .featured-price {
    margin: 12px 0 6px;
    line-height: 1.5;
    font-size: 16px;
  }
  .featured-address {
    font-size: 14px;
  }
  .featured-swiper {
    margin-bottom: 24px;
  }
}
.testimonials-slider {
  width: 100%;
  margin-bottom: 120px;
  text-align: center;
}

.testim-title {
  margin-bottom: 48px;
  color: #7A7C83;
}

.testim-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.swiper-testim-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #E9E9EA;
  border-radius: 6px;
  transition: ease 0.3s;
}
.swiper-testim-btn svg {
  transition: ease 0.3s;
  width: 14px;
  height: 12px;
  fill: #212530;
}
.swiper-testim-btn:hover {
  cursor: pointer;
  background-color: #1582E7;
  border: 1px solid #1582E7;
}
.swiper-testim-btn:hover svg {
  fill: white;
}

.testim-swiper {
  width: 768px;
  margin: 0 auto;
}

.testim-slide {
  width: 768px;
}

.testim-human {
  margin-top: 32px;
}

.testi-img {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px auto;
  border-radius: 50px;
  display: flex;
  overflow: hidden;
}
.testi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testim-position {
  color: #7A7C83;
}

.swiper-testim-pagination {
  margin: 48px auto 0 auto;
  transform: none !important;
}

.swiper-pagination-bullet {
  opacity: 1;
  background: #E9E9EA;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #373B45;
}

@media (max-width: 768px) {
  .testimonials-slider {
    margin-bottom: 48px;
  }
  .testim-title {
    margin-bottom: 24px;
    color: #212530;
    font-size: 24px;
    line-height: 1.3;
    font-family: Semi;
    text-align: left;
  }
  .testim-slide {
    padding: 20px 16px;
    border: 1px solid #E9E9EA;
    border-radius: 8px;
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }
  .testim-human {
    margin-top: 0;
  }
  .testi-img {
    margin: 0 auto 8px auto;
  }
  .testim-quote {
    font-size: 16px;
    font-family: Medium;
    line-height: 1.5;
    color: #373B45;
  }
  .swiper-testim-pagination, .swiper-testim-btn {
    display: none;
  }
}