/* Schtoms global components */
body{font-family:var(--st-font-body);color:var(--st-text);line-height:var(--st-line-height)}
h1,h2,h3,h4,h5,h6{font-family:var(--st-font-head);line-height:1.35;color:var(--st-text)}
:where(a){color:var(--st-green)}
:focus-visible{outline:2px solid var(--st-green);outline-offset:2px}

/* Mobile-safe tables: scroll wrapper without markup changes */
.wp-block-table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.wp-block-table table{min-width:34rem;border-collapse:collapse;font-size:.95rem}
.wp-block-table th{background:var(--st-text);color:var(--st-white);text-align:start;padding:var(--st-space-sm) var(--st-space-md);font-family:var(--st-font-head)}
.wp-block-table td{padding:var(--st-space-sm) var(--st-space-md);border-bottom:1px solid var(--st-line)}
.wp-block-table tbody tr:nth-child(even){background:var(--st-surface)}
.wp-block-table figcaption{font-size:.85rem;color:var(--st-muted);padding-top:var(--st-space-sm)}

/* Touch targets */
.wp-block-button__link,.wp-element-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--st-radius)}

/* Generic content tables (classic + block) - CSS-only mobile scroll */
.wp-block-post-content table,
.entry-content table,
.wp-block-table table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-collapse:collapse}
.wp-block-post-content th,
.entry-content th{background:var(--st-text);color:var(--st-white);text-align:start;padding:var(--st-space-sm) var(--st-space-md);white-space:nowrap}
.wp-block-post-content td,
.entry-content td{padding:var(--st-space-sm) var(--st-space-md);border-bottom:1px solid var(--st-line)}
.wp-block-post-content tbody tr:nth-child(even),
.entry-content tbody tr:nth-child(even){background:var(--st-surface)}

/* Single post measure and rhythm */
.schtoms-single{max-width:var(--st-measure)}
.schtoms-single .wp-block-post-content{line-height:var(--st-line-height)}
.schtoms-single .wp-block-post-content img{max-width:100%;height:auto}
.schtoms-single .wp-block-post-content h2{margin-top:var(--st-space-2xl);margin-bottom:var(--st-space-md)}
.schtoms-single .wp-block-post-content h3{margin-top:var(--st-space-xl);margin-bottom:var(--st-space-sm)}
.schtoms-single .wp-block-post-content p{margin-block:0 var(--st-space-md)}

/* Single post meta row */
.schtoms-single__meta{gap:var(--st-space-md);align-items:center;color:var(--st-muted);font-size:.9rem;margin-block:var(--st-space-sm) var(--st-space-lg)}
.schtoms-single__meta a{color:var(--st-green);text-decoration:none}
.schtoms-single .wp-block-post-featured-image{margin-block:0 var(--st-space-lg)}
.schtoms-single .wp-block-post-featured-image img{width:100%;height:auto;border-radius:var(--st-radius)}
