@charset "UTF-8";
/* GEXYRAL M05 Resources mobile authority.
   Mobile-only. PC >=861px intentionally receives no M05 rules. */

@media (max-width:860px){
  body[data-page-type="resource_hub"] .gexyral-resource-hub-client,
  body[data-page-type="resource_category"] .gexyral-resource-hub-client,
  body[data-page-type="resource_detail"] .gexyral-resource-detail,
  body[data-page-type="resource_detail"] .gexyral-publication-detail{
    --m05-card-radius:18px;
    --m05-card-pad:18px;
    --m05-gap:14px;
  }

  /* Hub/category: information first, no horizontal filter strip. */
  body[data-page-type="resource_hub"] .gexyral-resource-editorial-brief,
  body[data-page-type="resource_category"] .gexyral-resource-editorial-brief{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:16px!important;
    border-radius:var(--m05-card-radius)!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-editorial-stats,
  body[data-page-type="resource_category"] .gexyral-resource-editorial-stats{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-editorial-stats>span,
  body[data-page-type="resource_category"] .gexyral-resource-editorial-stats>span{
    min-width:0!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-editorial-stats strong,
  body[data-page-type="resource_category"] .gexyral-resource-editorial-stats strong{
    font-size:clamp(20px,6vw,28px)!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-topic-filter,
  body[data-page-type="resource_category"] .gexyral-resource-topic-filter{
    border-radius:var(--m05-card-radius)!important;
    overflow:visible!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-topic-filter .gexyral-ui-filter-options,
  body[data-page-type="resource_category"] .gexyral-resource-topic-filter .gexyral-ui-filter-options{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:12px!important;
    overflow:visible!important;
    scrollbar-width:auto!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-topic-filter .gexyral-ui-filter-options a,
  body[data-page-type="resource_category"] .gexyral-resource-topic-filter .gexyral-ui-filter-options a{
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    padding:8px 10px!important;
    justify-content:space-between!important;
    white-space:normal!important;
    line-height:1.35!important;
    text-align:left!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-filter-form,
  body[data-page-type="resource_category"] .gexyral-resource-filter-form{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:12px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-filter-form .gexyral-ui-filter-search,
  body[data-page-type="resource_category"] .gexyral-resource-filter-form .gexyral-ui-filter-search{
    width:100%!important;
    min-width:0!important;
    height:46px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-filter-form .gexyral-ui-filter-search input,
  body[data-page-type="resource_category"] .gexyral-resource-filter-form .gexyral-ui-filter-search input,
  body[data-page-type="resource_hub"] .gexyral-publication-filter input,
  body[data-page-type="resource_category"] .gexyral-publication-filter input{
    font-size:16px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-filter-clear,
  body[data-page-type="resource_category"] .gexyral-resource-filter-clear{
    min-height:44px!important;
    padding:0 8px!important;
    justify-content:center!important;
  }

  body[data-page-type="resource_hub"] .gexyral-resource-grid,
  body[data-page-type="resource_category"] .gexyral-resource-grid,
  body[data-page-type="resource_hub"] .gexyral-resource-category-grid,
  body[data-page-type="resource_category"] .gexyral-resource-category-grid,
  body[data-page-type="resource_hub"] .gexyral-resource-method-track,
  body[data-page-type="resource_category"] .gexyral-resource-method-track{
    grid-template-columns:1fr!important;
    gap:var(--m05-gap)!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-card,
  body[data-page-type="resource_category"] .gexyral-resource-card{
    min-height:0!important;
    padding:var(--m05-card-pad)!important;
    border-radius:var(--m05-card-radius)!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-card-cover,
  body[data-page-type="resource_category"] .gexyral-resource-card-cover{
    margin:-2px -2px 15px!important;
    border-radius:14px!important;
    aspect-ratio:16/10!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-card header,
  body[data-page-type="resource_category"] .gexyral-resource-card header{
    align-items:flex-start!important;
    margin-bottom:12px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-card h3,
  body[data-page-type="resource_category"] .gexyral-resource-card h3{
    font-size:20px!important;
    line-height:1.42!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-card p,
  body[data-page-type="resource_category"] .gexyral-resource-card p{
    margin-top:10px!important;
    font-size:15px!important;
    line-height:1.75!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-card footer,
  body[data-page-type="resource_category"] .gexyral-resource-card footer{
    flex-direction:row!important;
    align-items:center!important;
    gap:10px!important;
    padding-top:14px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-card footer a,
  body[data-page-type="resource_category"] .gexyral-resource-card footer a{
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-category-grid a,
  body[data-page-type="resource_category"] .gexyral-resource-category-grid a,
  body[data-page-type="resource_hub"] .gexyral-resource-method-track article,
  body[data-page-type="resource_category"] .gexyral-resource-method-track article{
    min-height:0!important;
    padding:18px!important;
    border-radius:var(--m05-card-radius)!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-category-grid header,
  body[data-page-type="resource_category"] .gexyral-resource-category-grid header{
    margin-bottom:14px!important;
  }

  /* Dynamic publication listing on the resource hub/category. */
  body[data-page-type="resource_hub"] .gexyral-publication-listing-head,
  body[data-page-type="resource_category"] .gexyral-publication-listing-head{
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-bottom:22px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-filter,
  body[data-page-type="resource_category"] .gexyral-publication-filter{
    grid-template-columns:1fr auto!important;
    gap:8px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-filter button,
  body[data-page-type="resource_hub"] .gexyral-publication-filter>a,
  body[data-page-type="resource_category"] .gexyral-publication-filter button,
  body[data-page-type="resource_category"] .gexyral-publication-filter>a{
    min-height:44px!important;
    height:48px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-taxonomy,
  body[data-page-type="resource_category"] .gexyral-publication-taxonomy{
    gap:8px!important;
    margin-bottom:20px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-taxonomy a,
  body[data-page-type="resource_category"] .gexyral-publication-taxonomy a{
    min-height:40px!important;
    align-items:center!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-grid,
  body[data-page-type="resource_category"] .gexyral-publication-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-card,
  body[data-page-type="resource_category"] .gexyral-publication-card{
    flex-direction:column!important;
    border-radius:var(--m05-card-radius)!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-card-media,
  body[data-page-type="resource_category"] .gexyral-publication-card-media{
    width:100%!important;
    min-height:0!important;
    aspect-ratio:16/10!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-card-content,
  body[data-page-type="resource_category"] .gexyral-publication-card-content{
    padding:18px!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-card p,
  body[data-page-type="resource_category"] .gexyral-publication-card p{
    display:block!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
  }
  body[data-page-type="resource_hub"] .gexyral-publication-pagination,
  body[data-page-type="resource_category"] .gexyral-publication-pagination,
  body[data-page-type="resource_hub"] .gexyral-resource-server-pagination .gexyral-ui-pagination,
  body[data-page-type="resource_category"] .gexyral-resource-server-pagination .gexyral-ui-pagination{
    flex-wrap:wrap!important;
    gap:8px!important;
  }

  /* Formal resource detail: single reading stream. */
  body[data-page-type="resource_detail"] .gexyral-resource-article-shell{
    padding:34px 0 56px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-layout{
    display:block!important;
    width:calc(100% - 32px)!important;
    max-width:none!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-aside{
    margin:0 0 24px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-aside-sticky{
    position:static!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-back{
    min-height:44px!important;
    align-items:center!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-toc{
    margin-top:12px!important;
    padding:16px!important;
    border-radius:14px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-toc ol{
    grid-template-columns:1fr!important;
    gap:2px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-toc a{
    min-height:44px!important;
    align-items:center!important;
    padding:8px 0!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-info,
  body[data-page-type="resource_detail"] .gexyral-resource-article-aside-related{
    display:none!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-lead{
    font-size:18px!important;
    line-height:1.82!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-quick{
    margin:24px 0!important;
    padding:18px!important;
    border-radius:16px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-quick>header{
    align-items:flex-start!important;
    margin-bottom:10px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-quick li{
    grid-template-columns:28px minmax(0,1fr)!important;
    gap:10px!important;
    padding:12px 0!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-facts,
  body[data-page-type="resource_detail"] .gexyral-resource-article-checks,
  body[data-page-type="resource_detail"] .gexyral-resource-article-related>div{
    grid-template-columns:1fr!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-chapter{
    padding:30px 0!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-chapter-title{
    grid-template-columns:32px minmax(0,1fr)!important;
    gap:10px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-v3 .gexyral-resource-article-chapter h2{
    font-size:clamp(23px,6.8vw,28px)!important;
    line-height:1.42!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-chapter>p,
  body[data-page-type="resource_detail"] .gexyral-resource-article-body>p{
    font-size:16px!important;
    line-height:1.9!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-chapter ul{
    padding-left:20px!important;
  }

  /* Resource tables become stacked row cards instead of horizontal scrollers. */
  body[data-page-type="resource_detail"] .gexyral-resource-table-scroll.is-inline{
    overflow:visible!important;
    max-width:100%!important;
    outline:0!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table,
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table tbody,
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table tr,
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table th,
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table td{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table{
    border:0!important;
    background:transparent!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table caption{
    display:block!important;
    width:100%!important;
    padding:12px 14px!important;
    border:1px solid rgba(255,255,255,.07)!important;
    border-radius:12px!important;
    background:rgba(15,29,49,.72)!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table thead{
    display:none!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table tbody{
    display:grid!important;
    gap:12px!important;
    margin-top:10px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table tr{
    overflow:hidden!important;
    border:1px solid rgba(128,181,255,.14)!important;
    border-radius:14px!important;
    background:rgba(9,22,40,.72)!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table tbody th,
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table tbody td{
    position:relative!important;
    padding:12px 14px!important;
    border:0!important;
    border-top:1px solid rgba(255,255,255,.055)!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.68!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table tbody th:first-child{
    border-top:0!important;
    background:rgba(44,102,160,.16)!important;
    color:#dff6ff!important;
    font-weight:750!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-chapter-table td::before{
    content:attr(data-label)!important;
    display:block!important;
    margin-bottom:5px!important;
    color:#6fcbe9!important;
    font-size:11px!important;
    font-weight:750!important;
    line-height:1.35!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-navigation{
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-top:30px!important;
    padding-top:20px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-navigation>a,
  body[data-page-type="resource_detail"] .gexyral-resource-article-navigation>a.is-next{
    min-height:54px!important;
    align-items:flex-start!important;
    text-align:left!important;
    padding:10px 0!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-navigation>a strong{
    max-width:none!important;
    font-size:14px!important;
  }

  /* Publication-backed resource detail. */
  body[data-page-type="resource_detail"] .gexyral-publication-cover{
    margin-bottom:22px!important;
    border-radius:16px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-cover img{
    max-height:none!important;
    aspect-ratio:16/10!important;
    object-fit:cover!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-intro p,
  body[data-page-type="resource_detail"] .gexyral-publication-body{
    font-size:16px!important;
    line-height:1.9!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-body p{
    margin-bottom:18px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-gallery,
  body[data-page-type="resource_detail"] .gexyral-publication-attachments{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-attachments>a{
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-areas:"type title" "type meta" "action action"!important;
    gap:4px 12px!important;
    min-height:72px!important;
    padding:14px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-attachments strong{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-attachments b{
    min-height:40px!important;
    display:flex!important;
    align-items:center!important;
    padding-top:6px!important;
  }
}

@media (max-width:560px){
  body[data-page-type="resource_hub"] .gexyral-resource-editorial-stats,
  body[data-page-type="resource_category"] .gexyral-resource-editorial-stats{
    grid-template-columns:1fr!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-topic-filter .gexyral-ui-filter-options,
  body[data-page-type="resource_category"] .gexyral-resource-topic-filter .gexyral-ui-filter-options{
    grid-template-columns:1fr!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-filter-form,
  body[data-page-type="resource_category"] .gexyral-resource-filter-form,
  body[data-page-type="resource_hub"] .gexyral-publication-filter,
  body[data-page-type="resource_category"] .gexyral-publication-filter{
    grid-template-columns:1fr!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-filter-clear,
  body[data-page-type="resource_category"] .gexyral-resource-filter-clear,
  body[data-page-type="resource_hub"] .gexyral-publication-filter button,
  body[data-page-type="resource_hub"] .gexyral-publication-filter>a,
  body[data-page-type="resource_category"] .gexyral-publication-filter button,
  body[data-page-type="resource_category"] .gexyral-publication-filter>a{
    width:100%!important;
  }
  body[data-page-type="resource_hub"] .gexyral-resource-card footer,
  body[data-page-type="resource_category"] .gexyral-resource-card footer{
    flex-direction:column!important;
    align-items:flex-start!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-layout{
    width:calc(100% - 24px)!important;
  }
  body[data-page-type="resource_detail"] .gexyral-resource-article-quick>header{
    display:grid!important;
    gap:5px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-topline{
    gap:8px!important;
  }
  body[data-page-type="resource_detail"] .gexyral-publication-topline>*{
    max-width:100%!important;
  }
}
