/* -- Theme Tweaks -- */

/* Set default padding on outer container of header, rather than inner */
.site-header {
	padding-inline: --var(--space-m);

 	> .inside-header {
		padding-inline: 0;
	}
}


/* Set the main content area minimum height to reduce likelihood of whitespace below footer */
#main {
	min-height: 75vh;
}


/* Reset default image caption alignment */
.wp-block-image figcaption {
    text-align: inherit;
}


/* Hide empty query loops (with class query-container); does not work for sliders */
.query-container:has(.gb-query-loop-wrapper:empty), /* GBv1 query loop */
	.query-container:not(:has([class*="gb-looper"])) /* GBv2 query loop */
{
    display: none;
}


/* Improve appearance of password form for private pages */
.post-password-form {
	max-width: 768px;
	padding: 8rem 0px;
	margin-inline: auto;
	text-align: center;
}


p:last-of-type:last-child {
	margin-bottom: 0;
}


/* Add a transition for all link styles (GP only sets transition for colors by default)
 */
a:not([class*=button]) {
	transition: all .2s ease-in-out;
}

/* Remove underline from any button-classed links */
a[class*=button] {
	text-decoration: none;
}
