.expert {
  margin: 40px 0;
}
.expert__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.expert__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.expert__heading {
  color: #000;
}
.expert__text {
  color: #000;
  font-family: Urbanist;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.expert__text p {
  margin: 0 0 16px;
}
.expert__text p:last-child {
  margin-bottom: 0;
}
.expert__image {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.expert__image img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
  background: #EDEDED;
}
.expert__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.expert__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid #B7B7B7;
  border-radius: 100px;
  color: #000;
  font-family: "IBM Plex Sans";
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

@media (min-width: 800px) {
  .expert__container {
    flex-direction: row;
    align-items: stretch;
    gap: 40px;
  }
  .expert__content {
    flex: 1 1 0;
    justify-content: space-between;
  }
  .expert__image {
    flex: 1 1 0;
  }
  .expert__tags {
    justify-content: flex-end;
  }
}
@media (min-width: 1040px) {
  .expert {
    margin: 90px 0;
  }
  .expert__container {
    gap: 80px;
  }
  .expert__content {
    flex: 1 1 45%;
  }
  .expert__image {
    flex: 1 1 55%;
  }
}
@media (min-width: 1240px) {
  .expert__container {
    gap: 120px;
  }
}