.blog-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-section h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
    color: #ed531d;
    font-weight: 700;
}

#blogPosts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none !important;
    transition: .3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: none !important;
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* 1. Title padding from edges */
.blog-card h2 {
    font-size: 22px;
    padding: 24px 24px 12px 24px;
    color: #222;
    text-align: left;
    margin: 0;
}

/* 2. Text explanation pushed inward from margins */
.excerpt,
.excerpt p {
    padding: 0 24px !important;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* 3. Button aligned with text margins */
.blog-card a {
    display: inline-block;
    margin: 0 24px 24px 24px !important;
    padding: 12px 24px;
    background: #ed531d;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.blog-card a:hover {
    background: #c94318;
}