.post-detail-wrapper {
    background: #fff;
    padding: 20px 0 40px;
    color: #333
}

.pd-breadcrumb {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.pd-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s
}

.pd-breadcrumb a:hover {
    color: #e3a6ab
}

.pd-breadcrumb .current {
    color: #059669
}

.pd-layout {
    display: flex;
    gap: 21px;
    align-items: flex-start
}

.pd-main {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px 20px;
    border: 1px solid #eaeaea
}

.pd-sidebar {
    width: 340px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #eaeaea;
    position: sticky;
    top: 170px
}

.pd-body.js-article-body ul li {
    padding: 8px 0;
    margin-left: 20px
}

.pd-body.js-article-body ul {
    padding-bottom: 14px
}

.pd-header-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px
}

.pd-badge {
    color: #e3a6ab;
    border: 1px solid #e3a6ab;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.pd-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b
}

.pd-date svg {
    width: 16px;
    height: 16px
}

.pd-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 14px 0
}

.pd-excerpt {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 30px
}

.pd-toc {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden
}

.pd-toc-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    user-select: none
}

.pd-toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #64748b;
    font-size: 13px;
    letter-spacing: 0.5px
}

.pd-toc-title svg {
    width: 18px;
    height: 18px
}

.pd-toc-count {
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 5px
}

.pd-toc-body {
    padding: 0 20px 25px;
    border-top: 1px solid #e2e8f0
}

.pd-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 20px
}

.pd-toc-list li {
    margin-bottom: 15px
}

.pd-toc-list li:last-child {
    margin-bottom: 0
}

.pd-toc-list a {
    color: #1e293b;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    gap: 10px
}

.pd-toc-list a:hover {
    color: #e3a6ab
}

.pd-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #e3a6ab;
    margin: 0 0 20px 0
}

.pd-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px
}

.pd-body img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px
}

.pd-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 25px 0
}

.pd-sidebar-title svg {
    width: 20px;
    height: 20px;
    color: #e3a6ab
}

.pd-related-list {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.pd-related-item {
    display: flex;
    gap: 15px;
    align-items: flex-start
}

.pd-related-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0
}

.pd-related-info {
    flex: 1
}

.pd-related-info a {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    transition: color 0.2s
}

.pd-related-info a:hover {
    color: #e3a6ab
}

.pd-related-date {
    font-size: 12px;
    color: #94a3b8
}

@media (max-width:991px) {
    .pd-excerpt {
        padding: 8px;
        margin-bottom: 10px
    }

    .pd-toc {
        margin-bottom: 15px
    }

    .pd-layout {
        flex-direction: column
    }

    .pd-sidebar {
        position: unset;
        width: 100%
    }
}

@media (max-width:575px) {
    .pd-main {
        padding: 10px 10px
    }

    .pd-sidebar {
        padding: 20px
    }

    .pd-title {
        font-size: 19px
    }
}