/*
Theme Name: Pubmatic Insider
Author: VisionForgeX
Description: NY Post Style News Theme
Version: 1.7
*/

:root { 
    --ny-red: #DD0000; 
    --ny-gold: #FFD700; 
    --ny-black: #000000;
}

/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background-color: #ffffff !important; 
    color: #000000 !important;
    overflow-x: hidden;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; color: inherit; transition: 0.2s; }

/* HEADER SECTION */
header { position: sticky; top: 0; z-index: 9999; background: #fff; width: 100%; }

.top-red { 
    background-color: var(--ny-red) !important; 
    height: 42px; 
    display: flex; 
    align-items: center; 
    color: #ffffff !important; 
    border-bottom: 3px solid #000; 
}

.logo { 
    font-family: "Arial Black", sans-serif; 
    font-size: 26px; 
    font-style: italic; 
    color: #ffffff !important; 
    letter-spacing: -1.5px; 
    text-transform: uppercase;
}
.logo span { font-weight: 100; opacity: 0.9; }

/* NAVIGATION BAR */
.cat-nav { background-color: #000000 !important; border-bottom: 1px solid #333; }
.cat-menu { 
    display: flex; 
    list-style: none; 
    padding: 10px 0; 
    justify-content: center; 
    gap: 25px; 
    margin: 0;
}
.cat-menu li a { 
    color: #ffffff !important; 
    font-size: 11px; 
    font-weight: 900; 
    text-transform: uppercase; 
}
.cat-menu li a:hover { color: var(--ny-gold) !important; }

/* SLIDE-OUT SIDEBAR */
#side-panel { 
    position: fixed; top: 0; left: -320px; width: 300px; height: 100%; 
    background: #ffffff !important; z-index: 10005; transition: 0.3s; 
    box-shadow: 5px 0 15px rgba(0,0,0,0.3); overflow-y: auto;
}
#side-panel.open { left: 0; }
#side-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.7); z-index: 10004; display: none; 
}

/* FOOTER STYLING */
footer { 
    background-color: #ffffff !important; 
    border-top: 5px solid #000; 
    padding: 50px 0 20px; 
    margin-top: 60px;
    color: #000 !important;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.foot-col h4 { 
    font-size: 12px; font-weight: 900; text-transform: uppercase; 
    border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; 
}
.foot-col ul { list-style: none; line-height: 2.2; font-size: 13px; font-weight: 700; }

@media (max-width: 800px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .cat-menu { justify-content: flex-start; overflow-x: auto; padding: 10px 15px; }
}