/*
Theme Name: TNPSCSM Master 2026
Template: generatepress
Description: Max Edge + 55px Ultra-Nav + 2026 Touch Logic
Version: 2.2.0
Author: TNPSCSM Board
*/

/* ============================================================
   1. MAXIMUM EDGE RESET
============================================================ */
html, body { 
    margin: 0 !important; padding: 0 !important; 
    width: 100% !important; max-width: 100% !important;
    overflow-x: hidden; background: #fcfcfc; 
}
.grid-container { max-width: 100% !important; padding: 0 !important; }
#page { margin: 0 !important; width: 100% !important; }
.site-content { display: block !important; padding: 0 !important; width: 100% !important; }
.inside-article { padding: 15px !important; box-sizing: border-box; }

/* ============================================================
   2. 55px DARK BLUE NAVBAR (PERFECT ALIGNMENT)
============================================================ */
.tn-navbar { 
    width: 100% !important; 
    height: 55px !important; 
    background: #00072D !important;
    position: sticky; 
    top: 0; 
    z-index: 9999; 
    display: flex; 
    align-items: center; 
    box-sizing: border-box;
}

/* Logo Alignment */
.tn-logo { display: flex; align-items: center; height: 100%; }
.tn-logo a { 
    color: #ffffff !important; 
    font-size: 17px; 
    font-weight: 700; 
    text-decoration: none !important; 
    white-space: nowrap;
}

/* Icons Container */
.tn-icons { display: flex; align-items: center; gap: 10px; height: 100%; }

/* ============================================================
   3. MOBILE MENU DROPDOWN (2026 APP STYLE)
============================================================ */
#tn-menu-wrapper { 
    background: #00072D; 
    border-top: 1px solid #1a224d; 
    position: absolute; 
    top: 55px; 
    left: 0; 
    width: 100%; 
    display: none; 
    z-index: 998; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
#tn-menu-wrapper ul { list-style: none; padding: 0; margin: 0; }
#tn-menu-wrapper li a { 
    display: block; 
    padding: 16px 20px; 
    color: #fff !important; 
    text-decoration: none; 
    border-bottom: 1px solid #1a224d; 
    font-size: 15px;
}

/* ============================================================
   4. 2026 TOUCH URLs
============================================================ */
.entry-content a { color: #1a0dab !important; text-decoration: underline !important; }
.entry-content a:active { color: #0288d1 !important; background: #e1f5fe !important; border-radius: 3px; transition: 0s !important; }

/* ============================================================
   4. A TO Z HEADING LOGIC (MASTER SEO SIZES)
============================================================ */
h1 { font-size: 20px !important; font-weight: 700; color: #000; line-height: 1.3; margin: 10px 0 !important; }
h2 { font-size: 19px !important; font-weight: 600; color: #000; line-height: 1.3; margin: 15px 0 !important; }
h3 { font-size: 18px !important; font-weight: 700; color: #000; margin: 12px 0 !important; }
h4 { font-size: 17px !important; font-weight: 600; color: #000; margin: 10px 0 !important; }

p { font-size: 16px; line-height: 1.6; color: #222; margin-bottom: 15px; }

/* List Logic */
.entry-content ul, .entry-content ol { margin: 20px 0 20px 25px !important; }
.entry-content li { margin-bottom: 8px; }

/* ============================================================
   5. SINGLE LINE META (NO BORDER - 2026 SAFE)
   - Guaranteed horizontal on all screens
============================================================ */
.entry-meta-visible { 
    display: block !important; 
    color: #666 !important; 
    font-size: 13px !important; 
    margin: 0 0 15px 0 !important; 
    padding: 0 !important;
    border: none !important; 
    line-height: 1.4 !important;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   6. CENTERED FOOTER (NO BOLD LOGIC)
============================================================ */
.footer-wrap { text-align: center !important; width: 100% !important; padding: 40px 15px !important; box-sizing: border-box; }
.footer-nav a { font-weight: 400 !important; color: #005a87; text-decoration: none; padding: 5px; }
.footer-copyright { font-weight: 400 !important; color: #000; font-size: 14px; }

/* Image & Table Safety */
img { max-width: 100%; height: auto; content-visibility: auto; border-radius: 4px; }
.entry-content table { width: 100% !important; display: block !important; overflow-x: auto !important; border-collapse: collapse; margin: 20px 0; }
table td { border: 1px solid #ddd; padding: 10px; }