/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 24 2025 | 23:37:27 */
/* Homepage 2 Col grid w/3x posts */
/* =========================
   TITLES
   ========================= */
/* Featured post (left) title */
.wnp-top-uael .uael-post-wrapper-featured .uael-post__title a {
  font-size: 20px !important;   /* example */
  text-shadow: 2px 2px 8px #141414 !important;
  line-height: 28px !important;
  font-weight: 500 !important;
}
/* Grid posts (right column) titles */
.wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__title a {
  font-size: 16px;   /* example */
  font-weight: 400;
}

/* =========================
   CORNER CONTROL (one layer to rule them all)
   ========================= */
/* Reset radii on layers that should not clip; clip only on __inner_wrap / __bg-wrap */
.wnp-top-uael .uael-post__thumbnail,
.wnp-top-uael .uael-post__thumbnail a,
.wnp-top-uael .uael-post__thumbnail img {
  border-radius: 0 !important;
  overflow: visible;
}
.wnp-top-uael .uael-post__inner-wrap {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: row !important;
  min-height: 100% !important; /* prevents flex overflow oddities */
}

/* === UAEL "news" skin can override — beat it with widget scope === */
.wnp-top-uael .uael-post__thumbnail,
.wnp-top-uael .uael-post__thumbnail a,
.wnp-top-uael .uael-post__thumbnail img {
  border-radius: 0 !important;
}

/* Featured (LEFT) card: round LEFT edge (top & bottom) */
  .wnp-top-uael .uael-post-wrapper-featured .uael-post__bg-wrap,
  .wnp-top-uael .uael-post-wrapper-featured .uael-post__inner-wrap {
  border-radius: 8px 0 0 8px !important;
  overflow: hidden !important;
}
/* Children follow the parent shape (featured) */
  .wnp-top-uael .uael-post-wrapper-featured .uael-post__thumbnail,
  .wnp-top-uael .uael-post-wrapper-featured .uael-post__thumbnail a,
  .wnp-top-uael .uael-post-wrapper-featured .uael-post__thumbnail img {
  border-radius: inherit !important;
  display: block;
  margin-bottom: -1px !important; /* seam alignment */
}

/* Right column stack: make middle items square; only cap the stack */
  .wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__bg-wrap,
  .wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__inner-wrap {
  border-radius: 0 !important;
  overflow: hidden !important;
}
/* Top card of right column */
  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:first-child .uael-post__bg-wrap,
  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:first-child .uael-post__inner-wrap {
  border-top-right-radius: 8px !important;
}
/* Bottom card of right column */
  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:last-child .uael-post__bg-wrap,
  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:last-child .uael-post__inner-wrap {
  border-bottom-right-radius: 8px !important;
}
/* Single-card right column */
  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:only-child .uael-post__bg-wrap,
  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:only-child .uael-post__inner-wrap {
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}
/* Right column thumbnails follow parent shape + seam alignment */
  .wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__thumbnail,
  .wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__thumbnail a,
  .wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__thumbnail img {
  border-radius: inherit !important;
  display: block;
  margin-left: -1px !important;
  margin-bottom: -1px !important;
}
.wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__thumbnail img {
	border-top-right-radius: 0px !important;
}


/* =========================
   META + BADGES
   ========================= */
/* Hide the "published date" in the featured (left) card only */
.wnp-top-uael .uael-post-wrapper-featured .uael-post__date {
  display: none !important;
}

/* Left Column Content Wrap */
.wnp-top-uael .uael-post-wrapper-featured .uael-post__content-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100% !important;
  justify-content: flex-end !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  padding-bottom: 20px !important;
}

/* Right Content area */
.wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__content-wrap {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding-top: 58px !important;
  margin-top: 0 !important;
  padding-right: 15px !important;
}

/* Right-column badge: top-right corner with more breathing room */
 .wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__terms-wrap {
  position: absolute;
  top: 6px !important;    /* more whitespace above */
  left: 10px !important;  /* pin to right */
  left: auto !important;
  z-index: 2;
  margin: 0 !important;
  padding: 0 !important;
}
/* Right-column badge pill */
 .wnp-top-uael .uael-post-grid__inner .uael-post__terms .wnp-badge-date,
 .wnp-first-featured-post .uael-post__terms .wnp-badge-date {
  display: inline-block !important;
  margin-top: 0px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.wnp-top-uael .uael-post__terms-wrap {
    display: flex;
}
.wnp-top-uael .uael-post__terms .wnp-badge-date, 
.uael-post-image-left.uael-post-grid.uael-post_structure-featured:first-of-type .uael-post__terms .wnp-badge-date {
    margin-top: 0px !important;
}
/* Right-column badge: text size/padding */
.wnp-top-uael .uael-post-grid__inner .uael-post-wrapper .uael-post__terms {
  padding: 2px 10px !important;
  font-size: 12px !important;
}

/* Hide only the second tag in the right column */
.wnp-top-uael .uael-post-grid__inner .uael-post__terms-meta-tag .uael-listing__terms-link:nth-of-type(2) {
  display: none !important;
}


/* =========================
   MISC
   ========================= */
/* Search Articles */
button.wnp-search-label {
	color: #002c5c !important
}

/* Smaller Arrow Icon */
.wnp-top-uael .elementor-align-icon-right { font-size: 13px; }
/* Date badge color */
.wnp-top-uael .wnp-badge-date { color: #0F172A !important; font-weight: 400 !important; }
/* Read More buttons auto width */
.wnp-top-uael a.uael-post__read-more.elementor-button {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;  /* keep aligned left */
  margin-right: auto !important;
}

.categoryThreeCols .uael-post__meta-data,
.categoryFourCols .uael-post__meta-data {
    display: flex !important;
    flex-direction: column-reverse !important;
}
.categoryThreeCols span.uael-post__date {
    margin-top: 8px !important;
}
.categoryThreeCols .uael-post__content-wrap.uael-content-wrap-enabled {
	margin-bottom:0px !important;
}
.categoryFourCols .uael-post__terms-meta.uael-post__terms-meta-tag {
    display: none !important;
}
.categoryFourCols .uael-post__bg-wrap,
.categoryThreeCols .uael-post__bg-wrap {
	border: 1px solid #141414 !important;
    border-radius:8px !important;
}
.categoryFourCols img,
.categoryThreeCols img,
.categoryThreeCols img:hover,
.categoryFourCols img:hover {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.emailSubscriptionColumn {
	min-height: 350px;
}

/* 404 Page  + Single Post */
.postid-1034 .ast-plain-container.ast-no-sidebar #primary,
.postid-1034 #content .ast-container,
.single-post #content .ast-container {
    margin-top: 0px;
    margin-bottom: 0px;
    min-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
	padding-left: 0px;
	padding-right: 0px;
}

.postid-1034 #content div#primary {
	margin-top: 0px !important;
}
.single-post .site .site-content #primary .ast-article-single {
    margin-bottom: 0px;
}

/* =========================
   Astra Tablet breakpoint (≤ 921px)
   Affects tablet + mobile
   ========================= */
@media (max-width: 1024px) {
	.wnp-first-featured-post .uael-post__content-wrap {
		padding-top: 216px !important;
	}
	.wnp-first-featured-post .uael-post__terms-wrap {
	  top: 5px !important;
	}
	.wnp-top-uael .uael-post__terms .wnp-badge-date, 
	.wnp-first-featured-post .uael-post__terms .wnp-badge-date,
	.uael-post-image-left.uael-post-grid.uael-post_structure-featured:first-of-type .uael-post__terms .wnp-badge-date {
		margin-top: 0px !important;
	}
	.emailSubscriptionColumn {
		min-height: 250px;
	}
	/* Search Results + Archives */
    .elementor-page-6359 #content .ast-container,
	.category #content .ast-container,
	.category #content .ast-container-fluid {
		padding-left:0px;
		padding-right: 0px;
	}
	.elementor-page-6359 #content .uael-post-wrapper.blog,
	.category #content .uael-post-wrapper.blog {
		min-width: 33%;
	}

  /* Make the overall 2-column wrapper become a single column */
  .wnp-top-uael .uael-post-image-left.uael-post-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row;
    gap: var(--uael-posts-row-gap, 16px);
  }

  /* Ensure each side takes full width */
  .wnp-top-uael .uael-post-wrapper-featured,
  .wnp-top-uael .uael-post-grid__inner {
    width: 100% !important;
    max-width: none !important;
  }

  /* Right column list: 1 card per row on tablet */
  .wnp-top-uael .uael-post-grid__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: var(--uael-posts-row-gap, 16px);
  }

  /* If UAEL forces widths via inline/flex, override */
  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
	
	/* Featured (LEFT) card: round LEFT edge (top & bottom) */
  .wnp-top-uael .uael-post-wrapper-featured .uael-post__bg-wrap,
  .wnp-top-uael .uael-post-wrapper-featured .uael-post__inner-wrap {
	  border-radius: 0px 0px 0px 0px !important;
	}
	/* Top card of right column */
	  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:first-child .uael-post__bg-wrap,
	  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:first-child .uael-post__inner-wrap {
	  border-radius: 0px !important;
	}
	/* Bottom card of right column */
	  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:last-child .uael-post__bg-wrap,
	  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:last-child .uael-post__inner-wrap {
	  border-radius: 0px !important;
	}
	/* Single-card right column */
	  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:only-child .uael-post__bg-wrap,
	  .wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:only-child .uael-post__inner-wrap {
	  border-radius: 0px !important;
	}
	.wnp-top-uael .uael-post-image-background .uael-post__thumbnail {
		border-bottom-left-radius: 0px !important;
		 border-bottom-right-radius: 0px !important;
		border-top-right-radius:0px !important;
		border-top-left-radius: 0px !important;
	}
	.wnp-top-uael .uael-post__terms-wrap {
		display: flex !important;
	}
	
	.categoryThreeCols .uael-post-wrapper {
		max-width: 28% !important;
	}
	
	.shortcodeBottomText {
		font-size: 28px !important;
	}
	
}

/* =========================
   Astra Mobile breakpoint (≤ 544px)
   Affects phones
   ========================= */
@media (max-width: 767px) {
	.wnp-top-uael .uael-post-wrapper.image-ratio-set.uael-post-wrapper-featured.blog {
		min-height: 320px !important;
	}
	.wnp-top-uael .uael-post__content:first-of-type {
		min-width: 100%;
		min-height: 320px !important;
		max-height: 320px !important;
	}
	.wnp-top-uael .uael-post__thumbnail {
		padding-bottom: 0px !important;
	}
	.wnp-top-uael .uael-post__thumbnail a {
		min-height: 320px !important;
	}
	.wnp-top-uael .uael-post__body .uael-post__thumbnail:not(.uael-post-wrapper__noimage) {
		min-height: 100% !important;
	}
	.wnp-top-uael .uael-post__news-stack-yes .uael-post__thumbnail:hover img {
		transform: none !important;
	}
	.wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:first-child .uael-post__inner-wrap,
	.wnp-top-uael .uael-post-grid__inner > .uael-post-wrapper:nth-child(2) .uael-post__inner-wrap {
		min-height: 180px !important;
		max-height: 200px !important;
	}
	.uael-post-grid__inner.uael-post__columns-1.uael-post__columns-tablet-1.uael-post__columns-mobile-1 {
		gap: 0px !important;
	} 
	.wnp-top-uael a.uael-post__read-more {
		font-size: 10px !important;
		padding-right: 10px !important;
		padding-left: 10px !important;
	}
	.wnp-top-uael .elementor-align-icon-right {
		margin-left: 0px !important;
		font-size: 10px !important;
}
	
	.categoryThreeCols .uael-post-wrapper,
	.categoryFourCols .uael-post-wrapper {
		max-width: 100% !important;
	}
	
	.shortcodeBottomText {
		font-size: 20px !important;
		line-height: 30px !important;
	}
	
	.wnp-first-featured-post .uael-post__title {
		margin-top: -130px !important;
		line-height: 30px !important;
		margin-bottom: 8px;
	}
	.wnp-first-featured-post .uael-post__excerpt {
		line-height: 20px !important;
	}
	.wpforms-container .wpforms-submit-spinner {
		display: none !important;
	}

}
