/* Pair pages only: the text under the tool.
   Everything shared lives in shared/site.css. */

/* The comparison in words, under the tool: a rule, then the lead beside the
   questions that are this pair's own. Static markup, so it stands without a
   script. */
.pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  margin-top: 56px;
  padding-top: 24px;
  font-size: 18px;
  line-height: 1.55;
}
.pair::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule); }
.pair-lead { grid-column: 1 / span 6; max-width: 34em; }
.pair-sections { grid-column: 7 / -1; max-width: 34em; }
.pair p { margin: 0 0 12px; }
.pair p:last-child { margin-bottom: 0; }
.pair h2 { margin: 0 0 4px; font-size: var(--t-section); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.pair-section + .pair-section { margin-top: 32px; }

@media (max-width: 999px) {
  .pair-lead, .pair-sections { grid-column: 1 / -1; }
  .pair-sections { margin-top: 40px; }
}
@media (max-width: 700px) {
  .pair { margin-top: 40px; font-size: 17px; }
  .pair h2 { font-size: 22px; }
}
