.fs03-downloads {
  --fs03-ink: #142338;
  --fs03-muted: #617087;
  --fs03-accent: #f0a126;
  --fs03-accent-dark: #c87500;
  --fs03-surface: #ffffff;
  --fs03-line: #e4eaf1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 3vw, 32px);
  color: var(--fs03-ink);
  font-family: inherit;
}

.fs03-downloads *,
.fs03-downloads *::before,
.fs03-downloads *::after {
  box-sizing: border-box;
}

.fs03-downloads__heading {
  max-width: 700px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.fs03-downloads__eyebrow {
  margin: 0 0 8px !important;
  color: var(--fs03-accent-dark) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .18em;
}

.fs03-downloads__heading h2 {
  margin: 0 0 10px;
  color: var(--fs03-ink);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.fs03-downloads__heading > p:last-child {
  margin: 0;
  color: var(--fs03-muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
}

.fs03-downloads__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

.fs03-file-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--fs03-line);
  border-radius: 18px;
  background: var(--fs03-surface);
  box-shadow: 0 12px 34px rgba(20, 35, 56, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.fs03-file-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 161, 38, .65);
  box-shadow: 0 18px 42px rgba(20, 35, 56, .14);
}

.fs03-file-card__preview {
  position: relative;
  display: grid;
  min-height: 190px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 80% 15%, rgba(240, 161, 38, .22), transparent 36%),
    linear-gradient(145deg, #f7f9fc, #edf2f7);
  color: #e2433f;
}

.fs03-file-card__preview--archive {
  color: #6c57b8;
}

.fs03-file-card__preview img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: contain;
  padding: 14px;
  background: #f7f9fc;
  transition: transform .3s ease;
}

.fs03-file-card:hover .fs03-file-card__preview img {
  transform: scale(1.035);
}

.fs03-file-icon {
  width: 92px;
  height: 92px;
}

.fs03-file-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(20, 35, 56, .9);
  box-shadow: 0 5px 14px rgba(20, 35, 56, .18);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
}

.fs03-file-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.fs03-file-card__body h3 {
  margin: 0 0 9px;
  color: var(--fs03-ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.28;
}

.fs03-file-card__body p {
  margin: 0 0 20px;
  color: var(--fs03-muted);
  font-size: 14px;
  line-height: 1.55;
}

.fs03-file-card__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 11px 16px;
  border: 2px solid var(--fs03-accent);
  border-radius: 11px;
  background: var(--fs03-accent);
  color: #1d2633 !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.fs03-file-card__button:hover {
  border-color: var(--fs03-accent-dark);
  background: var(--fs03-accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.fs03-file-card__button:focus-visible {
  outline: 3px solid rgba(20, 35, 56, .34);
  outline-offset: 3px;
}

.fs03-file-card__button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .fs03-downloads__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .fs03-downloads {
    padding-right: 12px;
    padding-left: 12px;
  }

  .fs03-downloads__grid {
    grid-template-columns: 1fr;
  }

  .fs03-file-card__preview {
    min-height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs03-file-card,
  .fs03-file-card__preview img,
  .fs03-file-card__button {
    transition: none;
  }
}
