.profile-wrapper {
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
}
.profile-card-container {
  width: 100%;
  display: block;
  max-height: 650px;
  margin-bottom: 20px;
}

.profile-card-container .card-btn:hover {
  background: #d5e3f0;
}

.profile-card-container .card-btn {
  padding: 11px 9px 5px;
  transition: all 0.2s linear;
  border: 1px var(--e-global-color-primary) solid;
}
.profile-card-container .card-btn img {
  width: 20px;
}
.profile-card-container .profile-image-wrapper {
  margin: 0;
  height: auto;
  display: flex;
  max-height: 400px;
  margin-left: 15px;
  margin-bottom: -50px;
}

.profile-card-container .profile-image-wrapper img {
  width: 100%;
  object-fit: cover;
}

.profile-card-container .profile-content-wrapper {
  margin: 0;
  display: flex;
  height: 160px;
  max-height: 180px;
  margin-right: 15px;
  position: relative;
  flex-direction: column;
  background-color: white;
  padding: 20px 20px 25px 20px;
  justify-content: space-between;
  border-top: 1px var(--e-global-color-primary) solid;
  border-left: 1px var(--e-global-color-primary) solid;
  border-right: 1px var(--e-global-color-primary) solid;
  border-bottom: 1px var(--e-global-color-primary) solid;
}

.profile-card-container .profile-details-wrapper {
  display: flex;
  align-items: center;
  justify-content: end;
}

.profile-card-container .profile-content-wrapper .profile-title-wrapper {
  display: flex;
  flex-direction: column;
}

.profile-card-container
  .profile-content-wrapper
  .profile-title-wrapper
  .profile-title,
.profile-card-container
  .profile-content-wrapper
  .profile-title-wrapper
  .profile-designation {
  margin: 0px;
}

.profile-card-container .profile-content-wrapper .profile-title {
  line-height: 28px;
  margin-bottom: 5px !important;
}

.profile-card-container
  .profile-content-wrapper
  .profile-title-wrapper
  .profile-designation {
  font-size: 16px;
  line-height: 20px;
  font-family: 'DM Sans', sans-serif;
}

.profile-card-container .profile-details-wrapper .profile-details .publish-date,
.profile-details .category {
  color: var(--e-global-color-primary);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 20px;
  letter-spacing: 0;
  font-weight: normal;
  font-family: 'DM Sans', sans-serif;
}
.profile-card-container
  .profile-details-wrapper
  .profile-details
  .publish-date {
  color: var(--e-global-color-c690df6);
}

/* CSS styles for mobile landscape screens only */
@media (orientation: landscape) and (max-height: 450px) {
  .profile-card-container {
    width: 49%;
    margin-bottom: 20px;
  }
} /* landscape */

@media (min-width: 767px) {
  .profile-card-container {
    width: 32%;
    margin-bottom: 30px;
  }
}
@media (min-width: 880px) {
  .profile-card-container {
    width: 32%;
  }
}
@media (min-width: 1024px) {
  .profile-card-container {
    width: 32.5%;
  }
}
@media (min-width: 1366px) {
  .profile-card-container {
    width: 24.2%;
    margin-bottom: 30px;
  }
  .profile-card-container .profile-content-wrapper {
    padding: 16px 16px 25px 16px;
  }
}
@media (min-width: 1700px) {
  .profile-card-container .profile-content-wrapper {
    padding: 20px 20px 25px 20px;
  }
}
