
#hero-21 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 6rem 0;
  background-size: cover;
  background-position: center;
  text-align: center;
}
#hero-21 .hero-overlay-21 {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#hero-21 .container {
  position: relative;
  z-index: 2;
}
#hero-21 .hero-content-wrapper-21 {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
#hero-21 .hero-title-21 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
#hero-21 .hero-subtitle-21 {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}
#hero-21 .hero-cta-button-21 {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#hero-21 .hero-cta-button-21:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
@media (max-width: 767.98px) {
  #hero-21 {
    min-height: 60vh;
    padding: 4rem 0;
  }
  #hero-21 .hero-title-21 {
    font-size: 2.5rem;
  }
  #hero-21 .hero-subtitle-21 {
    font-size: 1.1rem;
  }
}



/* Section wrapper */
#category-posts-26 {
  background: #E0DED9;
  padding: 80px 20px;
  text-align: center;
}

/* Header */
#category-posts-26 .intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #222;
}
#category-posts-26 .intro p {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Dark band behind cards */
#category-posts-26 .cards-band {
  position: relative;
  background: #4A4438;
  padding: 60px 0;
}
#category-posts-26 .cards-band::before {
  content: '';
  position: absolute;
  top: -40px; left: 0; right: 0;
  height: 40px;
  background: #E0DED9;
}

/* Cards container */
#category-posts-26 .cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Individual card */
#category-posts-26 .card-item {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 300px;
  transition: transform .3s ease, box-shadow .3s ease;
}
#category-posts-26 .card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Card image */
#category-posts-26 .card-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Card content */
#category-posts-26 .card-content {
  padding: 1.5rem;
  text-align: left;
}
#category-posts-26 .card-content h3 {
  font-size: 1.25rem;
  margin: 0 0 .75rem;
  color: #222;
}
#category-posts-26 .card-content p {
  font-size: .95rem;
  color: #555;
  margin-bottom: 1.25rem;
}

/* Read More link */
#category-posts-26 .readmore {
  font-size: .875rem;
  font-weight: 600;
  color: #4A4438;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color .3s ease;
}
#category-posts-26 .readmore i {
  margin-left: .25rem;
  transition: transform .3s ease;
}
#category-posts-26 .readmore:hover {
  color: #222;
}
#category-posts-26 .readmore:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  #category-posts-26 .cards {
    flex-direction: column;
    align-items: center;
  }
  #category-posts-26 .cards-band::before {
    display: none;
  }
}




/* style.css for post-section-4 */
#post-section-4 {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f8f9fa;
}

#post-section-4 .section-global-header {
    margin-bottom: 40px;
    text-align: center;
}

#post-section-4 .section-global-header .section-global-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 10px;
}

#post-section-4 .section-global-header .section-global-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Post Area */
#post-section-4 .featured-post-area .area-title,
#post-section-4 .sidebar-area .area-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff30;
    display: inline-block;
}

#post-section-4 .featured-post-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

#post-section-4 .featured-post-image-wrapper {
    max-height: 400px; /* Control height of featured image */
    overflow: hidden;
}

#post-section-4 .featured-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#post-section-4 .featured-post-card:hover .featured-post-image {
    transform: scale(1.03);
}

#post-section-4 .featured-post-content {
    padding: 25px;
}

#post-section-4 .featured-post-categories {
    margin-bottom: 10px;
}

#post-section-4 .featured-post-category-badge {
    font-size: 0.8rem;
    padding: 0.3em 0.7em;
    margin-right: 6px;
    background-color: #6c757d;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
#post-section-4 .featured-post-category-badge:hover {
    background-color: #5a6268;
}

#post-section-4 .featured-post-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.3;
}

#post-section-4 .featured-post-title a {
    color: inherit;
    text-decoration: none;
}
#post-section-4 .featured-post-title a:hover {
    color: #007bff;
}

#post-section-4 .featured-post-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}
#post-section-4 .featured-post-meta .meta-icon {
    margin-right: 5px;
}

#post-section-4 .featured-post-excerpt {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
}

#post-section-4 .featured-post-readmore-btn {
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}
#post-section-4 .featured-post-readmore-btn .btn-icon {
    margin-left: 7px;
}

/* Sidebar Area */
#post-section-4 .sidebar-area {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#post-section-4 .sidebar-post-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
#post-section-4 .sidebar-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#post-section-4 .sidebar-post-thumbnail-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 65px;
    overflow: hidden;
    border-radius: 5px;
    margin-right: 15px;
}

#post-section-4 .sidebar-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#post-section-4 .sidebar-post-content .sidebar-post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}
#post-section-4 .sidebar-post-content .sidebar-post-title a {
    color: #343a40;
    text-decoration: none;
    transition: color 0.2s ease;
}
#post-section-4 .sidebar-post-content .sidebar-post-title a:hover {
    color: #007bff;
}

#post-section-4 .sidebar-post-meta {
    font-size: 0.8rem;
    color: #888;
}
#post-section-4 .sidebar-post-meta .meta-icon {
    margin-right: 4px;
}

#post-section-4 .sidebar-pagination-container {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}
/* Adjust Bootstrap pagination for smaller size in sidebar */
#post-section-4 .sidebar-pagination-container .pagination {
    font-size: 0.85rem;
}
#post-section-4 .sidebar-pagination-container .page-link {
    padding: 0.3rem 0.6rem;
}


/* Responsive */
@media (max-width: 991.98px) { /* Medium devices (tablets, less than 992px) */
    #post-section-4 .sidebar-area {
        margin-top: 30px;
    }
    #post-section-4 .featured-post-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) { /* Small devices (landscape phones, less than 768px) */
    #post-section-4 .section-global-header .section-global-title {
        font-size: 2rem;
    }
    #post-section-4 .featured-post-title {
        font-size: 1.4rem;
    }
     #post-section-4 .featured-post-image-wrapper {
        max-height: 300px;
    }
} 



