#timeliness > .section-body {
  min-height: 350px;

  .slick-track {
    display: flex !important;
    margin: 0 !important;
  }
}

.category-selector-wrapper {
  min-width: fit-content;
  position: relative;
}

.category-selector {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-selector li {
  padding: 10px 1rem;
}

.category-btn {
  max-width: 100%;
  width: 100%;
  border: none;
  background: none;
  font-weight: 500;
  border-bottom: 2px solid #3e3a32;
  padding: 10px;
  transition: all 1s ease-in-out;
}

.category-btn > i {
  opacity: 0;
}

.category-btn.active > i {
  opacity: 1;
}

.category-btn:hover:not(.active) > i {
  animation: slide-in 0.4s ease-in 0.1s 1 normal forwards;
}

.timeliness-body {
  max-width: 80%;
  align-items: flex-start;
  justify-content: center;
}

@keyframes slide-in {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }

  10% {
    transform: translateX(-35px);
    opacity: 0.1;
  }

  20% {
    transform: translateX(-30px);
    opacity: 0.3;
  }

  30% {
    transform: translateX(-20px);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-15px);
    opacity: 0.6;
  }

  60% {
    transform: translateX(-10px);
    opacity: 0.7;
  }

  80% {
    transform: translateX(-8px);
    opacity: 0.8;
  }

  90% {
    transform: translateX(-5px);
    opacity: 0.9;
  }

  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

.category-post {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1710px) {
  #timeliness .slick-slide {
    margin-left: 1%;
  }
}
@media screen and (min-width: 1400px) {
  #timeliness .slick-slider {
    min-width: 900px !important;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1400px) {
  #timeliness .slick-slider {
    min-width: 500px !important;
  }
}

.post-wrapper {
  width: 280px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 2px 4px #00000029;
  margin: 0px 2px 4px 0px;
  overflow: hidden;
  min-height: 370px;
}

.post-wrapper:hover {
  opacity: 0.75;
}

.post-wrapper-inner {
  box-shadow: 0px 2px 4px #00000029;
  border-radius: 10px;
  max-width: 260px;
  overflow: hidden;
}

.category-post-title {
  max-width: 100%;
  overflow: hidden;
  color: #3b3b3a;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-post-title p {
  font-weight: bold;
  font-size: 20px;
}

.category-post-content-wrapper {
  max-width: 100%;
  width: 100%;
}

.post-thumbnail img {
  height: 160px;
  object-fit: scale-down;
  background: #f9f1df;
  max-width: 280px;
  width: 100%;
}

.post-not-found-text {
  width: 280px !important;
}
.category-post-content {
  color: #7c7c7c;
}
.custom-slider-btn {
  font-size: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 100%;
  transition: all 0.2s ease-in;
  transform: translateX(-50%);
}

.custom-slider-btn:hover:not(.slick-disabled) {
  color: #fff !important;
}

.custom-slider-btn.slick-disabled {
  opacity: 0.25;
}

.slick-dots li button:before {
  color: #fff !important;
}

#loading {
  width: 100px;
}

@media screen and (min-width: 992px) {
  .category-selector {
    max-height: 477px;
    overflow: auto;
  }

  .category-selector-wrapper {
    padding: 0px 60px 0px 0;
  }

  #timeliness-slider-prev {
    left: -15px;
  }

  #timeliness-slider-next {
    left: calc(100% - -15px);
  }

  .main-btn-wrapper {
    padding: 50px 0px 50px 50px !important;
  }
}

@media screen and (min-width: 991px) and (max-width: 1199px) {
  .dropdown-btn {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  #timeliness-slider-prev {
    left: -10px;
  }

  #timeliness-slider-next {
    left: calc(100% - -10px);
  }

  .posts-wrapper,
  .category-selector-wrapper {
    width: 90%;
    margin: 0 auto;
  }

  .dropdown-btn {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px;
    cursor: pointer;
    border: 0;
    border-bottom: 2px solid #3e3a32;
    background-color: #fff;
    color: #931913;
    font-weight: 500;
    font-size: 19px;
  }

  .category-selector {
    flex-direction: column;
  }

  i.fa-solid.fa-chevron-down {
    color: #931913;
    opacity: 0.7;
  }

  .dropdown-btn {
    position: relative;
    max-height: 500px;
    overflow: auto;
  }

  .category-selector {
    position: absolute;
    top: 51px;
    left: 0px;
    right: 0;
    z-index: 9;
    background: #fff;
    box-shadow: 0px 2px 4px #0000004f;
  }
}

@media screen and (max-width: 768px) {
  #timeliness-slider-next {
    left: calc(100% - -5px);
  }

  #timeliness-slider-prev {
    left: -5px;
  }

  .custom-slider-btn {
    font-size: 20px;
    width: 40px;
    height: 40px;
  }
  .category-post {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .text-row-2 {
    min-height: 75px !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}
