main{
    padding-top: 50px;
    padding-bottom: 50px;
}
.featured-posts, .category-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

main .hero-section {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}

main .hero-section #hero-left{
    width: 70%;
    padding-right: 40px;
}

main .hero-section #hero-left h4{
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    width: 80%;
}

main .hero-section #hero-left p:first-child{
    color: #666;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

main .hero-section #hero-right img{
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.category-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.category-header a {
    background-color: var(--ast-global-color-0);
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
	white-space: nowrap;
}

.category-posts{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.post-card {
    border-radius: 10px;
    overflow: hidden;
    
}

.post-card h6 a{
   
    font-weight: medium;
    color: var(--ast-global-color-8);
    margin-bottom: 10px;

}

.post-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {

    main .hero-section {
        flex-direction: column;
    }

    main .hero-section #hero-left {
        width: 100%;
        padding-right: 0;
    }
   
    .category-posts {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .category-header h3 {
        font-size: 22px;
    }

    .post-card h6 a {
        font-size: 16px;
    }

    #primary .hero-section .hero-content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 580px) {
	
	

    main .hero-section {
        flex-direction: column;
        width: 95%;
    }



    main .hero-section #hero-left {
       
        padding-right: 0;
        text-align: center;
    }

    main .hero-section #hero-left h4 {
        font-size: 1.5rem;
        display: block;
        width: 100%;
    }

    main .hero-section #hero-left p:first-child {
        font-size: 1rem;
    }

    .category-posts {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .post-card img {
        height: 200px;
    }

    .post-card h6 a {
        font-size: 14px;
    }
	
	.category-header a {
    padding: 3px 14px;
    border-radius: 4px;
	font-size:0.8rem;
	}
	.category-title{
		font-size:1.2rem;
	}
 
}