.page-user-community-forum-rules {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Default text color for dark backgrounds */
  background-color: #1A2A4A; /* Main background color */
}

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

.page-user-community-forum-rules__hero-section {
  background: linear-gradient(135deg, #1A2A4A 0%, #3a507a 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: #FFFFFF;
}

.page-user-community-forum-rules__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

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

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

.page-user-community-forum-rules__subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-user-community-forum-rules__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2A4A;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-user-community-forum-rules__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-user-community-forum-rules__cta-button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-user-community-forum-rules__cta-button--small {
  padding: 12px 25px;
  font-size: 1em;
}

.page-user-community-forum-rules__content-section {
  padding: 60px 0;
  background-color: #1A2A4A;
  color: #E0E0E0;
}

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

.page-user-community-forum-rules__rule-category {
  background-color: #2A3B5B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-user-community-forum-rules__heading {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-user-community-forum-rules__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-user-community-forum-rules__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-user-community-forum-rules__list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-user-community-forum-rules__list li strong {
  color: #FFD700;
}

.page-user-community-forum-rules__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

.page-user-community-forum-rules__image--wide {
  width: 100%;
  object-fit: cover;
  height: 250px;
}

.page-user-community-forum-rules__call-to-action {
  text-align: center;
  background-color: #2A3B5B;
  padding: 50px 30px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-user-community-forum-rules__call-to-action .page-user-community-forum-rules__heading {
  color: #FFD700;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-user-community-forum-rules__call-to-action .page-user-community-forum-rules__paragraph {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #E0E0E0;
}

.page-user-community-forum-rules__additional-info {
  background-color: #1A2A4A;
  padding: 60px 0;
  text-align: center;
  color: #E0E0E0;
}

.page-user-community-forum-rules__additional-info .page-user-community-forum-rules__heading {
  color: #FFD700;
  margin-bottom: 25px;
}

.page-user-community-forum-rules__additional-info .page-user-community-forum-rules__paragraph {
  max-width: 900px;
  margin: 0 auto 20px;
}

.page-user-community-forum-rules__faq-section {
  background-color: #2A3B5B;
  padding: 60px 0;
  color: #E0E0E0;
}

.page-user-community-forum-rules__faq-section .page-user-community-forum-rules__heading {
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
}

.page-user-community-forum-rules__faq-item {
  background-color: #1A2A4A;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-user-community-forum-rules__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-user-community-forum-rules__faq-answer {
  font-size: 1.05em;
  line-height: 1.6;
  color: #E0E0E0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-user-community-forum-rules__grid {
    grid-template-columns: 1fr;
  }

  .page-user-community-forum-rules__hero-section,
  .page-user-community-forum-rules__content-section,
  .page-user-community-forum-rules__additional-info,
  .page-user-community-forum-rules__faq-section {
    padding: 40px 0;
  }

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

  .page-user-community-forum-rules__call-to-action .page-user-community-forum-rules__heading {
    font-size: 2em;
  }

  .page-user-community-forum-rules__cta-button--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}

@media (max-width: 480px) {
  .page-user-community-forum-rules__container {
    padding: 0 15px;
  }

  .page-user-community-forum-rules__heading {
    font-size: 1.5em;
  }

  .page-user-community-forum-rules__subtitle,
  .page-user-community-forum-rules__paragraph,
  .page-user-community-forum-rules__list li,
  .page-user-community-forum-rules__faq-question,
  .page-user-community-forum-rules__faq-answer {
    font-size: 0.95em;
  }

  .page-user-community-forum-rules__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-user-community-forum-rules__call-to-action .page-user-community-forum-rules__heading {
    font-size: 1.8em;
  }
}