/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 18 2025 | 06:34:24 */
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

/* ============================== */
/* Blog Glassmorphic Hero */
/* ============================== */
/* Remove top padding/margin above the blog hero */
.blog-hero.glass-hero {
  margin-top: 0 !important;
}

.entry-content .blog-hero.glass-hero {
  padding-top: 0 !important;
}

.blog-hero.glass-hero {
  position: relative;
  width: 100vw;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: url('/wp-content/uploads/2025/12/blogs-page_orange-neural-network_hero-section-scaled.png') center/cover no-repeat;
	
    /* Fix full-width issues */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
}

.blog-hero.glass-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: inherit;
  filter: brightness(0.6) blur(2px);
  z-index: 0;
}

/* Glass Card */
.blog-hero-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column; /* stack text vertically */
  align-items: center;
  max-width: 700px;
  width: 90%;
  padding: 2rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  gap: 1.5rem;
  margin: 7.5rem auto;
}

/* Text styling */
.blog-hero-text {
  color: #f8f8f4;
    display: flex;
  flex-direction: column;
  align-items: center; /* center everything horizontally */
  text-align: center;  /* fallback for block-level children like <p> */
  max-width: 600px;    /* optional: constrain width for readability */
  margin: 0 auto;
}

.blog-hero__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.blog-hero__title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.2;
  margin-top: 0;        /* remove default top margin */
  margin-bottom: 0.75rem;
}

.blog-hero__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 60ch;
  width: 100%;        /* fill parent */
  text-align: center; /* ensure centered text */
  margin: 0;          /* remove default margin if needed */
  color: #f8f8f4;
}

/* Optional image inside card */
.blog-hero-image {
  width: 350px;
  max-width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-top: 1rem;
}

.blog-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Initial state before animation */
.blog-hero-card,
.blog-hero-image,
.blog-hero-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Active state after animation */
.blog-hero-card.in-view,
.blog-hero-image.in-view,
.blog-hero-text.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive adjustments */
@media (max-width: 1024px) {
  .blog-hero-card {
    padding: 1.5rem;
    width: 95%;
	max-width: 600px;
	margin: 2.0rem auto; 
  }

  .blog-hero__title {
    font-size: 1.9rem;
  }

  .blog-hero__subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .blog-hero-card {
    max-width: 90%;   /* almost full width for small devices */
    padding: 1.25rem;
	margin: 2.5rem auto; 
  }
}

@media (max-width: 480px) {
  .blog-hero-card {
	max-width: 90%;
    padding: 1rem;
	margin: 3.0rem auto; 
  }

  .blog-hero__title {
    font-size: 1.65rem;
  }

  .blog-hero__subtitle {
    font-size: 0.9rem;
  }
}
/* Blog Glassmorphic Hero */
/* ============================== */
/* BLOG QUERY LOOP (FORCED STYLING) */
/* ============================== */

/* Outer query loop container */
.blog-query {
  display: flex;
  flex-direction: column;
  align-items: center;      /* center all cards */
  width: 100%;
  padding: 3rem 1.5rem;     /* spacing around the whole block */
  gap: 2rem;                /* spacing between cards */
  box-sizing: border-box;
  background: #f8f8f4;
}

/* Each post card */
.blog-query .wp-block-post {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.5rem;      /* inner padding for text */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 700px;          /* constrain width */
  margin: 0 auto 2rem auto;  /* center cards and add vertical spacing */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
	
  opacity: 0;               /* start hidden */
  transform: translateY(50px); /* start slightly below */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.blog-query .wp-block-post.scroll-in {
  opacity: 1;
  transform: translateY(0); /* slide into place */
}

/* Hover effect */
.blog-query .wp-block-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Remove extra margin for last card */
.blog-query .wp-block-post:last-child {
  margin-bottom: 0;
}

/* Force all inner Gutenberg wrappers inside each post card to align with the card */
.blog-query .wp-block-post > .wp-block-group,
.blog-query .wp-block-post > .wp-block-group > .wp-block-post-content,
.blog-query .wp-block-post-title,
.blog-query .wp-block-post-date {
  width: 100% !important;       /* fill the card width */
  max-width: 100% !important;   /* remove Gutenberg constraints */
  margin: 0 auto !important;    /* center within the card */
  padding-left: 2rem;           /* horizontal padding to align text */
  padding-right: 2rem;
  box-sizing: border-box;
}

/* Post title */
.blog-query .wp-block-post-title a {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: #101820;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 1rem; /* space above the title */
  margin-bottom: 1rem; /* space below the title */
}

/* Title hover */
.blog-query .wp-block-post-title a:hover {
  color: #31d200;
}

/* Post meta */
.blog-query .wp-block-post-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: #dcdcdc;
  padding-top: 1rem; /* space above the date */
}

/* Post excerpt */
.blog-query .wp-block-post-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #101820;
  line-height: 1.6;
}

/* Optional: extra spacing for paragraphs inside the card */
.blog-query .wp-block-post p {
  margin-left: 0;
  margin-right: 0;
}

/* Featured image inside post card */
.blog-query .wp-block-post .wp-block-post-featured-image img,
.blog-query .wp-block-post img {
  width: 100%;             /* fill card width */
  max-width: 100%;         /* ensure it doesn't overflow */
  height: auto;            /* maintain aspect ratio */
  border-radius: 1rem;     /* optional rounding to match card style */
  display: block;
  object-fit: cover;       /* crop if needed */
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-query {
    padding: 2rem 1rem;
    gap: 2rem;
  }
  .blog-query .wp-block-post {
    padding: 1.5rem;
  }
  .blog-query .wp-block-post-title a {
    font-size: 1.5rem;
  }
  .blog-query .wp-block-post-excerpt {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .blog-query {
    padding: 1rem 0.5rem;
    gap: 1.5rem;
  }
  .blog-query .wp-block-post {
    padding: 1rem;
  }
  .blog-query .wp-block-post-title a {
    font-size: 1.25rem;
  }
  .blog-query .wp-block-post-excerpt {
    font-size: 0.9rem;
  }
}

/* BLOG QUERY LOOP                 */