/* calc-extra.css: the how-to, FAQ and link blocks under the extra free
   calculators (footing, sonotube, stairs, rebar) and the main calculator.
   Pages are built by scripts/build-calc-pages.py. */
.ccx-wrap { max-width: 760px; }
.ccx-prose h2 { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; color: var(--text); }
.ccx-prose h3 { margin: 32px 0 10px; font-size: 20px; letter-spacing: -.02em; font-weight: 700; color: var(--text); }
.ccx-prose p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.65; color: var(--text2); }
.ccx-prose p b { color: var(--text); }
.ccx-prose a, .ccx-reads a, .cc-eyebrow a { color: var(--accent-ink, var(--accent)); }
.cc-eyebrow a { text-decoration: none; }
.ccx-prose .formula { font-family: var(--mono); font-size: 14.5px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; }
.ccx-prose table.ref { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; }
.ccx-prose table.ref th, .ccx-prose table.ref td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); color: var(--text2); }
.ccx-prose table.ref th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); font-weight: 600; }
.ccx-h { margin: 48px 0 16px; font-size: 24px; letter-spacing: -.03em; font-weight: 800; color: var(--text); }
.ccx .cfaq-q { width: 100%; background: none; border: 0; text-align: left; font: inherit; color: var(--text); cursor: pointer; }
.ccx .cfaq-item.open .cfaq-a { display: block; }
.ccx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ccx-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); text-decoration: none; }
.ccx-card b { color: var(--text); font-size: 15.5px; }
.ccx-card span { color: var(--text3); font-size: 13.5px; }
.ccx-card:hover { border-color: var(--accent); }
.ccx-reads { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.9; }
