/* --- Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: #f0f2f5; color: #333; line-height: 1.6; }
a { text-decoration: none; color: #007bff; transition: 0.3s; }
a:hover { color: #0056b3; }
ul { list-style: none; }

/* --- Container --- */
.container {
    display: grid;
    grid-template-columns: 1fr 320px; /* ডেস্কটপে কন্টেন্ট এবং সাইডবার */
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 5px;
}

/* --- Header --- */
/* --- Header (Glassy / Gazzy Effect) --- */
.site-header {
    /* Glassmorphism Styles */
    background: rgba(255, 255, 255, 0.2); /* 80% স্বচ্ছ সাদা */
    backdrop-filter: blur(2px);          /* পেছনের কন্টেন্ট ব্লার/ঝাপসা করবে */
    -webkit-backdrop-filter: blur(2px);  /* সাফারির জন্য সাপোর্ট */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* গ্লাস বর্ডার */
    
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); /* হালকা শ্যাডো */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    
    color: #000000; /* লেখার রং কালো */
    /* x-offset | y-offset | blur-radius | color */
    text-shadow: 0px 0px 5px #ffffff, 0px 0px 20px #ffffff;
}

.site-header span {color: #3498DB;}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 26px; font-weight: bold; color: #007bff; letter-spacing: -0.5px; }

.logo img {
    /* x-offset | y-offset | blur | color */
    filter: drop-shadow(0px 0px 5px #ffffff) drop-shadow(0px 0px 10px #ffffff);
}

/* --- Hamburger Menu Button --- */
#menu-toggle { 
    display: none; 
    background: #f8f9fa; 
    border: 1px solid #ddd; 
    padding: 8px; 
    border-radius: 5px; 
    cursor: pointer; 
    flex-direction: column; 
    gap: 4px; 
}
#menu-toggle span { display: block; width: 22px; height: 3px; background: #333; border-radius: 2px; }

/* --- Content Area 
.content-area { min-width: 0; }
.post-card {
    background: #fff;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.post-thumb img { width: 100%; height: 250px; object-fit: cover; display: block; }
.post-content-area { padding: 20px; }
.post-content-area h2 a { color: #222; font-size: 1.4rem; font-weight: 700; }
.post-content-area p { color: #555; margin-top: 10px; font-size: 0.95rem; }
--- */

/* --- Pagination --- */
.pagination-container { margin: 30px 0; display: flex; justify-content: center; }
.pagination { display: flex; gap: 8px; }
.pagination li a, .pagination li span { 
    padding: 8px 16px; background: #fff; border: 1px solid #ddd; 
    border-radius: 5px; color: #333; 
}
.pagination li.active span { background: #007bff; color: #fff; border-color: #007bff; }

/* --- Mobile Specific Styles (Drawer System) --- */
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 1001; display: none;
    backdrop-filter: blur(2px);
}

@media (max-width: 992px) {
    .container { grid-template-columns: 1fr; }
    #menu-toggle { display: flex; }

    .sidebar {
        position: fixed;
        top: 0;
        right: -100%; /* শুরুতে বাইরে থাকবে */
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1002;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 30px 20px;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        overflow-y: auto;
    }

    /* মেনু চালু করার ক্লাস */
    .sidebar.active { right: 0; }
    .overlay.active { display: block; }

    .post-thumb img { height: 200px; }
}
