@charset "UTF-8";
/*
Theme Name: 	Hub of Hope
Theme URI: 		https://hubofhope.co.uk
Author: 		Hiyield
Author URI:		https://hiyield.co.uk
Description: 	Hub of Hope WordPress FSE Theme
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.2
*/

/* ─── Link colour reset ──────────────────────────────────────────────────── */

/*
 * Must be unlayered — WP's normalize sets link colours as unlayered author CSS
 * which always beats Tailwind's @layer base regardless of load order.
 */
a,
a:visited {
	color: inherit;
}

/* ─── Button reset ───────────────────────────────────────────────────────── */

/*
 * Must be unlayered to beat WP's normalize, which is also unlayered author
 * CSS and always wins over Tailwind's @layer utilities regardless of load order.
 */
button {
	appearance: none;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

/* Prevent any overflow source from creating horizontal page scroll.
   clip (not hidden) so position: sticky children still work. */
body {
	overflow-x: clip;
}

/* ─── Sticky footer ─────────────────────────────────────────────────────── */

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100svh;
}

.wp-site-blocks > main {
	flex: 1;
}

/* ─── Container ─────────────────────────────────────────────────────────── */

.container {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-right: auto;
	margin-left: auto;
	padding-right: 1.5rem;
	padding-left: 1.5rem;
}
