.first-post {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 92px;
}

.first-post .first-post-content-wrapper {
  max-width: 684px;
  width: 100%;
}

.first-post .first-post-content-wrapper .first-post-content h2 {
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 54px;
  font-style: normal;
  font-weight: 700;
  line-height: 62px;
  margin-bottom: 16px !important;
}
.first-post .first-post-content-wrapper .first-post-content p {
  color: #868e96;
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 24px !important;
}
.first-post .first-post-content-wrapper .first-post-content .category-item {
  /* max-width: 266px; */
  padding: 1rem;
  position: relative;
  background: linear-gradient(to right, #6248ff, #d525ff, #ffcd57);
  padding: 2px;
  border-radius: 27px;
  /* display: ; */
}
.first-post .first-post-content-wrapper .first-post-content .category {
  color: #868e96;
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  padding: 4px 16px;
  border-radius: 27px;
  display: block;
  text-align: center;
  background: #fff;
  margin-bottom: 0;
}

.first-post .first-post-content-wrapper .first-post-content .read-more {
  color: #fff;
  text-align: center;
  font-family: "Inter Tight", sans-serif;
  font-family: "Inter Tight";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  text-transform: uppercase;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px !important;
}

.first-post .first-post-content-wrapper .first-post-content hr,
.other-post-hr {
  width: 100%;
  height: 1px;
  background: #323038 !important;
}

.first-post .first-post-thumbnail img {
  max-width: 628px;
  width: 100%;
  max-height: 396px;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.other-post-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.other-post-layout .other-posts {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0e101a;
  border-radius: 20px;
  border: 1px solid #323038;
}
.other-post-img {
  min-width: 299px;
  max-width: 100%;
  width: auto;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}
.other-post-layout .other-posts img.attachment-large {
  max-width: 300px;
  width: 100%;
  min-height: 352px;
  height: 100%;
  border-radius: 20px 0 0 20px;
  object-fit: cover;
  transform: scale(1.05);
  transition: 0.3s ease-in-out;
  overflow: hidden;
}
.other-post-layout .other-posts img.attachment-large:hover {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
}

.other-post-content {
  padding: 35px;
}

.other-post-content a.post-title {
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 24px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 32px !important;
  margin-bottom: 10px !important;
}

.other-post-content p {
  margin-top: 16px;
  color: #868e96;
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 32px !important;
}

/*  Category list style  */

.altgen-category-list {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin: 0;
  flex-wrap: wrap;
}

.altgen-category-list li {
  list-style: none;
  position: relative;
  background: linear-gradient(to right, #6248ff, #d525ff, #ffcd57);
  padding: 2px 1px 3px 1px;
  border-radius: 27px;
}

.altgen-category-list li a {
  color: #868e96;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  padding: 4px 16px;
  border-radius: 27px;
  background-color: #0e101a;
}

.elementor-pagination {
  margin: 60px 0 20px 0;
}

.elementor-pagination .page-numbers {
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  padding: 12px 18px;
  border-radius: 8px;
  text-transform: uppercase;
  /* background: linear-gradient(to right, #6248ff, #d525ff, #ffcd57); */
}

.elementor-pagination .current {
  background: linear-gradient(to right, #6248ff, #d525ff, #ffcd57);
}
.elementor-pagination .next,
.elementor-pagination .prev {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.elementor-pagination .next::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cg id='Linear / Arrows / Arrow Left' clip-path='url(%23clip0_5035_517)'%3E%3Cpath id='Vector' d='M1.8664 7.00003H13.0664M13.0664 7.00003L8.08863 1.8667M13.0664 7.00003L8.08863 12.1334' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_5035_517'%3E%3Crect width='14' height='14' fill='white' transform='matrix(-1 0 0 1 14 0)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-size: cover;
}
.elementor-pagination .prev::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cg id='Linear / Arrows / Arrow Left' clip-path='url(%23clip0_5035_517)'%3E%3Cpath id='Vector' d='M1.8664 7.00003H13.0664M13.0664 7.00003L8.08863 1.8667M13.0664 7.00003L8.08863 12.1334' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_5035_517'%3E%3Crect width='14' height='14' fill='white' transform='matrix(-1 0 0 1 14 0)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-size: cover;
  transform: rotate(0.5turn);
}

/* Single Post  */

.wp-block-separator.has-text-color.has-cyan-bluish-gray-color.has-alpha-channel-opacity.has-cyan-bluish-gray-background-color.has-background.is-style-wide {
  margin: 24px 0;
}
.wp-block-image.size-full img {
  height: auto;
  max-width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* .elementor-toc__body .elementor-toc__list-item-text.elementor-item-active {
	background-color: #D525FF0F;
} 


.elementor-toc__list-wrapper {
  margin: 0px !important;
}

.elementor-toc__list-item {
	margin: 12px 0;
}

.elementor-toc__body {
  padding: 0 !important;
}

.elementor-toc__body .elementor-toc__list-item-text.elementor-item-active {
	border-left: 4px solid;
	/* padding-left: 20px; */
/* background: rgba(213, 37, 255, 0.06); */

@media only screen and (max-width: 767px) {
  .altgen-custom-post-layout .first-post {
    flex-wrap: wrap-reverse;
    gap: 40px;
  }
  .altgen-custom-post-layout .first-post h2 {
    font-size: 36px !important;
    line-height: 42px !important;
    text-align: center;
  }
  .altgen-custom-post-layout .first-post p {
    text-align: center;
  }
  .altgen-custom-post-layout .first-post .read-more {
    justify-content: center !important;
  }
  .other-post-layout {
    flex-wrap: wrap-reverse !important;
  }
  .other-post-layout .other-posts {
    /* flex-direction: ; */
    max-width: 700px;
    width: 100%;
    flex-direction: column;
  }
  /* .other-post-layout .other-posts img.attachment-large {
    max-width: 767px !important;
    width: 100%;
    min-height: 300px !important;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
  } */
  .other-post-img {
    width: 100%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}
.other-post-layout {
  margin-bottom: 30px;
}
.other-post-layout .other-posts img.attachment-large {
  max-width: 100%;
  min-height: 240px;
  width: 100%;
  border-radius: 20px 0 0 20px;
  object-fit: cover;
  transform: scale(1.05);
  transition: 0.3s ease-in-out;
  overflow: hidden;
}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .altgen-custom-post-layout .first-post {
    flex-wrap: wrap-reverse;
    gap: 40px;
  }
  .altgen-custom-post-layout .first-post h2 {
    font-size: 36px !important;
    line-height: 42px !important;
    text-align: center;
  }
  .altgen-custom-post-layout .first-post p {
    text-align: center;
  }
  .altgen-custom-post-layout .first-post .read-more {
    justify-content: center !important;
  }
  .other-post-layout {
    flex-wrap: wrap-reverse !important;
    margin-bottom: 40px;
  }
  .other-post-layout .other-posts {
    /* flex-direction: ; */
    max-width: 700px;
    width: 100%;
  }
  /* .other-post-layout .other-posts img.attachment-large {
    max-width: 767px !important;
    width: 100%;
    min-height: 300px !important;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
  } */
}


.author-social-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  justify-content: flex-end;
}
.author-social-links li{

  background: linear-gradient(to right, #6248ff, #d525ff, #ffcd57);
  border-radius: 27px;
  padding: 2px;
  position: relative;
}

.author-social-links li a{
  height: 40px;
  width: 40px;
  background: #0E101A;
  padding: 12px;
  border-radius: 27px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
}


body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #181a29bb;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(to top, #6248ff, #d525ff, #ffcd57);
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to top, #4b36c6, #b51e98, #e8b746);
}

div#elementor-toc__2198260::-webkit-scrollbar {
  width: 5px;
}

div#elementor-toc__2198260::-webkit-scrollbar-thumb {
  background: linear-gradient(to top, #6248ff, #d525ff, #ffcd57);
  border-radius: 5px;
}

div#elementor-toc__2198260::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to top, #4b36c6, #b51e98, #e8b746);
}



/* #close-elementor-template {
  background-color: transparent;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  font-size: 16px;
  padding: 8px 12px;
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
} */
