#blog-page .ct-bnr {
  background-color: #fff;
}

#blog-page .blog-banner {
  background: url("/wp-content/uploads/2025/06/blog-banner.png") center
    center/cover no-repeat;

  text-align: center;

  padding: clamp(100px, 15vw, 250px) clamp(20px, 4vw, 60px);

  color: #fff;

  position: relative;
}

#blog-page .blog-banner h1 {
  font-family: Nunito;

  font-weight: 800;

  font-size: clamp(35px, 5vw, 70px);

  line-height: 70px;

  text-align: center;
}

#blog-page .container {
  margin: 90px;
}

#blog-page .blog-grid {
  display: flex;

  flex-wrap: wrap;
}

#blog-page .blog-card {
  background: #f3f9fc;

  border-radius: 12px;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);

  transition: transform 0.3s ease;

  display: flex;

  flex-direction: column;

  height: 100%;

  overflow: hidden;
}

#blog-page .blog-card:hover {
  transform: translateY(-5px);
}

#blog-page .blog-img {
  position: relative;

  height: 400px;

  overflow: hidden;
}

#blog-page .blog-img img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}

#blog-page .blog-date {
  position: absolute;

  bottom: 15px;

  right: 15px;

  background: linear-gradient(90deg, #21b2ee 0%, #01e8af 100%);

  color: #fff;

  font-size: clamp(10px, 0.8vw, 12px);

  padding: 6px 8px;

  text-align: center;

  border-radius: 4px;

  line-height: 1.2rem;
}

#blog-page .blog-date .day {
  font-size: clamp(12px, 1vw, 16px);

  font-weight: bold;

  display: block;
}

#blog-page .blog-content {
  padding: 20px;

  flex-grow: 1;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}

#blog-page .blog-content h5 {
  font-family: Nunito;

  font-weight: 800;

  font-size: clamp(18px, 1.6vw, 25px);

  line-height: 1.4;

  color: #000000;
}

#blog-page .read-more-wrap {
  margin-top: auto;

  text-align: left;
}

#blog-page .read-more {
  font-family: Manrope;

  font-weight: 700;

  font-size: clamp(15px, 1.2vw, 20px);

  line-height: 100%;

  text-transform: capitalize;

  color: #051621;

  text-decoration: none;

  transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

#blog-page .read-more:hover {
  text-decoration: underline;
}

#blog-page .page-ignition {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 20px;

  margin-top: 20px;
}

#blog-page .page-ignition span {
  font-size: clamp(14px, 1vw, 18px);

  font-weight: 900;

  text-align: center;

  background: linear-gradient(90deg, #21b2ee 0%, #01e8af 100%);

  padding: 10px 15px;

  border-radius: 10px;

  color: #000000;
}

#blog-page .page-ignition span:hover {
  background: #000000;

  color: #01e8af;
}

/****************************Single Page Blog Css  ****************************/

#single-blog .blog-banner {
  text-align: center;

  padding: 0 !important;

  color: #fff;

  position: relative;

  height: clamp(300px, 28.6vw, 550px);

  width: 100%;

  max-width: 100%;

  background-repeat: no-repeat;

  display: grid;

  place-items: center;
}

#single-blog .container {
  margin: 0 auto;

  width: 100%;

  max-width: 1220px;
}

/* #single-blog .blog-banner:before {

  content: "";

  display: block;

  width: 100%;

  height: 100%;

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background-color: rgba(0, 0, 0, 0.3);

} */

#single-blog .wp-block-image img {
  width: 100%;

  max-width: 100%;

  margin-bottom: 30px;
}

#single-blog h1 {
  font-family: Nunito;

  font-weight: 800;

  font-size: clamp(25px, 2.34vw + 8.07px, 50px);

  line-height: 1.5;

  text-align: center;

  position: relative;

  z-index: 9;

  margin: 0px 15%;
}

#single-blog .blog-featured-img {
  margin-top: clamp(20px, 4vw, 50px);

  text-align: center;
}

#single-blog .blog-featured-img img {
  width: 100%;

  max-width: 100%;

  border-radius: 12px;
}

#single-blog .blog-content {
  font-family: Manrope;

  font-weight: 500;

  font-size: clamp(15px, 1.2vw, 20px);

  line-height: 1.7;

  margin-top: 2%;
}

#single-blog .wp-block-heading {
  font-weight: 700 !important;

  font-size: clamp(25px, 3vw, 45px);
}

#single-blog .wp-block-heading strong {
  font-weight: 700 !important;
}

/* Responsive Blog Page  */

@media (max-width: 1439px) {
  #blog-page .container {
    margin: 50px 30px;
  }
}

/* Tablet  */

@media (max-width: 1023px) {
  #blog-page .container {
    margin: 50px 0px !important;

    width: 100%;
  }

  #single-blog .blog-content {
    padding: 0 !important;
  }

  #single-blog .wp-block-heading {
    font-weight: 600 !important;
  }

  #single-blog h1 {
    font-weight: 700;
  }

  #single-blog .blog-content h2,
  #single-blog .blog-content h3,
  #single-blog .blog-content h4,
  #single-blog .blog-content h5,
  #single-blog .blog-content h6,
  #single-blog .blog-content img {
    margin-top: 25px;
  }

  #blog-page .blog-img {
    height: 300px !important;
  }
}

/* Mobile  */

@media (max-width: 767px) {
  #blog-page .col-sm-6 {
    width: 100%;
  }

  #blog-page .container {
    margin: 50px 0px;

    width: 100%;
  }

  #single-blog .blog-content h2,
  #single-blog .blog-content h3,
  #single-blog .blog-content h4,
  #single-blog .blog-content h5,
  #single-blog .blog-content h6,
  #single-blog .blog-content img {
    margin-top: 20px;
  }
}
