/* One action row for site and community forum announcements in both feed wrappers. */
.activity-item.dtf-forum-announcement {
 --dtf-action-color:var(--bb-primary-color,#4268ff);
 --dtf-action-border:var(--bb-content-border-color,#e3e8f1);
 --dtf-action-text:var(--bb-headings-color,#23324d);
}
/* Native forum previews use the same available width as their action row. */
.activity-list .activity-item.dtf-forum-announcement:not(.dtf-tg-announcement)>.activity-content>.activity-inner {
 width:auto;max-width:none;margin-bottom:16px;
}
/* Match activity-meta and groups-meta without changing menus or nested comments. */
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action {
 display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;
 gap:10px;margin-top:0;padding-top:14px;padding-bottom:0;
 border-top:1px solid var(--dtf-action-border);overflow:visible;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button {
 display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;
 width:auto;min-width:0;max-width:100%;margin:0;padding:0;text-align:left;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.dtf-forum-action-discuss,
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.dtf-tg-announcement-discuss {order:-2}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.dtf-forum-action-quick-reply {order:-1}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a {
 display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;
 box-sizing:border-box;width:auto!important;min-width:0!important;max-width:100%;min-height:40px;
 margin:0;padding:8px;border:0!important;border-radius:6px;
 background:transparent!important;box-shadow:none!important;
 color:var(--dtf-action-text);font-family:inherit;font-size:14px;font-weight:500;line-height:22px;
 text-decoration:none;white-space:normal;text-align:center;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a>.comment-count,
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a>.like-count {
 padding:0;margin:0;font:inherit;line-height:inherit;color:inherit;
}
/* Reuse BuddyBoss icons, including the selected reaction supplied by its own script. */
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a:before,
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a>i {
 flex:0 0 auto;margin:0;font-size:19px;line-height:1;min-width:19px;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>:is(.dtf-forum-action-discuss,.dtf-tg-announcement-discuss)>a {
 color:var(--dtf-action-color);
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>:is(.dtf-forum-action-discuss,.dtf-tg-announcement-discuss)>a:before,
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>:is(.dtf-forum-action-discuss,.dtf-tg-announcement-discuss)>a>i {color:inherit}
/* Same native outline chat glyph as the imported announcement's Discuss link. */
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>:is(.dtf-forum-action-discuss,.dtf-forum-action-quick-reply)>a:before {content:'\e979';font-weight:400}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a:hover {
 color:var(--dtf-action-color);
 background:color-mix(in srgb,var(--dtf-action-color) 5%,var(--bb-content-background-color,#fff))!important;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a:hover:before,
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a:hover>i {color:inherit}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a:focus-visible {
 outline:2px solid var(--dtf-action-color);outline-offset:3px;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a:is(.unfav,.has-reaction,[data-pressed="true"]) {
 color:var(--dtf-action-color);
}
/* Do not turn an empty native footer into a separator for guests. */
.activity-item.dtf-forum-announcement>.bp-generic-meta.action:empty {display:none!important}
/* Follow the existing community card's four-pixel content inset. */
body #buddypress .activity-list .activity-item.dtf-forum-announcement.dtf-tg-announcement>.bp-generic-meta.action {margin-inline:4px}
@media(max-width:600px) {
 body #buddypress .activity-list .activity-item.dtf-forum-announcement.dtf-tg-announcement>.bp-generic-meta.action {margin-inline:0}
}
@media(max-width:480px) {
 body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action {gap:8px;padding-top:12px}
 body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a {min-height:44px;padding:9px 8px;font-size:13px}
}
/* Selected gallery design: quiet outline actions; the native reaction handlers remain in charge. */
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action {gap:16px}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a {
 color:#7e8ba0;gap:8px;padding-inline:0;font-weight:400;text-align:left;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>:is(.dtf-forum-action-discuss,.dtf-tg-announcement-discuss,.dtf-forum-action-quick-reply)>a:before,
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.dtf-forum-action-like>a:not(.has-emotion):before {
 content:'';display:inline-block;flex:0 0 22px;width:22px;height:22px;min-width:22px;
 background:currentColor;-webkit-mask:url('../icons/gallery/message.svg') center/contain no-repeat;mask:url('../icons/gallery/message.svg') center/contain no-repeat;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.dtf-forum-action-like>a:not(.has-emotion):before {
 -webkit-mask-image:url('../icons/gallery/thumb-up.svg');mask-image:url('../icons/gallery/thumb-up.svg');
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>:is(.dtf-forum-action-discuss,.dtf-tg-announcement-discuss,.dtf-forum-action-quick-reply)>a>i,
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.dtf-forum-action-like>a:not(.has-emotion)>:is(i,svg,img) {display:none}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.dtf-forum-action-like:before {
 content:'';height:20px;width:1px;flex:0 0 1px;margin-right:16px;background:var(--dtf-action-border);
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a:hover {
 color:var(--dtf-action-color);background:transparent!important;
}
body #buddypress .activity-list .activity-item.dtf-forum-announcement>.bp-generic-meta.action>.generic-button>a:is(.unfav,.has-reaction,[data-pressed="true"]) {color:var(--dtf-action-color)}
