/* Specialty Columns final overview. All rules are isolated to .specialty-page. */
.specialty-page .specialty-hero {
  padding-bottom: 30px;
}

.specialty-page .category-collection-hero-layout {
  min-height: 232px;
}

.specialty-page .category-collection-heading > p:last-child {
  max-width: 900px;
}

.specialty-page .category-collection-heading .specialty-hero-note {
  max-width: 820px;
  margin-top: 11px;
  color: #50708a;
  font-size: .94rem;
}

.specialty-page .specialty-science {
  min-height: 190px;
}

.specialty-page .specialty-science.has-photo {
  min-height: 190px;
}

.specialty-page .specialty-science .specialty-molecule {
  position: absolute;
  right: 26px;
  bottom: 16px;
  width: 142px;
  height: 104px;
  opacity: .24;
}

.specialty-page .specialty-catalogue {
  padding: 38px 0 62px;
  color: #10233f;
  background-color: #f6fafc;
  background-image:
    linear-gradient(rgba(11, 101, 130, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 101, 130, .032) 1px, transparent 1px);
  background-size: 48px 48px;
}

.specialty-page .specialty-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.specialty-page .specialty-section-heading .eyebrow {
  margin: 0 0 5px;
  color: #087f8c;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.specialty-page .specialty-section-heading h2 {
  margin: 0;
  color: #081d40;
  font-size: clamp(1.65rem, 2.7vw, 2.2rem);
  letter-spacing: -.025em;
}

.specialty-page .specialty-section-heading > p {
  flex: 0 0 auto;
  margin: 0 0 3px;
  color: #58718a;
  font-size: .9rem;
}

.specialty-page .specialty-section-heading strong {
  color: #087f8c;
}

.specialty-page .specialty-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.specialty-page .specialty-family-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 228px;
  flex-direction: column;
  padding: 21px;
  overflow: hidden;
  border: 1px solid #cbdfe7;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 18px rgba(9, 57, 79, .05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.specialty-page .specialty-family-card::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -30px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(37, 157, 171, .11);
  transform: rotate(30deg);
  pointer-events: none;
}

.specialty-page .specialty-family-card:hover {
  border-color: #79c3cd;
  box-shadow: 0 9px 22px rgba(9, 57, 79, .085);
  transform: translateY(-2px);
}

.specialty-page .specialty-card-index {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #27a9b3;
  color: #11808d;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.specialty-page .specialty-card-copy {
  position: relative;
  z-index: 1;
  flex: 1;
}

.specialty-page .specialty-card-copy h3 {
  max-width: 90%;
  margin: 0 0 9px;
  color: #092043;
  font-size: 1.12rem;
  line-height: 1.27;
  letter-spacing: -.012em;
}

.specialty-page .specialty-card-copy p {
  margin: 0 0 18px;
  color: #526b83;
  font-size: .9rem;
  line-height: 1.52;
}

.specialty-page .specialty-quote-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #087f86;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}

.specialty-page .specialty-quote-button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.specialty-page .specialty-quote-button:hover::after,
.specialty-page .specialty-quote-button:focus-visible::after {
  transform: scaleX(1);
}

.specialty-page .specialty-quote-button:focus-visible {
  outline: 2px solid #0b929a;
  outline-offset: 6px;
  border-radius: 2px;
}

.specialty-page .specialty-noscript {
  padding: 22px;
  border: 1px solid #cbdfe7;
  background: #fff;
  color: #526b83;
}

@media (max-width: 1020px) {
  .specialty-page .specialty-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .specialty-page .specialty-hero {
    padding-bottom: 22px;
  }

  .specialty-page .category-collection-hero-layout {
    display: block;
    min-height: 0;
  }

  .specialty-page .specialty-science {
    display: block;
    min-height: 178px;
    margin-top: 18px;
  }

  .specialty-page .specialty-section-heading {
    display: block;
  }

  .specialty-page .specialty-section-heading > p {
    margin-top: 8px;
  }

  .specialty-page .specialty-family-grid {
    grid-template-columns: 1fr;
  }

  .specialty-page .specialty-family-card {
    min-height: 208px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .specialty-page .specialty-family-card,
  .specialty-page .specialty-quote-button::after {
    transition: none;
  }
}
