
#hero-16 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
}
#hero-16 .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#hero-16 .hero-content-wrapper-16 {
  max-width: 650px;
  padding: 2.5rem 3.5rem;
  border-radius: 15px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
  color: #ffffff;
}
#hero-16 .hero-title-16 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-16 .hero-subtitle-16 {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}
#hero-16 .hero-cta-button-16 {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease;
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
#hero-16 .hero-cta-button-16:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 767.98px) {
  #hero-16 {
    min-height: 65vh;
    padding: 3rem 1rem;
  }
  #hero-16 .hero-content-wrapper-16 {
    padding: 2rem;
    max-width: 90%;
  }
  #hero-16 .hero-title-16 {
    font-size: 2.2rem;
  }
  #hero-16 .hero-subtitle-16 {
    font-size: 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;
}




#call-to-action-24 {
  position: relative;
  padding: 0;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  color: #ffffff;
}
.cta-portrait-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#call-to-action-24 .container {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.cta-portrait-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.cta-portrait-content-col h2 {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.3;
}
.cta-portrait-content-col p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}
.cta-portrait-content-col .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  width: fit-content;
}
.cta-portrait-image-col {
  position: relative;
  text-align: center;
}
.cta-portrait-img {
  max-width: 100%;
  height: auto;
  max-height: 550px;
  position: relative;
  bottom: -5rem;
  margin-bottom: -5rem;
}
@media (max-width: 991.98px) {
  .cta-portrait-content-col {
    text-align: center;
    margin-bottom: 0;
  }
  .cta-portrait-content-col p {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-portrait-content-col .btn {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }
  .cta-portrait-img {
    max-height: 450px;
    bottom: -4rem;
    margin-bottom: -4rem;
  }
  #call-to-action-24 .container {
    padding-bottom: 0;
  }
}
@media (max-width: 767.98px) {
  .cta-portrait-content-col h2 {
    font-size: 2rem;
  }
  .cta-portrait-img {
    max-height: 350px;
    bottom: -3rem;
    margin-bottom: -3rem;
  }
}


