.smyk-page-hero {
  background: linear-gradient(135deg, #fff4ec 0%, #f7f8fa 55%, #f3f4f6 100%);
  padding: 48px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ── Dark / premium variant (navy canvas + soft orange glow) ──
   Opt-in per instance via the "Background style" setting. Used on the
   Help Centre. Inverts text colours to white; search pill stays white. */
.smyk-page-hero--dark {
  background:
    radial-gradient(120% 130% at 85% 0%, #12233f 0%, #222222 58%),
    #222222;
}
.smyk-page-hero--dark::before,
.smyk-page-hero--dark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.smyk-page-hero--dark::before {
  width: 380px; height: 380px;
  top: -150px; left: -110px;
  background: radial-gradient(circle, rgba(228, 29, 86, 0.30) 0%, transparent 70%);
}
.smyk-page-hero--dark::after {
  width: 320px; height: 320px;
  bottom: -170px; right: 6%;
  background: radial-gradient(circle, rgba(236, 74, 114, 0.18) 0%, transparent 70%);
}
.smyk-page-hero--dark .smyk-page-hero__inner { position: relative; z-index: 1; }
.smyk-page-hero--dark .smyk-page-hero__heading { color: #ffffff; }
.smyk-page-hero--dark .smyk-page-hero__eyebrow { color: #f4899f; }
.smyk-page-hero--dark .smyk-page-hero__sub,
.smyk-page-hero--dark .smyk-page-hero__intro { color: rgba(255, 255, 255, 0.72); }
.smyk-page-hero--dark .smyk-page-hero__intro a { color: #f4899f; }
.smyk-page-hero--dark .smyk-page-hero__breadcrumb,
.smyk-page-hero--dark .smyk-page-hero__breadcrumb span[aria-current="page"] { color: rgba(255, 255, 255, 0.6); }
.smyk-page-hero--dark .smyk-page-hero__breadcrumb a { color: rgba(255, 255, 255, 0.92); }
.smyk-page-hero--dark .smyk-page-hero__breadcrumb a:hover { color: #ec4a72; }
/* lift the white search pill off the dark canvas */
.smyk-page-hero--dark .smyk-page-hero__search-form {
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

/* Breadcrumb */
.smyk-page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.smyk-page-hero__breadcrumb a {
  color: #222222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.smyk-page-hero__breadcrumb a:hover {
  color: #e41d56;
}
.smyk-page-hero__breadcrumb span[aria-current="page"] {
  color: #64748b;
}

/* Eyebrow */
.smyk-page-hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e41d56;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

/* Heading — single source of truth (no duplicate in simyak-theme.css) */
.smyk-page-hero__heading {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: #222222;
  margin: 0 0 20px;
  line-height: 1.2;
}

/* Subheading */
.smyk-page-hero__sub {
  font-size: 14.5px;
  color: #4b5563;
  margin: 0 auto 44px;
  line-height: 1.55;
  max-width: 680px;
}

/* Intro (rich text) — centred, matches subheading tone */
.smyk-page-hero__intro {
  max-width: 720px;
  margin: 0 auto 30px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}
.smyk-page-hero__intro p { margin: 0 0 10px; }
.smyk-page-hero__intro p:last-child { margin: 0; }
.smyk-page-hero__intro a { color: #e41d56; text-decoration: underline; }

/* Search */
.smyk-page-hero__search {
  max-width: 520px;
  margin: 0 auto;
}

/* Device-filter search reuses .scp-search markup; restyle for the hero
   (the .scp-* CSS vars live on .scp-wrap, so set colours explicitly here). */
.smyk-page-hero__search--filter { max-width: 560px; }
.smyk-page-hero__search--filter .scp-search-wrap { margin: 0; max-width: none; }
.smyk-page-hero__search--filter .scp-search {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.smyk-page-hero__search--filter .scp-search:hover { background: #ffffff; }
.smyk-page-hero__search--filter .scp-search:focus {
  background: #ffffff;
  border-color: #e41d56;
  box-shadow: 0 2px 16px rgba(228, 29, 86,0.12);
}
.smyk-page-hero__search--filter .scp-search-icon { color: #5b6472; }
.smyk-page-hero__search--filter .scp-search:focus + .scp-search-icon { color: #e41d56; }
.smyk-page-hero__search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.smyk-page-hero__search-form:focus-within {
  border-color: #e41d56;
  box-shadow: 0 2px 16px rgba(228, 29, 86,0.12);
}
.smyk-page-hero__search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 0.95rem;
  color: #1e293b;
  background: transparent;
}
.smyk-page-hero__search-input::placeholder {
  color: #5b6472;
}
.smyk-page-hero__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: #5b6472;
  cursor: pointer;
  transition: color 0.2s;
  flex-shrink: 0;
}
.smyk-page-hero__search-btn:hover {
  color: #e41d56;
}

@media (max-width: 600px) {
  .smyk-page-hero { padding: 32px 0 40px; }
  .smyk-page-hero__sub { font-size: 0.92rem; }
}
