/*
Theme Name: PunjabiPosts Pro v48
Theme URI: https://punjabiposts.com
Author: Harpreet Gill
Description: A premium, ultra-fast, and lightweight theme optimized for Google Discover, AdSense, and Mobile.
Version: 48.0
Text Domain: punjabiposts-pro
*/

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.8);
    --container-width: 900px;
}

.dark-mode {
    --bg: #0f172a;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --card-bg: #1e293b;
    --glass: rgba(30, 41, 59, 0.8);
}

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

body {
    font-family: 'Outfit', 'Noto Sans Gurmukhi', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background 0.4s ease, color 0.4s ease;
}

header {
    position: fixed;
    top: 0; width: 100%; padding: 15px 5%;
    background: var(--glass);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 1000; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo { font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; }

.hero {
    padding: 140px 5% 80px;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent),
                radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.15), transparent);
    text-align: center;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 56px); font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #ec4899, #f59e0b);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

article {
    background: var(--card-bg); padding: 40px; border-radius: 24px;
    box-shadow: var(--shadow); margin-bottom: 40px;
}

.post-meta { display: flex; gap: 15px; font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.reading-time { background: rgba(99, 102, 241, 0.1); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-weight: 600; }

.post-title a { color: var(--text); text-decoration: none; transition: color 0.3s; }
.post-title a:hover { color: var(--primary); }

.featured-img { width: 100%; border-radius: 20px; margin-bottom: 25px; box-shadow: var(--shadow); }

.author-box {
    background: var(--glass); backdrop-filter: blur(10px);
    padding: 30px; border-radius: 24px; display: flex; gap: 20px;
    margin-top: 40px; align-items: center; box-shadow: var(--shadow);
}

.author-img {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: white; flex-shrink: 0;
}

footer { padding: 40px; text-align: center; background: var(--card-bg); margin-top: 60px; }
.visitor-counter { background: var(--bg); padding: 8px 15px; border-radius: 50px; display: inline-block; color: var(--primary); font-weight: 600; margin-top: 10px; }
