/* Container for the page content */
.container-fluid {
    width: 100%;
    padding: 30px 70px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    overflow: hidden;
}

/* Blog Section */
.blog-section {
    flex: 0 0 70%;
    /* Blog takes 70% of the container */
}

.blog-post {
    margin-bottom: 30px;
}

.blog-post h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.blog-post h1 a {
    color: #333;
}

.blog-post .post-meta {
    font-size: 1em;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.blog-post .post-meta a {
    color: #521138;
    font-weight: bold;
    text-decoration: none;
}

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

/* Date and Views section */
.blog-post .post-meta .post-date,
.blog-post .post-meta .post-views {
    color: #999;
    font-size: 0.9em;
}

.blog-post .post-meta .post-views {
    font-weight: bold;
}

.blog-post img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.blog-post p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
}

.well {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    font-size: 1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
    background-color: #f9f9f9;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group button {
    background-color: #521138;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
}

.form-group button:hover {
    background-color: #6a1a4a;
}

.comment {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.comment img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

.comment .media-body {
    flex: 1;
}

.comment .media-heading {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        flex-direction: column;
    }

    .container-fluid {
        width: 100%;
        padding: 10px 20px;
        margin: 0 auto;
    }

    .blog-section {
        width: 100%;
        margin-bottom: 20px;
    }

    .sidebar {
        width: 100%;
    }

    .blog-post .post-meta {
        flex-direction: column;
        text-align: center;
    }

    .blog-post .post-meta a {
        font-size: 1.1em;
    }

    .blog-post .post-meta .post-date,
    .blog-post .post-meta .post-views {
        font-size: 1em;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1em;
    }
}
