/*
 Theme Name: TNPSCSM Ultimate Pro
 Version: 1.0
 Description: 2026 SEO. Maximum Wide Edges (8px). Strict Font Hierarchy.
*/

/* 1. CORE RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background: #ffffff; 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    color: #333333; 
    line-height: 1.5; 
    font-size: 16px; /* Strict 16px for Paragraphs */
    -webkit-font-smoothing: antialiased;
}

/* 2. NAVIGATION (Header stays professional) */
.tn-navbar { background: #00072D; height: 60px; display: flex; align-items: center; padding: 0 15px; position: relative; z-index: 9999; }
.tn-logo a { color: #fff; font-weight: 700; font-size: 16px; text-decoration: none !important; }

#tn-menu-wrapper { background: #00072D; position: absolute; top: 60px; left: 0; width: 100%; z-index: 999; display: none; }
#tn-menu-wrapper ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
#tn-menu-wrapper li { list-style: none !important; border-bottom: 1px solid rgba(255,255,255,0.05); }
#tn-menu-wrapper li a { display: block; padding: 15px 20px; color: #00d2ff; text-decoration: none; font-size: 15px; }

/* 3. SEARCH */
.tn-search-inside { width: 100%; display: none; align-items: center; }
.tn-search-inside input { width: 100%; background: transparent; border: none; color: #fff; font-size: 16px; outline: none; padding: 10px 0; }

/* 4. THE MAXIMUM EDGE STRATEGY (8px Padding) */
/* This makes the content go as wide as possible on both Mobile and Desktop */
article { padding: 10px 0 !important; max-width: 950px; margin: auto; }

/* Strict 8px side padding for all text elements to maximize reading width */
article > p, article > h1, article > h2, article > h3, article > h4, article > ul, article > ol, 
.entry-meta-visible, .entry-header, .entry-content > p, .entry-content > h1, .entry-content > h2, 
.entry-content > h3, .entry-content > h4, .entry-content > ul, .entry-content > ol { 
    padding-left: 8px !important; 
    padding-right: 8px !important; 
}

/* 5. STRICT FONT SIZES (As requested) */
h1, .entry-title { color: #00072D !important; font-size: 20px !important; font-weight: 700 !important; margin: 10px 0 8px 0; line-height: 1.3; }
h2 { color: #00072D !important; font-size: 19px !important; font-weight: 700 !important; margin: 25px 0 12px 0; }
h3 { color: #00072D !important; font-size: 18px !important; font-weight: 600 !important; margin: 22px 0 10px 0; }
h4 { color: #00072D !important; font-size: 17px !important; font-weight: 600 !important; margin: 20px 0 10px 0; }
p, .entry-content p { font-size: 16px !important; margin-bottom: 20px !important; color: #333333; }

/* 6. LAST UPDATED (Perfect Left Alignment with Title) */
.entry-meta-visible { 
    font-size: 11px; 
    color: #888; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    font-weight: 600; 
    margin-bottom: 35px; /* Large gap before content starts */
    display: block;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 10px !important;
}

/* 7. TABLES (Full Width - 0px Edges) */
table { 
    width: 100% !important; 
    border-collapse: collapse !important; 
    margin: 30px 0 !important; 
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
table th, table td { border: 1px solid #eee !important; padding: 12px 6px !important; text-align: left; font-size: 14px; }
table th { background-color: #fcfcfc !important; color: #00072D !important; }

/* 8. LISTS (Optimized for Wide Screen) */
.entry-content ul { list-style-type: square !important; margin: 15px 0 20px 0 !important; padding-left: 28px !important; }
.entry-content ol { list-style-type: decimal !important; margin: 15px 0 20px 0 !important; padding-left: 28px !important; }
.entry-content li { margin-bottom: 10px !important; font-size: 16px; }

/* 9. LINKS */
.entry-content a, .footer-nav a { text-decoration: none !important; color: #0073aa !important; }
u, .entry-content u { text-decoration: underline !important; }

/* 10. FOOTER */
.site-footer { background: #fff; padding: 40px 8px; border-top: 1px solid #eee; text-align: center; width: 100%; }
.footer-para { font-size: 12px; color: #777; line-height: 1.5; margin-bottom: 20px; }
.footer-nav a { font-size: 11px; margin: 0 8px; font-weight: 500; }
.footer-social { display: flex; justify-content: center; gap: 20px; margin: 25px 0; }
.footer-social svg { width: 16px; height: 16px; fill: #00072D; }
.footer-copyright { font-size: 10px; color: #aaa; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f9f9f9; }

/* 11. PAGINATION (Full Width) */
.pagination { padding: 30px 8px; font-weight: 600; font-size: 14px; }

/* Desktop & Mobile both follow the 8px rule */
@media (max-width: 768px) {
    article > *:not(table) { padding-left: 8px !important; padding-right: 8px !important; }
    .entry-meta-visible, .entry-header { padding-left: 8px !important; padding-right: 8px !important; }
}