.rankings {
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
  margin: 50px 0 110px;
  padding: 30px;
  background: #ffffff;
  border: 2px solid #ffa800;
  border-radius: 20px;
  box-shadow: 0 4px 16px #e6e6e9;
  text-align: left;
}
.rankings__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rankings__title {
  max-width: 32ch;
  margin: 0 !important;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 32px;
  color: #111111;
  text-wrap: pretty;
}
.rankings__description {
  margin: 0 !important;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #737373;
  text-wrap: pretty;
}
.rankings__link {
  color: #4285f4;
  text-decoration: none;
}
.rankings__link:hover, .rankings__link:focus {
  color: #ffa800;
  text-decoration: none;
}
.rankings__logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px 18px;
  overflow-x: hidden;
}
.rankings__logo {
  display: flex;
  align-items: center;
  min-height: 48px;
  transition: opacity 0.3s ease-in;
}
.rankings__logo:hover, .rankings__logo:focus {
  opacity: 0.8;
}
.rankings__image {
  display: block;
  width: calc(var(--logo-scale) * 51px);
  max-width: 100%;
  height: auto;
}
@media (min-width: 992px) {
  .rankings {
    gap: 52px;
    padding: 50px;
  }
  .rankings__title {
    font-size: 32px;
    line-height: 38px;
  }
  .rankings__description {
    max-width: 75ch;
    font-size: 18px;
    line-height: 25px;
  }
  .rankings__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    margin-right: 2px;
  }
  .rankings__image {
    width: calc(var(--logo-scale) * 57px);
  }
}
