/* Category Hero Component Styles */
.category-hero {
  position: relative;
  min-height: 560px; /* taller so header can float over */
  display: flex;
  align-items: flex-end;
  padding-top: 0; /* header now overlays, internal wrapper handles offset */
  background: radial-gradient(circle at 50% 40%, #f0fbfa 0%, #e2f6f4 45%, #d9f1ef 70%, #d2ece9 100%);
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}

.category-hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero/slide1.png') center/cover no-repeat;
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35) 40%, rgba(255,255,255,0.75));
  pointer-events: none;
}

.category-hero-inner {
  position: relative;
  z-index: 1; /* header sits above */
  width: 100%;
  /* default padding; JS will override padding-top with --floating-header-total + 60px */
  padding: 160px 0 40px;
}

/* Overlay header like homepage (scoped with .has-floating-hero to avoid unintended pages) */
.has-floating-hero.page-category:not(.global-fixed-header) .top-banner,
.has-floating-hero.page-category:not(.global-fixed-header) .header-wrapper { position: absolute; left: 0; right: 0; }
.has-floating-hero.page-category:not(.global-fixed-header) .top-banner { top: 0; z-index: 1200; }
.has-floating-hero.page-category:not(.global-fixed-header) .header-wrapper { top: var(--top-banner-height, 0px); z-index: 1199; }

/* Provide spacing after hero so next sections don't hide behind floating header */
.has-floating-hero.page-category:not(.global-fixed-header) main { margin-top: 80px; }

.category-breadcrumb {
  margin-bottom: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #fff;
}

.breadcrumb-list a {
  text-decoration: none;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  transition: background .25s ease, color .25s;
}

.breadcrumb-list a:hover { background: rgba(0,0,0,0.45); }

.breadcrumb-list .current { color: #06a6a1; font-weight: 700; letter-spacing: .5px; }

.crumb-sep { color: #06a6a1; font-weight: 600; }

.category-hero-content { max-width: 760px; margin: 0 auto; }

.hero-kicker {
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: #06a6a1;
  margin-bottom: 10px;
}

.hero-heading {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 3px;
  margin: 0 0 14px;
  color: #059b95;
  position: relative;
}

.hero-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 70px;
  height: 6px;
  background: linear-gradient(90deg, #06a6a1, #4fe4d5);
  border-radius: 10px;
  transform: translateX(-50%);
}

.hero-sub {
  margin-top: 34px;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #4d5b5a;
}

@media (max-width: 991.98px) {
  .category-hero { min-height: 420px; }
  .category-hero-inner { padding: 150px 0 30px; }
}

@media (max-width: 575.98px) {
  .breadcrumb-list { font-size: .8rem; }
  .hero-sub { letter-spacing: 2px; }
  .category-hero-inner { padding: 140px 0 30px; }
  .category-hero { border-radius: 0 0 28px 28px; }
}
