/* Tokens inherited from global.css (single source of truth). */

.blog-single-wrapper {
    width: 100%;
    max-width: 100%;
    background: var(--wa-bg);
    min-height: 60vh;
    padding: 2.5rem 2rem 4rem;
}

.blog-single-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Breadcrumbs */
.blog-breadcrumbs {
    font-size: 0.82rem;
    color: #889992;
    margin-bottom: 1.5rem;
}
.blog-breadcrumbs a { color: var(--wa-green); text-decoration: none; font-weight: 500; }
.blog-breadcrumbs a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.5rem; color: #c4cfca; }
.breadcrumb-current { color: var(--gray-text); }

/* Article Header */
.article-header { margin-bottom: 1.5rem; }
.article-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: -0.6px;
    line-height: 1.15;
    color: var(--wa-dark);
    margin-bottom: 0.5rem;
}
.article-meta { display: flex; gap: 1rem; align-items: center; font-size: 0.85rem; color: var(--gray-text); }
.article-read-time { background: #e8f7ee; color: #1a7a3a; padding: 0.2rem 0.7rem; border-radius: 20px; font-weight: 600; font-size: 0.75rem; }

/* Featured Image */
.article-featured-image {
    margin-bottom: 1.5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.article-featured-image img { width: 100%; height: auto; display: block; }

/* Social Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(var(--wa-green-rgb),.08);
}
.share-label { font-weight: 700; font-size: 0.8rem; color: var(--wa-dark); margin-right: 0.3rem; }
.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.share-wa { background: var(--wa-green); color: #fff; }
.share-wa:hover { background: var(--wa-green-hover); }
.share-fb { background: #1877f2; color: #fff; }
.share-fb:hover { background: #1565c0; }
.share-tw { background: #1da1f2; color: #fff; }
.share-tw:hover { background: #0d8bd9; }
.share-copy { background: #f0f0f0; color: #3a5448; border: 1px solid #dce5e0; }
.share-copy:hover { background: #e0e0e0; }

/* Content */
.article-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2a3a32;
}
.article-content h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin: 2rem 0 0.8rem; color: var(--wa-dark); }
.article-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 1.8rem 0 0.6rem; color: var(--wa-dark); }
.article-content p { margin-bottom: 1.2rem; }
.article-content a { color: var(--wa-green); text-decoration: underline; font-weight: 500; }
.article-content ul, .article-content ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.4rem; }
.article-content img { max-width: 100%; border-radius: var(--radius-md); margin: 1.5rem 0; }
.article-content blockquote {
    border-left: 4px solid var(--wa-green);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f5faf7;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #3a5448;
}

/* Tags */
.article-tags {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.tags-label { font-weight: 700; font-size: 0.8rem; color: var(--wa-dark); }
.tags-list a {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: #f0faf3;
    color: #1a7a3a;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    margin: 0.2rem;
    transition: all 0.2s;
}
.tags-list a:hover { background: var(--wa-green); color: #fff; }

/* Related Posts */
.article-related { margin-top: 3rem; }
.related-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--wa-dark); margin-bottom: 1.2rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.related-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(var(--wa-green-rgb),.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 rgba(var(--wa-green-rgb),.2); }
.related-image { height: 130px; overflow: hidden; }
.related-image img { width: 100%; height: 100%; object-fit: cover; }
.related-post-title { display: block; font-weight: 700; font-size: 0.85rem; padding: 0.8rem 1rem 0.2rem; color: var(--wa-dark); line-height: 1.3; }
.related-post-date { display: block; font-size: 0.7rem; color: #889992; padding: 0 1rem 0.8rem; }

@media (max-width: 768px) {
    .blog-single-wrapper { padding: 1.5rem 1.2rem 3rem; }
    .article-content { font-size: 1rem; }
    .related-grid { grid-template-columns: 1fr; }
    .article-share { gap: 0.3rem; }
    .share-btn { padding: 0.35rem 0.7rem; font-size: 0.68rem; }
}