/* =========================================
   Global Styles
========================================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* =========================================
   Chapter Content Styling
========================================= */

.chapter-content img {
    max-width: 100%;
    height: auto;
}

.chapter-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.chapter-content table,
.chapter-content th,
.chapter-content td {
    border: 1px solid #dee2e6;
}

.chapter-content th,
.chapter-content td {
    padding: 0.75rem;
}


/* =========================================
   Blog Custom Styles
========================================= */

.chapter-title {
    font-size: 26px;
    font-weight: bold;
    color: #8e248c;
    margin-bottom: 15px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #dc3545;
    margin-top: 20px;
}

.content-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.question {
    font-weight: 600;
    margin-top: 10px;
    color: #8e248c;
}

.answer {
    margin-left: 15px;
    color: #333;
}


/* =========================================
   Custom Color Utilities (Safe with Bootstrap)
========================================= */

.text-purple { color: #8e248c; }
.text-orange { color: #fd7e14; }

.bg-purple { 
    background-color: #8e248c; 
    color: white; 
}

.bg-yellow { background-color: #fff3cd; }
.bg-green { background-color: #d4edda; }
.bg-red { background-color: #f8d7da; }


/* =========================================
   Extra Font Sizes
========================================= */

.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.fs-28 { font-size: 28px; }