/*
Theme Name: Hamnus (Twenty Twenty-Five child)
Description: Child of Twenty Twenty-Five for hamnus.com. Palette, fonts (Archivo, Literata) and reading width in theme.json; design layer in assets/blog-layout.css; this file is the overflow safety net.
Template: twentytwentyfive
Version: 1.1.0
Text Domain: hamnus-twentyfive
*/

/* Never let content push the page wider than the screen. */
body { overflow-x: clip; }
.wp-site-blocks img, .wp-site-blocks video, .wp-site-blocks iframe { max-width: 100%; height: auto; }

/* Wide tables and code scroll inside their own box instead of stretching the page. */
.wp-block-post-content table { display: block; max-width: 100%; overflow-x: auto; }
.wp-block-post-content pre { max-width: 100%; overflow-x: auto; }

/* WP QuickLaTeX renders formulas as images; keep them inside the column. */
.wp-block-post-content img.ql-img-inline-formula,
.wp-block-post-content img.ql-img-displayed-equation { max-width: 100%; height: auto; }
.wp-block-post-content .ql-center-displayed-equation { overflow-x: auto; max-width: 100%; }

/* Long words and URLs wrap rather than overflow. */
.wp-block-post-content { overflow-wrap: anywhere; }

/* Post lists, the yellow pad index and single-post typography live in assets/blog-layout.css. */
