.resources-archived-tabs .tabs-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}
.resources-archived-tabs .tabs-header-wrapper,
.resources-archived-tabs .featured-posts-wrapper {
  margin-bottom: 40px;
}
.resources-archived-tabs .tabs-header-label {
  font-weight: 600;
}
.resources-archived-tabs .tabs-header-post {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 18px;
  flex-wrap: wrap;
  flex:1;
}
.resources-archived-tabs .tabs-header-post,
.resources-archived-tabs .post-tags {
  text-transform: capitalize;
}
.resources-archived-tabs .tabs-header-post a {
  text-decoration: none;
  color: #4a4a4a;
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 15px;
  line-height: 100%;
  display: block;

}
.resources-archived-tabs .tabs-header-post a:not(.dropdown-item) {
  text-align: center;
}
.resources-archived-tabs .tabs-header-post a.active {
  color: #fff;
  background: linear-gradient(90deg, #1a1a1a 0%, #363636 100%);
}
.resources-archived-tabs .tabs-header-post a.active:hover {
  color: #fff;
}

.resources-archived-tabs .tabs-header-post a:hover {
    color: #1a1a1a;
}

.resources-archived-tabs .tab-more {
  position: relative;
}
.resources-archived-tabs .dropdown-toggle {
  position: relative;
}
.resources-archived-tabs .dropdown-toggle:after{
  content: '';
  position: absolute;
  top: 50%;
  right:-4px;
  width: 19px;
  height: 19px;
  background: url(../images/mdi-light_chevron-down.svg) no-repeat center center;
  background-size: contain;
  transform: translateY(-50%) rotate(0deg);
  transition: all 0.3s ease;
}
.resources-archived-tabs .dropdown:hover .dropdown-toggle:after{
  transform: translateY(-50%) rotate(180deg);
}
.resources-archived-tabs .dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  min-width: 310px;
  z-index: 10;
  padding: 5px;
}

.resources-archived-tabs .tabs-header-post a.dropdown-toggle.active {
  background:none !important;
  color: #4a4a4a !important;
}
@media (max-width: 1279px) {
  .resources-archived-tabs .dropdown-menu {
    right: 0;
  }
  .resources-archived-tabs .tab-more .dropdown-menu a {
    width: max-content;
  }
  .resources-archived-tabs .tab-more:hover .dropdown-menu {
    display: flex !important;
    flex-direction: column;
    width: 100%;
  }
}
@media (max-width: 414px) {
  .resources-archived-tabs .dropdown-menu {
      right: -110%;
  }
}
.resources-archived-tabs .tab-more:hover .dropdown-menu {
  display: block;
}

.resources-archived-tabs .tabs-header-post a.dropdown-item {
  line-height: 1.25;
  padding: 8px 15px;
  width: 100%;
}
.resources-archived-tabs .tabs-header-post a.dropdown-item:hover {
  color: #1a1a1a;
}
.resources-archived-tabs .tabs-header-post a.dropdown-item.active:hover {
  color: #fff;
}
.resources-archived-tabs .featured-post-item {
  display: flex;
  align-items: center;
  gap: 40px;
}
.resources-archived-tabs .featured-post-item .post-thumbnail {
  width: 49%;
  border-radius: 0;
  overflow: hidden;
}
.resources-archived-tabs .featured-post-item .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resources-archived-tabs .featured-post-item .post-content {
  flex:1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resources-archived-tabs .featured-post-item .post-title,
.resources-archived-tabs .grid-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 100%;
}
.resources-archived-tabs .featured-post-item .post-title {
  margin-bottom: 0;
}
.resources-archived-tabs .featured-post-item .post-title a {
  text-decoration: none;
}
.resources-archived-tabs .post-tags {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.resources-archived-tabs .post-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  margin-bottom: 0;
}
.resources-archived-tabs .post-title a {
  color: #1a1a1a;
  text-decoration: none;
}
.resources-archived-tabs .featured-post-item .post-title {
  font-size: 36px;
}
.resources-archived-tabs .post-date-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.resources-archived-tabs .post-readmore {
  margin-top: auto;
}
.resources-archived-tabs .featured-posts-wrapper .post-readmore {
  margin-top: 29px;
}
.resources-archived-tabs .btn-readmore  {
  /*color: #317017;*/
  font-weight: 600;
}

.resources-archived-tabs .post-excerpt {
  display: -webkit-box;            /* necessary for line clamping */
  -webkit-box-orient: vertical;     /* vertical text flow */
  -webkit-line-clamp: 3;            /* show only 4 lines */
  overflow: hidden;                 /* hide the rest */
  text-overflow: ellipsis;          /* show “…” */
}
.resources-archived-tabs .featured-post-item,
.resources-archived-tabs .post-tab-item {
  position: relative;
}

.resources-archived-tabs .featured-post-item .post-wrap-link,
.resources-archived-tabs .post-tab-item .post-wrap-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.resources-archived-tabs .featured-post-item:hover img,
.resources-archived-tabs .post-tab-item:hover img {
  transform: scale(1.05);
}
.featured-post-item .post-readmore a {
  color: #fff !important;
  text-decoration: none;
}

.resources-archived-tabs .featured-post-item:hover .btn.btn-gradient-horizontal {
  background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 100%);
}

.resources-archived-tabs .post-tab-item:hover .btn-readmore {
 color: #555 !important;
}
/*.resources-archived-tabs .btn-readmore {
  transition: all 0.3s ease;
  position: relative;
}
.resources-archived-tabs .btn-readmore:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #367C1A;
}
.resources-archived-tabs .featured-post-item:hover .btn-readmore:before,
.resources-archived-tabs .post-tab-item:hover .btn-readmore:before {
  width: 100%;
}*/
.resources-archived-tabs .resources-archived-loading {
  text-align: center;
  padding: 30px;
}
.resources-archived-tabs .loading-spinner {
  color: #666;
  font-size: 16px;
}
.resources-archived-tabs .loading-spinner:before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1a1a1a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.resources-archived-tabs .tabs-content-wrapper {
  padding: 20px 0;
}
.resources-archived-tabs .tabs-content {
  min-height: 200px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 100%;
}
.resources-archived-tabs .post-tab-item {
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.resources-archived-tabs .post-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resources-archived-tabs .post-thumbnail {
  border-radius: 0;
  overflow: hidden;
}

.resources-archived-tabs .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
  transition: all .6s ease-out;
}
.resources-archived-tabs .post-tab-item .post-thumbnail img {
  height: 300px;
}
.resources-archived-tabs .post-tab-item .post-thumbnail {
  margin-bottom: 10px;
}
.resources-archived-tabs .post-date {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: #4a4a4a;
  margin-bottom: 5px;
}
body.page .home-prefix-icon + span,
body.page .ninetenowtoo-breadcrumb-item {
  display: none;
}
@media (min-width: 0px) {
  .resources-archived-tabs .tabs-content {
    gap: 40px;
  }
}
@media (min-width: 768px) {
  .resources-archived-tabs .post-tab-item {
    width: calc(50% - 15px);
  }
  .resources-archived-tabs .tabs-content {
    gap: 60px 30px;
  }
}
@media (min-width: 992px) {
  .resources-archived-tabs .post-tab-item {
    width: calc(33.33% - 20px);
  }
}

@media (min-width: 1200px) {
  .resources-archived-tabs .tabs-content {
    gap: 80px 40px;
  }
  .resources-archived-tabs .post-tab-item {
      width: calc(33.33% - 26.66px);
  }
}

@media (max-width: 1200px) {
  body.archive.post-type-archive-resources .pxl-wapper #pxl-main {
      padding-top: 70px !important;
  }
}

@media (max-width: 991px) {
  .resources-archived-tabs .featured-post-item {
    flex-direction: column;
  }
  .resources-archived-tabs .featured-post-item .post-thumbnail {
    width: 100%;
  }
  .resources-archived-tabs .featured-post-item {
      gap: 20px !important;
  }
}
@media (max-width: 767px) {
  .resources-archived-tabs .featured-post-item .post-thumbnail {
    width: 100% !important;
  }
  
  .resources-archived-tabs .tabs-header {
    gap:30px !important;
  }
  .resources-archived-tabs .featured-post-item,
  .resources-archived-tabs .tabs-content {
    flex-direction: column;
  }
 
}

@media (max-width: 533px) {
  .resources-archived-tabs .tabs-header-wrapper {
   flex-direction: column;
  }
  .resources-archived-tabs .tabs-header-label {
    width: 100%;
  }
}