/* Top-10 round 2, group B (19 Nov 2026): components added to five pages only
   (/roof-repair-and-maintenance/, /residential-metal/, the nail post and /recent-jobs-reviews/).
   Loaded after amr-design.css; uses its colour tokens. Nothing here targets existing elements. */

/* Short answer box near the top */
.amr-t10-answer { margin: 18px 0 22px; padding: 18px 20px; background: var(--amr-mist); border: 1px solid var(--amr-line); border-radius: 6px; color: var(--amr-ink); line-height: 1.65; }
.amr-t10-answer strong { color: var(--amr-navy); }

/* Tables: the caption stays on screen, the table scrolls inside its own box on phones
   (width 0 + min-width 100%: the wide table never widens the column it sits in) */
.amr-t10-caption { margin: 18px 0 8px; color: var(--amr-navy); font-weight: 700; line-height: 1.4; }
.amr-t10-table { display: block; box-sizing: border-box; width: 0; min-width: 100%; margin: 0 0 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--amr-line); border-radius: 6px; background: #fff; }
.amr-t10-table:focus { outline: 2px solid var(--amr-navy); outline-offset: 2px; }
.amr-t10-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.amr-t10-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.amr-t10-table th, .amr-t10-table td { padding: 10px 12px; border-bottom: 1px solid var(--amr-line); text-align: left; vertical-align: top; }
.amr-t10-table thead th { background: var(--amr-navy); color: #fff; font-weight: 600; }
.amr-t10-table tbody th { color: var(--amr-navy); font-weight: 600; }
.amr-t10-table tbody tr:nth-child(even) { background: #f8fafd; }
.amr-t10-table tbody tr:last-child th, .amr-t10-table tbody tr:last-child td { border-bottom: 0; }

/* Numbered steps */
.amr-t10-steps { margin: 12px 0 22px; padding: 0; list-style: none; counter-reset: amrstep; }
.amr-t10-steps > li { position: relative; margin: 0 0 14px; padding: 0 0 0 46px; counter-increment: amrstep; line-height: 1.65; }
.amr-t10-steps > li::before { content: counter(amrstep); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--amr-navy); color: #fff; font-weight: 700; font-size: 15px; line-height: 32px; text-align: center; }

/* FAQ list */
.amr-t10-faq h4 { margin: 22px 0 6px; color: var(--amr-navy); font-size: 19px; line-height: 1.35; font-weight: 700; }
.amr-t10-faq h4:first-child { margin-top: 6px; }
.amr-t10-faq p { margin: 0 0 10px; }

/* Recent jobs and reviews page: intro and closing blocks around the job feed */
.amr-rj { max-width: 1100px; margin: 0 auto; padding: 40px 24px 8px; color: var(--amr-ink); }
.amr-rj-after { padding-top: 24px; padding-bottom: 48px; }
.amr-rj h1 { margin: 0 0 14px; color: var(--amr-navy); font-size: 38px; line-height: 1.2; letter-spacing: -.4px; }
.amr-rj h2 { margin: 30px 0 10px; color: var(--amr-navy); font-size: 26px; line-height: 1.25; }
.amr-rj p, .amr-rj li { font-size: 17px; line-height: 1.7; }
.amr-rj p { margin: 0 0 14px; }
.amr-rj ul { margin: 0 0 14px; padding-left: 22px; }
.amr-rj li { margin: 0 0 8px; }
.amr-rj a { color: var(--amr-red-dark); text-decoration: underline; text-underline-offset: 3px; }
.amr-rj .amr-rj-lead { font-size: 19px; }
@media (max-width: 640px) {
  .amr-rj { padding: 28px 16px 4px; }
  .amr-rj-after { padding-bottom: 36px; }
  .amr-rj h1 { font-size: 30px; }
  .amr-rj h2 { font-size: 23px; }
  .amr-rj p, .amr-rj li { font-size: 16px; }
  .amr-rj .amr-rj-lead { font-size: 17px; }
  .amr-t10-faq h4 { font-size: 17px; }
}
