/* Banner Section */
.page-banner {
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
  padding: 3rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

/* Optional: for banner image backgrounds */
.page-banner.has-image {
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-banner.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* subtle overlay for readability */
  border-radius: inherit;
}

/* Content wrapper */
.banner-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: auto;
  padding: 1rem;
}

/* Text styles */
.banner-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

.banner-subtitle {
  font-size: 1rem;
  color: #4b5563;
}

/* When has-image, invert text colors */
.page-banner.has-image .banner-title,
.page-banner.has-image .banner-subtitle {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-title {
    font-size: 1.5rem;
  }
  .banner-subtitle {
    font-size: 0.9rem;
  }
}
