/* Center align and style the pagination container */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; /* Adjust the margin as needed */
}

/* Style the pagination links within the container */
.pagination-container a {
    text-decoration: none;
    background-color: #f5f5f5; /* Background color for each page link */
    color: #333; /* Text color for each page link */
    padding: 10px 15px; /* Adjust the padding as needed */
    border-radius: 5px; /* Rounded corners for each page link */
    margin: 5px; /* Adjust the margin between page links */
}

.pagination-container a:hover {
    background-color: #999; /* Background color for the active/hovered page link */
}

/* Style the current page number within a <span> tag with the 'custom-current-style' class */
.pagination-container span.current {
    background-color: #0067aa; /* Background color for the active page number */
    color: #fff; /* Text color for the active page number */
    padding: 5px 10px; /* Adjust the padding as needed */
    border-radius: 5px; /* Rounded corners for the active page number */
    margin:15px;
}
/*
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.articles-post {
    width: calc(33.33% - 20px);
    margin: 10px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.articles-post h3 {
    font-size: 18px;
}

.articles-img {
    position: relative;
    overflow: hidden;
}

.articles-img img {
    width: 100%;
    height: auto;
    display: block;
}

.articles-text {
    margin-top: 10px;
}

.read-more-button {
    display: block;
    text-align: right;
    text-decoration: none;
    color: red;
    font-size: 20px;
}

.gallery-item {
    display: block;
    text-decoration: none;
    position: relative;
}


 .fancybox-caption {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
} 


.articles-post p {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}*/

/* Container for posts */
.container {
    padding: 20px;
}

/* Style for individual post containers */
.articles-post {
    flex: 0 0 calc(33.33% - 20px); /* Three columns with some spacing */
    margin: 0 40px 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

/* Post title link styles */
.articles-post h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
}

.articles-post h3 a:hover {
    color: #ff6600;
}

/* Post image styles */
.articles-img img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* Read More button styles */
.read-more-button {
    display: block;
    text-decoration: none;
    margin-top: 10px;
}

/* Container for articles' text */
.articles-text p {
    font-size: 1rem;
    color: #555;
}

/* Gallery item styles */
.gallery-item {
    display: block;
    text-decoration: none;
}

/* No image available message styles */
.articles-img p {
    text-align: center;
    font-weight: bold;
    color: #999;
}

/* Infinite scroll and latest articles container styles */
.infinite-post-container, .latest-articles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Responsive layout adjustments */
@media (max-width: 768px) {
    .articles-post {
        flex: 0 0 calc(50% - 20px); /* Two columns on smaller screens with spacing */
    }

    @media (max-width: 480px) {
        .articles-post {
            flex: 0 0 100%; /* Single column on smaller screens */
        }
    }
}

