/* --- General Styles for Blog Post Page --- */
.content-wrapper {
    padding-top: 100px; /* Space for fixed navbar */
    padding-bottom: 60px;
}

.blog-post-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


/* --- Post Header --- */
.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-header .category-tag {
    background-color: #e9ecef;
    color: #007bff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.post-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.post-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.post-meta span {
    margin: 0 15px;
}

.post-meta i {
    margin-right: 8px;
    color: #95a5a6;
}

/* --- Post Image --- */
.post-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Post Content --- */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
}

.post-content .intro {
    font-size: 1.2rem;
    font-style: italic;
    color: #2c3e50;
    border-left: 4px solid #00adb5;
    padding-left: 20px;
    margin-bottom: 30px;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.post-content a:hover {
    color: #0056b3;
}

.post-image-inline {
    margin: 40px 0;
    text-align: center;
}

.post-image-inline img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.post-image-inline figcaption {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 10px;
    font-style: italic;
}

/* --- Call to Action Box --- */
.call-to-action {
    margin-top: 50px;
    padding: 30px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-align: center;
}

.call-to-action h3 {
    font-size: 1.6rem;
    color: #036;
    margin-top: 0;
}

.cta-button {
    display: inline-block;
    background-color: #e24c4b;
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #ff5a5a;
    transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .blog-post-container {
        padding: 20px;
    }
    .post-title {
        font-size: 2.2rem;
    }
    .post-meta span {
        display: block;
        margin: 5px 0;
    }
}
