.blog-hero {
  background: #000;
}
.blog-hero__head {
  display: grid;
  grid-template-columns: 53% 45%;
  margin: 0 auto 64px;
  gap: 25px;
  text-align: left;
}
.blog-hero__head .post-meta {
  margin: 0;
}
.blog-hero__description {
  color: rgba(255, 255, 255, 0.7);
}
.blog-hero__head-wrapper {
  display: flex;
  gap: 24px;
  flex-direction: column;
}
.blog-hero .animated-text + .tabs {
  margin-top: 48px;
}
.blog-hero__thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #5136C4;
  border-radius: 26px;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.blog-hero__thumbnail img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1024px) {
  .blog-hero h1 {
    line-height: 1.12;
  }
  .blog-hero__head {
    margin: 0 auto 44px;
    grid-template-columns: 1fr;
  }
  .blog-hero .post-meta {
    margin: 0 auto;
  }
  .blog-hero__head-wrapper {
    gap: 16px;
    text-align: center;
  }
  .blog-hero__thumbnail {
    max-height: 324px;
    border-radius: 16px;
  }
}
@media screen and (max-width: 767px) {
  .blog-hero .animated-text + .tabs {
    margin-top: 16px;
  }
}

.tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  max-width: fit-content;
  margin: 0 auto;
  padding: 2px;
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.32);
  border-radius: 12px;
}
.tabs .tab:last-child:after {
  display: none;
}

.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 24px;
  font-family: "Rethink Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.tab:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.tab:after {
  content: "";
  position: absolute;
  display: block;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tab--active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%), #FFFFFF;
  color: #000;
  pointer-events: none;
}

/* Post  */
.post-image {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
}
.post-image img {
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transition: transform 0.5s ease;
  transform: translate(-50%, -50%) scale(1);
}
.post-image:hover img {
  transform: translate(-50%, -50%) scale(1.1);
}

.post-meta {
  display: flex;
  align-items: center;
  font-weight: 400;
  max-width: fit-content;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  color: #A7A7A7;
  position: relative;
}
.post-meta .type-post {
  order: -1;
}
.post-meta:before {
  content: "";
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.90391 3.85592C1.55191 3.85592 1.23191 3.77058 0.943908 3.59992C0.655908 3.42925 0.426575 3.19992 0.255908 2.91192C0.0852416 2.61325 -9.17315e-05 2.28792 -9.17315e-05 1.93592C-9.17315e-05 1.57325 0.0852416 1.24792 0.255908 0.959916C0.426575 0.661249 0.655908 0.426582 0.943908 0.255916C1.23191 0.0852489 1.55191 -8.44002e-05 1.90391 -8.44002e-05C2.26658 -8.44002e-05 2.59191 0.0852489 2.87991 0.255916C3.17858 0.426582 3.41324 0.661249 3.58391 0.959916C3.75458 1.24792 3.83991 1.57325 3.83991 1.93592C3.83991 2.28792 3.75458 2.61325 3.58391 2.91192C3.41324 3.19992 3.17858 3.42925 2.87991 3.59992C2.59191 3.77058 2.26658 3.85592 1.90391 3.85592Z' fill='%23A7A7A7'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 4px;
  background-position: center;
}

.post-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 16px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid #303030;
  font-family: "Rethink Sans", sans-serif;
  position: relative;
  overflow: hidden;
}
.post-preview:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(306.03deg, #101010 37.95%, #191919 85.9%);
  transition: opacity 0.3s linear;
}
.post-preview:hover:before {
  opacity: 1;
}
.post-preview:hover .post-image img {
  transform: translate(-50%, -50%) scale(1.1);
}
.post-preview .post-image, .post-preview .post-content {
  z-index: 2;
  position: relative;
}
.post-preview h2 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}
.post-preview .post-content {
  display: grid;
  gap: 16px;
}
.post-preview .post-priview__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-preview .post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
}

/* Share */
.share-block {
  justify-content: space-between;
  padding: 24px 0 0;
  gap: 24px;
  border-top: 1px solid #333333;
}
.share-block, .share-block__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.share-block__list {
  gap: 12px;
}
.share-block .share__item {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 40px;
  height: 40px;
  color: #5B5B5B;
  font-weight: 500;
  font-size: 14px;
  background-color: #141414;
  border: 1px solid #303030;
  box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05), inset 0 0 0 1px rgba(10, 13, 18, 0.18), inset 0px -2px 0px rgba(10, 13, 18, 0.05);
  border-radius: 10px;
  transition: all 0.2s linear;
}
.share-block .share__item:hover {
  background-color: #cc2e4c;
  color: #fff;
  border: 1px solid #cc2e4c;
}
.share-block .share__item_copy {
  width: max-content;
  gap: 6px;
}
.share-block .share__item_copy .title-link {
  color: #FFFFFF;
}
.share-block .share__success {
  display: none;
  position: absolute;
  top: -24px;
  right: 0;
  font-size: 14px;
  z-index: 9;
}

.information-js {
  overflow: hidden;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .information-js__table-wrap {
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 98vw;
    max-width: 98vw;
  }
  .information-js__table-wrap table {
    min-width: 720px;
  }
}

.blog-content {
  display: grid;
  grid-template-columns: 24% 66%;
  gap: 129px;
  position: relative;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.7);
}
.blog-content .information > * {
  margin-bottom: 16px;
}
.blog-content .intro {
  background-color: #2a2932;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #474651;
  font-size: 20px;
  margin-bottom: 30px;
}
.blog-content .intro h2 {
  margin-top: 0;
  margin-bottom: 15px;
}
.blog-content .intro > * {
  margin-bottom: 16px;
}
.blog-content .intro > *:last-child {
  margin-bottom: 0;
}
.blog-content .intro p {
  color: white;
}
.blog-content img {
  border-radius: 20px;
  max-width: 100% !important;
  height: auto !important;
  width: auto;
  display: block;
}
.blog-content figure {
  border-radius: 20px;
  overflow: hidden;
  max-width: 100% !important;
}
.blog-content figure img {
  border-radius: 0;
  display: block;
  width: 100%;
  height: auto !important;
}
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Rethink Sans", sans-serif;
  font-size: 15px;
}
.blog-content table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
}
.blog-content table tbody tr:first-child {
  background-color: #5136C4;
}
.blog-content table tbody tr:first-child td {
  color: #fff;
  font-weight: 600;
  padding: 12px 16px;
}
.blog-content table tbody tr:first-child td p {
  margin: 0;
}
.blog-content table tbody tr:not(:first-child) {
  background-color: transparent;
}
.blog-content table tbody tr:not(:first-child):nth-child(even) {
  background-color: rgba(81, 54, 196, 0.08);
}
.blog-content table tbody tr:not(:first-child) td {
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 16px;
}
.blog-content table tbody tr:not(:first-child) td p {
  margin: 0;
}
.blog-content table tbody tr:not(:first-child) td:first-child {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
.blog-content table tbody tr:first-child td:first-child {
  border-radius: 8px 0 0 0;
}
.blog-content table tbody tr:first-child td:last-child {
  border-radius: 0 8px 0 0;
}
.blog-content table tbody tr:last-child {
  border-bottom: none;
}
.blog-content table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}
.blog-content table tbody tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}
@media screen and (max-width: 768px) {
  .blog-content table {
    font-size: 13px;
  }
  .blog-content table tbody tr td {
    padding: 8px 10px;
  }
}
.blog-content .information > *:first-child {
  margin-top: 0;
}
.blog-content .information {
  margin-bottom: 48px;
  font-size: 20px;
}
.blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
  margin-top: 48px;
}
.blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
  color: #fff;
}
.blog-content .information ol, .blog-content .information ul {
  margin: 24px 0;
  padding-left: 0;
  list-style: none;
}
.blog-content .information ol li, .blog-content .information ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.5;
}
.blog-content .information ol li:before, .blog-content .information ul li:before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-content .information ol {
  counter-reset: item;
}
.blog-content .information ol li {
  counter-increment: item;
}
.blog-content .information ol li::before {
  content: counter(item);
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
}
.blog-content .information ul li {
  padding-left: 28px;
}
.blog-content .information ul li:before {
  content: "";
  background-color: #5136C4;
  top: 10px;
  width: 10px;
  height: 10px;
}
.blog-content blockquote {
  padding: 24px;
  margin-top: 48px;
  background: linear-gradient(135.25deg, rgba(81, 54, 196, 0.5) 0.43%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(306.03deg, #101010 37.95%, #191919 85.9%);
  border-radius: 16px;
  overflow: hidden;
  font-weight: 400;
  font-size: 20px;
  color: #FFFFFF;
}
@media screen and (max-width: 1440px) {
  .blog-content {
    grid-template-columns: 25% 69%;
    gap: 5.6vw;
  }
}
@media screen and (max-width: 1024px) {
  .blog-content {
    grid-template-columns: 100%;
    gap: 40px;
  }
  .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    margin-top: 24px;
  }
  .blog-content .share-block {
    gap: 10px;
  }
  .blog-content .information ol li, .blog-content .information ul li {
    margin-bottom: 10px;
  }
  .blog-content .information {
    margin-bottom: 30px;
    font-size: 18px;
  }
  .blog-content .custom-toc {
    order: -1;
    right: unset;
    left: 50%;
  }
  .blog-content .custom-toc.fixed {
    position: fixed;
    top: unset;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    bottom: 16px;
  }
  .blog-content .custom-toc.hidden {
    opacity: 0;
    z-index: -1;
  }
  .blog-content blockquote {
    padding: 16px;
    margin-top: 24px;
  }
  .blog-content .intro {
    padding: 20px;
    font-size: 16px;
  }
}
@media screen and (max-width: 767px) {
  .blog-content {
    gap: 24px;
  }
  .blog-content form {
    grid-template-columns: 1fr;
  }
  .blog-content .information {
    font-size: 18px;
  }
  .blog-content .information ul li:before {
    top: 7px;
  }
  .blog-content blockquote {
    margin: 24px 0;
    font-size: 16px;
  }
  .blog-content .information ol li, .blog-content .information ul li {
    margin-bottom: 8px;
    font-size: 16px;
  }
  .blog-content h2 {
    margin-top: 24px;
    font-size: 20px;
  }
}

/* Toc */
.custom-toc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 4px;
  max-width: 306px;
  position: sticky;
  top: 88px;
  right: 0;
  height: fit-content;
}
.custom-toc .mCustomScrollbar .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #5136C4 !important;
}
.custom-toc .mCustomScrollbar .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background-color: rgb(113.716, 91.144, 209.856) !important;
}
.custom-toc .mCustomScrollbar .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.custom-toc .mCustomScrollbar .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
  background-color: rgb(130.954, 111.136, 215.364) !important;
}
.custom-toc .custom-toc__wrapper {
  position: relative;
}
.custom-toc .custom-toc__wrapper .mCustomScrollbar {
  max-height: 64vh;
}
.custom-toc .accordion-head {
  pointer-events: none;
}
.custom-toc ul {
  display: grid;
  gap: 10px;
}
.custom-toc h3 {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #7C66FF;
  width: 100%;
  background-color: #2A2932;
  padding: 8px;
  border-radius: 12px;
  margin: 0;
}
.custom-toc a {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  line-height: 24px;
  transition: color 0.2s linear;
}
.custom-toc a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.custom-toc a.active {
  color: #fff;
}
@media screen and (min-width: 1025px) {
  .custom-toc .accordion-body {
    display: block !important;
    margin-top: 12px;
  }
  .custom-toc .custom-toc__wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent 10%, transparent 10%, rgba(0, 0, 0, 0.5) 50%, #000 100%);
    pointer-events: none;
    z-index: 1;
  }
  .custom-toc .custom-toc__wrapper.no-gradient:after {
    opacity: 0;
  }
}
@media screen and (max-width: 1024px) {
  .custom-toc {
    max-width: 100%;
    background-color: #2A2932;
    border-radius: 12px;
    border: 1px solid #303030;
    transition: opacity 0.3s linear;
    padding: 8px 10px;
    z-index: 2;
  }
  .custom-toc .custom-toc__wrapper .mCustomScrollbar {
    max-height: 45vh;
  }
  .custom-toc .accordion-head {
    pointer-events: unset;
    cursor: pointer;
    width: 100%;
    position: relative;
    order: 2;
  }
  .custom-toc .accordion-head:before {
    content: "";
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 100%;
    height: 0;
    opacity: 0;
    border: 1px solid #FFFFFF;
    transition: opacity 0.3s;
  }
  .custom-toc .accordion-head::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    right: 16px;
    transform: translateY(-50%) rotate(-180deg);
    transition: transform 0.3s;
  }
  .custom-toc:hover {
    opacity: 1;
  }
  .custom-toc.is-open {
    opacity: 1;
  }
  .custom-toc.is-open .accordion-head::before {
    opacity: 0.1;
  }
  .custom-toc.is-open .accordion-head::after {
    transform: translateY(-50%) rotate(0deg);
  }
  .custom-toc .accordion-body {
    display: none;
    padding: 8px 10px 20px 10px;
  }
}

.subscribe-without-img .subscribe-section__wrapper {
  grid-template-columns: 1fr;
  margin: 0 auto;
}
.subscribe-without-img .subscribe-section__content {
  text-align: center;
}
.subscribe-without-img h2, .subscribe-without-img form, .subscribe-without-img .section-text {
  max-width: 582px;
  margin-left: auto;
  margin-right: auto;
}
.subscribe-without-img form {
  position: relative;
  display: grid;
  grid-template-columns: 60% 30%;
  gap: 8px;
}
.subscribe-without-img .form-group {
  margin: 0;
}
@media screen and (max-width: 767px) {
  .subscribe-without-img form {
    grid-template-columns: 1fr;
  }
}

.posts-list .empty, .posts-list .no-data {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #1e1e1e;
  border-radius: 12px;
  font-size: 1rem;
  color: #888;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.0509803922);
  position: relative;
  z-index: 2;
  grid-column: 1/-1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* Blog posts */
.blog-posts {
  display: grid;
  gap: 24px;
}
.blog-posts .posts-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.blog-posts .btn-load-more {
  min-width: 166px;
  margin: 0 auto;
}
@media screen and (min-width: 1920px) {
  .blog-posts .posts-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 1024px) {
  .blog-posts .posts-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .blog-posts .posts-list {
    grid-template-columns: 1fr;
  }
}

/***/
.other-articles {
  padding-top: 0;
  /* Define the desired space (e.g., 20px) */
}
.other-articles .slick-track {
  display: flex !important;
}
.other-articles .slick-slide {
  height: inherit !important;
}
.other-articles .slick-slide {
  margin: 0 10px; /* Half of the desired space on each side */
}
.other-articles .slick-list {
  margin: 0 -10px; /* Negative of the half space */
}
.other-articles__title {
  margin-bottom: 48px;
}
@media screen and (max-width: 767px) {
  .other-articles__title {
    margin-bottom: 24px;
  }
}
