.pw_single {
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 30px 0;

  .summary {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 50px;
    padding: 90px 0 50px 0;
    /* justify-content: center; */

    @media screen and (max-width: 880px) {
      flex-direction: column;
      padding: 60px 20px 50px 20px;
      gap: 20px;
    }

    @media screen and (max-width: 480px) {
      padding-bottom: 20px;
    }

    .summary_image {
      height: 400px;
      width: 400px;

      /* display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      max-width: 100%; */

      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      /* Space between images */
      max-width: 100%;
      /* Fit container */
      justify-content: center;

      @media screen and (max-width: 880px) {
        width: 100%;
        height: 300px;
      }

      img {
        /* height: 100%;
        width: 100%;
        float: left;
        object-fit: cover;
        overflow: hidden; */

        flex: 1 1 calc(50% - 10px);
        /* Default to 2 columns */
        max-width: calc(50% - 10px);
        /* Space for gap */
        height: 50%;
        /* Maintain aspect ratio */
        object-fit: cover;
        /* Crop images to fit without distortion */
        border-radius: 8px;
        /* Optional: rounded corners */

        &:only-child {
          flex: 1 1 100%;
          height: 100%;
          max-width: 100%;
        }

        &:nth-child(3):nth-last-child(1) {
          flex: 1 1 calc(50% - 10px);
          max-width: calc(100% - 10px);
        }
      }
    }

    .summary_content {
      height: fit-content;
      width: calc(100% - 450px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 15px;
      padding: 0 20px;

      @media screen and (max-width: 880px) {
        width: 100%;
      }

      .summary_info {
        display: flex;
        gap: 20px;

        @media screen and (max-width: 380px) {
          flex-direction: column;
          gap: 5px;
        }
      }

      .summary_title {
        font-size: 30px;
        font-weight: 700;
        color: var(--primary-color);
        height: fit-content;

        >h1 {
          font-size: 30px;
        }

        @media screen and (max-width: 480px) {
          font-size: 20px;
        }
      }

      .summary_highlight {
        display: flex;
        flex-direction: column;
        gap: 10px;

        p:nth-child(1) {
          font-size: 30px;
          font-weight: 600;
          color: var(--primary-color);

          @media screen and (max-width: 480px) {
            font-size: 20px;
          }
        }

        .destination {
          height: fit-content;
          width: 100%;
          display: flex;
          flex-direction: column;
          gap: 20px;
          color: var(--primary-color);

          .destination_header {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;

            .day {
              font-size: 15px;
              font-weight: 500;
              padding: 5px 20px;
              background-color: var(--secondary-color);
              color: #fff;
              border-radius: 50px;
              cursor: pointer;
              min-width: fit-content;

              &.active {
                background-color: var(--tertiery-color);
              }

              &:hover {
                background-color: var(--tertiery-color);
              }
            }
          }

          .destination_content {
            display: flex;
            height: fit-content;
            width: 100%;
            padding: 0 15px;

            .places {
              display: none;
              flex-direction: column;
              width: 100%;

              ul li {
                list-style: decimal;
                font-size: 16px;
                font-weight: 500;

                @media screen and (max-width: 480px) {
                  font-size: 14px;
                }
              }
            }

            .places:nth-child(1) {
              display: flex;
            }
          }
        }
      }
    }
  }

  .pw_single_header {
    width: fit-content;
    height: 50px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translate(-50%, 0);

    @media screen and (max-width: 480px) {
      gap: 10px;
      width: 100%;
      justify-content: space-between;
      padding: 0 20px;
    }

    .pw_single_nav {
      display: flex;
      align-items: center;
      justify-content: center;
      height: fit-content;
      width: 150px;
      gap: 20px;
      padding: 7px 20px;
      border-radius: 50px;
      background-color: var(--secondary-color);
      cursor: pointer;
      color: #fff;
      font-weight: 500;

      @media screen and (max-width: 630px) {
        font-size: 12px;
        gap: 10px;
        width: 120px;
      }

      @media screen and (max-width: 480px) {
        font-size: 10px;
        gap: 5px;
        width: 90px;
      }

      &::after {
        font-family: FontAwesome;
        content: " \f078";
        display: inline-block;
        padding: 3px;
        font-size: 15px;
        vertical-align: middle;
        transform: rotate(180deg);
        transition: all 0.6s ease;
      }

      @media screen and (max-width: 480px) {
        &::after {
          font-size: 8px;
        }
      }

      &.active {
        background-color: var(--primary-color);
      }

      &.active::after {
        transform: rotate(360deg);
      }

      &:hover::after {
        transform: rotate(360deg);
      }

      &:hover {
        background-color: var(--primary-color);
      }
    }
  }

  .pw_single_content {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 50px 0 30px 0;

    @media screen and (max-width: 880px) {
      padding: 30px 20px 30px 20px;
    }

    .pw_single_content_item {
      display: none;
      flex-direction: column;
      gap: 30px;

      table {
        border: 1px solid #000;
        border-collapse: collapse;

        thead,
        tbody {
          border: 1px solid #000;
        }

        tr,
        td,
        th {
          border: 1px solid #000;
          padding: 7px;
          text-align: center;

          @media screen and (max-width: 480px) {
            font-size: 12px;
          }
        }
      }

      .day {
        height: fit-content;
        width: 180px;
        display: flex;
        justify-content: center;
        padding: 5px 20px;
        font-size: 17px;
        text-transform: uppercase;
        font-weight: 600;
        color: #fff;
        background-color: var(--tertiery-color);
        margin-bottom: 10px;
        border-radius: 50px;

        @media screen and (max-width: 480px) {
          font-size: 14px;
          width: 150px;
        }
      }

      ul {
        padding-left: 20px;
        margin: 0;
        list-style: disc;
        color: var(--primary-color);

        li {
          position: relative;
          line-height: 1.7;
          font-weight: 500;

          @media screen and (max-width: 480px) {
            font-size: 12px;
          }

          &::marker {
            font-size: 8px;
          }

          /* &::before {
            content: "•";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            font-size: 10px;
          } */
        }
      }
    }

    .pw_single_content_item:nth-child(1) {
      display: flex;
    }
  }
}

.pw_footer {
  height: 700px;
  width: 100%;
  position: relative;

  @media screen and (max-width: 480px) {
    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 50%;
      width: 100%;
      background: linear-gradient(to top, #000000b5 40%, #02166300 100%);
      z-index: -2;
    }
  }

  .pw_footer_item:nth-child(1) {
    position: absolute;
    top: 100px;
    left: 20px;
    height: fit-content;
    width: fit-content;
    z-index: -1;

    @media screen and (max-width: 480px) {
      top: 400px;
      left: 50%;
      transform: translate(-50%, 0);
      width: 300px;
    }

    p {
      color: #fff500;
      font-size: 62px;
      line-height: 1;

      @media screen and (max-width: 480px) {
        font-size: 40px;
      }
    }
  }

  .pw_footer_item:nth-child(2) {
    position: absolute;
    bottom: 100px;
    right: 20px;
    height: fit-content;
    width: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 20px;

    @media screen and (max-width: 480px) {
      bottom: 50px;
      right: unset;
      left: 50%;
      transform: translateX(-50%);
    }

    .item {
      height: 50px;
    }

    .item:nth-child(1) {
      width: 100%;
      background-color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f03434;
      font-size: 32px;
      font-weight: 600;
      border-radius: 100px;
      box-shadow: #fff 0 0 8px 0.009px;
    }

    .item:nth-child(2) {
      width: 100%;
      background-color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-color);
      font-size: 20px;
      font-weight: 700;
      border-radius: 100px;
      padding: 15px;
      text-decoration: none;
      gap: 10px;
      transition: all 0.6s ease;

      &:hover {
        background-color: var(--accent-color);
      }
    }
  }
}

.tb_article_cont {
  z-index: 9;
}

.tb_article_header {
  width: 100%;
  height: 200px;
  background-color: #000;
  opacity: 0.7;
}

.tb_content {
  background-image: linear-gradient(to top, #e3fdff 40%, #fdffff 100%);
  overflow-x: hidden;
  position: relative;
}

.tb_article {
  height: fit-content;
  width: 800px;
  position: relative;

  @media screen and (max-width: 880px) {
    width: 90%;
  }

  .side_share {
    position: absolute;
    top: 200px;
    right: -100px;

    @media screen and (max-width: 880px) {
      right: 0;
      top: 100px;
    }

    @media screen and (max-width: 480px) {
      display: none;
    }
  }

  &.tb_footer {
    padding: 40px 0;

    @media screen and (max-width: 480px) {
      padding: 20px 0;
    }

    .back {
      width: fit-content;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #78b8f8;
      padding: 7px 45px;
      border-radius: 50px;
      color: #fff;
      cursor: pointer;
    }
  }

  .bottom_det {
    display: flex;
    gap: 15px;
    padding: 15px 0;

    &.share {
      align-items: center;
    }

    p {
      font-size: 16px;
      font-weight: 700;
    }

    .tags {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }

    .link {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 40px;
      width: 40px;
      font-size: 20px;
      text-decoration: none;
      border-radius: 50px;
      background-color: #a6e1fb;
      color: var(--primary-color);
    }

    .tag {
      text-decoration: none;
      font-size: 12px;
      font-weight: 500;
      color: #000;
      background-color: #a6e2fb;
      padding: 5px 15px;
      border-radius: 20px;
    }
  }

  .article_content {
    padding: 15px 0;

    @media screen and (max-width: 480px) {
      padding: 7px 0;
    }

    &.tb_bread {
      color: var(--secondary-color);

      @media screen and (max-width: 480px) {
        font-size: 12px;
      }

      @media screen and (max-width: 880px) {
        &:after {
          display: none;
        }

        &:before {
          display: none;
        }
      }

      &::after {
        content: "";
        position: absolute;
        height: 500px;
        width: 500px;
        background-color: #4bc7fc;
        opacity: 0.1;
        right: -70%;
        top: -200px;
        border-radius: 50%;
      }

      &::before {
        content: "";
        position: absolute;
        height: 500px;
        width: 500px;
        background-color: #4bc7fc;
        opacity: 0.1;
        left: -75%;
        top: 900px;
        border-radius: 50%;
      }

      a {
        text-decoration: none;
        color: var(--secondary-color);

        &:hover {
          color: var(--primary-color);
        }
      }
    }

    &.title {
      font-size: 35px;
      font-weight: 600;
      padding: 0 !important;

      @media screen and (max-width: 480px) {
        font-size: 20px;
      }

      @media screen and (max-width: 880px) {
        &:after {
          display: none;
        }

        &:before {
          display: none;
        }
      }

      &::after {
        content: "";
        position: absolute;
        height: 300px;
        width: 300px;
        background-color: #4bc7fc;
        opacity: 0.15;
        right: -60%;
        top: 200px;
        border-radius: 50%;
      }

      &::before {
        content: "";
        position: absolute;
        height: 50px;
        width: 50px;
        background-color: #4bc7fc;
        opacity: 0.15;
        right: -30%;
        top: 500px;
        border-radius: 50%;
      }
    }

    &.rate {
      font-size: 20px;
      font-weight: 600;
      display: flex;
      gap: 10px;
      align-items: center;
      padding: 0 !important;
      color: #f7961f;

      img {
        height: 26px;
        width: 26px;
        object-fit: cover;
        overflow: hidden;
        float: left;

        @media screen and (max-width: 480px) {
          height: 20px;
          width: 20px;
        }
      }

      @media screen and (max-width: 480px) {
        font-size: 15px;
      }
    }

    &.client {
      font-size: 25px;
      font-weight: 600;
      padding: 0 !important;
      color: #4d4d4d;

      @media screen and (max-width: 480px) {
        font-size: 18px;
      }
    }

    &.author {
      font-size: 14px;
      font-weight: 600;

      @media screen and (max-width: 480px) {
        font-size: 12px;
      }

      @media screen and (max-width: 880px) {
        &:after {
          display: none;
        }

        &:before {
          display: none;
        }
      }

      &::after {
        content: "";
        position: absolute;
        height: 70px;
        width: 70px;
        background-color: #4bc7fc;
        opacity: 0.1;
        left: -30%;
        top: 650px;
        border-radius: 50%;
      }

      &::before {
        content: "";
        position: absolute;
        height: 40px;
        width: 40px;
        background-color: #4bc7fc;
        opacity: 0.1;
        left: -25%;
        top: 1600px;
        border-radius: 50%;
      }

      span {
        color: #4d4d4d;
      }
    }

    .thumb_image {
      width: 100%;
      height: fit-content;
      display: flex;
      align-items: center;
      justify-content: center;

      img {
        height: fit-content;
        width: 100%;
        object-fit: cover;
        overflow: hidden;
        float: left;
      }
    }
  }
}

.article_content_full {
  /* text-align: justify; */
  text-wrap: wrap;
  line-height: 30px;
  padding-bottom: 15px;

  .wa {
    height: fit-content;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    &.right {
      justify-content: end;
    }

    &.left {
      justify-content: start;
    }

    img {
      height: fit-content;
      width: 100%;
    }
  }

  p,
  div,
  strong {
    margin-bottom: 20px;
    font-size: 15px;
    /* text-indent: 5px; */

    @media screen and (max-width: 480px) {
      font-size: 13px;
      line-height: 2;
    }

    .wa {
      height: fit-content;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;

      &.right {
        justify-content: end;
      }

      &.left {
        justify-content: start;
      }

      img {
        height: fit-content;
        width: 40%;
      }
    }
  }

  img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    float: left;
    object-fit: cover;
    padding: 25px 0;
  }

  a {
    text-decoration: none;
    color: var(--secondary-color);
    width: 100%;

    @media screen and (max-width: 480px) {
      font-size: 13px;
    }

    &:hover {
      color: var(--primary-color);
    }
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: 20px;
  }

  h1 {
    font-size: 1.6em;

    @media screen and (max-width: 630px) {
      font-size: 1.2em;
    }
  }

  h2 {
    font-size: 1.4rem;

    @media screen and (max-width: 630px) {
      font-size: 1em;
    }
  }

  h3 {
    font-size: 16px;

    @media screen and (max-width: 630px) {
      font-size: 14px;
    }
  }

  h4 {
    font-size: 1rem;
  }

  h5 {
    font-size: 0.8rem;
  }

  h6 {
    font-size: 0.7rem;
  }

  ul,
  ol {
    margin-bottom: 20px;

    li {
      margin-left: 20px;
      margin-bottom: 10px;
      padding-left: 10px;

      @media screen and (max-width: 480px) {
        font-size: 13px;
        line-height: 2;
      }
    }
  }
}

.related_header {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  padding-bottom: 20px;

  @media screen and (max-width: 630px) {
    font-size: 20px;
  }
}

.related_post {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;

  @media screen and (max-width: 450px) {
    gap: 0;
  }
}