.elementor-kit-7{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#E8EAF0;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.site-header{background-color:#1A237E;padding-inline-end:0px;padding-inline-start:0px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ===== SOCIAL NETWORK STYLE ===== */

/* Header navbar */
.site-header { background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%) !important; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.site-header .site-title a, .site-header a, .site-header .menu-item a { color: #ffffff !important; font-weight: 600; }
.site-header .site-title { font-size: 22px !important; letter-spacing: 1px; }

/* Page layout - centrato con max-width */
.entry-content, #buddypress { max-width: 860px; margin: 0 auto; padding: 20px 15px; }

/* Titolo pagina */
#buddypress h2.bp-subhead, .entry-title { display: none; }

/* Publisher box - card stile social */
#buddypress #whats-new-form, #buddypress .activity-update-form { background: #ffffff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.15); padding: 20px; margin-bottom: 20px; border: none; }
#buddypress #whats-new { background: #f0f2f5; border: none; border-radius: 8px; padding: 12px 16px; font-size: 15px; color: #333; resize: none; }
#buddypress #whats-new:focus { background: #fff; outline: 2px solid #3949ab; }
#buddypress .activity-update-form #aw-whats-new-submit { background: linear-gradient(135deg, #1a237e, #3949ab); color: #fff; border: none; border-radius: 8px; padding: 10px 28px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; }
#buddypress .activity-update-form #aw-whats-new-submit:hover { background: linear-gradient(135deg, #3949ab, #1a237e); transform: translateY(-1px); }

/* Activity list - card per ogni post */
#buddypress #activity-stream li.activity-item { background: #ffffff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.12); margin-bottom: 16px; padding: 20px; border: none; transition: box-shadow 0.2s; }
#buddypress #activity-stream li.activity-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
#buddypress #activity-stream .activity-avatar img { border-radius: 50%; border: 3px solid #3949ab; }
#buddypress #activity-stream .activity-header a { color: #1a237e; font-weight: 700; }
#buddypress #activity-stream .activity-content .activity-inner p { font-size: 15px; line-height: 1.6; color: #333; }
#buddypress #activity-stream .activity-meta a { color: #3949ab; font-size: 13px; font-weight: 600; }

/* Search bar */
#buddypress #activity-filter-select, #buddypress #activity-search-form input { border-radius: 8px; border: 1px solid #ddd; padding: 8px 14px; background: #fff; }

/* Activity actions bar */
#buddypress .activity-list .activity-item .activity-meta { border-top: 1px solid #f0f2f5; margin-top: 12px; padding-top: 10px; }

/* Immagini nei post */
#buddypress #activity-stream .activity-content img { border-radius: 10px; margin-top: 10px; max-width: 100%; }

/* rtMedia upload button */
.rtmedia-uploader-button { background: #e8f0fe !important; color: #1a237e !important; border-radius: 8px !important; border: 1px solid #3949ab !important; font-weight: 600 !important; }

/* Body background */
body { background-color: #e8eaf0 !important; }

/* ===== LAYOUT A 3 COLONNE ===== */
/* Wrapper principale con sidebar */
#buddypress { max-width: 1200px !important; }

/* Sidebar BuddyPress */
#buddypress #sidebar { width: 250px; float: right; margin-left: 20px; }
#buddypress #sidebar .widget { background: #ffffff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.12); padding: 18px; margin-bottom: 16px; }
#buddypress #sidebar .widget-title { font-size: 15px; font-weight: 700; color: #1a237e; border-bottom: 2px solid #e8eaf0; padding-bottom: 10px; margin-bottom: 14px; }

/* Titolo pagina custom */
.site-main .page-title, h1.entry-title { display: none; }

/* Titolo header stile social */
#masthead .site-branding .site-title { font-size: 20px; font-weight: 800; color: #fff !important; text-transform: uppercase; letter-spacing: 2px; }

/* Sticky header */
#masthead { position: sticky; top: 0; z-index: 9999; }

/* Padding body per evitare salti */
body { padding-top: 0; }

/* Lista membri in sidebar BP widget */
#buddypress #members-list li, .widget_bp_core_members_widget li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f2f5; }
#buddypress #members-list li img, .widget_bp_core_members_widget li img { border-radius: 50%; width: 38px; height: 38px; border: 2px solid #3949ab; }
.widget_bp_core_members_widget .item-meta, .widget_bp_core_members_widget h4 { font-size: 13px; }
.widget_bp_core_members_widget h4 a { color: #1a237e; font-weight: 600; }

/* Groups widget */
.widget_bp_groups_widget li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f2f5; }
.widget_bp_groups_widget li img { border-radius: 8px; width: 38px; height: 38px; }
.widget_bp_groups_widget h4 a { color: #1a237e; font-weight: 600; font-size: 13px; }

/* Fix sidebar Membri - sfondo bianco */
.e-con-inner > .e-con:first-child, .e-flex.e-con-boxed .e-con:first-child { background-color: #ffffff !important; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.12); padding: 20px; }
.e-con-inner > .e-con:first-child h3 { color: #1a237e !important; font-size: 16px; font-weight: 700; border-bottom: 2px solid #e8eaf0; padding-bottom: 10px; margin-bottom: 15px; }

/* ===== LAYOUT 2 COLONNE: sidebar sinistra fissa + feed destra scrollabile ===== */

/* Contenitore principale a 2 colonne */
.social-main-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 20px;
  padding: 20px;
  min-height: calc(100vh - 80px);
}

/* Sidebar sinistra - sticky */
.social-main-wrap > .e-con:first-child {
  position: sticky !important;
  top: 80px;
  flex: 0 0 280px !important;
  width: 280px !important;
  max-width: 280px !important;
  align-self: flex-start !important;
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}

/* Colonna destra - feed scrollabile */
.social-main-wrap > .e-con:last-child {
  flex: 1 1 auto !important;
  min-width: 0;
  overflow-y: auto;
}/* End custom CSS */