/* Showcases tablet: sticky stack + mobile-like title → video → outcomes */

@media (min-width: 701px) and (max-width: 1100px) {
  html body .b2 .cases-parent,
  html body #showcases .cases-parent {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Tabs/head must NOT stick — otherwise they stay on screen through last card + next section */
  html body .b2 .cases-head.cases-child,
  html body #showcases .cases-head.cases-child,
  html body .b2 .cases-head,
  html body #showcases .cases-head {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    max-height: none !important;
    z-index: 1 !important;
  }

  html body .b2 .plugs,
  html body #showcases .plugs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 12px auto 28px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body .b2 .plugs a,
  html body #showcases .plugs a {
    font-size: 14px !important;
    line-height: 1.3 !important;
    padding: 8px 12px !important;
  }

  html body .b2 .list,
  html body #showcases .list {
    grid-gap: 0 !important;
    margin-bottom: 40px !important;
    padding-bottom: 12vh !important;
    isolation: isolate !important;
  }

  html body .b2 .list .item,
  html body .b2 .list .item.cases-child,
  html body #showcases .list .item,
  html body #showcases .list .item.cases-child {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 72px !important;
    height: calc(100vh - 88px) !important;
    max-height: calc(100vh - 88px) !important;
    width: 100% !important;
    overflow: hidden !important;
    z-index: 2 !important;
    /* Cover previous sticky cards / prevent tabs bleeding through */
    background-clip: padding-box !important;
  }

  html body .b2 .list .item:nth-child(1),
  html body #showcases .list .item:nth-child(1) { z-index: 2 !important; }
  html body .b2 .list .item:nth-child(2),
  html body #showcases .list .item:nth-child(2) { z-index: 3 !important; }
  html body .b2 .list .item:nth-child(3),
  html body #showcases .list .item:nth-child(3) { z-index: 4 !important; }
  html body .b2 .list .item:nth-child(4),
  html body #showcases .list .item:nth-child(4) { z-index: 5 !important; }
  html body .b2 .list .item:nth-child(5),
  html body #showcases .list .item:nth-child(5) { z-index: 6 !important; }
  html body .b2 .list .item:nth-child(6),
  html body #showcases .list .item:nth-child(6) { z-index: 7 !important; }
  html body .b2 .list .item:nth-child(7),
  html body #showcases .list .item:nth-child(7) { z-index: 8 !important; }
  html body .b2 .list .item:nth-child(8),
  html body #showcases .list .item:nth-child(8) { z-index: 9 !important; }
  html body .b2 .list .item:nth-child(9),
  html body #showcases .list .item:nth-child(9) { z-index: 10 !important; }
  html body .b2 .list .item:nth-child(n+10),
  html body #showcases .list .item:nth-child(n+10) { z-index: 11 !important; }

  html body .b2 .list .item .item-box,
  html body #showcases .list .item .item-box {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  html body .b2 .list .item .up,
  html body .b2 .list .item .down,
  html body .b2 .list .item .more-btn,
  html body .b2 .list .item .stores,
  html body #showcases .list .item .up,
  html body #showcases .list .item .down,
  html body #showcases .list .item .more-btn,
  html body #showcases .list .item .stores {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    z-index: 3 !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  html body .b2 .list .item .up,
  html body #showcases .list .item .up {
    order: 1 !important;
    flex: 0 0 auto !important;
    padding: 20px 22px 14px !important;
  }

  html body .b2 .list .item picture,
  html body .b2 .list .item .case-bg,
  html body .b2 .list .item video.case-bg,
  html body .b2 .list .item video.case-video,
  html body #showcases .list .item picture,
  html body #showcases .list .item .case-bg,
  html body #showcases .list .item video.case-bg,
  html body #showcases .list .item video.case-video {
    position: relative !important;
    inset: auto !important;
    order: 2 !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 55% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background: #0a0803 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  html body .b2 .list .item .down,
  html body #showcases .list .item .down {
    order: 3 !important;
    flex: 0 0 auto !important;
    padding: 16px 22px 0 !important;
  }

  html body .b2 .list .item .more-btn,
  html body #showcases .list .item .more-btn {
    order: 4 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 14px 22px 22px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  html body .b2 .list .item .up h3,
  html body #showcases .list .item .up h3 {
    font-size: clamp(26px, 3.4vw, 36px) !important;
  }

  html body .b2 .list .item .up .tags p,
  html body #showcases .list .item .up .tags p {
    font-size: 13px !important;
  }

  html body .b2 .list .item .down .sublist,
  html body #showcases .list .item .down .sublist {
    max-width: 100% !important;
    grid-gap: 14px !important;
    margin-top: 12px !important;
  }

  html body .b2 .list .item .down .sublist .head,
  html body #showcases .list .item .down .sublist .head {
    font-size: 16px !important;
  }

  html body .b2 .list .item .down .sublist .desc,
  html body .b2 .list .item .down .sublist .i,
  html body #showcases .list .item .down .sublist .desc,
  html body #showcases .list .item .down .sublist .i {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  html body .b2 .list .item .down .plug,
  html body #showcases .list .item .down .plug {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }

  html body .b2 .list .item:not(.case-dark) .up .tags p,
  html body .b2 .list .item:not(.case-dark) .up h3,
  html body .b2 .list .item:not(.case-dark) .down .plug,
  html body .b2 .list .item:not(.case-dark) .down .sublist .head,
  html body .b2 .list .item:not(.case-dark) .down .sublist .desc,
  html body #showcases .list .item:not(.case-dark) .up .tags p,
  html body #showcases .list .item:not(.case-dark) .up h3,
  html body #showcases .list .item:not(.case-dark) .down .plug,
  html body #showcases .list .item:not(.case-dark) .down .sublist .head,
  html body #showcases .list .item:not(.case-dark) .down .sublist .desc {
    color: #0a0803 !important;
  }

  html body .b2 .list .item.case-dark .up .tags p,
  html body #showcases .list .item.case-dark .up .tags p {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  html body .b2 .list .item.case-dark .up h3,
  html body .b2 .list .item.case-dark .down .plug,
  html body .b2 .list .item.case-dark .down .sublist .head,
  html body .b2 .list .item.case-dark .down .sublist .desc,
  html body #showcases .list .item.case-dark .up h3,
  html body #showcases .list .item.case-dark .down .plug,
  html body #showcases .list .item.case-dark .down .sublist .head,
  html body #showcases .list .item.case-dark .down .sublist .desc {
    color: #ffffff !important;
  }

  html body .b2 .bef-1,
  html body .b2 .bef-3,
  html body #showcases .bef-1,
  html body #showcases .bef-3 {
    display: none !important;
  }
}
