﻿.medal-test-rows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  gap: 3.5rem;
  margin-bottom: 5rem;
}

.medal-test-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.medal-test-row > div {
  display: flex;
  flex-direction: column;
  gap: 2rem !important;
}

.medal-test-row:first-child {
  margin-top: 5rem;
}

.medal-test-row-image {
  margin-bottom: 1rem;
  height: 264px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.medal-test-row-image img {
  height: 100%;
  width: 100%;
  margin: auto;
}

.medal-test-row-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.medal-test-row-content a {
  color: #da1e28;
}

.medal-test-row-content div {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.medal-test-row-content h2 {
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
}

.medal-test-row-content h3 {
  color: var(--color-gray-500, #667085);
  text-align: left;
  align-self: flex-start;
  width: 100%;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}

.medal-test-row-content p {
  font-size: 18px;
  font-style: normal;
  /* font-weight: 500; */
  line-height: 28px;
}

.medal-test-subrow-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.medal-test-subrow-item {
  display: flex;
  gap: 1rem;
}

.medal-test-subrow-article {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.medal-test-subrow-article h6 {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}

.medal-test-subrow-article p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

@media (min-width: 768px) {
  .medal-test-rows {
    gap: 6rem;
  }

  .medal-test-row {
    flex-direction: row;
    justify-content: center;
    align-items: start;
    padding: 0 1rem;
    max-width: 704px;
  }

  .medal-test-row:first-child>div {
    display: flex;
    flex-direction: row;
    align-items: start;
  }

  .medal-test-row:first-child {
    margin-top: 4rem;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
  }

  .medal-test-row-image {
    max-width: 75%;
    max-height: 264px;
  }

  .medal-test-row-content {
    display: flex;
    justify-content: end;
    width: 100%;
    padding: 1.5rem 0 1.5rem 1.5rem;
  }

  .medal-test-row.sub:nth-of-type(odd) {
    flex-direction: row-reverse;
  }

  .medal-test-subrow-items {
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
  }

  .medal-test-subrow-item {
    max-width: 384px;
  }
}

@media (min-width: 992px) {
  .medal-test-rows {
    gap: 9.5rem;
  }

  .medal-test-subrow-items,
  .medal-test-row {
    max-width: 1216px;
  }

  .medal-test-row-image {
    max-height: 360px;
  }

  .medal-test-row-content {
    /* max-width: 592px; */
    padding: 2rem 3rem 2rem 2rem;
  }
}
