.rep-sr-img-wrapper {
  width: 100%;
  overflow: hidden;
}

.rep-sr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.rep-sr-card {
  border-bottom: 1px solid #c4c4c4;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rep-sr-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rep-sr-title-number {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.02em;
  color: var(--primary-white);
  background-color: var(--primary-blue);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rep-sr-card-content-wrapper {
  display: flex;
  flex-direction: column; /* Default: Stacked layout for small screens */
  gap: 20px;
}

.rep-sr-card-content {
  flex: 3;
}

.rep-sr-card-content p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
}

.rep-sr-card-image-wrapper {
  flex: 2;
  width: 100%;
  overflow: hidden;
  max-height: 300px;
  border-radius: 10px;
}

.rep-sr-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

/* For larger screens (min-width: 992px) */
@media (min-width: 992px) {
  .rep-sr-card-content-wrapper {
    flex-direction: row; /* Side by side layout for larger screens */
    gap: 100px;
  }

  /* For even-indexed posts, reverse the order (image first) */
  .rep-sr-card-content-wrapper.even-layout {
    flex-direction: row-reverse; /* Image first for even posts */
  }
}
