/* =============================
   Link Styling (Remove Underline)
============================= */

a{
  text-decoration:none!important;
}

a:hover,
a:focus{
  text-decoration:none!important;
}

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

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

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

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6{
  margin-top:.5em!important;
  margin-bottom:.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:.35rem;
}

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

/* =============================
   Images
============================= */

img.eager-load{
  loading:eager!important;
  fetchpriority:high!important;
}

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

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

.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;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

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

.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;
}

input:focus,
textarea:focus,
select:focus{
  border-color:#ffffff!important;
  outline:none;
}


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

.home .home-hover-underline{
  position:relative;
  display:block;           /* keep block behavior */
  width:fit-content;       /* shrink to text width */
  margin-left:auto;
  margin-right:auto;
}

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

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

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

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


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

/* blur layer */
.wp-block-pullquote::before{
	content:"";
	position:absolute;
	inset:0;
	background-image:inherit;
	background-size:120%;
	background-position:center center;
	background-repeat:no-repeat;
	background-attachment:fixed;
	filter:blur(6px);
	transform:scale(1.15);
	z-index:0;
}

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

/* keep text above effects */
.wp-block-pullquote blockquote{
	position:relative;
	z-index:2;
}