@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #58afa3;
  --footer-text-gray: #ffffffcc;
  --text-primary-gray: #575772;
}

body {
  font-family: "Poppins", sans-serif;

  &:has(.side-drawer-backdrop.open) {
    overflow-y: hidden;
  }
}

.page-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}

.page-content {
  width: 100%;
  background-color: #fff;
}

/* header start */
.header {
  width: 100%;
  background-color: #f8f9fa;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  position: sticky;
  top: 0;
  z-index: 1;

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  a {
    text-decoration: none;
  }

  .header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 16px;
    padding-block: 16px;
    padding-inline: 46px 42px;
    width: 100%;

    @media screen and (max-width: 1599px) {
      padding-inline: 36px 32px;
    }

    @media screen and (max-width: 1399px) {
      padding-inline: 20px;
    }

    @media screen and (max-width: 1199px) {
      flex-direction: column;

      &:has(.no-menu-message) {
        row-gap: 12px;
      }
    }

    @media screen and (max-width: 991px) {
      padding-inline: 24px;
    }

    @media screen and (max-width: 767px) {
      padding-inline: 20px;
    }

    @media screen and (max-width: 575px) {
      padding: 14px 16px;
    }

    .header-main {
      @media screen and (max-width: 1199px) {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
    }

    .custom-logo {
      max-width: 148px;
      width: 100%;
      height: auto;
      display: inline-block;
      cursor: pointer;

      @media screen and (max-width: 1199px) {
        max-width: 138px;
      }

      @media screen and (max-width: 991px) {
        max-width: 132px;
      }

      @media screen and (max-width: 767px) {
        max-width: 124px;
      }

      @media screen and (max-width: 575px) {
        max-width: 110px;
      }

      img {
        width: 100%;
      }
    }

    .hamburger-menu {
      padding: 0;
      border: none;
      background-color: transparent;
      cursor: pointer;
      color: var(--text-primary-gray);
      font-size: 22px;
      display: none;

      @media screen and (max-width: 1199px) {
        display: flex;
      }

      @media screen and (max-width: 575px) {
        font-size: 20px;
      }
    }
  }

  /* .header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 20px;

    li {
      transition: 0.2s ease-in-out;
      color: #575772;

      &:is(:hover, .active) {
        color: #58afa3;
      }

      a {
        text-decoration: none;
        color: inherit;
        font-size: 16px;
        font-weight: 500;
      }
    }
  } */

  /* side-drawer */
  .side-drawer {
    @media screen and (max-width: 1199px) {
      max-width: 300px;
      width: 80%;
      height: 100dvh;
      position: fixed;
      top: 0;
      right: 0;
      transform: translateX(100%);
      background-color: #fff;
      z-index: 9;
      transition: 0.2s ease-in-out;
      justify-content: start;

      &.open {
        transform: translateX(0);
      }
    }

    .drawer-header {
      border-bottom: 1px dashed rgba(87, 87, 87, 0.2);
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      display: none;
      padding: 12px 14px;

      @media screen and (max-width: 1199px) {
        display: flex;
      }
    }

    .category-heading {
      font-size: 18px;
      font-weight: 600;
      color: var(--text-primary-gray);
      margin-bottom: 0;
    }

    .btn-closed {
      border: none;
      outline: none;
      display: grid;
      place-items: center;
      font-size: 14px;
      color: var(--text-primary-gray);
      background-color: transparent;
      border: 1px solid rgba(87, 87, 87, 0.2);
      border-radius: 3px;
      padding: 0;
      width: 24px;
      min-width: 24px;
      height: 24px;
    }
  }

  /* header-categories */
  .header-categories {
    display: flex;
    align-items: center;
    justify-content: end;
    column-gap: 8px;
    width: 100%;

    @media screen and (max-width: 1399px) {
      column-gap: 4px;
    }

    @media screen and (max-width: 1199px) {
      flex-direction: column;
      justify-content: start;
      height: calc(100% - 60px);
      overflow-y: auto;
    }

    .category {
      position: relative;
      padding: 12px 8px;
      color: var(--text-primary-gray);
      font-size: 16px;
      font-weight: 500;
      line-height: 1;
      cursor: pointer;

      @media screen and (max-width: 1599px) {
        font-size: 15px;
        padding: 12px 8px;
      }

      @media screen and (max-width: 1399px) {
        font-size: 14px;
        padding: 12px 4px;
      }

      @media screen and (max-width: 1199px) {
        width: 100%;
        padding: 0;
        font-size: 16px;
      }

      .category-item {
        @media screen and (max-width: 1199px) {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 12px 16px;
          border-bottom: 1px dashed rgba(87, 87, 87, 0.2);
        }

        a {
          color: inherit;
          font-size: inherit;
          transition: 0.2s ease-in-out;
        }
      }

      .down-icon {
        rotate: -180deg;
        transition: 0.2s ease-in-out;
      }

      @media screen and (min-width: 1200px) {
        &:hover {
          color: var(--primary-color);

          .down-icon {
            rotate: 0deg;
          }

          .category-dropdown {
            opacity: 1;
            visibility: visible;
          }
        }
      }

      @media screen and (max-width: 1199px) {
        &.active {
          .down-icon {
            rotate: 0deg;
          }

          .category-dropdown {
            overflow-y: auto;
            height: 320px;
          }
        }
      }
    }

    .category-dropdown {
      @media screen and (min-width: 1200px) {
        position: absolute;
        top: 38px;
        right: 0px;
        min-width: 272px;
        background-color: #f8f9fa;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        opacity: 0;
        visibility: hidden;
        z-index: 9;
        padding-block: 4px 6px;
      }

      @media screen and (max-width: 1199px) {
        width: 100%;
        overflow: hidden;
        height: 0;
        transition: height 0.3s ease-in-out;
      }

      li {
        padding: 12px 16px;
        color: #575772;
        font-weight: 500;
        line-height: 1;
        font-size: 16px;

        &:not(:last-child) {
          border-bottom: 1px dashed rgba(87, 87, 87, 0.2);
        }

        @media screen and (max-width: 1399px) {
          font-size: 14px;
          border-bottom: 1px dashed rgba(87, 87, 87, 0.2);
        }

        a {
          color: inherit;
          font-size: inherit;
          font-weight: inherit;
          display: flex;
          align-items: center;
          justify-content: flex-start;
          column-gap: 6px;

          .icon {
            font-size: 14px;
            transform: translateX(-6px);
            opacity: 0;
            transition:
              opacity 0.1s linear,
              transform 0.1s linear;
          }

          span {
            transform: translateX(-16px);
            transition: 0.15s linear;
          }
        }

        &:hover {
          color: #58afa3;

          .icon {
            transform: translateX(0);
            opacity: 1;
          }

          span {
            transform: translateX(0);
          }
        }
      }
    }
  }

  /* side-drawer-backdrop */
  .side-drawer-backdrop {
    display: none;

    @media screen and (max-width: 1199px) {
      display: block;
      width: 100dvw;
      height: 100dvh;
      position: fixed;
      top: 0;
      right: 0;
      transform: translateX(100%);
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 3;
      transition: 0.2s ease-in-out;

      &.open {
        transform: translateX(0);
      }
    }
  }

  .no-menu-message {
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
    margin-bottom: 0;

    @media screen and (max-width: 991px) {
      font-size: 12px;
    }
  }
}

/* header end */

/* footer start */
footer {
  width: 100%;
  background-color: rgb(25, 25, 25);
  padding-block: 38px 8px;

  .footer-top {
    width: 100%;

    .site-title {
      color: rgba(255, 255, 255, 0.8);
      font-weight: 600;
      text-align: center;
      margin-bottom: 14px;
    }

    .socials-links {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      width: 100%;
      column-gap: 12px;
      row-gap: 6px;
      margin-bottom: 16px;

      a {
        text-decoration: none;
        color: var(--footer-text-gray);
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: 0.2s ease-in-out;

        &:hover {
          color: var(--primary-color);
          transform: scale(1.075);
          transform-origin: center;
        }
      }

      span {
        /* width: 2px;
        height: 4px; */
        color: var(--footer-text-gray);
        font-weight: 500;
        font-size: 14px;
        /* margin-left: 8px; */
      }
    }
  }

  .legal-txt {
    color: var(--footer-text-gray);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0;
  }

  .subscribe-wrapper {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid gray;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    height: 44px;
    margin-bottom: 20px;

    input {
      height: 100%;
      width: 100%;
      background-color: white;
      border: none;
      outline: none;
      padding: 8px 98px 8px 18px;
      color: rgba(0, 0, 0, 0.8);
      font-size: 16px;
      font-weight: 500;

      &::placeholder {
        color: rgba(0, 0, 0, 0.3);
        font-weight: 400;
      }
    }

    button {
      position: absolute;
      right: 4px;
      top: 3px;
      border: none;
      border-radius: 99px;
      background: var(--primary-color);
      color: #fff;
      padding: 10px 16px;
      line-height: 1;
      text-transform: capitalize;
      font-size: 16px;
      transition: 0.2s ease-in-out;

      &:hover {
        scale: 1.05;
      }

      &:active {
        scale: 0.95;
      }
    }
  }

  .footer-menus {
    width: 100%;
    padding-block: 42px 24px;

    .footer-heading {
      font-size: 16px;
      font-weight: 500;
      color: var(--footer-text-gray);
      margin-bottom: 20px;
      width: fit-content;

      &::after {
        content: "";
        width: 70px;
        height: 2px;
        background-color: rgb(88, 175, 163);
        display: block;
        margin-top: 3px;
      }
    }

    .footer-links {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        cursor: pointer;
        width: max-content;
        margin-bottom: 14px;

        &:has(.truncate) {
          width: 100%;
        }

        a {
          display: flex;
          align-items: center;
          justify-content: left;
          font-size: 15px;
          font-weight: 500;
          color: var(--footer-text-gray);
          text-decoration: none;
          transition: 0.3s ease-in-out;

          .txt {
            transform: translateX(0);
            transition: 0.15s linear;

            &.truncate {
              display: -webkit-box;
              -webkit-line-clamp: 1;
              -webkit-box-orient: vertical;
              overflow: hidden;
              text-overflow: ellipsis;
            }
          }

          .arrow-1 {
            width: 8px;
            margin-right: 8px;
            transition: 0.3s ease-in-out;
          }

          .arrow-2 {
            opacity: 0;
            visibility: hidden;
            width: 0;
            transition: 0.3s ease-in-out;
          }

          &:is(:hover, .active) {
            color: var(--primary-color);

            .txt {
              transform: translateX(8px);
            }

            .arrow-1 {
              opacity: 0;
              visibility: hidden;
              width: 0;
              margin-right: 0;
            }

            .arrow-2 {
              opacity: 1;
              visibility: visible;
              width: 16px;
            }
          }
        }
      }
    }
  }

  hr {
    border-color: #505050;
    margin: 0;
  }

  .copyright {
    padding-block: 16px;

    p {
      font-size: 14px;
      font-weight: 400;
      text-align: center;
      color: var(--footer-text-gray);
      margin-bottom: 0;

      @media screen and (max-width: 767px) {
        font-size: 13px;
      }

      @media screen and (max-width: 575px) {
        font-size: 12px;
      }
    }
  }
}

/* footer end */

/* breadcrumb-container */
.breadcrumb-container {
  width: 100%;
  padding-block: 16px;
  background-color: #f8f9fa;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  justify-content: start;
  column-gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;

  li {
    color: var(--text-primary-gray);

    .divider {
      font-size: 14px;
      font-weight: 500;
      color: inherit;
    }

    a {
      color: inherit;
      font-weight: 500;
      text-decoration: none;
    }

    &:not(:last-child) {
      a:hover,
      a.active {
        color: var(--primary-color);
        font-weight: 500;
      }
    }
  }
}

/* page-container */
.page-container {
  /* width: 100%; */
  display: flex;
  /* height: 100%; */
  padding-top: 16px;

  .left-container {
    flex-basis: 70%;
    padding: 12px 16px;
  }

  .right-container {
    flex-basis: 30%;
  }
}

/* aside sidebar */
aside.sidebar {
  width: 100%;
  border-left: 1px solid rgba(235, 235, 235, 1);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  row-gap: 24px;

  .sidebar-heading {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary-gray);
    margin-bottom: 16px;

    &:not(:first-child) {
      margin-top: 32px;
    }

    &::after {
      content: "";
      width: 72px;
      height: 2px;
      background-color: var(--primary-color);
      display: flex;
      margin-top: 4px;
    }
  }

  .search-post {
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(235, 235, 235, 1);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    height: 40px;
    margin-bottom: 0;

    input {
      border: none;
      outline: none;
      background-color: transparent;
      width: 100%;
      padding: 7px 92px 7px 12px;
      font-size: 16px;
      font-weight: 500;

      &::placeholder {
        font-weight: 400;
        color: rgba(87, 87, 114, 0.6);
      }
    }

    button {
      all: unset;
      background-color: var(--primary-color);
      color: #fff;
      font-size: 16px;
      font-weight: 500;
      line-height: 1;
      cursor: pointer;
      padding: 8px 14px;
      border-radius: 99px;
      position: absolute;
      top: 3px;
      right: 3px;
      transition: 0.2s ease-in-out;
      transform-origin: center;

      &:hover {
        scale: 1.025;
      }

      &:active {
        scale: 0.95;
      }
    }
  }

  .categories-accordion {
    width: 100%;

    .accordion-item {
      width: 100%;

      .item-header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 12px;
        border-bottom: 1px dashed rgba(87, 87, 87, 0.2);
        color: var(--text-primary-gray);
        cursor: pointer;

        a {
          color: inherit;
          text-decoration: none;
          font-size: 16px;
          font-weight: 500;
          line-height: 1.2;
          transition: 0.2s ease-in-out;

          &:hover {
            color: var(--primary-color);
          }
        }

        .icon {
          display: grid;
          place-items: center;

          .icon-plus {
            width: 14px;
            height: 14px;
            transition:
              opacity 0.2s ease-in-out,
              visibility 0.2s ease-in-out;
          }

          .icon-minus {
            opacity: 0;
            visibility: hidden;
            width: 0;
            height: 0;
            aspect-ratio: 1/1;
            transition:
              opacity 0.2s ease-in-out,
              visibility 0.2s ease-in-out;
          }
        }
      }

      .item-content {
        width: 100%;
        padding-inline: 12px;
        max-height: 0;
        overflow-y: hidden;
        transition:
          max-height 0.2s ease-in-out,
          padding 0.2s linear;

        &::-webkit-scrollbar {
          width: 0;
        }
      }

      &.open {
        .item-header {
          .icon {
            .icon-plus {
              opacity: 0;
              visibility: hidden;
              width: 0;
              height: 0;
            }

            .icon-minus {
              opacity: 1;
              visibility: visible;
              width: 14px;
              height: 14px;
            }
          }
        }

        .item-content {
          max-height: 240px;
          padding-block: 14px;
          overflow-y: auto;
          border-bottom: 1px dashed rgba(87, 87, 87, 0.2);
        }
      }

      .sub-category {
        display: flex;
        align-items: center;
        justify-content: left;
        width: fit-content;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-primary-gray);
        text-decoration: none;
        transition: 0.3s ease-in-out;

        &:not(:last-child) {
          margin-bottom: 15px;
        }

        .txt {
          line-height: 1.3;
          transform: translateX(0);
          transition: 0.15s linear;
        }

        .arrow-1 {
          width: 8px;
          height: 18px;
          margin-right: 6px;
          transition: 0.3s ease-in-out;
        }

        .arrow-2 {
          opacity: 0;
          visibility: hidden;
          width: 0;
          height: 18px;
          transition: 0.3s ease-in-out;
        }

        &:is(:hover, .active) {
          color: var(--primary-color);

          .txt {
            transform: translateX(6px);
          }

          .arrow-1 {
            opacity: 0;
            visibility: hidden;
            width: 0;
            margin-right: 0;
          }

          .arrow-2 {
            opacity: 1;
            visibility: visible;
            width: 16px;
          }
        }
      }
    }
  }

  .recent-posts {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 8px;

    .recent-card {
      display: flex;
      align-items: start;
      column-gap: 12px;

      &:not(:last-child) {
        border-bottom: 1px dashed rgba(87, 87, 87, 0.2);
        padding-bottom: 8px;
      }

      .post-thumbnail {
        display: flex;
        max-width: 30%;
        overflow: hidden;
        border-radius: 4px;

        img {
          width: 100%;
          height: 100%;
          aspect-ratio: 16/11;
          object-fit: cover;
        }
      }

      .post-content {
        .post-meta {
          display: flex;
          align-items: center;
          justify-content: start;
          margin-bottom: 10px;

          .post-category {
            font-size: 13px;
            font-weight: 500;
            color: var(--primary-color);
            text-decoration: none;
          }

          .post-date {
            font-size: 13px;
            font-weight: 500;
            color: rgba(87, 87, 114, 0.7);
          }

          .di-block {
            margin: 0 4px;
            color: rgba(87, 87, 114, 0.7);
            font-size: 13px;
            font-weight: 500;
          }
        }

        .post-title {
          font-size: 15px;
          font-weight: 500;
          line-height: 1.3;
          color: var(--text-primary-gray);
          margin-bottom: 0;

          a {
            color: inherit;
            text-decoration: none;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
          }
        }
      }
    }
  }

  .share-post {
    display: flex;
    align-items: center;
    justify-content: start;
    column-gap: 16px;

    .social {
      font-size: 20px;
      color: var(--text-primary-gray);
      text-decoration: none;
      transition: 0.2s ease-in-out;

      &:hover {
        color: var(--primary-color);
        scale: 1.3;
      }
    }

    .copy-link {
      position: relative;
    }

    /* Tooltip */
    .copy-tooltip {
      position: absolute;
      bottom: 110%;
      background: #000;
      color: #fff;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 12px;
      opacity: 0;
      pointer-events: none;
      transform: translateY(5px);
      transition: 0.3s;
      white-space: nowrap;
    }

    /* Show tooltip */
    .copy-link.show-tooltip .copy-tooltip {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .sidebar-news-letter {
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(235, 235, 235, 1);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    height: 40px;
    margin-bottom: 0;

    input {
      border: none;
      outline: none;
      background-color: transparent;
      width: 100%;
      padding: 7px 92px 7px 12px;
      font-size: 16px;
      font-weight: 500;

      &::placeholder {
        font-weight: 400;
        color: rgba(87, 87, 114, 0.6);
      }
    }

    button {
      all: unset;
      background-color: var(--primary-color);
      color: #fff;
      font-size: 16px;
      font-weight: 500;
      line-height: 1;
      cursor: pointer;
      padding: 8px 14px;
      border-radius: 99px;
      position: absolute;
      top: 3px;
      right: 3px;
      transition: 0.2s ease-in-out;
      transform-origin: center;

      &:hover {
        scale: 1.025;
      }

      &:active {
        scale: 0.95;
      }
    }
  }
}

/* no posts available */
.no-content-wrapper {
  width: 100%;
  border: 1px dashed rgba(87, 87, 87, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 12px;

  .no-content-icon {
    margin-bottom: 24px;
  }

  .no-content-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary-gray);
    margin-bottom: 8px;
  }

  .no-content-message {
    font-size: 14px;
    font-weight: 500;
    color: rgba(87, 87, 114, 0.7);
    margin-bottom: 24px;
  }

  .back-to-blog {
    text-decoration: none;
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 6px;

    .icon {
      font-size: 14px;
    }

    span {
      font-size: 14px;
      font-weight: 500;
    }
  }
}

/* post-card */
.post-card {
  background-color: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 15px;
  height: 100%;
  position: relative;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
  overflow: hidden;

  .post-thumbnail {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
    width: 100%;
    position: relative;

    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.15);
      opacity: 1;
      transition: all 0.3s ease-in-out;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .post-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .post-meta {
      display: flex;
      align-items: center;
      justify-content: left;
      column-gap: 6px;
    }

    .post-category {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      color: rgb(88, 175, 163);

      a {
        text-decoration: none;
        color: inherit;
      }
    }

    .di-block,
    .post-date {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      color: rgba(18, 18, 18, 0.6);
    }

    .post-title {
      padding-top: 10px;
      font-size: 18px;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 0;
      color: #000;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .post-excerpt {
      font-size: 13px;
      font-weight: 500;
      color: #747474;
      margin-bottom: 16px;
      padding-top: 7px;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .post-link {
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      column-gap: 0px;
      cursor: pointer;
      position: relative;
      font-size: 14px;
      padding: 7px 18px;
      z-index: 1;
      background: rgba(88, 175, 163, 0.15);
      border-radius: 30px;
      color: rgb(88, 175, 163);
      transition: all 0.2s ease;
      overflow: hidden;
      text-decoration: none;
      width: fit-content;
      margin-left: auto;
      /* transform: translateY(23px); */

      &::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 10px;
        height: 10px;
        background: rgba(88, 175, 163, 0.4);
        border-radius: 50%;
        transition:
          transform 0.4s ease-out,
          opacity 0.3s ease-out;
        opacity: 0;
      }

      .arrow-right {
        font-size: 12px;
        transition: all 0.2s ease;
      }

      &:hover {
        color: rgb(88, 175, 163);

        &::after {
          transform: translate(-50%, -50%) scale(30);
          opacity: 1;
          transition:
            transform 1.2s ease-out,
            opacity 0.2s ease-in;
        }

        .arrow-right {
          transform: translateX(2px);
        }
      }
    }
  }

  &:hover {
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transform: translate(0px, 5px);
    transform: translate(0px, 5px);
  }
}

/* page-pagination */
.page-pagination {
  padding: 0;
  margin: 32px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  column-gap: 6px;

  .page-link {
    min-width: 24px;
    height: 24px;
    border-radius: 99px;
    border: 1px solid #e4e4e4;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: var(--text-primary-gray);
    transition: 0.2s ease-in-out;

    &:where(.prev, .next) {
      padding-inline: 8px;
    }

    &:is(.active, :hover) {
      color: #fff;
      background-color: var(--primary-color);
      border-color: var(--primary-color);
    }
  }
}

/* single post page start */
.single-post {
  .single-post-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgb(33, 37, 41);
  }

  .single-post-meta {
    font-size: 14px;
    font-weight: 500;
    color: rgba(18, 18, 18, 0.6);
    display: flex;
    align-items: center;
    justify-content: left;
    column-gap: 6px;
    margin-bottom: 16px;

    .author-info {
      display: flex;
      align-items: center;
      justify-content: left;
      column-gap: 6px;

      .author-avatar {
        width: 28px;
        height: 28px;
        border-radius: 99px;
        object-fit: cover;
        padding: 2px;
        background-color: #fff;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
      }

      .author-name {
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
        color: var(--text-primary-gray);
      }
    }

    .meta-separator {
      font-size: 14px;
      font-weight: 500;
      line-height: 1;
      color: rgba(18, 18, 18, 0.6);
    }

    .post-date {
      font-size: 14px;
      font-weight: 500;
      line-height: 1;
      color: var(--text-primary-gray);
    }
  }

  .single-post-thumbnail {
    width: 100%;
    margin-bottom: 20px;

    img {
      width: 100%;
      max-height: 380px;
      height: auto;
      object-fit: cover;
      object-position: center;
      border-radius: 12px;
      overflow: hidden;
    }
  }

  #toc-wrapper {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;

    h4 {
      font-size: 18px;
      font-weight: 600;
      color: var(--text-primary-gray);
      margin-bottom: 10px;

      &::after {
        content: "";
        width: 68px;
        height: 2px;
        background-color: var(--primary-color);
        display: flex;
        margin-top: 2px;
      }
    }
  }

  #toc-list {
    list-style: none;
    padding-left: 0;

    li {
      margin-bottom: 6px;
    }

    a {
      text-decoration: none;
      display: block;
      font-size: 15px;
      font-weight: 500;
      line-height: 1.5;
      color: var(--text-primary-gray);

      &:hover {
        color: var(--primary-color);
      }
    }
  }
}
/* single post page end */
