/*
Theme Name: CM Punjab Rehmat Card News
Author: Al Raza Services
Version: 4.0
*/

/* --- 1. Basic Reset & Fonts --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    background-color: #f4f7f9; 
    color: #333; 
    line-height: 1.6;
}

a { 
    text-decoration: none; 
    transition: 0.3s ease; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

img { 
    max-width: 100%; 
    height: auto; 
}

/* --- 2. Header Section --- */
.site-header { 
    background: #ffffff; 
    padding: 12px 0; 
    border-bottom: 1px solid #eee; 
}

.header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo-text-wrapper a { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.site-logo-img img { 
    max-width: 60px; 
    mix-blend-mode: multiply; 
}

.site-text-logo h1 { 
    font-size: 26px; 
    font-weight: 900; 
    color: #000; 
    margin: 0; 
    letter-spacing: -0.5px;
}

.site-text-logo h1 span { 
    color: #6a2a85; 
}

.header-right .search-icon { 
    font-size: 22px; 
    cursor: pointer; 
}

/* --- 3. Navigation (Purple Bar) --- */
.main-navigation { 
    background: #6a2a85; 
    border-bottom: 3px solid #551e6b; 
    position: relative; 
    z-index: 999;
}

/* Desktop Menu Styling */
.nav-menu { 
    list-style: none; 
    display: flex; 
    gap: 25px; 
    margin: 0; 
    padding: 0; 
}

.nav-menu li a { 
    display: block; 
    padding: 15px 0; 
    color: #ffffff !important; 
    font-weight: 700; 
    font-size: 13px; 
    text-transform: uppercase; 
}

.nav-menu li a:hover { 
    color: #f6d55c !important; 
}

/* --- 4. Fixed 3-Lines Mobile Menu Toggle --- */
.menu-toggle {
    display: none; /* Desktop par chhupa rahega */
    padding: 12px 0;
    cursor: pointer;
    align-items: center;
    gap: 12px;
}

/* Is se teeno lines ek ke upar ek aayengi */
.hamburger-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
}

.hamburger-box .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
}

.menu-label {
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
}

/* --- 5. Mobile Responsive View --- */
@media (max-width: 768px) {
    .site-header { padding: 10px 0; }
    .site-text-logo h1 { font-size: 18px; }
    .site-logo-img img { max-width: 45px; }

    .menu-toggle { 
        display: flex; /* Mobile par 3 lines show karein */
    }

    .nav-menu {
        display: none; /* Click se pehle menu hidden */
        flex-direction: column;
        background: #551e6b;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-menu.show { 
        display: flex !important; /* JS toggle ke baad show hoga */
    }

    .nav-menu li { 
        width: 100%; 
        border-bottom: 1px solid rgba(255,255,255,0.05); 
    }

    .nav-menu li a { 
        padding: 15px 25px; 
        font-size: 14px; 
    }
    
    .nav-menu li a:hover { 
        background: #6a2a85; 
        padding-left: 35px; 
    }
}

/* --- 6. Article & Content Styling --- */
.single-post-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.entry-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #444;
}

.entry-content h2 {
    color: #6a2a85;
    margin: 30px 0 15px;
    border-left: 5px solid #f6d55c;
    padding-left: 15px;
}

/* --- 7. Footer Styling --- */
.site-footer {
    background: #1a1a1a;
    padding: 50px 0 20px;
    margin-top: 60px;
}