/* best-rv-water-filter: page components the shared shell does not carry
   (decision table, hookup steps, detail media, checker output, small text
   classes). Carried from the Nov 6 build's page sheet, trimmed to what
   this page uses. No hero or shell rules here. */

.type-media img,
.pick-media img {
  object-fit: contain;
  background: var(--mist);
}

.price-disclaimer {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 8px;
}

.card-tradeoff {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.cell-source {
  font-weight: 700;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.decision {
  width: 100%;
  border-collapse: collapse;
}

.decision th,
.decision td {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}

.decision th {
  font-weight: 700;
}

.hookup {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
  max-width: 560px;
}

.hookup li {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  min-height: 48px;
  padding: 8px 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}

.hookup li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: -8px;
  width: 2px;
  background: #143c48;
}

.hookup .pin {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #176b70;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.hookup .pin-filter {
  background: #d8b45d;
  color: #143c48;
}

.detail {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  margin: 0 0 28px;
}

.detail-media {
  grid-row: 1 / span 6;
  width: 180px;
}

.detail-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--mist);
  border-radius: var(--radius-s);
}

@media (max-width: 760px) {
  .detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-media {
    grid-row: auto;
    width: min(220px, 100%);
    margin-bottom: 12px;
  }
}

.checker-lines {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.checker-lines li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.fit-check-limit {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 65ch;
}

.finder-limit {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.faq-list h3 {
  margin-top: 28px;
}

.faq-list h3:first-child {
  margin-top: 0;
}

@media (max-width: 760px) {
  .decision thead {
    display: none;
  }

  .decision,
  .decision tbody,
  .decision tr,
  .decision th,
  .decision td {
    display: block;
    width: 100%;
    white-space: normal;
  }
}
