/* Layout */
.layout-container {
  display: flex;
  flex-wrap: wrap;
  padding: 70px 20px 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* Sidebar */
.sidebar {
  max-width: 250px;
  width: 100%;
  padding: 0px 0px 20px 0px;
  background: #fff;
}

.sidebar a {
  text-decoration: none;
}

/* Search Form */
.search-form {
  margin-bottom: 24px;
}

.search-form input[type="search"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

.search-form button {
  width: 100%;
  padding: 10px;
  background: #EB731A;
  color: #fff;
  border: none;
  border-radius: 6px;
}

/* Sidebar Title */
.sidebar-heading {
  font-size:16px;
  color: #EB731A;
  margin-bottom: 10px;
}

/* Category List */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 12px;
}

.category-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #1A1A1A;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.category-link:hover {
  background-color: #fdf1e9;
  color: #EB731A;
  text-decoration: none;
}

/* Active Category */
.category-link.active {
  background-color: #fcd9be;
  color: #EB731A;
  font-weight: 600;
}

/* Main Content */
.main-content {
  flex: 1;
  min-width: 300px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-item {
  display: flex;
  flex-direction: column;
  background: #fff;
 /* border: 1px solid #eee;*/
  border-radius: 6px;
  overflow: hidden;
}

.card.img-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-img-top img {
  width: 100%;
  height: auto;
  display: block;
}

.card-body {
  padding: 15px;
}

.card-body h3 {
  margin-bottom: 10px;
}

.blog-info {
  font-size: 15px;
  color: #202b47;
}

.card-footer {
  padding: 10px 15px;
  background: #f9f9f9;
  font-weight: 500;
  color: #EB731A;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  min-width: 40px;
  border-radius: 8px;
      border: 1px solid #d2d2d2;
  background-color: #ffffff;
  color: #1A1A1A;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.pagination .page-numbers:hover {
  border-color: #EB731A;
  color: #EB731A;
}

.pagination .page-numbers.current {
  border-color: #EB731A;
  color: #EB731A;
  font-weight: 700;
}

.card-img-top {
  overflow: hidden;
  position: relative;
}

.card-img-top img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.card.img-card:hover .card-img-top img {
  transform: scale(1.05);
}

/* Skeleton Loader Effect */
/* Skeleton Loader */
.skeleton .skeleton-box,
.skeleton .skeleton-line {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite ease-in-out;
  border-radius: 4px;
}

.skeleton-box {
  width: 100%;
  height: 180px;
  margin-bottom: 12px;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
}

.skeleton-line.title {
  width: 70%;
  height: 18px;
}

.skeleton-line.small {
  width: 40%;
}

.skeleton-line.button {
  width: 90px;
  height: 12px;
  border-radius: 20px;
  margin-top: 8px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@media (max-width: 619px) {
  .layout-container {
    flex-direction: column;
    padding: 100px 15px 20px 15px;
  }

  .sidebar {
    max-width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #f9f9f9;
  }

  .main-content {
    width: 100%;
  }

  .search-form input[type="search"],
  .search-form button {
    width: 100%;
   font-size: 16px;
  }

  .category-link {
    font-size: 16px;
    padding: 10px;
  }

  .blog-list.g-4 {
    grid-template-columns: 1fr !important;
  }

  .card-body h3 {
    font-size: 1.1rem;
  }

  .card-footer span {
    font-size: 16px;
  }
}
p {
    margin-bottom: 10px !important;
}

