
.blog-detail-section {
    padding: 40px 0 60px;
    margin-top: 13vh;
    background: var(--bg-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--text-dark-low);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-dark-low);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 12px;
    color: #d1d5db;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.blog-detail-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.05);
}

.article-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid #f1f5f9;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-category {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date,
.article-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-dark-low);
}

.article-date i,
.article-read-time i {
    font-size: 12px;
    color: var(--primary-color);
}

.article-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.author-title {
    font-size: 13px;
    color: var(--text-dark-low);
}

.article-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 40px;
    color: var(--text-dark);
    line-height: 1.7;
}

.article-lead {
    font-size: 1.1rem;
    color: var(--text-dark-low);
    font-weight: 500;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 32px 0 16px;
    letter-spacing: -0.3px;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 28px 0 14px;
}

.article-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 24px 0 12px;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    margin: 32px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-dark-low);
    position: relative;
}

.article-body blockquote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 16px;
    font-family: serif;
}

.article-highlight {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.article-highlight h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 16px;
}

.article-footer {
    padding: 30px 40px 40px;
    border-top: 1px solid #f1f5f9;
    background: #f8f9fa;
}

.article-tags {
    margin-bottom: 24px;
}

.tag-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 12px;
    font-size: 14px;
}

.tag {
    display: inline-block;
    background: white;
    color: var(--text-dark-low);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
    font-size: 16px;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn i {
    font-size: 14px;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.05);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.back-to-blog {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.back-to-blog:hover {
    background: var(--primary-color);
    color: white;
}

.back-to-blog i {
    font-size: 14px;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-post {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.related-post-content h4 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-content h4 a:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 12px;
    color: var(--text-dark-low);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.category-list a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.category-list span {
    color: var(--text-dark-low);
    font-size: 12px;
}

@media (max-width: 1200px) {
    .blog-detail-layout {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-sidebar {
        order: 1;
    }
    
    .article-header {
        padding: 30px 30px 24px;
    }
    
    .article-body {
        padding: 30px;
    }
    
    .article-footer {
        padding: 24px 30px 30px;
    }
}

@media (max-width: 768px) {
    .blog-detail-section {
        padding: 30px 0 40px;
        margin-top: 12vh;
    }
    
    .breadcrumb {
        margin-bottom: 24px;
        font-size: 13px;
        gap: 6px;
    }
    
    .blog-detail-layout {
        gap: 30px;
    }
    
    .article-header {
        padding: 24px 20px 20px;
    }
    
    .article-body {
        padding: 24px 20px;
    }
    
    .article-footer {
        padding: 20px 20px 24px;
    }
    
    .article-meta {
        gap: 12px;
    }
    
    .article-image {
        height: 220px;
    }
    
    .article-share {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .sidebar-widget {
        padding: 18px;
    }
    
    .blog-sidebar {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .blog-detail-section {
        padding: 24px 0 32px;
        margin-top: 11vh;
    }
    
    .breadcrumb {
        margin-bottom: 20px;
        font-size: 12px;
        gap: 4px;
    }
    
    .blog-detail-layout {
        gap: 24px;
    }
    
    .article-header {
        padding: 20px 16px 16px;
    }
    
    .article-body {
        padding: 20px 16px;
    }
    
    .article-footer {
        padding: 16px 16px 20px;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .sidebar-widget {
        padding: 16px;
    }
    
    .blog-sidebar {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .blog-detail-section {
        padding: 20px 0 28px;
        margin-top: 10vh;
    }
    
    .breadcrumb {
        margin-bottom: 16px;
        font-size: 11px;
        gap: 3px;
    }
    
    .breadcrumb i {
        font-size: 10px;
    }
    
    .blog-detail-layout {
        gap: 20px;
    }
    
    .article-header {
        padding: 16px 12px 12px;
    }
    
    .article-body {
        padding: 16px 12px;
    }
    
    .article-footer {
        padding: 12px 12px 16px;
    }
    
    .article-image {
        height: 180px;
    }
    
    .sidebar-widget {
        padding: 14px;
    }
    
    .blog-sidebar {
        gap: 14px;
    }
    
    .related-post-image {
        width: 70px;
        height: 50px;
    }
    
    .related-post-content h4 {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .blog-detail-section {
        padding: 16px 0 24px;
        margin-top: 9vh;
    }
    
    .breadcrumb {
        margin-bottom: 12px;
        font-size: 10px;
        gap: 2px;
    }
    
    .blog-detail-layout {
        gap: 16px;
    }
    
    .article-header {
        padding: 12px 8px 8px;
    }
    
    .article-body {
        padding: 12px 8px;
    }
    
    .article-footer {
        padding: 8px 8px 12px;
    }
    
    .article-image {
        height: 160px;
    }
    
    .sidebar-widget {
        padding: 12px;
    }
    
    .blog-sidebar {
        gap: 12px;
    }
    
    .related-post {
        gap: 8px;
    }
    
    .related-post-image {
        width: 60px;
        height: 45px;
    }
    
    .related-post-content h4 {
        font-size: 12px;
    }
    
    .widget-title {
        font-size: 1rem;
    }
}
