/* Shared sections: on your walls, facts tables and related links, pull-quotes. */

/* On your walls: customers' photographs, shown only once there are a few. */
.contour-walls { max-width: 1180px; margin: var(--wp--preset--spacing--60) auto 0; padding: 0 var(--wp--style--root--padding-right, 1.5rem); }
.contour-walls-head { text-align: center; margin-bottom: var(--wp--preset--spacing--40); }
.contour-walls-head h6 { margin: 0 0 0.4rem; }
.contour-walls-head h2 { margin: 0; }
.contour-walls-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--30); }
.contour-walls-grid figure { margin: 0; }
.contour-walls-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.contour-walls-grid figcaption { display: flex; gap: 0.5rem; justify-content: space-between; padding: 0.55rem 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.contour-walls-grid figcaption strong { color: var(--wp--preset--color--ink); font-weight: 600; }
.contour-walls-note { text-align: center; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); margin: var(--wp--preset--spacing--30) 0 0; }
@media (max-width: 599px) { .contour-walls-grid { grid-template-columns: 1fr; } }
/* Race and style pages: the facts table, related links, a runner's line, a three-card row, the style index line. */
.contour-race-facts { width: 100%; border-collapse: collapse; font-size: var(--wp--preset--font-size--small); }
.contour-race-facts th, .contour-race-facts td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--wp--preset--color--line); vertical-align: top; }
.contour-race-facts th { font-weight: 600; width: 38%; color: var(--wp--preset--color--muted); }
.contour-related { list-style: none; margin: 0; padding: 0; font-size: var(--wp--preset--font-size--small); }
.contour-related li { padding: 7px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
/* A pull-quote. .contour-course-note is the studio's own line and never carries a cite. */
.contour-runner-line, .contour-course-note { margin: var(--wp--preset--spacing--40) 0 0; padding-left: 18px; border-left: 3px solid var(--wp--preset--color--accent, #de542e); font-style: italic; }
.contour-runner-line cite { display: block; margin-top: 6px; font-style: normal; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); }
.contour-grid--three { grid-template-columns: repeat(3, 1fr); }
.contour-style-index { max-width: 900px; margin-left: auto; margin-right: auto; line-height: 1.9; }
@media (max-width: 599px) { .contour-grid--three { grid-template-columns: 1fr; } }
.contour-table-wrap { overflow-x: auto; margin: var(--wp--preset--spacing--30) 0; }
.contour-table { width: 100%; border-collapse: collapse; font-size: var(--wp--preset--font-size--small); }
.contour-table th, .contour-table td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--wp--preset--color--line); vertical-align: top; }
.contour-table th { font-weight: 600; color: var(--wp--preset--color--muted); }
.contour-editorial-body h2 { margin-top: var(--wp--preset--spacing--50); }
