/* ============================================
   STATIC PAGES STYLES - Complete
   assets/css/static-pages.css
   Targets raw HTML from database
   ============================================ */

/* Main container */
.rni-static-content {
    background: white;
    border-radius: 16px;
    padding: 40px 45px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a2a3a;
    line-height: 1.6;
}

/* ===== HEADINGS ===== */
.rni-static-content h1 {
    font-weight: 700;
    font-size: 2.2rem;
    color: #1a2a3a;
    margin-bottom: 25px;
    margin-top: 0;
}

.rni-static-content h1 span {
    color: #c4302b;
}

.rni-static-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #c4302b;
}

.rni-static-content h2 i,
.rni-static-content h2 .fa,
.rni-static-content h2 .fas,
.rni-static-content h2 .far {
    color: #c4302b;
    margin-right: 8px;
}

.rni-static-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2a3a;
    margin-top: 25px;
    margin-bottom: 10px;
}

.rni-static-content h3 i,
.rni-static-content h3 .fa,
.rni-static-content h3 .fas,
.rni-static-content h3 .far {
    color: #c4302b;
    margin-right: 8px;
}

.rni-static-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2a3a;
    margin-top: 20px;
    margin-bottom: 8px;
}

/* ===== PARAGRAPHS ===== */
.rni-static-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 16px;
}

/* ===== LISTS ===== */
.rni-static-content ul {
    padding-left: 25px;
    margin-bottom: 16px;
    line-height: 1.8;
    color: #4a5568;
    list-style-type: disc;
}

.rni-static-content ol {
    padding-left: 25px;
    margin-bottom: 16px;
    line-height: 1.8;
    color: #4a5568;
    list-style-type: decimal;
}

.rni-static-content li {
    margin-bottom: 6px;
}

.rni-static-content li strong {
    color: #1a2a3a;
}

.rni-static-content ul ul,
.rni-static-content ol ol,
.rni-static-content ul ol,
.rni-static-content ol ul {
    margin-bottom: 6px;
    margin-top: 4px;
}

/* ===== LINKS ===== */
.rni-static-content a {
    color: #c4302b;
    text-decoration: none;
    transition: color 0.3s;
}

.rni-static-content a:hover {
    text-decoration: underline;
    color: #a82824;
}

/* ===== STRONG / BOLD ===== */
.rni-static-content strong {
    color: #1a2a3a;
    font-weight: 600;
}

/* ===== BLOCKQUOTES ===== */
.rni-static-content blockquote {
    border-left: 4px solid #c4302b;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
}

.rni-static-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
}

/* ===== TABLES ===== */
.rni-static-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.rni-static-content table th,
.rni-static-content table td {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.rni-static-content table th {
    background: #f8f9fa;
    font-weight: 600;
}

.rni-static-content table tr:nth-child(even) {
    background: #fafbfc;
}

/* ===== IMAGES ===== */
.rni-static-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
}

/* ===== CODE / PRE ===== */
.rni-static-content code {
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #c4302b;
}

.rni-static-content pre {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
}

.rni-static-content pre code {
    background: transparent;
    padding: 0;
    color: #1a2a3a;
}

/* ===== HORIZONTAL RULE ===== */
.rni-static-content hr {
    border: none;
    border-top: 2px solid #e9ecef;
    margin: 25px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .rni-static-content {
        padding: 20px;
    }
    
    .rni-static-content h1 {
        font-size: 1.6rem;
    }
    
    .rni-static-content h2 {
        font-size: 1.3rem;
    }
    
    .rni-static-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .rni-static-content {
        padding: 15px;
    }
    
    .rni-static-content h1 {
        font-size: 1.4rem;
    }
    
    .rni-static-content h2 {
        font-size: 1.1rem;
    }
    
    .rni-static-content ul,
    .rni-static-content ol {
        padding-left: 18px;
    }
}