/* =============================
   Typography & Spacing
============================= */

b,
strong {
	font-weight: 700 !important;
}

.entry-content p {
	margin-bottom: 0.5em !important;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 0.5em !important;
	margin-bottom: 0.5em !important;
}

.single-post .entry-content a {
	font-weight: 700;
}

.single-post .entry-content p:first-of-type {
	padding-top: 17px;
}

.entry-content > p:has(+ ul.wp-block-list) {
	margin-bottom: 0.35rem !important;
}

.wp-block-list {
	margin-bottom: 0.65rem;
}

/* =============================
   Card Lift Effect (Post Grid Hover)
============================= */

.wp-block-post {
	transition: transform .25s ease, box-shadow .25s ease;
	will-change: transform;
}

.wp-block-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 25px rgba(0,0,0,.15);
}

/* =============================
   Accessibility Helper
============================= */

.etg-visually-hidden{
	position:absolute!important;
	width:1px!important;
	height:1px!important;
	margin:-1px!important;
	padding:0!important;
	overflow:hidden!important;
	clip:rect(0,0,0,0)!important;
	clip-path:inset(50%)!important;
	white-space:nowrap!important;
	border:0!important;
}

/* =============================
   Forms
============================= */

:is(
.wp-block-jetpack-contact-form input[type="email"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select){
	border:2px solid #ced1d6!important;
	border-radius:15px!important;
	padding:12px 16px;
	background:transparent;
	box-sizing:border-box;
}

:is(input,textarea,select):focus{
	border-color:#fff!important;
	outline:none;
}


/* =============================
   Home Post Title Hover Effect
============================= */

.home .home-hover-underline{
	position:relative;
	display:block;
	width:fit-content;
	margin-inline:auto;
}

.home .home-hover-underline::before,
.home .home-hover-underline::after{
	content:"";
	position:absolute;
	inset-inline:0;
	height:2px;
	background:linear-gradient(to right,#4A77BC,#e6e8eb);
	transform:scaleX(0);
	transition:transform .4s ease-out;
}

.home .home-hover-underline::before{
	top:-6px;
	transform-origin:left;
}

.home .home-hover-underline::after{
	bottom:-6px;
	transform-origin:right;
}

.home .home-hover-underline:hover::before,
.home .home-hover-underline:hover::after{
	transform:scaleX(1);
}

/* pullquote */
.wp-block-pullquote{
	position:relative;
	overflow:hidden;
	color:#fff;
	background-attachment:fixed!important;
	background-size:120%!important;
	background-position:center!important;
	background-repeat:no-repeat!important;
}

.wp-block-pullquote::before{
	content:"";
	position:absolute;
	inset:0;
	background:inherit;
	filter:blur(6px);
	transform:scale(1.15);
	z-index:0;
}

.wp-block-pullquote::after{
	content:"";
	position:absolute;
	inset:0;
	background:var(--theme-palette-color-4);
	opacity:.45;
	z-index:1;
}

.wp-block-pullquote blockquote{
	position:relative;
	z-index:2;
}