/*
 * ARABIDS v1.2.135 — Mobile photographic opener for the audience + FAQ chapters.
 * Targeted correction to v1.2.134, with no desktop layout changes.
 * Important: #who_uses uses .what_is_section, NOT .who_its_for_section (#why_choose).
 * The entire supplied photograph (frame / gloved hand) precedes the text on phones.
 */
@media (max-width:820px) {
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) {
    position:relative !important;
    isolation:isolate !important;
    display:block !important;
    box-sizing:border-box !important;
    height:auto !important;
    min-height:0 !important;
    overflow:hidden !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
    /* Full-width original wide photograph gets its own responsive opening field. */
    padding-top:calc(min(56.2vw, 461px) + 20px) !important;
    padding-bottom:clamp(45px, 9vw, 78px) !important;
    background:#420B07 !important;
    background-image:none !important;
    background-color:#420B07 !important;
    box-shadow:none !important;
    border:0 !important;
  }

  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  )::before {
    content:"" !important;
    position:absolute !important;
    display:block !important;
    inset:0 0 auto 0 !important;
    width:100% !important;
    height:min(56.2vw, 461px) !important;
    pointer-events:none !important;
    z-index:1 !important;
    transform:none !important;
    opacity:1 !important;
    /* The lower 14% creates an unobtrusive tonal transition to text. */
    background-color:#420B07 !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    background-size:100% 100%, cover !important;
    filter:none !important;
  }

  /* Keep each artwork exactly as supplied; do not tint or stretch the photograph. */
  html body:is(.home,[data-page="home"]) section.what_is_section::before {
    background-image:
      linear-gradient(to bottom,transparent 0%,transparent 82%,rgba(66,11,7,.25) 91%,#420B07 100%),
      url('../images/brand-atmospheres/heritage-frame.jpg') !important;
  }
  html body:is(.home,[data-page="home"]) section.faq_section::before {
    background-image:
      linear-gradient(to bottom,transparent 0%,transparent 82%,rgba(66,11,7,.25) 91%,#420B07 100%),
      url('../images/brand-atmospheres/account-coins.jpg') !important;
  }

  /* Older blurred/previous-chapter overlays made the photograph appear like a
     solid red smudge or a green horizontal block on narrow devices. */
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) > :is(.arabids-motion-image,.arabids-chapter-wash-v1126,.arabids-chapter-edge-v1127) {
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
  }

  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) > .container {
    position:relative !important;
    z-index:3 !important;
    box-sizing:border-box !important;
    width:calc(100% - 36px) !important;
    max-width:650px !important;
    margin:0 auto !important;
    padding:0 !important;
  }
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .arabids-editorial-intro {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:0 !important;
    height:auto !important;
    padding:0 !important;
    margin:0 auto 19px !important;
    gap:0 !important;
  }
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .arabids-editorial-heading {
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 auto !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .arabids-editorial-heading::before,
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .arabids-editorial-scene {
    display:none !important;
    content:none !important;
  }
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .arabids-editorial-heading > h2.title {
    display:block !important;
    position:static !important;
    transform:none !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1.38 !important;
    font-size:clamp(23px,5.55vw,34px) !important;
    font-weight:800 !important;
    text-align:center !important;
    text-wrap:balance !important;
    white-space:normal !important;
    color:#E3C193 !important;
    -webkit-text-fill-color:#E3C193 !important;
    text-shadow:0 2px 8px rgba(19,6,5,.36) !important;
  }
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .flex-wrap {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    align-items:stretch !important;
    justify-items:stretch !important;
    width:100% !important;
    margin:0 auto !important;
    gap:clamp(6px,2vw,12px) !important;
  }
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .flex-wrap > .item {
    min-width:0 !important;
    max-width:100% !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    padding:13px 8px 15px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    text-align:center !important;
  }
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .flex-wrap > .item .title {
    display:block !important;
    width:100% !important;
    font-size:clamp(20px,5vw,25px) !important;
    line-height:1.4 !important;
    text-align:center !important;
    margin:0 auto 5px !important;
    color:#D2AA78 !important;
    -webkit-text-fill-color:#D2AA78 !important;
  }
  html body:is(.home,[data-page="home"]) :is(
    section.what_is_section,
    section.faq_section
  ) .flex-wrap > .item .subtitle {
    display:block !important;
    width:100% !important;
    font-size:clamp(15px,3.9vw,18px) !important;
    line-height:1.72 !important;
    text-align:center !important;
    margin:0 !important;
    color:#F5EDE0 !important;
    -webkit-text-fill-color:#F5EDE0 !important;
    text-shadow:0 1px 3px rgba(14,5,4,.2) !important;
  }
}
