/* ==========================================================================
   LIGHT MODE RULES & REGULATIONS DESIGN
   ========================================================================== */
   .rules-main-container {
    flex: 1;
    padding-top: 140px; 
    padding-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    
}

.rules-wrapper {
    max-width: 1200px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.rules-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
    width: 100%;
}

/* Clean White Container Cards */
.rules-card {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-header-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 16px;
}

.card-header-box i {
    font-size: 1.4rem;
}

.card-header-box .video-icon { color: #2563eb; }
.card-header-box .abstract-icon { color: #db2777; }

.card-header-box h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

/* 1. REMOVE flex properties from .rules-list */
.rules-list {
    padding-left: 20px;
    /* display: flex;  <-- DELETE OR COMMENT OUT */
    /* flex-direction: column; <-- DELETE OR COMMENT OUT */
    /* gap: 18px; <-- DELETE OR COMMENT OUT */
    color: black;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* 2. ADD margin to replace the flex "gap" you deleted above */
.rules-list > li {
    margin-bottom: 18px;
}

.rules-list li::marker {
    color: black;
    font-weight: 700;
}

.rules-list strong {
    color: #0f172a;
}

/* 3. ADD this completely new block to force the nested bullets to show */
.nested-bullets {
    list-style-type: disc !important; /* Forces the solid dot */
    margin-top: 10px;
    margin-left: 20px; /* Indents the sub-list */
}

.nested-bullets li {
    margin-bottom: 8px; /* Spacing between the bullet points */
}

/* Keep the ::marker color from overriding the sub-list bullets */
.nested-bullets li::marker {
    color: #334155; /* Matches your text color */
}

.rules-sub-badge-grid {
    display: grid;
    grid-template-columns: 1fr; /* Ini memaksa grid menjadi 1 baris ke bawah sahaja */
    gap: 10px;
    margin-top: 12px;
}

.badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.badge i {
    font-size: 0.6rem;
    color: #2563eb;
}

.rules-sub-list {
    list-style: none;
    padding-left: 5px;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr; /* Tukar kepada 1fr untuk satu baris ke bawah */
    gap: 8px;
}

.rules-sub-list li {
    font-size: 0.88rem;
    color: black;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.rules-sub-list li i {
    color: #db2777;
    font-size: 0.8rem;
}

/* Call to Action Box */
.download-box {
    margin-top: auto;
    padding-top: 30px;
    text-align: center;
}

.download-box p {
    font-size: 1rem;
    color: black;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    padding: 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-download + .btn-download {
    margin-top: 8px;
}

.btn-download:hover {
    background: #1d4ed8;
}

.card-header-box .participation-icon { color: #10b981; } /* Emerald Green */

@media (max-width: 992px) {
    .rules-grid { grid-template-columns: 1fr; gap: 24px; }
    .rules-card { height: auto; }
}

@media (max-width: 576px) {
    .rules-main-container { padding-top: 110px; padding-bottom: 50px; }
    .rules-title { font-size: 1.4rem; }
    .rules-card { padding: 24px 18px; }
    .rules-sub-badge-grid, .rules-sub-list { grid-template-columns: 1fr; }
}