/* Regulation Page - Sidebar Layout */
.regulation-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    /* Top padding for fixed header */
    gap: 40px;
    position: relative;
}

/* Sidebar Styling */
.regulation-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: none;
    /* Mobile hidden by default, shown on desktop */
}

@media (min-width: 992px) {
    .regulation-sidebar {
        display: block;
    }
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    /* Offset from header */
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.sidebar-title {
    color: white;
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-red);
}

.chapter-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chapter-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.chapter-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding-left: 15px;
}

.chapter-link.active {
    background: linear-gradient(90deg, rgba(119, 3, 9, 0.3), transparent);
    color: white;
    border-left-color: var(--accent-red);
    font-weight: 600;
}

/* Main Content Styling */
.regulation-content {
    flex: 1;
    color: #e0e0e0;
}

.regulation-main-title {
    font-size: 3rem;
    font-family: var(--font-title);
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.regulation-intro {
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.chapter-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
    /* For smooth scroll offset */
}

.chapter-section h3 {
    color: white;
    font-family: var(--font-title);
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.chapter-section article {
    margin-bottom: 20px;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 6px;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
}

.article-num {
    color: var(--accent-red);
    font-weight: 700;
    margin-right: 8px;
}

.chapter-section ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style: none;
}

.chapter-section li {
    margin-bottom: 8px;
    color: #ccc;
    position: relative;
    padding-left: 15px;
}

.chapter-section li::before {
    content: "•";
    color: var(--accent-red);
    position: absolute;
    left: 0;
}

/* Alert Box */
.alert-box {
    background: rgba(30, 30, 35, 0.8);
    border: 1px solid rgba(119, 3, 9, 0.3);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
}

.alert-box i {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 15px;
}