/*
 * Site-wide base styles (formerly the Elementor kit globals).
 * Component styles live on the GenerateBlocks blocks themselves.
 */

body {
	color: #292929;
}

a {
	color: #e23125;
	text-decoration: underline;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5 {
	color: #000;
}

/* Sticky site header. */
.thia-site-header {
	position: sticky;
	top: 0;
	z-index: 99;
}

.admin-bar .thia-site-header {
	top: var(--wp-admin--admin-bar--height, 0px);
}

/* Post body (Elementor "Post Content" widget used the global Text style). */
.thia-post-content {
	color: #7a7a7a;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

/*
 * Gravity Forms (from the old Customizer Additional CSS). The old site only loaded the Gravity Forms
 * stylesheet ahead of this rule on the home page (the only page with a form in its content), so
 * everywhere else the plugin's default description style won. Keep that look.
 */
body.home .gform_wrapper.gravity-theme .gfield_description {
	padding-top: 0px;
	font-size: 13px;
}

/* Loop grid pagination is replaced by infinite scroll; keep the links for no-JS and crawlers. */
[data-thia-infinite] :has(> .page-numbers) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.thia-no-infinite [data-thia-infinite] :has(> .page-numbers) {
	position: static;
	width: auto;
	height: auto;
	clip-path: none;
}

/* Loading indicator while the next page of posts is fetched. */
.thia-infinite-spinner {
	display: none;
	width: 30px;
	height: 30px;
	margin: 20px auto;
	border: 3px solid #e5e5e5;
	border-top-color: #e23125;
	border-radius: 50%;
	animation: thia-spin 0.8s linear infinite;
}

.thia-infinite-spinner.is-loading {
	display: block;
}

@keyframes thia-spin {
	to {
		transform: rotate(360deg);
	}
}

