/* ===== GENERIC PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 240px;
  padding: 3.8rem 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

/* Inner container */
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
}

.page-hero-content {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When section is in viewport */
.page-hero.in-view .page-hero-content {
  opacity: 1;
  transform: translateY(0);
}

/* Big, bold, wide title */
.page-hero-title {
  font-size: clamp(2.6rem, 4.2vw, 3.3rem);
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  /* text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55); */
}

/* Breadcrumb */
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.96rem;
  font-weight: 500;
  color: #e4f1ff;
}

.page-bc-link {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  padding-bottom: 0.04rem;
  transition: color 0.2s ease;
}

.page-bc-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #4bb4e6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.page-bc-link:hover {
  color: #4bb4e6;
}

.page-bc-link:hover::after {
  transform: scaleX(1);
}

.page-bc-separator {
  color: #c7daf6;
}

.page-bc-current {
  color: #ffe29c;
  font-weight: 700;
}

/* ===== BLOG / NEWS HERO SPECIFIC ===== */
.page-hero--blog {
  background: #0e75c2; /* fallback */
}

/* Background image with gentle motion */
.page-hero--blog::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: url("../banners/bn-02.png"); /* <-- your image here */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.9;
  transform: scale(1.05);
  animation: blogBgDrift 18s ease-in-out infinite alternate;
  z-index: 0;
}

/* Blue overlay (#0e75c2) */
.page-hero--blog::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(14, 117, 194, 0.92),
    rgba(14, 117, 194, 0.78)
  );
  mix-blend-mode: multiply;
  z-index: 0;
}

/* Background drifting / bouncing animation */
@keyframes blogBgDrift {
  0% {
    transform: scale(1.04) translateY(-6px);
  }
  50% {
    transform: scale(1.08) translateY(4px);
  }
  100% {
    transform: scale(1.05) translateY(-3px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-hero {
    min-height: 220px;
    padding: 3.2rem 1.2rem 2.6rem;
  }

  .page-hero-title {
    font-size: 2.3rem;
    letter-spacing: 0.075em;
  }

  .page-breadcrumb {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 2.7rem 1rem 2.4rem;
  }

  .page-hero-title {
    font-size: 2rem;
    letter-spacing: 0.065em;
  }
}
