/* Download-banner documents use the complete first page of the real catalogue. */
.application-banner.banner-complete .resource-banner-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  width: 100%;
  height: 218px;
  margin: 0;
  padding: 5px 8px;
  overflow: visible;
  background: transparent;
}

.resource-banner-visual .catalogue-book {
  position: relative;
  flex: 0 1 300px;
  min-width: 0;
  max-width: 300px;
  margin: 0;
  border: 1px solid #ffffffd9;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 7px 20px #244b3524;
}

.application-banner.banner-complete .resource-banner-visual .catalogue-book img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1;
  filter: none;
  clip-path: none;
  mask-image: none;
  mix-blend-mode: normal;
}

.resource-banner-visual .resource-pdf-note {
  display: flex;
  flex: 0 0 134px;
  flex-direction: column;
  justify-content: center;
  width: 134px;
  min-height: 166px;
  padding: 20px 17px;
  border: 1px solid #dfe7de;
  border-radius: 2px;
  background: #fff;
  color: #2c4d37;
  box-shadow: 0 5px 16px #244b3510;
}

.resource-pdf-note .pdf-file-label {
  margin-bottom: 17px;
  color: #317654;
  font-family: Jost, Arial, sans-serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
}

.resource-pdf-note strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.resource-pdf-note small {
  display: block;
  margin-top: 3px;
  color: #7b897e;
  font-size: 12px;
  line-height: 1.5;
}

.resource-pdf-note .pdf-page-count {
  margin-top: 12px;
  font-size: 12px;
  color: #859086;
}

@media (min-width: 701px) and (max-width: 1050px) {
  .application-banner.banner-complete .resource-banner-visual {
    height: 200px;
  }

  .resource-banner-visual .catalogue-book {
    flex-basis: 270px;
    max-width: 270px;
  }
}

@media (max-width: 700px) {
  .application-banner.banner-complete .resource-banner-visual {
    justify-content: center;
    gap: 14px;
    height: auto;
    min-height: 164px;
    padding: 5px 0;
  }

  .resource-banner-visual .catalogue-book {
    flex-basis: 240px;
    max-width: 240px;
  }

  .resource-banner-visual .resource-pdf-note {
    flex-basis: 112px;
    width: 112px;
    min-height: 150px;
    padding: 17px 12px;
  }

  .resource-pdf-note .pdf-file-label {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .resource-pdf-note strong {
    font-size: 15px;
  }
}
