.blog-view-page {
    padding: 28px 0 70px;
}

.blog-view-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-post-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 54px rgba(0,0,0,0.08);
    border: 1px solid #edf2f7;
}

.blog-post-header {
    padding: 34px 34px 26px;
    background: linear-gradient(180deg, #fdf2f8 0%, #ffffff 100%);
    border-bottom: 1px solid #f8dfe6;
}

.post-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.post-category {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fce7f3;
    color: #be185d;
    font-weight: 800;
    font-size: 0.82rem;
}

.back-link {
    text-decoration: none;
    color: #be185d;
    font-weight: 700;
}

.back-link:hover {
    text-decoration: underline;
}

.blog-post-header h1 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 2.7rem;
    line-height: 1.15;
}

.post-meta {
    margin: 0;
    color: #6b7280;
    font-size: 0.98rem;
    line-height: 1.7;
}

.post-author {
    font-weight: 700;
    color: #111827;
}

.blog-post-image {
    width: 100%;
    background: #f8fafc;
    overflow: hidden;
}

.blog-post-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
}

.blog-post-content {
    padding: 34px;
    color: #374151;
    line-height: 1.9;
    font-size: 1.04rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: #111827;
    line-height: 1.35;
    margin-top: 1.8em;
    margin-bottom: 0.7em;
}

.blog-post-content h2:first-child,
.blog-post-content h3:first-child,
.blog-post-content h4:first-child,
.blog-post-content p:first-child {
    margin-top: 0;
}

.blog-post-content p {
    margin: 0 0 1.15em;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 1.2em 1.4em;
    color: #374151;
}

.blog-post-content li {
    margin-bottom: 0.6em;
}

.blog-post-content a {
    color: #be185d;
    font-weight: 700;
    text-decoration: none;
}

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

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 20px 0;
}

.blog-post-content blockquote {
    margin: 1.5em 0;
    padding: 18px 20px;
    border-left: 4px solid #db2777;
    background: #fdf2f8;
    border-radius: 0 18px 18px 0;
    color: #4b5563;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 16px;
    display: block;
    overflow-x: auto;
}

.blog-post-content th,
.blog-post-content td {
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    text-align: left;
}

.blog-post-content th {
    background: #fdf2f8;
    color: #111827;
}

.blog-post-footer {
    padding: 0 34px 34px;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(190, 24, 93, 0.18);
    transition: transform 0.22s ease;
}

.back-to-blog:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-view-shell {
        padding: 0 14px;
    }

    .blog-view-page {
        padding: 20px 0 50px;
    }

    .blog-post-card {
        border-radius: 22px;
    }

    .blog-post-header {
        padding: 24px 20px 20px;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-content {
        padding: 24px 20px;
        font-size: 1rem;
    }

    .blog-post-footer {
        padding: 0 20px 24px;
    }

    .blog-post-image img {
        max-height: none;
    }
}

@media (max-width: 480px) {
    .blog-post-header h1 {
        font-size: 1.75rem;
    }

    .post-header-top {
        align-items: flex-start;
        flex-direction: column;
    }
}