/* Helper styles that can't be done via theme.json
---------------------------------------------------------------------------- */

.wp-site-blocks { overflow-x: hidden }

.hide-on-mobile {
	display: none !important;
}
@media (min-width:768px){
	.hide-on-mobile { display: block !important; }
}

.hide-on-tablet {
	display: block;
}
@media (min-width:600px){
	.hide-on-tablet { display: none !important; }
}

.hide-on-desktop {
	display: block;
}
@media (min-width:900px){
	.hide-on-desktop { display: none !important; }
}

a.more-link {
	display: block;
}

/* Inline code */
*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--tertiary);
	font-weight: var(--wp--custom--font-weight--medium);;
	padding: 3px 5px;
	position: relative;
	border-radius: 3px;
}

/* Adjust terms at bottom of posts */
.single .wp-block-group .wp-block-post-terms,
.blog .wp-block-group .wp-block-post-terms {
	margin-bottom: -8px !important;
}

/* Remove margin on term description on archive pages */
.wp-block-term-description p:last-child {
	margin-bottom: 0;
}

/* Remove last separator on post list */
.remove-border-and-padding .wp-block-post-template li:last-child .wp-block-separator {
	display: none;
}

/* Hide post meta div if no tags assigned */
.single .wp-block-group:has(> .post-meta:empty) {
	display: none;
}

:where(.wp-site-blocks) > *,
:where(body .is-layout-constrained) > *,
:where(body .is-layout-flow) > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.entry-content .alignfull {
	margin-left: calc( -100vw / 2 + 100% / 2 );
	margin-right: calc( -100vw / 2 + 100% / 2 );
	max-width: 100vw;
}

:where(.wp-block-group.has-background.alignfull) {
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}
