/* blog page */
#category .catgory {
  padding: 25px;
  border-radius: 10px;
}

.category-btn-col {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.category-btn-col a {
  text-decoration: none;
  background: #fff;
  padding: 15px 37px;
  font-weight: 500;
  color: var(--text-color);
  border-radius: 10px;
}

.category-btn-col a:hover {
  background-color: var(--text-color);
  color: #fff;
  transition: 0.3s;
}

/* -blog  crousel */

.blog-category {
  position: relative;
}

.blog-category::before {
  content: "";
  position: absolute;
  display: block;
  background-color: #fafafa;
  width: 100%;
  left: 0;
  margin: 0 auto;
  right: 0;
  max-width: 1180px;
  bottom: 0;
  top: 30%;
  border-radius: 10px;
}

.blog-slide {
  background-color: #fff;
  border-radius: 10px;
  position: relative;
}

.blog-category .blog-date,
.latest-blog-add .blog-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: right;
  padding: 10px 12px;
  border-radius: 6px;
}

.blog-category .blog-date .p,
.latest-blog-add .blog-date .p {
  font-size: 14px;
  font-weight: 400;
  line-height: 18.23px;
  text-align: center;
}

.blog-category .h3 {
  margin: 10px;
}

.blog-category p {
  padding: 0px 20px;
  line-height: 20px;
}

.blog-category .blog-slide .read-btn,
.latest-blog-add .read-btn {
  display: flex;
  justify-content: center;
  color: var(--primary-color);
  padding: 20px 0px;
  font-weight: 500;
}

.blog-category .blog-slide .read-btn:hover,
.latest-blog-add .read-btn:hover {
  color: var(--text-color);
  transition: 0.3s;
}

.additional-sec {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.additional-sec .blog-sec .p {
  color: #000;
}

.additional-sec .blog-sec {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 6px 0;
}

.blog-slide .h6,
.blog-slide .h3 {
  color: #000;
  font-weight: 800;
  margin-bottom: 10px;
}

.blog-slide .h3 {
  font-size: 22px;
  line-height: 34px;
}

.blog-slide .h6 {
  font-size: 18px;
}

.additional-sec .blog-sec img {
  width: 20px;
  height: 20px;
}

.additional-sec .blog-sec:first-child::after {
  content: "|";
  width: 2px;
  height: 20px;
  color: var(--text-color2);
  position: absolute;
  right: 0;
}

/* --  latest blog --- */

.latest-blogs img {
  width: 100%;
  border-radius: 8px;
  height: 235px;
  object-fit: cover;
}

.latest-blog-add .additional-blog {
  display: flex;
  flex-wrap: wrap;
  row-gap: 25px;
}

.latest-blog-add .blog-slide p {
  padding: 0px 20px;
}

.latest-blog-add .blog-slide {
  background-color: var(--third-color);
  position: relative;
  border-radius: 10px;
}

/* blog pagination */

.blog-pagination {
  margin-top: 60px;
}

.blog-pagination .pagination {
  display: flex;
  justify-content: center;
}

.page-item a {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 23.44px;
  text-align: left;
  padding: 10px 18px;
  border-radius: 4px;
}

.blog-pagination .page-item {
  margin: 0 12px;
  display: flex;
  align-items: center;
}

.blog-pagination .btn {
  min-width: 122px;
}

.blog-pagination .page-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* ---   blog detail  ---- */

.blog-detail {
  width: 65%;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0;
  list-style: none;
  align-items: center;
  margin-bottom: 1rem;
  justify-content: center;
}

ul.breadcrumb li {
  display: inline;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  cursor: pointer;
  /* color: #fff; */
}

ul.breadcrumb li a {
  /* color: #fff; */
  text-decoration: none;
}

.blog-detail .blog-info .read {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 10px;
}

.author-col h6,
.h6 {
  font-size: 18px;
}

.blog-detail .blog-ad-info .author h6 {
  color: #000;
  font-size: 13px;
  font-weight: 400;
  margin: 0;
}

.blog-detail .blog-info {
  margin-top: 30px;
}

.blog-detail .blog-info .read p {
  font-size: 13px;
  color: white;
  margin: 0;
  width: 75px;
}

.blog-detail .author img {
  max-width: 40px;
  margin-right: 10px;
}

.blog-info.blog-ad-info .author img {
  width: 35px;
}

.blog-detail .author-box .author img {
  max-width: 78px;
  margin-right: 15px;
  border-radius: 50%;
}

.blog-detail .blog-ad-info ul {
  display: flex;
  font-size: 12px;
  gap: 11px;
  list-style: none;
  justify-content: space-between;
  padding: 0;
  margin: 0px;
}

.blog-detail .blog-ad-info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-color2);
}

.blog-detail .blog-ad-info img {
  width: 20px;
}



.tools {
  display: flex;
  gap: 17px;
  justify-content: end;
  margin: 20px;
}

.social-tools,
.tools-img {
  display: flex;
  gap: 25px;
}

.social-tools a:hover svg path {
  fill: var(--primary-color);
  transition: 0.3s all;
}

.content-type .h4 {
  padding: 15px;
  color: var(--star-color);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 22px;
  text-align: center;
  background-color: var(--primary-color);
  width: 100%;
}
.content-type_btn {
  background-color: transparent;
  border: none;
  padding: 0px;
  margin: 0px;
}
.blog-detail .content-type {
  border-radius: 20px;
  /* padding: 0px 30px 30px 30px; */
  margin-right: auto;
  width: 75%;
  background-color: var(--secondary-color);
  margin-top: -50px;
}

.blog-detail .content-type ol {
  line-height: 38px;
  padding: 30px 40px;
  margin: 0;
}

.blog-detail .content-type-sec-ol {
  line-height: 38px;
  padding: 0px;
  margin: 0px;
}
.content-type-2 {
  display: none;
}
.blog-detail .content-type ul li {
    display: none;
}

.blog-detail .content-type ul li:nth-child(-n+5) {
    display: list-item;
}
.blog-detail .content-type a {
  color: black;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.blog-detail p {
  margin-bottom: 7px;
}

#faq {
  margin-top: 30px;
}

#faq .accordion-body p {
  font-size: 16px;
  color: #000;
  font-weight: 400 !important;
}

.blog-detail .h3 {
  margin-top: 2rem;
  margin-bottom: 10px;
}

.blog-detail .author-box {
  margin-top: 30px;
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 20px;
}

.blog-detail .author-box .author {
  align-items: flex-start;
}

.blog-detail .author-box .title .h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-detail .author-box .h6 {
  font-size: 18px;
}

.title .tools-img {
  margin: 20px 0;
}

.blog-detail .comment-form .h5 {
  font-size: 30px;
  font-weight: 900;
  margin: 50px 0 20px;
}

.blog-detail .form {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.blog-detail .form-input-col input:first-child,
.blog-detail .form-input-col input:nth-child(2) {
  width: 48%;
  background-color: #f5f5f5;
}

.form .input,
.form .textarea {
  background-color: #f5f5f5;
  border-radius: 10px;
  min-height: 50px;
  border: 1px solid #6d6d6d30;
  padding: 15px 20px;
  font-size: 15px;
  height: 100px;
  width: 100%;
  margin-bottom: 20px;
  outline: none;
}

/* ---  comments  --- */

.blog-detail .comments {
  display: grid;
  row-gap: 24px;
}

.blog-details .comments .h5 {
  font-size: 30px;
  font-weight: 900;
  margin: 50px 0 0px;
}

.blog-detail .comment-box {
  background: var(--third-color);
  padding: 28px;
  border-radius: 15px;
  border: 1px solid #e4e4e4;
}

.blog-detail .additional-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-detail .comment-box p {
  margin-top: 15px;
}

.blog-detail .reply svg {
  width: 18px;
  fill: var(--primary-color);
}

.blog-detail .reply {
  gap: 10px;
  margin-top: 15px;
  color: var(--primary-color);
  display: none;
}

.blog-detail .reply-box {
  width: 92%;
  margin-left: auto;
  position: relative;
}

.blog-detail .reply-box::before {
  content: "";
  width: 2px;
  height: 130px;
  left: -30px;
  top: 7%;
  background: #e9ebf0;
  gap: 0px;
  position: absolute;
}

/*  -- blog detail slider */
.blog-details .h2 {
  margin-top: 50px;
  margin-bottom: 25px;
}

.blog-details .who-use-col {
  padding-bottom: 20px;
}

.blog-details .who-use-col {
  background-color: var(--third-color);
}

.blog-details .who-use-col .date {
  gap: 10px;
}

.who-slider .h2 {
  text-align: center;
}

.blog-details .who-use-col .n {
  padding: 0px 20px;
}

.blog-details .splide__arrow {
  background-image: url("../images/related-left-arow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30%;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.splide__arrow--prev {
  left: -16px;
  top: 244px;
}

.splide__arrow--next {
  right: -16px;
  top: 244px;
}

.who-use-col a {
  display: flex;
  justify-content: center;
  color: var(--primary-color);
  padding-bottom: 24px;
  font-weight: 500;
  transition: 0.3s;
}

.who-use-col a:hover {
  transition: 0.3s;
  color: var(--text-color);
}

.who-use-col .blog-info {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.blog-details .comment {
  display: flex;
  gap: 20px;
}

.who-slider {
  margin-top: 40px;
}

.who-use-col .h3 {
  margin: 10px;
}

.who-use-col {
  position: relative;
}

.blog-additional-blog-fn {
  display: flex;
  justify-content: center;
  gap: 70px;
}

/* --side bar */

.side-bar {
  width: 35%;
}

.search-input {
  font-size: 15px;
  min-height: 60px;
  font-weight: 400;
  width: 100%;
  border-radius: 10px;
  border: none;
  background-color: var(--third-color);
  padding: 10px 20px;
  outline: none;
}

.search-input::placeholder {
  color: #00000036;
}

.search-container {
  position: relative;
}

.form-input-col .search-btn img {
  position: relative;
  top: 0;
  left: 0;
}

.form-input-col .search-btn {
  top: 18px;
  right: 24px;
  left: unset;
  z-index: 10;
  position: absolute;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 25px;
  height: 25px;
}

/* more pages */
.more-pages {
  background: var(--secondary-color);
  padding: 24px;
  border-radius: 15px;
  margin-top: 30px;
}

.more-pages .h3 {
  margin-top: 0;
}

.more-pages .h6:hover {
  color: var(--primary-color);
  transition: 0.3s;
}

.blog-details a {
  color: var(--text-color);
  font-weight: 500;
  line-height: 28px;
  transition: 0.3s all;
}

.blog-details a:hover {
  color: var(--primary-color);
}

.blog-details a.support-txt-img {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 6px;
}

/* latest-blog */
.latest-blog {
  margin-top: 30px;
  padding: 25px 23px;
  border-radius: 10px;
}

.latest-mini-blogs li {
  list-style: none;
}

.latest-mini-blogs li a {
  display: flex;
  gap: 18px;
  margin: 30px 0;
  align-items: center;
}

.latest-mini-blogs li img {
  width: 75px;
  height: 65px;
  border-radius: 5px;
}

.latest-mini-blogs .social img {
  width: 20px;
  height: 20px;
}

.latest-mini-blogs .additional-blog strong {
  display: flex;
  gap: 35px;
}

.latest-mini-blogs .social {
  display: flex;
  gap: 13px;
}

.social small {
  color: var(--text-color2);
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
}

.latest-mini-blogs p {
  color: var(--text-color);
  font-weight: 900;
  line-height: 18px;
  margin: 5px 0;
  transition: 0.3s;
}

.latest-mini-blogs li:hover p {
  color: var(--primary-color);
  transition: 0.3s;
}

/* category-btn-col */

.blog-details .category-btn-col {
  background-color: var(--third-color);
  padding: 45px 23px;
  border-radius: 10px;
  margin-top: 30px;
}

.blog-details .category-btn-col {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.blog-details .category-btn-col a {
  text-decoration: none;
  background: #fff;
  padding: 10px 8px;
  color: #263238;
  border-radius: 10px;
  transition: 0.3s;
}

.blog-details .category-btn-col a:hover {
  background-color: var(--text-color);
  color: #fff;
  transition: 0.3s;
}

/* blog-tags */
.blog-details .blog-tags .h3 {
  width: 100%;
}

/* top packages */

/* .top-packages {
    margin-top: 60px;
    padding: 40px 0;
} */

.top-package-col {
  background: var(--third-color);
  text-align: center;
  border-radius: 15px;
  /* box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.10); */
  overflow: hidden;
  margin: 0 20px 10px 20px;
  display: block;
  /* border: 1px solid #00000026; */
}

.top-package-txt {
  /* background-color: white; */
  display: grid;
  padding: 20px;
  gap: 8px;
}

.top-package-txt img {
  margin: auto;
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.top-package-txt .service-count {
  font-size: 20px;
  color: var(--text-color);
}

.top-package-txt span {
  font-size: 14px;
  font-weight: 500;
}

.top-package-txt .discount-txt {
  color: var(--green-color);
}

.top-package-price {
  display: flex;
  padding: 10px 20px;
  gap: 20px;
  background: var(--primary-color);
  border-top: 1px solid rgba(0, 0, 0, 0.21);
  justify-content: center;
  align-items: center;
}

.top-package-price .cutoff-price {
  font-weight: 600;
  color: #fff;
  text-decoration: line-through;
}

.top-package-price .real-price {
  color: #fff;
}

@media (max-width: 992px) {
  .latest-blog-add .col-4 {
    width: 50%;
  }

  .latest-blogs img {
    height: 180px;
  }

  .blog-additional-blog-fn {
    flex-wrap: wrap;
  }

  .blog-detail .content-tool {
    flex-direction: row;
    justify-content: space-between;
  }

  .side-bar,
  .blog-detail,
  .blog-detail .content-type {
    /* order: 2; */
    width: 100%;
  }

  .blog-detail .author img {
    max-width: 58px;
  }

  .author-col h6,
  .h6 {
    font-size: 14px;
  }

  .blog-detail .blog-info .read {
    padding: 8px 15px;
  }

  .blog-detail .blog-ad-info ul {
    gap: 15px;
    flex-direction: column;
    margin-top: 24px;
  }

  .blog-details .category-btn-col a {
    padding: 10px 15px;
  }

  .blog-details .category-btn-col {
    gap: 25px;
  }

  .blog-detail .reply-box::before {
    top: 3%;
  }
}

@media (max-width: 767px) {
  .category-btn-col a {
    padding: 15px 14px;
  }

  .additional-blog .col-4 {
    width: 100%;
  }

  .page-item a {
    padding: 6px 14px;
  }

  .blog-pagination .page-item {
    margin: 0 8px;
  }

  .blog-pagination .btn {
    min-width: 82px;
    padding: 10px;
  }
  .breadcrumb {
    margin-bottom: 0rem;
  }

  .tools {
    justify-content: flex-start;
  }

  .category-btn-col {
    gap: 17px;
  }

  #category .catgory {
    padding: 20px 10px;
  }

  .additional-sec .blog-sec {
    gap: 20px;
  }

  .additional-sec {
    gap: 30px;
  }

  .additional-sec .blog-sec {
    gap: 15px;
  }

  .additional-sec .blog-sec::after {
    right: 347px;
  }

  .latest-blog-add .blog-sec::after {
    right: 106px;
  }

  .blog-detail .author-col {
    flex-wrap: wrap;
    row-gap: 15px;
  }

  .blog-detail .form-input-col input:first-child,
  .blog-detail .form-input-col input:nth-child(2) {
    width: 100%;
    padding: 15px 20px;
  }

  .blog-detail .reply-box::before {
    top: 10%;
    height: 150px;
    left: -6%;
  }

  .blog-detail .content-tool {
    flex-direction: column;
  }

  .blog-detail .author-box .author {
    flex-direction: column;
  }
  .blog-detail .author-box .author img {
    margin: 0 auto;
  }

  .blog-detail .author-box .author .title {
    text-align: center;
  }

  .blog-detail .author-box .title .h6 {
    margin: 15px 0px 10px;
  }


  #faq .accordion-body p {
    font-size: 14px; 
  }

  /* --------- new css */
}
