.download-layout {
  width: 100%;
  padding: 80px 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-downloads-container {
  display: flex;
  width: 100%;
  max-width: 1280px;
  flex-direction: column;
  gap: 64px;
}

.download-top {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  justify-content: center;
  padding-top: 176px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:
    linear-gradient(
      to bottom,
      rgba(26, 26, 26, 0.9) 0%,
      rgba(26, 26, 26, 0.2) 50%,
      rgba(26, 26, 26, 0.9) 100%
    ),
    url(../images/Images/HomePage/cta-contact-us-background-desktop.png);
}

.download-resource-section {
  width: 100%;
}

.downloads-divider {
  height: 1px;
  width: 100%;
  flex-shrink: 0;
  background-color: var(--neutral-18);
}

.download-section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin-bottom: 56px;
}

.download-section-heading {
  font-size: 40px;
  line-height: 40px;
  font-weight: var(--bold);
  color: var(--white);
}

.download-section-copy {
  font-size: 18px;
  line-height: 26px;
  color: var(--neutral-06);
  font-weight: var(--medium);
}

.download-card-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.download-card {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.download-card:is(:hover, :focus-within) {
  background-color: var(--brand-terracotta-02);
  border-color: var(--brand-terracotta-02);
}

.download-card-name {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--semiBold);
  color: var(--neutral-01);
}

.download-card-action {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.download-card-action img {
  width: 32px;
  height: 32px;
  filter: var(--filter-brand-02);
}

.download-card:is(:hover, :focus-visible) .download-card-action img {
  filter: var(--filter-white);
}

.download-card-action:is(:hover, :focus-visible, :focus-within) {
  cursor: pointer;
}

@media (max-width: 1380px) {
  .download-layout {
    padding-inline: 40px;
  }
}

@media (max-width: 1080px) {
  .download-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .download-layout {
    padding-top: 148px;
  }

  .download-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .download-layout {
    padding: 38px 20px 104px;
  }

  .download-resource-section + .download-resource-section {
    padding-top: 44px;
  }

  .main-downloads-container {
    gap: 48px;
  }
}

@media (max-width: 500px) {
  .download-layout {
    padding-inline: 16px;
  }

  .download-card-grid {
    grid-template-columns: 1fr;
  }

  .download-card-grid.catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-card-grid.catalog .download-card {
    padding: 0 16px;
  }

  .download-section-heading {
    font-size: 28px;
    line-height: 36px;
  }

  .download-section-header {
    margin-bottom: 40px;
  }

  .download-section-copy {
    font-size: 14px;
    line-height: 22px;
  }
}
