.wsu-ranking {
  background: #ffffff;
  padding: 80px 0;
}

.wsu-ranking__inner {
  width: min(1280px, calc(100% - 120px));
  max-width: 1200px;
  margin: 0 auto;
}

.wsu-ranking__heading {
  margin-bottom: 24px;
}

.wsu-ranking__title {
  margin: 0;
  color: #000000;
  font-family: "WSUGothamNarrow", "Barlow", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
}

.wsu-ranking__subtitle {
  margin: 4px 0 0;
  color: #990033;
  font-family: "WSUGothamNarrow", "Barlow", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
}

.wsu-ranking__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 74px;
  flex-wrap: wrap;
  align-items: start;
  margin-bottom: 24px;
}

.wsu-ranking__item {
  width: 140px;
  flex: 0 0 140px;
}

.wsu-ranking__item img {
  display: block;
  width: 100%;
  height: auto;
}

.wsu-ranking__button {
  display: table;
  margin: 0 auto;
  min-height: 44px;
  padding: 12px 21px;
  background: #ff5c5e;
  color: #ffffff;
  font-family: "WSUGothamNarrow", "Barlow", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wsu-ranking__button:hover {
  background: #000000;
  color: #ffffff;
  opacity: 0.92;
}

@media (max-width: 991px) {
  .wsu-ranking {
    padding: 64px 0;
  }

  .wsu-ranking__inner {
    width: calc(100% - 48px);
  }

  .wsu-ranking__title {
    font-size: 28px;
    line-height: 36px;
  }

  .wsu-ranking__subtitle {
    font-size: 28px;
    line-height: 36px;
  }

  .wsu-ranking__grid {
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .wsu-ranking {
    padding: 40px 0;
  }

  .wsu-ranking__inner {
    width: calc(100% - 48px);
  }

  .wsu-ranking__heading {
    margin-bottom: 24px;
  }

  .wsu-ranking__title {
    font-size: 28px;
    line-height: 34px;
  }

  .wsu-ranking__subtitle {
    margin-top: 0;
    font-size: 28px;
    line-height: 34px;
  }

  .wsu-ranking__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
  }

  .wsu-ranking__item {
    width: 100%;
    max-width: none;
    flex: initial;
  }

  .wsu-ranking__item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, calc((100% - 24px) / 2));
  }

  .wsu-ranking__button {
    min-width: 183px;
    padding: 14px 20px;
  }
}

@media (max-width: 389px) {
  .wsu-ranking__inner {
    width: calc(100% - 24px);
  }

  .wsu-ranking__title,
  .wsu-ranking__subtitle {
    font-size: 24px;
    line-height: 30px;
  }

  .wsu-ranking__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .wsu-ranking__button {
    min-width: 0;
    width: auto;
  }
}
