/* Blog Detail Page Styles */

/* Breadcrumb */
.breadcrumb {
    background: #F5F5F5;
    padding: 1rem 2rem;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-content a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-content a:hover {
    color: #FF9E00;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

/* Article Header */
.article-header {
    background: white;
    padding: 3rem 2rem 2rem;
}

.article-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-category {
    display: inline-block;
    background: #FF9E00;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.article-date {
    font-size: 0.9rem;
    color: #999;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2C3E50;
    line-height: 1.4;
    margin: 0;
}

/* Featured Image */
.featured-image {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Article Content */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

/* Article Body */
.article-body {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem !important;
    font-weight: 500;
    color: #2C3E50 !important;
    line-height: 1.8 !important;
    margin-bottom: 3rem !important;
    padding: 1.5rem;
    background: #FFF8F0;
    border-left: 4px solid #FF9E00;
    border-radius: 0.5rem;
}

/* Headings */
.article-body h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #2C3E50;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #FF9E00;
    position: relative;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #FF9E00;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2C3E50;
    margin: 2.5rem 0 1.2rem;
    padding-left: 1rem;
    border-left: 5px solid #FF9E00;
}

/* Article Images */
.article-image {
    margin: 3rem 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

/* Tables */
.article-table {
    margin: 3rem 0;
    overflow-x: auto;
}

.article-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.article-table thead {
    background: linear-gradient(135deg, #FF9E00 0%, #FF8800 100%);
}

.article-table th {
    color: white;
    font-weight: 700;
    padding: 1.2rem 1rem;
    text-align: left;
    font-size: 0.95rem;
}

.article-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #E0E0E0;
    color: #333;
    font-size: 0.95rem;
}

.article-table tbody tr:last-child td {
    border-bottom: none;
}

.article-table tbody tr:hover {
    background: #FFF8F0;
}

.table-caption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
}

/* Article CTA */
.article-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF4E6 100%);
    border-radius: 1.5rem;
    text-align: center;
    border: 2px solid #FF9E00;
}

.article-cta h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2C3E50;
    margin: 0 0 1rem !important;
    padding: 0 !important;
    border: none !important;
}

.article-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem !important;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, #FF9E00 0%, #FF8800 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 3rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 158, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 158, 0, 0.4);
}

/* Related Posts Section */
.article-sidebar {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-widget {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #2C3E50;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #FF9E00;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #FF9E00;
}

/* Related Posts */
.related-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: #FAFAFA;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-post-content {
    flex: 1;
    padding: 1.25rem;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2C3E50;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post:hover .related-post-title {
    color: #FF9E00;
}

.related-post-date {
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 968px) {
    .related-posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-title {
        font-size: 2rem;
    }

    .article-body {
        padding: 2rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .article-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .breadcrumb {
        padding: 1rem;
    }

    .breadcrumb-content {
        font-size: 0.8rem;
    }

    .article-header {
        padding: 2rem 1rem 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .featured-image {
        padding: 0 1rem;
    }

    .featured-image img {
        height: 250px;
    }

    .article-content {
        padding: 0 1rem 3rem;
    }

    .article-body {
        padding: 1.5rem;
    }

    .article-sidebar {
        padding: 2rem 1.5rem;
    }

    .related-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-body p {
        font-size: 1rem;
    }

    .lead-text {
        font-size: 1.05rem !important;
        padding: 1rem;
    }

    .article-body h2 {
        font-size: 1.3rem;
        margin: 2rem 0 1rem;
    }

    .article-body h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.8rem;
    }

    .article-cta {
        padding: 2rem 1.5rem;
    }

    .article-cta h3 {
        font-size: 1.2rem;
    }

    .btn-cta {
        width: 100%;
        padding: 1rem 2rem;
    }

    .widget-title {
        font-size: 1.4rem;
    }

    .article-table {
        margin: 2rem -1.5rem;
    }

    .article-table table {
        font-size: 0.85rem;
    }

    .article-table th,
    .article-table td {
        padding: 0.8rem 0.6rem;
    }
}
