.a-itm{
  cursor: pointer;
}
.a-bx{
  position: relative;
  width: 100%;
  height: 90%;
  background: white;
  box-sizing: border-box;
  padding: 1em;
}
@media only screen and (min-width: 500px) {
  .a-bx{
    width: 500px;
  }  
  }
#about-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/images/about/4f4120d006a5cbf4b35ff2f21633aa11.webp");
  height: max(30vh, 30vw);
  max-height: 60vh;
  padding: 20px 0;
}
#about-hero .grid {
  text-align: right;
  align-items: end;
}
/* ///////////////////// */
#welcome .flex {
  flex-direction: column;
  gap: 1.375rem;
}
#welcome .flex .h {
  max-width: 550px;
}
@media (min-width: 992px) {
  #welcome .flex {
    flex-direction: row;
    justify-content: space-between;
  }
}
#welcome .button {
  display: block;
  width: max-content;
  margin-top: 1rem;
}
/* ///////////////////// */
#agent .heading-2 {
  margin-bottom: 2rem;
}
#agent img {
  max-width: 300px;
  display: block;
  margin: 0 auto;
  margin-top: 1rem;
}

#reviews * {
  color: var(--text-tertiary);
}
#reviews .review-item {
  background: var(--color-primary);
  border-radius: 1rem;
  padding: 1.375rem;
  text-align: left;
}
#reviews .review-item p {
  font-size: 1rem;
}
.review-header {
  margin-bottom: 1rem;
}
.review-header .review-header-info h3 {
  font-size: 1.375rem;
}
.review-header .review-header-info i {
  font-size: 24px;
  color: #efcc00 !important;
}
.review-header .rate {
  display: flex;
  gap: 0.5rem;
}
.review-header .review-header-info span {
  font-size: 1.375rem;
}
.review-header {
  align-item: center;
  gap: 1rem;
}
.img-review-ctn {
  width: 70px;
  height: 70px;
  border-radius: 100%;
  overflow: hidden;
}
#contact .detail > * {
  margin-bottom: 1.125rem;
}
#contact .detail i {
  font-size: 2rem;
}
#contact .detail p {
  font-size: 1.375rem;
}
#hmh {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/images/lobster-2.jpg");
  height: 70vh;
}
#contact .flex {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
#contact .detail {
  width: 500px;
}
@media (min-width: 1024px) {
  #contact #form {
    width: 400px;
  }
}
#expertise * {
  color: var(--text-tertiary);
}
#expertise .section-head {
  margin-bottom: var(--section-space);
}
#expertise .flex {
  row-gap: 3rem;
  column-gap: 2rem;
  flex-wrap: wrap;
}

#expertise .expertise-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  #expertise .expertise-item {
    width: 46%;
  }
}
@media (min-width: 1200px) {
  #expertise .expertise-item:not(.reversed) {
    max-width: 315px;
  }
  #expertise .expertise-item.reversed {
    max-width: 445px;
  }
}
#expertise .expertise-item .expertise-img-ctn {
  width: 100%;
  height: 240px;
  background: red;
  border-radius: 25px;
  overflow: hidden;
}
#expertise .expertise-item .expertise-img-ctn.small {
  height: 210px;
}
#expertise .expertise-item .expertise-item-detail h3 {
  font-size: 30px;
}
#expertise .expertise-item .expertise-item-detail p {
  font-size: 1rem;
}
#expertise .expertise-item:not(.reversed) .expertise-item-detail {
  order: 2;
}
@media (min-width: 768px) {
  #expertise .expertise-item:not(.reversed) .expertise-item-detail {
    order: 1;
  }
  #expertise .expertise-item:not(.reversed) .expertise-img-ctn {
    order: 2;
  }
}

#hmh.section-bg-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/replacements/4d21c654f7c5feace1ab77b9785f4dec.jpg");
  height: 70vh;
}
.agent-img-ctn {
  width: 200px;
  height: 200px;
  border-radius: 100%;
  overflow: hidden;
  border: 4px solid var(--color-primary);
}
.textxmf {
  display: flex;
  flex-wrap: wrap;
  max-width: 700px;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
#agents .grid {
  justify-items: center;
  gap: 2rem;
}
.agent-img-ctn + span {
  display: block;
  margin-top: 1rem;
  font-size: 22px;
}
