/* Full width landing */
.container-fluid.stackasian-landing {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Category bar */
.category-bar-wrapper {
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
}

.category-scroll {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 8px;
  padding: 8px 0;
}

.category-scroll::-webkit-scrollbar {
  height: 6px;
}
.category-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}
.category-scroll .category-link {
  white-space: nowrap;
  display: inline-block;
  padding: 0.5rem 0.9rem;
  color: #333;
  border-radius: 6px;
  background: #f8f9fa;
  transition: background 0.2s ease;
  text-decoration: none;
}
.category-scroll .category-link:hover {
  background: #e9ecef;
}

/* Section spacing and cards */
.landing-section {
  padding: 30px 0;
}
.landing-section .card-img-top {
  object-fit: cover;
  height: 220px;
  width: 100%;
}
.landing-section .card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border-radius: 8px;
}
.landing-section .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Featured Hero */
.featured-hero {
  height: 420px;
  overflow: hidden;
  border-radius: 8px;
}
@media (max-width: 992px) {
  .featured-hero {
    height: 300px;
  }
}
@media (max-width: 576px) {
  .featured-hero {
    height: 200px;
  }
}

/* Latest Masonry */
.latest-masonry {
  column-count: 3;
  column-gap: 1rem;
}
.latest-masonry .masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
}
@media (max-width: 992px) {
  .latest-masonry {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  .latest-masonry {
    column-count: 1;
  }
}

/* Health, Education, Technology Grid Fix */
.health-section .row,
.education-section .row,
.technology-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.health-section .col-12,
.education-section .col-12,
.technology-section .col-12 {
  padding: 10px;
}

.health-card,
.edu-card,
.tech-card {
  border-radius: 8px;
  padding: 0;
  background: #fff;
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.health-card img,
.edu-card img,
.tech-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.health-card:hover,
.edu-card:hover,
.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.health-card .card-body,
.edu-card .card-body,
.tech-card .card-body {
  padding: 15px;
}

/* Bolly4u overlay */
.bolly-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.bolly-card img {
  transition: transform 0.35s ease;
  display: block;
  width: 100%;
}
.bolly-card:hover img {
  transform: scale(1.04);
}
.bolly-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Pagination small */
.pagination {
  margin: 0;
}
.pagination .page-link {
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
}

/* small screens */
@media (max-width: 576px) {
  .category-scroll .category-link {
    font-size: 0.85rem;
    padding: 0.35rem 0.6rem;
  }
  .landing-section h2 {
    font-size: 1.05rem;
  }
  .landing-section .card-img-top {
    height: 160px;
  }
  .health-card img,
  .edu-card img,
  .tech-card img {
    height: 160px;
  }
}

/* minor helpers */
.badge-number {
  background: #0d6efd;
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  margin-right: 10px;
}