	
.article-container {
    display: flex;
    flex-wrap: wrap;
}

.article {
    flex: 0 0 33.33%; /* Adjust width as needed */
    padding: 10px;
    box-sizing: border-box;
   
}

.image-container {
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid rgb(23, 23, 122); /* Add blue border at the bottom */
    width: 200px;
    height: 150px;
}

.image-container img {
    width: 200px;
    height: 150px;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay:hover {
    opacity: 1;
}

.link-icon-container {
    width: 60px; /* Set width and height to desired size */
    height: 60px; /* Set width and height to desired size */
    background-color: rgb(23, 23, 122);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-icon {
    color: #fff;
    font-size: 24px; /* Adjust the size of the link icon */
    text-decoration: none;
    transition: transform 0.3s ease;
}

.link-icon:hover {
    transform: scale(1.2);
}

.content {
    margin-top: 10px;
}

.title {
    margin-bottom: 5px;
}

.title a {
    color: #333;
    text-decoration: none;
}

.title a:hover {
    text-decoration: underline;
}

.publish-time {
    font-size: 14px;
    color: #999;
}
/* For screens smaller than 768px */

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination ul {
    list-style-type: none;
    padding: 0;
}

.pagination li {
    display: inline-block;
}

.pagination a {
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #0056b3;
}

.pagination a.active {
    background-color: #0056b3;
}
/* Media Query for Responsive Layout */
/* Media Query for Responsive Layout */
@media screen and (max-width: 768px) {
    .article-container {
        width: 500px;
    }

    .article {
        flex: 0 0 80%; /* Adjust width for smaller screens */
        width: 100%; /* Make image fill container */

    }

    .image-container {
        width: 80%; /* Adjust image container width for smaller screens */
        height: auto; /* Allow image container height to adjust */
    }

    .image-container img {
        width: 100%; /* Make image fill container */
        height: auto; /* Allow image height to adjust */
    }

    .link-icon-container {
        width: 60px; /* Decrease link icon container size for smaller screens */
        height: 60px; /* Decrease link icon container size for smaller screens */
    }

    .link-icon {
        font-size: 20px; /* Decrease link icon size for smaller screens */
    }

    .content {
        margin-top: 15px; /* Adjust margin between title and content for smaller screens */
    }

    .title {
        margin-bottom: 8px; /* Adjust margin below title for smaller screens */
    }

    .publish-time {
        font-size: 14px; /* Decrease publish time font size for smaller screens */
    }
}
