/* ==========================================================================
   DFSL Core Content Grid & Typography Engine (Elite Corporate Standard)
   ========================================================================== */

:root {
    --fsl-navy: #0c2340;
    --fsl-blue: #1d70b8;
    --fsl-gold: #d4af37;
    --text-main: #334155;      /* Slate gray dark text for premium readability */
    --text-headings: #1e293b;  /* Crisp dark blue slate for titles */
    --border-color: #e2e8f0;
    --font-primary: 'Roboto', 'Inter', system-ui, sans-serif;
}

/* Master Outer Shell Container */
.page-content {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    background: #ffffff;
    font-family: var(--font-primary);
}

.page-content .page-content-con {
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Base Headings Typography Configurations */
.page_heading {
    font-size: 2.2rem;
    color: var(--fsl-navy);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}
.page_heading.center { text-align: center; }
.page_heading.left { text-align: left; }

/* ==========================================================================
   Dynamic HTML Rich Text Content Area Wrapper Block
   ========================================================================== */
.page-content-desc {
    width: 100%;
    box-sizing: border-box;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.8; /* Fluid line spacing threshold for long document sheets */
    letter-spacing: 0.2px;
}

/* Headings tags coming directly from rich text editor engines */
.page-content-desc h1,
.page-content-desc h2,
.page-content-desc h3,
.page-content-desc h4,
.page-content-desc h5,
.page-content-desc h6 {
    color: var(--text-headings);
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.4;
    margin: 30px 0 15px 0;
    width: 100%;
    display: block;
}

.page-content-desc h1 { font-size: 1.85rem; border-bottom: 2px solid var(--border-color); padding-bottom: 8px; color: var(--fsl-navy); }
.page-content-desc h2 { font-size: 1.55rem; color: var(--fsl-blue); }
.page-content-desc h3 { font-size: 1.35rem; }
.page-content-desc h4 { font-size: 1.15rem; }

/* Standard Body paragraphs and elements */
.page-content-desc p {
    margin: 0 0 16px 0;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-content-desc span {
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

/* Links and inline accents protection rules */
.page-content-desc a {
    color: var(--fsl-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    border-bottom: 1px dashed var(--fsl-blue);
}

.page-content-desc a:hover {
    color: var(--fsl-navy);
    border-bottom-style: solid;
}

.page-content-desc strong, 
.page-content-desc b {
    color: #000000;
    font-weight: 700;
}

/* ==========================================================================
   Lists Engineering Framework (Clean Vectors, Reset capitalization bugs)
   ========================================================================== */
.page-content-desc ul,
.page-content-desc ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
    box-sizing: border-box;
}

.page-content-desc ul li,
.page-content-desc ol li {
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.7;
    text-transform: none !important; /* FIXED: Prevented bad capitalization loops */
}

/* Custom bullet styling for ordered / unordered list trees items */
.page-content-desc ul { list-style-type: disc; }
.page-content-desc ol { list-style-type: decimal; }

/* Nested Lists structures compliance mapping rules */
.page-content-desc ul li ul,
.page-content-desc ol li ol,
.page-content-desc ul li ol,
.page-content-desc ol li ul {
    margin: 8px 0;
    list-style-type: circle;
}

/* ==========================================================================
   Media Graphics & Content Grid Splits (Left/Right Configurations)
   ========================================================================== */
.page-content-desc figure {
    margin: 20px 0;
    box-sizing: border-box;
    width: 100%;
}

.page-content-desc img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.page-content-desc .size_50 {
    width: 50% !important;
    display: block;
    margin: 15px auto;
}

/* Advanced Grid Split layouts configuration models generated via columns code */
.content-split-row {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    align-items: flex-start;
}

.content-split-row .col-half {
    flex: 1;
    min-width: 0;
}

/* ==========================================================================
   🚨 NEW ADVANCED MODULE: Corporate Standard Dynamic Tables Engine
   ========================================================================== */
.page-content-desc table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 25px 0 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid var(--border-color) !important;
}

.page-content-desc table thead tr,
.page-content-desc table tr:first-child {
    background-color: var(--fsl-navy) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.page-content-desc table th,
.page-content-desc table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
}

/* Alternating zebra stripes backgrounds row mappings rules */
.page-content-desc table tr:nth-child(even) {
    background-color: #f8fafc !important;
}

.page-content-desc table tr:hover {
    background-color: #f1f5f9 !important; /* Soft highlight indicator rows focus tracking */
}

/* Blockquote highlight systems blueprints links */
.page-content-desc blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    background: #f8fafc;
    border-left: 4px solid var(--fsl-blue);
    border-radius: 4px;
    font-style: italic;
}

/* ==========================================================================
   Responsive Adaptability Engine Breakpoints overrides
   ========================================================================== */
@media screen and (max-width: 768px) {
    .page_heading { font-size: 1.75rem; }
    .page-content .page-content-con { padding: 25px 15px; }
    
    .content-split-row {
        flex-direction: column !important; /* Collapses dual column split templates to linear grids */
        gap: 20px;
    }
    
    .page-content-desc .size_50 {
        width: 100% !important; /* Expand imagery footprints safely on touch displays */
    }
    
    /* Enables clean horizontal swipe overflow streams wrapper rules for bulky tables layouts */
    .page-content-desc table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}