.list-post-by-category .header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.list-post-by-category .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.list-post-by-category .nav-left {
    display: flex;
    gap: 30px;
    align-items: center;
}
.list-post-by-category .nav-item {
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s;
}
.list-post-by-category .nav-item.active {
    background: #00d084;
    color: white;
}
.list-post-by-category .nav-item:hover {
    background: #00d084;
    color: white;
}
.list-post-by-category .main-container {
   /* max-width: 1200px;
    */
   margin: 30px auto;
   padding: 0 0px;
   display: grid;
   grid-template-columns: 67% 30%;
   gap: 30px;
}
.list-post-by-category .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.list-post-by-category .article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.list-post-by-category .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.list-post-by-category .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
    display: block;
}
.list-post-by-category .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #00d084, #4ade80);
    color: white;
    padding: 15px;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}
.list-post-by-category .card-content {
    padding: 20px;
}
.list-post-by-category .card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
    min-height: 55px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-post-by-category .card-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-post-by-category .card-date {
    color: #999;
    font-size: 14px;
}
.list-post-by-category .sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}
.list-post-by-category .sidebar-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}
.list-post-by-category .news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.list-post-by-category .news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.list-post-by-category .news-image {
    width: 122px;
    height: 87px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.list-post-by-category .news-content {
    flex: 1;
}
.list-post-by-category .news-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}
.list-post-by-category .news-date {
    color: #999;
    font-size: 12px;
}
.list-post-by-category .promo-banner {
    border-radius: 12px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.list-post-by-category .promo-title {
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.list-post-by-category .promo-amount {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
}
.list-post-by-category .promo-description {
    font-size: 14px;
    opacity: 0.9;
}
.list-post-by-category .gf-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}
.list-post-by-category .brand-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}
section.list-post-by-category {
    padding: 3rem 0px;
}

.list-post-by-category .list-filter-post ul {
    display: flex;
    gap: 0px 11px;
}
.list-post-by-category .list-filter-post ul li a {
    background: #e8e8e8;
    color: #3c3c3c;
    height: 36px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-radius: 5px;
}
.list-post-by-category .list-filter-post ul .active a {
    background: linear-gradient(90deg, rgba(129, 191, 67, 1) 0%, rgba(81, 156, 72, 1) 50%, rgba(20, 95, 54, 1) 100%);
    color: #fff;
}
.list-post-by-category .post-details .news-card img {
    height: unset;
}
.list-post-by-category .news-title:hover {
    color: #64aa46;
}
.list-post-by-category .sidebar-title:before {
    content: "";
    position: absolute;
    width: 80%;
    height: 2px;
    background: #398441;
    bottom: -3px;
}
@media (max-width: 768px) {
    .list-post-by-category .list-filter-post ul {
        flex-wrap: wrap;
        gap: 10px 5px;
    }
    
    .list-post-by-category .list-filter-post ul li a {
        padding: 0 10px;
        font-size: 13px;
    }
    .list-post-by-category .main-container {
        grid-template-columns: 1fr;
        gap: 20px;
   }
    .list-post-by-category .content-grid {
        grid-template-columns: 1fr;
   }
    .list-post-by-category .nav-left {
        gap: 15px;
   }
    .list-post-by-category .nav-item {
        padding: 8px 15px;
        font-size: 14px;
   }
}