.dpsg-guides {
  margin: 64px 3.33vw 72px;
  color: #fff;
}

.dpsg-guides__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dpsg-guides h2.dpsg-guides__title {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.dpsg-guides a.dpsg-guides__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1ab11;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.dpsg-guides a.dpsg-guides__all:hover,
.dpsg-guides a.dpsg-guides__all:focus {
  color: #f1ab11;
  text-decoration: none;
}

.dpsg-guides .dpsg-guides__all-short {
  display: none;
}

.dpsg-guides__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dpsg-guides a.dpsg-guides__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.dpsg-guides a.dpsg-guides__card:hover,
.dpsg-guides a.dpsg-guides__card:focus {
  color: #fff;
  text-decoration: none;
}

.dpsg-guides__visual {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #14144a;
  border-radius: 16px;
}

.dpsg-guides a.dpsg-guides__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dpsg-guides__badge.is-empty {
  visibility: hidden;
}

.dpsg-guides__badge {
  align-self: flex-start;
  padding: 4px 10px;
  color: #000024;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  background: #f1ab11;
  border-radius: 999px;
}

.dpsg-guides h3.dpsg-guides__name {
  margin: 0;
  color: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 991.98px) {
  .dpsg-guides {
    margin: 40px 0 48px;
  }

  .dpsg-guides__head {
    gap: 12px;
    margin: 0 16px 16px;
  }

  .dpsg-guides h2.dpsg-guides__title {
    font-size: 22px;
  }

  .dpsg-guides .dpsg-guides__all-long {
    display: none;
  }

  .dpsg-guides .dpsg-guides__all-short {
    display: inline;
  }

  .dpsg-guides a.dpsg-guides__all {
    font-size: 13px;
  }

  .dpsg-guides__list {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0 16px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    scrollbar-width: none;
  }

  .dpsg-guides__list::-webkit-scrollbar {
    display: none;
  }

  .dpsg-guides a.dpsg-guides__card {
    flex: none;
    width: 250px;
    gap: 10px;
    scroll-snap-align: start;
  }

  .dpsg-guides__visual {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }

  .dpsg-guides__badge {
    padding: 3px 9px;
    font-size: 10px;
  }

  .dpsg-guides__name {
    font-size: 16px;
  }
}
