/*
 Theme Name:   tnpscsm
 Author:       Examination Department
 Version:      3.2.8
*/

/* 1. RESET & CORE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background: #ffffff !important; 
    color: #1a1a1a; 
    font-family: 'Segoe UI', Arial, sans-serif; 
    overflow-x: hidden;
}

/* 2. THE NAVBAR (#00072D) - Now scrolls away */
.tn-navbar {
    background: #00072D !important;
    height: 60px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
    position: relative !important; /* Changed from sticky to relative to make it go up */
    z-index: 10000 !important;
}

.tn-logo a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    text-decoration: none !important;
}

.tn-nav-right { display: flex; align-items: center; gap: 15px; }

/* 3. ICONS (Small Search & Visible Menu) */
.tn-icon-btn { cursor: pointer; display: flex; align-items: center; background: none; border: none; }

.search-svg svg {
    width: 20px !important; 
    height: 20px !important;
    fill: #00d2ff !important; /* Brighter colorful hint for search */
}

.menu-svg svg {
    width: 26px !important;
    height: 26px !important;
    stroke: #ffffff !important; 
    stroke-width: 2 !important;
}

/* 4. THE DARK DROPDOWN MENU */
#tn-menu-wrapper {
    display: none;
    background: #00072D !important;
    width: 100% !important;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 9999;
}
#tn-menu-wrapper ul { list-style: none !important; padding: 0 !important; }
#tn-menu-wrapper li { border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
#tn-menu-wrapper li a {
    display: block !important;
    padding: 16px 20px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 15px;
}
#tn-menu-wrapper li a:active, 
#tn-menu-wrapper li a:hover { 
    background: #1a2a5a !important; 
}

/* 5. CONTENT & TYPOGRAPHY (16px / 1.3) */
.main-wrapper { width: 100%; max-width: 1100px; margin: 0 auto; }
article { padding: 25px 15px !important; }

.entry-content p {
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
    color: #1a1a1a;
}

/* 6. LINK STYLING (Color: #0080ae, No bold, No underline) */
.entry-content a {
    color: #0080ae !important; /* Your requested Blue */
    text-decoration: none !important;
    font-weight: 400 !important; /* Not bold */
}
.entry-content a:hover {
    text-decoration: underline !important; /* Better for student navigation */
}

/* 7. TABLE & MOBILE EDGE */
.wp-block-table { overflow-x: auto !important; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; border: 1px solid #ddd; }
th, td { border: 1px solid #ddd; padding: 10px; font-size: 15px; }

@media (max-width: 768px) {
    article { padding: 15px 6px !important; }
    .tn-logo a { font-size: 15px !important; }
}

/* 8. SEARCH OVERLAY */
#tn-search-overlay {
    display: none; position: fixed; top: 0; left: 0; 
    width: 100%; height: 100%; background: rgba(0,7,45,0.98); 
    z-index: 20000; padding: 100px 20px;
}
#tn-search-overlay input {
    width: 100%; max-width: 600px; margin: 0 auto; display: block;
    padding: 15px; border: none; font-size: 18px;
}
/* 10. DATE & AUTHORITY BAR STYLING */
.entry-meta {
    margin-bottom: 12px !important;
    padding-bottom: 5px;
    border-bottom: 1px solid #f2f2f2;
}

.user-date {
    font-size: 11px !important; /* Small as requested */
    color: #777777 !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Hide Published date from users but keep for SEO/Bots */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}