
@media screen and (min-width: 640px) {
  .lab-reports-banner.bc-image-banner.bc-image-banner--small .par-block-heading { max-width: 600px; }
}
.lab-reports-banner .views-exposed-form .form-item-name label { line-height: 22px; }
.lab-reports-banner .views-exposed-form .form-item-name input { border-radius: 26px; }
.lab-reports-banner .views-exposed-form .form-actions { left: calc(100% - 61px); top: 3px; }
.lab-reports-banner .views-exposed-form .form-submit {
  background-color: var(--lab-reports-search-background);
  border-color: var(--lab-reports-search-border-color);
  border-radius: 50%;
  background-image: var(--lab-reports-search-image) !important;
  background-repeat: no-repeat;
  background-size: 60%;
  height: 40px;
  width: 40px;
  transition: background-color .3s ease-in-out;
}
.lab-reports-banner .views-exposed-form .form-submit:hover { background-color: var(--lab-reports-search-hover-background); }
.peptide-lab-reports { max-width: 1320px; padding: 0 16px; margin: 0 auto 80px; }
.peptide-lab-reports .views-header { margin-bottom: 20px; }
.peptide-lab-reports .search-results {
  color: var(--lab-reports-results-color);
  font-size: 13px;
  font-weight: var(--lab-reports-results-weight);
  letter-spacing: .04em;
  line-height: 1.4;
  text-transform: uppercase;
}
.peptide-lab-reports .views-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.peptide-lab-reports .views-row { min-width: 0; }
.peptide-lab-reports .views-no-result { max-width: 710px; margin: 0 auto 120px; }
.coa-card {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--coa-border-color);
  border-radius: 14px;
  background: var(--coa-background);
  box-shadow: var(--coa-shadow);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.coa-card:hover, .coa-card:focus-within {
  border-color: var(--color-secondary);
  box-shadow: var(--coa-hover-shadow);
  transform: translateY(-3px);
}
.coa-card:hover .coa-card__preview img, .coa-card:focus-within .coa-card__preview img { transform: scale(1.025); }
.coa-card__preview {
  position: relative;
  display: flex;
  overflow: hidden;
  aspect-ratio: 27 / 35;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--coa-preview-border-color);
  background: var(--coa-preview-background);
}
.coa-card__preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.coa-card__badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border: 1px solid var(--coa-badge-border-color);
  border-radius: 999px;
  background: var(--coa-badge-background);
  color: var(--color-secondary);
  font-size: 10px;
  font-weight: var(--coa-semibold-weight);
  letter-spacing: .12em;
  line-height: 1;
}
.coa-card__body { display: flex; min-height: 142px; flex: 1; flex-direction: column; padding: 18px; }
.coa-card__eyebrow {
  margin-bottom: 7px;
  color: var(--coa-muted-color);
  font-size: 10px;
  font-weight: var(--coa-medium-weight);
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.coa-card__title {
  margin: 0 0 18px;
  color: var(--coa-title-color);
  font-size: 18px;
  font-weight: var(--coa-semibold-weight);
  line-height: 1.3;
}
.coa-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; }
.coa-card__batch { overflow: hidden; color: var(--coa-muted-color); font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.coa-card__link { flex: 0 0 auto; margin-left: auto; }
.coa-card__link a { color: var(--color-secondary); font-size: 0; font-weight: var(--coa-medium-weight); line-height: 1.4; text-decoration: none; }
.coa-card__link a::before { content: 'View COA ↗'; font-size: 12px; }
/* Make the whole card clickable while retaining one semantic link. */
.coa-card__link a::after { position: absolute; content: ''; inset: 0; }

@media (max-width: 1025.98px) {
  .lab-reports-banner .views-exposed-form { margin-left: auto; margin-right: auto; }
  .coa-card__body { min-height: 0; padding: 12px; }
  .coa-card__title { font-size: 13px; margin-bottom: 5px; }
  .coa-card__eyebrow { font-size: 8px; letter-spacing: .04em; }
  .coa-card__link a::before { font-size: 9px; }
  .coa-card__badge { top: 8px; left: 8px; padding: 4px 7px; }
}
@media (max-width: 742.98px) {
  .lab-reports-banner .views-exposed-form .form-item-name input { height: 48px; }
}
@media (min-width: 743px) {
  .lab-reports-banner .views-exposed-form .form-item-name label { line-height: 25px; }
  .lab-reports-banner .views-exposed-form .form-item-name input { height: 52px; }
  .lab-reports-banner .views-exposed-form .form-actions { left: calc(100% - 65px); }
  .peptide-lab-reports { padding: 0 24px; }
  .peptide-lab-reports .views-rows { gap: 20px; }
}
@media (min-width: 926px) {
  .peptide-lab-reports .views-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1440px) {
  .peptide-lab-reports .views-rows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
