body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
}

/* BLOG LIST PAGE */
.blog-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-header h1 {
    margin: 0;
    font-size: 32px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.2s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
}

.blog-content h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.blog-content p {
    font-size: 14px;
    color: #555;
}

.blog-content a {
    display: inline-block;
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.blog-content a:hover {
    text-decoration: underline;
}

/* POST PAGE */
.post-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.post-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.post-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.post-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
}

.post-body {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.post-body p {
    margin-bottom: 15px;
}

.post-body h2 {
    margin-top: 25px;
}

.post-back {
    margin-top: 40px;
}

.post-back a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

/* FOOTER FIXED */
.footer {
    background: #111;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #bbb;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        text-align: center;
    }
}