.download-hero,
.download-listing {
  font-family: 'CustomFont', Arial, Helvetica, sans-serif;
}

.download-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #25324a url('../images/about/about-banner.png') center center / cover no-repeat;
  color: #ffffff;
}

.download-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 45, 69, 0.46);
}

.download-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.download-hero h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.15;
}

.download-hero__breadcrumb {
  min-height: 37px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.download-hero__breadcrumb a {
  transition: color 180ms ease;
}

.download-hero__breadcrumb a:hover,
.download-hero__breadcrumb a:focus-visible {
  color: #65b1ff;
}

.download-listing {
  min-height: 636px;
  padding: 60px 0;
  background: #ffffff url('../images/about/certificates-bg.png') center top / cover no-repeat;
}

.download-listing__inner {
  max-width: 1440px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 432px));
  justify-content: center;
  gap: 20px 43px;
}

.download-card {
  position: relative;
  height: 238px;
  padding: 37px 28px 40px;
  overflow: hidden;
  border-top: 3px solid #0567cc;
  background: #ffffff;
  box-shadow: 0 0 5px rgba(204, 204, 204, 0.12);
  text-align: center;
}

.download-card h3 {
  min-height: 32px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: #222222;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}

.download-card p {
  min-height: 22px;
  margin: 14px 0 29px;
  color: #9d9d9d;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.download-card__action {
  width: 298px;
  max-width: 100%;
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ededed;
  background: #ffffff;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.download-card__action img {
  width: 18px;
  height: 18px;
  display: block;
  transition: filter 180ms ease;
}

a.download-card__action:hover,
a.download-card__action:focus-visible {
  border-color: #0567cc;
  background: #0567cc;
}

a.download-card__action:hover img,
a.download-card__action:focus-visible img {
  filter: brightness(0) invert(1);
}

a.download-card__action:focus-visible {
  outline: 2px solid #0567cc;
  outline-offset: 3px;
}

.download-card__action.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.download-listing .site-pagination {
  margin-top: 40px;
}

.download-empty {
  min-height: 300px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777777;
  font-size: 16px;
  text-align: center;
}

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

@media (max-width: 991px) {
  .download-listing {
    min-height: 0;
    padding: 48px 0;
  }

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

  .download-card {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 767px) {
  .download-hero {
    height: 220px;
  }

  .download-hero h1 {
    font-size: 42px;
  }

  .download-listing {
    padding: 36px 0;
  }

  .download-grid {
    grid-template-columns: minmax(0, 432px);
    gap: 18px;
  }

  .download-card {
    height: auto;
    min-height: 226px;
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .download-card h3 {
    font-size: 20px;
  }

  .download-card p {
    margin-top: 10px;
    margin-bottom: 24px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .download-hero {
    height: 200px;
  }

  .download-hero h1 {
    font-size: 36px;
  }

  .download-hero__breadcrumb {
    min-height: 30px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .download-hero { height: 180px; }
  .download-hero__content { padding-top: 38px; }
  .download-hero h1 { font-size: 30px; line-height: 38px; }
  .download-listing { padding: 30px 0; }
  .download-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .download-card { min-height: 200px; padding: 28px 20px 30px; }
  .download-card h3 { font-size: 19px; line-height: 27px; }
}
