.has-border {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
}

.has-border:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.post-thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.has-border:hover .post-thumb img {
  transform: scale(1.05);
}

.slick-slide > div {
  height: 100%;
}

@media (max-width: 1024px) {
  .has-border {
    flex-direction: column;
    text-align: center;
    padding: 1rem !important;
    height: 100%;
  }

  .post-thumb {
    margin-right: 0 !important;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .post-thumb img {
    width: 100%;
    max-width: 180px;
    height: 130px;
    border-radius: 10px;
  }

  .post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .post-content p {
    margin: 0 auto;
  }
}

.sb-topnav {
  height: 60px;
  display: flex;
  align-items: center;
}

.logo-wrapper img {
  max-height: 40px;
}

.dropdown-menu {
  min-width: 180px;
}

@media (max-width: 768px) {
  .sb-topnav {
    padding: 0.5rem 1rem;
    justify-content: space-between;
  }

  .logo-wrapper {
    width: 80px !important;
    height: 32px !important;
  }

  .navbar-nav .nav-link {
    padding: 0.25rem 0.5rem;
  }

  .nav-link span.text-light {
    display: none !important;
  }

  .dropdown-menu {
    position: absolute !important;
    top: 45px !important;
    right: 0 !important;
  }
}

@media (max-width: 400px) {
  .sb-topnav {
    height: auto;
    flex-wrap: wrap;
    padding: 0.4rem;
  }

  .logo-wrapper {
    margin-bottom: 6px;
  }
}

@media (max-width: 768px) {
  .navbar-brand .logo-wrapper {
    width: 80px !important;
    height: 32px !important;
  }

  .navbar-toggler {
    border: none;
    outline: none;
  }
}

.slider-wrap .slick-track {
  display: flex !important;
  align-items: stretch;
}

.slider-wrap .slick-slide {
  display: flex !important;
  height: auto !important;
}

.slider-wrap .slick-slide > div {
  display: flex;
  flex: 1;
  height: 100%;
}

.slider-wrap .slick-slide .card-equal {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.3s ease;
  height: 100%;
}

.slider-wrap .slick-slide .card-equal .post-thumb {
  flex-shrink: 0;
}

.slider-wrap .slick-slide .card-equal .post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

.slider-wrap .slick-slide .card-equal .post-content p.fw-bold {
  min-height: 40px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-wrap .slick-slide .card-equal .post-content p.text-dark {
  min-height: 48px; 
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.slider-wrap .slick-slide .card-equal:hover {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .slider-wrap .slick-slide .card-equal {
    padding: 12px;
  }
}
