/* Homepage only. Share the existing layer to override legacy builder styles. */
@layer sndia-mobile {
  .home #content .vc_btn3 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    position: relative !important;
    box-sizing: border-box !important;
    min-height: 52px !important;
    height: auto !important;
    width: min(280px, 100%) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 14px 44px !important;
    border: 1px solid #214d35 !important;
    border-radius: 5px !important;
    background: #214d35 !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgb(20 50 32 / 10%) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    letter-spacing: .035em !important;
    word-spacing: normal !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    transform: none !important;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
  }
  .home #content .vc_btn3 .vc_btn3-icon { display: none !important; }
  .home #content .vc_btn3::before { display: none !important; }
  .home #content .vc_btn3::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: 22px !important;
    top: 50% !important;
    flex: 0 0 7px !important;
    width: 7px !important;
    height: 7px !important;
    margin: 0 !important;
    border: solid currentColor !important;
    border-width: 1.5px 1.5px 0 0 !important;
    background: none !important;
    opacity: 1 !important;
    transform: translateY(-50%) rotate(45deg) !important;
  }
  .home #content .vc_btn3:focus-visible {
    outline: 2px solid #214d35 !important;
    outline-offset: 4px !important;
  }
  @media (hover: hover) {
    .home #content .vc_btn3:hover {
      background: #153923 !important;
      border-color: #153923 !important;
      color: #fff !important;
      box-shadow: 0 4px 12px rgb(20 50 32 / 16%) !important;
    }
  }
  .home #content dl.case4 dd span.cat {
    background: #edf3ee !important;
    color: #36543e !important;
    border-radius: 3px !important;
  }
  @media (min-width: 1025px) {
    .home #content dl.case4 dt {
      width: 10em !important;
      white-space: nowrap !important;
    }
    .home #content dl.case4 dd { padding-left: 17em !important; }
    .home #content dl.case4 dd span.cat { left: 11em !important; }
  }
  .home #content :is(.sh-heading-content, .vc_custom_heading),
  .home #content :is(.sh-heading-content, .vc_custom_heading) :is(span, strong) {
    letter-spacing: .035em !important;
    word-spacing: normal !important;
  }
  @media (max-width: 767px) {
    .home #content .sh-heading-content.size-l {
      font-size: 20px !important;
      line-height: 1.7 !important;
      letter-spacing: 0 !important;
      text-align: left !important;
    }
    .home #content .sh-heading-content.size-l :is(span, strong) {
      font-size: inherit !important;
      line-height: inherit !important;
      letter-spacing: 0 !important;
    }
    .home #content .vc_btn3 {
      width: min(100%, 320px) !important;
      min-height: 52px !important;
      padding: 14px 44px !important;
      word-spacing: normal !important;
      letter-spacing: .025em !important;
      gap: 18px !important;
    }
  }
  /* Decorative YouTube background: keep the player's title/channel outside
     the clipped slide, including its initial and mouse-over overlays. */
  @media (min-width: 768px) {
    .home #rev_slider_2_1 rs-bgvideo {
      overflow: hidden !important;
      pointer-events: none !important;
    }
    .home #rev_slider_2_1 rs-bgvideo iframe {
      min-height: calc(100% + 180px) !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      pointer-events: none !important;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .home #content .vc_btn3 { transition: none !important; }
  }
}
