.container-1440px {
  max-width: 1240px;
  margin: 0 auto;
}

/* hero section blog */

.blog-hero-section {
  background-color: #f8fdff;
  padding: 80px 80px 35px 80px;
}

.blog-hero-feature-post-img img {
  width: 100%;
}

.heading-container {
  padding-left: 40px;
  padding-right: 40px;
}

.blog-hero-section .heading-container h1 {
  font-family: 'Inter';
  font-weight: 500;
  font-size: 38px;
  line-height: 100%;
  text-align: center;
  line-height: 1.3;
  margin: 60px auto 50px auto;
  color: black;
}

/* updated code after revise dayalu */

.feature-blog-container {
  display: flex;
  border: 1px solid rgba(20, 177, 231, 0.08);
  gap: 30px;
  box-shadow: 0px 4px 4px 0px rgba(20, 177, 231, 0.07);
  padding: 30px;
  background-color: white;
  border-radius: 20px;
}

.feature-blog-title h2 {
  color: var(--black-1, #212121);
  font-family: 'Inter';
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  margin: 14px auto 10px auto;
  letter-spacing: 0px;
  line-height: 1.32;
}

.feature-blog-content p {
  color: var(--black-2, #575756);
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  margin: -2px 0px 10px 0px;
}

.feature-blog-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

span.feature-blog-tag-date {
  font-size: 13px;
  color: #666;
}

span.feature-blog-tag {
  background-color: #FCB040;
  padding: 4px 13px 6px 14px;
  font-size: 12px;
  color: white;
  border-radius: 5px;
  font-family: 'Poppins';
}

.feature-blog-container-img {
  width: 54%;
  margin: auto;
}

.feature-blog-container-img img {
  border: 1px solid rgba(20, 177, 231, 0.1);
  border-radius: 20px;
  box-shadow: 0px 3px 3px 0px rgba(20, 177, 231, 0.07);
}

.feature-blog-container-content {
  width: 44%;
}

/* update code after revise dayalu end  */

.blog-hero-feature-post {
  position: relative;
}

.blog-hero-feature-post-content {
  position: absolute;
  padding: 25px;
  bottom: -75px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(20, 177, 231, 0.07);
  max-width: 70%;
  right: -30px;
}

.blog-hero-feature-post-content .blog-hero-tags .blog-hero-tag {
  color: var(--iDream-blue-1, #1bb1e7);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 18px */
}

.blog-hero-feature-post-content .blog-hero-tags .blog-hero-date {
  color: var(--iDream-gray-1, #667085);
  font-family: "Inter";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 18px */
}

.blog-hero-feature-post-title h2 {
  color: var(--black-1, #212121);
  font-family: "Poppins";
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  margin: 10px 0px;
}

.blog-hero-feature-post-excerpt p {
  color: var(--black-2, #575756);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  margin: 10px 0px;
  line-height: 1.2;
}

.continue-reading-btn:visited{
  color: var(--iDream-blue-1, #1bb1e7);
}

.continue-reading-btn {
  border-radius: 8px;
  border: 1px solid var(--iDream-blue-1, #1bb1e7) !important;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(20, 177, 231, 0.07);
  padding: 10px 20px;
  color: var(--iDream-blue-1, #1bb1e7);
  font-family: Inter;
  font-size: 16px;
  margin: 20px 0px 10px 0px;
  display: block;
  width: fit-content;
  background-color: #F5FDFF;
}

/* blog category section */


/* updated code after revise dayalu */
.blog-category-section {
  display: flex;
  gap: 13px;
  overflow-x: auto; /* ✅ make sure this is `auto` or `scroll` */
  margin-top: 35px;
  position: relative;
  padding-bottom: 4px;
  padding-right: 40px;
}


.blog-category-section::-webkit-scrollbar {
  display: none;
}

.runner-blur::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40px;
  background: linear-gradient(to left, transparent, #f8fdff);
  pointer-events: none;
}


.runner-blur{
  position: relative;
}



.runner-blur::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 60px;
  background: linear-gradient(to right, transparent, #f8fdff);
  pointer-events: none;
}

.blog-category-section span {
  color: var(--black-1, #212121);
  font-family: 'Inter';
  font-size: 15.5px;
  cursor: pointer;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  line-height: normal;
  border-radius: 26px;
  border: 1px solid rgba(87, 87, 86, 0.25);
  padding: 10px 20px;
}
/* blog categroy section end updated code after revise dayalu */

/* blog by category section */

.blog-by-category-container {
  margin-top: 45px;
}


.heading-view-all-blogs {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.heading-view-all-blogs h3 {
  color: var(--black-1, #212121);
  font-family: "Poppins";
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.view-all-btn {
  color: var(--iDream-blue-1, #ffffff) !important;
  font-family: Poppins;
  line-height: 1.2;
  background-color: var(--iDream-blue-1, #1bb1e7);
  padding: 16px 48px;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.blog-by-category-container-first-img {
  width: 54%;
  margin: 0px;
}

.blog-by-category-container-second-img img {
  width: 100%;
  max-width: 419px;
  object-fit: cover;
  height: 230px;
  border-radius: 6px;
}

.blog-by-category-container-first-content {
  width: 42%;
}

.blog-by-category-container-first-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.blog-by-category-container-first {
  display: flex;
  box-shadow: 0px 4px 4px 0px rgba(20, 177, 231, 0.07);
  border-radius: 12px;
  justify-content: space-between;
  padding-bottom: 10px;
}

.blog-by-category-container-first-img img {
  border-radius: 16px;
}

.blog-by-category-container-date span {
  color: var(--black-2, #575756);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.blog-by-category-container-title h4 {
  color: var(--black-1, #212121);
  font-family: "Poppins";
  font-size: 25px;
  margin: 10px 0px;
  font-weight: 600;
  line-height: 1.35;
}

.blog-by-category-container-excerpt p {
  color: var(--black-2, #575756);
  font-family: Inter;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  margin: 4px 0px;
}

/* blog by category grid */

.blog-by-category-container-second {
  margin-top: 60px;
  display: flex;
  gap: 30px;
}

.blog-by-category-container-second-date span {
  color: var(--black-2, #575756);
  font-family: "Poppins";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.blog-by-category-container-second-title h4 {
  color: var(--black-1, #212121);
  font-family: "Poppins";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  margin: 10px 0px;
}

.blog-by-category-container-second-excerpt p {
  color: var(--black-2, #575756);
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  margin: 10px 0px;
  line-height: 1.3;
}

.blog-by-category-container-second-content a {
  color: var(--iDream-blue-1, #1bb1e7);
  font-family: "Poppins";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

/* blog by category grid end  */

/* newsletter section css start */

.blog-home-newsletter-content {
  width: 70%;
  padding: 0px 20px 0px 50px;
}

.blog-home-newsletter-image {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-home-newsletter-img{
  width: 30%;
}

.blog-home-newsletter-content h4 {
  font-family: 'Poppins';
  font-weight: 600;
  font-size: 36px;
  line-height: 1.3;
  padding-top: 10px;
  margin: 10px 0px 15px 0px;
  color: #212121;
}

form.blog-home-newsletter-form {
  display: flex;
}

.blog-home-newsletter-form input[type="email"] {
  color: #FFFFFF;
  border: none;
  padding: 15px 20px;
  width: 100%;
  max-width: 380px;
}

.blog-home-newsletter-form button {
  background-color: #212121;
  color: #FFFFFF;
  cursor: pointer;
  border: none;
  padding: 15px 30px;
}

.blog-home-newsletter-content p {
  font-family: Inter;
  font-weight: 400;
  font-size: 12px;
  padding: 0px;
  margin: 8px 0px;
}


.blog-home-newsletter-image img {
  height: 100%;
  max-height: 220px;
  object-fit: contain;
}

.blog-home-newsletter-container {
  background-color: #E2F7FF;
  display: flex;
  justify-content: space-between;
  margin: 80px auto;
  padding: 40px 20px;
}

.blog-by-category-container-second a {
  flex: 1;
}

/* newsletter section css end */

/* common css for all section */

/* .padding-80px,
.blog-by-category-container {
  padding: 0px 80px;
} */
/* responsive code */

@media only screen and (max-width: 1380px) {
  .runner-blur{
    padding: 0px 80px 0px 80px;
  }
  .blog-by-category-container {
    padding: 0px 80px 0px 80px;
  }
}

@media only screen and (max-width: 992px) {
  .feature-blog-container{
    flex-direction: column;
  }

  .feature-blog-container-img {
      width: 100%;
      margin: auto;
  }

  .feature-blog-container-content {
    width: 100%;
  }

  .blog-hero-feature-post-content {
    top: 75%;
    max-width: 95%;
    right: -15px;
    bottom: inherit;
  }

  .blog-hero-section {
    padding: 80px 30px 30px 30px;
    /* height: 100vh; */
  }
  .blog-hero-feature-post-title h2 {
    font-size: 28px;
  }
  .blog-hero-feature-post-excerpt p {
    font-size: 18px;
  }

  .blog-category-section span {
    font-size: 16px;
  }

  .heading-view-all-blogs h3 {
    font-size: 32px;
  }

  .view-all-btn {
    padding: 14px 40px;
    font-size: 14px;
  }
  .blog-category-section,
  .blog-by-category-container {
    padding: 0px 40px;
  }
  .blog-by-category-container-title h4 {
    font-size: 28px;
  }

  .feature-blog-tag{
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
  }

  /* newsletter code start*/
  .blog-home-newsletter-content {
    width: 70%;
    padding: 0px 20px 0px 80px;
  }
  .blog-home-newsletter-img {
    width: 30%;
  }
  .blog-home-newsletter-content h4 {
    padding-top: 10px;
    font-size: 28px;
    margin-bottom: 20px;
}
.blog-home-newsletter-form input[type="email"] {
  color: #FFFFFF;
  border: none;
  padding: 12px 14px;
  width: 100%;
  max-width: 220px;
}
  /* newsletter code end */
}

@media only screen and (max-width: 768px) {
  .blog-hero-feature-post-title h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .blog-by-category-container-first {
    justify-content: space-between;
    flex-direction: column;
  }
  .blog-by-category-container-first-img,
  .blog-by-category-container-first-content {
    width: 100%;
  }
  .heading-view-all-blogs h3 {
    font-size: 28px;
  }
  .view-all-btn {
    padding: 14px 35px;
  }
  .blog-by-category-container-title h4 {
    font-size: 24px;
  }
  .blog-by-category-container-second {
    flex-direction: column;
  }

  .blog-by-category-container-second-img img{
    max-width: 100%;
    height: initial;
  }

  /* newsletter code */

.blog-home-newsletter-form input[type="email"] {
  color: #FFFFFF;
  border: none;
  font-size: 14px;
  padding: 5px 12px;
  width: 100%;
  max-width: 220px;
}
.blog-home-newsletter-form button {
  background-color: #212121;
  color: #FFFFFF;
  cursor: pointer;
  border: none;
  font-size: 14px;
  padding: 12px 22px;
}

.blog-home-newsletter-content h4 {
  padding-top: 10px;
  font-size: 18px;
  margin-bottom: 20px;
}
  /* newsletter code end */
}

@media only screen and (max-width: 600px) {

  .heading-container{
    padding-left: 0px;
    padding-right: 0px;
  }
  .blog-hero-feature-post-title h2 {
    font-size: 21px;
  }
  .blog-hero-feature-post-excerpt p {
    font-size: 16px;
  }
  .continue-reading-btn {
    font-size: 14px;
  }

  .blog-category-section span {
    font-size: 14px;
    font-weight: 700;
  }
  .heading-view-all-blogs h3 {
    font-size: 20px;
  }

  .feature-blog-title h2{
    font-size: 22px;
  }

  .view-all-btn {
    padding: 10px 28px;
    font-size: 12px;
  }

  .blog-by-category-container-title h4,
  .blog-by-category-container-second-title h4 {
    font-size: 16px;
    margin: 5px 0px;
    line-height: 1.2;
  }
  .blog-by-category-container-excerpt p,
  .blog-by-category-container-second-excerpt p {
    font-size: 14px;
    margin: 4px 0px;
  }
  .continue-reading-btn {
    font-size: 13px;
    margin: 10px 0px;
  }
  .blog-category-section{
    padding: 0px 0px 0px 0px;
  }
  .blog-by-category-container {
    padding: 0px 24px;
  }
  .blog-by-category-container {
    margin-top: 20px;
  }
  .blog-by-category-container-second {
    margin-top: 26px;
  }
  .blog-hero-section .heading-container h1 {
    margin-top: 20px;
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 20px;
  }
  .blog-hero-section{
    padding: 80px 12px 30px 12px;
  }

  .runner-blur, .blog-by-category-container{
    padding: 0px 20px 0px 20px;
  }

  .heading-view-all-blogs{
    padding: 0px 0px 0px 0px;
  }

  /* newsletter code */
  .blog-home-newsletter-content {
    width: 70%;
    padding: 0px 20px 0px 50px;
  }
.feature-blog-container{
  padding: 12px;
}
/* newsletter code end  */
}

@media only screen and (max-width: 400px) {
  .blog-hero-feature-post-title h2 {
    font-size: 16px;
  }
  .blog-hero-feature-post-excerpt p {
    font-size: 13px;
  }
  .view-all-btn {
    padding: 12px 22px;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 500;
  }
  .blog-category-section span {
    font-size: 12px;
  }
}
