
#hero-23 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 5rem 0;
  text-align: center;
}
#hero-23 .container {
  position: relative;
  z-index: 2;
}
#hero-23 .hero-content-wrapper-23 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
#hero-23 .hero-title-23 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
#hero-23 .hero-subtitle-23 {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}
#hero-23 .hero-cta-button-23 {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}
#hero-23 .hero-cta-button-23:hover {
  filter: brightness(115%);
}
@media (max-width: 767.98px) {
  #hero-23 {
    min-height: 50vh;
    padding: 4rem 0;
  }
  #hero-23 .hero-title-23 {
    font-size: 2.4rem;
  }
  #hero-23 .hero-subtitle-23 {
    font-size: 1.1rem;
  }
}



/* category-posts-5 Styles - Modern Post Grid */
#category-posts-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    /* background-color is set via data.json or defaults to #f8f9fa */
}

#category-posts-5 .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

#category-posts-5 .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
}

#category-posts-5 .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#category-posts-5 .post-grid-item .card {
    border: none; /* Remove default Bootstrap card border */
    border-radius: 0.75rem; /* Softer corners */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.075); /* Softer shadow */
    overflow: hidden; /* Ensures image corners match card corners */
    height: 100%; /* Ensure cards in a row have same height if using d-flex */
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

#category-posts-5 .post-grid-item .card.card-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#category-posts-5 .post-grid-item .card.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
}

#category-posts-5 .post-grid-item .card-img-top-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistent image sizes */
    overflow: hidden;
}

#category-posts-5 .post-grid-item .card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#category-posts-5 .post-grid-item .card:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

#category-posts-5 .post-grid-item .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows card body to expand and push footer down */
}

#category-posts-5 .post-grid-item .post-title {
    font-size: 1.25rem; /* Slightly larger title */
    font-weight: 600;
    color: #2c3e50; /* Dark blue-gray */
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

#category-posts-5 .post-grid-item .post-title a {
    color: inherit;
    text-decoration: none;
}

#category-posts-5 .post-grid-item .post-title a:hover {
    color: #007bff; /* Standard primary color for hover */
}

#category-posts-5 .post-grid-item .post-date {
    font-size: 0.85rem;
    color: #7f8c8d; /* Muted gray */
    margin-bottom: 0.75rem;
}
#category-posts-5 .post-grid-item .post-date i {
    margin-right: 0.3rem;
}

#category-posts-5 .post-grid-item .post-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows excerpt to take available space */
}

#category-posts-5 .post-grid-item .readmore-btn {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    align-self: flex-start; /* Align button to the start if card-body is flex */
}

#category-posts-5 .post-grid-item .readmore-btn i {
    margin-left: 0.3rem;
}

/* Pagination Wrapper */
#category-posts-5 .pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}



