/*
Theme Name: Evacuscape
Theme URI: 
Author: Asam Afzal
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.1.12
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evacuscape
Tags: 
*/


.home-why-circled-column {
    min-height: 185px;
    display: flex;
align-items: center;
place-content: center;
}
.home-why-items-container {
place-content:center;
}

.home-options-content-container {
  padding: 18px 30px 25px 16px;
  border-radius: 15px;
}

/* Circled check list */
.circled-check-list {
  --icon-size: 22px;
  --row-gap: 12px;
  --icon-gap: 10px;

  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: var(--row-gap);
}

.circled-check-list li {
  position: relative;
  padding-left: calc(var(--icon-size) + var(--icon-gap));
  line-height: 1.6;
}

.circled-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;

  width: var(--icon-size);
  height: var(--icon-size);

  background: url("/wp-content/uploads/2025/09/Black-circled-checkmark.svg") no-repeat center / contain;
}




.our-latest-articles-container {
    display: flex !important
;
    flex-direction: column !important;
    height: -webkit-fill-available;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.links-inherit-color a {
  color: inherit;
}

.page-url-field-hidden {
    display: none !important;
}

.forms-container-aa .wpforms-submit {
    font-family: "DM Serif Display" !important;
    padding:14px 40px !important;
    line-height: 1 !important;
    height: auto !important;
border-radius: 8px !important;
}

.forms-container-aa {
    margin: 0 !important;
}

.copyright-text-aa {
    color: #fff;
    text-align: center;
font-size:15px;
}

footer.wp-block-template-part {
    margin-top: 0;
}

.wp-block-button__link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

:where(.wp-site-blocks) > * {
     margin-block-start: 0;
}

/* Responsive Styling */
@media screen and (max-width:768px) {
  .header-cta-button {
    display: none !important;
  }
  .home-latest-articles-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .home-why-circled-column {
    min-height: 358px;
  }
  .home-why-circled-column p {
    font-size:30px !important;
    max-width: 250px !important;
  }
  .mp-0 {
    padding: 0 !important;
  }
  .mpt-2 {
    padding-top:20px !important;
  }
  .mp-2 {
    padding: 20px !important;
  }
  .mptb-1-5 {
    padding-top: 15px !important;
    padding-bottom:15px !important;
  }
  .mptb-2 {
    padding-top: 20px !important;
    padding-bottom:20px !important;
  }
  .mptb-3 {
    padding-top: 30px !important;
    padding-bottom:30px !important;
  }
  .mptb-4 {
    padding-top: 40px !important;
    padding-bottom:40px !important;
  }
  .m-col-reverse {
    flex-direction: column-reverse;
  }
  .m-br-2 {
    border-radius: 20px !important;
  }
  .m-align-center {
    place-content: center;
  }
  .m-gap-1 {
    gap: 10px;
  }
}

/* Responsive iframe wrapper */
.spin-embed-aa{
  position: relative;
  width: 100%;
  max-width: 100%;
  /* keep the original 600x350 ratio (≈12:7) */
  aspect-ratio: 600 / 350;
}

/* Fill the wrapper */
.spin-embed-aa .spin-iframe-aa{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Optional: if you want a different ratio on very small screens */
@media (max-width: 420px){
  /* comment this out if you prefer the original ratio everywhere */
  .spin-embed-aa{ aspect-ratio: 4 / 3; }
}


.separator-red-aa {width:119px;
float: inline-start;}

/* Inner hero heading */
.inner-page-heading-one{
  font-size: clamp(3.6rem, 4.54vw + 1.97rem, 8.5rem) !important; 
  line-height: 1.05 !important;
  text-wrap: balance !important;
}

.margin-auto-aa {
    margin-left: auto;
    margin-right: auto;
}

.forms-container-aa.margin-auto-aa {
    margin-left: auto !important;
    margin-right: auto !important;
}


.forms-container-aa.contact-page-form .wpforms-submit {width:100%;font-family:Roboto;font-size:20px;font-weight:700;}

.text-drop-shadow-one{
  text-shadow: 0 4px 4px #000000;
}

@media screen and (max-width:782px) {
  .warranty-hero-col-1 {
    width: 100% !important;
  }
  .warranty-page-heading-one {
    margin-left:0 !important;
  }
}

/* Language Switcher Styles */
.wpml-ls-statics-footer {
  width: 100%;
    justify-items: center;
    background-color: #323334;
}

.wpml-ls-statics-footer ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 10px 20px;
  overflow: hidden;
  width: fit-content;
}

.wpml-ls-item {
  margin: 0;
  padding: 0;
}

.wpml-ls-link {
  display: block;
  padding: 12px 24px !important;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  border-right: 2px solid #333;
  border-radius: 5px;
}

.wpml-ls-last-item .wpml-ls-link {
  border-right: none;
}

.wpml-ls-link:hover {
  background-color: #f5f5f5;
  color: #bf0000;
}

.wpml-ls-link:focus {
  outline: 2px solid #bf0000;
  outline-offset: -2px;
  z-index: 1;
}

.wpml-ls-current-language .wpml-ls-link {
  background-color: #bf0000;
  color: #fff;
  font-weight: 600;
}

.wpml-ls-current-language .wpml-ls-link:hover {
  background-color: #a00000;
  color: #fff;
}

.wpml-ls-native {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .wpml-ls-statics-footer ul {
    flex-direction: column;
    width: 100%;
  }
  
  .wpml-ls-link {
    border-right: none;
    text-align: center;
  }
  
  .wpml-ls-last-item .wpml-ls-link {
    border-bottom: none;
  }
}

.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal {
    margin-bottom: 0;
    justify-self: center;
}
.wpml-ls-legacy-list-horizontal {
  border: none !important;
  padding: 0 !important;
}


/* Blog Styling */
.blog-page-posts-container-aa .wp-block-post-template {
  gap: 2.5rem;
  margin-bottom: 3rem;
  grid-auto-rows: 1fr;
}

.blog-page-posts-container-aa .wp-block-post-template > li {
  height: 100%;
}

.blog-page-posts-card-aa {
  background: white;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-page-posts-card-aa:hover {
  box-shadow: 0 8px 24px rgba(191, 0, 0, 0.15);
  transform: translateY(-4px);
  border-color: #bf0000;
}

.blog-page-posts-container-aa .wp-block-post-featured-image {
  overflow: hidden;
}

.blog-page-posts-container-aa .wp-block-post-featured-image img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-page-posts-container-aa .wp-block-group:hover .wp-block-post-featured-image img {
  transform: scale(1.05);
}

.blog-page-posts-container-aa .wp-block-post-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;

  color: #333;
}

.blog-page-posts-container-aa .wp-block-post-title a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
}

.blog-page-posts-container-aa .wp-block-post-title a:hover {
  color: #bf0000;
}

.blog-page-posts-content-container-aa {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 auto;
}

.blog-page-posts-container-aa .wp-block-post-excerpt {
margin-block-start: 0;
}

.blog-page-posts-container-aa .wp-block-post-excerpt p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.blog-page-posts-container-aa .wp-block-post-excerpt .wp-block-post-excerpt__more-link {
  color: #bf0000;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.blog-page-posts-container-aa .wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover {
  color: #000;
}

.blog-page-posts-container-aa .wp-block-post-date {
  color: #666;
  font-size: 0.9rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.blog-page-posts-container-aa .wp-block-query-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.blog-page-posts-container-aa .wp-block-query-pagination a,
.blog-page-posts-container-aa .wp-block-query-pagination .page-numbers {
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #333;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 600;
}

.blog-page-posts-container-aa .wp-block-query-pagination a:hover {
  background: #bf0000;
  border-color: #bf0000;
  color: white;
}

.blog-page-posts-container-aa .wp-block-query-pagination .page-numbers.current {
  background: #bf0000;
  border-color: #bf0000;
  color: white;
}

@media (max-width: 781px) {
  .blog-page-posts-container-aa .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
}


/* Article Container */
.posts-content-wrapper-aa {
  max-width: 1100px;
  margin: 0 auto;
}

/* Featured Image */
.posts-content-featured-image-aa {
  margin: 0 0 2.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.posts-content-featured-image-aa img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.posts-content-featured-image-aa:hover img {
  transform: scale(1.02);
}

/* Author Container */
.author-container-aa {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #333;
}

.author-container-aa p {
  margin: 0;
  font-weight: 400;
}

.posts-content-author-aa {
  font-weight: 600;
  color: #bf0000;
}

/* Date Information */
.post-dates-aa {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.post-date-published-aa,
.post-date-updated-aa {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #666;
}

.published-date-aa,
.modified-date-aa {
  font-weight: 600;
  color: #333;
}

/* Article Title */
.posts-content-heading-aa {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin: 0 0 2rem 0;
  letter-spacing: -0.02em;
}

/* Article Content */
.posts-content-aa {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #333;
}

.posts-content-aa p {
  margin-bottom: 1.5rem;
}

/* Headings within content */
.posts-content-aa h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
  margin: 2.5rem 0 1.5rem 0;
  line-height: 1.3;
}

.posts-content-aa h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin: 1rem 0;
  line-height: 1.3;
}

.posts-content-aa h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #bf0000;
  line-height: 1.3;
}

/* Links */
.posts-content-aa a {
  color: #bf0000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.posts-content-aa a:hover {
  color: #000;
  text-decoration-thickness: 2px;
}

/* Images within content */
.posts-content-aa img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Emphasized text (using font-weight: 400 spans) */
.posts-content-aa span[style*="font-weight: 400"] {
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
  .posts-content-heading-aa {
    font-size: 2rem;
  }
  
  .posts-content-aa h1 {
    font-size: 1.75rem;
  }
  
  .posts-content-aa h2 {
    font-size: 1.5rem;
  }
  
  .posts-content-aa h3 {
    font-size: 1.25rem;
  }
  
  .posts-content-aa {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .posts-content-heading-aa {
    font-size: 1.75rem;
  }
  
  .author-container-aa {
    font-size: 0.875rem;
  }
  
  .post-dates-aa {
    font-size: 0.85rem;
  }
}

.search-results-loop-container-aa li {
    margin: 0;
    padding: 20px 0;
    border-bottom: solid 1px #ccc;
}

.search-results-loop-container-aa h2 {
  margin: 0;
  font-size: 1.4rem !important;
  font-family: "Roboto";
}


/* 404 Page – Evacuscape styles */
.error-page-container-aa{
  --brand:#bf0000; 
  --ink:#000; 
  --text:#333; 
  --bg:#fff; 
  --muted:#f6f6f6;
  position:relative;
  max-width:min(900px, 92vw);
  margin-inline:auto;
  text-align:center;
  background:var(--bg);
  padding-block:clamp(40px, 6vw, 150px);
}

.error-page-container-aa h1.wp-block-heading {
    justify-self: center;
}

/* Subtle oversized "404" watermark */
.error-page-container-aa::after{
  content:"404";
  position:absolute;
  inset:auto 0 -8%;
  margin:auto;
  font-weight:800;
  font-size:clamp(6rem, 20vw, 14rem);
  line-height:1;
  letter-spacing:-.02em;
  color:rgba(0,0,0,.04);
  pointer-events:none;
  z-index:0;
}

/* Heading */
.error-page-container-aa .wp-block-heading{
  position:relative;
  z-index:1;
  color:var(--ink);
  font-weight:800;
  font-size:clamp(1.8rem,3.8vw,2.6rem);
  line-height:1.1;
  margin:0 0 .75rem;
}

/* Accent underline for the heading */
.error-page-container-aa .wp-block-heading::after{
  content:"";
  display:block;
  width:84px;
  height:4px;
  margin:.6rem auto 0;
  background:var(--brand);
  border-radius:999px;
}

/* Paragraph */
.error-page-container-aa p{
  position:relative;
  z-index:1;
  color:#555;
  font-size:clamp(1rem,1.6vw,1.125rem);
  line-height:1.7;
  max-width:min(650px, 90%);
  margin: .6rem auto 1.2rem;
}

/* Buttons wrap */
.error-page-container-aa .wp-block-buttons{
  position:relative;
  z-index:1;
  gap:.75rem;
  margin-top:1rem;
}

/* Primary button */
.error-page-container-aa .wp-block-button__link{
  --btn-bg:var(--brand);
  --btn-ink:#fff;
  background:var(--btn-bg);
  color:var(--btn-ink);
  border:2px solid var(--brand);
  padding:.85rem 1.25rem;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.02em;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow:0 10px 24px rgba(191,0,0,.15);
}
.error-page-container-aa .wp-block-button__link:hover,
.error-page-container-aa .wp-block-button__link:focus{
  background:#a40000;
  border-color:#a40000;
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(191,0,0,.22);
}
.error-page-container-aa .wp-block-button__link:focus-visible{
  outline:3px solid #000;
  outline-offset:3px;
}

/* Optional secondary style for additional links if you add more buttons later */
.error-page-container-aa .wp-block-button.is-style-outline .wp-block-button__link{
  background:transparent;
  color:var(--ink);
  border-color:#d9d9d9;
  box-shadow:none;
}
.error-page-container-aa .wp-block-button.is-style-outline .wp-block-button__link:hover{
  background:var(--muted);
  color:var(--ink);
  border-color:#c9c9c9;
}

/* Decorative icon before paragraph (no HTML changes) */
.error-page-container-aa p:first-of-type::before{
  content:"⚠️";
  display:inline-block;
  margin-right:.45rem;
  font-size:1.05em;
  transform:translateY(1px);
}

/* Subtle card feel on small screens */
@media (max-width:720px){
  .error-page-container-aa{
    border:1px solid #eee;
    border-radius:16px;
    box-shadow:0 8px 28px rgba(0,0,0,.06);
    padding-inline:clamp(16px, 4vw, 24px);
  }
  .error-page-container-aa::after{ inset:auto 0 -10%; }
}

a.footer-privacy-link {
    color: inherit;
    text-decoration: none;
}

a.footer-privacy-link:hover {
    text-decoration: underline;
}

.inner-header-form-aa {
  background-color: #fff !important;
  padding: 20px !important;
  border-radius: 15px !important;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
}

.home-options-card h3 a {
    color: inherit;
    text-decoration: none;
}

.home-options-card h3 a:hover {
    text-decoration: underline;
}

ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu a:hover {
    color: #BF0000;
}

/* Evacuscape reusable feature grid */
.esc-feature-grid {
	--esc-grid-accent: #bf0000;
	--esc-grid-accent-dark: #8f0000;
	--esc-grid-heading: #222222;
	--esc-grid-copy: #5e6268;
	--esc-grid-border: #e3e5e7;
	--esc-grid-white: #ffffff;

	position: relative;
	overflow: hidden;
	background:
		radial-gradient(
			circle at 100% 0%,
			rgba(191, 0, 0, 0.07),
			transparent 31%
		),
		linear-gradient(
			180deg,
			#ffffff 0%,
			#f7f7f7 100%
		);
}

.esc-feature-grid,
.esc-feature-grid * {
	box-sizing: border-box;
}

.esc-feature-grid::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 82px;
	height: 5px;
	border-radius: 999px;
	background: var(--esc-grid-accent);
	transform: translateX(-50%);
}

.esc-feature-grid__header {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.esc-feature-grid__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0 0 14px;
	color: var(--esc-grid-accent);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.esc-feature-grid__eyebrow::before,
.esc-feature-grid__eyebrow::after {
	content: "";
	width: 24px;
	height: 1px;
	background: currentColor;
	opacity: 0.65;
}

.esc-feature-grid__heading {
	margin: 0;
	color: var(--esc-grid-heading);
	font-size: clamp(38px, 5vw, 54px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.esc-feature-grid__intro {
	max-width: 870px;
	margin: 24px auto 0;
	
	line-height: 1.5;
}



.esc-feature-grid__row {
	align-items: stretch !important;
	gap: 22px;
	margin-bottom: 22px;
}

.esc-feature-grid__row:last-child {
	margin-bottom: 0;
}

.esc-feature-grid__row > .wp-block-column {
	display: flex;
}

.esc-feature-grid__item {
	position: relative;
	width: 100%;
	min-height: 280px;
	overflow: hidden;
	border: 1px solid var(--esc-grid-border);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 34px rgba(30, 30, 30, 0.055);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

.esc-feature-grid__item::after {
	content: "";
	position: absolute;
	right: -58px;
	bottom: -70px;
	width: 150px;
	height: 150px;
	border: 24px solid rgba(191, 0, 0, 0.045);
	border-radius: 50%;
	pointer-events: none;
}

.esc-feature-grid__item:hover {
	transform: translateY(-5px);
	border-color: rgba(191, 0, 0, 0.32);
	box-shadow: 0 20px 42px rgba(30, 30, 30, 0.1);
}

.esc-feature-grid__item-heading {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--esc-grid-heading);
	font-size: 23px;
	font-weight: 600;
	line-height: 1.24;
	letter-spacing: -0.015em;
}

.esc-feature-grid__item-copy {
	position: relative;
	z-index: 1;
	margin: 14px 0 0;
	color: var(--esc-grid-copy);
	font-size: 16px;
	line-height: 1.62;
}

.esc-feature-grid__item--featured {
	border-color: var(--esc-grid-accent);
	background: linear-gradient(
		145deg,
		var(--esc-grid-accent) 0%,
		var(--esc-grid-accent-dark) 100%
	);
	box-shadow: 0 18px 42px rgba(143, 0, 0, 0.19);
}

.esc-feature-grid__item--featured::after {
	border-color: rgba(255, 255, 255, 0.08);
}

.esc-feature-grid__item--featured .esc-feature-grid__item-heading {
	color: var(--esc-grid-white);
}

.esc-feature-grid__item--featured .esc-feature-grid__item-copy {
	color: rgba(255, 255, 255, 0.84);
}

@media (min-width: 782px) and (max-width: 900px) {
	.esc-feature-grid__row {
		flex-wrap: wrap !important;
	}

	.esc-feature-grid__row > .wp-block-column {
		flex-basis: calc(50% - 11px) !important;
		flex-grow: 0 !important;
	}
}

@media (max-width: 781px) {
	.esc-feature-grid__header {
		text-align: left;
	}

	.esc-feature-grid__eyebrow {
		justify-content: flex-start;
	}

	.esc-feature-grid__eyebrow::before,
	.esc-feature-grid__eyebrow::after {
		display: none;
	}

	.esc-feature-grid__heading {
		font-size: 38px;
	}

	.esc-feature-grid__intro {
		font-size: 17px;
		line-height: 1.62;
	}

	.esc-feature-grid__item {
		min-height: 0;
	}
}