/* style/user-community-rules.css */
.page-user-community-rules {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-user-community-rules__hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Adjusted for better contrast with text */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-user-community-rules__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff; /* Ensure high contrast */
    font-weight: bold;
}

.page-user-community-rules__hero-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #e0e0e0; /* Slightly lighter for readability */
}

.page-user-community-rules__cta-button {
    display: inline-block;
    background-color: #ffc107; /* Auxiliary color */
    color: #333; /* Dark text for high contrast */
    padding: 15px 30px;
    border-radius: 50px;
    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-rules__cta-button:hover {
    background-color: #e0a800; /* Darker yellow on hover */
    transform: translateY(-3px);
}

.page-user-community-rules__content-section {
    padding: 60px 0;
}

.page-user-community-rules__section-title {
    font-size: 2.2em;
    color: #0056b3; /* Darker blue for headings */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.page-user-community-rules__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ffc107;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-user-community-rules__rule-category {
    background-color: #ffffff;
    border-left: 5px solid #007bff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-user-community-rules__rule-heading {
    font-size: 1.8em;
    color: #007bff;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-user-community-rules__rule-category p {
    color: #555;
    font-size: 1.05em;
}

.page-user-community-rules__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-user-community-rules__list li {
    margin-bottom: 10px;
    color: #444;
    font-size: 1.05em;
}

.page-user-community-rules__list li strong {
    color: #0056b3;
}

.page-user-community-rules__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

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

.page-user-community-rules__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-user-community-rules__cta-button--primary {
    background-color: #007bff;
    color: #ffffff;
}

.page-user-community-rules__cta-button--primary:hover {
    background-color: #0056b3;
}

.page-user-community-rules__cta-button--secondary {
    background-color: #ffc107;
    color: #333;
}

.page-user-community-rules__cta-button--secondary:hover {
    background-color: #e0a800;
}

@media (max-width: 768px) {
    .page-user-community-rules__hero-title {
        font-size: 2em;
    }
    .page-user-community-rules__hero-subtitle {
        font-size: 1em;
    }
    .page-user-community-rules__section-title {
        font-size: 1.8em;
    }
    .page-user-community-rules__rule-heading {
        font-size: 1.5em;
    }
    .page-user-community-rules__rule-category {
        padding: 20px;
    }
    .page-user-community-rules__list {
        padding-left: 20px;
    }
    .page-user-community-rules__cta-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-user-community-rules__hero {
        padding: 60px 0;
    }
    .page-user-community-rules__hero-title {
        font-size: 1.6em;
    }
    .page-user-community-rules__section-title {
        font-size: 1.5em;
    }
    .page-user-community-rules__rule-heading {
        font-size: 1.3em;
    }
    .page-user-community-rules__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}