
#hero-5 {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  padding: 150px 20px;
  color: #fff;
  text-align: center;
}
#hero-5 .hero-title {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
}
#hero-5 .hero-subtitle {
  font-size: 22px;
  margin-bottom: 30px;
}
.btn.btn-light {
  padding: 14px 40px;
  font-size: 18px;
  background-color: #fff;
  color: #2575fc;
  text-decoration: none;
  border-radius: 4px;
}



#tag-section-2 {
  padding: 60px 15px;
  margin: 0 auto;
  max-width: 900px;
}
#tag-section-2 .section-hero {
  background-size: cover;
  background-position: center;
  padding: 70px 15px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}
#tag-section-2 .list-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
#tag-section-2 .list-item img {
  width: 150px;
  height: 100%;
  object-fit: cover;
}
#tag-section-2 .content {
  padding: 15px;
  flex: 1;
}
@media (max-width: 576px) {
  #tag-section-2 .list-item {
    flex-direction: column;
  }
  #tag-section-2 .list-item img {
    width: 100%;
    height: auto;
  }
}



/* 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;
    }
} 



