/*
Theme Name: BusTak Theme
Theme URI: https://bustak.com
Author: BusTak
Description: Professional Responsive News Portal Theme for BusTak.com with AI Voice and Gemini Rewriter Support.
Version: 3.5.0
*/

:root {
    --pk-red: #d32f2f;
    --pk-dark: #121212;
    --pk-gray: #f4f4f4;
    --border: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--pk-gray);
    color: #222;
    line-height: 1.6;
}

/* Header & Top Bar */
.site-header {
    background: #fff;
    border-bottom: 3px solid var(--pk-red);
}

.top-bar {
    background: var(--pk-dark);
    color: #fff;
    padding: 6px 20px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

.main-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 32px;
    font-weight: 900;
    color: var(--pk-red);
    text-decoration: none;
}

.logo-text span { color: #000; }

.main-nav-bar {
    background: var(--pk-red);
}

.main-nav-bar ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
}

.main-nav-bar ul li a {
    color: #fff;
    padding: 10px 18px;
    display: block;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

/* Desktop Grid Layout */
.desktop-container {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 20px;
    padding: 0 15px;
}

.single-post-card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.post-title-main {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.featured-img-main {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* AI Female Voice Box */
.ai-audio-box {
    background: #fff0f0;
    border: 1px solid #ffcdd2;
    padding: 10px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}

.ai-audio-btn {
    background: var(--pk-red);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Sidebar */
.sidebar-box {
    background: #fff;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.sidebar-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--pk-red);
    border-bottom: 2px solid var(--pk-red);
    padding-bottom: 5px;
    margin-bottom: 12px;
}

/* Mobile Fixed Bottom Nav */
.mobile-bottom-nav {
    display: none;
}

/* Mobile Responsive Fixes */
@media screen and (max-width: 768px) {
    body {
        padding-bottom: 65px;
    }
    
    .top-bar, .main-nav-bar {
        display: none;
    }

    .mobile-scroll-menu {
        display: flex !important;
        background: #fff;
        border-bottom: 2px solid var(--pk-red);
        overflow-x: auto;
        white-space: nowrap;
    }

    .mobile-scroll-menu ul {
        display: flex;
        list-style: none;
    }

    .mobile-scroll-menu ul li a {
        display: block;
        padding: 10px 14px;
        color: #333;
        font-weight: 700;
        text-decoration: none;
        font-size: 14px;
    }

    .desktop-container {
        grid-template-columns: 1fr;
        padding: 10px;
        margin: 10px auto;
    }

    .single-post-card {
        padding: 12px;
    }

    .post-title-main {
        font-size: 20px;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid var(--border);
        justify-content: space-around;
        padding: 8px 0;
        z-index: 9999;
    }

    .nav-item-m {
        text-align: center;
        color: #555;
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
    }

    .nav-item-m.active {
        color: var(--pk-red);
    }
}