
#hero-1 {
  text-align: center;
  padding: 100px 20px;
  background-color: #f8f9fa;
}
#hero-1 .hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}
#hero-1 .hero-subtitle {
  font-size: 20px;
  color: #6c757d;
  margin-bottom: 30px;
}
.btn.btn-primary {
  padding: 12px 30px;
  font-size: 18px;
}



/* Section & background accents */
#category-posts-14 {
  position: relative;
  padding: 80px 0;
  background: #ffffff;
  overflow: hidden;
}

/* Accent shapes */
#category-posts-14::before,
#category-posts-14::after,
#category-posts-14 .accent-shape {
  position: absolute;
  pointer-events: none;
}
#category-posts-14::before {
  content: '';
  width: 200px; height: 200px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  top: -40px; left: -40px;
}
#category-posts-14::after {
  content: '';
  width: 150px; height: 150px;
  background: rgba(239, 68, 68, 0.1);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  bottom: -30px; right: 20%;
}
#category-posts-14 .accent-shape.shape-1 {
  width: 120px; height: 120px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  top: 30%; left: 80%;
}
#category-posts-14 .accent-shape.shape-2 {
  width: 100px; height: 100px;
  background: rgba(234, 179, 8, 0.1);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  bottom: 20%; left: 10%;
}

/* Container above accents */
#category-posts-14 .container {
  position: relative;
  z-index: 1;
}

/* Header */
#category-posts-14 .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
#category-posts-14 .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
}
#category-posts-14 .section-subtitle {
  font-size: 1rem;
  color: #6b7280;
}

/* Make entire card clickable */
.card-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card style */
#category-posts-14 .post-card {
  background: #ffffff;
  border-radius: .75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease, box-shadow .3s ease;
}
#category-posts-14 .post-card.visible {
  transform: translateY(0);
  opacity: 1;
}
#category-posts-14 .post-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Image */
#category-posts-14 .post-card img {
  width: 100%;
  display: block;
}

/* Card body */
#category-posts-14 .card-body {
  padding: 1rem;
}
#category-posts-14 .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
#category-posts-14 .card-excerpt {
  font-size: .95rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

/* Read more badge */
#category-posts-14 .btn-readmore {
  font-size: .875rem;
  font-weight: 500;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  transition: color .3s ease;
}
#category-posts-14 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-14 .btn-readmore:hover {
  color: #4338ca;
}
#category-posts-14 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-14 .pagination-wrapper,
#category-posts-14 .load-more-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}




/* style.css for post-section-2 */
#post-section-2 {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #ffffff; /* Clean white background */
}

#post-section-2 .section-header {
    margin-bottom: 45px;
    text-align: center;
}

#post-section-2 .section-header .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

#post-section-2 .section-header .section-subtitle {
    font-size: 1.05rem;
    color: #666;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

#post-section-2 .post-list-item {
    background-color: #f8f9fa; /* Light background for each item */
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 20px; /* Inner padding for the item */
    overflow: hidden; /* To contain floated elements or for box-shadow */
    transition: box-shadow 0.3s ease-in-out;
}

#post-section-2 .post-list-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#post-section-2 .post-item-image-wrapper {
    border-radius: 6px;
    overflow: hidden;
    max-height: 300px; /* Control image height */
}

#post-section-2 .post-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#post-section-2 .post-list-item:hover .post-item-image {
    transform: scale(1.05);
}

#post-section-2 .post-item-content {
    padding-left: 25px; /* Space between image and content on larger screens */
    padding-right: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content if row height allows */
    height: 100%; /* Ensure content area takes full height of its column */
}

/* For alternating layout, content padding adjustment might be needed if image is on the right */
#post-section-2 .post-list-item .order-md-last + .col-md-7 .post-item-content,
#post-section-2 .post-list-item .order-lg-last + .col-lg-7 .post-item-content {
    padding-left: 25px;
    padding-right: 0;
}
#post-section-2 .post-list-item .order-md-first + .col-md-7 .post-item-content,
#post-section-2 .post-list-item .order-lg-first + .col-lg-7 .post-item-content {
    padding-right: 25px;
    padding-left: 0;
}


#post-section-2 .post-item-categories {
    margin-bottom: 10px;
}

#post-section-2 .post-item-category-badge {
    font-size: 0.75rem;
    padding: 0.35em 0.7em;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    background-color: #5c6bc0; /* Indigo accent for categories */
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#post-section-2 .post-item-category-badge:hover {
    background-color: #3f51b5; /* Darker indigo */
}

#post-section-2 .post-item-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

#post-section-2 .post-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

#post-section-2 .post-item-title a:hover {
    color: #5c6bc0; /* Category color on hover */
}

#post-section-2 .post-item-meta {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 15px;
}

#post-section-2 .post-item-meta .meta-icon {
    margin-right: 5px;
    color: #aaa;
}

#post-section-2 .post-item-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

#post-section-2 .post-item-readmore-btn {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    align-self: flex-start; /* Align button to the left of its container */
}

#post-section-2 .post-item-readmore-btn .btn-icon {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

#post-section-2 .post-item-readmore-btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

#post-section-2 .post-item-readmore-btn:hover .btn-icon {
    transform: translateX(4px);
}

#post-section-2 .pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Responsive adjustments for alternating layout */
@media (max-width: 767.98px) {
    #post-section-2 .post-item-content {
        padding-left: 15px; /* Standard padding on mobile */
        padding-right: 15px;
        padding-top: 20px; /* Add space above content when image stacks on top */
    }
    #post-section-2 .post-list-item .order-md-last + .col-md-7 .post-item-content,
    #post-section-2 .post-list-item .order-md-first + .col-md-7 .post-item-content,
    #post-section-2 .post-list-item .order-lg-last + .col-lg-7 .post-item-content,
    #post-section-2 .post-list-item .order-lg-first + .col-lg-7 .post-item-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    #post-section-2 .post-item-title {
        font-size: 1.4rem;
    }
    #post-section-2 .post-item-image-wrapper {
        max-height: 250px; /* Adjust image height for stacked layout */
    }
}



