.page-community-forum {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-community-forum__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-community-forum__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-community-forum__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Accent color */
  border-radius: 2px;
}

.page-community-forum__section-description {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  margin-bottom: 60px;
}

.page-community-forum__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-community-forum__btn--primary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-community-forum__btn--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-community-forum__btn--secondary {
  background-color: #ffc107; /* Accent color */
  color: #333;
  border: 2px solid #ffc107;
}

.page-community-forum__btn--secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-community-forum__btn--link {
  color: #007bff;
  background: none;
  border: none;
  padding: 0;
  font-weight: bold;
}

.page-community-forum__btn--link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Hero Section */
.page-community-forum__hero {
  background: linear-gradient(135deg, #007bff 0%, #4da3ff 100%); /* Lighter variant of primary */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-community-forum__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.page-community-forum__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.page-community-forum__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f8ff;
}

.page-community-forum__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-community-forum__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 100%;
  overflow: hidden;
  opacity: 0.7;
  z-index: 0;
}

.page-community-forum__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Intro Section */
.page-community-forum__intro {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-community-forum__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-community-forum__intro-item {
  text-align: center;
  padding: 30px;
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-community-forum__intro-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-community-forum__intro-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(0, 123, 255, 0.3));
}

.page-community-forum__intro-item-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-community-forum__intro-item-text {
  font-size: 1.1em;
  color: #555;
}

/* Hot Topics Section */
.page-community-forum__hot-topics {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.page-community-forum__topic-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-community-forum__topic-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-community-forum__topic-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-community-forum__topic-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-community-forum__topic-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-community-forum__topic-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-community-forum__topic-title a {
  color: inherit;
  text-decoration: none;
}

.page-community-forum__topic-title a:hover {
  text-decoration: underline;
}

.page-community-forum__topic-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Section */
.page-community-forum__cta {
  background: linear-gradient(45deg, #007bff, #ffc107);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-community-forum__cta-content {
  max-width: 900px;
}

.page-community-forum__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 700;
}

.page-community-forum__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f8ff;
}

.page-community-forum__cta .page-community-forum__btn {
  margin: 0 10px;
}

/* FAQ Section */
.page-community-forum__faq {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-community-forum__faq-items {
  max-width: 900px;
  margin: 0 auto;
}

.page-community-forum__faq-item {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-community-forum__faq-question {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-community-forum__faq-answer {
  font-size: 1.1em;
  color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-community-forum__hero-title {
    font-size: 2.8em;
  }
  .page-community-forum__hero-subtitle {
    font-size: 1.3em;
  }
  .page-community-forum__hero-image-wrapper {
    width: 50%;
  }
  .page-community-forum__section-title {
    font-size: 2em;
  }
  .page-community-forum__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-community-forum__hero {
    padding: 80px 0;
    flex-direction: column-reverse;
  }
  .page-community-forum__hero-image-wrapper {
    position: relative;
    width: 80%;
    height: 250px;
    margin-bottom: 30px;
    opacity: 1;
  }
  .page-community-forum__hero-content {
    padding: 0 15px;
  }
  .page-community-forum__hero-title {
    font-size: 2.2em;
  }
  .page-community-forum__hero-subtitle {
    font-size: 1.1em;
  }
  .page-community-forum__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-community-forum__section-title {
    font-size: 1.8em;
  }
  .page-community-forum__cta-title {
    font-size: 2em;
  }
  .page-community-forum__cta .page-community-forum__btn {
    margin: 10px 0;
  }
  .page-community-forum__intro-grid, .page-community-forum__topic-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-community-forum__hero-title {
    font-size: 1.8em;
  }
  .page-community-forum__hero-subtitle {
    font-size: 1em;
  }
  .page-community-forum__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-community-forum__section-title {
    font-size: 1.6em;
  }
  .page-community-forum__cta-title {
    font-size: 1.8em;
  }
  .page-community-forum__intro-item-title {
    font-size: 1.5em;
  }
  .page-community-forum__topic-title {
    font-size: 1.3em;
  }
  .page-community-forum__faq-question {
    font-size: 1.2em;
  }
}