
/* v1.15.7 — Hero redesign + deck layering fix + tool simplification polish */
body.syh-v1157-home #syh-app.syh-home-v1157{
  --syh-v1157-hero-bg: linear-gradient(135deg, #ffffff 0%, #f9fcfe 48%, #edf7fc 100%);
  --syh-v1157-card-foot: linear-gradient(180deg, rgba(243,249,253,0) 0%, rgba(243,249,253,.55) 70%, rgba(231,240,247,.95) 100%);
}

/* ---------- Hero redesign ---------- */
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero.syh-hero-compact,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero .syh-shell{
  background: var(--syh-v1157-hero-bg)!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero::before,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero::after,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-wave::before,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-wave::after,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-ecosystem-field,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-eco-node,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-ecosystem-symbols{
  display:none!important;
  content:none!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0, 1fr) minmax(470px, 0.98fr)!important;
  gap:26px!important;
  align-items:center!important;
  padding-block:24px 8px!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-copy{
  position:relative!important;
  z-index:2!important;
  max-width:640px!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-copy h1{
  margin-bottom:12px!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:0 0 16px!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill{
  display:inline-flex!important;
  align-items:center!important;
  min-height:38px!important;
  padding:9px 14px!important;
  border-radius:14px!important;
  font-size:14px!important;
  font-weight:700!important;
  text-decoration:none!important;
  border:1px solid rgba(189,209,223,.96)!important;
  background:#ffffff!important;
  color:#14334d!important;
  box-shadow:0 8px 18px rgba(26,73,109,.06)!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill--blue{background:linear-gradient(180deg,#f7fbff 0%,#eef7ff 100%)!important;color:#1f6dbb!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill--teal{background:linear-gradient(180deg,#f5fcfb 0%,#eaf7f4 100%)!important;color:#17806f!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill--violet{background:linear-gradient(180deg,#faf8ff 0%,#f1eeff 100%)!important;color:#665fd3!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill--cyan{background:linear-gradient(180deg,#f6fbff 0%,#edf8fe 100%)!important;color:#2485b5!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill--amber{background:linear-gradient(180deg,#fffcf6 0%,#faf2df 100%)!important;color:#aa7421!important}

/* right art panel with clearer curved divider */
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-ecosystem-visual{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  min-height:380px!important;
  padding:30px 32px!important;
  border:1px solid rgba(190,211,225,.92)!important;
  border-radius:125px 34px 34px 125px!important;
  background:
    radial-gradient(circle at 70% 34%, rgba(120,195,228,.20) 0%, rgba(120,195,228,0) 42%),
    radial-gradient(circle at 88% 78%, rgba(156,211,210,.17) 0%, rgba(156,211,210,0) 42%),
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(247,251,254,.97) 44%, rgba(234,245,251,.98) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78), 0 22px 42px rgba(24,64,95,.08)!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-ecosystem-visual::before{
  content:""!important;
  position:absolute!important;
  left:-112px!important;
  top:-16px!important;
  bottom:-16px!important;
  width:235px!important;
  border-radius:0 150px 150px 0!important;
  background:linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(247,251,254,1) 52%, rgba(239,248,252,.98) 100%)!important;
  box-shadow:inset -1px 0 0 rgba(190,211,225,.96)!important;
  z-index:0!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-art,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-book-deck,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-book-deck-stack{
  position:relative!important;
  z-index:2!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-book-deck{
  width:min(100%, 620px)!important;
  margin:0 auto!important;
  transform:scale(1.12)!important;
  transform-origin:center center!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-book-deck-glow{
  background:radial-gradient(circle at 50% 58%, rgba(126,196,207,.26) 0%, rgba(126,196,207,.12) 28%, rgba(126,196,207,0) 64%)!important;
  filter:blur(10px)!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-deck-cover{
  filter:saturate(1.04) contrast(1.03)!important;
  box-shadow:0 18px 34px rgba(15,49,76,.16), 0 10px 18px rgba(15,49,76,.10)!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-deck-cover--1,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-deck-cover--6{z-index:2!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-deck-cover--2,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-deck-cover--3,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-deck-cover--5{z-index:4!important}

/* ---------- Category deck: force center cover to top ---------- */
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck-cover,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck-ghost{
  background:transparent!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck{position:relative!important; isolation:isolate!important; overflow:visible!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck > img.syh-category-deck-cover{position:absolute!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck--count-3 > img.syh-category-deck-cover--1{transform:translateX(-98%) rotate(-11deg)!important; z-index:10!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck--count-3 > img.syh-category-deck-cover--2{transform:translateX(-50%) rotate(0deg)!important; z-index:30!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck--count-3 > img.syh-category-deck-cover--3{transform:translateX(-2%) rotate(10deg)!important; z-index:12!important}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card-media .syh-category-deck--count-3 > img.syh-category-deck-cover--2{box-shadow:0 18px 34px rgba(15,49,76,.16), 0 10px 18px rgba(15,49,76,.10)!important}

/* ---------- Tool cards: text-first only ---------- */
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-tool-card,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-learning-feature,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-clinical-qa-promo,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-suite-promo,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-parent-category-card,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-library-card{
  background:var(--syh-v1157-card-foot), #ffffff!important;
  box-shadow:none!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-tool-card::before,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-tool-card::after,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-learning-feature::before,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-learning-feature::after,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-clinical-qa-promo::before,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-clinical-qa-promo::after,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-suite-promo::before,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-suite-promo::after,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-tool-glyph,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-tool-visual,
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-clinical-qa-visual{
  display:none!important;
  content:none!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-tool-card-top{
  justify-content:flex-end!important;
  align-items:flex-start!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-tool-card h3{
  font-size:clamp(22px, 1.55vw, 29px)!important;
  line-height:1.3!important;
  margin:0!important;
}
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-tool-summary{
  font-size:clamp(14px, 1.02vw, 17px)!important;
  line-height:1.68!important;
}

/* Clinical QA module gets pastel gradient */
body.syh-v1157-home #syh-app.syh-home-v1157 .syh-clinical-qa-promo{
  background:linear-gradient(135deg, #ffffff 0%, #f9fcfe 56%, #edf7fc 100%)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
}

/* Keep module headings simple and left-aligned */
body.syh-v1157-home #syh-app.syh-home-v1157 :is(.syh-library-heading,.syh-source-heading,.syh-editorial-heading,.syh-section-heading,.syh-section-heading--compact),
body.syh-v1157-home #syh-app.syh-home-v1157 :is(.syh-library-heading,.syh-source-heading,.syh-editorial-heading,.syh-section-heading,.syh-section-heading--compact) h2{
  text-align:left!important;
  justify-content:flex-start!important;
}

@media (max-width: 1024px){
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-grid{grid-template-columns:minmax(0,1fr)!important; gap:22px!important}
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-ecosystem-visual{min-height:320px!important; border-radius:28px!important}
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-ecosystem-visual::before{left:-40px!important; width:110px!important; border-radius:0 80px 80px 0!important}
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-book-deck{transform:scale(1.04)!important}
}
@media (max-width: 767px){
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill-grid{gap:8px!important; margin-bottom:14px!important}
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-hero-pill{padding:8px 12px!important; min-height:34px!important; font-size:13px!important}
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-ecosystem-visual{min-height:268px!important; padding:18px!important; border-radius:24px!important}
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-ecosystem-visual::before{display:none!important}
  body.syh-v1157-home #syh-app.syh-home-v1157 .syh-book-deck{transform:scale(.98)!important}
}
