/* style/user-community-rules.css */
.page-user-community-rules {
  --primary-color: #0A2239; /* Dark Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-color: #333333; /* Dark Grey for body text */
  --light-bg-color: #f8f8f8; /* Light background */
  --white-color: #ffffff; /* White */
  --border-color: #e0e0e0; /* Light border */
  --font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg-color);
}

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

.page-user-community-rules__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1A3F60 100%);
  color: var(--white-color);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-user-community-rules__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,pattern]');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-user-community-rules__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  position: relative;
  z-index: 1;
  font-weight: bold;
}

.page-user-community-rules__hero-subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 1;
  color: var(--white-color);
}

.page-user-community-rules__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-user-community-rules__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-user-community-rules__button--primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

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

.page-user-community-rules__button--secondary {
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
}

.page-user-community-rules__button--secondary:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.page-user-community-rules__content-section {
  padding: 60px 0;
  background-color: var(--white-color);
}

.page-user-community-rules__content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .page-user-community-rules__content-grid {
    grid-template-columns: 1fr;
  }
}

.page-user-community-rules__main-content h2,
.page-user-community-rules__main-content h3 {
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-user-community-rules__main-content h2 {
  font-size: 2em;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-user-community-rules__main-content h3 {
  font-size: 1.5em;
}

.page-user-community-rules__main-content p {
  margin-bottom: 15px;
  color: var(--text-color);
}

.page-user-community-rules__rule-card {
  background-color: var(--light-bg-color);
  border-left: 5px solid var(--secondary-color);
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-user-community-rules__rule-title {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-user-community-rules__rule-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-user-community-rules__rule-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.page-user-community-rules__main-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-user-community-rules__main-content ul li {
  margin-bottom: 8px;
  color: var(--text-color);
}

.page-user-community-rules__main-content strong {
  color: var(--primary-color);
}

.page-user-community-rules__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.page-user-community-rules__consequences-list {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-user-community-rules__consequences-list li {
  margin-bottom: 10px;
  color: var(--text-color);
}

.page-user-community-rules__faq-section {
  margin-top: 30px;
}

.page-user-community-rules__faq-item {
  background-color: var(--light-bg-color);
  border-radius: 5px;
  padding: 15px 20px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
}

.page-user-community-rules__faq-question {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-user-community-rules__faq-answer {
  color: var(--text-color);
  margin-bottom: 0;
}

.page-user-community-rules__sidebar {
  padding: 20px;
  background-color: var(--light-bg-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.page-user-community-rules__sidebar-card {
  margin-bottom: 30px;
  background-color: var(--white-color);
  padding: 20px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.page-user-community-rules__sidebar-title {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-user-community-rules__sidebar-card p {
  color: var(--text-color);
  margin-bottom: 20px;
}

.page-user-community-rules__button--sidebar {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 100%;
  box-sizing: border-box;
}

.page-user-community-rules__button--sidebar:hover {
  background-color: #e6c200;
}

.page-user-community-rules__sidebar-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 20px;
}

.page-user-community-rules__cta-bottom {
  background: linear-gradient(90deg, var(--primary-color) 0%, #1A3F60 100%);
  color: var(--white-color);
  padding: 60px 0;
  text-align: center;
}

.page-user-community-rules__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-user-community-rules__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: var(--white-color);
}

.page-user-community-rules__button--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-user-community-rules__hero-title {
    font-size: 2em;
  }

  .page-user-community-rules__hero-subtitle,
  .page-user-community-rules__cta-description {
    font-size: 1em;
  }

  .page-user-community-rules__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-user-community-rules__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-user-community-rules__content-section,
  .page-user-community-rules__cta-bottom {
    padding: 40px 0;
  }

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

  .page-user-community-rules__rule-title {
    font-size: 1.2em;
  }

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