/* ============================================================
   Inner Page Hero / Breadcrumb Banner (main.master)
   ============================================================ */

:root {
  --hero-primary: #0a6b40;
  --hero-primary-dark: #064d2e;
  --hero-accent: #f5b800;
  --hero-overlay: linear-gradient(
    115deg,
    rgba(6, 77, 46, 0.88) 0%,
    rgba(10, 107, 64, 0.72) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.page-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.page-hero:hover .page-hero-img {
  transform: scale(1.08);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.07;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 3;
  padding: 42px 15px 48px;
  color: #fff;
}

.page-breadcrumb {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.page-breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 500;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
}

.page-breadcrumb a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.page-breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  padding: 0 4px;
}

.page-breadcrumb .bc-current {
  color: var(--hero-accent);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.page-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.3px;
}

.page-hero-title:empty {
  display: none;
}

.page-hero-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--hero-accent), #ffe082);
  margin-top: 14px;
  border-radius: 4px;
}

.page-hero-subtitle {
  margin: 12px 0 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  line-height: 1.6;
}

.page-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,32 C360,64 720,0 1080,24 C1260,36 1380,40 1440,32 L1440,48 L0,48 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
  pointer-events: none;
}

.page-content-wrap {
  background: #f8fbf9;
  padding: 40px 0 50px;
}

@media (max-width: 767px) {
  .page-hero {
    min-height: 180px;
  }

  .page-hero-inner {
    padding: 32px 15px 40px;
  }

  .page-breadcrumb {
    font-size: 0.82rem;
  }

  .page-content-wrap {
    padding: 28px 0 40px;
  }
}
