.custom-home-articles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-item {
    margin-bottom: 50px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(219, 39, 119, 0.2);
}

.article-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #f0f0f0;
}

.article-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-item:hover .article-image-wrapper img {
    transform: scale(1.05);
}

.article-content {
    padding: 30px;
}

.article-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.4;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #db2777;
}

.article-excerpt {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.article-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.article-meta span {
    margin-right: 15px;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #db2777 0%, #e74c9f 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #c91f6e 0%, #db2777 100%);
    transform: translateX(5px);
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding: 30px 0;
}

.pagination-wrapper a,
.pagination-wrapper span {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-wrapper a {
    background: #f5f5f5;
    color: #333;
}

.pagination-wrapper a:hover {
    background: #db2777;
    color: white;
}

.pagination-wrapper .current {
    background: #db2777;
    color: white;
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
    background: linear-gradient(135deg, #db2777 0%, #e74c9f 100%);
    color: white;
}

.pagination-wrapper .prev:hover,
.pagination-wrapper .next:hover {
    background: linear-gradient(135deg, #c91f6e 0%, #db2777 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .article-excerpt {
        font-size: 14px;
    }
    
    .custom-home-articles {
        padding: 20px 10px;
    }
    
    .pagination-wrapper {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .article-content {
        padding: 15px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .read-more-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .pagination-wrapper a,
    .pagination-wrapper span {
        padding: 8px 12px;
        font-size: 12px;
    }
}
