
/* blog.css - Blog listing & post page helpers */

.blog-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0 10px;
    flex-wrap: wrap;
}

.blog-search {
    flex: 1;
    min-width: 240px;
    position: relative;
}

.blog-search input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(2, 6, 23, 0.35);
    color: inherit;
    outline: none;
}

body.light-theme .blog-search input {
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(71, 85, 105, 0.18);
}

.empty-state {
    text-align: center;
    padding: 40px 15px;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    margin-top: 25px;
}

.post-hero {
    padding: 30px 0 10px;
}

.post-back {
    margin-bottom: 18px;
}

.post-title {
    font-size: 2.2rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.post-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    opacity: 0.85;
}

.post-cover {
    margin: 22px 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.post-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    line-height: 1.9;
    font-size: 1.05rem;
}

.post-content h2,
.post-content h3 {
    margin-top: 22px;
    margin-bottom: 10px;
}

.post-content p {
    margin: 10px 0;
}

.post-content ul {
    padding-right: 22px;
    padding-left: 0;
    margin: 12px 0;
    list-style: disc;
}

html[dir="ltr"] .post-content ul {
    padding-left: 22px;
    padding-right: 0;
}
