/*
Theme Name: PaiseWala
Theme URI: https://paisewala.smartwithyash.com/
Author: PaiseWala Team
Description: AdSense-ready Hindi blogging theme for "Paise Kaise Kamaye" niche
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: paisewala
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f8f6f0; color: #1a1a1a; font-size: 16px; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAVIGATION ===== */
#masthead { background: #0f4c35; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 58px; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.site-branding a { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.site-branding span { color: #4cda8f; }
#site-navigation ul { list-style: none; display: flex; gap: 20px; }
#site-navigation ul li a { color: #cde9da; font-size: 13px; font-weight: 500; transition: color 0.2s; }
#site-navigation ul li a:hover { color: #4cda8f; }
.nav-cta { background: #4cda8f !important; color: #0a2e1f !important; padding: 7px 16px !important; border-radius: 20px !important; font-weight: 700 !important; }

/* ===== HERO (front page only) ===== */
.hero-section { background: #0f4c35; color: #fff; text-align: center; padding: 64px 24px 52px; }
.hero-badge { display: inline-block; background: rgba(76,218,143,0.2); border: 1px solid rgba(76,218,143,0.4); color: #4cda8f; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 20px; margin-bottom: 18px; letter-spacing: 0.5px; }
.hero-section h1 { font-size: 38px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.hero-section h1 em { color: #4cda8f; font-style: normal; }
.hero-section p { font-size: 16px; color: #a8d8bc; max-width: 500px; margin: 0 auto 28px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: #4cda8f; color: #0a2e1f; padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.btn-secondary { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.btn-primary:hover { background: #3cc87e; }
.btn-secondary:hover { border-color: rgba(255,255,255,0.7); }

/* ===== STATS BAR ===== */
.stats-bar { background: #fff; border-bottom: 1px solid #e8e4da; padding: 18px 24px; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.stat-num { font-size: 22px; font-weight: 800; color: #0f4c35; }
.stat-label { font-size: 11px; color: #888; margin-top: 2px; text-align: center; }

/* ===== AD ZONES ===== */
.ad-banner { background: #fff; border: 2px dashed #d4cfc2; border-radius: 8px; text-align: center; padding: 16px 12px; margin: 20px auto; max-width: 740px; color: #bbb; font-size: 12px; }
.ad-banner strong { display: block; font-size: 10px; color: #ccc; margin-bottom: 6px; letter-spacing: 0.5px; text-transform: uppercase; }
.ad-inline { background: #fff8ee; border: 1px solid #f0d9a0; border-radius: 8px; padding: 14px; text-align: center; margin: 24px 0; }
.ad-inline small { display: block; font-size: 10px; color: #bbb; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.ad-inline-box { background: #fff; border: 1.5px dashed #d4bd7a; border-radius: 6px; padding: 20px; color: #c8a84a; font-size: 13px; }

/* ===== MAIN LAYOUT ===== */
.site-content { max-width: 1020px; margin: 28px auto; padding: 0 16px; display: grid; grid-template-columns: 1fr 300px; gap: 28px; }
@media(max-width: 768px) { .site-content { grid-template-columns: 1fr; } #secondary { display: none; } }

/* ===== SECTION LABELS ===== */
.section-label { font-size: 11px; font-weight: 700; color: #4cda8f; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.section-heading { font-size: 19px; font-weight: 700; color: #0f4c35; margin-bottom: 18px; border-left: 3px solid #4cda8f; padding-left: 12px; }

/* ===== FEATURED POST ===== */
.featured-post { background: #fff; border-radius: 12px; border: 1px solid #eae6dc; overflow: hidden; margin-bottom: 24px; }
.featured-img { background: linear-gradient(135deg, #1a6b4a, #4cda8f); height: 160px; display: flex; align-items: center; justify-content: center; font-size: 64px; }
.featured-body { padding: 20px; }
.article-tag { font-size: 10px; font-weight: 700; color: #0f4c35; background: #e1f5ea; padding: 3px 10px; border-radius: 10px; display: inline-block; margin-bottom: 8px; text-transform: uppercase; }
.featured-body h2 { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.featured-body p { font-size: 14px; color: #666; line-height: 1.65; }
.read-btn { display: inline-block; margin-top: 14px; background: #0f4c35; color: #fff; padding: 9px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.read-btn:hover { background: #1a6b4a; }

/* ===== ARTICLES GRID ===== */
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
@media(max-width: 540px) { .articles-grid { grid-template-columns: 1fr; } }
.article-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #eae6dc; transition: box-shadow 0.2s, transform 0.2s; }
.article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); transform: translateY(-2px); }
.card-img { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.card-body { padding: 14px; }
.card-body h3 { font-size: 14px; font-weight: 700; line-height: 1.45; color: #1a1a1a; margin: 6px 0 6px; }
.card-body p { font-size: 12px; color: #777; line-height: 1.5; }
.card-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: #aaa; }

/* ===== TRENDING ===== */
.trending-box { background: #fff; border-radius: 10px; border: 1px solid #eae6dc; padding: 18px; margin-bottom: 22px; }
.trending-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.trend-pill { background: #f0faf5; border: 1px solid #b4ddc5; color: #0f4c35; font-size: 12px; padding: 6px 14px; border-radius: 16px; font-weight: 500; transition: background 0.2s; }
.trend-pill:hover { background: #d1f0e0; }

/* ===== SIDEBAR ===== */
.widget { background: #fff; border-radius: 10px; border: 1px solid #eae6dc; padding: 18px; margin-bottom: 18px; }
.widget-title { font-size: 13px; font-weight: 700; color: #0f4c35; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid #e1f5ea; }
.sidebar-ad { border: 2px dashed #d4cfc2; border-radius: 10px; padding: 18px; text-align: center; color: #bbb; font-size: 12px; height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-bottom: 18px; }
.sidebar-ad span { font-size: 10px; color: #ccc; }

/* ===== QUICK EARN WIDGET ===== */
.earn-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f0ece2; }
.earn-item:last-child { border-bottom: none; }
.earn-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.earn-info strong { font-size: 13px; font-weight: 700; display: block; }
.earn-info span { font-size: 11px; color: #4cda8f; font-weight: 600; }

/* ===== NEWSLETTER ===== */
.newsletter-widget { background: #0f4c35 !important; border: none !important; }
.newsletter-widget .widget-title { color: #4cda8f !important; border-bottom-color: rgba(76,218,143,0.3) !important; }
.newsletter-widget p { font-size: 12px; color: #a8d8bc; margin-bottom: 12px; }
.nl-input { width: 100%; padding: 9px 12px; border-radius: 6px; border: none; font-size: 13px; margin-bottom: 9px; outline: none; }
.nl-btn { width: 100%; background: #4cda8f; color: #0a2e1f; border: none; padding: 9px; border-radius: 6px; font-weight: 700; font-size: 13px; cursor: pointer; }
.nl-btn:hover { background: #3cc87e; }

/* ===== SINGLE POST ===== */
.single-post-header { background: #0f4c35; color: #fff; padding: 40px 24px 32px; text-align: center; }
.single-post-header h1 { font-size: 28px; font-weight: 800; max-width: 700px; margin: 12px auto 0; line-height: 1.3; }
.post-meta-bar { font-size: 13px; color: #a8d8bc; margin-top: 12px; }
.post-content { background: #fff; border-radius: 12px; padding: 28px; border: 1px solid #eae6dc; }
.post-content h2 { font-size: 20px; font-weight: 700; color: #0f4c35; margin: 24px 0 10px; }
.post-content h3 { font-size: 17px; font-weight: 700; color: #1a1a1a; margin: 18px 0 8px; }
.post-content p { margin-bottom: 16px; color: #333; }
.post-content ul, .post-content ol { padding-left: 20px; margin-bottom: 16px; }
.post-content li { margin-bottom: 6px; color: #333; }
.post-content blockquote { border-left: 4px solid #4cda8f; background: #f0faf5; padding: 14px 18px; margin: 18px 0; border-radius: 0 8px 8px 0; font-style: italic; color: #0f4c35; }
.post-content img { border-radius: 8px; margin: 16px 0; }

/* ===== FOOTER ===== */
#colophon { background: #0a2e1f; color: #6aab87; text-align: center; padding: 28px 24px; margin-top: 48px; }
#colophon a { color: #4cda8f; margin: 0 10px; }
#colophon .footer-links { margin-bottom: 10px; }
.footer-disclaimer { font-size: 11px; color: #3d7a55; margin-top: 10px; }
