/* Blog Detail Page Styles */
.blog-detail-page {
    background: #f9f7fb;
    padding: 40px 0 60px;
    min-height: calc(100vh - var(--wd-header-h, 160px));
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 13px;
    color: #6a6a6a;
}

.breadcrumb a {
    color: #f26a30;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #c40545;
}

.breadcrumb span {
    color: #a0a0a0;
}

/* Blog Post Detail */
.blog-post-detail {
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 40px #150b3414;
    margin-bottom: 50px;
}

.blog-post-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f26a3014;
}

.blog-post-title {
    color: #1e1e1e;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-post-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6a6a6a;
    font-size: 14px;
}

.blog-post-date i {
    color: #f26a30;
}

.blog-post-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-excerpt {
    background: #faf5ff;
    border-right: 4px solid #f26a30;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-post-excerpt p {
    color: #434343;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

.blog-post-content {
    color: #434343;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: #1e1e1e;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-post-content h2 {
    font-size: 24px;
}

.blog-post-content h3 {
    font-size: 20px;
}

.blog-post-content h4 {
    font-size: 18px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 20px 0;
    padding-right: 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-post-content a {
    color: #f26a30;
    text-decoration: underline;
}

.blog-post-content a:hover {
    color: #c40545;
}

/* Blog Post Footer */
.blog-post-footer {
    padding-top: 30px;
    border-top: 1px solid #f26a3014;
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-post-share > span {
    color: #434343;
    font-size: 14px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #1877f2;
}

/* Related Posts */
.related-posts-section {
    margin-top: 50px;
}

.section-title {
    color: #1e1e1e;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px #150b340d;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px #150b3414;
}

.blog-card-image {
    display: block;
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
}

.blog-card-content time {
    color: #6a6a6a;
    font-size: 12px;
    display: block;
    margin-bottom: 12px;
}

.blog-card-content h3 {
    color: #1e1e1e;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.blog-card-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-content h3 a:hover {
    color: #f26a30;
}

.blog-card-excerpt {
    color: #6a6a6a;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-card-button {
    color: #f26a30;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.blog-card-button:hover {
    color: #c40545;
}

.blog-card-button::after {
    content: '←';
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-post-detail {
        padding: 30px;
    }

    .blog-post-title {
        font-size: 28px;
    }

    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .blog-detail-page {
        padding: 20px 0 40px;
    }

    .blog-post-detail {
        padding: 20px;
    }

    .blog-post-title {
        font-size: 24px;
    }

    .blog-post-content {
        font-size: 15px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-post-title {
        font-size: 20px;
    }

    .blog-post-share {
        flex-direction: column;
        align-items: flex-start;
    }
}

