/* ============================================================
   Shared Hero Gradient — used by HeroGradient component
   and as fallback for all cover-image heroes.
   ============================================================ */

/* ---------- Wrapper ---------- */
.dept-hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* ---------- Gradient background ---------- */
.dept-hero-bg {
  position: absolute;
  inset: 0;
  background: var(
    --gradient-hero,
    linear-gradient(
      135deg,
      var(--color-primary) 0%,
      var(--color-primary) 50%,
      #d4af37 100%
    )
  );
}

/* Geometric decorative circles */
.dept-hero-bg::before,
.dept-hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.dept-hero-bg::before {
  width: 26.25rem;
  height: 26.25rem;
  background: #fff;
  top: -10rem;
  left: -5rem;
}

.dept-hero-bg::after {
  width: 18.75rem;
  height: 18.75rem;
  background: #fff;
  bottom: -7.5rem;
  right: 10%;
}

/* ---------- Overlay (content layer) ---------- */
.dept-hero-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 1.875rem;
  padding-right: 5%;
  padding-left: 5%;
  padding-top: 2.5rem;
  gap: 0.625rem;
}

/* ---------- Breadcrumb inside hero ---------- */
.hero-breadcrumb-wrap .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.hero-breadcrumb-wrap .breadcrumb-item {
  font-size: 0.7813rem;
  font-weight: 600;
}

.hero-breadcrumb-wrap .breadcrumb-item span,
.hero-breadcrumb-wrap .breadcrumb-item.active span {
  color: rgba(255, 255, 255, 0.75) !important;
}

.hero-breadcrumb-wrap .breadcrumb-item.nonactive a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none;
  border-bottom: none !important;
  transition: color 0.2s ease;
}

.hero-breadcrumb-wrap .breadcrumb-item.nonactive:hover a {
  color: #fff !important;
  border-bottom: none !important;
}

.hero-breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.5) !important;
  padding: 0 0.375rem;
}

/* ---------- Content row (badge + title) ---------- */
.dept-hero-content {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  animation: deptFadeUp 0.6s ease both;
}

@keyframes deptFadeUp {
  from {
    opacity: 0;
    transform: translateY(1.125rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Icon badge ---------- */
.dept-hero-badge {
  width: 3.375rem;
  height: 3.375rem;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(0.375rem);
  flex-shrink: 0;
}

.dept-hero-badge i {
  font-size: 1.375rem;
}

/* ---------- Title ---------- */
.dept-hero-title {
  color: #fff;
  font-size: 1.625rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.35;
}

/* ---------- Subtitle ---------- */
.dept-hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}
