/* Blog Post Specific Styles */

/* Blog Hero Section */
.blog-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.blog-breadcrumb {
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.blog-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-breadcrumb a:hover {
    opacity: 0.7;
}

.blog-breadcrumb .separator {
    margin: 0 10px;
    opacity: 0.5;
}

.blog-hero-title {
    font: 800 42px/1.2 Montserrat, sans-serif;
    margin-bottom: 25px;
    max-width: 900px;
}

.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    font-size: 14px;
}

.blog-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-hero-meta i {
    opacity: 0.8;
    font-size: 13px;
}

.blog-category-badge {
    background: #e53935;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Blog Layout */
.blog-content-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-layout {
    max-width: 900px;
    margin: 0 auto;
}

.blog-main {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.blog-content {
    padding: 40px;
}

/* Blog Introduction */
.blog-introduction {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
}

.blog-introduction p {
    text-align: justify;
}

.blog-lead {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: justify;
}

/* Table of Contents */
.blog-toc {
    background: #f8f9fa;
    border-left: 4px solid #e53935;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 4px;
}

.toc-title {
    font: 700 18px/1 Montserrat, sans-serif;
    margin-bottom: 20px;
    color: #1e1e2e;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-nav a {
    color: #666;
    text-decoration: none;
    padding-left: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.toc-nav a:before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toc-nav a:hover {
    color: #e53935;
    padding-left: 25px;
}

.toc-nav a:hover:before {
    opacity: 1;
}

/* Blog Sections */
.blog-section {
    margin-bottom: 50px;
}

.section-title {
    font: 800 28px/1.2 Montserrat, sans-serif;
    color: #1e1e2e;
    margin-bottom: 25px;
    padding-top: 20px;
}

.subsection {
    margin: 30px 0;
}

.subsection-title {
    font: 700 22px/1.2 Montserrat, sans-serif;
    color: #333;
    margin-bottom: 15px;
}

.blog-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.blog-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.blog-section li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #555;
}

/* Highlight List */
.highlight-list {
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(5px);
}

.highlight-item i {
    color: #e53935;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 5px;
}

.highlight-item strong {
    display: block;
    margin-bottom: 8px;
    color: #1e1e2e;
    font-size: 18px;
}

.highlight-item p {
    margin: 0;
    font-size: 15px;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
    display: flex;
    gap: 15px;
    align-items: start;
}

.warning-box i {
    color: #ff9800;
    font-size: 20px;
    flex-shrink: 0;
}

.warning-box p {
    margin: 0;
    color: #856404;
}

/* Spec Cards */
.spec-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.spec-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.spec-card:hover {
    border-color: #e53935;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.spec-card h4 {
    color: #e53935;
    font: 700 20px/1 Montserrat, sans-serif;
    margin-bottom: 10px;
}

.spec-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* BN Table */
.bn-table {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin: 25px 0;
}

.bn-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    border-bottom: 1px solid #e0e0e0;
}

.bn-row:last-child {
    border-bottom: none;
}

.bn-rating {
    background: #e53935;
    color: #fff;
    padding: 15px 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.bn-desc {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    background: #f8f9fa;
}

/* Factors Grid */
.factors-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.factor-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.factor-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.factor-title {
    font: 700 20px/1.2 Montserrat, sans-serif;
    color: #1e1e2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.factor-title i {
    color: #e53935;
}

/* Featured Section */
.featured-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 40px;
    margin: 40px -40px;
    border-top: 3px solid #e53935;
}

.section-intro {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
}

/* Product Showcase */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.product-category {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-title {
    font: 700 18px/1 Montserrat, sans-serif;
    color: #e53935;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.product-item:hover {
    background: #e8e9ea;
}

.product-item strong {
    display: block;
    color: #1e1e2e;
    margin-bottom: 5px;
}

.product-item span {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Certification Note */
.certification-note {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 20px;
    margin-top: 30px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.certification-note i {
    color: #4caf50;
    font-size: 24px;
}

.certification-note p {
    margin: 0;
    color: #2e7d32;
    font-weight: 500;
}

/* Best Practices Grid */
.best-practices-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.practice-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
}

.practice-icon {
    width: 60px;
    height: 60px;
    background: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.practice-icon i {
    color: #fff;
    font-size: 24px;
}

.practice-title {
    font: 700 20px/1.2 Montserrat, sans-serif;
    color: #1e1e2e;
    margin-bottom: 15px;
}

/* Conclusion Section */
.conclusion-section {
    background: #f8f9fa;
    padding: 30px;
    margin: 40px -40px 0;
    border-left: 4px solid #e53935;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    font: 700 18px/1 Montserrat, sans-serif;
    color: #1e1e2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e53935;
}

.widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-links li {
    margin-bottom: 12px;
}

.widget-links a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.widget-links a:hover {
    color: #e53935;
}

.widget-links i {
    font-size: 14px;
    width: 20px;
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-post {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-post:hover {
    background: #e53935;
    transform: translateX(5px);
}

.related-post h4 {
    font: 600 15px/1.4 Montserrat, sans-serif;
    color: #333;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.related-post:hover h4 {
    color: #fff;
}

.related-meta {
    font-size: 13px;
    color: #999;
    transition: color 0.3s ease;
}

.related-post:hover .related-meta {
    color: rgba(255,255,255,0.8);
}

/* Contact Widget */
.contact-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #e53935;
}

.contact-widget p {
    margin-bottom: 20px;
    color: #666;
}

.widget-phone,
.widget-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.widget-phone {
    background: #e53935;
    color: #fff;
}

.widget-phone:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

.widget-whatsapp {
    background: #25d366;
    color: #fff;
}

.widget-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Share Widget */
.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn i {
    color: #fff;
    font-size: 16px;
}

.share-linkedin {
    background: #0077b5;
}

.share-linkedin:hover {
    background: #005582;
    transform: translateY(-3px);
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #0c5bbf;
    transform: translateY(-3px);
}

.share-twitter {
    background: #1da1f2;
}

.share-twitter:hover {
    background: #0c7abf;
    transform: translateY(-3px);
}

.share-email {
    background: #666;
}

.share-email:hover {
    background: #333;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 28px;
    }
    
    .blog-hero-meta {
        gap: 15px;
        font-size: 13px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .spec-cards {
        grid-template-columns: 1fr;
    }
    
    .featured-section {
        margin: 30px -20px;
        padding: 30px 20px;
    }
    
    .conclusion-section {
        margin: 30px -20px 0;
    }
}