/* * START BLOG SECTION * */
.blog {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, #3b3b2e, #2b2b2a);
    width: 100%;
    min-height: calc(100vh - 10vh);
    padding: 20px 0;
    box-sizing: border-box;
}

.blog-posts-container {
    display: flex;
	justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: min(90%, 1200px);
    width: 100%;
    gap: 20px;
}

.post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Blog Post */
.post {
	display: flex;
	justify-content: center;
    background-color: #1f1f1f;
    color: #a3a3a3;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.post-container{
	width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.post-thumbnail-link-to img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.post-title {
    margin: 10px 0;
}

.post-title a {
    text-decoration: none;
    color: #a3a3a3;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-excerpt {
    font-size: 16px;
    line-height: 1.5;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination a {
    background-color: #1f1f1f;
    color: #a3a3a3;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.pagination a:hover {
    background-color: #333;
}

.footer-blog-info-name {
    color: goldenrod;
    text-decoration: none;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .post {
        flex: 1 1 calc(50% - 20px); /* 2 posts per row on tablets */
    }
}

@media screen and (max-width: 768px) {
    .post {
        flex: 1 1 100%; /* 1 post per row on mobile */
    }
}
