.blog-item-page {
    background: #ffffff;
    padding: 24px 0 34px;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    color: #98a1ad;
    margin-bottom: 20px;
}

.blog-breadcrumb a {
    color: #868C98;
    text-decoration: none;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
}

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

.blog-breadcrumb span {
    font-size: 9px;
    color: #c5ccd5;
}

.blog-breadcrumb strong {
    color: #0A0D14;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0A0D14;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 82px;
}

.blog-back-link:hover {
    color: #111827;
    text-decoration: none;
}

.blog-detail-head {
    max-width: 820px;
    margin: 0 auto 30px;
    text-align: center;
}

.blog-detail-head h1 {
    font-size: 36px;
    line-height: 52px;
    font-weight: 600;
    margin: 0;
    color: #0A0D14;
}

.blog-detail-head p {
    margin: 5px auto 0;
    font-size: 16px;
    line-height: 1.7;
    color: #5f6875;
}

.blog-detail-cover {
    max-width: 840px;
    height: 300px;
    margin: 0 auto 22px;
    border-radius: 12px;
    overflow: hidden;
    background: #d9d9d9;
}

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

.blog-detail-meta {
    max-width: 840px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    color: #5f6875;
    font-size: 13px;
}

.blog-detail-meta div {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.blog-detail-meta i {
    color: #111827;
    font-size: 13px;
}

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

.blog-detail-content {
    max-width: 840px;
    margin: 0 auto;
    color: #1f2933;
    font-size: 14px;
    line-height: 1.72;
    font-weight: 400;
    white-space: pre-line;
}

.blog-share-area {
    max-width: 840px;
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-share-area span {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.blog-share-area a {
    width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    background: #ffffff;
    text-decoration: none;
    transition: 0.2s ease;
}

.blog-share-area a:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.related-blogs-section {
    background: #ffffff;
    padding: 34px 0 60px;
}

.related-blogs-section h2 {
    font-size: 26px;
    line-height: 20px;
    font-weight: 600;
    color: #0A0D14;
    margin: 0 0 20px;
}

.related-blogs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.related-blog-card {
    display: block;
    background: #ffffff;
    border: 1px solid #dfe3ea;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

.related-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: inherit;
}

.related-blog-image {
    height: 122px;
    margin: 8px 8px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #e5e7eb;
}

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

.related-blog-author {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

.related-blog-author span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-shadow: none;
}

.related-blog-body {
    padding: 12px 10px 11px;
}

.related-blog-body h3 {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
    margin: 0 0 7px;
    min-height: 33px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-blog-body p {
    color: #374151;
    font-size: 11px;
    line-height: 1.45;
    margin: 0 0 11px;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-blog-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.related-blog-tags span {
    padding: 4px 8px;
    border: 1px solid #dfe3ea;
    border-radius: 999px;
    color: #6b7280;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 78px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1199px) {
    .related-blogs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .blog-back-link {
        margin-bottom: 52px;
    }

    .blog-detail-head h1 {
        font-size: 32px;
    }

    .blog-detail-cover {
        height: 230px;
    }

    .related-blogs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-item-page {
        padding-top: 18px;
    }

    .blog-breadcrumb {
        margin-bottom: 20px;
    }

    .blog-back-link {
        margin-bottom: 42px;
        font-size: 13px;
    }

    .blog-detail-head {
        margin-bottom: 34px;
    }

    .blog-detail-head h1 {
        font-size: 26px;
        line-height: 1.35;
    }

    .blog-detail-head p {
        font-size: 14px;
    }

    .blog-detail-cover {
        height: 210px;
        border-radius: 10px;
    }

    .blog-detail-meta {
        gap: 10px 14px;
        font-size: 12px;
    }

    .blog-detail-content {
        font-size: 13px;
        line-height: 1.7;
    }

    .related-blogs-section h2 {
        font-size: 22px;
    }

    .related-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .blog-detail-head h1 {
        font-size: 23px;
    }

    .blog-detail-cover {
        height: 190px;
    }

    .related-blogs-grid {
        grid-template-columns: 1fr;
    }

    .related-blog-image {
        height: 180px;
    }
}