/**
 * ASLTIP forum reskin (beta-gated via core/forum.php)
 *
 * Loaded only on forum pages when the reskin is enabled for the visitor.
 * Selectors are scoped under body.asltip-forum-v2 so the legacy rules in
 * style.min.css lose every fight while the reskin is active, and nothing
 * leaks anywhere else. !important is used where the legacy bundle also
 * uses it or targets bare elements.
 */

/* ============ Base / wrapper ============ */
.asltip-forum-v2 #bbpress-forums {
    font-size: 15px;
    color: #384048;
}
.asltip-forum-v2 .members-area-wrapper {
    padding-top: 10px;
}

/* Breadcrumbs as a quiet bar */
.asltip-forum-v2 #bbpress-forums .bbp-breadcrumb {
    font-size: 13px;
    color: #5f6e7a;
    margin-bottom: 18px;
}
.asltip-forum-v2 #bbpress-forums .bbp-breadcrumb a {
    color: #1578cc;
    text-decoration: none;
}
.asltip-forum-v2 #bbpress-forums .bbp-breadcrumb a:hover {
    text-decoration: underline;
}

/* Subscribe / favorite links as pills (rendered by content templates) */
.asltip-forum-v2 #bbpress-forums .bbp-forum-subscription-link,
.asltip-forum-v2 #bbpress-forums .bbp-topic-subscription-link,
.asltip-forum-v2 #bbpress-forums .bbp-topic-favorite-link,
.asltip-forum-v2 #bbpress-forums #subscription-toggle,
.asltip-forum-v2 #bbpress-forums #favorite-toggle {
    float: right;
    margin: 0 0 18px 10px;
    font-size: 0; /* swallows any stray separator text between the links */
}
.asltip-forum-v2 #bbpress-forums #subscription-toggle::before,
.asltip-forum-v2 #bbpress-forums #subscription-toggle::after,
.asltip-forum-v2 #bbpress-forums #favorite-toggle::before,
.asltip-forum-v2 #bbpress-forums #favorite-toggle::after {
    content: none !important;
}
.asltip-forum-v2 #bbpress-forums .subscription-toggle,
.asltip-forum-v2 #bbpress-forums .favorite-toggle {
    display: inline-block;
    background: #fff;
    border: 1.5px solid #cbdeef;
    border-radius: 18px;
    padding: 6px 16px;
    font-size: 13px !important;
    font-weight: 600;
    color: #1578cc;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.asltip-forum-v2 #bbpress-forums .subscription-toggle:hover,
.asltip-forum-v2 #bbpress-forums .favorite-toggle:hover {
    background: #e3eff9;
    border-color: #1578cc;
}

/* Notices */
.asltip-forum-v2 #bbpress-forums div.bbp-template-notice {
    clear: both;
    background: #fff8e1 !important;
    border: 1px solid #f0e0a8 !important;
    border-radius: 10px;
    color: #4b5563;
    padding: 12px 18px;
    margin-bottom: 18px;
}
.asltip-forum-v2 #bbpress-forums div.bbp-template-notice.info {
    background: #e3eff9 !important;
    border-color: #a5cbe9 !important;
}
.asltip-forum-v2 #bbpress-forums div.bbp-template-notice ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ============ Avatar sizing (uploaded avatars can arrive full-size; the
   width/height attributes are not reliable, so constrain everything) ====== */
.asltip-forum-v2 #bbpress-forums img.avatar {
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card__avatar img.avatar {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px;
}
.asltip-forum-v2 #bbpress-forums .asltip-reply-card__avatar img.avatar {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px;
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card__fresh img.avatar,
.asltip-forum-v2 #bbpress-forums .asltip-topic-card__fresh img.avatar,
.asltip-forum-v2 #bbpress-forums .bbp-topic-freshness-author img.avatar {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    vertical-align: middle;
}

/* ============ Chips ============ */
.asltip-chip {
    display: inline-block;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #334155;
    white-space: nowrap;
    vertical-align: middle;
}
.asltip-chip--new {
    background: #dcfce7;
    color: #166534;
}
.asltip-chip--pinned {
    background: #e3eff9;
    color: #12507f;
}
.asltip-chip--closed {
    background: #fee2e2;
    color: #991b1b;
}
.asltip-chip--starter {
    background: #e3eff9;
    color: #12507f;
    font-size: 11px;
}

/* ============ Forum index: card grid ============ */
.asltip-forum-v2 #bbpress-forums ul.bbp-forums.asltip-forums-grid {
    background: none !important;
    border: none !important;
    margin: 0;
    padding: 0;
}
.asltip-forums-grid > li.bbp-body {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 14px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
.asltip-forum-v2 #bbpress-forums ul.asltip-forum-card {
    position: relative;
    overflow: hidden;
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) auto minmax(240px, 1fr);
    gap: 6px 32px;
    align-items: center;
    background: linear-gradient(90deg, var(--asltip-accent, #e3eff9) 0%, #fff 200px) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px;
    padding: 15px 52px 15px 28px !important;
    margin: 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow .2s ease, border-color .2s ease, transform .15s ease;
    width: auto !important;
    list-style: none;
}
/* Slim accent bar down the row's left edge, in the forum's own colour */
.asltip-forum-v2 #bbpress-forums ul.asltip-forum-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--asltip-accent-ink, #1578cc);
    opacity: .8;
}
.asltip-forum-v2 #bbpress-forums ul.asltip-forum-card:hover {
    border-color: #a5cbe9 !important;
    box-shadow: 0 8px 22px rgba(4, 26, 46, 0.10);
    transform: translateY(-2px);
}
.asltip-forum-v2 #bbpress-forums ul.asltip-forum-card > li {
    position: relative;
    z-index: 1;
}
.asltip-forum-v2 #bbpress-forums ul.asltip-forum-card li {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    text-align: left !important;
    list-style: none;
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card a.bbp-forum-title {
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #00070e;
    text-decoration: none;
    line-height: 1.3;
    display: inline-block;
    margin: 0 0 4px;
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card a.bbp-forum-title:hover {
    color: var(--asltip-accent-ink, #1578cc);
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card a.bbp-forum-title:hover {
    color: #1578cc;
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card .bbp-forum-content {
    font-size: 14px;
    line-height: 1.55;
    color: #505c66;
    margin: 6px 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    clear: both;
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card__stats {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card__stats .asltip-chip {
    background: var(--asltip-accent, #f1f5f9);
    color: var(--asltip-accent-ink, #334155);
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card__fresh {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
    color: #64748b;
}
/* Structured "last post" strip (forum cards + topic rows) */
.asltip-forum-v2 #bbpress-forums a.asltip-last-post,
.asltip-forum-v2 #bbpress-forums span.asltip-last-post {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    border-radius: 10px;
    padding: 5px 8px;
    margin-left: -8px;
    min-width: 0;
    transition: background .15s ease;
}
.asltip-forum-v2 #bbpress-forums a.asltip-last-post:hover {
    background: #f1f7fc;
}
.asltip-forum-v2 #bbpress-forums .asltip-last-post__avatar img.avatar {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px;
    display: block;
}
.asltip-last-post__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}
.asltip-forum-v2 #bbpress-forums .asltip-last-post__name {
    font-size: 13px;
    font-weight: 700;
    color: #00070e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}
.asltip-forum-v2 #bbpress-forums .asltip-last-post__time {
    font-size: 12px;
    color: #94a3b8;
}
.asltip-last-post--empty {
    opacity: .7;
}

/* Facepile of recent repliers */
.asltip-facepile {
    display: inline-flex;
    align-items: center;
}
.asltip-forum-v2 #bbpress-forums .asltip-facepile img.avatar {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    border: 2px solid #fff;
    margin-left: -8px;
    position: relative;
}
.asltip-forum-v2 #bbpress-forums .asltip-facepile img.avatar:first-child {
    margin-left: 0;
}
.asltip-facepile__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    min-width: 24px;
    padding: 0 5px;
    border-radius: 12px;
    background: #e3eff9;
    border: 2px solid #fff;
    margin-left: -8px;
    font-size: 10.5px;
    font-weight: 700;
    color: #12507f;
}

.asltip-forum-card__go {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #cbd5e1;
    transition: color .15s ease, transform .15s ease;
}
.asltip-forum-v2 #bbpress-forums .asltip-last-post__snippet {
    display: block;
    font-size: 12.5px;
    font-style: italic;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
    margin-top: 1px;
}
.asltip-forum-v2 #bbpress-forums ul.asltip-forum-card:hover .asltip-forum-card__go {
    color: var(--asltip-accent-ink, #1578cc);
    transform: translateY(-50%) translateX(3px);
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card__fresh a {
    color: #1578cc;
    text-decoration: none;
}
.asltip-forum-v2 #bbpress-forums .asltip-forum-card__fresh img.avatar {
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 4px;
}

/* ============ Topic list: cards ============ */
.asltip-forum-v2 #bbpress-forums ul.bbp-topics.asltip-topics {
    background: none !important;
    border: none !important;
    margin: 0 0 20px;
    padding: 0;
}
.asltip-topics > li.bbp-body {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
.asltip-forum-v2 #bbpress-forums ul.asltip-topic-card {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px;
    padding: 18px 22px !important;
    margin: 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow .2s ease, border-color .2s ease;
    width: auto !important;
    list-style: none;
}
.asltip-forum-v2 #bbpress-forums ul.asltip-topic-card:hover {
    border-color: #a5cbe9 !important;
    box-shadow: 0 6px 18px rgba(4, 26, 46, 0.08);
}
.asltip-forum-v2 #bbpress-forums ul.asltip-topic-card.super-sticky,
.asltip-forum-v2 #bbpress-forums ul.asltip-topic-card.sticky {
    border-color: #a5cbe9 !important;
    background: #f7fafd !important;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card li {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    text-align: left !important;
    list-style: none;
}
.asltip-topic-card__main {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.asltip-topic-card__avatar img.avatar {
    border-radius: 50%;
    display: block;
}
.asltip-topic-card__body {
    min-width: 0;
    display: block;
}
.asltip-topic-card__titleline {
    display: block;
    margin-bottom: 4px;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card a.bbp-topic-permalink {
    font-family: 'Heebo', sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    color: #00070e;
    text-decoration: none;
    line-height: 1.35;
    margin-right: 8px;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card a.bbp-topic-permalink:hover {
    color: #1578cc;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card p.bbp-topic-meta {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card p.bbp-topic-meta a {
    color: #1578cc;
    text-decoration: none;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card p.bbp-topic-meta img.avatar {
    display: none;
}
.asltip-topic-card__stats {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    min-width: 150px;
}
.asltip-topic-card__numbers {
    display: flex;
    align-items: center;
    gap: 12px;
}
.asltip-bubble-count {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 5px 10px;
    background: #1578cc;
    color: #fff;
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px 12px 3px 12px;
}
.asltip-topic-card__voices {
    font-size: 11.5px;
    color: #94a3b8;
}
.asltip-topic-card__fresh {
    font-size: 12.5px;
    color: #64748b;
    text-align: right;
    margin-top: 2px;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card__fresh a {
    color: #1578cc;
    text-decoration: none;
}
.asltip-forum-v2 #bbpress-forums .asltip-topic-card__fresh img.avatar {
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 3px;
}

/* ============ Thread view: lead + reply cards ============ */
.asltip-forum-v2 #bbpress-forums ul.bbp-replies.asltip-replies {
    background: none !important;
    border: none !important;
    margin: 0 0 20px;
    padding: 0;
}
.asltip-thread-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin: 0 0 14px;
}
.asltip-thread-meta__label {
    font-family: 'Heebo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1578cc;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.asltip-thread-meta__label::before {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: #1acd6a;
}
.asltip-replies > li.bbp-body {
    position: relative;
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    list-style: none;
}
/* Thread rail: a vertical line connecting the post avatars */
.asltip-replies > li.bbp-body::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 48px;
    width: 2px;
    background: #e3eff9;
}
.asltip-forum-v2 #bbpress-forums div.asltip-reply-card {
    position: relative;
    display: flex;
    gap: 18px;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px 16px 16px 16px;
    padding: 20px 24px !important;
    margin: 0 0 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.asltip-forum-v2 #bbpress-forums .asltip-replies div.asltip-reply-card {
    margin-bottom: 0;
}
.asltip-forum-v2 #bbpress-forums div.asltip-reply-card--lead {
    border-color: #a5cbe9 !important;
    background: #f7fafd !important;
    border-radius: 16px;
    border-top: 3px solid #1578cc !important;
}
.asltip-reply-card__side {
    flex-shrink: 0;
    width: 56px;
}
.asltip-reply-card__avatar img.avatar {
    border-radius: 50%;
    display: block;
    background: #fff;
}
.asltip-forum-v2 #bbpress-forums .bbp-reply-ip,
.asltip-forum-v2 #bbpress-forums .bbp-topic-ip {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 6px;
    word-break: break-all;
}
.asltip-reply-card__main {
    flex: 1;
    min-width: 0;
}
.asltip-reply-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.asltip-reply-card__who {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.asltip-forum-v2 #bbpress-forums .asltip-reply-card__author,
.asltip-forum-v2 #bbpress-forums .asltip-reply-card__author a {
    font-family: 'Heebo', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #00070e;
    text-decoration: none;
}
.asltip-forum-v2 #bbpress-forums .asltip-reply-card__author a:hover {
    color: #1578cc;
}
.asltip-reply-card__date {
    font-size: 12.5px;
    color: #64748b;
}
.asltip-reply-card__context {
    font-size: 12.5px;
    color: #64748b;
}
.asltip-reply-card__meta {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.asltip-forum-v2 #bbpress-forums .asltip-reply-card__meta a.bbp-reply-permalink,
.asltip-forum-v2 #bbpress-forums .asltip-reply-card__meta a.bbp-topic-permalink {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
}
.asltip-forum-v2 #bbpress-forums .bbp-admin-links {
    font-size: 12px;
    color: #cbd5e1;
}
.asltip-forum-v2 #bbpress-forums .bbp-admin-links a {
    color: #94a3b8;
    text-decoration: none;
}
.asltip-forum-v2 #bbpress-forums .bbp-admin-links a:hover {
    color: #1578cc;
}
.asltip-forum-v2 #bbpress-forums div.bbp-reply-content,
.asltip-forum-v2 #bbpress-forums div.bbp-topic-content {
    font-size: 17px !important;
    line-height: 1.6;
    color: #384048;
    margin: 0 !important;
    padding: 0 !important;
}
.asltip-forum-v2 #bbpress-forums div.bbp-reply-content p,
.asltip-forum-v2 #bbpress-forums div.bbp-topic-content p {
    font-size: inherit;
    margin-bottom: 12px;
}

/* Attachments block (gd-bbpress-attachments) */
.asltip-forum-v2 #bbpress-forums .bbp-attachments {
    background: #f7fafd;
    border: 1px solid #e3eff9;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 14px;
}
.asltip-forum-v2 #bbpress-forums .bbp-attachments h6 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #64748b;
    margin: 0 0 8px;
}
.asltip-forum-v2 #bbpress-forums .bbp-attachments ol,
.asltip-forum-v2 #bbpress-forums .bbp-attachments ul {
    margin: 0;
    padding: 0 0 0 18px;
}
.asltip-forum-v2 #bbpress-forums .bbp-attachments a {
    color: #1578cc;
}

/* Topic tags */
.asltip-forum-v2 #bbpress-forums .bbp-topic-tags {
    clear: both;
    float: none !important;
    display: block;
    text-align: left;
    width: auto !important;
    font-size: 13px;
    color: #64748b;
    margin: 0 0 14px;
}
.asltip-forum-v2 #bbpress-forums .bbp-topic-tags p {
    margin: 0;
}
.asltip-forum-v2 #bbpress-forums .bbp-topic-tags a {
    display: inline-block;
    background: #e3eff9;
    color: #12507f;
    border-radius: 12px;
    padding: 2px 10px;
    margin: 0 3px 3px 0;
    text-decoration: none;
    font-size: 12px;
}

/* Notices inside the posting forms become quiet hints, not warnings */
.asltip-forum-v2 #bbpress-forums .bbp-reply-form div.bbp-template-notice,
.asltip-forum-v2 #bbpress-forums .bbp-topic-form div.bbp-template-notice {
    background: #f7fafd !important;
    border: 1px solid #e3eff9 !important;
    font-size: 13px;
    color: #64748b;
    padding: 8px 14px;
    margin-bottom: 12px;
}
.asltip-forum-v2 #bbpress-forums .bbp-reply-form div.bbp-template-notice p,
.asltip-forum-v2 #bbpress-forums .bbp-topic-form div.bbp-template-notice p {
    margin: 0;
    font-size: inherit;
}

/* ============ Pagination ============ */
/* Hide count-only pagination when there is a single page (progressive :has) */
.asltip-forum-v2 #bbpress-forums .bbp-pagination:not(:has(.bbp-pagination-links a)) {
    display: none;
}
.asltip-forum-v2 #bbpress-forums .bbp-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    float: none !important;
}
.asltip-forum-v2 #bbpress-forums .bbp-pagination-count {
    font-size: 13px;
    color: #64748b;
    float: none !important;
}
.asltip-forum-v2 #bbpress-forums .bbp-pagination-links {
    float: none !important;
}
.asltip-forum-v2 #bbpress-forums .bbp-pagination-links a,
.asltip-forum-v2 #bbpress-forums .bbp-pagination-links span.current,
.asltip-forum-v2 #bbpress-forums .bbp-pagination-links span.dots {
    display: inline-block;
    background: #fff !important;
    border: 1.5px solid #d3dde6 !important;
    border-radius: 16px;
    padding: 5px 13px !important;
    margin-left: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #50606e !important;
    text-decoration: none;
}
.asltip-forum-v2 #bbpress-forums .bbp-pagination-links a:hover {
    border-color: #1578cc !important;
    color: #1578cc !important;
}
.asltip-forum-v2 #bbpress-forums .bbp-pagination-links span.current {
    background: #1578cc !important;
    border-color: #1578cc !important;
    color: #fff !important;
}

/* ============ Search form ============ */
.asltip-forum-v2 #bbpress-forums .bbp-search-form {
    margin-bottom: 20px;
    float: none !important;
}
.asltip-forum-v2 #bbpress-forums #bbp_search {
    background: #f7fafd !important;
    border: 2px solid #cbdeef !important;
    border-radius: 8px !important;
    color: #1c1c1c !important;
    padding: 10px 16px !important;
    font-size: 15px;
    min-width: 260px;
    height: auto !important;
}
.asltip-forum-v2 #bbpress-forums #bbp_search:focus {
    border-color: #1578cc !important;
    outline: none;
}
.asltip-forum-v2 #bbpress-forums #bbp_search_submit {
    background: #1578cc !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 24px !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    height: auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin-left: 8px;
}
.asltip-forum-v2 #bbpress-forums #bbp_search_submit:hover {
    background: #1266a8 !important;
}

/* ============ Reply / topic forms ============ */
.asltip-forum-v2 #bbpress-forums .bbp-reply-form,
.asltip-forum-v2 #bbpress-forums .bbp-topic-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 6px 24px 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-top: 24px;
}
.asltip-forum-v2 #bbpress-forums fieldset.bbp-form {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.asltip-forum-v2 #bbpress-forums fieldset.bbp-form legend {
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #00070e;
    padding: 18px 0 10px !important;
}
.asltip-forum-v2 #bbpress-forums fieldset.bbp-form label {
    font-size: 14px;
    color: #334155;
}
.asltip-forum-v2 #bbpress-forums fieldset.bbp-form input[type="text"] {
    background: #f7fafd !important;
    border: 2px solid #cbdeef !important;
    border-radius: 8px !important;
    color: #1c1c1c !important;
    padding: 9px 14px !important;
    height: auto !important;
}
.asltip-forum-v2 #bbpress-forums fieldset.bbp-form input[type="text"]:focus {
    border-color: #1578cc !important;
    outline: none;
}
.asltip-forum-v2 #bbpress-forums .bbp-the-content-wrapper {
    border: 2px solid #cbdeef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
}
.asltip-forum-v2 #bbpress-forums .bbp-the-content-wrapper .quicktags-toolbar {
    background: #f7fafd !important;
    border-bottom: 1px solid #e3eff9 !important;
}
.asltip-forum-v2 #bbpress-forums #bbp_topic_subscription {
    accent-color: #1578cc;
}
.asltip-forum-v2 #bbpress-forums .bbp-submit-wrapper {
    float: none !important;
    margin-top: 14px;
}
.asltip-forum-v2 #bbpress-forums .bbp-submit-wrapper button.submit {
    background: #0d7d3f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    height: auto !important;
    width: auto !important;
    min-width: 0 !important;
    transition: background .2s ease;
}
.asltip-forum-v2 #bbpress-forums .bbp-submit-wrapper button.submit:hover {
    background: #109e50 !important;
}

/* ============ Page chrome (bbpress.php action buttons) ============ */
.asltip-forum-v2 .asltip-forum-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.asltip-forum-v2 .asltip-forum-actions a {
    display: inline-block;
    border-radius: 8px;
    padding: 11px 22px !important;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    min-width: 0 !important;
    height: auto !important;
    transition: background .2s ease, border-color .2s ease;
}
.asltip-forum-v2 .asltip-forum-actions a.asltip-btn--primary {
    background: #0d7d3f !important;
    color: #fff !important;
}
.asltip-forum-v2 .asltip-forum-actions a.asltip-btn--primary:hover {
    background: #109e50 !important;
}
.asltip-forum-v2 .asltip-forum-actions a.asltip-btn--outline {
    background: #fff !important;
    border: 1.5px solid #cbdeef !important;
    color: #1578cc !important;
}
.asltip-forum-v2 .asltip-forum-actions a.asltip-btn--outline:hover {
    background: #e3eff9 !important;
    border-color: #1578cc !important;
}

/* ============ Forum index sidebar: latest activity list ============ */
.asltip-latest-topics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    background: #f7fafd;
    border: 1px solid #e3eff9;
    border-radius: 12px;
    padding: 10px;
}
.asltip-forum-v2 a.asltip-latest-topic {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 13px;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.asltip-forum-v2 a.asltip-latest-topic:hover {
    border-color: #a5cbe9;
    transform: translateY(-1px);
}
.asltip-forum-v2 .asltip-latest-topic__avatar img.avatar {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.asltip-latest-topic__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.asltip-forum-v2 .asltip-latest-topic__title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #00070e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.asltip-forum-v2 .asltip-latest-topic__meta {
    font-size: 12px;
    color: #94a3b8;
}
.asltip-forum-v2 .asltip-popular-topic__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    flex-shrink: 0;
    background: #1578cc;
    color: #fff;
    font-family: 'Heebo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px 10px 3px 10px;
}
.asltip-forum-v2 .topic-tags-title {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Heebo', sans-serif;
    font-size: 12.5px !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1578cc !important;
}
.asltip-forum-v2 .topic-tags-title::before {
    content: "";
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: #1acd6a;
}

/* ============ Forum index sidebar (Latest Topics) ============ */
.asltip-forum-v2 .forum-topic-tags .topic-tags-title {
    font-family: 'Heebo', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1578cc;
}
.asltip-forum-v2 .forum-topic-tags a.tile,
.asltip-forum-v2 .forum-topic-tags a.tile.green {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: border-color .15s ease, transform .15s ease;
}
.asltip-forum-v2 .forum-topic-tags a.tile:hover {
    border-color: #a5cbe9 !important;
    transform: translateY(-1px);
}
.asltip-forum-v2 .forum-topic-tags .tile-title,
.asltip-forum-v2 .forum-topic-tags .tile-title.green {
    color: #00070e !important;
    font-size: 14px;
    font-weight: 600;
}
.asltip-forum-v2 .forum-topic-tags .members-area-hover-button {
    background: #fff !important;
    border: 1.5px solid #cbdeef !important;
    border-radius: 8px !important;
    color: #1578cc !important;
}

/* ============ Responsive ============ */
@media (max-width: 860px) {
    .asltip-forum-v2 #bbpress-forums ul.asltip-forum-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 20px 18px 24px !important;
    }
    .asltip-forum-v2 #bbpress-forums .asltip-forum-card__stats {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    .asltip-forum-card__go {
        display: none;
    }
    .asltip-forum-v2 #bbpress-forums .asltip-last-post__snippet {
        max-width: 100%;
    }
    .asltip-forum-v2 #bbpress-forums ul.asltip-topic-card {
        flex-direction: column;
        gap: 12px;
    }
    .asltip-topic-card__stats {
        flex-direction: row !important;
        align-items: center;
        flex-wrap: wrap;
    }
    .asltip-topic-card__fresh {
        text-align: left;
    }
    .asltip-forum-v2 #bbpress-forums div.asltip-reply-card {
        flex-direction: column;
        gap: 10px;
        padding: 16px 16px !important;
    }
    .asltip-reply-card__side {
        display: flex;
        align-items: center;
        gap: 10px;
        width: auto;
    }
    .asltip-reply-card__avatar img.avatar {
        width: 40px;
        height: 40px;
    }
}

/* =========================================================================
   User profile
   ========================================================================= */

/* Kill bbPress's default sidebar float layout: header on top, body below */
.asltip-forum-v2 #bbpress-forums #bbp-user-wrapper {
    width: 100%;
}
.asltip-forum-v2 #bbpress-forums #bbp-single-user-details {
    float: none;
    width: 100%;
    margin: 0;
    overflow: visible;
}
.asltip-forum-v2 #bbpress-forums #bbp-user-body {
    margin-left: 0;
    margin-top: 4px;
}

/* ---- Hero card ---- */
.asltip-forum-v2 .asltip-profile-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(115deg, #0b2f52 0%, #14548e 62%, #1578cc 118%);
    border-radius: 14px;
    padding: 26px 28px;
    margin: 0 0 16px;
}
.asltip-forum-v2 #bbpress-forums .asltip-profile-hero__avatar img.avatar {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .9);
    box-shadow: 0 4px 14px rgba(4, 20, 38, .35);
    display: block;
}
.asltip-forum-v2 .asltip-profile-hero__body {
    flex: 1 1 260px;
    min-width: 0;
}
.asltip-forum-v2 .asltip-profile-hero__name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: 'Heebo', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.asltip-forum-v2 .asltip-profile-hero__meta {
    display: block;
    margin-top: 5px;
    font-size: 13.5px;
    color: #b9d4ec;
}
.asltip-forum-v2 .asltip-chip--role {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
}
/* Same chip on a reply card. The rule above is white-on-translucent for the
   dark profile header and would be invisible here, so the card context gets a
   solid fill. Deliberately heavier than --starter: "this is an official answer"
   is the more useful signal to someone scanning a thread. */
.asltip-forum-v2 #bbpress-forums .asltip-reply-card .asltip-chip--role,
.asltip-forum-v2 .asltip-reply-card .asltip-chip--role {
    background: #0b2f52;
    color: #fff;
    border: 0;
    font-size: 11px;
}
.asltip-forum-v2 .asltip-profile-hero__actions a.asltip-btn--hero {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    background: #fff;
    color: #0b2f52;
    font-family: 'Heebo', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}
.asltip-forum-v2 .asltip-profile-hero__actions a.asltip-btn--hero:hover {
    background: #e3eff9;
}

/* ---- Pill navigation ----
   Selectors carry #bbp-single-user-details because bbPress's own stylesheet
   styles the nav with three-id selectors; anything shorter loses. */
.asltip-forum-v2 #bbpress-forums #bbp-single-user-details #bbp-user-navigation {
    margin: 0 0 20px;
    /* Flex on the container too: user-switching appends its own
       ul#user_switching_switch_to after the menu ul, and this keeps that
       "Switch To" pill flowing in the same row with the same gap */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.asltip-forum-v2 #bbpress-forums #bbp-single-user-details #bbp-user-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.asltip-forum-v2 #bbpress-forums #bbp-single-user-details #bbp-user-navigation li {
    float: none;
    margin: 0;
    padding: 0;
}
.asltip-forum-v2 #bbpress-forums #bbp-single-user-details #bbp-user-navigation li a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f7fafd;
    border: 1px solid #cbdeef;
    color: #1578cc;
    font-family: 'Heebo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.asltip-forum-v2 #bbpress-forums #bbp-single-user-details #bbp-user-navigation li a:hover {
    background: #e3eff9;
    border-color: #a5cbe9;
}
.asltip-forum-v2 #bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a {
    background: #1578cc;
    border-color: #1578cc;
    color: #fff;
    opacity: 1;
}

/* Per-tab topic/reply search forms are clutter on profiles; the forum search
   on the index covers it */
.asltip-forum-v2 .asltip-profile .bbp-search-form {
    display: none;
}

/* Initials fallback when a member has no photo anywhere */
.asltip-forum-v2 .asltip-profile-hero__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: 3px solid rgba(255, 255, 255, .9);
    box-shadow: 0 4px 14px rgba(4, 20, 38, .35);
    font-family: 'Heebo', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #0b2f52;
}

/* ---- Profile tab: stat tiles ---- */
.asltip-forum-v2 .asltip-profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 0 0 16px;
}
.asltip-forum-v2 .asltip-profile-stat {
    background: #fff;
    border: 1px solid #dbe7f2;
    border-radius: 12px;
    padding: 16px 18px 14px;
    box-shadow: 0 1px 2px rgba(11, 47, 82, .05);
}
.asltip-forum-v2 .asltip-profile-stat__number {
    display: block;
    font-family: 'Heebo', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0b2f52;
    line-height: 1.2;
}
.asltip-forum-v2 .asltip-profile-stat__number--text {
    font-size: 18px;
    padding-top: 5px;
}
.asltip-forum-v2 .asltip-profile-stat__label {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #6b8299;
}

/* ---- Profile tab: about / website cards ---- */
.asltip-forum-v2 .asltip-profile-card {
    background: #fff;
    border: 1px solid #dbe7f2;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0 0 14px;
}
.asltip-forum-v2 .asltip-profile-card .topic-tags-title {
    margin-top: 0;
}
.asltip-forum-v2 .asltip-profile-card p {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: #33475b;
}

/* ---- Tab bodies (topics / replies / favourites / subscriptions) ---- */
.asltip-forum-v2 #bbpress-forums #bbp-user-body h2.entry-title {
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0b2f52;
    margin: 4px 0 14px;
}

/* ---- Edit profile form (template not overridden: avatar + digest plugins
        hook into it, so this is a CSS-only pass) ---- */
.asltip-forum-v2 #bbpress-forums #bbp-your-profile fieldset.bbp-form {
    background: #fff;
    border: 1px solid #dbe7f2;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 0 0 18px;
}
.asltip-forum-v2 #bbpress-forums #bbp-your-profile fieldset.bbp-form label {
    float: none;
    display: block;
    width: auto;
    margin: 0 0 4px;
    padding: 0;
    text-align: left;
    font-family: 'Heebo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #33475b;
}
.asltip-forum-v2 #bbpress-forums #bbp-your-profile fieldset.bbp-form div {
    margin-bottom: 14px;
}
.asltip-forum-v2 #bbpress-forums #bbp-your-profile input[type="text"],
.asltip-forum-v2 #bbpress-forums #bbp-your-profile input[type="email"],
.asltip-forum-v2 #bbpress-forums #bbp-your-profile input[type="url"],
.asltip-forum-v2 #bbpress-forums #bbp-your-profile input[type="password"],
.asltip-forum-v2 #bbpress-forums #bbp-your-profile select,
.asltip-forum-v2 #bbpress-forums #bbp-your-profile textarea {
    background: #f7fafd;
    border: 1px solid #cbdeef;
    border-radius: 8px;
    padding: 9px 12px;
    width: 100%;
    max-width: 540px;
    font-size: 14px;
    color: #00070e;
}
.asltip-forum-v2 #bbpress-forums #bbp-your-profile input:focus,
.asltip-forum-v2 #bbpress-forums #bbp-your-profile textarea:focus {
    border-color: #1578cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 120, 204, .12);
}
.asltip-forum-v2 #bbpress-forums #bbp-your-profile fieldset.submit {
    border: none;
    padding: 0;
    margin: 0 0 10px;
    background: none;
}
.asltip-forum-v2 #bbpress-forums #bbp-your-profile button.submit,
.asltip-forum-v2 #bbpress-forums #bbp-your-profile button[type="submit"] {
    background: #0d7d3f;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 11px 26px;
    font-family: 'Heebo', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}
.asltip-forum-v2 #bbpress-forums #bbp-your-profile button.submit:hover,
.asltip-forum-v2 #bbpress-forums #bbp-your-profile button[type="submit"]:hover {
    background: #109e50;
}

@media (max-width: 640px) {
    .asltip-forum-v2 .asltip-profile-hero {
        padding: 20px;
        gap: 14px;
    }
    .asltip-forum-v2 .asltip-profile-hero__name {
        font-size: 21px;
    }
    .asltip-forum-v2 #bbpress-forums .asltip-profile-hero__avatar img.avatar {
        width: 64px !important;
        height: 64px !important;
        max-width: 64px;
    }
    .asltip-forum-v2 .asltip-profile-hero__initial {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }
}


/* Home icon button beside the forum action buttons */
.asltip-forum-v2 .asltip-forum-actions a.asltip-btn--home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 13px !important;
    background: #fff !important;
    border: 1.5px solid #cbdeef !important;
    color: #1578cc !important;
}
.asltip-forum-v2 .asltip-forum-actions a.asltip-btn--home:hover {
    background: #e3eff9 !important;
    border-color: #1578cc !important;
}
.asltip-forum-v2 .asltip-forum-actions a.asltip-btn--home svg {
    display: block;
}

/* Subscribe / favourite in the action-button row (single forum + topic).
   The pill styling elsewhere is scoped to #bbpress-forums, so these live
   rules mirror it for the chrome-rendered copies */
.asltip-forum-v2 .asltip-forum-actions__toggles {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.asltip-forum-v2 .asltip-forum-actions__toggles #subscription-toggle,
.asltip-forum-v2 .asltip-forum-actions__toggles #favorite-toggle {
    float: none;
    margin: 0;
    font-size: 0; /* swallows any stray separator text between the links */
}
.asltip-forum-v2 .asltip-forum-actions__toggles a.subscription-toggle,
.asltip-forum-v2 .asltip-forum-actions__toggles a.favorite-toggle {
    display: inline-block;
    background: #fff !important;
    border: 1.5px solid #cbdeef !important;
    border-radius: 18px;
    padding: 9px 18px !important;
    font-size: 13px !important;
    font-weight: 600;
    color: #1578cc !important;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.asltip-forum-v2 .asltip-forum-actions__toggles a.subscription-toggle:hover,
.asltip-forum-v2 .asltip-forum-actions__toggles a.favorite-toggle:hover {
    background: #e3eff9 !important;
    border-color: #1578cc !important;
}
@media (max-width: 640px) {
    .asltip-forum-v2 .asltip-forum-actions__toggles {
        margin-left: 0; /* wrap below the buttons instead of squeezing */
    }
}

/* Edit form: first/last/display name side by side, tighter rhythm.
   Direct child only: the digest + avatar plugins nest their own markup
   inside later fieldsets and must stay stacked */
.asltip-forum-v2 #bbpress-forums #bbp-your-profile > fieldset.bbp-form:first-of-type {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 4px 20px;
}
.asltip-forum-v2 #bbpress-forums #bbp-your-profile fieldset.bbp-form div {
    margin-bottom: 12px;
}

/* Linked reply avatars: no underline artefacts, soft ring on hover */
.asltip-forum-v2 .asltip-reply-card__avatar a {
    display: block;
    line-height: 0;
    border: none !important;
    text-decoration: none;
}
.asltip-forum-v2 .asltip-reply-card__avatar a:hover img.avatar {
    box-shadow: 0 0 0 3px #cbdeef;
}

/* ============ Forum home: search in the action row ============ */
.asltip-forum-v2 .forum-main-page-wrapper .bbp-search-form {
    display: none; /* replaced by the action-row search above */
}
.asltip-forum-v2 .asltip-forum-actions form.asltip-forum-actions__search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.asltip-forum-v2 .asltip-forum-actions__search input[type="text"] {
    background: #f7fafd !important;
    border: 1.5px solid #cbdeef !important;
    border-radius: 999px !important;
    color: #1c1c1c !important;
    padding: 10px 18px !important;
    font-size: 14px;
    width: 240px;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}
.asltip-forum-v2 .asltip-forum-actions__search input[type="text"]:focus {
    border-color: #1578cc !important;
    outline: none;
}
.asltip-forum-v2 .asltip-forum-actions__search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #1578cc !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50%;
    cursor: pointer;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    transition: background .2s ease;
}
.asltip-forum-v2 .asltip-forum-actions__search button:hover {
    background: #1266a8 !important;
}
@media (max-width: 700px) {
    .asltip-forum-v2 .asltip-forum-actions form.asltip-forum-actions__search {
        margin-left: 0;
        flex-basis: 100%;
    }
    .asltip-forum-v2 .asltip-forum-actions__search input[type="text"] {
        flex: 1 1 auto;
        width: auto;
    }
}

/* ============ Search results as cards ============ */
.asltip-forum-v2 #bbpress-forums ul.bbp-search-results {
    background: none !important;
    border: none !important;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
.asltip-forum-v2 #bbpress-forums ul.bbp-search-results li.bbp-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
}
.asltip-forum-v2 #bbpress-forums .asltip-search-hit {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    padding: 16px 20px !important;
    margin: 0 !important;
    width: auto !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.asltip-forum-v2 #bbpress-forums .asltip-search-hit:hover {
    border-color: #a5cbe9 !important;
    box-shadow: 0 4px 14px rgba(4, 26, 46, .07);
}
.asltip-forum-v2 #bbpress-forums .asltip-search-hit__avatar img.avatar {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px;
    display: block;
}
.asltip-forum-v2 .asltip-search-hit__main {
    min-width: 0;
    flex: 1 1 auto;
}
.asltip-forum-v2 .asltip-search-hit__head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.asltip-forum-v2 #bbpress-forums a.asltip-search-hit__title {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #00070e;
    text-decoration: none;
    line-height: 1.35;
}
.asltip-forum-v2 #bbpress-forums a.asltip-search-hit__title:hover {
    color: #1578cc;
}
.asltip-forum-v2 .asltip-search-hit__excerpt {
    margin: 7px 0 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #505c66;
}
.asltip-forum-v2 .asltip-search-hit__meta {
    margin: 0;
    font-size: 12.5px;
    color: #94a3b8;
}
.asltip-forum-v2 #bbpress-forums .asltip-search-hit__meta a {
    color: #1578cc;
    text-decoration: none;
}
.asltip-forum-v2 #bbpress-forums .asltip-search-hit__meta a:hover {
    text-decoration: underline;
}

/* ============ In-thread moderation: pending replies ============ */
.asltip-chip--awaiting {
    background: #fef3c7;
    color: #92400e;
}
.asltip-forum-v2 #bbpress-forums div.asltip-reply-card--pending {
    background: #fffdf4 !important;
    border-color: #ecdfba !important;
}
.asltip-forum-v2 #bbpress-forums .asltip-reply-card--pending .bbp-reply-content {
    opacity: .92;
}
/* Approve is the action that matters on a pending card: make it read as one */
.asltip-forum-v2 #bbpress-forums .asltip-reply-card--pending a.bbp-reply-approve-link,
.asltip-forum-v2 #bbpress-forums .asltip-reply-card--pending .bbp-reply-approve-link a {
    display: inline-block;
    background: #0d7d3f;
    color: #fff !important;
    border-radius: 999px;
    padding: 4px 14px;
    font-weight: 700;
}
.asltip-forum-v2 #bbpress-forums .asltip-reply-card--pending a.bbp-reply-approve-link:hover,
.asltip-forum-v2 #bbpress-forums .asltip-reply-card--pending .bbp-reply-approve-link a:hover {
    background: #109e50;
}
