/*
Theme Name: Track Tech Motorsports
Description: Theme for tracktechmotorsports.com. Reproduces the original static site; the site-wide design lives in /css/style.css.
Version: 1.1
Author: Leading Click
*/

/* Pages built with regular WordPress blocks (not the full-width Custom HTML layout) */
.entry-content { max-width: 860px; margin: 0 auto; }
.entry-content > * + * { margin-top: var(--space-4, 1rem); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: var(--space-8, 2rem); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; color: var(--color-text-secondary); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4rem; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
.entry-content figure { margin: var(--space-8, 2rem) 0; }
.entry-content figcaption { font-size: var(--font-size-sm); color: var(--color-text-secondary); margin-top: 0.5rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--color-border); padding: 0.6rem 0.8rem; text-align: left; }
.entry-content .wp-block-button__link { background: var(--gradient-blue); color: #fff; padding: 0.8rem 1.6rem; border-radius: 6px; font-weight: 600; text-decoration: none; }
.entry-content .wp-block-columns { display: flex; gap: 2rem; flex-wrap: wrap; }
.entry-content .wp-block-column { flex: 1 1 260px; }
.entry-content .alignwide, .entry-content .alignfull { max-width: none; }

/* About page: the <section class="split"> wrapper was itself a 2-column grid, squeezing the
   inner .split__inner container into half the page. Only the inner grid should lay out columns. */
section.split { display: block; padding: var(--space-16, 4rem) 0; }
