.article-item {
    display: flex;
    margin-bottom: 20px;
    cursor: pointer;
}

.article-item .card {
    display: flex;
    flex-direction: row;
    width: 100%;
    border: 1px solid #ddd;
    padding: 2px;
}

.article-item .card-img-top {
    max-width: 300px;
    max-height: 300px;
    margin-right: 20px;
    object-fit: cover;
    object-position: center;
}

.article-item .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.article-item .card-body .card-title {
    font-size: 18px;
    font-weight: bold;
}

.article-item .card-body .card-text {
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.filter-section form input,
.filter-section form select {
    width: 60%;
}

.filter-section form button {
    width: 30%;
}
.no_available_box  {
    width: 100%;
    text-align: center;
    margin: 20px  0;
}

.no_available_box img {
    width: 30%;
}
.article_content img {
    max-width: 100%;
}

.no_available_box p {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
}
.page-title-container {
    position: relative;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-title:before {
    content: "";
    position: absolute;
    width: 60%;
    height: 2px;
    bottom: -10px;
    left: 20%;
    background-color: #000;
}

.page-title:after {
    content: "";
    position: absolute;
    width: 30%;
    height: 2px;
    bottom: -20px;
    left: 35%;
    background-color: #000;
}

.page-title-decoration {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-title-dot {
    height: 8px;
    width: 8px;
    background-color: #000;
    border-radius: 50%;
    margin: 0 5px;
}

.page-title-description {
    text-align: center;
    color: #6c757d;
    max-width: 600px;
    margin: 30px auto 0;
    font-style: italic;
}
.pagination {
    margin-top: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.page-link {
    color: #000;
    border-color: #f1f1f1;
    background-color: white;
    border-radius: 4px;
    margin: 0 0.2rem;
    padding: 0.5rem 0.8rem;
}

.page-link:hover {
    background-color: #f1f1f1;
    color: var( #000);
}

nav .page-item.active .page-link {
    background-color: #000;
    border-color:  #000;
}
@media (max-width: 768px) {
    .no_available_box img {
        width: 70%;
    }
    .no_available_box.right img {
        height: 150px;
    }
    .no_available_box p {
        font-size: 16px;
    }
    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .article-item .card {
        flex-direction: column;
    }

    .article-item .card-img-top {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .article-item .card-body {
        text-align: center;
    }

    .article-item .card-body .card-title {
        font-size: 16px;
    }

    .article-item .card-body .btn {
        width: 100%;
        margin-top: 10px;
        float: none;
    }

    .search-box-new {
        flex-direction: column;
        gap: 10px;
    }

    .filter-section form input,
    .filter-section form select,
    .filter-section form button {
        width: 100%;
    }
}

.article-item .card-body .btn {
    font-size: 14px;
    padding: 8px 15px;
    margin-top: auto;
    align-self: flex-end;
}

.search-bar {
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px;
}
