/* Blog Enhanced Styles - Modern UX 2025 */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Reading Progress Bar */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb, #1e40af);
    background-size: 200% 100%;
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    width: 0%;
    animation: progress-shimmer 2s linear infinite;
}

@keyframes progress-shimmer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* Table of Contents */
#table-of-contents {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


#table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#table-of-contents a {
    display: block;
    text-decoration: none;
    transition: all 0.2s;
}

#table-of-contents a:hover {
    transform: translateX(4px);
}

/* Enhanced TOC Scroll Spy */
.toc-active {
    color: #667eea !important;
    font-weight: 600 !important;
    position: relative;
    padding-left: 0.5rem;
}

.toc-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1.25rem;
    background: #667eea;
    border-radius: 2px;
}


.toc-inactive {
    opacity: 0.7;
    transition: opacity 0.2s;
}

/* Share Buttons */
.share-button {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-button:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.share-button.facebook { background: #1877f2; color: white; }
.share-button.twitter { background: #000000; color: white; }
.share-button.linkedin { background: #0077b5; color: white; }
.share-button.whatsapp { background: #25d366; color: white; }
.share-button.email { background: #6b7280; color: white; }

.share-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Article Share Buttons */
.article-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.article-share-buttons .share-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-right: 0.25rem;
}

.article-share-buttons .share-button {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-share-buttons {
        padding-top: 1rem;
        margin-top: 1rem;
    }
    
    .article-share-buttons .share-label {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}


/* Sticky Navigation */
#sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Article Navigation Logo */
.article-nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-nav-logo:hover {
    transform: translateY(-2px);
}

.article-nav-logo picture {
    flex-shrink: 0;
    display: block;
}

.article-nav-logo-img {
    width: 100px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

@media (min-width: 768px) {
    .article-nav-logo-img {
        width: 120px;
        max-width: 120px;
        max-height: 60px;
    }
}

@media (max-width: 640px) {
    .article-nav-logo-img {
        width: 80px;
        max-width: 80px;
        max-height: 40px;
    }
    
    .article-nav-container {
        padding: 0 0.5rem;
    }
}

.article-nav-logo:hover .article-nav-logo-img {
    transform: scale(1.05);
}


/* Scroll Animations */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-on-scroll.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #1e40af;
}


/* Related Articles */
.related-article-card {
    transition: all 0.3s ease;
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    #table-of-contents {
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 2rem;
    }

    .share-buttons-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        z-index: 100;
    }

    #sticky-nav {
        padding: 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* ============================================
   Enhanced Visual Elements for Blog Articles
   ============================================ */

/* Highlight Boxes - dla wyróżnień w artykułach */
.highlight-box {
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1.25rem 0;
    border-left: 3px solid;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.highlight-box p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.highlight-box ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}

.highlight-box li {
    margin-bottom: 0.375rem;
    font-size: 0.9375rem;
}

.highlight-box.pink {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left-color: #3b82f6;
}

.highlight-box.green {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-left-color: #0ea5e9;
}

.article-cta-main .highlight-box.green {
    background: #f0f9ff;
    border-left-color: #0ea5e9;
    border-left-width: 3px;
}

.highlight-box.blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: #3b82f6;
}

.highlight-box.purple {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: #2563eb;
}

.highlight-box.orange {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-left-color: #0ea5e9;
}

.highlight-box.yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left-color: #f59e0b;
}

/* Large Statistics Boxes */
.stat-box-large {
    background: white;
    border: 2px solid;
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat-box-large .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-box-large .stat-number {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    margin: 0.5rem 0;
}

.stat-box-large .stat-unit {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.stat-box-large .stat-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* Color variants for stat boxes - wszystkie w odcieniach niebieskiego */
.stat-box-large.stat-box-green {
    border-color: #0ea5e9;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.stat-box-large.stat-box-green .stat-number {
    color: #0369a1;
}

.stat-box-large.stat-box-blue {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.stat-box-large.stat-box-blue .stat-number {
    color: #1e40af;
}

.stat-box-large.stat-box-purple {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.stat-box-large.stat-box-purple .stat-number {
    color: #1e3a8a;
}

.stat-box-large.stat-box-orange {
    border-color: #60a5fa;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.stat-box-large.stat-box-orange .stat-number {
    color: #0284c7;
}

/* Testimonial Boxes */
.testimonial-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 3px solid #3b82f6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.25rem 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.testimonial-box .testimonial-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.7;
    line-height: 1;
}

.testimonial-box .testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
    font-style: italic;
    margin: 0 0 0.75rem 0;
    position: relative;
}

.testimonial-box .testimonial-text::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    color: #2563eb;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-box .testimonial-author {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 600;
    margin: 0.75rem 0 0 0;
    text-align: right;
}

/* Simple text CTA (inline in paragraphs) */
.cta-text-simple {
    font-style: italic;
    margin-top: 1rem;
}

.cta-text-simple a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cta-text-simple a:hover {
    color: #5568d3;
    text-decoration: none;
}


/* Inline CTA */
.cta-inline {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: white;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-inline:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.4);
}

.cta-inline .cta-inline-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.cta-inline .cta-inline-content {
    flex: 1;
}

.cta-inline .cta-inline-text {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: white;
    line-height: 1.4;
}

.cta-inline .cta-inline-subtext {
    font-size: 0.9375rem;
    margin: 0 0 0.875rem 0;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-inline .cta-inline-text p,
.cta-inline .cta-inline-subtext p {
    margin: 0;
}

/* Inline CTA Button */
.btn-cta-inline {
    display: inline-block;
    background: white;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-cta-inline:hover {
    background: #f3f4f6;
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Before/After Comparison */
.before-after-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.before-after-comparison .comparison-item {
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid;
}

.before-after-comparison .comparison-item.before {
    background: #fef2f2;
    border-color: #ef4444;
}

.before-after-comparison .comparison-item.after {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-color: #0ea5e9;
}

.before-after-comparison .comparison-label {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.before-after-comparison .comparison-item.before .comparison-label {
    color: #dc2626;
}

.before-after-comparison .comparison-item.after .comparison-label {
    color: #0369a1;
}

.before-after-comparison .comparison-content {
    color: #374151;
    line-height: 1.7;
}

.before-after-comparison .comparison-content ul {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.before-after-comparison .comparison-content li {
    margin-bottom: 0.5rem;
}

/* ROI Highlight Box - niebieski gradient */
.roi-highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.roi-highlight .roi-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.roi-highlight .roi-content {
    flex: 1;
}

.roi-highlight .roi-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e40af;
}

.roi-highlight .roi-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2563eb;
    margin: 0.5rem 0;
    line-height: 1;
}

.roi-highlight .roi-description {
    font-size: 1rem;
    color: #1e3a8a;
    line-height: 1.6;
    margin-top: 0.75rem;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 3rem 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
}


/* Stats Grid Container */
.stats-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* CTA Highlight Box */
.cta-highlight-box {
    margin: 1rem 0 !important;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem !important;
}

.cta-highlight-box p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 600;
}

.cta-highlight-box ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}

.cta-highlight-box li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.article-cta-main .cta-highlight-box {
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-box-large {
        padding: 1.5rem;
    }

    .stat-box-large .stat-number {
        font-size: 2.25rem;
    }

    .stat-box-large .stat-icon {
        font-size: 2rem;
    }

    .testimonial-box {
        padding: 1.5rem;
    }

    .testimonial-box .testimonial-text {
        font-size: 1rem;
    }

    .cta-inline {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .cta-inline .cta-inline-icon {
        font-size: 2rem;
    }
    
    .cta-inline .cta-inline-text {
        font-size: 1.125rem;
    }
    
    .cta-inline .cta-inline-subtext {
        font-size: 1rem;
    }

    .before-after-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .roi-highlight {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .roi-highlight .roi-number {
        font-size: 2rem;
    }
}

/* Cost Highlight */
.cost-highlight {
    color: #dc2626;
    font-size: 1.125rem;
    font-weight: bold;
}

.cost-highlight-large {
    font-size: 1.25rem;
}

/* Info Grid - dla porównań i gridów z informacjami */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.info-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.25rem 0;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-grid-large {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Chat Messages - dla rozmów z botem */
.chat-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 0.75rem;
}

.chat-message.client {
    background: #f3f4f6;
    margin-left: 1rem;
}

.chat-message.bot {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    margin-right: 1rem;
    border-left: 3px solid #3b82f6;
}

.chat-message p {
    margin: 0;
}

.chat-message-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.chat-message-text {
    font-weight: 500;
}

.chat-options {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-option {
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    background: #e0f2fe;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-option:hover {
    background: #bae6fd;
}

/* Step Box - dla kroków procesu z kolorowymi borderami */
.step-box {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid;
    margin: 1rem 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.step-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1f2937;
}

.step-box p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    color: #374151;
}

.step-box-green {
    border-left-color: #0ea5e9;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.step-box-blue {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.step-box-orange {
    border-left-color: #60a5fa;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.step-box-red {
    border-left-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.step-box-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-box-text {
    font-size: 0.875rem;
}

.step-box-small {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Step Box Variants - różne kolory */
.step-box-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: #3b82f6;
}

.step-box-green {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-left-color: #0ea5e9;
}

.step-box-purple {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: #2563eb;
}

.step-box-orange {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-left-color: #60a5fa;
}

/* Step Number Variants - różne kolory */
.step-number-blue {
    background: #2563eb;
}

.step-number-green {
    background: #16a34a;
}

.step-number-purple {
    background: #9333ea;
}

.step-number-orange {
    background: #ea580c;
}

/* Text size utilities */
.text-sm {
    font-size: 0.875rem;
}

.text-emoji-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.p-2 {
    padding: 2rem;
}

.m-1 {
    margin: 1rem 0;
}

.text-lg {
    font-size: 1.125rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mt-1 {
    margin-top: 1rem;
}

.list-summary {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

/* Info Box - dla boxów z informacjami w step-box */
.info-box {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
    margin-top: 0.75rem;
}

.info-box-blue {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.info-box-green {
    border-color: #0ea5e9;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.info-box-purple {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.info-box-orange {
    border-color: #60a5fa;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.info-box-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.info-box-list {
    font-size: 0.875rem;
}

/* Example Box - dla przykładów SMS/wiadomości */
.example-box {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    border-left: 3px solid #0ea5e9;
}

/* Stats Box - dla boxów ze statystykami w case studies */
.stats-box {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.stats-box-title {
    font-weight: bold;
    margin-bottom: 0.75rem;
}

/* Step Grid - dla gridów z krokami wdrożenia */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.step-grid-item {
    background: white;
    border: 2px solid;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.step-grid-item-blue {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.step-grid-item-green {
    border-color: #0ea5e9;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.step-grid-item-purple {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.step-grid-item-orange {
    border-color: #60a5fa;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

/* Summary Box - dla podsumowań */
.summary-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1.25rem 0;
}

.summary-box-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #1e40af;
}

.summary-box-list {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
    color: #1e3a8a;
}

/* Stat Number Colors - dla kolorów liczb w statystykach */
.stat-number-green {
    color: #0369a1;
}

.stat-number-blue {
    color: #1e40af;
}

.stat-number-orange {
    color: #0284c7;
}

/* Small Text - dla małych tekstów */
.text-small {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Summary Box Variants */
.summary-box-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1.25rem 0;
}

.summary-box-blue .summary-box-title {
    color: #1e40af;
}

.summary-box-blue .summary-box-list {
    color: #1e3a8a;
}

/* Case Study Box - dla boxów w case studies */
.case-box {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
}

.case-box-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.case-box-list {
    font-size: 0.8125rem;
}

/* Margin utilities */
.mt-1 {
    margin-top: 1rem;
}

.mt-1-5 {
    margin-top: 1.5rem;
}

/* ============================================
   Article Layout & Header Styles
   ============================================ */

/* Article Header Container */
.article-header {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 1.5rem 1rem 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

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

/* Article Breadcrumbs */
.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.article-breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.article-breadcrumbs a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.article-breadcrumbs span:last-child {
    color: #374151;
    font-weight: 500;
}

/* Article Category Badge */
.article-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Article Title */
.article-title {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
}

/* Article Lead (intro paragraph) */
.article-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 1rem 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .article-lead {
        font-size: 1rem;
    }
}

/* Article Meta */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 1rem;
    align-items: center;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Article Content Wrapper */
.article-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .article-content-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }
}

/* Article TOC (Table of Contents) */
.article-toc {
    display: none;
}

@media (min-width: 1024px) {
    .article-toc {
        display: block;
        position: sticky;
        top: 100px;
        align-self: start;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        padding: 1.5rem;
        background: white;
        border-radius: 0.75rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border: 1px solid #e5e7eb;
    }
}

.article-toc h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.article-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-toc li {
    margin-bottom: 0.5rem;
}

.article-toc a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    line-height: 1.5;
}

.article-toc a:hover {
    background: #f3f4f6;
    color: #2563eb;
    transform: translateX(4px);
}

.article-toc a.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
    border-left: 3px solid #2563eb;
    padding-left: 0.625rem;
}

/* Article TOC Mobile */
.article-toc-mobile {
    display: block;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
    .article-toc-mobile {
        display: none;
    }
}

.article-toc-mobile summary {
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 0.9375rem;
}

.article-toc-mobile ul {
    list-style: none;
    padding: 0.75rem 0 0 0;
    margin: 0;
}

.article-toc-mobile li {
    margin-bottom: 0.5rem;
}

.article-toc-mobile a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.article-toc-mobile a:hover {
    background: #e5e7eb;
    color: #2563eb;
}

/* Info Card (for info-grid) */
.info-card {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.info-card p {
    font-size: 0.9375rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Article Prose - Complete Typography Styles
   ============================================ */

/* Base article prose styles */
.article-prose {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    line-height: 1.65;
    color: #374151;
    font-size: 0.9375rem;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.article-prose h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.875rem;
    color: #1f2937;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.article-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
    line-height: 1.3;
    letter-spacing: -0.3px;
    padding-top: 0.5rem;
    border-top: 2px solid #e5e7eb;
}

.article-prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.625rem;
    color: #1f2937;
    line-height: 1.4;
}

.article-prose h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #374151;
    line-height: 1.5;
}

.article-prose h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.article-prose h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: 0.875rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.article-prose p {
    margin-bottom: 0.875rem;
    line-height: 1.65;
    color: #374151;
    font-size: 0.9375rem;
}

.article-prose ul,
.article-prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    line-height: 1.65;
}

.article-prose li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
    color: #374151;
    font-size: 0.9375rem;
}

.article-prose ul li {
    list-style-type: disc;
}

.article-prose ol li {
    list-style-type: decimal;
}

.article-prose a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-prose a:hover {
    color: #1e40af;
    text-decoration: none;
}

.article-prose strong {
    font-weight: 600;
    color: #1f2937;
}

.article-prose em {
    font-style: italic;
}

.article-prose blockquote {
    border-left: 3px solid #2563eb;
    padding: 0.875rem 1rem;
    margin: 1.25rem 0;
    font-style: italic;
    color: #4b5563;
    background: #f9fafb;
    border-radius: 0 6px 6px 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.article-prose blockquote p {
    margin: 0;
}

.article-prose code {
    background: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
    color: #1f2937;
}

.article-prose pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
}

.article-prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.article-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: block;
}

.article-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    font-size: 0.9375rem;
}

.article-prose table th {
    background: #f3f4f6;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.875rem;
}

.article-prose table td {
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
}

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

.article-prose table tr:hover {
    background: #f9fafb;
}

/* Schedule Box - dla harmonogramów */
.article-prose .schedule-box {
    background: #f9fafb;
    border-left: 4px solid #1e3a5f;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-prose .schedule-box p {
    margin: 0;
    color: #374151;
}

/* Chat Messages - dla rozmów z botem */
.article-prose .chat-message {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-prose .chat-message.client {
    background: #f3f4f6;
    border-left-color: #6b7280;
}

.article-prose .chat-message.bot {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: #3b82f6;
}

/* Responsive styles for article-prose */
@media (max-width: 768px) {
    .article-header {
        padding: 1.25rem 1rem 0.875rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-lead {
        font-size: 1rem;
    }
    
    .article-prose {
        font-size: 0.9375rem;
        padding: 0;
    }
    
    .article-prose h1 {
        font-size: 1.625rem;
        margin-top: 1.5rem;
    }
    
    .article-prose h2 {
        font-size: 1.375rem;
        margin-top: 1.5rem;
        padding-top: 0.5rem;
    }
    
    .article-prose h3 {
        font-size: 1.125rem;
        margin-top: 1.25rem;
    }
    
    .article-prose h4 {
        font-size: 1rem;
    }
    
    .article-prose p {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }
    
    .article-prose ul,
    .article-prose ol {
        margin-bottom: 0.875rem;
    }
    
    .article-prose table {
        font-size: 0.875rem;
    }
    
    .article-prose table th,
    .article-prose table td {
        padding: 0.5rem 0.75rem;
    }
    
    .article-prose .schedule-box {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .article-prose .chat-message {
        padding: 0.75rem 1rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.9375rem;
    }
}

@media (max-width: 768px) {
    .info-grid,
    .info-grid-large {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chat-message {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

/* Fade in on scroll */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Slide in from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay for multiple elements */
.fade-in-on-scroll[data-delay="100"] {
    transition-delay: 0.1s;
}

.fade-in-on-scroll[data-delay="200"] {
    transition-delay: 0.2s;
}

.fade-in-on-scroll[data-delay="300"] {
    transition-delay: 0.3s;
}

.fade-in-on-scroll[data-delay="400"] {
    transition-delay: 0.4s;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in-on-scroll,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Article CTA Section */
.article-cta {
    background: #f9fafb;
    padding: 2rem 0;
    margin: 2rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.article-content-wrapper .article-cta {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 0;
    margin: 2rem 0;
    grid-column: 1 / -1;
}

.article-cta-grid {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .article-cta-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 2rem;
        max-width: 100%;
        text-align: left;
        padding: 0 2rem;
    }
    
    .article-cta-main {
        text-align: left;
        align-items: flex-start;
    }
    
    .article-cta-main h2,
    .article-cta-main p {
        text-align: left;
        max-width: 100%;
    }
    
    .article-cta-main .highlight-box {
        max-width: 100%;
    }
    
    .article-cta-buttons {
        justify-content: flex-start;
        max-width: 100%;
    }
}

.article-cta-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    align-items: center;
}

.article-cta-main h2 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.article-cta-main p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 1rem 0;
    text-align: center;
    max-width: 100%;
}

.article-cta-main .highlight-box {
    margin: 1rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    text-align: left;
}

.article-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    max-width: 100%;
}

.article-cta-button {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.2);
    text-align: center;
    flex: 1;
    min-width: 160px;
    box-sizing: border-box;
}

.article-cta-button:hover {
    background: #5a67d8;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.article-cta-button-secondary {
    background: white;
    color: #667eea;
    border: 1px solid #667eea;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.article-cta-button-secondary:hover {
    background: #f3f4f6;
    color: #5a67d8;
    border-color: #5a67d8;
}

/* Article Related Section */
.article-related {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
}

@media (min-width: 1024px) {
    .article-related {
        text-align: left;
    }
}

.article-related h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-related li {
    margin-bottom: 0.5rem;
}

.article-related a {
    display: block;
    padding: 0.5rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    line-height: 1.5;
}

.article-related a:hover {
    background: #f3f4f6;
    color: #667eea;
    padding-left: 0.75rem;
}

@media (max-width: 768px) {
    .article-cta {
        padding: 1.5rem 0;
    }
    
    .article-content-wrapper .article-cta {
        padding: 1.25rem 0;
    }
    
    .article-cta-grid {
        gap: 1.25rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .article-cta-main {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .article-cta-main h2 {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .article-cta-main p {
        font-size: 0.875rem;
        text-align: center;
        max-width: 100%;
    }
    
    .article-cta-main .highlight-box,
    .article-cta-main .cta-highlight-box {
        margin: 0.875rem 0;
        padding: 0.875rem !important;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }
    
    .article-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.625rem;
        justify-content: center;
        max-width: 100%;
    }
    
    .article-cta-button {
        width: 100%;
        min-width: 100%;
        text-align: center;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .article-related {
        padding: 0.875rem;
    }
    
    .article-related h3 {
        font-size: 0.9375rem;
    }
    
    .article-related a {
        font-size: 0.8125rem;
        padding: 0.5rem;
    }
}

/* Author Info */
.article-author-info {
    margin: 3rem 0;
    padding: 2rem;
    background: #f3f4f6;
    border-radius: 1rem;
    border-left: 4px solid #667eea;
}

.author-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 0.25rem;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.author-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-links {
    display: flex;
    gap: 1rem;
}

.author-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.author-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Social Proof Elements */
.article-view-count {
    color: #6b7280;
    font-size: 0.875rem;
    margin-left: 1rem;
}

.trending-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 1rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.trending-icon {
    font-size: 1rem;
}

.trending-text {
    font-weight: 600;
}

/* Recently Viewed Section */
.recently-viewed-section {
    margin: 2rem 0;
    padding: 2rem 0;
}

.recently-viewed-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

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

.recently-viewed-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
}

.recently-viewed-item:hover {
    background: #f3f4f6;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.recently-viewed-title-text {
    font-weight: 600;
    font-size: 0.9375rem;
}

.recently-viewed-date {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Content Recommendations Widget */
.content-recommendations-widget {
    margin: 3rem 0;
    padding: 2rem;
    background: #f3f4f6;
    border-radius: 1rem;
    border-left: 4px solid #667eea;
}

.recommendations-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

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

.recommendation-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
}

.recommendation-item:hover {
    background: #f3f4f6;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.recommendation-title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.recommendation-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .author-content {
        flex-direction: column;
        text-align: center;
    }
    
    .author-links {
        justify-content: center;
    }
    
    .recently-viewed-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .content-recommendations-widget {
        padding: 1.5rem;
    }
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    position: relative;
    overflow: hidden;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hiding {
    opacity: 0;
    transform: translateX(400px);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.notification-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.notification-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    transform-origin: left;
}

.notification-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left;
}

@keyframes notification-progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Notification Types */
.notification-success {
    border-left: 4px solid #10b981;
}

.notification-success .notification-progress::after {
    background: #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error .notification-progress::after {
    background: #ef4444;
}

.notification-warning {
    border-left: 4px solid #f59e0b;
}

.notification-warning .notification-progress::after {
    background: #f59e0b;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification-info .notification-progress::after {
    background: #3b82f6;
}

/* Mobile */
@media (max-width: 768px) {
    .notification-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
    
    .notification {
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .notification.hiding {
        transform: translateY(-100px);
    }
}

/* Share Counts */
.share-count {
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: 0.5rem;
    font-weight: 500;
}

.share-total-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #374151;
}

.share-total-icon {
    font-size: 1rem;
}

.share-total-text {
    font-weight: 600;
}

/* PDF Export Button */
.pdf-export-button {
    background: #ef4444 !important;
}

.pdf-export-button:hover {
    background: #dc2626 !important;
    transform: translateY(-2px) scale(1.1);
}

.pdf-icon {
    font-size: 1.25rem;
}

/* Reading Statistics Widget */
.reading-stats-widget {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1200px;
}

.stats-header {
    margin-bottom: 1.5rem;
}

.stats-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.75rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Image Lightbox */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}

.lightbox-close {
    top: -60px;
    right: 0;
}

.lightbox-prev {
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-caption {
    margin-top: 1rem;
    color: white;
    text-align: center;
    font-size: 0.875rem;
    max-width: 80vw;
}

.lightbox-counter {
    position: absolute;
    top: -60px;
    left: 0;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

.lightbox-trigger {
    transition: opacity 0.2s;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
    
    .lightbox-counter {
        top: 1rem;
        left: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
}

.tags-label {
    font-weight: 600;
    color: #6b7280;
    margin-right: 0.5rem;
}

.article-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: white;
    color: #667eea;
    border: 1px solid #667eea;
    border-radius: 1.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.article-tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.active-tag-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #667eea;
    color: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.tag-badge-label {
    font-weight: 600;
}

.tag-badge-name {
    font-weight: 700;
    text-transform: capitalize;
}

.tag-badge-remove {
    margin-left: auto;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.tag-badge-remove:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tag-cloud-item {
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    color: #667eea;
    border-radius: 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.tag-cloud-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Keyboard Shortcuts */
.keyboard-shortcuts-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.shortcuts-modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.shortcuts-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.shortcuts-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.shortcuts-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.shortcuts-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.shortcuts-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.shortcut-item:hover {
    background: #f3f4f6;
}

.shortcut-item kbd {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-family: monospace;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 2.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shortcut-item span {
    flex: 1;
}

.keyboard-shortcuts-hint {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #667eea;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    z-index: 1000;
    font-weight: 500;
    transition: opacity 0.3s;
    pointer-events: none;
}

@media (max-width: 768px) {
    .keyboard-shortcuts-hint {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        font-size: 0.875rem;
    }
}

/* Reading Mode */
.reading-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
    margin-left: 1rem;
}

.reading-mode-toggle:hover {
    background: #e5e7eb;
    border-color: #667eea;
    color: #667eea;
}

.reading-mode-toggle.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.reading-mode-toggle.active:hover {
    background: #5a67d8;
    border-color: #5a67d8;
}

.reading-mode-icon {
    font-size: 1.125rem;
}

.reading-mode-label {
    font-weight: 600;
}

/* Reading Mode Active Styles */
body.reading-mode-active {
    overflow: hidden;
}

body.reading-mode-active .article-nav,
body.reading-mode-active .article-share-buttons,
body.reading-mode-active .article-toc,
body.reading-mode-active .article-toc-mobile,
body.reading-mode-active .article-cta,
body.reading-mode-active .article-related,
body.reading-mode-active .footer,
body.reading-mode-active .back-to-top,
body.reading-mode-active #scroll-progress {
    display: none !important;
}

body.reading-mode-active .article-prose {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

body.reading-mode-active .article-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem;
}

body.reading-mode-active .reading-mode-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.reading-mode-active .article-content-wrapper {
    max-width: 100%;
}

@media (max-width: 768px) {
    body.reading-mode-active .article-prose {
        padding: 1rem;
    }
    
    body.reading-mode-active .article-header {
        padding: 1rem;
    }
    
    .reading-mode-toggle {
        margin-left: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .reading-mode-label {
        display: none;
    }
}

/* Lazy Loading Styles */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy-loading {
    opacity: 0.5;
    background: #f3f4f6;
}

img.lazy-loaded {
    opacity: 1;
}

img.lazy-error {
    opacity: 0.3;
    background: #fee2e2;
}

.lazy-bg-loaded {
    transition: background-image 0.3s;
}

/* PWA Install Button */
.pwa-install-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    margin-left: 0.5rem;
}

.pwa-install-button:hover {
    background: #5a67d8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.pwa-install-button:active {
    transform: translateY(0);
}

.pwa-install-icon {
    font-size: 1rem;
}

.pwa-install-text {
    font-weight: 600;
}

@media (max-width: 768px) {
    .pwa-install-text {
        display: none;
    }
    
    .pwa-install-button {
        padding: 0.5rem;
        min-width: 2.5rem;
        justify-content: center;
    }
}

/* Error Message Styles */
.error-message {
    position: fixed;
    top: 1rem;
    right: 1rem;
    max-width: 400px;
    background: #fee2e2;
    border: 2px solid #ef4444;
    border-radius: 0.5rem;
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease;
}

.error-message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.error-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.error-text {
    flex: 1;
    font-weight: 500;
}

.error-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #ef4444;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.error-close:hover {
    background: rgba(239, 68, 68, 0.1);
}

.error-message.error-hiding {
    animation: slideOutRight 0.3s ease;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Bookmark Button Styles */
.bookmark-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
    margin-right: 1rem;
}

.bookmark-button:hover {
    background: #e5e7eb;
    border-color: #667eea;
    color: #667eea;
}

.bookmark-button.bookmarked {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.bookmark-button.bookmarked:hover {
    background: #5a67d8;
    border-color: #5a67d8;
}

.bookmark-icon {
    font-size: 1.125rem;
}

.bookmark-text {
    font-weight: 600;
}

.bookmark-feedback {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 1000;
    font-weight: 600;
    animation: slideInUp 0.3s ease;
}

.bookmark-feedback-hide {
    animation: slideOutDown 0.3s ease;
    opacity: 0;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.bookmarks-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #374151;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
}

.bookmarks-link:hover {
    background: #f3f4f6;
    color: #667eea;
}

.bookmarks-icon {
    font-size: 1rem;
}

.bookmarks-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.bookmarks-empty p {
    margin: 0.5rem 0;
    font-size: 1.125rem;
}

/* Share Button Improvements */
.share-button.copied {
    background: #10b981 !important;
    transform: scale(1.1);
}

.share-button.copy-error {
    background: #ef4444 !important;
}

/* Resume Reading Prompt */
.resume-reading-prompt {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #667eea;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideInUp 0.3s ease;
    max-width: 500px;
    width: 90%;
}

.resume-prompt-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resume-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.resume-text {
    flex: 1;
    font-weight: 500;
}

.resume-button {
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.resume-button:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.resume-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.resume-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.resume-reading-prompt.resume-hiding {
    animation: slideOutDown 0.3s ease;
    opacity: 0;
}

@media (max-width: 768px) {
    .bookmark-button {
        margin-right: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .bookmark-text {
        display: none;
    }
    
    .error-message {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .bookmark-feedback {
        right: 1rem;
        left: 1rem;
    }
    
    .resume-reading-prompt {
        left: 1rem;
        right: 1rem;
        transform: none;
        width: auto;
    }
    
    .resume-prompt-content {
        flex-wrap: wrap;
    }
    
    .resume-text {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .article-nav,
    .article-share-buttons,
    .article-cta,
    .article-related,
    .footer,
    .back-to-top,
    #scroll-progress,
    .article-toc,
    .article-toc-mobile,
    button,
    .btn,
    .share-button {
        display: none !important;
    }
    
    .article-header {
        page-break-after: avoid;
        border-bottom: 2px solid #000;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .article-title {
        font-size: 24pt;
        margin-bottom: 0.5rem;
    }
    
    .article-prose {
        max-width: 100%;
    }
    
    .article-prose h2 {
        page-break-after: avoid;
        font-size: 18pt;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .article-prose h3 {
        page-break-after: avoid;
        font-size: 14pt;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .article-prose p {
        margin-bottom: 0.75rem;
    }
    
    .article-prose img {
        max-width: 100%;
        page-break-inside: avoid;
    }
    
    .article-prose ul,
    .article-prose ol {
        page-break-inside: avoid;
    }
    
    .article-meta {
        font-size: 10pt;
        color: #666;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
    
    .highlight-box,
    .cta-inline,
    .info-box {
        border: 1px solid #000;
        page-break-inside: avoid;
        padding: 1rem;
        margin: 1rem 0;
    }
    
    @page {
        margin: 2cm;
    }
    
    @page:first {
        margin-top: 3cm;
    }
}

