.formats-wrap {
  background: var(--editorial-bg);
  color: var(--bg);
  padding-top: 108px;
  padding-bottom: 132px;
}

.formats-wrap .muted {
  color: #b8b8b8;
}

.formats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 76px;
}

.formats-head h2 {
  max-width: 14ch;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -0.028em;
}

.formats.cards {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.formats .format {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, #333333 76%, transparent);
  border-radius: var(--radius);
  padding: 30px 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-enter) var(--ease-out), background var(--duration-enter) var(--ease-out), transform var(--duration-enter) var(--ease-out);
}

.formats .format:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.formats .format h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 550;
  margin: 0 0 12px;
  color: var(--bg);
}

.formats .format p {
  margin: 0;
  color: #b8b8b8;
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}

.formats-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

@media (max-width: 1000px) {
  .formats .format {
    min-height: 180px;
  }
}

@media (max-width: 760px) {
  .formats-wrap {
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .formats.cards {
    grid-template-columns: 1fr;
  }

  .formats .format {
    border-bottom: 1px solid #333333;
    min-height: auto;
  }

  .formats-head {
    align-items: stretch;
    flex-direction: column;
  }

  .formats-actions .cta {
    width: 100%;
  }
}
