/* Miyū public blog — list + article (prose via wiki.css .markdown-body) */

.blog-page-main {
    font-family: 'Manrope', 'Poppins', system-ui, sans-serif;
    color: #f4f4f5;
    min-height: 50vh;
    background: #1d1e28;
}

.blog-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
}

.blog-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    letter-spacing: -0.03em;
}

.blog-hero p {
    margin: 0.35rem 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    max-width: 58ch;
}

.blog-hero-meta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.blog-hero-meta a {
    color: #ffb9d8;
    text-decoration: none;
    font-weight: 600;
}

.blog-hero-meta a:hover {
    color: #fff;
}

.blog-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 192, 220, 0.18);
    background: rgba(29, 30, 40, 0.96);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    min-height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 158, 199, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.blog-card-cover {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(255, 158, 199, 0.2), rgba(120, 100, 200, 0.15));
    overflow: hidden;
}

.blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-cover--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 158, 199, 0.5);
}

.blog-card-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.45rem;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.blog-card-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background: rgba(255, 158, 199, 0.12);
    color: #ffb9d8;
}

.blog-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
}

.blog-card-excerpt {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
    flex: 1;
}

.blog-card-footer {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.blog-empty {
    margin-top: 2rem;
    padding: 2.5rem;
    text-align: center;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
}

/* Article */
.blog-post-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.25rem 1.1rem 4rem;
}

.blog-breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.25rem;
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: #ffb9d8;
}

.blog-post-header {
    margin-bottom: 1.75rem;
}

.blog-post-header h1 {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    letter-spacing: -0.03em;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.blog-post-cover {
    margin: 0 0 1.75rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 192, 220, 0.2);
}

.blog-post-cover img {
    width: 100%;
    display: block;
    max-height: 420px;
    object-fit: cover;
}

.blog-post-article {
    color: #e8e2ee;
}

.blog-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-related h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 1rem;
}

.blog-related-list {
    display: grid;
    gap: 0.75rem;
}

.blog-related-link {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.blog-related-link:hover {
    border-color: rgba(255, 158, 199, 0.35);
    background: rgba(255, 158, 199, 0.08);
}

.blog-related-link span {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}
