/* Consistent columns and image baselines on the repairs page. */
.repair-document main.repairs-compact{width:min(960px,100%)}
.repair-document .repair-safety{max-width:none}
.repair-document .repair-overview{display:block}
.repair-document .repair-overview p{max-width:850px}
.repair-photo-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}
.repair-photo-row figure{display:flex;flex-direction:column;width:100%;max-width:none;margin:0}
.repair-photo-row h3{font-size:17px;margin:0 0 12px}
.repair-photo-row figure>a{display:block;height:250px;overflow:hidden;background:#e8e9e3;border:1px solid var(--line);border-radius:8px}
.repair-photo-row figure>a img[width][height]{width:100%;height:100%;max-height:100%;object-fit:contain;border:0;border-radius:0}
.repair-photo-row figcaption{margin:10px 0 0;font-size:12px;line-height:1.5}
.repair-document .repair-reference-grid{gap:24px;margin-top:24px;padding-top:24px}
.repair-reference-grid>section{display:flex;flex-direction:column}
.repair-reference-grid .repair-reference-image{margin-top:auto;padding-top:4px}
.repair-reference-grid .repair-reference-image a{height:250px;width:100%;max-width:none;margin:0}
.repair-reference-grid .repair-reference-image img{width:100%;height:100%;max-height:100%;object-fit:contain}
.repair-document .repair-comparisons{padding-top:8px}
.repair-document .mounting-examples{width:100%;max-width:none;gap:20px 24px;margin-top:16px}
.repair-document .mounting-examples .example-photo{height:200px;padding:8px}
.repair-document .mounting-examples .mounting-example figcaption{padding:12px 14px;min-height:48px}
.repair-document .mounting-examples .mounting-example figcaption>a{font-size:14px;line-height:1.5}
.repair-document .repair-model-note{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:24px;align-items:center;margin-top:24px;padding-top:24px}
.repair-document .repair-model-note figure{width:100%;margin:0}
.repair-model-note figure>a{display:block;height:300px;background:#e8e9e3;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.repair-document .repair-model-note figure img{width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:0}
@media(max-width:700px){
 .repair-photo-row{grid-template-columns:1fr;gap:22px;margin:20px 0}
 .repair-photo-row figure>a{height:auto;max-height:none}
 .repair-photo-row figure>a img[width][height]{height:auto;max-height:330px;object-fit:contain}
 .repair-document .repair-reference-grid{grid-template-columns:1fr;gap:24px}
 .repair-reference-grid .repair-reference-image{padding-top:0}
 .repair-reference-grid .repair-reference-image a{height:auto}
 .repair-reference-grid .repair-reference-image img{height:auto;max-height:300px}
 .repair-document .mounting-examples{gap:12px}
 .repair-document .mounting-examples .example-photo{height:170px;padding:5px}
 .repair-document .mounting-examples .mounting-example figcaption{padding:10px}
 .repair-document .repair-model-note{grid-template-columns:1fr;gap:16px}
 .repair-model-note figure>a{height:340px}
}
@media(max-width:360px){.repair-document .mounting-examples .example-photo{height:145px}}

.repair-resolution{margin-top:28px;padding:22px 24px;background:#e8ebe2;border-left:4px solid #4c624b;border-radius:0 8px 8px 0}.repair-resolution .eyebrow{color:#4c624b;margin-bottom:10px}.repair-resolution h3{margin-bottom:12px}.repair-resolution p{font-size:16px;line-height:1.6;max-width:800px}.repair-resolution p:last-child{margin-bottom:0}@media(max-width:700px){.repair-resolution{padding:18px;margin-top:24px}}

/* Expert correspondence and concise evidence chain. */
.ideal-confirmation{margin:24px 0;padding:22px 24px;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:8px;background:#fff8}
.ideal-confirmation p{font-size:15px;line-height:1.6;margin-bottom:14px}.ideal-confirmation .eyebrow{font-size:13px}.ideal-confirmation .source-note{font-size:12px}
.ideal-confirmation blockquote{font-size:23px;line-height:1.4;letter-spacing:0;margin:16px 0;padding-left:16px}.ideal-source{font-size:14px;font-weight:700}
.mounting-case{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.mounting-case ol{padding-left:24px;margin:16px 0}.mounting-case li{font-size:15px;line-height:1.6;margin-bottom:12px;padding-left:4px}.mounting-case>p{font-size:16px}.mounting-case>.source-note{font-size:12px;color:var(--muted)}
@media(max-width:700px){.ideal-confirmation{padding:18px}.ideal-confirmation blockquote{font-size:20px}.ideal-source{display:inline-block;padding:6px 0}.mounting-case ol{padding-left:20px}}

/* Center the Steib reference, followed immediately by its correspondence. */
.repair-document .repair-reference-grid{grid-template-columns:minmax(0,1fr)}
.repair-reference-grid #steib-drawing .repair-reference-image{width:min(100%,620px);margin:12px auto 0}
.repair-reference-grid #steib-drawing .repair-reference-image a{height:320px;margin:0 auto}
.repair-reference-grid .ideal-confirmation{margin:0}
.repair-reference-grid #roll .repair-reference-image{width:min(100%,620px);margin:12px auto 0}
@media(max-width:700px){.repair-reference-grid #steib-drawing .repair-reference-image a{height:auto}}

.sidecar-rod-quote{margin:18px 0 24px;padding:16px 20px;border-left:3px solid var(--accent)}.sidecar-rod-quote blockquote{margin:0;font-size:1.25rem;line-height:1.45;font-weight:700}.sidecar-rod-quote figcaption{margin-top:8px;font-size:.875rem}

/* Diagram and pull quote share a compact row, then stack on phones. */
.mount-orientation-note{margin:10px 0 0;font-size:.875rem;line-height:1.55}
.roll-explanation-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,270px);align-items:center;gap:28px;margin-top:12px}
.repair-reference-grid #roll .roll-explanation-layout .repair-reference-image{width:100%;min-width:0;margin:0;padding:0}
.roll-explanation-layout .sidecar-rod-quote{margin:0;padding:22px 24px;border-left:3px solid var(--accent);background:#fff8;border-radius:0 8px 8px 0}
.roll-explanation-layout .sidecar-rod-quote blockquote{margin:0;padding:0;border:0;font-family:Georgia,serif;font-size:1.65rem;font-style:italic;font-weight:600;line-height:1.3;letter-spacing:-.02em}
.roll-explanation-layout .sidecar-rod-quote figcaption{margin-top:16px;font-size:.875rem;font-weight:700;color:var(--accent)}
@media(max-width:700px){.roll-explanation-layout{grid-template-columns:minmax(0,1fr);gap:16px}.roll-explanation-layout .sidecar-rod-quote{padding:18px 22px}.roll-explanation-layout .sidecar-rod-quote blockquote{font-size:1.4rem}}
