/* Blog Main Page _Start */

.header-spacing {
  margin-top: 85px;
}

.py-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.first-sec {
  padding-top: 160px;
}

.nav-tabs {
  gap: 30px;
  border-bottom: 0;
}

.nav-tabs .dropdown-toggle::after {
  display: none;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link,
.nav-pills .dropdown-menu .nav-link:hover {
  background-color: #F0512333;
  border-color: #F0512333;
  color: var(--clr-pri);
}

.nav-pills .nav-link.dropdown-toggle.active svg path {
  stroke: #fff;
  stroke-width: 2px;
}

.nav-pills .nav-link {
  border-radius: 25px;
  padding: 15px 20px;
  line-height: 1.2;
  background: #272727;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
}

.nav-tabs .dropdown-menu {
  overflow: hidden;
  border-radius: unset;
  background: #272727;
  border: unset;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  min-width: 180px;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--clr-pri);
}

.nav-pills .dropdown-menu .nav-link {
  width: 100%;
  border-radius: unset;
  padding: 7px 15px;
  font-size: 15px;
  text-align: left;
  border: unset;
  line-height: 1.2;
}

.search-input {
  border: unset;
  border-bottom: 1px solid #eaeaea;
  padding: 10px 10px;
  padding-left: 35px;
}

.tabs-wrap {
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

button.search-button {
  border: unset;
  background-color: unset;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.search-form {
  position: relative;
}

.btn-pri {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  padding: 15px 55px;
  background-color: var(--clr-pri);
  color: #fff;
  border-radius: 6px;
  text-decoration: unset;
  display: inline-block;
}

.sub-banner h2 {
  color: #fff;
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 40px;
}

.sub-banner h2 span {
  color: var(--clr-pri);
}

.sub-banner p {
  color: #fff;
  max-width: 700px;
  font-size: 22px;
  margin-bottom: 40px;
}

.sub-banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1920/630;
  display: flex;
  align-items: center;
}

.main-title h2,
.main-title h1,
.archive-title h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.main-title h1 {
  font-size: 55px;
}

.main-title {
  margin-bottom: 40px;
}

div#search-results {
  position: absolute;
  z-index: 9;
  overflow: hidden;
  border-radius: unset;
  background: #f8f8f8;
  border: unset;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  max-width: 300px;
  padding: 0.5rem 0;
  min-width: 100%;
}

.search-wrap {
  position: relative;
}

div#search-results .search-result a,
div#search-results p {
  display: block;
  border-radius: unset;
  padding: 7px 15px;
  font-size: 15px;
  text-align: left;
  border: unset;
  line-height: 1.2;
  background: #f8f8f8;
  color: #898989;
  transition: var(--tran-all);
  margin: 0;
}

div#search-results .search-result a:hover {
  background-color: var(--clr-pri);
  color: #fff;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pagination .nav-links .page-numbers {
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  display: flex;
  border: 1px solid #ddd;
  border-radius: 25px;
  line-height: 1.2;
  background: #f8f8f8;
  color: #898989;
  font-size: 18px;
  transition: var(--tran-all);
}

.pagination .nav-links .page-numbers svg path {
  stroke: #898989;
}

.pagination .nav-links a.page-numbers:hover {
  color: #fff;
  background-color: var(--clr-pri);
  border-color: var(--clr-pri);
}

.pagination .nav-links a.page-numbers:hover svg path {
  stroke: #fff;
}

.pagination .nav-links .page-numbers svg {
  width: 20px;
  height: 20px;
}

.pagination .nav-links .page-numbers .next-pagination svg {
  transform: rotate(-90deg) translateY(2px);
}

.pagination .nav-links .page-numbers .prev-pagination svg {
  transform: rotate(90deg) translateY(2px);
}

.pagination .nav-links .page-numbers.current {
  border-color: var(--clr-pri);
  color: var(--clr-pri);
}

/* Blog Main Page _End */


/* Popular Card CSS _Start */
.popular-card {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
  margin-bottom: 30px;
}

.popular-card .image-wrap img {
  aspect-ratio: 208/130;
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.popular-card .image-wrap {
  flex: 0 0 200px;
}

.popular-card .content h3 {
  font-size: 18px;
  font-weight: 500;
  text-decoration: unset;
}

.popular-card .content h3 a {
  text-decoration: unset;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-card .content .cat {
  margin-bottom: 10px;
}

/* Popular Card CSS _End */

/* Inner Banner _start */
.inner-banner {
  padding-top: 220px;
  padding-bottom: 115px;
  overflow: hidden;
}

.inner-banner h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 0;
}

.inner-banner p {
  color: #fff;
  font-size: 16px;
  margin-bottom: 0;
}

.inner-banner h1:has(~ p) {
  margin-bottom: 25px;
}

.no-post-found {
  color: #314252;
  font-family: Poppins, sans-serif;
  font-style: normal;
  margin-bottom: 20px;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.2;
  text-align: center;
  text-transform: capitalize;
  margin: 0;
}

span.search-text {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
  margin: 0 auto;
}

@media (min-width: 100px) and (max-width: 1800px) {

  .inner-banner {
    padding-top: 160px;
    padding-bottom: 90px;
    overflow: hidden;
  }

  .inner-banner h1 {
    font-size: 45px;
  }

  .inner-banner h1:has(~ p) {
    margin-bottom: 15px;
  }

  .inner-banner p {
    font-size: 15px;
  }

  .nav-tabs {
    gap: 15px;
  }

  .nav-pills .nav-link {
    padding: 10px 12px;
    font-size: 16px;
  }


  .popular-card .content h3 {
    font-size: 17px;
  }

  .popular-blogs {
    padding: 0;
  }

  .main-title h2,
  .main-title h1,
  .archive-title h1 {
    font-size: 36px;
  }

  .main-title h1 {
    font-size: 45px;
  }

  .sub-banner h2 {
    font-size: 45px;
    margin-bottom: 25px;
  }

  .sub-banner p {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .btn-pri {
    font-size: 18px;
    padding: 12px 45px;
  }

  .py-100 {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .first-sec {
    padding-top: 140px;
  }
}

@media (min-width: 100px) and (max-width: 1599px) {
  .inner-banner {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .inner-banner h1 {
    font-size: 38px;
  }

  .nav-pills .nav-link {
    padding: 12px 12px;
    font-size: 15px;
  }

  .search-input {
    padding: 5px 10px;
    font-size: 16px;
    padding-left: 30px;
  }

  .main-title h2,
  .main-title h1,
  .archive-title h1 {
    font-size: 30px;
  }

  .main-title h1 {
    font-size: 40px;
  }

  .main-title {
    margin-bottom: 30px;
  }



  .popular-card {
    margin-bottom: 22px;
  }

  .popular-card .image-wrap {
    flex: 0 0 170px;
  }

  .sub-banner h2 {
    font-size: 35px;
    margin-bottom: 15px;
  }

  .sub-banner p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .btn-pri {
    font-size: 16px;
    padding: 10px 35px;
  }

  .py-100 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .first-sec {
    padding-top: 120px;
  }

  div#search-results .search-result a,
  div#search-results p {
    font-size: 13px;
  }
}

@media (min-width: 100px) and (max-width: 1399px) {
  .no-post-found {
    font-size: 35px;
  }

  .inner-banner {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .inner-banner h1 {
    font-size: 30px;
  }

  .inner-banner p {
    font-size: 14px;
  }

  .nav-tabs {
    gap: 12px;
  }

  .nav-pills .nav-link {
    padding: 10px 10px;
    font-size: 14px;
  }

  .search-input {
    font-size: 15px;
    padding-left: 22px;
  }

  button.search-button {
    padding: 0;
  }

  button.search-button svg {
    height: 15px;
    width: 15px;
  }



  .main-title h2,
  .main-title h1,
  .archive-title h1 {
    font-size: 26px;
  }

  .main-title h1 {
    font-size: 35px;
  }

  .btn-pri {
    font-size: 14px;
    padding: 10px 30px;
  }

  .sub-banner h2 {
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .sub-banner p {
    font-size: 14px;
    margin-bottom: 10px;
    max-width: 570px;
  }

  .py-100 {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .first-sec {
    padding-top: 100px;
  }
}

@media (min-width: 100px) and (max-width: 1199px) {
  .tabs-wrap {
    flex-direction: column;
    align-items: start;
    gap: 30px;
    margin-bottom: 50px;
  }

  .tabs-wrap:has(.btn-wrap) {
    flex-direction: row;
  }
}

@media (min-width: 100px) and (max-width: 991px) {
  .tabs-wrap:has(.btn-wrap) {
    flex-direction: column;
  }

}

@media (min-width: 100px) and (max-width: 768px) {
  .nav-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .nav-pills-wrap {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 15px;
  }

  .nav-pills-wrap::-webkit-scrollbar {
    height: 4px;
  }

}

@media (min-width: 100px) and (max-width: 575px) {


  .search-form {
    width: 100%;
  }

  .search-wrap {
    width: 100%;
  }

  .search-input {
    width: 100%;
  }

  .py-100 {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .popular-card {
    flex-direction: column;
    align-items: start;
  }

  section.sub-banner {
    background-color: #153651;
    background-image: unset !important;
  }

  .sub-banner h2 {
    font-size: 20px;
  }

  .btn-pri {
    font-size: 13px;
  }

  div#search-results {
    display: none !important;
  }

  .inner-banner h1 {
    font-size: 24px;
  }

  .no-post-found {
    font-size: 24px;
  }
}