/*
Theme Name: BuddyX Instagram Child
Theme URI:  https://example.com/
Description: BuddyX child theme with Instagram-style UI for BuddyPress and Youzify
Author: Your Name
Template: buddyx
Version: 1.0
*/

@import url('../buddyx/style.css');

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fafafa;
}

.site-main, .site-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.bx-ig-stories {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 5;
}

.bx-ig-story {
  width: 72px;
  flex: 0 0 auto;
  text-align: center;
}

.bx-ig-story .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #d9534f;
  display: inline-block;
}

.bx-ig-story .name {
  font-size: 12px;
  margin-top: 6px;
  white-space: nowrap;
  width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bx-ig-post {
  background: #fff;
  margin: 12px auto;
  border: 1px solid #e6e6e6;
  max-width: 650px;
}

.bx-ig-post .post-header {
  display: flex;
  align-items: center;
  padding: 10px;
}

.bx-ig-post .post-header img.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.bx-ig-post .post-media {
  width: 100%;
  height: auto;
  background: #000;
}

.bx-ig-post .post-actions {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  gap: 12px;
}

.bx-ig-post .post-actions .like-btn {
  cursor: pointer;
  user-select: none;
}

.bx-ig-post .post-caption {
  padding: 0 10px 12px;
}

.bx-ig-post .likes-count {
  font-weight: 600;
  padding: 0 10px 8px;
}

.bx-ig-post .comments-list .c {
  padding: 6px 10px;
  border-top: 1px solid #f0f0f0;
}

.bx-ig-explore {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 1000px;
  margin: 12px auto;
}

.bx-ig-explore .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .site-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .bx-ig-post {
    width: 100vw;
    margin: 0 !important;
    border-radius: 0 !important;
    max-width: unset;
    box-sizing: border-box;
  }

  .bx-ig-post .post-header,
  .bx-ig-post .post-actions,
  .bx-ig-post .post-caption,
  .bx-ig-post .likes-count,
  .bx-ig-post .comments-list .c {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bx-ig-explore {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin: 6px;
  }
}

/* Scrollbar */
.bx-ig-stories::-webkit-scrollbar {
  height: 8px;
}
.bx-ig-stories::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.1);
  border-radius: 8px;
}
#wpis-stories-bar {
  display: none !important;
}
.youzify-profile-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.youzify-stat-item {
    font-weight: 600;
    color: #0073aa; /* Match your site theme */
}
.youzify-profile-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.youzify-profile-stats a {
    text-decoration: none;
    color: #0073aa; /* change to your brand color */
    font-weight: 600;
}

.youzify-profile-stats a:hover {
    text-decoration: underline;
}

