/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version: 0.2.0
*/

/* The Tool Boss: match the old Astra look (white page, narrow centered posts) */
body { background-color: #ffffff; }
.single-post.no-sidebar .site-main { max-width: 780px; margin-left: auto; margin-right: auto; }
.home .entry-header { display: none; }
.rank-math-breadcrumb { font-size: 15px; margin-bottom: 8px; }

/* The Tool Boss: phones. Narrower side padding, Ezoic ads run edge to edge so a 336px ad fits, wide tables scroll inside their box, nothing scrolls the page sideways. */
@media (max-width: 768px) {
	body.one-container .site-content { padding-left: 16px; padding-right: 16px; }
	.entry-content [id^="ezoic-pub-ad-placeholder-"] { margin-left: -16px; margin-right: -16px; max-width: none; text-align: center; }
	.entry-content [id^="ezoic-pub-ad-placeholder-"] .ezoic-ad { margin-left: auto !important; margin-right: auto !important; }
	.entry-content figure.wp-block-table, .entry-content .tablepress-scroll-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	html, body { overflow-x: clip; }
}
