.esgreen-blog-page { padding-top: 80px; background: var(--pale); min-height: 100vh; }

/* Blog Hero */
.esgreen-blog-hero { text-align: center; padding: 60px 20px 32px; background: var(--white); }
.esgreen-blog-hero .section-tag { margin-bottom: 8px; display: inline-block; }
.esgreen-blog-hero h1 { font-weight: 800; font-size: 40px; color: var(--forest); margin-bottom: 12px; }
.esgreen-blog-hero-subtitle { max-width: 640px; margin: 0 auto 28px; font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Category tabs */
.esgreen-blog-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.esgreen-blog-tab { padding: 8px 20px; border: 1px solid #ddd; border-radius: 100px; background: var(--white); font-size: 13px; color: var(--text-body); cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-block; }
.esgreen-blog-tab:hover { border-color: var(--brand); color: var(--brand); }
.esgreen-blog-tab.active { background: var(--brand); color: var(--white); border-color: var(--brand); }

/* Main layout */
.esgreen-blog-main { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 40px 0 80px; align-items: start; }
.esgreen-blog-content { min-width: 0; }
.esgreen-blog-section-title { font-weight: 700; font-size: 22px; color: var(--forest); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.esgreen-blog-view-all { font-size: 13px; color: var(--brand); font-weight: 500; text-decoration: none; margin-left: auto; }

/* Featured post */
.esgreen-blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-bottom: 36px; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.esgreen-blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.esgreen-blog-featured-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.esgreen-blog-featured-body h3 { font-weight: 700; font-size: 22px; color: var(--forest); line-height: 1.35; }
.esgreen-blog-featured-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.esgreen-blog-read-more { font-size: 14px; color: var(--brand); font-weight: 600; text-decoration: none; }
.esgreen-blog-badge { display: inline-block; background: #D2EDBC; color: #295B20; padding: 3px 12px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.esgreen-blog-date { font-size: 12px; color: var(--text-muted); }

/* Post grid */
.esgreen-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 12px; }
.esgreen-blog-post-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.25s, box-shadow 0.25s; }
.esgreen-blog-post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.esgreen-blog-post-card-img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.esgreen-blog-post-card-body { padding: 20px; }
.esgreen-blog-post-card-body h4 { font-weight: 700; font-size: 16px; color: var(--forest); margin: 6px 0; line-height: 1.4; }
.esgreen-blog-post-card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
.esgreen-blog-time { font-size: 12px; color: var(--text-muted); }

/* Deep Topics */
.esgreen-blog-deep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.esgreen-blog-deep-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.esgreen-blog-deep-img { position: relative; }
.esgreen-blog-deep-img img { width: 100%; height: 150px; object-fit: cover; display: block; }
.esgreen-blog-deep-badge { position: absolute; bottom: 10px; left: 10px; background: var(--white); color: var(--forest); padding: 2px 10px; border-radius: 100px; font-size: 10px; font-weight: 600; }
.esgreen-blog-deep-card h5 { padding: 12px 14px 4px; font-weight: 700; font-size: 13px; color: var(--forest); line-height: 1.4; }
.esgreen-blog-deep-card .esgreen-blog-time { padding: 0 14px 14px; display: block; }

/* Sidebar */
.esgreen-blog-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.esgreen-blog-widget { background: var(--white); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-card); }
.esgreen-blog-widget h4 { font-weight: 700; font-size: 16px; color: var(--forest); margin-bottom: 10px; }
.esgreen-blog-search-input { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 10px; font-size: 14px; font-family: var(--font-body) !important; }

/* Legal library cards */
.esgreen-legal-card { border: 1px solid #eee; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.esgreen-legal-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.esgreen-legal-type { background: #D2EDBC; color: #295B20; padding: 2px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; }
.esgreen-legal-year { font-size: 12px; color: var(--text-muted); }
.esgreen-legal-card h5 { font-weight: 700; font-size: 14px; color: var(--forest); margin-bottom: 4px; }
.esgreen-legal-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
.esgreen-legal-card-bottom { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }
.esgreen-legal-card-bottom a { color: var(--brand); text-decoration: none; font-weight: 600; }

/* Newsletter widget */
.esgreen-blog-newsletter { background: linear-gradient(135deg, #D2EDBC, #EDF7E6) !important; }
.esgreen-blog-newsletter p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.esgreen-nl-widget-input { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 10px; font-size: 14px; margin-bottom: 8px; font-family: var(--font-body) !important; }
.esgreen-nl-widget-btn { width: 100%; padding: 10px; background: var(--brand); color: var(--white); border: none; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background 0.25s; }
.esgreen-nl-widget-btn:hover { background: var(--brand-dark, #4A9A2A); }
