/* applications.css — shared layout for the eleven pages in the Applications menu
 *
 * Those pages were written at different times and looked it. The skeleton was
 * actually the same everywhere (hero, h1, product grid, FAQ, breadcrumb,
 * Quick Links footer); what differed was the layout underneath:
 *
 *   - base.css gives .product-img a fixed 200px height but sets the image to
 *     object-fit:contain with no background, so a 1440x1080 photo filled the
 *     tile while a 450x689 one showed as a narrow strip. Same grid, different
 *     look on every page.
 *   - .product-card had no flex column, so cards in a row ended at different
 *     heights and the View Details buttons sat at different baselines.
 *   - .product-content carried 5px of padding, so text ran into the edges.
 *   - base.css centres every table cell, which reads badly for sentences.
 *
 * object-fit stays "contain": cover crops, and on the tall shots (the fume
 * hood station at 450x689, for one) it cut the machine down to an
 * unrecognisable middle slice. A uniform tile with a light background gives
 * the same tidiness without losing any of the picture.
 *
 * Loaded after base.css and before any page-specific block, so a page can
 * still override it.
 */

/* ---------------------------------------------------------- product cards */
.product-grid .product-img {
  height: 210px;
  background: #f5f8fb;
  border-bottom: 1px solid #e6ebf2;
  padding: 10px;
  box-sizing: border-box;
}
.product-grid .product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
}
.product-grid .product-card {
  display: flex;
  flex-direction: column;
}
.product-grid .product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 15px 16px;
}
.product-grid .product-content h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 0 0 8px;
}
.product-grid .product-specs {
  font-size: .82rem;
  line-height: 1.6;
  color: #45566a;
  margin: 0 0 10px;
}
.product-grid .product-specs li {
  margin-bottom: 3px;
  padding-left: 0;
}
.product-grid .product-content p {
  font-size: .88rem;
  line-height: 1.6;
  color: #45566a;
  margin: 0 0 14px;
}
/* the button leaves the text flow and sits on the floor of every card, so a
   row of cards ends on one line however long the copy is */
.product-grid .product-content .cta-button {
  margin-top: auto;
  align-self: flex-start;
}

/* ----------------------------------------------------------- step badges */
/* used where a card is one step of a documented process line */
.product-grid .step-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 7px;
  padding: 3px 9px;
  border-radius: 3px;
  background: #0e2a47;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}
.product-grid .step-badge.opt {
  background: #eef3f8;
  color: #6b7c90;
}

/* ---------------------------------------------------------------- tables */
/* base.css centres th and td; sentences read badly centred, and specification
   values line up better on the left */
.app-page table th,
.app-page table td {
  text-align: left;
  padding: 8px 10px;
  vertical-align: top;
  line-height: 1.55;
}
.app-page table th {
  background: #f2f6fa;
  color: #0e2a47;
  font-weight: 600;
}
.app-page table {
  border-collapse: collapse;
  margin: 14px 0 22px;
  font-size: .9rem;
}
.app-page table th,
.app-page table td {
  border: 1px solid #dbe3ec;
}

/* ------------------------------------------------------ section rhythm */
.app-page h2 {
  margin-top: 42px;
  margin-bottom: 12px;
}
.app-page h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}
.app-page .product-grid + h2 {
  margin-top: 48px;
}

@media (max-width: 640px) {
  .product-grid .product-img { height: 185px; }
  .app-page h2 { margin-top: 32px; }
}
