/* Blog Grid Layout */
.blog-grid-container {
    display: flex;
    justify-content: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* Responsive Grid */
    gap: 10px;
    max-width: 1200px;
    width: 100%;
}

.blog-card {
    background: none;
    text-align: left;
    border: none;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* Blog Image */
.blog-card img {
    width: 100%;
    border-radius: 10px;
    height: 280px;
    object-fit: cover;
}

/* Blog Title */
.blog-card h3 {
    font-size: 18px;
    margin-top: 10px;
    color: #262626;
    font-weight: 600;
}

/* Blog Description */
.blog-card p {
    font-size: 16px;
    color: #262626;
}

/* Read More Link */
.blog-card .read-more {
    color: #262626;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.blog-card .read-more:hover {
    text-decoration: underline;
    transition: 0.3s ease;
}

.read-more:hover {
    color: #FD760D;
    transition: 0.3s ease;
}

/* Initially Hide Extra Blogs */
.hidden {
    display: none;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.load-more-btn {
    border: none;
}

.load-more-btn:hover {
    background-color: #fff;
    color: #FD760D;
    transition: 0.3s ease;
}

/* Loader Animation */
.loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid #262626;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

/* Loader Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media(max-width: 768px){
    .blog-card img {
        height: 240px;
    }
}
