/* ==========================================
   PSN Global Input Focus System
   Applies anywhere users can type
   ========================================== */




/* Base input style */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select,
[contenteditable="true"]{
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

/* Gold focus state */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus,
[contenteditable="true"]:focus{
  outline: none !important;
  border-color: #c5a35c !important; /* PSN gold */
  box-shadow: 0 0 0 4px rgba(197,163,92,.18) !important;
}

/* Container highlight (cards glow when active) */
.activity-update-form:focus-within,
.bb-activity-update-form:focus-within,
.activity-form:focus-within,
#bbpress-forums form:focus-within,
.bbp-reply-form:focus-within,
.bbp-topic-form:focus-within{
  border-color: #c5a35c !important;
  box-shadow: 0 0 0 4px rgba(197,163,92,.14);
}
/* ================================
   Discussion modal UX improvements
================================== */

body.psn-unpaid.psn-onboarding-locked .group-button a.join-group,
body.psn-unpaid.psn-onboarding-locked .group-button a.request-membership {
  display: none !important;
}

/* Make the modal feel “anchored” (less lost on page) */
.bb-modal,
.buddyboss-modal,
.modal,
.mfp-content .bb-modal {
  border-radius: 16px;
}

/* Give the header/title row more contrast */
.bb-modal .bb-model-header,
.bb-modal .bb-modal-header,
.buddyboss-modal .modal-header,
.mfp-content .bb-modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Title input: higher contrast, clear focus */
.bb-modal input[type="text"],
.bb-modal input[type="search"],
.buddyboss-modal input[type="text"],
.mfp-content input[type="text"] {
  border: 1px solid rgba(0,0,0,.22);
  background: #fff;
}

.bb-modal input[type="text"]::placeholder,
.buddyboss-modal input[type="text"]::placeholder {
  opacity: .9;
}

/* Strong focus ring so users “see” where to start */
.bb-modal input[type="text"]:focus,
.buddyboss-modal input[type="text"]:focus {
  outline: none;
  border-color: rgba(0,0,0,.55);
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}

/* Helper text injected by JS */
.psn-title-helper {
  margin-top: 6px;
  font-size: 13px;
  opacity: .85;
}

/* Inline error injected by JS */
.psn-title-error {
  margin-top: 8px;
  font-size: 13px;
  color: #b00020;
}

/* When title invalid, make it unmistakable */
.psn-title-invalid {
  border-color: #b00020 !important;
  box-shadow: 0 0 0 4px rgba(176, 0, 32, .10) !important;
}
/* =======================================================================
   PSN / BuddyBoss — Master CSS (Optimized + De-duplicated)
   Built from your current master file :contentReference[oaicite:2]{index=2}
   ======================================================================= */

:root{
  --psn-accent: #DAA33F;
  --psn-accent-dark: #c1892f;
}

html { scroll-behavior: smooth; }

/* -----------------------------------------------------------------------
   Access / Visibility rules
------------------------------------------------------------------------ */

/* Hide Create Group Button (TEMP FIX) */
#groups-create{ display:none !important; }

/* Hide Messages for unpaid users */
body.psn-unpaid a[href*="/bp-messages/"],
body.psn-unpaid a[href*="/messages/"],
body.psn-unpaid li#wp-admin-bar-my-account-messages{
  display:none !important;
}

/* Hide Activate Membership for PAID users */
.psn-user-paid .menu-item a[href*="/activate"]{
  display:none !important;
}

/* Hide Activity/Home for UNPAID users */
.psn-user-unpaid .menu-item a[href*="/activity"],
.psn-user-unpaid .menu-item a[href*="/feed"]{
  display:none !important;
}

/* Hide Groups + Forums in BuddyBoss profile dropdown (until you replace dropdown menu) */
.header-profile-menu .sub-menu a[href*="/groups/"],
.header-profile-menu .sub-menu a[href*="/forums/"]{
  display:none !important;
}

/* -----------------------------------------------------------------------
   Home / Activity polish
------------------------------------------------------------------------ */

.psn-welcome-banner{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:14px 16px;
  margin:0 0 14px 0;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}
.psn-welcome-banner strong{ display:block; font-size:16px; margin-bottom:4px; }
.psn-welcome-banner span{ opacity:.8; }

/* Hide Activity title (you renamed nav to Home) */
body.activity .entry-title,
body.buddypress.activity .entry-title{
  display:none !important;
}

/* -----------------------------------------------------------------------
   BuddyBoss Profile Card — FINAL (Activity directory left widget)
   IMPORTANT: This is the ONLY profile card styling block now.
   It is tuned for the sticky 280px sidebar you showed in DevTools.
------------------------------------------------------------------------ */

.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card{
  max-width:100% !important;
  margin:0 auto;
  background:#fff;
  border:0;
  border-radius:14px;
  box-shadow:none;
  font-family:'Helvetica Neue', Arial, sans-serif;
  color:#333;
}

/* Kill ALL hover effects from BuddyBoss */
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card:hover{
  transform:none !important;
  box-shadow:none !important;
}

/* Layout tuned for narrow sidebar */
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card.bb-profile-card-polished{
  display:grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap:12px !important;
  padding:14px !important;
  text-align:left !important;
}

/* Header */
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-header{
  margin:0 !important;
  align-items:flex-start !important;
}
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-name{
  font-size:1.1rem !important;
  line-height:1.15 !important;
  margin:2px 0 8px !important;
  font-weight:800 !important;
  color:#111;
  text-align:left !important;
}

/* Avatar */
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-avatar{
  width:76px !important;
  display:block !important;
  justify-content:initial !important;
}
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-avatar img{
  width:76px !important;
  height:76px !important;
  max-width:76px !important;
  margin:0 !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:3px solid var(--psn-accent) !important;
  display:block !important;
}

/* Fields (single column, stable value width) */
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-fields{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
}
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-column{
  min-width:0 !important;
}

.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field{
  display:grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap:8px !important;
  align-items:start !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field:hover{
  background:transparent !important;
  transform:none !important;
}

.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field-name{
  font-size:.78rem !important;
  font-weight:700 !important;
  color:rgba(0,0,0,.62) !important;
  margin:0 !important;
  text-align:left !important;
}
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field-value{
  min-width:0 !important;
  font-size:.86rem !important;
  line-height:1.25 !important;
  color:rgba(0,0,0,.80) !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  text-align:left !important;
}

/* Clamp Biography (in this widget, Biography is last field of last column) */
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card
.bb-profile-column:last-child .bb-profile-field:last-child .bb-profile-field-value{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;
  overflow:hidden !important;
}

/* CTA button */
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-full-link{
  grid-column:1 / -1 !important;
  margin-top:10px !important;
  text-align:center;
}
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-link{
  background:var(--psn-accent);
  color:#fff;
  width:100% !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  font-weight:800 !important;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:background .18s ease, transform .18s ease, opacity .18s ease;
}
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-link:hover{
  background:var(--psn-accent-dark);
  transform:translateY(-1px);
}
.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-link:active{
  transform:translateY(0);
  opacity:.96;
}

/* -----------------------------------------------------------------------
   ONBOARDING PAGE (page-id-819)
------------------------------------------------------------------------ */

body.page-id-819{ background:#f5f6f7; }

/* Hide BuddyBoss navigation surfaces completely */
body.page-id-819 aside.buddypanel,
body.page-id-819 header#masthead,
body.page-id-819 #site-navigation,
body.page-id-819 nav#site-navigation,
body.page-id-819 .bb-mobile-header-wrapper,
body.page-id-819 .bb-mobile-panel-wrapper,
body.page-id-819 .header-search-wrap{
  display:none !important;
  visibility:hidden !important;
}

/* Remove offsets/gutters created by BuddyPanel layouts */
body.page-id-819.bb-buddypanel-left #page,
body.page-id-819.bb-buddypanel-left #content,
body.page-id-819.bb-buddypanel-left .site-content,
body.page-id-819.bb-buddypanel-left .container,
body.page-id-819.bb-buddypanel-left .bb-grid,
body.page-id-819.bb-buddypanel-left .site-content-grid,
body.page-id-819.bb-buddypanel-left .content-area{
  margin-left:0 !important;
  padding-left:0 !important;
}
body.page-id-819 #page{ padding-top:0 !important; }

/* Optional: hide WP admin bar on onboarding page */
body.page-id-819 #wpadminbar{ display:none !important; }
body.page-id-819 html{ margin-top:0 !important; }

/* Kill remaining grid constraints */
body.page-id-819 .site-content,
body.page-id-819 .site-content > .container,
body.page-id-819 .bb-grid,
body.page-id-819 .site-content-grid,
body.page-id-819 .content-area,
body.page-id-819 #primary,
body.page-id-819 #main{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* Center wrapper */
body.page-id-819 #main{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding-top:8vh;
}

/* Hide page title */
body.page-id-819 .entry-title{ display:none !important; }

/* White onboarding card */
body.page-id-819 .entry-content{
  background:#fff;
  max-width:820px;
  width:100%;
  margin:0 auto;
  padding:72px 64px;
  border-radius:16px;
  box-shadow:0 24px 60px rgba(0,0,0,0.10);
  text-align:center;
}
@media (max-width:640px){
  body.page-id-819 .entry-content{
    padding:48px 22px;
    border-radius:14px;
  }
}

body.page-id-819 .entry-content p{
  font-size:1.05rem;
  line-height:1.75;
  margin-bottom:18px;
}
body.page-id-819 .entry-content ul{
  list-style:none;
  padding:0;
  margin:28px 0;
}
body.page-id-819 .entry-content ul li{
  margin-bottom:10px;
  font-weight:500;
}

/* Hide footer completely */
body.page-id-819 footer,
body.page-id-819 .bb-footer,
body.page-id-819 .footer-bottom,
body.page-id-819 .site-footer{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
}

/* Onboarding buttons */
.onboarding-actions-wrap{
  margin-top:36px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}
.onboarding-btn{
  display:inline-block;
  width:min(420px, 100%);
  text-align:center;
  padding:14px 18px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none !important;
}
.onboarding-btn-primary{
  background:var(--psn-accent);
  color:#fff !important;
}
.onboarding-btn-primary:hover{ opacity:.92; }
.onboarding-btn-secondary{
  background:#fff;
  color:#111 !important;
  border:1px solid rgba(0,0,0,0.14);
}
.onboarding-btn-secondary:hover{ border-color:rgba(0,0,0,0.28); }

.onboarding-exit{ margin-top:6px; }
.onboarding-exit-link{
  font-size:.92rem;
  color:#666;
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,0.2);
  padding-bottom:2px;
}
.onboarding-exit-link:hover{
  color:#333;
  border-bottom-color:#333;
}

/* FIX: onboarding-note had an accidental 30px font-size in your master */
.onboarding-note{
  margin-top:6px;
  font-size:.95rem;
  line-height:1.45;
  color:#555;
  max-width:520px;
}

/* Onboarding mode: hide global + member navigation */
body.bb-onboarding #masthead,
body.bb-onboarding .bb-header,
body.bb-onboarding .bp-member-navigation,
body.bb-onboarding .bb-sidebar,
body.bb-onboarding .bb-mobile-panel,
body.bb-onboarding aside.buddypanel{
  display:none !important;
}
body.bb-onboarding{
  padding-top:0 !important;
  --buddypanel-width:0px;
  --bb-buddypanel-width:0px;
}
body.bb-onboarding .site-content,
body.bb-onboarding #content,
body.bb-onboarding .bb-content-wrap,
body.bb-onboarding .bb-grid,
body.bb-onboarding .content-area,
body.bb-onboarding .container,
body.bb-onboarding .container-fluid{
  margin-left:0 !important;
  padding-left:0 !important;
}

/* Progress indicator */
.bb-onboarding-progress{
  font-size:13px;
  opacity:.75;
  margin:0 0 16px;
  letter-spacing:.02em;
}
.bb-onboarding-progress .bb-onboarding-step{ font-weight:600; }
.bb-onboarding-progress .bb-onboarding-divider{ margin:0 6px; }
.bb-onboarding-progress .bb-step-complete{
  color:#4f7a5a;
  font-weight:600;
}
body.bb-onboarding .onboarding-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:10px;
  font-size:14px;
  line-height:1.45;
  color:#6b5a2e;
  background:#fff8e1;
  border:1px solid #f0e2b6;
}

/* -----------------------------------------------------------------------
   Header nav typography
------------------------------------------------------------------------ */
.site-header .primary-menu > li > a,
.site-header .bb-primary-menu > li > a,
.site-header .main-navigation > ul > li > a{
  font-size:15px;
  letter-spacing:.02em;
}

/* -----------------------------------------------------------------------
   BuddyBoss Group Nav ordering
------------------------------------------------------------------------ */
nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav ul{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
}
nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav ul > li{
  display:block !important;
  order:50 !important;
}
nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav ul > li.hideshow{
  order:999 !important;
}
nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav #activity-groups-li{ order:10 !important; }
nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav #nav-forum-groups-li{ order:20 !important; }
nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav #members-groups-li{ order:30 !important; }
nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav #admin-groups-li{ order:40 !important; }
nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav #invite-groups-li{ order:90 !important; }

/* -----------------------------------------------------------------------
   Forum / Discussion action buttons (consolidated)
------------------------------------------------------------------------ */

/* Header actions: keep subscribe + post tidy */
.bb-group-forums-header .bb-header-actions,
.bb-group-discussions-header .bb-header-actions,
.bb-forum-header .bb-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:14px;
}

/* Keep Post button readable on desktop */
/* Responsive "Post" button sizing (replaces hard min-width:520px etc) */
.bb-group-forums-header .bb-header-actions .bb-button,
.bb-group-discussions-header .bb-header-actions .bb-button,
.bb-forum-header .bb-header-actions .bb-button,
.bs-item-wrap .bbp-forum-buttons-wrap .bbp_before_forum_new_post > a.button.full.btn-new-topic{
  min-width: 0 !important;
  width: clamp(220px, 45vw, 520px) !important;
  max-width: 100% !important;
  white-space: nowrap;
}
.bb-group-forums-header .bb-button .bb-icon,
.bb-forum-header .bb-button .bb-icon{ margin-right:6px; }
@media (max-width: 1200px){
  .bb-group-forums-header .bb-header-actions .bb-button,
  .bb-group-discussions-header .bb-header-actions .bb-button,
  .bb-forum-header .bb-header-actions .bb-button{
    width: 100% !important;
    white-space: normal;
  }
}
/* Forum list action row */
.bs-item-wrap .bbp-forum-buttons-wrap{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:14px !important;
  flex-wrap:nowrap !important;
}
.bs-item-wrap .bbp-forum-buttons-wrap .bbp_before_forum_new_post > a.button.full.btn-new-topic{
  width:auto !important;
  max-width:none !important;
  min-width:520px !important;
  white-space:nowrap !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1.2 !important;
}
.bs-item-wrap .bbp-forum-buttons-wrap #subscription-toggle,
.bs-item-wrap .bbp-forum-buttons-wrap .bbp_before_forum_new_post{
  flex:0 0 auto !important;
}

/* Tablet: stack */
@media (max-width:1024px){
  .bs-item-wrap .bbp-forum-buttons-wrap{
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
  }
  .bs-item-wrap .bbp-forum-buttons-wrap .bbp_before_forum_new_post{
    width:100% !important;
  }
  .bs-item-wrap .bbp-forum-buttons-wrap .bbp_before_forum_new_post > a.button.full.btn-new-topic{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    white-space:normal !important;
    text-align:center !important;
    justify-content:center !important;
  }
}

/* Mobile: center + full width */
@media (max-width:640px){
  .bs-item-wrap .bbp-forum-buttons-wrap{
    justify-content:center !important;
    gap:10px !important;
  }
  .bs-item-wrap .bbp-forum-buttons-wrap #subscription-toggle,
  .bs-item-wrap .bbp-forum-buttons-wrap .bbp_before_forum_new_post{
    width:100% !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .bs-item-wrap .bbp-forum-buttons-wrap #subscription-toggle a,
  .bs-item-wrap .bbp-forum-buttons-wrap .bbp_before_forum_new_post > a.button.full.btn-new-topic{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    white-space:normal !important;
    text-align:center !important;
    justify-content:center !important;
  }
}

/* -----------------------------------------------------------------------
   Onboarding group selection cards
------------------------------------------------------------------------ */

.bb-onboarding-groups{ max-width:1100px; margin:0 auto; }
.bb-og-title{ margin:0 0 6px; text-align:center; }
.bb-og-subtitle{ opacity:.75; margin:0 0 18px; text-align:center; }

.bb-og-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}
@media (max-width:860px){
  .bb-og-grid{ grid-template-columns:1fr; }
}

.bb-og-card{
  border:1px solid #eee;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.bb-og-media{
  width:100%;
  aspect-ratio:16 / 9;
  background:#f3f3f3;
}
.bb-og-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.bb-og-body{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.bb-og-name{
  font-size:20px;
  font-weight:700;
  line-height:1.2;
}

.bb-og-btn{
  display:inline-flex;
  width:100%;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #ddd;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease, filter .18s ease, background-color .18s ease;
  transform:translateY(0);
}
.bb-og-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.14);
  opacity:.96;
  filter:brightness(.98);
  background-color:var(--psn-accent);
  color:#2C7B8C;
}
.bb-og-btn:active{ transform:scale(.98); }

.bb-og-btn-joined{
  border-color:#e2caca;
  background:#fff5f5;
  color:#9b3b3b;
}

/* -----------------------------------------------------------------------
   Notice link contrast (View Profile link)
------------------------------------------------------------------------ */

a.psn-nudge-link,
a.psn-nudge-link:visited,
a.psn-nudge-link:hover,
a.psn-nudge-link:focus,
a.psn-nudge-link:active{
  color:#fff !important;
  text-decoration:underline !important;
  font-weight:700 !important;
}
.bp-feedback.success a.psn-nudge-link{
  display:inline-block;
  margin-left:8px;
  padding:2px 6px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:4px;
}

.psn-pay-nudge{ margin:0 0 18px; }
.psn-pay-cta{ font-weight:700; }
.psn-edit-cta{ margin-left:8px; }
/* =========================================================
   PSN — Profile Card: force single field column + stop value collapse
   ========================================================= */

/* Force the widget to NOT split fields into two columns */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-fields{
  display: block !important;
}

/* Stack both internal columns as a single vertical flow */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column{
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
}

/* Tighten the gap between the two columns (now stacked) */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column + .bb-profile-column{
  margin-top: 10px !important;
}

/* Re-assert stable label/value grid per row */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-field{
  display: grid !important;
  grid-template-columns: 125px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
}

/* Prevent the “vertical letters” problem */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-field-value{
  min-width: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
/* =========================================================
   PSN — Profile Card: hide redundant fields (First/Last Name)
   ========================================================= */

/* Hide First Name + Last Name rows (usually the first two fields) */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column:first-child .bb-profile-field:nth-child(1),
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column:first-child .bb-profile-field:nth-child(2){
  display: none !important;
}

/* Optional: also hide Nickname (3rd field) */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column:first-child .bb-profile-field:nth-child(3){
  display: none !important;
}
/* =========================================================
   PSN — Profile Card: remove empty column + full-width fields
   ========================================================= */

/* Hide empty profile columns (BuddyBoss sometimes outputs an empty one) */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column:empty{
  display: none !important;
}

/* Make remaining column take full width */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column{
  width: 100% !important;
  min-width: 0 !important;
}

/* Ensure fields container behaves as a single column stack */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-fields{
  display: block !important;
}

/* Stable label/value rows (prevents vertical text) */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-field{
  display: grid !important;
  grid-template-columns: 125px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
}

/* Values: normal wrapping */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-field-value{
  min-width: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Clamp Biography specifically (3rd field in your screenshot) */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column .bb-profile-field:nth-child(3) .bb-profile-field-value{
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}
/* =========================================================
   PSN — Stop "vertical letters" in Profile Card values (final fix)
   ========================================================= */

/* Ensure the fields area is not acting like a narrow flex/grid column */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-fields,
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-column{
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Force each field row to be a two-column grid that cannot collapse */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-field{
  display: grid !important;
  grid-template-columns: 140px 1fr !important;
  column-gap: 10px !important;
  align-items: start !important;
  justify-content: start !important;
}

/* HARD: make the value span a normal block with full available width */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-field-value{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;      /* break long words if needed */
  overflow-wrap: anywhere !important;     /* never one-letter columns */
}

/* Clamp Biography value (3rd field in your DOM) */
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-field:nth-child(3) .bb-profile-field-value{
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}
.widget.widget_bb_profile_card_widget_fullpolish
.bb-custom-profile-card .bb-profile-field-value{
  writing-mode: horizontal-tb !important;
}
/* =========================================================
   PSN — Profile card: bulletproof layout (stack label + value)
   ========================================================= */

aside.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-fields,
aside.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-column{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
}

/* Each field becomes a simple stacked block */
aside.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field{
  display:block !important;
  width:100% !important;
  margin:0 0 10px 0 !important;
  padding:0 !important;
}

/* Label on its own line */
aside.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field-name{
  display:block !important;
  width:100% !important;
  margin:0 0 3px 0 !important;
  text-align:left !important;
}

/* Value on its own line (no chance of skinny “value column”) */
aside.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field-value{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  text-align:left !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  writing-mode: horizontal-tb !important;
}

/* Clamp Biography (3rd field in your DOM: Company, Industry, Biography) */
aside.widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card
.bb-profile-column .bb-profile-field:nth-child(3) .bb-profile-field-value{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;
  overflow:hidden !important;
}
/* =========================================================
   PSN — Profile Card polish (compact spacing)
   ========================================================= */

.bb-sticky-sidebar .bb-custom-profile-card.bb-profile-card-polished{
  padding: 14px !important;
}

/* Reduce avatar + name block spacing */
.bb-sticky-sidebar .bb-profile-avatar{
  margin-bottom: 8px !important;
}
.bb-sticky-sidebar .bb-profile-name{
  margin: 6px 0 10px !important;
  line-height: 1.05 !important;
}

/* Make fields tighter */
.bb-sticky-sidebar .bb-profile-field{
  margin-bottom: 10px !important;
}
.bb-sticky-sidebar .bb-profile-field-name{
  margin-bottom: 2px !important;
  opacity: .75;
}
.bb-sticky-sidebar .bb-profile-field-value{
  margin: 0 !important;
}
/* =========================================================
   PSN — Profile Card polish (compact spacing)
   ========================================================= */

.bb-sticky-sidebar .bb-custom-profile-card.bb-profile-card-polished{
  padding: 14px !important;
}

/* Reduce avatar + name block spacing */
.bb-sticky-sidebar .bb-profile-avatar{
  margin-bottom: 8px !important;
}
.bb-sticky-sidebar .bb-profile-name{
  margin: 6px 0 10px !important;
  line-height: 1.05 !important;
}

/* Make fields tighter */
.bb-sticky-sidebar .bb-profile-field{
  margin-bottom: 10px !important;
}
.bb-sticky-sidebar .bb-profile-field-name{
  margin-bottom: 2px !important;
  opacity: .75;
}
.bb-sticky-sidebar .bb-profile-field-value{
  margin: 0 !important;
}
.bb-sticky-sidebar .bb-profile-field-name{
  text-transform: none;
}
.bb-sticky-sidebar .bb-profile-field-name::after{
  content: "";
}
.bb-sticky-sidebar .bb-profile-full-link{
  margin-top: 10px !important;
}
.bb-sticky-sidebar .bb-profile-link{
  padding: 10px 12px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
}
/* ================================
   Discussion modal UX improvements
================================== */

/* Make the modal feel “anchored” (less lost on page) */
.bb-modal,
.buddyboss-modal,
.modal,
.mfp-content .bb-modal {
  border-radius: 16px;
}

/* Give the header/title row more contrast */
.bb-modal .bb-model-header,
.bb-modal .bb-modal-header,
.buddyboss-modal .modal-header,
.mfp-content .bb-modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Title input: higher contrast, clear focus */
.bb-modal input[type="text"],
.bb-modal input[type="search"],
.buddyboss-modal input[type="text"],
.mfp-content input[type="text"] {
  border: 1px solid rgba(0,0,0,.22);
  background: #fff;
}

.bb-modal input[type="text"]::placeholder,
.buddyboss-modal input[type="text"]::placeholder {
  opacity: .9;
}

/* Strong focus ring so users “see” where to start */
.bb-modal input[type="text"]:focus,
.buddyboss-modal input[type="text"]:focus {
  outline: none;
  border-color: rgba(0,0,0,.55);
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}

/* Helper text injected by JS */
.psn-title-helper {
  margin-top: 6px;
  font-size: 13px;
  opacity: .85;
}

/* Inline error injected by JS */
.psn-title-error {
  margin-top: 8px;
  font-size: 13px;
  color: #b00020;
}

/* When title invalid, make it unmistakable */
.psn-title-invalid {
  border-color: #b00020 !important;
  box-shadow: 0 0 0 4px rgba(176, 0, 32, .10) !important;
}

/* ===== Discussion Title Field (Primary Focus) ===== */

#bbp_topic_title,
input[name="bbp_topic_title"],
input[name="topic_title"] {
  border: 2px solid rgba(0,0,0,.35) !important;
  background: #fff !important;
  height: 56px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  transition: all .15s ease;
}

/* Clear strong focus */
#bbp_topic_title:focus,
input[name="bbp_topic_title"]:focus,
input[name="topic_title"]:focus {
  border-color: #c5a35c !important; /* your PSN gold */
  box-shadow: 0 0 0 4px rgba(197,163,92,.18) !important;
  outline: none !important;
}

/* Placeholder more visible */
#bbp_topic_title::placeholder,
input[name="bbp_topic_title"]::placeholder,
input[name="topic_title"]::placeholder {
  opacity: 1 !important;
}
/* Add helper under title automatically */
#bbp_topic_title::after {
  content: "";
}
/* ===== Discussion content field focus highlight ===== */

/* Textarea version */
.bb-modal textarea:focus,
.buddyboss-modal textarea:focus,
.mfp-content textarea:focus {
  outline: none !important;
  border-color: #c5a35c !important;              /* PSN gold */
  box-shadow: 0 0 0 4px rgba(197,163,92,.18) !important;
}

/* If BuddyBoss renders an editor as contenteditable */
.bb-modal [contenteditable="true"]:focus,
.buddyboss-modal [contenteditable="true"]:focus,
.mfp-content [contenteditable="true"]:focus {
  outline: none !important;
  border-color: #c5a35c !important;
  box-shadow: 0 0 0 4px rgba(197,163,92,.18) !important;
}

/* Give textarea a consistent baseline border so the focus effect is visible */
.bb-modal textarea,
.buddyboss-modal textarea,
.mfp-content textarea {
  border: 1px solid rgba(0,0,0,.18) !important;
  border-radius: 10px !important;
  transition: box-shadow .15s ease, border-color .15s ease;
}
/* ===== Content helper text ===== */
.psn-content-helper {
  margin-top: 6px;
  font-size: 13px;
  opacity: .8;
}

/* Content focus highlight */
.bb-modal textarea:focus,
.mfp-content textarea:focus,
.bb-modal [contenteditable="true"]:focus,
.mfp-content [contenteditable="true"]:focus {
  outline: none !important;
  border-color: #c5a35c !important;
  box-shadow: 0 0 0 4px rgba(197,163,92,.18) !important;
}

/* Error state */
.psn-content-invalid {
  border-color: #b00020 !important;
  box-shadow: 0 0 0 4px rgba(176,0,32,.10) !important;
}
/* BuddyBoss group header tabs */
.bb-single-group .subnav li a[href*="/forum"],
.bb-single-group .subnav li a[href*="/forums"]{
  font-size: 0 !important;
  position: relative;
}

.bb-single-group .subnav li a[href*="/forum"]::after,
.bb-single-group .subnav li a[href*="/forums"]::after{
  content: "Industry Discussions";
  font-size: 16px;
}
/* Rename Forums tab label (BuddyBoss group nav) */
#nav-forum .bb-single-nav-item-point{
  position: relative;
  display: inline-block;
  white-space: nowrap;

  /* hide ONLY the original word */
  text-indent: -9999px;
}

#nav-forum .bb-single-nav-item-point::after{
  content: "Industry Discussions";
  position: absolute;
  left: 0;
  top: 0;

  /* bring text back */
  text-indent: 0;
  white-space: nowrap;

  /* inherit the exact theme styling */
  font: inherit;
  color: inherit;
}

#nav-forum{
  min-width: 170px;
}
/* Make sure nav link is positioning context */
#nav-forum {
  position: relative;
}

/* Remove default underline from original element (if needed) */
#nav-forum .bb-single-nav-item-point {
  border-bottom: none !important;
}

/* Custom underline when active */
#nav-forum.current a::after,
#nav-forum.selected a::after,
#nav-forum.active a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px; /* adjust to match Feed underline position */
  height: 3px;
  width: 100%;
  background: #c5a35c; /* your gold */
  border-radius: 2px;
}
/* Ensure the anchor can host an underline */
#nav-forum-groups-li > a {
  position: relative;
  display: inline-block;
}

/* Underline when selected/current */
#nav-forum-groups-li.current > a::after,
#nav-forum-groups-li.selected > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    height: 2px;
    width: 80%;
    background: #daa33f;
    border-radius: 2px;
}

.psn-forum-context {
    background: #f4f6f9;
    border-left: 5px solid #c7a243;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.psn-forum-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: #7a7a7a;
    margin-bottom: 6px;
}

.psn-forum-title {
    margin: 0 0 8px 0;
    font-size: 26px;
}
.psn-forum-context {
    background: #f4f6f9;
    border-left: 5px solid #c7a243;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.psn-forum-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: #7a7a7a;
    margin-bottom: 6px;
}

.psn-forum-title {
    margin: 0 0 8px 0;
    font-size: 26px;
}
body.bbp-forum .bp-group-nav li#industry-discussions > a {
    border-bottom: 3px solid #c7a243;
    font-weight: 600;
}

.bb-og-btn-joined {
    background: #e6e6e6;
    color: #888;
    cursor: default;
    pointer-events: none;
}
body.bp-user.profile-edit #message,
body.bp-user.profile-edit .bp-feedback {
  display: none !important;
}
/* Posting context banner: featured image on the right (clip-safe) */
.psn-posting-context{
  position: relative;
  padding-right: 190px;
}

/* Put the image INSIDE the banner edge */
.psn-posting-context::after{
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;           /* makes it fit within the card */
  width: 150px;

  border-radius: 14px;
  background-image: var(--psn-forum-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}
@media (max-width: 640px){
  .psn-posting-context{
    padding-right: 16px;
  }
  .psn-posting-context::after{
    position: relative;
    display: block;
    width: 100%;
    height: 140px;
    margin-top: 14px;
  }
}
/* ===== Sexy Group Subnav (SAFE) ===== */
/* Scope tightly to the GROUP nav only */
body.single-item.groups nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav > ul{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  padding:8px 10px !important;
  margin:0 !important;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

/* Make sure list items don’t create weird stacking/click issues */
body.single-item.groups nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav > ul > li{
  position: relative;
  z-index: 1;
}

/* Pills */
body.single-item.groups nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav > ul > li > a{
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  padding:10px 14px !important;
  border-radius:999px !important;
  font-weight:700;
  text-decoration:none !important;
  line-height:1;
  border:1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

/* Hover */
body.single-item.groups nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav > ul > li > a:hover{
  background: rgba(218,163,63,.10);
  border-color: rgba(218,163,63,.22);
  transform: translateY(-1px);
}

/* Active/current */
body.single-item.groups nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav > ul > li.current > a,
body.single-item.groups nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav > ul > li.selected > a{
  background: rgba(218,163,63,.18);
  border-color: rgba(218,163,63,.35);
}

/* Optional: slightly reduce tab text size for polish */
body.single-item.groups nav.main-navs.bp-navs.single-screen-navs.bb-single-main-nav ul li a{
  font-size: 14px;
  letter-spacing: .01em;
}
body.psn-group-forum-root a.btn-new-topic,
body.psn-group-forum-root a.button.full.btn-new-topic{
  display:none !important;
}
/* Group → Industry Discussions root: hide the All Discussions module completely */
body.psn-group-forum-root .bbp-forum-header,
body.psn-group-forum-root .bbp-topics,
body.psn-group-forum-root .bbp-pagination,
body.psn-group-forum-root .bbp-template-notice,
body.psn-group-forum-root .bbp-forum-info,
body.psn-group-forum-root .bbp-header,
body.psn-group-forum-root .bbp-footer{
  display: none !important;
}

/* BuddyBoss wrapper cards that still show the header/button */
body.psn-group-forum-root .bb-forums-content,
body.psn-group-forum-root .bb-forums-items,
body.psn-group-forum-root .bbp-breadcrumb,
body.psn-group-forum-root .bb-forums-header{
  /* don’t hide these globally; only if they are specifically the “All Discussions” card */
}
body.psn-group-forum-root a.btn-new-topic,
body.psn-group-forum-root a.button.full.btn-new-topic{
  display:none !important;
}
body.psn-group-forum-root a.btn-new-topic,
body.psn-group-forum-root a.button.full.btn-new-topic{
  display: none !important;
}
/* Remove the entire All Discussions module on the group forum root */
body.psn-group-forum-root .bbp-forum-header,
body.psn-group-forum-root .bbp-topics,
body.psn-group-forum-root .bbp-template-notice,
body.psn-group-forum-root .bbp-pagination{
  display: none !important;
}
/* Industry Discussions ROOT: hide the empty discussions panel */
body.psn-group-forum-root .bbp-template-notice,
body.psn-group-forum-root .bbp-pagination,
body.psn-group-forum-root .bbp-topics,
body.psn-group-forum-root .bbp-header,
body.psn-group-forum-root .bbp-footer{
  display: none !important;
}

/* If BuddyBoss wraps it in a card, collapse spacing */
body.psn-group-forum-root .bb-card{
  /* don't hide all cards; just tighten layout */
}
/* PSN: On Industry Discussions ROOT, hide the entire "All Discussions" card */
body.psn-group-forum-root .bbp-forums-listing,
body.psn-group-forum-root .bb-forums-listing,
body.psn-group-forum-root .bb-forums-items,
body.psn-group-forum-root .bb-forums-content{
  /* don't hide these; just here for context */
}

/* Hide the specific block that contains the "All Discussions" heading */
body.psn-group-forum-root h2:where(:not(.screen-reader-text)):where(:not(.bp-screen-reader-text)){
  /* no-op */
}

/* Practical: nuke the container that holds the "All Discussions" heading */
body.psn-group-forum-root h2:where(:not(.screen-reader-text)):where(:not(.bp-screen-reader-text)):is(:contains("All Discussions")){
  display:none !important;
}
/* Industry Discussions root (forum 723): hide the "All Discussions" module */
.bbp-forum-723 .bbp-topics,
.bbp-forum-723 .bbp-template-notice,
.bbp-forum-723 .bbp-pagination,
.bbp-forum-723 .bbp-header,
.bbp-forum-723 .bbp-footer,
.bbp-forum-723 a.btn-new-topic,
.bbp-forum-723 a.button.full.btn-new-topic{
  display: none !important;
}
/* Industry Discussions ROOT (forum 723): hide the "All Discussions" header + New discussion button */
ul#bbp-forum-723 > li.bs-header-item{
  display: none !important;
}

/* Also hide topic rows + empty notice rows if they appear in this UL */
ul#bbp-forum-723 > li:not(.bs-header-item){
  display: none !important;
}

/* Safety: make sure the UL itself doesn't leave extra spacing */
ul#bbp-forum-723{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Industry Discussions ROOT: tighten spacing now that All Discussions is gone */
body.psn-group-forum-root .bb-forums-content,
body.psn-group-forum-root .bb-forums-items{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Make "Sub Forums" heading feel intentional */
body.psn-group-forum-root h2.bs-section-title,
body.psn-group-forum-root .bs-section-title{
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 26px 0 14px !important;
}

/* Optional: soften the grid cards a touch */
body.psn-group-forum-root .bs-forums-items .bs-item-wrap{
  border-radius: 16px !important;
  overflow: hidden;
}
.psn-activity-welcome h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

.psn-activity-welcome p {
  opacity: .75;
  margin-bottom: 14px;
}
.psn-activity-welcome .button {
  transition: transform .15s ease, box-shadow .15s ease;
}

.psn-activity-welcome .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.psn-activity-welcome div[style*="display:flex"] {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  align-items: center;
}

.psn-activity-welcome .button {
  white-space: nowrap;
  flex: 0 0 auto;
}
/* Hide entire discussions module on Industry Discussions root */
body.psn-group-forum-root ul.bbp-topics1 {
  display: none !important;
}
/* Hide forum header box inside group forums tab */
body.groups.single-item #bbpress-forums > .bbp-forum-info,
body.groups.single-item #bbpress-forums > .bbp-forum-header {
    display: none !important;
}
/* Remove forum intro card (room name + description) 
   on Group → Industry Discussions tab */
body.groups.single-item #bbpress-forums > .bbp-forum-info,
body.groups.single-item #bbpress-forums > .bbp-forum-header,
body.groups.single-item #bbpress-forums .bbp-forum-content {
    display: none !important;
}
/* Remove forum intro card (room title + description)
   in ALL group forum tabs */
body.groups.single-item #bbpress-forums > .bbp-forum-info,
body.groups.single-item #bbpress-forums > .bbp-forum-header,
body.groups.single-item #bbpress-forums > .bb-card,
body.groups.single-item #bbpress-forums > .bs-item-wrap:first-child {
    display: none !important;
}
/* In group → Industry Discussions, hide the forum "card" rows (room name/desc),
   but keep the topic list */
body.groups.single-item ul.bbp-topics1.bs-forums-items li .bbp-forum-title,
body.groups.single-item ul.bbp-topics1.bs-forums-items li .bbp-forum-content,
body.groups.single-item ul.bbp-topics1.bs-forums-items li .bbp-forum-freshness,
body.groups.single-item ul.bbp-topics1.bs-forums-items li .bbp-forum-reply-count,
body.groups.single-item ul.bbp-topics1.bs-forums-items li .bbp-forum-topic-count {
  display: none !important;
}

/* If that leaves an empty “card”, hide the whole forum-row wrapper */
body.groups.single-item ul.bbp-topics1.bs-forums-items li.bbp-forum {
  display: none !important;
}
/* Hide any list item that is a forum row (has forum title), keep header + topics */
body.groups.single-item ul.bbp-topics1.bs-forums-items li.bs-item-wrap:not(.bs-header-item) {
  /* TEMP: enable this if the row is still there */
  /* display: none !important; */
}
/* Group → Industry Discussions: hide the first forum card row (room title/desc) */
body.groups.single-item ul.bbp-topics1.bs-forums-items > li.bs-item-wrap:not(.bs-header-item):first-of-type{
  display: none !important;
}
/* Same, but works even if the first child is something else */
body.groups.single-item ul.bbp-topics1.bs-forums-items > li.bs-item-wrap:not(.bs-header-item){
  display: none !important;
}
body.groups.single-item ul.bbp-topics1.bs-forums-items > li.bs-header-item{
  display: flex !important;
}
/* Hide the first forum card row anywhere this exact list structure appears */
ul.bbp-topics1.bs-forums-items > li.bs-item-wrap:not(.bs-header-item):first-of-type{
  display: none !important;
}
/* Bulletproof: keep the Industry Discussions SVG icon small everywhere */
.psn-icon{
  width: 14px !important;
  height: 14px !important;
  display: inline-block;
  flex: 0 0 14px;
  vertical-align: -2px;
}
/* -------------------------------------------------------
   BuddyBoss: prevent content hiding under BuddyPanel
   (without over-squishing the layout)
-------------------------------------------------------- */

:root{
  --psn-buddypanel-width: 280px; /* adjust if needed */
}

/* Desktop: reserve space for docked panel */
@media (min-width: 992px) {

  /* BuddyBoss body class is often one of these; we cover common variants */
  body.buddypanel-open #page,
  body.bb-buddypanel-open #page,
  body.buddypanel-open .site,
  body.bb-buddypanel-open .site {
    padding-left: var(--psn-buddypanel-width);
  }

  /* Safety: avoid accidental double-shift if theme already uses margin */
  body.buddypanel-open #page,
  body.bb-buddypanel-open #page {
    margin-left: 0 !important;
  }
}

/* Mobile/tablet: panel should overlay, so no reserved space */
@media (max-width: 991.98px) {
  body.buddypanel-open #page,
  body.bb-buddypanel-open #page,
  body.buddypanel-open .site,
  body.bb-buddypanel-open .site {
    padding-left: 0 !important;
  }
}
/* Home welcome card: hide only the action buttons row */
body.activity .psn-activity-welcome .button,
body.activity .psn-activity-welcome a.button,
body.activity .psn-activity-welcome .bb-button,
body.activity .psn-activity-welcome a.bb-button{
  display:none !important;
}

/* Tighten spacing after buttons are removed */
body.activity .psn-activity-welcome{
  padding-bottom: 8px;
}
/* Home activity composer spacing fix */
#whats-new,
textarea[name="whats-new"] {
  padding-left: 16px !important;
}
.psn-topic-tax-wrap {
  padding: 16px 20px;
}
/* Only hide header for specific forums */
#bbp-forum-723 > li.bs-header-item { display: none !important; }

/* Add the other forum ID once you grab it */
#bbp-forum-726 > li.bs-header-item { display: none !important; }

/* PSN: Hide BuddyBoss activity "title" display (keeps posting functional) */
.activity-list .bb-activity-title,
.activity-list .activity-content .bb-activity-title,
.activity-list .activity-content h1,
.activity-list .activity-content h2,
.activity-list .activity-content h3 {
  display: none !important;
}
body.login-action-rp #resetpassform .wp-generate-pw,
body.login-action-resetpass #resetpassform .wp-generate-pw{
  display: none !important;
}
/* Constrain onboarding content width for readability */
.psn-onboarding-content p,
.psn-onboarding-content ul,
.psn-onboarding-content h2{
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.psn-onboarding-next-step{
  max-width: 640px;
  margin: 60px auto 0;
  padding: 32px 28px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.psn-onboarding-next-step h3{
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.psn-onboarding-next-step p{
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0,0,0,.65);
  margin: 6px 0;
}

.psn-onboarding-next-step a{
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: #c5a35c;
  text-decoration: none;
}

.psn-onboarding-next-step a:hover{
  text-decoration: underline;
}
.psn-avatar-preview-success{
	display:flex;
	align-items:center;
	gap:20px;
	padding:18px;
	border-radius:12px;
	background:#eaf7ef;
	border:1px solid rgba(0,0,0,.05);
	margin-top:12px;
}

.psn-avatar-preview-success__image img{
	border-radius:50%;
	box-shadow:0 4px 14px rgba(0,0,0,.12);
}

.psn-avatar-preview-success__actions{
	display:flex;
	gap:10px;
	margin-top:8px;
	flex-wrap:wrap;
}
/* PSN: Who's Online widget — show Connections only */
#boss_whos_online_widget_heartbeat,
.bb-online-members-tabs a[href*="members"]{
  display: none !important;
}

/* Optional: if the tabs are not links, hide the first tab item */
.bb-online-members-tabs > *:first-child{
  display: none !important;
}
/* If heading becomes empty, remove its space */
h1:empty, h2:empty, h3:empty, h4:empty {
  display: none !important;
}
/* PSN: Hide "Organizers" section on Group Members tab (no :has) */
body.groups.members .group-organizers,
body.groups.members .organizers,
body.groups.members #group-organizers {
  display: none !important;
}

.psn-video-chat-button a.start-video-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.psn-video-chat-button a.start-video-chat i,
.psn-video-chat-button a.start-video-chat span {
    font-size: 20px;
    line-height: 1;
}

.psn-video-chat-button a.start-video-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.psn-video-icon {
    font-size: 20px;
    line-height: 1;
}
.psn-video-chat-button {
    display: flex !important;
}

.psn-video-chat-button a.start-video-chat {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.psn-video-icon {
    font-size: 20px;
    line-height: 1;
}
.psn-video-chat-button {
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    position: relative;
    z-index: 5;
}

.psn-video-chat-button a.start-video-chat {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    min-height: 56px;
    position: relative;
    z-index: 6;
    pointer-events: auto !important;
    cursor: pointer;
    text-decoration: none;
}

.psn-video-chat-button a.start-video-chat *,
.psn-video-chat-button .psn-video-icon {
    pointer-events: none;
}
.psn-video-icon {
    font-size: 18px;
    line-height: 1;
}
.psn-video-call-button i {
    color: #d4a94f;
}

/* Better Messages / BuddyBoss online presence dots */
.bp-messages-wrap .avatar .status,
.bp-messages-wrap .avatar .online,
.bp-messages-wrap .avatar .status-online,
.bp-messages-wrap .bb-user-status,
.bp-messages-wrap .bb-user-status.online,
.bp-messages-wrap .bm-user-online,
.bp-messages-wrap .bm-online,
.bp-messages-wrap [class*="online"],
.bp-messages-wrap [class*="status"] {
    background-color: none;
    border-color: #ffffff !important;
}

/* If the dot is an SVG circle */
.bp-messages-wrap svg circle,
.bp-messages-wrap .avatar svg circle {
    fill: #66B82E !important;
    stroke: none !important;
}

/* Better Messages: make message links clickable */
.bp-messages-wrap a[href],
.better-messages a[href],
.bp-messages-wrap .bm-message-content a,
.bp-messages-wrap .message-content a,
.bp-messages-wrap .bm-message-text a {
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: underline !important;
}

/* Make sure message text area does not block link clicks */
.bp-messages-wrap .bm-message-content,
.bp-messages-wrap .message-content,
.bp-messages-wrap .bm-message-text {
    pointer-events: auto !important;
}

/* ========================================
   PSN Read State — Mark Unread Toggle
======================================== */

.generic-button a.bp-like-button.has-like,
.generic-button a.bp-like-button.has-reaction,
.generic-button a.bp-like-button[data-pressed="1"],
.generic-button a.bp-like-button.psn-read-complete {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #b89b5e !important;
    font-weight: 600 !important;
    opacity: 0.95;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.generic-button a.bp-like-button.has-like i,
.generic-button a.bp-like-button.has-like svg,
.generic-button a.bp-like-button.has-like:before,
.generic-button a.bp-like-button.has-reaction i,
.generic-button a.bp-like-button.has-reaction svg,
.generic-button a.bp-like-button.has-reaction:before,
.generic-button a.bp-like-button[data-pressed="1"] i,
.generic-button a.bp-like-button[data-pressed="1"] svg,
.generic-button a.bp-like-button[data-pressed="1"]:before,
.generic-button a.bp-like-button.psn-read-complete i,
.generic-button a.bp-like-button.psn-read-complete svg,
.generic-button a.bp-like-button.psn-read-complete:before {
    color: #b89b5e !important;
    fill: #b89b5e !important;
    font-size: 20px !important;
}

.generic-button a.bp-like-button.has-like .like-count,
.generic-button a.bp-like-button.has-reaction .like-count,
.generic-button a.bp-like-button[data-pressed="1"] .like-count,
.generic-button a.bp-like-button.psn-read-complete .like-count {
    color: #b89b5e !important;
    font-weight: 600 !important;
    position: relative;
}

/* Remove checkmark */
.generic-button a.bp-like-button.has-like::after,
.generic-button a.bp-like-button.has-reaction::after,
.generic-button a.bp-like-button[data-pressed="1"]::after,
.generic-button a.bp-like-button.psn-read-complete::after {
    content: none !important;
}

/* ========================================
   Eye-Slash Effect for Read State
======================================== */

.generic-button a.bp-like-button.psn-read-complete {
    position: relative;
}

.generic-button a.bp-like-button.psn-read-complete svg,
.generic-button a.bp-like-button.psn-read-complete i {
    position: relative;
    z-index: 1;
}

/* Thin slash across eye icon only */
.generic-button a.bp-like-button.psn-read-complete .like-count::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: #b89b5e;
    border-radius: 999px;
    transform: rotate(-38deg);
    left: -30px;
    top: 42%;
    z-index: 2;
    opacity: 0.95;
}

/* ===============================
   PSN Saved Draft Indicator
================================= */

.psn-saved-draft-indicator {
    margin: 12px 0 0 112px;
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    color: #9a741e;
    opacity: .9;
    cursor: pointer;
    line-height: 1.4;
    user-select: none;
    transition: opacity .2s ease;
}

.psn-saved-draft-indicator:hover {
    opacity: 1;
}

.psn-saved-draft-indicator::before {
    content: "📝";
    margin-right: 6px;
}

/* =======================================================================
   PSN Profile Card — canonical sidebar layout (2026-08)
   Keep this final, narrowly scoped block as the card's cascade authority.
   ======================================================================= */

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card.bb-profile-card-polished {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 22px !important;
  box-sizing: border-box !important;
  color: #172235 !important;
  text-align: left !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-header {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 0 18px !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-avatar {
  width: 84px !important;
  min-width: 84px !important;
  margin: 0 !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-avatar img {
  display: block !important;
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  margin: 0 !important;
  border: 3px solid var(--psn-accent) !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-name {
  min-width: 0 !important;
  margin: 0 !important;
  color: #111827 !important;
  font-size: 20.5px !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-fields,
body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-column {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-column + .bb-profile-column {
  margin-top: 0 !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 10px 0 11px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-top: 1px solid rgba(23, 34, 53, 0.11) !important;
  background: transparent !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field:hover {
  transform: none !important;
  background: transparent !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field-name {
  display: block !important;
  width: 100% !important;
  margin: 0 0 3px !important;
  color: #7a5811 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  opacity: 1 !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field-name::after {
  content: "" !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-field-value {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #172235 !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 1.42 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  writing-mode: horizontal-tb !important;
  -webkit-line-clamp: unset !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card
.bb-profile-column:last-child .bb-profile-field:last-child .bb-profile-field-value {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-full-link {
  margin: 22px 0 0 !important;
  text-align: center !important;
}

body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-link {
  display: flex !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

@media (max-width: 480px) {
  body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card.bb-profile-card-polished {
    padding: 18px !important;
  }

  body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-header {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-avatar,
  body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-avatar img {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
  }

  body .widget.widget_bb_profile_card_widget_fullpolish .bb-custom-profile-card .bb-profile-name {
    font-size: 19px !important;
  }
}
