/* ===================== BLOG POST PAGE STYLES ===================== */
body {
    background-color: #f9f9f9;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
}

.blog-post-wrapper {
    padding: 120px 20px 60px 20px;
    /* Add padding for fixed navbar */
}

.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* --- POST HEADER --- */
.post-header {
    padding: 40px 40px 20px 40px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.post-header .post-category {
    color: #357beb;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.post-header h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #111;
}

.post-header .post-meta {
    font-size: 14px;
    color: #6c757d;
}

/* --- FEATURE IMAGE --- */
.post-feature-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* --- POST CONTENT --- */
.post-content {
    padding: 30px 40px 50px 40px;
    font-size: 17px;
    line-height: 1.7;
    color: #364049;
}

.post-content h2,
.post-content h3 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    margin-top: 2.5em;
    margin-bottom: 1em;
    line-height: 1.3;
}

.post-content h2 {
    font-size: 28px;
    border-bottom: 2px solid #357beb;
    padding-bottom: 8px;
}

.post-content h3 {
    font-size: 22px;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content a {
    color: #357beb;
    text-decoration: none;
    font-weight: 600;
}

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

.post-content ul,
.post-content ol {
    margin-left: 20px;
    margin-bottom: 1.5em;
    padding-left: 15px;
}

.post-content li {
    margin-bottom: 0.75em;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-content strong {
    font-weight: 600;
    color: #222;
}

/* --- BACK BUTTON --- */
.back-to-blogs {
    display: block;
    text-align: center;
    margin-top: 40px;
}

.back-to-blogs a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #222;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.back-to-blogs a:hover {
    background-color: #444;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media screen and (max-width: 768px) {
    .post-header h1 {
        font-size: 32px;
    }

    .post-header,
    .post-content {
        padding: 25px;
    }

    .post-content {
        font-size: 16px;
    }
}