/* Approved mobile homepage: desktop rules and slideshow timing stay intact. */
@media (max-width: 991.98px) {
  body.frontpage.wild-home-redesign #header.header-default.mobile-header.mobile-header-overlay {
    position: absolute !important; inset: 0 0 auto !important; height: 90px !important; min-height: 0 !important;
    background: transparent !important;
  }
  body.frontpage.wild-home-redesign #header.header-default.mobile-header :is(.topbar, .header-main, .mobile-header-frame) {
    background: transparent !important; background-image: none !important;
  }
  /* The existing logo includes the English subtitle; crop its display only. */
  body.frontpage.wild-home-redesign #header.header-default.mobile-header .header-main .header-main-inner .branding {
    top: 12px !important; height: auto !important; align-items: flex-start !important;
  }
  body.frontpage.wild-home-redesign #header.header-default.mobile-header .header-main .header-main-inner .branding > div { width: 100%; }
  body.frontpage.wild-home-redesign #header.header-default.mobile-header .header-main .header-main-inner .branding .site-branding-logo {
    height: auto !important; aspect-ratio: 600 / 112; overflow: hidden;
    background-size: 100% auto !important; background-position: center top !important;
    filter: drop-shadow(0 0 2px #fff);
  }
  body.frontpage.wild-home-redesign #header.header-default.mobile-header .header-main .header-main-inner .branding img.logo-site { display: none !important; }
  body.frontpage.wild-home-redesign #header.header-default.mobile-header #menu-bar :is(span, span.one, span.two, span.three) {
    background: #000 !important; background-color: #000 !important;
    box-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 8px #fff !important;
  }
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-editor-description { display: none !important; }
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-editor-title { color: #000 !important; }
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-editor-action a {
    margin: 0 !important; min-height: 44px !important; padding: 8px 24px !important;
    font-size: 18px !important; line-height: 1.25 !important;
    text-shadow: 0 0 3px #fff, 0 0 8px #fff !important;
  }
  body.frontpage.wild-home-redesign .wild-home-updates__feature { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.frontpage.wild-home-redesign .wild-home-updates__text { grid-row: 2; }
  /* Move the original three-image slideshow, preserving its image and timer. */
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-mobile-article-slideshow > .wild-fast-photo { visibility: hidden; }
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-mobile-article-slideshow > .wild-home-updates__photo {
    position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0;
    margin: 0; border-radius: 0; z-index: 0;
  }
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-mobile-article-slideshow .wild-home-updates__photo img {
    position: absolute; inset: 0; width: 100% !important; height: 100% !important;
    object-fit: cover !important; object-position: center !important;
  }
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-mobile-article-slideshow .wild-editor-canvas { pointer-events: none; }
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-mobile-article-slideshow .wild-editor-action a { pointer-events: auto; }
  body.frontpage.wild-home-redesign .wild-home-updates__feature > .wild-home-updates__title {
    grid-row: 1; margin: 4px 0 8px; text-align: center; color: #222;
  }
}
