.blog-section { padding: 60px 20px; background: #f9fafb; box-sizing: border-box; }
.blog-container { max-width: 1100px; margin: 0 auto; width: 100%; }
.blog-header { text-align: center; margin-bottom: 40px; }
.blog-header h1 { font-size: 2rem; color: #1a1a1a; margin: 0 0 10px; }
.blog-header p { color: #555; font-size: 1.1rem; margin: 0; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; justify-content: center; }
.filter-btn { padding: 8px 16px; border: 1px solid #ddd; border-radius: 20px; text-decoration: none; color: #555; font-size: 0.9rem; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: #2c5e4f; color: #fff; border-color: #2c5e4f; }

.blog-featured { display: grid; grid-template-columns: 1fr; gap: 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 40px; }
.featured-image { height: 280px; background-size: cover; background-position: center; }
.featured-content { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.blog-category { display: inline-block; background: #e8f0ed; color: #2c5e4f; font-size: 0.75rem; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.featured-content h2 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.3; }
.featured-content h2 a { text-decoration: none; color: #1a1a1a; }
.featured-content h2 a:hover { color: #2c5e4f; }
.featured-content p { color: #444; line-height: 1.6; margin-bottom: 20px; }
.btn-blog { display: inline-block; background: #2c5e4f; color: #fff; padding: 10px 18px; border-radius: 4px; text-decoration: none; font-weight: 500; transition: background 0.2s; align-self: flex-start; }
.btn-blog:hover { background: #1e4237; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.04); transition: transform 0.2s ease, box-shadow 0.2s ease; box-sizing: border-box; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.card-image { height: 180px; background-size: cover; background-position: center; }
.card-content { padding: 18px; }
.card-content h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.3; }
.card-content h3 a { text-decoration: none; color: #1a1a1a; }
.card-content h3 a:hover { color: #2c5e4f; }
.card-excerpt { color: #555; font-size: 0.9rem; line-height: 1.5; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; overflow-wrap: break-word; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #777; border-top: 1px solid #eee; padding-top: 12px; }
.read-more { color: #2c5e4f; text-decoration: none; font-weight: 600; }
.read-more:hover { text-decoration: underline; }

.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 40px; }
.page-link { text-decoration: none; color: #2c5e4f; font-weight: 600; padding: 8px 16px; border: 1px solid #ddd; border-radius: 4px; }
.page-link:hover { background: #f0f4f2; }
.page-info { color: #777; font-size: 0.9rem; }

@media (min-width: 768px) {
  .blog-featured { grid-template-columns: 1.1fr 1fr; }
  .featured-image { height: 100%; min-height: 320px; }
  .featured-content h2 { font-size: 1.7rem; }
}

.btn-new-post {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 15px;
}
.btn-new-post:hover {
    background-color: #27ae60;
}

.btn-small {
    padding: 4px 8px;
    font-size: 0.8rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    color: white;
    margin-right: 2px;
}
.btn-green { background-color: #2ecc71; }
.btn-orange { background-color: #f39c12; }
.btn-red { background-color: #e74c3c; }
.btn-blue { background-color: #3498db; }
.comment-group { margin-bottom: 20px; }
.comment-card-item { transition: all 0.3s ease; }
