/**

/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra Child Theme - White cards on grid, Black cards on single posts
Author: webfolks
Author URI: 
Template: astra
Version: 1.0.0
Text Domain: astra-child
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webfolks
Template: astra
*/

/* ===========================================
   SINGLE POST FEATURED IMAGE - SINGLE ONLY
============================================= */
:root {
  --font-bricolage: "Bricolage Grotesque", sans-serif;
}

/* Apply globally */
body {
  font-family: var(--font-bricolage);
}
a {
    text-decoration: none !important;
}
h1, h2, h3, h4, h5, h6, .entry-content :where(h1,h2,h3,h4,h5,h6) {
    color: #ffffff !important;
}
/* Featured image container - ONLY ONE IMAGE SHOWS */

.single .post-thumb-img-content.single-featured-image {
  margin: -30px -30px 30px -30px !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 26px 26px 0 0 !important;
  background: #111111;
}

.single .post-thumb-img-content.single-featured-image img {
  width: 100% !important;
  height: 450px !important;
  object-fit: cover !important;
  border-radius: 26px 26px 0 0 !important;
  border-bottom: 3px solid #8b0000 !important;
  transition: transform 0.6s ease !important;
  display: block;
}

.single
  .ast-article-single:hover
  .post-thumb-img-content.single-featured-image
  img {
  transform: scale(1.03);
}


/* Responsive */

@media (max-width: 768px) {
  .single .post-thumb-img-content.single-featured-image img {
    height: 300px !important;
  }
}

/* ===========================================

   RECENT POSTS TITLE SECTION (from your code)

============================================= */

.recent-posts-title {
  padding: 50px 20px 0px;
  text-align: center;
  background: #0a0a0a;
}

.recent-container {
  max-width: 900px;
  margin: auto;
}

.recent-posts-title h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  position: relative;
}

.recent-posts-title h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #8b0000);
  display: block;
  margin: 15px auto 0;
  border-radius: 4px;
}

.recent-posts-title p {
  color: #bbbbbb;
  font-size: 1.3rem;
}

/* ===========================================

   BLOG HERO SECTION (from your code)

============================================= */

.blog-hero {
  position: relative;
   overflow: hidden;  
  min-height: 15vh;
  display: flex;
  align-items: center;
  padding: 0 20px;
  /* background: #000; */
  /*background:*/
  /*  linear-gradient(rgba(0, 0, 0, 0.65), rgba(26, 0, 0, 0.85)),*/
  /*  url("http://localhost/blog/wp-content/uploads/2026/02/ChatGPT-Image-Feb-24-2026-02_04_03-PM.png");*/

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #dddddd;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, #8b0000, #4d0000);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.4);
}

.hero-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #b22222, #8b0000);
}

.hero-image img {
  width: 100%;
  border-radius: 25px;
  border: 2px solid #8b0000;
  box-shadow: 0 20px 40px rgba(139, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Responsive */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===========================================

   GLOBAL DARK BACKGROUND

============================================= */

body {
  background: #0a0a0a !important;
}

/* ---------- SAFE BACKGROUND CLEANUP ---------- */

.site-content,
.ast-container,
.ast-single-post .site-content {
  background: transparent !important;
}

/* ===========================================

   BLOG GRID PAGE - WHITE CARDS (YOUR EXACT DESIGN)
   Applied ONLY to blog and archive pages

============================================= */

/* Convert Astra blog to grid */

.blog .ast-row,
.archive .ast-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.blog .ast-row > [class*="ast-col-"],
.archive .ast-row > [class*="ast-col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* White cards for blog/archive ONLY */

.blog .ast-article-post,
.archive .ast-article-post,
.blog .post,
.archive .post {
  background: #ffffff !important;
  border: 2px solid #8b0000 !important;
  border-radius: 24px !important;
  box-shadow:
    0 15px 30px -10px rgba(139, 0, 0, 0.3),
    0 0 0 1px rgba(255, 0, 0, 0.1) inset !important;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
  overflow: hidden;
  position: relative;
  display: flex;
  padding: 0 !important;
  flex-direction: column;
}

/* Card content padding */

.blog .ast-article-post .entry-content,
.archive .ast-article-post .entry-content {
  padding: 0rem !important;
}

/* Image styling for grid cards */

.blog .ast-article-post img,
.archive .ast-article-post img {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
  border-radius: 22px 22px 0 0 !important;
  border-bottom: 2px solid #8b0000 !important;
  transition: transform 0.5s ease;
}

.blog .ast-article-post:hover img,
.archive .ast-article-post:hover img {
  transform: scale(1.05);
}

/* Top red accent for grid cards */

.blog .ast-article-post::before,
.archive .ast-article-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #8b0000, #ff4d4d);
  border-radius: 24px 24px 0 0;
}

/* Animated gradient border for grid cards */

.blog .ast-article-post::after,
.archive .ast-article-post::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #ff0000,
    #8b0000,
    #ff4d4d,
    #330000,
    #ff0000
  );

  background-size: 400% 400%;
  border-radius: 26px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGradient 3s ease infinite;
}

.blog .ast-article-post:hover,
.archive .ast-article-post:hover {
  box-shadow: 0 25px 35px -12px #ff0000 !important;
  border-color: #ff0000 !important;
}

.blog .ast-article-post:hover::after,
.archive .ast-article-post:hover::after {
  opacity: 1;
}

/* Content styling for grid cards (black text) */

.blog .entry-title,
.archive .entry-title {
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 1.4rem;
  border-left: 4px solid #ff0000;
  padding-left: 15px;
  margin: 20px 15px 15px !important;
}

.blog .entry-meta,
.blog .entry-meta a,
.archive .entry-meta,
.archive .entry-meta a {
  color: #8b0000 !important;
  font-size: 0.8rem;
  font-weight: 600 !important;
  text-transform: uppercase;
  padding: 0 15px;
}

.blog .ast-article-post .entry-content p,
.archive .ast-article-post .entry-content p {
  color: #222222 !important;
  padding: 0 15px;
}

/* ===========================================

   SINGLE POST PAGE - BLACK CARD WITH WHITE TEXT

   Applied ONLY to single post pages

============================================= */

/* Main post container - black card */

.single .ast-article-single,
.single-post .ast-article-single {
  margin-top: 90px !important;
  background: #111111 !important;
  border: 2px solid #8b0000 !important;
  border-radius: 28px !important;
  box-shadow:
    0 25px 40px -12px rgba(255, 0, 0, 0.5),
    0 0 0 1px rgba(255, 60, 60, 0.2) inset !important;

  padding: 60px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
}

/* Animated gradient border on hover for single post */

.single .ast-article-single::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #ff0000,
    #8b0000,
    #ff4d4d,
    #330000,
    #ff0000
  );

  background-size: 400% 400%;
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGradient 3s ease infinite;
  pointer-events: none;
}

.single .ast-article-single:hover::after {
  opacity: 1;
}

.single .ast-article-single:hover {
  box-shadow: 0 30px 45px -10px #ff0000 !important;
  border-color: #ff0000 !important;
}

/* Top red accent bar for single post */

.single .ast-article-single::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff0000, #8b0000, #ff4d4d);
  border-radius: 26px 26px 0 0;
  z-index: 2;
}

/* Keyframes for border animation */

@keyframes borderGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Featured image for single post */

.single .ast-article-single .post-thumb-img-content img {
  object-fit: cover !important;
  border-radius: 22px !important;
  border: 2px solid #8b0000 !important;
  margin-bottom: 10px !important;
  margin-top: 50px !important;
  transition: transform 0.5s ease;
}

.single .ast-article-single:hover .post-thumb-img-content img {
  transform: scale(1.02);
}

/* Post title - WHITE for single post */

.single .ast-article-single .entry-title {
  color: #ffffff !important;
  font-size: 2.1rem !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
  border-left: 3px solid #ff0000;
  padding-left: 10px;
}

/* Post meta - red accents for single post */

.single .ast-article-single .entry-meta,
.single .ast-article-single .entry-meta * {
  color: #ffffff !important;
  font-size: 0.7rem !important;
  font-weight: 100 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single .ast-article-single .entry-meta a {
  color: #ff5555 !important;
  text-decoration: none;
}

.single .ast-article-single .entry-meta a:hover {
  color: #ff0000 !important;
  text-decoration: underline;
}

/* Date styling for single post */

.single .ast-article-single .posted-on {
  background: rgba(139, 0, 0, 0.2);
  padding: 4px 15px;
  border-radius: 50px;
  color: #dddddd !important;
  display: inline-block;
}

/* Post content - ALL TEXT WHITE for single post */

.single .ast-article-single .entry-content {
  color: #f0f0f0 !important;
}

.single .ast-article-single .entry-content p {
  color: #ffffff !important;

  line-height: 1.8;
  margin-bottom: 15px;
}

/* .single .ast-article-single .entry-content h1,
.single .ast-article-single .entry-content h2,
.single .ast-article-single .entry-content h3,
.single .ast-article-single .entry-content h4,
.single .ast-article-single .entry-content h5,
.single .ast-article-single .entry-content h6 {
  color: #ffffff !important;
  border-left: 4px solid #ff0000;
  padding-left: 15px;
  margin: 30px 0 20px;
} */

.single .ast-article-single .entry-content strong,
.single .ast-article-single .entry-content b {
  color: #ff5555 !important;
}

.single .ast-article-single .entry-content a {
  /* color: #ff7777 !important; */
  text-decoration: underline;
  transition: color 0.3s;
}

.single .ast-article-single .entry-content a:hover {
  color: #ff0000 !important;
}

/* Lists in single post */

.single .ast-article-single .entry-content ul,
.single .ast-article-single .entry-content ol {
  color: #ffffff !important;
  margin: 20px 0 20px 30px;
}

.single .ast-article-single .entry-content li {
  color: #ffffff !important;
  margin-bottom: 10px;
}

.single .ast-article-single .entry-content li::marker {
  color: #ff0000 !important;
}

/* Blockquotes in single post */

.single .ast-article-single .entry-content blockquote {
  background: rgba(139, 0, 0, 0.1);
  border-left: 5px solid #ff0000;
  padding: 20px 30px;
  color: #ffffff !important;
  font-style: italic;
  border-radius: 0 20px 20px 0;
  margin: 30px 0;
}

.single .ast-article-single .entry-content blockquote p {
  color: #ffffff !important;
  font-size: 1.3rem;
}

/* Post tags for single post */

.single .ast-article-single .tags-links {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #8b0000;
}

.single .ast-article-single .tags-links a {
  background: rgba(139, 0, 0, 0.2);
  color: #ffffff !important;
  padding: 5px 15px;
  border-radius: 50px;
  display: inline-block;
  margin: 0 5px 5px 0;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.single .ast-article-single .tags-links a:hover {
  background: #8b0000;
  color: #ffffff !important;
}

/* Post navigation for single post */

.single .post-navigation {
  background: #111111 !important;
  border: 2px solid #8b0000 !important;
  border-radius: 28px !important;
  padding: 20px !important;
  margin-top: 30px !important;
}

.single .post-navigation a {
  color: #ffffff !important;
}

.single .post-navigation .nav-links {
  color: #8b0000 !important;
}

/* Comments section for single post */

.single .comments-area {
  background: #111111 !important;
  border: 2px solid #8b0000 !important;
  border-radius: 28px !important;
  padding: 30px !important;
  margin-top: 30px !important;
}

.single .comments-title {
  color: #ffffff !important;
  border-left: 6px solid #ff0000;
  padding-left: 20px;
}

.single .comment-list .comment,
.single .comment-list .pingback {
  color: #ffffff !important;
}

.single .comment-author .fn {
  color: #ffffff !important;
}

.single .comment-metadata {
  color: #8b0000 !important;
}

.single .comment-content {
  color: #f0f0f0 !important;
}

/* Comment form for single post */

.single .comment-respond {
  color: #ffffff !important;
}

.single .comment-reply-title {
  color: #ffffff !important;
}

.single .comment-form label {
  color: #ffffff !important;
}

.single .comment-form input,
.single .comment-form textarea {
  background: #222222 !important;
  border: 2px solid #8b0000 !important;
  color: #ffffff !important;
  border-radius: 15px !important;
  padding: 12px !important;
}

.single .form-submit .submit {
  background: linear-gradient(135deg, #8b0000, #4d0000) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.3s !important;
}

.single .form-submit .submit:hover {
  background: linear-gradient(135deg, #b22222, #8b0000) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* ===========================================

   GLOBAL BUTTONS (for both grid and single)

============================================= */

.ast-button,
.ast-read-more-link {
  background: linear-gradient(135deg, #8b0000, #4d0000) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 10px 25px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3) !important;
}

article {
  width: 100% !important;
}

.ast-button:hover,
.ast-read-more-link:hover {
  background: linear-gradient(135deg, #b22222, #8b0000) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4) !important;
}

/* Responsive for grid */

@media (max-width: 1024px) {
  .blog .ast-row,
  .archive .ast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .blog .ast-row,
  .archive .ast-row {
    grid-template-columns: 1fr;
  }

  .single .ast-article-single {
    padding: 20px !important;
  }

  .single .ast-article-single .entry-title {
    font-size: 2rem !important;
  }

  .single .ast-article-single .post-thumb-img-content img {
    height: 150px !important;
  }

  .recent-posts-title h2 {
    font-size: 2.5rem;
  }
}

/* ===========================================

   FLOATING GLASS HEADER

============================================= */

.site-header {
  position: absolute !important;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 1250px;
  z-index: 9999;
  padding: 4px 1px;
  border-radius: 50px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.1)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #ffa2a2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

/* Center menu */

.main-header-bar {
  background: transparent !important;
}

/* Menu items */

.main-header-menu > li > a {
  color: white !important;
  font-weight: 300;
	font-size:18px !important;
  transition: 0.3s;
}

/* Hover effect */

.main-header-menu > li > a:hover {
  color: #ff0000 !important;
}

/* Active menu */

.current-menu-item > a {
  color: #ff0000 !important;
  font-weight: 700;
}

/* Dropdown style */

.sub-menu {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 10px 0;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.sub-menu li a {
  color: white !important;
}

.sub-menu li a:hover {
  color: #ff0000 !important;
}

/* ===========================================

   HEADER BUTTON STYLING (Contact Us)

============================================= */

/* Targets the specific list item */

.main-header-menu > li.nav-button-contact {
  display: flex;
  align-items: center;
  margin-left: 20px; /* Space between last link and button */
}

/* Styles the link into a button */

.main-header-menu > li.nav-button-contact > a {
  background-color: #ffffff !important; /* White background */
  color: #ff4d4d !important; /* Reddish text color */
  padding: 16px 10px !important; /* Size of the button */
  border-radius: 50px !important; /* Rounded pill shape */
  line-height: 1 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  transition: all 0.3s ease-in-out !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hover effect for the button */

.main-header-menu > li.nav-button-contact > a:hover {
  background-color: #f0f0f0 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #cc0000 !important;
}

/* Fix for mobile - prevents button from stretching full width */

@media (max-width: 921px) {
  .main-header-menu > li.nav-button-contact {
    margin: 15px 0;
    justify-content: center;
  }
}

/* ===========================================

   HEADER DARK WHEN OVER WHITE SECTION

============================================= */

.site-header.header-dark {
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 0, 0.5);
}

/* Optional: stronger text contrast */

.site-header.header-dark .main-header-menu > li > a {
  color: #ffffff !important;
}

/* footer */

/* ===============================

   WEBFOLKS FOOTER

================================ */

.wf-footer {
  background: #000;
  color: #cfcfcf;
  padding: 80px 20px 30px;
  font-family: "Inter", sans-serif;
}

.wf-footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.wf-footer h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 25px;
}

.wf-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wf-footer ul li {
  margin-bottom: 14px;
}

.wf-footer ul li a {
  color: #cfcfcf;
  text-decoration: none;
  transition: 0.3s;
}

.wf-footer ul li a:hover {
  color: #e10600;
}

.wf-footer .contact p {
  margin: 6px 0;
}

.wf-social {
  margin-top: 25px;
}

.wf-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  margin-right: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.wf-social a:hover {
  background: #e10600;
  color: #fff;
}

.wf-footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid #222;
  font-size: 14px;
}

/* Responsive */

@media (max-width: 992px) {
  .wf-footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.sidebar-main {
  margin-top: 90px;
}

/* search page  */

/* ===========================================

   SEARCH PAGE GRID (Same as Blog)

============================================= */

.search .ast-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}

.search .ast-row > [class*="ast-col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.search .ast-article-post,
.search .post {
  background: #ffffff !important;
  border: 2px solid #8b0000 !important;
  border-radius: 24px !important;
  box-shadow: 0 15px 30px -10px rgba(139, 0, 0, 0.3) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search .ast-article-post img {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
  border-radius: 22px 22px 0 0 !important;
  border-bottom: 2px solid #8b0000 !important;
}

.search .entry-title {
  color: #000 !important;
  font-weight: 800 !important;
  border-left: 4px solid #ff0000;
  padding-left: 15px;
}

@media (max-width: 1024px) {
  .search .ast-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .search .ast-row {
    grid-template-columns: 1fr;
  }
}

.search .ast-container section.ast-archive-description {
  margin-top: 90px;
  background-color: #0000000d !important;
  color: white;
}

.ast-archive-title {
  color: white !important;
}

.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
  padding: 0 0em 0;
}

.ast-related-posts-wrapper {
  grid-column-gap: 90px;
}

/* ===========================================

   CHANGE BLUE TO RED (BLOG + ARCHIVE + SEARCH)

============================================= */

/* Category (Uncategorized) */

.blog .cat-links a,
.archive .cat-links a,
.search .cat-links a,
.entry-meta,
.entry-meta {
  color: #ff0000 !important;
}

section.ast-archive-description {
  background-color: #0000001f !important;
}
section.ast-comment-content.comment.entry-content
 {
    color: white !important;
    font-size: smaller;
}

/* Category Tabs Section */
.archive-tabs-wrapper {
    background: #0a0a0a;
    padding: 20px 0 40px;
    text-align: center;
}

.archive-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.archive-tabs a {
    padding: 8px 20px;
    border: 1px solid #ec3030d2;
    color: #ec3030d2;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.archive-tabs a:hover {
    background: #ec3030d2;
    color: #ffffff;
}

.archive-tabs a.active {
    background: #ffffff;
    color: #f30505;
}
body.archive .ast-archive-description{
    padding-top: 1rem !important;
}
/* Image Styling */
/* ===== Recent Posts Section ===== */

.recent-posts-section {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 30px 20px;
    border: 1px solid #8b0000;
    border-radius: 30px;
    background: #0a0a0a;
}

/* Center Section Title */
.recent-posts-main-title {
    text-align: center;
    color: #fff !important;
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Container */
.recent-posts-outer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid Layout */
.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card */
.recent-post-card {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
}

.recent-post-card:hover {
    transform: translateY(-6px);
}

/* Image */
.recent-post-image {
    display: block;
    overflow: hidden;
}

.recent-post-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.recent-post-card:hover .recent-post-image img {
    transform: scale(1.05);
}

/* Content */
.recent-post-content {
    padding: 10px;
}

.recent-post-title {
    margin: 0;
}

.recent-post-title a {
    color: #fff !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}


/* Footer Button */
.recent-posts-footer {
    text-align: center;
    margin-top: 40px;
}

.view-more-button {
    display: inline-block;
    padding: 12px 32px;
    background: #ffffff;
    color: #000000;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    border: 2px solid #ffffff;
    transition: 0.3s ease;
}


/* ===== Responsive ===== */

@media (max-width: 992px) {
    .recent-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .recent-posts-grid {
        grid-template-columns: 1fr;
    }
}
.read-time {
    color: #ffffff; /* White text */
    font-weight: 500;
    font-size: 0.9em;
}

/* Optional: Add a small clock icon before it */
.read-time::before {
    content: "🕒 ";
    margin-right: 5px;
    color: #ff0000; /* Red icon to match your glow theme */
}
/* 1. Hide the raw text nodes (By, /, and Array) and any remaining author info */
.entry-meta {
    font-size: 0 !important; /* Hides all loose text nodes */
    display: flex !important;
    align-items: center;
    visibility: hidden; /* Hides the container content initially */
}

/* 2. Restore visibility and styling for only the Reading Time and Date */
.entry-meta .author,
.entry-meta .read-time,
.entry-meta .posted-on,
.entry-meta .posted-on a {
    font-size: 14px !important; /* Restore font size for visible elements */
    visibility: visible !important;
    color: #ffffff !important;
    display: inline-block !important;
}

/* 3. Reorder the meta items to place Reading Time BEFORE the Date */
/* Author first */
.ast-blog-meta .byline {
    order: 1;
}

/* Reading time */
.ast-blog-meta .read-time {
    order: 2;
}

/* Date */
.ast-blog-meta .posted-on {
    order: 3;
}

.entry-meta .author::after {
    content: "|";
    color: #ff0000; /* Matches your theme's red accent */
    font-weight: bold;
    margin: 0 10px;
    display: inline-block;
    order: 2 !important;
}

/* 4. Insert a custom Red Separator between the items */
.entry-meta .read-time::after {
    content: "|";
    color: #ff0000; /* Matches your theme's red accent */
    font-weight: bold;
    margin: 0 10px;
    display: inline-block;
    order: 2 !important;
}


	
/* ===== FIX FOR ASTRA ARCHIVE / BLOG PAGE ===== */

.ast-blog-meta {
/*     font-size: 0 !important; */
    display: flex !important;
    align-items: center;
    visibility: visible !important;
}

/* Restore reading time + date */
.ast-blog-meta .read-time,
.ast-blog-meta .posted-on,
.ast-blog-meta .posted-on a {
    font-size: 14px !important;
    visibility: visible !important;
    color: #ffffff !important;
    display: inline-block !important;
}

/* Order */
.ast-blog-meta .read-time {
    order: 1 !important;
}

.ast-blog-meta .posted-on {
    order: 3 !important;
}

/* Separator */
.ast-blog-meta .read-time::after {
    content: "|";
    color: #ff0000;
    font-weight: bold;
    margin: 0 10px;
}

/* Hide author */
.ast-blog-meta .posted-by,
.ast-blog-meta .byline,
.ast-blog-meta .author {
    display: none !important;
}

/* blob animation  */
/* =========================================
   BLOB BACKGROUND (INSIDE HERO ONLY)
========================================= */

.animated-blob-bg {
    position: absolute;
    inset: 0;
    z-index: 1;     /* CHANGE FROM 0 TO 1 */
    pointer-events: none;
}

/* Keep content above blobs */
.hero-container {
    position: relative;
    z-index: 2;
}


/* BLOB WRAPPER */
.animated-blob-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* HERO CONTENT ABOVE BLOBS */
.hero-container {
  position: relative;
  z-index: 2;
}

/* BLOBS */
.blob {
  position: absolute;
  width: 700px;
  height: 700px;
  
  background: radial-gradient(circle at center,
      #ef4444 0%,     /* lighter red */
      #b91c1c 40%,    /* red-700 */
      transparent 60%
  );
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.6;
}

/* Continuous Movement Animations */
.blob-a {
  top: -200px;
  left: -200px;
  animation: blob1 6s infinite ease-in-out 0s;
}

.blob-b {
  top: 20%;
  right: -250px;
  animation: blob2 6s infinite ease-in-out 0s; /* starts after blob1 finishes */
}

.blob-c {
  bottom: -250px;
  left: 30%;
  animation: blob3 6s infinite ease-in-out 0s; /* starts after blob2 finishes */
}

/* Top blob - circular motion */
@keyframes blob1 {
  0% {
    transform: translate(0, 0) scale(1.8); /* starting at center */
  }
  33% {
    transform: translate(300%, 150%) scale(2);
  }

  66% {
    transform: translate(0%, 40%) scale(1.9); /* left: 30%, bottom: 30% */
  }
  100% {
    transform: translate(0, 0) scale(1.8); /* back to center */
  }
}
/* .blob1 { animation: blob1 6s infinite linear;  } */

@keyframes blob2 {
  0% {
    transform: translate(0, 0) scale(2); /* center */
  }

  33% {
    transform: translate(200%, -130%) scale(2); /* move to right-bottom */
  }

  66% {
    transform: translate(200%, 0%) scale(2); /* move to bottom-center */
  }

  100% {
    transform: translate(0, 0) scale(2); /* back to center */
  }
}
/* .blob2 { animation: blob2 6s infinite linear; } */

@keyframes blob3 {
  0% {
    transform: translate(0, 0) scale(2); /* center */
  }

  33% {
    transform: translate(-200%, 100%) scale(2); /* moves to bottom-left */
  }

  66% {
    transform: translate(0%, -100%) scale(2); /* move to top-center */
  }

  100% {
    transform: translate(0, 0) scale(2); /* back to center */
  }
}

/* social media icons in footer */
ul.wp-block-social-links.has-normal-icon-size.has-icon-color.has-icon-background-color.is-style-default.is-content-justification-left.is-layout-flex.wp-container-core-social-links-is-layout-fc4fd283.wp-block-social-links-is-layout-flex {
    gap: 10px;
}
