.achievement {
  display: flex;
  flex-direction: column;
  max-width: 820px;
}

.achievement-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.achievement-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.achievement-card {
  display: flex;
  flex-direction: column;
  width: 264px;
  border-radius: 16px;
  border: 1px solid var(--divider-low);
  background-color: var(--white);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: opacity 500ms ease-out;
}

.achievement-card:hover,
.achievement-card:focus-visible {
  opacity: 0.5;
}

.achievement-card-media {
  flex-shrink: 0;
  width: 100%;
  height: 143px;
  overflow: hidden;
}

.achievement-card-image {
  display: block;
  width: 100%;
  height: 100%;
  margin-top: 0;
  object-fit: cover;
  object-position: center;
}

.achievement-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 17px;
}

.achievement-card-title {
  display: -webkit-box;
  margin: 0;
  font-size: var(--fs-s);
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--text-icon-high);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.achievement-card-info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.achievement-card-icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.achievement-card-company {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--text-icon-low);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.achievement-card-category {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--primary-main);
}

.achievement .c-pagination {
  margin-top: 48px;
}

.achievement > .c-contact {
  margin-top: 72px;
  
  @media (max-width: 767px) {
    margin-top: 60px;
  }
}

.achievement {
  @media (max-width: 767px) {
    max-width: 100%;
    margin: 0 auto;
  }
}

.achievement-rows {
  @media (max-width: 767px) {
    gap: 24px;
  }
}

.achievement-row,
.achievement-row.is-short {
  @media (max-width: 767px) {
    flex-direction: column;
    gap: 24px;
    height: auto;
  }
}

.achievement-card,
.achievement-card.is-short {
  @media (max-width: 767px) {
    width: 100%;
    height: auto;
  }
}

.achievement-card-media {
  @media (max-width: 767px) {
    height: 187px;
  }
}

.achievement-card-image {
  @media (max-width: 767px) {
    width: 100%;
    height: 100%;
    margin-top: 0;
  }
}
