/* Aranu 1.2.47 — isolated feed + superadmin network fixes. */

/* Feed: stories/highlights do not belong in the main post feed. */
body.aranu-page-feedx .social-stories{display:none!important}

/* Feed caption: show exactly one useful line by default, then expand on demand. */
body.aranu-page-feedx .social-post-content>p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:1!important;
  line-clamp:1!important;
  overflow:hidden!important;
  max-height:1.95em!important;
  line-height:1.95!important;
  margin-bottom:4px!important;
  white-space:normal!important;
  text-overflow:ellipsis!important;
}
body.aranu-page-feedx .social-post-content>p.is-expanded{
  display:block!important;
  max-height:none!important;
  overflow:visible!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
}
body.aranu-page-feedx .social-post-content>.social-hashtag{display:none!important}
body.aranu-page-feedx .social-post-content.caption-expanded>.social-hashtag{display:inline-flex!important}
body.aranu-page-feedx .aranu-caption-toggle{
  appearance:none;border:0;background:transparent;color:var(--nw-accent,var(--social-brand,#6656d9));
  padding:1px 0 5px;margin:0;font:inherit;font-size:11px;font-weight:850;cursor:pointer
}
body.aranu-page-feedx .aranu-caption-toggle:hover{text-decoration:underline}
body.aranu-page-feedx .aranu-caption-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:5px}

/* Superadmin network: force the modern shell to use the full content width. */
body.aranu-admin.platform.aranu-page-network .page-content{min-width:0!important;width:100%!important}
body.aranu-admin.platform.aranu-page-network .sa-network-page{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important
}
body.aranu-admin.platform.aranu-page-network .sa-network-page>:is(.admin-title,.sa-social-stats,.sa-social-tabs,.card,.sa-social-section,.sa-moderation-layout){
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important
}
body.aranu-admin.platform.aranu-page-network .sa-social-hero{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
  gap:20px!important;padding:22px 24px!important
}
body.aranu-admin.platform.aranu-page-network .sa-social-hero>div:first-child{min-width:0!important}
body.aranu-admin.platform.aranu-page-network .sa-social-hero h1{margin:4px 0 6px!important;font-size:clamp(22px,2vw,31px)!important;line-height:1.5!important}
body.aranu-admin.platform.aranu-page-network .sa-social-hero .muted{max-width:900px!important;margin:0!important;line-height:1.9!important}
body.aranu-admin.platform.aranu-page-network .sa-social-hero .hero-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
body.aranu-admin.platform.aranu-page-network .sa-social-stats{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important
}
body.aranu-admin.platform.aranu-page-network .sa-social-stats>a{
  display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;
  min-height:112px!important;padding:15px 16px!important;border-radius:16px!important;text-decoration:none!important
}
body.aranu-admin.platform.aranu-page-network .sa-social-stats>a strong{margin:3px 0!important;font-size:23px!important;line-height:1.35!important}
body.aranu-admin.platform.aranu-page-network .sa-social-tabs{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;padding:8px!important;border-radius:16px!important
}
body.aranu-admin.platform.aranu-page-network .sa-social-tabs a{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;
  min-width:0!important;min-height:54px!important;padding:8px 9px!important;border-radius:12px!important
}
body.aranu-admin.platform.aranu-page-network .sa-social-tabs a span:nth-child(2){overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.aranu-admin.platform.aranu-page-network .sa-social-filter-card{padding:14px 16px!important}
body.aranu-admin.platform.aranu-page-network .sa-social-filter{display:grid!important;grid-template-columns:minmax(260px,1.5fr) minmax(180px,.7fr) auto!important;align-items:end!important;gap:12px!important}
body.aranu-admin.platform.aranu-page-network .sa-social-section{padding:19px!important;overflow:hidden!important}
body.aranu-admin.platform.aranu-page-network .sa-social-section>.section-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin:0 0 14px!important;padding-bottom:12px!important}
body.aranu-admin.platform.aranu-page-network .table-wrap{width:100%!important;max-width:100%!important;overflow:auto!important}

@media(max-width:1180px){
  body.aranu-admin.platform.aranu-page-network .sa-social-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.aranu-admin.platform.aranu-page-network .sa-social-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body.aranu-admin.platform.aranu-page-network .sa-social-hero{grid-template-columns:1fr!important;padding:17px!important}
  body.aranu-admin.platform.aranu-page-network .sa-social-hero .hero-actions{justify-content:stretch!important}
  body.aranu-admin.platform.aranu-page-network .sa-social-hero .hero-actions a{flex:1 1 145px!important;text-align:center!important}
  body.aranu-admin.platform.aranu-page-network .sa-social-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.aranu-admin.platform.aranu-page-network .sa-social-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.aranu-admin.platform.aranu-page-network .sa-social-filter{grid-template-columns:1fr!important}
}
@media(max-width:480px){
  body.aranu-admin.platform.aranu-page-network .sa-social-stats{grid-template-columns:1fr!important}
}
