/* style/community-forum-user-profile.css */
.page-community-forum-user-profile {
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #f8f8f8;
}

.page-community-forum-user-profile__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-community-forum-user-profile__hero-section {
  background: linear-gradient(135deg, #0A6847, #54957e);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-community-forum-user-profile__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for highlight */
  font-weight: bold;
}

.page-community-forum-user-profile__hero-subtitle {
  font-size: 1.3em;
  opacity: 0.9;
}

.page-community-forum-user-profile__profile-overview {
  padding: 50px 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-top: -40px; /* Overlap with hero section */
  position: relative;
  z-index: 1;
}

.page-community-forum-user-profile__profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}

.page-community-forum-user-profile__avatar-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.page-community-forum-user-profile__avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #0A6847;
  object-fit: cover;
}

.page-community-forum-user-profile__status-indicator {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid #fff;
  background-color: #28a745; /* Green for online */
}

.page-community-forum-user-profile__username {
  font-size: 2.5em;
  color: #0A6847;
  margin-bottom: 10px;
}

.page-community-forum-user-profile__member-info {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

.page-community-forum-user-profile__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-community-forum-user-profile__badge {
  background-color: #f0f0f0;
  color: #0A6847;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: bold;
  border: 1px solid #e0e0e0;
}

.page-community-forum-user-profile__badge.veteran {
  background-color: #FFD700;
  color: #6a4f00;
}

.page-community-forum-user-profile__badge.expert {
  background-color: #0A6847;
  color: #fff;
}

.page-community-forum-user-profile__badge.moderator {
  background-color: #FFD700;
  color: #0A6847;
  border-color: #0A6847;
}

.page-community-forum-user-profile__bio {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-community-forum-user-profile__actions {
  display: flex;
  gap: 15px;
}

.page-community-forum-user-profile__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-community-forum-user-profile__btn.primary-btn {
  background-color: #0A6847;
  color: #fff;
  border: 2px solid #0A6847;
}

.page-community-forum-user-profile__btn.primary-btn:hover {
  background-color: #074a33;
  border-color: #074a33;
}

.page-community-forum-user-profile__btn.secondary-btn {
  background-color: #fff;
  color: #0A6847;
  border: 2px solid #0A6847;
}

.page-community-forum-user-profile__btn.secondary-btn:hover {
  background-color: #f0f0f0;
  color: #074a33;
  border-color: #074a33;
}

.page-community-forum-user-profile__content-sections {
  padding: 50px 0;
  background-color: #f8f8f8;
}

.page-community-forum-user-profile__content-sections .page-community-forum-user-profile__container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.page-community-forum-user-profile__sidebar {
  flex: 0 0 280px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 30px;
  position: sticky;
  top: 100px; /* Adjust based on header height */
}

.page-community-forum-user-profile__profile-nav {
  margin-bottom: 40px;
}

.page-community-forum-user-profile__nav-title {
  font-size: 1.4em;
  color: #0A6847;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-community-forum-user-profile__profile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-community-forum-user-profile__profile-nav li {
  margin-bottom: 10px;
}

.page-community-forum-user-profile__profile-nav a {
  text-decoration: none;
  color: #555;
  font-size: 1.1em;
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-community-forum-user-profile__profile-nav a:hover,
.page-community-forum-user-profile__profile-nav a.active {
  background-color: #e6f2ed;
  color: #0A6847;
}

.page-community-forum-user-profile__cta-card {
  background-color: #0A6847;
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.page-community-forum-user-profile__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-community-forum-user-profile__cta-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-community-forum-user-profile__cta-text {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-community-forum-user-profile__btn.full-width {
  width: 100%;
}

.page-community-forum-user-profile__main-content {
  flex: 1;
}

.page-community-forum-user-profile__section {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 30px;
  margin-bottom: 30px;
}

.page-community-forum-user-profile__section-title {
  font-size: 2em;
  color: #0A6847;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-community-forum-user-profile__section-description {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.page-community-forum-user-profile__activity-list,
.page-community-forum-user-profile__post-list,
.page-community-forum-user-profile__comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-community-forum-user-profile__activity-list li,
.page-community-forum-user-profile__post-list li,
.page-community-forum-user-profile__comment-list li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.page-community-forum-user-profile__activity-list li:last-child,
.page-community-forum-user-profile__post-list li:last-child,
.page-community-forum-user-profile__comment-list li:last-child {
  border-bottom: none;
}

.page-community-forum-user-profile__activity-type {
  font-weight: bold;
  color: #0A6847;
  margin-right: 5px;
}

.page-community-forum-user-profile__activity-link,
.page-community-forum-user-profile__post-link,
.page-community-forum-user-profile__link {
  color: #0A6847;
  text-decoration: none;
  font-weight: bold;
}

.page-community-forum-user-profile__activity-link:hover,
.page-community-forum-user-profile__post-link:hover,
.page-community-forum-user-profile__link:hover {
  text-decoration: underline;
  color: #074a33;
}

.page-community-forum-user-profile__activity-time {
  font-size: 0.9em;
  color: #999;
  margin-left: 10px;
}

.page-community-forum-user-profile__post-meta,
.page-community-forum-user-profile__comment-meta {
  display: block;
  font-size: 0.9em;
  color: #777;
  margin-top: 5px;
}

.page-community-forum-user-profile__comment-text {
  margin-bottom: 5px;
  line-height: 1.6;
  color: #444;
}

.page-community-forum-user-profile__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.page-community-forum-user-profile__stat-item {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #eee;
}

.page-community-forum-user-profile__stat-value {
  font-size: 2.5em;
  font-weight: bold;
  color: #0A6847;
  display: block;
  margin-bottom: 5px;
}

.page-community-forum-user-profile__stat-label {
  font-size: 1em;
  color: #666;
}

.page-community-forum-user-profile__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  color: #444;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-community-forum-user-profile__section.call-to-action {
  text-align: center;
  background-color: #e6f2ed; /* Lighter green variant */
  border: 1px solid #0A6847;
  padding: 40px;
}

.page-community-forum-user-profile__section.call-to-action .page-community-forum-user-profile__section-title {
  color: #0A6847;
  border-bottom: none;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-community-forum-user-profile__btn.large-btn {
  padding: 15px 35px;
  font-size: 1.2em;
  margin-top: 20px;
}

.page-community-forum-user-profile__link {
  font-weight: bold;
  color: #0A6847;
}

.page-community-forum-user-profile__link:hover {
  text-decoration: underline;
}

.page-community-forum-user-profile .highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-community-forum-user-profile__content-sections .page-community-forum-user-profile__container {
    flex-direction: column;
  }

  .page-community-forum-user-profile__sidebar {
    flex: none;
    width: 100%;
    position: static;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-community-forum-user-profile__hero-title {
    font-size: 2.5em;
  }

  .page-community-forum-user-profile__hero-subtitle {
    font-size: 1.1em;
  }

  .page-community-forum-user-profile__username {
    font-size: 2em;
  }

  .page-community-forum-user-profile__actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-community-forum-user-profile__btn {
    width: 100%;
  }

  .page-community-forum-user-profile__stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-community-forum-user-profile__hero-title {
    font-size: 2em;
  }

  .page-community-forum-user-profile__avatar {
    width: 120px;
    height: 120px;
  }

  .page-community-forum-user-profile__badge {
    font-size: 0.8em;
    padding: 6px 12px;
  }

  .page-community-forum-user-profile__section-title {
    font-size: 1.8em;
  }

  .page-community-forum-user-profile__section.call-to-action .page-community-forum-user-profile__section-title {
    font-size: 2em;
  }

  .page-community-forum-user-profile__btn.large-btn {
    font-size: 1em;
    padding: 12px 25px;
  }
}