#tab-download .product-documents-title {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

#tab-download .product-documents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding-bottom: 20px;
}

#tab-download .product-document {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #dedede;
  background: #fff;
}

#tab-download .product-document__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 180px;
  padding: 10px;
  overflow: hidden;
  background: #f6f7f8;
  border-bottom: 1px solid #e8e8e8;
}

#tab-download .product-document__visual:hover,
#tab-download .product-document__visual:focus {
  background: #eff5fb;
}

#tab-download .product-document__canvas {
  display: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .16);
}

#tab-download .product-document__visual.is-rendered .product-document__canvas {
  display: block;
}

#tab-download .product-document__visual.is-rendered .product-document__placeholder {
  display: none;
}

#tab-download .product-document__placeholder {
  color: #888;
  font-size: 48px;
  line-height: 1;
}

#tab-download .product-document__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
}

#tab-download .product-document__name {
  overflow-wrap: anywhere;
  color: #333;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: underline;
}

#tab-download .product-document__name:hover,
#tab-download .product-document__name:focus {
  color: #28559d;
}

#tab-download .product-document__description {
  margin-top: 8px;
  color: #444;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#tab-download .product-document__meta {
  margin: 8px 0 12px;
  color: #777;
  font-size: 12px;
}

#tab-download .product-document__download {
  align-self: flex-start;
  margin-top: auto;
  color: #28559d;
  font-size: 13px;
  font-weight: 600;
}

#tab-download .product-document__download:hover,
#tab-download .product-document__download:focus {
  color: #163a75;
  text-decoration: underline;
}

@media (max-width: 575px) {
  #tab-download .product-documents {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #tab-download .product-document {
    flex-direction: column;
  }

  #tab-download .product-document__visual {
    flex: 0 0 180px;
    width: 100%;
    height: 180px;
    border-bottom: 1px solid #e8e8e8;
  }

  #tab-download .product-document__body {
    padding-right: 56px;
  }
}
