/* Rama Rudraksha — Mobile/Tablet Hero Layout V3.0.
   This file intentionally contains NO small-bead image styling.
   Original desktop art and animation remain owned by the main Hero plugin.
   Small screens: text-only. Tablets: same 2-column art layout as desktop. */

/* Phone only: remove the entire opening bead block, including circles and lettering.
   Keep text, CTA, and original homepage background intact. */
@media screen and (max-width: 767px) {
  html body .rrh-hero .rrh-hero-art {
    display: none !important;
  }
  html body .rrh-hero .rrh-hero-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    min-height: 0 !important;
  }
  html body .rrh-hero .rrh-hero-copy {
    order: 0 !important;
    width: 100%;
  }
}

/* Portrait tablets (768–820px): the main hero originally switches to a
   mobile single-column photo layout here. Override only that narrow band
   and give tablets the desktop's two-column image/animation presentation. */
@media screen and (min-width: 768px) and (max-width: 820px) {
  html body .rrh-hero .rrh-hero-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr) !important;
    gap: 18px !important;
    align-items: center !important;
    min-height: 555px !important;
    padding: 110px 28px 48px !important;
  }
  html body .rrh-hero .rrh-hero-copy {
    order: 0 !important;
    min-width: 0 !important;
  }
  html body .rrh-hero .rrh-hero-art {
    display: grid !important;
    order: 0 !important;
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto !important;
    aspect-ratio: 1 !important;
    min-width: 0 !important;
  }
  html body .rrh-hero .rrh-hero-bead {
    display: block !important;
    width: 88% !important;
    height: auto !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    animation: rrhFloat 8s ease-in-out infinite !important;
  }
  html body .rrh-hero .rrh-orbit-one,
  html body .rrh-hero .rrh-orbit-two,
  html body .rrh-hero .rrh-orbit-dot-one,
  html body .rrh-hero .rrh-glow {
    display: block !important;
  }
  html body .rrh-hero .rrh-vertical-label {
    display: block !important;
    right: -11px !important;
    top: 17% !important;
    font-size: 9px !important;
    letter-spacing: .22em !important;
  }
  html body .rrh-hero h1 {
    font-size: clamp(36px, 5.2vw, 43px) !important;
    line-height: 1.09 !important;
    letter-spacing: -1.4px !important;
    max-width: 100% !important;
  }
  html body .rrh-hero .rrh-lead {
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
  }
  html body .rrh-hero .rrh-button {
    width: auto !important;
    min-height: 52px !important;
  }
}

/* Honor reduced-motion accessibility even when the tablet override is active. */
@media (prefers-reduced-motion: reduce) {
  html body .rrh-hero .rrh-hero-bead {
    animation: none !important;
  }
}
