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

body {
    font-family: arial, sans-serif;
    background-color: #e2e8f0;
    padding: 40px;
}

.blog-container {
    width: 880px;
    height: 1070px;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin: 0 auto;
}

.posts-grid {
    position: relative;
    height: 420px;
}

.post-card {
    width: 380px;
    height: 200px;
    position: absolute;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px;
}

.card1 {
    top: 0;
    left: 0;
}

.card2 {
    top: 0; 
    right: 0;
}

.card3 {
    top: 220px; 
    left: 0;
}

.card4 {
    top: 220px;
    right: 0;
}

.card5 {
    top: 440px;
    left: 0;
}

.card6 {
    top: 440px;
    right: 0;

}

.featured-post {
    width: 100%;
    max-width: 800px;
    height: 300px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    position: relative;
    /* padding:60px 20px 20px 20px ; */
    margin: 0 auto 40px;
}

.posts-grid {
    position: relative;
    width: 800px;
    height: 600px;
}

.post-card {
    width: 380px;
    height: 200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: absolute;
    padding: 20px;
}

.featured-post .category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #e9d8fd;
    color: #553c9a;
    font: 12px arial, sans-serif;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
}

.featured-post .title {
    font: bold 28px arial, sans-serif;
    color: #1a202c;
    margin-top: 50px;
}

.featured-post .excerpt {
    font: 16px arial, sans-serif;
    color: #4a5568;
    line-height: 1.6;
    margin: 15px 0;
}

.featured-post .author-meta {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    color: #4a5568;
}

.featured-post .author-pic {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: middle;
}

.featured-post .author-name {
  /* display: inline-block;
  vertical-align: middle; */
  margin-right: 8px;
}

.featured-post .read-time,
.featured-post .date {
    /* display: inline-block;
    vertical-align: middle; */
    margin-right: 6px;
    color: #718096;
    font-size: 12px;
}

.post-card .category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 3px 6px;
    border-radius: 4px;
    font: 12px arial, sans-serif;
}

.post-card .category.technology {
    background-color: #ab99d1;
    color: #FFFFFF;
}

.post-card .category.news {
    background-color: #FED7D7;
    color: #9B2C2C;
}

.post-card .category.tutorials {
    background-color: #C6F6D5;
    color: #2F855A;
}

.post-card .title {
    font-size: 18px;
    font-weight: bold;
    color: #2D3748;
    margin-top: 30px;
    margin-bottom: 10px;
}

.post-card .preview {
    font-size: 14px;
    color: #718096;
    line-height: 1.4;
}

.post-card .post-meta {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.post-card .post-meta .author {
    font-size: 14px;
    color: #4A5568;
    margin-right: 10px;
}

.post-card .post-meta .read-time,
.post-card .post-meta .date {
    font-size: 12px;
    color: #718096;
    margin-right: 10px;
}