/* Landing Page Template */
.page-template-tmpl-landing .content-area p,
.page-template-tmpl-landing .content-area h1,
.page-template-tmpl-landing .content-area h2,
.page-template-tmpl-landing .content-area h3,
.page-template-tmpl-landing .content-area h4,
.page-template-tmpl-landing .content-area h5 {
	padding: 0 0;
}

/* Header Styles */
.rebrand-main-logo-wrap {
	overflow: hidden;
}

	.rebrand-main-logo-wrap > * {
		transition: all .25s ease;
	}
	
	.rebrand-main-logo-wrap > img {
		position: relative;
		right: 0;
	}
	
	.rebrand-main-logo-wrap:hover > img {
		/* right: calc(100% + 20px); */
	}
	
	.rebrand-main-logo-wrap > .beyond-limits {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		position: absolute;
			left: calc(100% + 20px);
			top: 4px;
		height: 100%;
		width: 100%;
	}
	
	.rebrand-main-logo-wrap:hover > .beyond-limits {
		/* left: 0; */
	}

		.rebrand-main-logo-wrap > .beyond-limits > p {
			font-family: 'GT America Condensed Medium';
			font-size: 1.8em;
			line-height: 1;
			margin: 0;
			text-transform: uppercase;
			width: 100%;
		}
		
			.rebrand-main-logo-wrap > .beyond-limits > p > strong {
				display: block;
				font-family: 'GT America Bold';
			}
			
				.rebrand-main-logo-wrap > .beyond-limits > p > strong > span {
					display: inline;
					position: relative;
				}
				
					.rebrand-main-logo-wrap > .beyond-limits > p > strong > span:before {
						background-color: #000;
						background-image: url(../images/icon-torch-full.png);
						background-position: center;
						background-repeat: no-repeat;
						background-size: 50% auto;
						border-radius: 50%;
						content: '';
						display: block;
						height: 55%;
						position: absolute;
						left: 2px;
						top: 8px;
						width: 80%;
					}

/* Image Styles */
.wp-block-image.is-style-round-arch img,
.wp-block-image.is-style-sharp-arch img,
.wp-block-cover.is-style-round-arch img,
.wp-block-cover.is-style-sharp-arch img,
.wp-block-cover.is-style-round-arch span,
.wp-block-cover.is-style-sharp-arch span,
.wp-block-media-text.is-style-round-arch:not(.is-image-fill) > figure > img,
.wp-block-media-text.is-style-sharp-arch:not(.is-image-fill) > figure > img,
.wp-block-media-text.is-style-round-arch.is-image-fill > figure,
.wp-block-media-text.is-style-sharp-arch.is-image-fill > figure {
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.wp-block-image.is-style-round-arch img,
.wp-block-cover.is-style-round-arch img,
.wp-block-cover.is-style-round-arch span,
.wp-block-media-text.is-style-round-arch:not(.is-image-fill) > figure > img,
.wp-block-media-text.is-style-round-arch.is-image-fill > figure{
	-webkit-mask-image: url(../images/mask-rounded-arch.svg);
	mask-image: url(../images/mask-rounded-arch.svg);
}

.wp-block-image.is-style-sharp-arch img,
.wp-block-cover.is-style-sharp-arch img,
.wp-block-cover.is-style-sharp-arch span,
.wp-block-media-text.is-style-sharp-arch:not(.is-image-fill) > figure > img,
.wp-block-media-text.is-style-sharp-arch.is-image-fill > figure {
	-webkit-mask-image: url(../images/mask-sharp-arch.svg);
	mask-image: url(../images/mask-sharp-arch.svg);
}
/* Sharp arch border overlay */
.wp-block-image[class*="-arch-border-overlay"] > *,
.wp-block-cover[class*="-arch-border-overlay"] > *,
.wp-block-media-text[class*="-arch-border-overlay"] > figure {
	padding: 60px 0;
	position: relative;
}

.wp-block-media-text[class*="-arch-border-overlay"] > figure img {
	display: block;
	height: 50% !important;
	max-height: 50%;
	margin: 0 auto;
	position: relative;
	width: 60%;
}

.wp-block-image[class*="-arch-border-overlay"] > *:before,
.wp-block-cover[class*="-arch-border-overlay"] > *:before,
.wp-block-media-text[class*="-arch-border-overlay"] > figure:before {
	background-color: #000;
	content: '';
	display: block;
	height: 100%;
	-webkit-mask-image: url(../images/mask-sharp-arch-border.svg);
	mask-image: url(../images/mask-sharp-arch-border.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	position: absolute;
		top: 0;
		left: 0;
	width: 100%;
	z-index: 10;
}

/* Paragraph Slanted Tagline Styles */
p.is-style-slant-strip {
	display: inline-block;
	font-family: 'GT America Bold' !important;
	/* font-size: 1em !important; */
	letter-spacing: 0.03em;
	line-height: 1;
	padding: 8px 35px !important;
	text-transform: uppercase;
	transform: rotate(-10deg);
}

.block-editor-block-list__block.wp-block-acf-pc-forever-a-friar-slant-tagline.has-background {
	background: none !important; 
}

/* Editor styles */
.edit-post-visual-editor {
	background-color: #fff;
}

.editor-styles-wrapper {
	display: block;
	margin: 0 auto;
	max-width: 840px;
}

.editor-styles-wrapper .wp-block {
	margin-left: 0;
	margin-right: 0;
}

.editor-post-featured-image {
	position: relative;
}

body.post-type-businesses .editor-post-featured-image:after {
	content: 'For the best display, please upload images with a 16:9 aspect ratio. Examples of recommended dimensions include 1920x1080, 1280x720, or 854x480 pixels.';
	display: block;
	margin: 10px 0;
	color: #ff0000;
	font-style: italic;
	font-weight: bold;
}
	

/*--------------------------------------------------------------------------------------
*
* Microanimation feature -- Fade in on scroll
*
* The look of the "Fade in blocks on scroll" page switch. The functionality is in 
* core/inc/scroll-reveal.php.
*
* The fade changes only opacity and transform. .8 seconds. It only applies to blocks 
* that are a direct child of .main. See the CSS inline comments below for a walkthrough.
*
* These styles are ignored for a user who has "prefers reduced motion" turned on.
*--------------------------------------------------------------------------------------*/

/*
* A block that is waiting below the bottom of the screen. It is see-through and sits
* 24 pixels lower than its resting place. There is no transition here on purpose: the
* block must become hidden instantly, not fade out.
*/
.pc-foreverfriar-scroll-reveal-pending {
	opacity : 0 ;
	transform : translateY(24px) ;
}

/*
* Blocks with a fixed (parallax) background fade WITHOUT the 24 pixel slide.
*
* A fixed background is pinned to the screen, and browsers drop that pinning on any
* element that has a transform, or that sits inside one. With the slide, the image is
* positioned against the block while it fades, then snaps to its pinned place the
* moment the fade ends, which shows as a jump. Taking the transform away leaves only
* the opacity fade, and the image stays pinned throughout.
*
* .has-parallax is the core Cover block's fixed background. .background-fixed is the
* Banner Image block's. The first rule covers a waiting block that is one of those; the
* :has() rules cover a waiting block with one of those somewhere inside it, such as a
* Group holding a parallax Cover. The :has() rules are written separately so that a
* browser too old to understand :has() still applies the first rule.
*/
.pc-foreverfriar-scroll-reveal-pending.has-parallax,
.pc-foreverfriar-scroll-reveal-pending.background-fixed {
	transform : none ;
}

/* 
* Separating these for pre-2023 browsers that don't understand :has, and so would
* ignore the -entire- rule.
*/ 
.pc-foreverfriar-scroll-reveal-pending:has(.has-parallax),
.pc-foreverfriar-scroll-reveal-pending:has(.background-fixed) {
	transform : none ;
}

/*
* A block that has been scrolled into view. The script removes the "pending" class and
* adds this one in the same moment, so the block travels from see-through and lowered
* to solid and in place, over eight tenths of a second. The curve starts quickly and
* eases to a stop.
*/
.pc-foreverfriar-scroll-reveal-revealed {
	transition : opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) ;
}

/*
* Printing. A visitor who prints before scrolling to the bottom would otherwise get
* blank space where the waiting blocks are. On paper, every block shows.
*/
@media print {
	.pc-foreverfriar-scroll-reveal-pending {
		opacity : 1 ;
		transform : none ;
	}
}
