/* Superheltehunde™ V3.6 MOBILE FIX — deterministic 320–850px hero.
 * This supersedes conflicting legacy rules from V3.1–V3.5 ONLY on .sh-page.
 * Do not modify desktop hero, existing six-dog media, shared header or CMS.
 * Strategy: normal document flow on mobile; no absolute trust badges;
 * photograph displayed in its own lower visual band, never behind text.
 */
@media (max-width:850px){
  .sh-page,
  .sh-page .sh-hero,
  .sh-page .sh-hero-inner,
  .sh-page .sh-hero-copy {
    box-sizing:border-box!important;
    min-width:0!important;
  }
  .sh-page .sh-hero {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:0!important;
    background:#f3f8f5!important;
    background-image:none!important;
    background-size:auto!important;
    background-position:center!important;
  }
  .sh-page .sh-hero::before {
    content:none!important;
    display:none!important;
  }
  /* Image separated from copy — no photo/text overlap at 320, 390, 440 or 768px. */
  .sh-page .sh-hero::after {
    content:""!important;
    display:block!important;
    position:relative!important;
    inset:auto!important;
    z-index:0!important;
    width:100%!important;
    height:clamp(220px,64vw,330px)!important;
    min-height:0!important;
    margin:0!important;
    border:0!important;
    background-color:#dcefe5!important;
    background-image:
      linear-gradient(180deg,#f3f8f5 0%,rgba(243,248,245,.25) 15%,rgba(243,248,245,0) 35%),
      url("/images/superheltehunde/superhelte-six-dogs-mobile-v34.webp")!important;
    background-size:100% 100%,cover!important;
    background-position:center,center 52%!important;
    background-repeat:no-repeat!important;
    pointer-events:none!important;
  }
  .sh-page .sh-hero .sh-container.sh-hero-inner {
    display:block!important;
    position:relative!important;
    isolation:auto!important;
    z-index:1!important;
    width:calc(100% - 28px)!important;
    max-width:680px!important;
    height:auto!important;
    min-height:0!important;
    margin:0 auto!important;
    padding:0!important;
    align-items:initial!important;
    overflow:visible!important;
  }
  .sh-page .sh-hero .sh-hero-copy {
    display:block!important;
    position:relative!important;
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:20px 0 15px!important;
    overflow:visible!important;
    text-align:left!important;
  }
  .sh-page .sh-hero .sh-eyebrow {
    display:block!important;
    position:static!important;
    max-width:100%!important;
    margin:0 0 10px!important;
    padding:0!important;
    font-size:clamp(.62rem,1.65vw,.75rem)!important;
    font-weight:800!important;
    letter-spacing:.045em!important;
    line-height:1.5!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  /* The eyebrow is text-only by design. Suppress any injected blue sales
     link/button in that label without affecting header/navigation links. */
  .sh-page .sh-hero .sh-eyebrow a,
  .sh-page .sh-hero .sh-eyebrow button,
  .sh-page .sh-hero .sh-eyebrow [role="button"] {
    display:none!important;
  }
  .sh-page .sh-hero #sh-h1 {
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:none!important;
    margin:0 0 11px!important;
    padding:0!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:clamp(1.9rem,7.0vw,2.55rem)!important;
    font-weight:800!important;
    line-height:1.1!important;
    letter-spacing:-.035em!important;
    white-space:normal!important;
    text-wrap:wrap!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    text-align:left!important;
    text-indent:0!important;
    color:#11182f!important;
  }
  .sh-page .sh-hero #sh-h1 .sh-hero-keyword {
    display:inline!important;
    position:static!important;
    float:none!important;
    width:auto!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    font:inherit!important;
    line-height:inherit!important;
    letter-spacing:inherit!important;
    white-space:normal!important;
    color:#376f50!important;
  }
  .sh-page .sh-hero .sh-hero-copy>p:not(.sh-eyebrow) {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 13px!important;
    padding:0!important;
    font-size:clamp(.82rem,2.3vw,.94rem)!important;
    line-height:1.44!important;
    font-weight:500!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    color:#223247!important;
  }
  .sh-page .sh-hero .sh-actions {
    display:grid!important;
    position:static!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    white-space:normal!important;
  }
  .sh-page .sh-hero .sh-actions .sh-btn {
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0!important;
    padding:9px 13px!important;
    font-size:.82rem!important;
    font-weight:750!important;
    line-height:1.2!important;
    white-space:normal!important;
    text-align:center!important;
    border-radius:999px!important;
  }
  .sh-page .sh-hero .sh-trust {
    display:grid!important;
    position:static!important;
    inset:auto!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:13px 0 0!important;
    padding:0!important;
    gap:5px!important;
    list-style:none!important;
    transform:none!important;
    overflow:visible!important;
  }
  .sh-page .sh-hero .sh-trust li {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:64px!important;
    margin:0!important;
    padding:6px 3px!important;
    gap:3px!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid #e1ebe4!important;
    border-radius:11px!important;
    box-shadow:0 3px 10px rgba(22,67,47,.07)!important;
    text-align:center!important;
    overflow:hidden!important;
    white-space:normal!important;
  }
  .sh-page .sh-hero .sh-trust li .sh-trust-icon {
    display:block!important;
    flex:none!important;
    width:auto!important;
    font-size:1.14rem!important;
    line-height:1!important;
  }
  .sh-page .sh-hero .sh-trust li>span:last-child {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    gap:2px!important;
  }
  .sh-page .sh-hero .sh-trust li strong {
    display:block!important;
    max-width:100%!important;
    font-size:clamp(.52rem,1.7vw,.7rem)!important;
    line-height:1.18!important;
    overflow-wrap:anywhere!important;
    font-weight:800!important;
  }
  .sh-page .sh-hero .sh-trust li small {
    display:block!important;
    max-width:100%!important;
    font-size:clamp(.47rem,1.45vw,.6rem)!important;
    line-height:1.15!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .sh-page .sh-hero .sh-hero-note {
    display:none!important;
  }
  /* Guard the adjacent cards/metadata against accidental intrinsic width leaks. */
  .sh-page .sh-feature-container,
  .sh-page .sh-video,
  .sh-page .sh-generator,
  .sh-page .sh-generator-form,
  .sh-page .sh-generator-preview,
  .sh-page .sh-preview-card,
  .sh-page .sh-dog-grid,
  .sh-page .sh-two-col {
    min-width:0!important;
    max-width:100%!important;
  }
}
@media (max-width:440px){
  .sh-page .sh-hero .sh-container.sh-hero-inner {
    width:calc(100% - 24px)!important;
  }
  .sh-page .sh-hero .sh-hero-copy {
    padding-top:15px!important;
  }
  .sh-page .sh-hero #sh-h1 {
    font-size:clamp(1.74rem,7.0vw,2rem)!important;
  }
  .sh-page .sh-hero .sh-eyebrow {
    font-size:.62rem!important;
  }
  .sh-page .sh-hero .sh-trust li {
    padding:5px 2px!important;
  }
}
@media (max-width:360px){
  .sh-page .sh-hero .sh-trust {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .sh-page .sh-hero .sh-trust li {
    min-height:54px!important;
  }
  .sh-page .sh-hero #sh-h1 {
    font-size:1.67rem!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .sh-page .sh-hero * {
    transition:none!important;
    animation:none!important;
  }
}
