﻿.rhma-media-container {
  display: flex;
  padding: 80px 96px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 64px;
  align-self: stretch;
  background: linear-gradient(
      227deg,
      rgba(255, 255, 255, 1) 3.24%,
      rgba(255, 255, 255, 0) 32.26%,
      rgba(255, 255, 255, 0.81) 73.7%
    ),
    url("../Images/new-main-img/section-bg.png") lightgray 50% / cover no-repeat;
}
.rhma-media-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  align-self: stretch;
  flex-wrap: wrap;
  align-content: center;
}
.rhma-media-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
  gap: 32px;
  align-self: stretch;
}

.single-media-container {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 20px 20px;
  align-self: stretch;
  flex-wrap: wrap;
}
.media-image-wrapper a {
  display: flex;
  width: 260px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.media-image-wrapper a img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  aspect-ratio: 16 / 9;
}
.media-desc-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1 0 0;
}
.media-desc-wrapper p:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  color: #015888;
  font-family: "MavenPro-SemiBold";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
}
.media-desc-wrapper a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  color: #101828;
  font-family: "MavenPro-SemiBold";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}
.media-desc-wrapper p:last-child {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-self: stretch;
  overflow: hidden;
  color: #475467;
  text-overflow: ellipsis;
  font-family: "MavenPro-Regular";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
.load-more-btn-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.load-more-btn-box a {
  gap: 12px;
  color: #475467;
  font-family: "MavenPro-SemiBold";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}
@media only screen and (min-width: 2560px) {
  .rhma-media-container {
    padding: 3.125vw 13.125vw;
    gap: 2.5vw;
  }
  .rhma-media-wrapper {
    gap: 1.875vw;
  }
  .rhma-media-box {
    gap: 1.875vw;
  }
  .single-media-container {
    gap: 0.781vw 0.781vw;
  }
  .media-image-wrapper a {
    width: 10.156vw;
    gap: 0.625vw;
  }
  .media-desc-wrapper p:first-child {
    font-size: 0.547vw;
    line-height: 0.781vw;
  }
  .media-desc-wrapper a {
    font-size: 0.703vw;
    line-height: 1.094vw;
  }
  .media-desc-wrapper p:last-child {
    font-size: 0.625vw;
    line-height: 0.938vw;
  }
}
@media screen and (max-width: 1280px) {
  .single-media-container {
    flex-direction: column;
  }
  .media-image-wrapper a {
    width: 100%;
  }
  .rhma-media-box {
    width: 70%;
  }
  .media-desc-wrapper p:first-child {
    align-items: center;
  }
  .media-desc-wrapper a {
    align-items: center;
  }
  .media-desc-wrapper p:last-child {
    text-align: center;
  }
}
@media screen and (max-width: 542px) {
  .rhma-media-container {
    padding: 80px 32px;
  }
  .media-image-wrapper a {
    width: 100%;
  }
  .rhma-media-box {
    width: 100%;
  }
}
