/* BabyPark Search V16 / Category V47 — mobile interaction parity.
 * Small additive stylesheet with NEW unique filename to bypass immutable caches.
 * No JS or Drupal Search modifications. */
@media (max-width:767px) {
  /* Informational native Search results: one large, keyboard-accessible link
     area using the already-rendered h3 anchor. Never invent product data. */
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready):has(> h3.title > a[href]) {
    position:relative;
    display:flex;flex-direction:column;align-items:stretch;
    box-sizing:border-box;width:100%;min-width:0;min-height:98px;
    margin:12px 0 14px!important;padding:14px 15px 15px!important;
    border:1px solid #e1e5e9!important;border-radius:10px;
    background:#fff;
    box-shadow:0 2px 10px rgba(21,37,57,.035);
    -webkit-tap-highlight-color:transparent;
  }
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready):has(> h3.title > a[href]):first-child {
    border-top:1px solid #e1e5e9!important;
  }
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready) > h3.title {
    display:flex;align-items:center;gap:9px;
    box-sizing:border-box;min-width:0;
    margin:0 0 7px!important;padding:0!important;
    font-size:16px;line-height:1.35;
  }
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready) > h3.title::before {
    content:"\f15c";font-family:FontAwesome;font-size:16px;
    font-weight:400;line-height:1;flex:0 0 16px;
    color:#e87600;
  }
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready) > h3.title > a[href] {
    position:static;display:block;min-width:0;
    color:#26313a!important;font-size:16px;line-height:1.35;
    font-weight:650;text-decoration:none!important;
    overflow-wrap:anywhere;
  }
  /* The pseudo-element belongs to the existing genuine native Drupal link,
     stretches across the article card, and requires no extra nested anchors
     or JS navigation. Browser status, middle click and Back remain native. */
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready) > h3.title > a[href]::after {
    content:"";position:absolute;inset:0;z-index:4;
    border-radius:10px;background:transparent;
    pointer-events:auto;
  }
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready) > .search-snippet-info {
    box-sizing:border-box;min-width:0;
    margin:0!important;padding:0 0 0 25px!important;
  }
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready) .search-snippet {
    display:-webkit-box;-webkit-box-orient:vertical;
    -webkit-line-clamp:3;line-clamp:3;overflow:hidden;
    margin:0!important;padding:0!important;
    font-size:13px;line-height:1.45;color:#657181;
    overflow-wrap:anywhere;
  }
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready):is(:active,:focus-within) {
    border-color:#ed7907!important;background:#fffaf4;
    box-shadow:inset 0 0 0 1px #ed7907;
  }
  body.page-search-node #block-system-main > ol.search-results.node-results
  > li.search-result:not(.bp-search-card-ready):has(> h3.title > a:focus-visible) {
    outline:2px solid #b75b00;outline-offset:3px;
  }

  /* Both native Drupal pagers: one centered, recognizable 20px indicator.
     Parent pager JS owns pending state, href and BFCache recovery. */
  body.page-taxonomy-term .bp-v47-pagination a.bp-v47-page-control.bp-v50-page-pending,
  body.page-search-node .bp-search-v47-pagination a.bp-v47-page-control.bp-v50-page-pending {
    position:relative!important;
    border-color:#e87600!important;
    background:#fff1e4!important;
    color:#a95100!important;
    box-shadow:inset 0 0 0 1px #e87600!important;
  }
  body.page-taxonomy-term .bp-v47-pagination a.bp-v47-page-control.bp-v50-page-pending > *,
  body.page-search-node .bp-search-v47-pagination a.bp-v47-page-control.bp-v50-page-pending > * {
    opacity:0!important;
  }
  body.page-taxonomy-term .bp-v47-pagination a.bp-v47-page-control.bp-v50-page-pending::after,
  body.page-search-node .bp-search-v47-pagination a.bp-v47-page-control.bp-v50-page-pending::after {
    content:"";display:block;position:absolute!important;
    box-sizing:border-box;
    left:calc(50% - 10px)!important;
    top:calc(50% - 10px)!important;
    right:auto!important;bottom:auto!important;
    margin:0!important;
    width:20px!important;height:20px!important;
    border:2.5px solid #f5bf86!important;
    border-top-color:#e87600!important;
    border-radius:50%;
    transform:none;
    animation:bp-v16-centered-pager-spin .72s linear infinite!important;
    pointer-events:none;
  }
}
@keyframes bp-v16-centered-pager-spin {to {transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce) {
  body.page-taxonomy-term .bp-v47-pagination a.bp-v47-page-control.bp-v50-page-pending::after,
  body.page-search-node .bp-search-v47-pagination a.bp-v47-page-control.bp-v50-page-pending::after {
    animation:none!important;
  }
}
@media (min-width:768px) {
  body.page-taxonomy-term .bp-v47-pagination .bp-v50-page-pending,
  body.page-search-node .bp-search-v47-pagination .bp-v50-page-pending {animation:none;}
}
/* /BABYPARK_SEARCH_ARTICLE_PAGER_CENTER_V16 */