body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f6f9;
}

.single-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}

/* MAIN POST */

.post-wrapper {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.post-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-body {
    padding: 40px;
}

.post-body h1 {
    margin-top: 0;
    font-size: 34px;
    margin-bottom: 10px;
}

.meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
}

.content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #b08a5a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

.back-btn:hover {
    background-color: #96724b;
}

/* RECENT POSTS */

.recent-section {
    margin-top: 60px;
}

.recent-section h3 {
    margin-bottom: 25px;
    font-size: 22px;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.recent-card {
    display: block;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.recent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.recent-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.recent-info {
    padding: 15px;
}

.recent-info h4 {
    margin: 0 0 8px;
    font-size: 15px;
}

.recent-info span {
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .recent-grid {
        grid-template-columns: 1fr;
    }

    .post-hero img {
        height: 250px;
    }

    .post-body {
        padding: 25px;
    }
}
