/* Blog Styles - Matching Homepage Theme */

:root {
    /* Colors matching homepage */
    --bg-primary: #f0f5ff;
    --bg-secondary: #ffffff;
    --bg-light: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-dark: #2563eb;
    --accent-light: #60a5fa;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --transition-fast: 0.15s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #f0f9ff 100%);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
}

/* Soft glow effect like homepage */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
.blog-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.blog-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-logo {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-logo img {
    height: 32px;
    width: auto;
}

.blog-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.blog-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.blog-menu a:hover {
    color: var(--accent-primary);
}

/* Main Content */
.blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.hero-section h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

/* Blog Card - Clean Design */
.blog-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-light);
}

/* Card Header */
.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

/* Category Badge */
.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent-primary);
    color: white;
}



.blog-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card-title {
    margin-bottom: 0.5rem;
}

.blog-card-title a {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--accent-primary);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Card Footer/Meta */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}



/* ==========================================
   SINGLE BLOG POST - EYE-CATCHING DESIGN
   ========================================== */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f857a6 100%);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Article Header - Premium Design */
.article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.article-header::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Article Title - Gradient Text */
.article-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #667eea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

/* Article Meta - Modern Pills */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.article-meta span:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: var(--accent-light);
    transform: translateY(-1px);
}

/* Article Excerpt - Highlighted Quote */
.article-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #667eea 0%, #764ba2 100%) 1;
    border-radius: 0 12px 12px 0;
    margin-bottom: 2rem;
    position: relative;
}

.article-excerpt::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Article Content - Premium Typography */
.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-primary);
    max-width: 720px;
}

/* Section Headings with Accent */
.article-content h2 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 3rem 0 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-content h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 28px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

.article-content h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
    padding-left: 1rem;
    border-left: 3px solid var(--accent-light);
}

.article-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--accent-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
}

.article-content ol {
    counter-reset: item;
}

.article-content ol li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 700;
    background: linear-gradient(180deg, transparent 60%, rgba(102, 126, 234, 0.15) 60%);
}

.article-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    background: linear-gradient(180deg, transparent 85%, rgba(102, 126, 234, 0.3) 85%);
    transition: all 0.2s ease;
}

.article-content a:hover {
    background: linear-gradient(180deg, transparent 60%, rgba(102, 126, 234, 0.3) 60%);
    color: #764ba2;
}

/* Tables - Premium Style */
.article-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.article-content th,
.article-content td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.article-content th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.article-content tr:hover td {
    background: rgba(102, 126, 234, 0.04);
}

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

/* Info Boxes - Modern Card Style */
.info-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-box::before {
    content: '💡';
    position: absolute;
    left: 1.25rem;
    top: 1.5rem;
    font-size: 1.5rem;
}

.info-box.tip {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.info-box.tip::before {
    content: '✨';
}

.info-box.warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
}

.info-box.warning::before {
    content: '⚠️';
}

.info-box.note {
    border-left: 4px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0.02) 100%);
}

.info-box.note::before {
    content: '📌';
}

.info-box h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* AdSense Containers - Optimized for Performance */
.ad-container {
    margin: 2.5rem 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ad-container::before {
    content: 'Advertisement';
    position: absolute;
    top: 0.5rem;
    left: 0.75rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.ad-in-content {
    margin: 2rem -0.5rem;
    width: calc(100% + 1rem);
}

/* Full-width horizontal ad */
.ad-horizontal {
    min-height: 90px;
    margin: 2rem 0;
}

/* Large rectangle ad */
.ad-rectangle {
    min-height: 250px;
    max-width: 336px;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Author Box */
.author-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   ARTICLE WITH SIDEBAR LAYOUT
   ========================================== */

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.article-main {
    min-width: 0;
}

/* Sidebar Styles */
.article-sidebar {
    position: sticky;
    top: 100px;
}

/* Sidebar Section */
.sidebar-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-section-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Trending Posts in Sidebar */
.trending-post {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.trending-post:first-child {
    padding-top: 0;
}

.trending-post:hover .trending-post-title {
    color: #667eea;
}

.trending-post-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-post-content {
    flex: 1;
    min-width: 0;
}

.trending-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.trending-post-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        max-height: none;
        margin-top: 2rem;
    }

    .sidebar-section {
        max-width: 100%;
    }
}

/* Related Posts */
.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.related-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.related-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer */
.blog-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-secondary);
}

.blog-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-footer a:hover {
    color: var(--accent-primary);
}

.blog-footer p {
    margin: 0.5rem 0;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 10px;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent-primary);
    background: var(--bg-light);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 900;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Hardware Tools Section - Matching Homepage Style */
.tools-section {
    margin-top: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.tools-section h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.tool-link {
    padding: 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    text-align: center;
    transition: all 0.3s;
}

.tool-link:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tool-link .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.tool-link .label {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 2rem 1.5rem;
    }

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

    .article-content h2 {
        font-size: 1.35rem;
    }

    .article-content h3 {
        font-size: 1.15rem;
    }

    .blog-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .blog-header {
        padding: 0.75rem 0;
    }

    .blog-nav {
        padding: 0 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile slide-out menu */
    .blog-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 2rem;
        z-index: 950;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .blog-menu.active {
        right: 0;
    }

    .blog-menu li {
        width: 100%;
    }

    .blog-menu a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
    }

    .blog-menu a:hover {
        background: var(--bg-light);
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .article-excerpt {
        padding: 1rem;
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .blog-logo img {
        height: 28px !important;
    }

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

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

    .article-content h2 {
        font-size: 1.25rem;
        margin: 2rem 0 0.75rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
    }

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

    .article-content th,
    .article-content td {
        padding: 0.5rem;
    }

    .blog-card-title a {
        font-size: 1.1rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .tool-link {
        padding: 0.75rem;
    }

    .tool-link .icon {
        font-size: 1.5rem;
    }

    .tool-link .label {
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {

    .ad-container,
    .blog-header,
    .blog-footer,
    .related-posts,
    .mobile-menu-toggle,
    .mobile-overlay {
        display: none;
    }

    body {
        background: white;
    }

    .blog-container {
        max-width: 100%;
    }
}

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

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-image figcaption {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1.4;
}

/* Breadcrumb Navigation */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

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

.breadcrumb a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
}

/* Social Sharing Buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.share-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-twitter:hover {
    background: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.share-facebook:hover {
    background: #4267B2;
    color: white;
    border-color: #4267B2;
}

.share-linkedin:hover {
    background: #0077B5;
    color: white;
    border-color: #0077B5;
}

.share-copy:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* Engagement Widget */
.engagement-widget {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f5ff 0%, #f8fafc 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.engagement-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.engagement-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.engagement-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.engagement-yes {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #c8e6c9;
}

.engagement-yes:hover {
    background: #c8e6c9;
    transform: translateY(-1px);
}

.engagement-no {
    background: #fce4ec;
    color: #c62828;
    border-color: #f8bbd0;
}

.engagement-no:hover {
    background: #f8bbd0;
    transform: translateY(-1px);
}

.engagement-thanks {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 1rem 0;
}

@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

    .engagement-buttons {
        flex-direction: column;
    }
}

/* Site Footer */
.site-footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 2rem 1rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* Affiliate Disclosure */
.affiliate-disclosure {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.6;
}

.affiliate-disclosure strong {
    color: #78350f;
    background: none;
}

.affiliate-disclosure-bottom {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 2rem 0 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}