/* Blog Styles - Standalone version without main styles.css dependency */

/* CSS Reset for blog page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Reset any conflicting styles from main CSS */
body.blog-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6 !important;
    background: #fff !important;
    color: #333 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100vh !important;
    position: relative !important;
}

body.blog-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.blog-header {
    background: #fff !important;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 20px 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    display: block !important;
    visibility: visible !important;
}

.header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    visibility: visible !important;
}

.logo-section .nura-logo {
    height: 40px !important;
    width: auto !important;
    display: block !important;
    visibility: visible !important;
}

.logo-link {
    text-decoration: none !important;
    display: inline-block !important;
    visibility: visible !important;
}

.blog-nav .nav-link {
    color: #666 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
    visibility: visible !important;
}

.blog-nav .nav-link:hover {
    color: #000 !important;
}

/* Article Header */
body.blog-page .article-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    padding: 60px 0 40px !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.article-category {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.article-date, .article-read-time {
    font-weight: 500;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin: 20px 0;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Content */
body.blog-page .blog-content {
    padding: 60px 0;
    background: #fff;
    display: block !important;
    visibility: visible !important;
}

body.blog-page .blog-article {
    max-width: 800px;
    margin: 0 auto;
    display: block !important;
    visibility: visible !important;
}

body.blog-page .article-section {
    margin-bottom: 40px;
    display: block !important;
    visibility: visible !important;
}

body.blog-page .article-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: block !important;
    visibility: visible !important;
}

body.blog-page .article-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
    display: block !important;
    visibility: visible !important;
}

body.blog-page .article-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #555;
    margin: 20px 0 10px 0;
    display: block !important;
    visibility: visible !important;
}

body.blog-page .lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    display: block !important;
    visibility: visible !important;
}

body.blog-page .article-section p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
    display: block !important;
    visibility: visible !important;
}

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

.article-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

/* Content Clusters */
.content-cluster {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.content-cluster h4 {
    margin-top: 0;
    color: #007bff;
}

/* SEO Tips Grid */
.seo-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.seo-tip {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.seo-tip h3 {
    margin-top: 0;
    color: #007bff;
    font-size: 1.1rem;
}

.seo-tip p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Keyword List */
.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.keyword {
    background: #e3f2fd;
    color: #1565c0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #bbdefb;
}

/* Action Step */
.action-step {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.action-step p {
    margin: 0;
    font-weight: 500;
    color: #856404;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.cta-content h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: #22c55e;
}

/* Article Footer */
.article-footer {
    border-top: 1px solid #e5e5e5;
    padding-top: 40px;
    margin-top: 60px;
}

.share-section p {
    margin-bottom: 15px;
    font-weight: 500;
    color: #666;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Blog Footer */
.blog-footer {
    background: #f8f9fa;
    padding: 40px 0 20px;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    text-align: center;
}

.footer-nura-logo {
    height: 30px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.footer-copyright p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .seo-tips-grid {
        grid-template-columns: 1fr;
    }

    .keyword-list {
        justify-content: center;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .share-buttons {
        justify-content: center;
    }

    .blog-content {
        padding: 40px 0;
    }

    .article-section {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 40px 0 30px;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 30px 20px;
    }

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

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Blog Articles Section */
.blog-articles-section {
    padding: 0 0 80px;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-card.featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.article-card.featured .article-image {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.article-card.featured .article-content {
    flex: 1;
    padding: 40px;
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.article-category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-read-time {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.article-content {
    padding: 30px;
}

.article-card:not(.featured) .article-content {
    padding: 25px;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.article-card.featured .article-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.article-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.article-card.featured .article-content p {
    font-size: 1rem;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #888;
}

.article-date, .article-author {
    font-weight: 500;
}

.article-link {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.article-link:hover {
    color: #0056b3;
    transform: translateX(5px);
}

/* Media Preview Badges */
.article-media-preview {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.media-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-badge.video {
    background: #ff4757;
    color: white;
}

.media-badge.image {
    background: #3742fa;
    color: white;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #007bff;
}

.newsletter-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Blog CTA Section */
.blog-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.blog-cta-section .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.blog-cta-section .cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-cta-section .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.blog-cta-section .cta-button {
    background: #25d366;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.blog-cta-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #22c55e;
}

.blog-cta-section .cta-subtitle {
    margin-top: 15px;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Video and Image Embeds */
.article-section iframe {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.article-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    display: block;
}

/* Specific styles for the productivity article media */
.article-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    margin: 20px 0;
}

.article-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* Responsive image sizing */
@media (max-width: 768px) {
    .article-image {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .article-image {
        max-height: 200px;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .articles-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-card.featured {
        flex-direction: column;
    }

    .article-card.featured .article-image {
        flex: none;
        height: 200px;
    }

    .article-card.featured .article-content {
        padding: 25px;
    }

    .article-card.featured .article-content h2 {
        font-size: 1.6rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-input {
        min-width: 300px;
    }

    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 40px 0 30px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-content h2 {
        font-size: 1.6rem;
    }

    .blog-cta-section .cta-content h2 {
        font-size: 1.8rem;
    }

    .newsletter-input {
        min-width: 250px;
    }
}

/* Print Styles */
@media print {
    .blog-header,
    .article-footer,
    .blog-footer,
    .share-section,
    .newsletter-section,
    .blog-cta-section {
        display: none;
    }

    .blog-hero {
        background: white;
        color: black;
        padding-top: 0;
    }

    .article-header {
        background: white;
        padding-top: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .article-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}
