/* Job Offer Comparison: the page's own styles. Shared rules stay in tools.css. */

/* The caption under the hero picture's overlap card. */
.t-stage .t-s-flip { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--text-mid); }

/* Phones: the offers stack, one under the other, so no offer sits behind a sideways swipe nobody sees. */
@media (max-width: 640px) {
  .t-offers.t-offers3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .t-offers3 > .t-offer { flex: none; scroll-snap-align: none; }
}

/* The result dock is fixed to the bottom of the screen on phones: keep the field being typed in view above it,
   and give its button a full touch target. */
@media (max-width: 899px) {
  .t-form input, .t-form select { scroll-margin-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  .t-dock .btn { min-height: 44px; display: inline-flex; align-items: center; }
}

/* The result's buttons: the practice link on its own line, the two copy buttons side by side at equal width. */
.read .cta-row + .cta-row .btn { flex: 1 1 0; justify-content: center; text-align: center; }
