#timeliness > .section-body {
  min-height: 350px;

  .slick-track {
    display: flex !important;
    margin: 0 !important;
  }
}

#timeliness .text-row-2 {
  min-height: 38px;
}

.category-selector-wrapper {
  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 #24354b;
  padding: 10px;
  transition: all 1s ease-in-out;
  text-align: left;
  text-wrap: balance;
}

.category-btn > i {
  opacity: 0;
  transition: all 250ms ease-in-out;
}

.category-btn[has-child='true'] i {
  rotate: 90deg;
  opacity: 1;
}

.category-btn.active > i {
  opacity: 1;
}

.category-btn:hover:not(.active, [has-child='true']) > i {
  animation: slide-in 0.4s ease-in 0.1s 1 normal forwards;
}

@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;
}

.post-wrapper {
  width: 280px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 2px 4px #00000029;
  margin-bottom: 4px;
  overflow: hidden;
}

.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;
}

.category-post-content-wrapper {
  max-width: 100%;
  width: 100%;
}

.post-thumbnail img {
  height: 200px;
  object-fit: scale-down;
  background: #f1f1f1;
  max-width: 280px;
  width: 100%;
}

.post-not-found-text {
  width: 280px !important;
}

.custom-slider-btn {
  font-size: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 100%;
  transition: all 0.2s ease-in;
}

.custom-slider-btn:hover:not(.slick-disabled) {
  color: #fff !important;
}

.custom-slider-btn.slick-disabled {
  opacity: 0.25;
  background: #ededed !important;
  color: #a4a4a4 !important;
}

.slick-dots li button:before {
  color: #fff !important;
}

#loading {
  width: 100px;
}

#timeliness .section-title {
  color: #354352;
}

#timeliness .category-post a {
  box-shadow: 0px 2px 4px #00000029;
  border: 1px solid #354352;
  border-radius: 10px;
}

@media screen and (min-width: 1200px) {
  .category-selector {
    max-height: 477px;
    overflow: auto;
  }

  .category-selector-wrapper {
    padding: 0px 10px 0px 0;
  }
}

@media screen and (max-width: 1439px) {
  #timeliness .slick-slide > div {
    width: 75%;
    place-self: center;
  }
  .category-post a {
    min-width: 360px;
  }
  .post-thumbnail img {
    max-width: 500px;
  }
}

@media screen and (max-width: 1199px) {
  .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 #dde7ef;
    background-color: #fff;
    color: #26408b;
    font-weight: 500;
    font-size: 19px;
  }

  .category-selector {
    flex-direction: column;
  }

  i.fa-solid.fa-chevron-down {
    color: #dde7ef;
  }

  .dropdown-btn {
    position: relative;
    max-height: 500px;
    overflow: auto;
  }

  .category-selector {
    position: absolute;
    top: 54px;
    left: 0px;
    right: 0;
    z-index: 9;
    background: #fff;
  }
}

@media screen and (max-width: 768px) {
  .custom-slider-btn {
    font-size: 20px;
    width: 40px;
    height: 40px;
  }
  .category-post a {
    min-width: 300px;
  }
}
