
.blogs-hero{
  position: relative;
  background: url("/static/images/blog-bg.jpg") no-repeat center center/cover;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.blogs-hero .overlay {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background-color: rgba(35, 34, 34, 0.578);
}

.blogs-hero h1{
    color: white;
}


.blogs-section {
    padding: 60px 20px;
    background-color: white;
    border-radius: 8px;
    margin: 40px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #333;
}

.blogs-section h1 {
    color: #afcab0;
    margin-bottom: 30px;
    text-align: center;
}

.blogs-list-grid {
    margin: 0 auto;
    gap: 30px;
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
}

.blog-post {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 30%;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post h2 {
    color: #388e3c;
    margin-bottom: 10px;
    font-size: 20px;
}

.blog-post p {
    font-size: 15px;
    line-height: 1.5;
}

.read-more {
    color: #ffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.read-more:hover {
    color: #2e7d32;
}


@media (max-width: 475px) {
    
    h1{
        font-size: 30px;
    }

    .blog-post {
        width: 100% !important;
        padding: 10px;
    }

    .blogs-list-grid {
        width: 100%;
        padding: 0px;
        margin: 0px;
    }

    .blogs-section {
        padding: 40px 20px;
    }
}


@media (max-width: 824px) {
    
    h1{
        font-size: 40px;
    }
    .blogs-list-grid {
        width: 100%;
        padding: 0px;
        margin: 0px;
    }

    .blog-post {
        width: 45%;
        padding: 10px;

    }
}