/* FPC Wire v2.3.1f — Compact Post Identity Row & Latest Feed Tab */

/* Keep identity metadata and menu on one clean line. */
.post-main > header,
.post-main header{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  min-width:0!important;
  margin:0!important;
}

.post-main header .post-author{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 1 auto!important;
  min-width:0!important;
  gap:3px!important;
  margin:0!important;
  white-space:nowrap!important;
}

.post-main header .post-author strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.post-main header .post-author .verified-badge,
.post-main header .verified-badge{
  flex:0 0 auto!important;
  margin:0 0 0 2px!important;
  vertical-align:middle!important;
}

.post-main > header > span,
.post-main header > span{
  flex:0 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#91a1b5!important;
}

.post-main header .post-safety-menu{
  flex:0 0 auto!important;
  margin-left:auto!important;
}

.post-main header .post-safety-menu summary{
  min-width:34px!important;
  min-height:32px!important;
  display:grid!important;
  place-items:center!important;
}

/* Recommendation explanation belongs directly under identity row. */
.post-main > header + .wire-recommendation-reason,
.post-main .wire-recommendation-reason{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin:3px 0 8px!important;
  padding:0!important;
  min-height:0!important;
  line-height:1.25!important;
  color:#8295ad!important;
  font-size:12px!important;
}

.wire-recommendation-reason button{
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  border:0!important;
  background:transparent!important;
  color:#8fc5f5!important;
  font-size:inherit!important;
  line-height:inherit!important;
}

/* Remove large empty gap before post copy. */
.post-main > .post-body,
.post-main > .post-content,
.post-main > .post-text,
.post-main > [data-post-body]{
  margin-top:8px!important;
}

/* Four evenly balanced Home feed tabs. */
.wire-feed-tabs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
}

.wire-feed-tabs > a{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
}

@media(max-width:799px){
  .post-main > header,
  .post-main header{
    gap:3px!important;
  }

  .post-main header .post-author{
    max-width:48%!important;
  }

  .post-main > header > span,
  .post-main header > span{
    max-width:38%!important;
    font-size:12px!important;
  }

  .post-main header .post-author .verified-badge,
  .post-main header .verified-badge{
    max-width:20px!important;
    max-height:20px!important;
  }

  .post-main > header + .wire-recommendation-reason,
  .post-main .wire-recommendation-reason{
    margin-top:2px!important;
    margin-bottom:7px!important;
    font-size:11px!important;
  }

  .wire-feed-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  .wire-feed-tabs > a{
    padding-inline:4px!important;
    font-size:13px!important;
  }

  .wire-feed-tabs > a small{
    font-size:9px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:100%!important;
  }
}

@media(max-width:390px){
  .wire-feed-tabs > a{
    font-size:12px!important;
  }

  .wire-feed-tabs > a small{
    font-size:8px!important;
  }
}
