    /* Scoped styling for Help & Rules Layout */
    .rules-hero {
        background: linear-gradient(rgba(0, 34, 35, 0.85), rgba(0, 55, 56, 0.9)), url("{% static 'main/img/Gemini_Generated_Image_v9w169v9w169v9w1 1.jpg' %}");
        background-size: cover;
        background-position: center;
        color: #ffffff;
        text-align: center;
        padding: 60px 20px;
    }

    .rules-hero h1 {
        font-size: 2.3rem;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .rules-hero p {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        opacity: 0.9;
    }

    /* Double Column Layout */
    .rules-wrapper {
        max-width: 1100px;
        margin: 50px auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 40px;
        align-items: start;
    }

    /* Sticky Right Sidebar Navigation (RTL) */
    .rules-sidebar {
        position: sticky;
        top: 100px; /* Adjusts based on your fixed navbar height */
        background: #ffffff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 34, 35, 0.04);
    }

    .rules-sidebar h3 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 1.1rem;
        color: #002223;
        border-bottom: 2px solid #FFFAF0;
        padding-bottom: 10px;
    }

    .sidebar-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sidebar-menu a {
        color: #555;
        text-decoration: none;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: color 0.2s;
    }

    .sidebar-menu a:hover {
        color: #003738;
        font-weight: 500;
    }

    .sidebar-svg {
        width: 18px;
        height: 18px;
        fill: #003738;
    }

    /* Left Content Panel */
    .rules-content {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .content-block {
        background: #ffffff;
        padding: 35px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 34, 35, 0.04);
        scroll-margin-top: 110px; /* Smooth scroll offset for fixed headers */
    }

    .content-block h2 {
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 1.5rem;
        color: #002223;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .content-block h2 .block-svg {
        width: 28px;
        height: 28px;
        fill: #003738;
    }

    .content-block p {
        color: #444;
        line-height: 1.8;
        font-size: 1rem;
        text-align: justify;
        margin-bottom: 15px;
    }

    .rules-list {
        padding-right: 20px; /* Padding for Right-to-Left lists */
        margin: 0;
    }

    .rules-list li {
        color: #555;
        line-height: 1.8;
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .rules-list li strong {
        color: #002223;
    }

    /* Warning Callout Box for specific technical print details */
    .callout-box {
        background-color: #fff3cd;
        border-right: 4px solid #856404; /* Right border for RTL layout */
        padding: 15px 20px;
        border-radius: 6px;
        margin-top: 20px;
    }

    .callout-box p {
        margin: 0;
        color: #856404;
        font-size: 0.95rem;
        font-weight: 500;
    }

    /* Responsive Mobile Breakpoints */
    @media (max-width: 850px) {
        .rules-wrapper {
            grid-template-columns: 1fr;
            gap: 30px;
            margin: 30px auto;
        }

        .rules-sidebar {
            position: relative;
            top: 0;
        }

        .content-block {
            padding: 25px;
        }
    }