.article-list {
    padding: 0;
    list-style: none;
}

.article-item {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #1c1c1e;
}

.article-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    color: inherit;
}

.article-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.article-title {
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    margin: 0;
}

.black {
    .article-meta {
        color: #000000;
    }
    li{
        margin-bottom: 10px !important;
    }
    hr{
        margin-bottom: 10px !important;
    }
    hr:nth-of-type(1) {
        display: none;
    }
    hr:last-child{
        display: none;
    }
    .article-title{
        color: #000000;
    }
  
    .regular-article .article-content{
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .regular-article .article-meta {
        font-weight: normal;
        color:#403756;
        margin-left: 0px;
        .article-category{
            color:#403756;
        }
    }
}

.article-excerpt {
    font-size: 14px;
    color: #FFFEF0;
    display: -webkit-box;       
    -webkit-box-orient: vertical; 
    overflow: hidden;
    text-overflow: ellipsis;    
    -webkit-line-clamp: 2; 
}

.article-meta {
    min-width: 220px;
    display: flex;
    align-items: center;
    color: #FFFEF0;
    gap: 10px;
}

.article-views,
.article-time {
    font-size: 14px;
    font-weight: 600;
}

.first-article {
    max-height: 200px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 40px 20px;
    position: relative;
    background-image: url('path_to_your_image');
}

.first-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(64, 55, 86, 0.3) 30%, rgba(64, 55, 86, 1) 100%);
    z-index: 1;
}

.article-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.first-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.first-article .article-category {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFEF0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    width: fit-content;
    position: relative; 
    z-index: 2;
}

.article-category {
    color: #FFD7EB;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
}

.first-article .article-title {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.5;
    color: #FFFEF0;
    position: relative; 
    z-index: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}

.first-article .article-excerpt {
    position: relative; 
    z-index: 2;
}

.first-article a {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    left: 0;
    z-index: 5;
    flex-direction: column;
    align-items: flex-start;
}

.regular-article {
    position: relative;
    background-color: transparent;
    padding: 10px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    a{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

.regular-article .article-content {
    flex: 1;
}

.regular-article .article-meta {
    margin-left: auto;
    order: 2;
}

.article-thumbnail{
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-thumbnail > img {
    min-width: 80px;
    min-height: 80px;
    width: 80px !important;
    height: 80px !important;
    border-radius: 15px !important;
}

.article-thumbnail img {
    border-radius: 10px;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.article-separator {
    height: 1px;
    background-color: #FFD7EB;
    margin: 20px 0;
}
