#article {
    padding: 5px;
}

#article .read-more {
    width: 100%;
}

.article-card {
    background-color: white;
    border: none;
    height: 450px;
    padding: 20px;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.article-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 10px;
}

.article-card::after {
    content: " ";
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translateY(-50%, -50%);
    border: 1px solid var(--smooth-border-color);
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -1;
    transition: 0.3s ease;
}

.article-card::before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%) skew(2deg);
    width: 80%;
    height: 50%;
    background-color: var(--accent-color);
    z-index: -1;
    transition: 0.3s ease;
}

.article-card:hover::after {
    background-color: var(--smooth-white-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.article-card:hover::before {
    left: -5%;
}

.article-head {
    width: fit-content;
    font-weight: 800;
    position: relative;
    z-index: 1;
    color: white;
    margin-left: 20px;
}

.article-head::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 65%;
    transform: skew(10deg) translate(-50%, -50%);
    width: 150%;
    height: 150%;
    z-index: -1;
    background-color: var(--primary-color);
}

.article-head::before {
    content: " ";
    position: absolute;
    top: 0%;
    left: 50%;
    transform: skew(10deg) translateY(5%);
    width: 100%;
    height: 120%;
    z-index: -1;
    background-color: var(--accent-color);
}

.nav-tabs .nav-link {
    color: #333;
    font-weight: bold;
}

.nav-tabs .nav-link.active {
    color: red;
    border-bottom: 3px solid red;
}

@media (min-width: 1025px) {
    #article {
        padding: 20px;
    }

    #article .read-more {
        width: fit-content;
    }

    .article-card img {
        height: 200px;
        object-fit: cover;
    }
}
