/* GATEHOUSE 2.0 part 3 (30 Sep 2026): member passes + post cards */
/* member directory: every card is a GATEHOUSE member pass, its band coloured by who the member is */
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry{--pb1:#4A5566;--pb2:#8390A2}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry.pfh-mp-neighbor{--pb1:#1F6B4C;--pb2:#3FBF84}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry.pfh-mp-agency{--pb1:#0B1729;--pb2:#2D5986}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry.pfh-mp-volunteer{--pb1:#B8561A;--pb2:#F2A65A}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry.pfh-mp-team{--pb1:#0B1729;--pb2:#2E7D5B}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry>.list-wrap{background:linear-gradient(rgba(255,255,255,0) 0 86px,#FFFFFF 86px),linear-gradient(105deg,rgba(255,255,255,0) 34%,rgba(255,255,255,.26) 47%,rgba(255,255,255,0) 58%) 0 0/100% 86px no-repeat,radial-gradient(rgba(255,255,255,.22) 1px,rgba(0,0,0,0) 1.5px) 0 0/14px 14px,linear-gradient(125deg,var(--pb1),var(--pb2)) 0 0/100% 86px no-repeat!important;padding-bottom:64px!important;overflow:hidden}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry>.list-wrap::after{content:"";position:absolute;right:-30px;top:-30px;width:120px;height:120px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.22),rgba(255,255,255,0));pointer-events:none}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry .item-avatar img.avatar{box-shadow:0 0 0 3px var(--pb2),0 16px 30px -14px rgba(11,23,41,.6)!important}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry .pfh-mp{position:absolute;left:18px;right:18px;bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px dashed #D6D2CA;pointer-events:none}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry .pfh-mp span{font:400 12.5px/1 "Anton","Arial Narrow",Impact,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#14233F;white-space:nowrap}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry .pfh-mp span b{font-weight:400;color:var(--pb1)}
html body.pfh-app #buddypress #members-dir-list ul#members-list>li.item-entry .pfh-mp i{flex:0 0 64px;height:17px;background:repeating-linear-gradient(90deg,#14233F 0 2px,rgba(0,0,0,0) 2px 4px,#14233F 4px 5px,rgba(0,0,0,0) 5px 7px,#14233F 7px 10px,rgba(0,0,0,0) 10px 12px);opacity:.85}
html body.pfh-app.pfh-dark #buddypress #members-dir-list ul#members-list>li.item-entry>.list-wrap{background:linear-gradient(rgba(0,0,0,0) 0 86px,#1A222D 86px),linear-gradient(105deg,rgba(255,255,255,0) 34%,rgba(255,255,255,.18) 47%,rgba(255,255,255,0) 58%) 0 0/100% 86px no-repeat,radial-gradient(rgba(255,255,255,.18) 1px,rgba(0,0,0,0) 1.5px) 0 0/14px 14px,linear-gradient(125deg,var(--pb1),var(--pb2)) 0 0/100% 86px no-repeat!important}
html body.pfh-app.pfh-dark #buddypress #members-dir-list ul#members-list>li.item-entry .pfh-mp{border-top-color:#2A3748}
html body.pfh-app.pfh-dark #buddypress #members-dir-list ul#members-list>li.item-entry .pfh-mp span{color:#E6EBF2}
html body.pfh-app.pfh-dark #buddypress #members-dir-list ul#members-list>li.item-entry .pfh-mp span b{color:#6FD3A4}
html body.pfh-app.pfh-dark #buddypress #members-dir-list ul#members-list>li.item-entry .pfh-mp i{background:repeating-linear-gradient(90deg,#E6EBF2 0 2px,rgba(0,0,0,0) 2px 4px,#E6EBF2 4px 5px,rgba(0,0,0,0) 5px 7px,#E6EBF2 7px 10px,rgba(0,0,0,0) 10px 12px);opacity:.7}
/* post cards: gradient ring on the author, stronger name, a "Read more" pill */
html body.pfh-app #buddypress ul.activity-list>li.activity-item>.activity-avatar img.avatar{border-radius:50%!important;padding:3px!important;border:0!important;background:conic-gradient(from 210deg,#3FBF84,#2E7D5B 40%,#E07A2F 75%,#3FBF84)!important;box-shadow:0 0 0 3px #FFFFFF,0 12px 24px -12px rgba(11,23,41,.6)!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item .activity-header>p>a:first-child{font-size:17px!important;font-weight:800!important;color:#14233F!important;letter-spacing:-.005em}
html body.pfh-app #buddypress ul.activity-list>li.activity-item .activity-inner{font-size:16.5px;line-height:1.62}
html body.pfh-app #buddypress ul.activity-list>li.activity-item .activity-read-more{display:block;margin-top:10px}
html body.pfh-app #buddypress ul.activity-list>li.activity-item .activity-read-more a{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;padding:7px 16px!important;border-radius:999px!important;background:#EAF6EF!important;color:#1F5A41!important;font-size:14px;font-weight:700;text-decoration:none!important;box-shadow:inset 0 0 0 1px rgba(46,125,91,.25)!important}
html body.pfh-app #buddypress ul.activity-list>li.activity-item .activity-read-more a::after{content:"\2192"}
html body.pfh-app #buddypress ul.activity-list>li.activity-item .activity-read-more a:hover,html body.pfh-app #buddypress ul.activity-list>li.activity-item .activity-read-more a:focus{background:#2E7D5B!important;color:#FFFFFF!important;text-decoration:none!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item>.activity-avatar img.avatar{box-shadow:0 0 0 3px #1A222D,0 12px 24px -12px rgba(0,0,0,.8)!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item .activity-header>p>a:first-child{color:#FFFFFF!important}
html body.pfh-app.pfh-dark #buddypress ul.activity-list>li.activity-item .activity-read-more a{background:#1B2A23!important;color:#CFF3E1!important;box-shadow:inset 0 0 0 1px rgba(111,211,164,.45)!important}
/* profile: the member's colour on the pass strip, and the same ring on the photo */
html body.pfh-app.bp-user{--pb1:#4A5566;--pb2:#8390A2}
html body.pfh-app.bp-user.pfh-mp-neighbor{--pb1:#1F6B4C;--pb2:#3FBF84}
html body.pfh-app.bp-user.pfh-mp-agency{--pb1:#0B1729;--pb2:#2D5986}
html body.pfh-app.bp-user.pfh-mp-volunteer{--pb1:#B8561A;--pb2:#F2A65A}
html body.pfh-app.bp-user.pfh-mp-team{--pb1:#0B1729;--pb2:#2E7D5B}
html body.pfh-app.bp-user:not(.messages) #buddypress #item-header::before{box-shadow:inset 8px 0 0 var(--pb2)!important}
html body.pfh-app.bp-user:not(.messages) #buddypress #item-header-avatar img.avatar{box-shadow:0 0 0 4px var(--pb2),0 22px 40px -18px rgba(11,23,41,.6)!important}