/* BLOG MAIN LAYOUT */
.blog_main {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* BLOG CONTAINERS */
.blog_container {
    background: rgba(15, 19, 30, 0.7);
    padding: 15px;
    border-radius: 10px;
    width: 300px;
    min-height: 350px;
    text-align: left;
    box-sizing: border-box;
}

/* BLOG IMAGES */
.blog_image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 2px solid rgba(111, 228, 255, 0.2);
}

.blog_container h2 {
    color: #6fe4ff;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(111, 228, 255, 0.3);
    padding-bottom: 8px;
}

.blog_container p {
    color: #a0a8c3;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 60px;
}

.read_more {
    display: inline-block;
    background: #ff4d94;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.read_more:hover {
    background: #e03d80;
    text-decoration: none;
}

.blog_image_large {
    width: auto;
    height: 300px;
    box-shadow: 0px 0px 100px 10px rgb(78, 82, 112);
    border: solid rgb(82, 74, 98);
    display: block;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: rgb(40, 198, 146);
    font-size: 20px;
}

a:hover {
    color: rgb(31, 110, 84);
}

/* POST BODY (detail page, keeps line breaks) */
.post_body {
    white-space: pre-line;
    color: #a0a8c3;
    font-size: 16px;
    line-height: 1.6;
}

/* ADMIN: New Post button on blog list */
.blog_admin_bar {
    text-align: right;
    margin-bottom: 20px;
    width: 100%;
}

.blog_admin_bar .auth_button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 18px;
    background: #ff4d94;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.blog_admin_bar .auth_button:hover {
    background: #e03d80;
}

/* FOOTER BAR: centered Back To Blog, admin buttons bottom-left */
.blog_footer_bar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.footer_left {
    position: absolute;
    left: 20px;
    display: flex;
    gap: 10px;
}

.blog_footer_bar .auth_button {
    text-decoration: none;
    padding: 8px 16px;
    background: #6fe4ff;
    color: #0a0e17;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.blog_footer_bar .auth_button:hover {
    background: #4fc8e8;
}

.blog_footer_bar .delete_btn {
    background: #ff4d94;
    color: #fff;
}

.blog_footer_bar .delete_btn:hover {
    background: #e03d80;
}

.auth_container.wide {
    max-width: 900px;
    width: 100%;
}

.auth_form textarea {
    width: 100%;
    min-height: 300px;
    box-sizing: border-box;
    resize: vertical;
}
