/* style/community-forum.css */
.page-community-forum {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0F1D2F; /* A slightly lighter dark blue for main background */
}

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

.page-community-forum__container--center {
  text-align: center;
}

.page-community-forum__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-community-forum__section:nth-child(even) {
  background-color: #1A2E47; /* Primary color for alternating sections */
}

.page-community-forum__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-community-forum__section-subtitle {
  font-size: 1.2em;
  color: #B0B0B0; /* Slightly darker light grey for subtitles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-community-forum__keyword {
  color: #FFD700;
  font-weight: bold;
}

/* Hero Section */
.page-community-forum__hero-section {
  background: linear-gradient(135deg, #1A2E47, #0F1D2F);
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-community-forum__hero-description {
  font-size: 1.4em;
  color: #E0E0E0;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-community-forum__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-community-forum__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.page-community-forum__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
}

.page-community-forum__btn--primary {
  background-color: #FFD700;
  color: #1A2E47;
  margin: 10px;
}

.page-community-forum__btn--primary:hover {
  background-color: #E5C100;
  transform: translateY(-3px);
}

.page-community-forum__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin: 10px;
}

.page-community-forum__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2E47;
  transform: translateY(-3px);
}

.page-community-forum__cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Content Grid */
.page-community-forum__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-community-forum__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-community-forum__text-content {
  flex: 1;
  line-height: 1.8;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-community-forum__text-content p {
  margin-bottom: 15px;
}

.page-community-forum__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-community-forum__image-wrapper--full-width {
  flex: none;
  width: 100%;
  margin-top: 40px;
}

.page-community-forum__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Detail List (Forum Areas) */
.page-community-forum__detail-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 50px;
}

.page-community-forum__detail-item {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #1A2E47; /* Primary color for detail items */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-community-forum__detail-item--reverse {
  flex-direction: row-reverse;
}

.page-community-forum__detail-content {
  flex: 1;
}

.page-community-forum__detail-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-community-forum__detail-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-community-forum__detail-description {
  font-size: 1.05em;
  color: #E0E0E0;
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-community-forum__detail-image-wrapper {
  flex: 0 0 400px; /* Fixed width for detail images */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-community-forum__detail-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* How to Join Steps */
.page-community-forum__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-community-forum__step-item:hover {
  transform: translateY(-5px);
}

.page-community-forum__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #1A2E47;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-community-forum__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-community-forum__step-description {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.7;
}

.page-community-forum__step-description a {
  color: #FFD700;
  text-decoration: none;
}

.page-community-forum__step-description a:hover {
  text-decoration: underline;
}

/* Rules and Guidelines */
.page-community-forum__rules .page-community-forum__section-subtitle {
  margin-bottom: 30px;
}

.page-community-forum__list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-community-forum__list-item {
  background-color: #1A2E47;
  padding: 15px 25px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #E0E0E0;
  line-height: 1.6;
  position: relative;
  padding-left: 40px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-community-forum__list-item::before {
  content: '✔';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.page-community-forum__section-note {
  font-style: italic;
  text-align: center;
  color: #B0B0B0;
  margin-top: 20px;
}

/* FAQ Section */
.page-community-forum__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-community-forum__faq-item {
  background-color: #1A2E47;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-community-forum__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-community-forum__faq-answer {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.7;
}

.page-community-forum__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-community-forum__faq-answer a:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-community-forum__cta-final {
  background-color: #0F1D2F;
  padding: 80px 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-community-forum__hero-title {
    font-size: 2.8em;
  }

  .page-community-forum__hero-description {
    font-size: 1.2em;
  }

  .page-community-forum__section-title {
    font-size: 2em;
  }

  .page-community-forum__content-grid,
  .page-community-forum__detail-item,
  .page-community-forum__detail-item--reverse {
    flex-direction: column;
  }

  .page-community-forum__detail-image-wrapper {
    flex: none;
    width: 100%;
  }

  .page-community-forum__faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-community-forum__hero-title {
    font-size: 2.2em;
  }

  .page-community-forum__hero-description {
    font-size: 1.1em;
  }

  .page-community-forum__section {
    padding: 40px 0;
  }

  .page-community-forum__section-title {
    font-size: 1.8em;
  }

  .page-community-forum__section-subtitle {
    font-size: 1em;
  }

  .page-community-forum__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-community-forum__detail-image {
    height: 200px;
  }

  .page-community-forum__steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-community-forum__hero-title {
    font-size: 1.8em;
  }

  .page-community-forum__hero-description {
    font-size: 0.9em;
  }

  .page-community-forum__section-title {
    font-size: 1.5em;
  }

  .page-community-forum__cta-group {
    flex-direction: column;
  }

  .page-community-forum__btn {
    width: 90%;
    margin: 10px auto;
  }

  .page-community-forum__list-item {
    font-size: 0.95em;
    padding-left: 30px;
  }

  .page-community-forum__list-item::before {
    left: 10px;
    font-size: 1em;
  }
}