/* Modern Blog Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Blog List Styling */
.blog-card-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.10);
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
}

.blog-card-content:hover {
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.18);
    transform: translateY(-4px) scale(1.02);
}

.blog-card-inner {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Blog Type Badge */
.blog-type-badge {
    padding: 0 1rem;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-product {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-category {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
}

/* Blog Title */
.blog-title {
    padding: 0 1rem;
}

.blog-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-title-link:hover {
    color: var(--primary-color, #007bff);
}

.blog-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a202c;
    margin: 0;
    transition: color 0.3s ease;
}

.blog-heading:hover {
    color: var(--primary-color, #007bff);
}

/* Blog Meta */
.blog-meta {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-category {
    font-size: 0.875rem;
    color: var(--primary-color, #007bff);
    font-weight: 600;
    background: rgba(0, 123, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.blog-date {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
}

/* Blog Excerpt */
.blog-excerpt {
    padding: 0 1rem;
    flex-grow: 1;
}

.blog-excerpt-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Action */
.blog-action {
    padding: 1rem;
    margin-top: auto;
}

.btn-read-more {
    background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-read-more:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.3);
}

/* Blog Post Container and Article */
.blog-post-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.blog-post {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
}

.blog-post-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 3rem;
}

.blog-post-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-post-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #2d3748;
}

/* Blog Introduction */
.blog-introduction {
    margin-bottom: 3rem;
}

.blog-introduction .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #2d3748;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Blog Featured Image */
.blog-featured-image {
    text-align: center;
    margin: 3rem 0;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Blog Sections */
.blog-sections {
    margin-bottom: 3rem;
}

/* Remove background, border, and border-radius from content/conclusion sections */
.content-section, .conclusion-section {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.75rem;
    margin-top: 2.5rem;
}

.blog-paragraph {
    margin-bottom: 2rem;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #2d3748;
}

/* FAQ section remains visually distinct */
.faq-section {
    margin-top: 3rem;
    padding: 2rem 1rem;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.07);
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.faq-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section .accordion-item {
    margin-bottom: 0.5rem;
    background: none !important;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    padding: 0 !important;
}

.faq-section .accordion-button {
    background: #f8fafc;
    border: none;
    font-weight: 600;
    color: #2d3748;
    padding: 0.75rem 1.25rem;
    min-height: unset;
}

.faq-section .accordion-body {
    padding: 1rem 1.25rem;
    background: white;
    line-height: 1.7;
}

.faq-section .accordion-item:first-child {
    margin-top: 0;
}

.faq-section .accordion-item:last-child {
    margin-bottom: 0;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6b7280;
    font-weight: bold;
}

.breadcrumb-item a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #6b7280;
}

/* Blog Post Meta */
.blog-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 0.95rem;
}

.blog-post-date,
.blog-post-type {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.related-articles-header {
    text-align: center;
    margin-bottom: 2rem;
}

.related-articles-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.related-articles-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

.related-article-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.related-article-body {
    padding: 1.5rem;
}

.related-article-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.related-article-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-title a:hover {
    color: var(--primary-color, #007bff);
}

.related-article-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-footer {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.btn-related-article {
    background: transparent;
    color: var(--primary-color, #007bff);
    border: 2px solid var(--primary-color, #007bff);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-related-article:hover {
    background: var(--primary-color, #007bff);
    color: white;
    transform: translateY(-2px);
}

/* Blog List Page Improvements */
.news_detail_page {
    padding: 3rem 0;
}

.news_detail_page .card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news_detail_page .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Blog Page Title and Subtitle */
.blog-page-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* No Blogs Message */
.no-blogs-message {
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

.no-blogs-message h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.no-blogs-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* Blog Dropdown Menu Improvements */
.blog-dropdown-menu {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e5e7eb;
}

.blog-dropdown-menu .navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
}

.blog-dropdown-menu .navbar-nav .nav-link:hover {
    color: var(--primary-color, #007bff);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .blog-heading {
        font-size: 1.1rem;
    }
    
    .blog-card-content {
        padding: 1.5rem !important;
    }
    
    .blog-post-body {
        padding: 2rem 0;
    }
    
    .related-articles-title {
        font-size: 1.5rem;
    }
    
    .related-article-card {
        margin-bottom: 1rem;
    }
    
    .blog-page-title {
        font-size: 2.5rem;
    }
    
    .blog-page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section,
    .conclusion-section,
    .faq-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .faq-title {
        font-size: 1.5rem;
    }
    
    .blog-post {
        max-width: 98vw;
        padding: 0;
    }
    
    .blog-post-container {
        max-width: 100vw;
        padding: 1rem 0.5rem;
    }
    
    .faq-section {
        padding: 1.2rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .blog-post-container {
        padding: 1rem;
    }
    
    .blog-post-title {
        font-size: 1.75rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .blog-type-badge,
    .blog-action {
        padding: 0.75rem;
    }
    
    .blog-page-title {
        font-size: 2rem;
    }
    
    .blog-page-subtitle {
        font-size: 1rem;
    }
    
    .no-blogs-message {
        padding: 2rem 1rem;
    }
    
    .content-section,
    .conclusion-section,
    .faq-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .faq-title {
        font-size: 1.25rem;
    }
}

/* Animation for blog cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Print styles */
@media print {
    .blog-card-inner,
    .related-article-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .btn-read-more,
    .btn-related-article {
        display: none;
    }
} 