/* FOLLO BuddyPress Base Ownership Layer
 * Shared structural rules only. Page-specific styling lives in the other follo-*.css files.
 */
:root {
  --follo-bp-accent: #0f5fa8;
  --follo-bp-text: #1f2937;
  --follo-bp-muted: #6b7280;
  --follo-bp-line: #e5e7eb;
  --follo-bp-surface: #ffffff;
  --follo-bp-page: #f7f8fa;
  --follo-bp-radius: 12px;
}

body.buddypress #buddypress,
body.buddypress #buddypress * { box-sizing: border-box; }

body.buddypress #buddypress img { max-width: 100%; height: auto; }
body.buddypress #buddypress a { text-underline-offset: 2px; }
body.buddypress #buddypress input,
body.buddypress #buddypress select,
body.buddypress #buddypress textarea,
body.buddypress #buddypress button { font: inherit; }

/* Neutralize common legacy floats. Page files opt back in where needed. */
body.buddypress #buddypress .clear,
body.buddypress #buddypress .clearfix { clear: both; }

/* Keep Divi's sidebar from intruding on BuddyPress app screens. */
body.buddypress #main-content .container:before { display: none !important; }
body.buddypress #sidebar { display: none !important; }
body.buddypress #left-area { width: 100% !important; float: none !important; padding-right: 0 !important; }
