.article-page-container{min-height:100vh;background-color:var(--bg-primary);color:var(--text-primary)}.article-layout{display:grid;grid-template-columns:1fr;gap:var(--space-4);max-width:1200px;margin:0 auto;padding:var(--space-3)}@media (min-width:1024px){.article-layout{grid-template-columns:2fr 1fr;gap:var(--space-6);padding:var(--space-4)}}.article-layout-with-toc{display:grid;grid-template-columns:1fr;gap:var(--space-4);max-width:1400px;margin:0 auto;padding:var(--space-3)}@media (min-width:1024px){.article-layout-with-toc{grid-template-columns:280px 1fr;gap:var(--space-6);padding:var(--space-4);align-items:start}}@media (min-width:1280px){.article-layout-with-toc{grid-template-columns:280px 1fr 300px;gap:var(--space-6);max-width:1600px}}.article-layout-no-toc{display:grid;grid-template-columns:1fr;gap:var(--space-4);max-width:900px;margin:0 auto;padding:var(--space-3)}@media (min-width:1024px){.article-layout-no-toc{padding:var(--space-4)}}@media (min-width:1280px){.article-layout-no-toc{grid-template-columns:1fr 300px;gap:var(--space-6);max-width:1400px}}.article-main-content{background-color:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);padding:var(--space-2);box-shadow:var(--shadow-md);min-height:-moz-fit-content;min-height:fit-content}@media (max-width:768px){.article-main-content{padding:var(--space-1);border-radius:var(--radius);border:none}}.article-header{margin-bottom:var(--space-4);padding-bottom:var(--space-1);border-bottom:1px solid var(--border)}.article-meta{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-2);flex-wrap:wrap}.article-category{display:inline-flex;padding:var(--space-1) var(--space-2);background:var(--bg-secondary);font-size:var(--text-xs);font-weight:var(--font-semibold);border-radius:var(--radius-full);text-transform:capitalize;letter-spacing:.05em}.article-category,.article-header time{align-items:center;color:var(--text-secondary)}.article-header time{display:flex;gap:var(--space-2);font-size:var(--text-sm)}.article-title{font-family:var(--font-heading),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:clamp(var(--text-2xl),4vw,var(--text-3xl));font-weight:700;line-height:var(--leading-tight);letter-spacing:var(--tracking-tight);color:var(--text-primary);-webkit-background-clip:text;background-clip:text}.article-description{font-size:var(--text-lg);line-height:var(--line-relaxed);color:var(--text-secondary);margin:0 0 var(--space-4) 0;font-style:italic}.article-author{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);color:var(--text-secondary)}.author-link{color:var(--primary);text-decoration:none;font-weight:600;padding:2px 6px;border-radius:4px;transition:all .15s ease;border-bottom:1px solid transparent}.author-link:hover{color:var(--primary-dark);background:var(--primary-light,rgba(59,130,246,.1));text-decoration:none;transform:translateY(-1px)}.author-link:focus{outline:2px solid var(--primary);outline-offset:2px}.author-link.fast-click{touch-action:manipulation}.responsive-image-container{margin:var(--space-6) 0;position:relative}.responsive-image-wrapper{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);transition:all .3s ease;background-color:var(--bg-secondary)}.responsive-image-wrapper:hover{box-shadow:var(--shadow-xl);transform:translateY(-2px)}.responsive-image{width:100%;height:auto;display:block;transition:all .3s ease;opacity:0}.responsive-image.loaded{opacity:1}.responsive-image.loading{opacity:0}.responsive-image:hover{transform:scale(1.02)}.image-placeholder.clickable,.responsive-image-clickable-wrapper,.responsive-image-wrapper.clickable,.responsive-image.clickable{cursor:pointer}.responsive-image-clickable-wrapper{display:block;position:relative}.responsive-image-clickable-wrapper:hover{opacity:.95}body.viewer-open{overflow:hidden}.image-skeleton{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite}.image-placeholder{width:100%;height:200px;display:flex;align-items:center;justify-content:center}.image-placeholder,.responsive-image-caption{background-color:var(--bg-secondary);color:var(--text-secondary);font-size:var(--text-sm)}.responsive-image-caption{margin-top:var(--space-3);padding:var(--space-3);border-radius:var(--radius);border-left:4px solid var(--accent);font-style:italic;line-height:var(--line-relaxed)}@media (min-width:680px){.article-main-content{position:relative}.responsive-image-container{float:right;max-width:280px;margin:0 0 var(--space-4) var(--space-4);clear:right}.article-content{overflow:visible}.article-content:after{content:"";display:table;clear:both}.responsive-image-container+.article-content blockquote,.responsive-image-container+.article-content h1,.responsive-image-container+.article-content h2,.responsive-image-container+.article-content h3,.responsive-image-container+.article-content h4,.responsive-image-container+.article-content h5,.responsive-image-container+.article-content h6,.responsive-image-container+.article-content ol,.responsive-image-container+.article-content p,.responsive-image-container+.article-content ul{text-align:justify;word-wrap:break-word;hyphens:auto}}@media (max-width:679px){.responsive-image-container{float:none;max-width:100%;margin:var(--space-4) 0}.responsive-image-wrapper{max-width:680px;width:100%;height:auto}.article-content{text-align:left}.article-content blockquote,.article-content h1,.article-content h2,.article-content h3,.article-content h4,.article-content h5,.article-content h6,.article-content ol,.article-content p,.article-content ul{text-align:left;hyphens:none}}.global-image-viewer-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.9);z-index:10000;display:flex;align-items:center;justify-content:center;cursor:pointer}.global-image-viewer-container{position:relative;max-width:90vw;max-height:90vh;cursor:default}.global-close-btn{position:absolute;top:-50px;right:0;background:rgba(255,255,255,.2);border:none;color:white;font-size:40px;cursor:pointer;z-index:10001;width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s}.global-close-btn:hover{background:rgba(255,255,255,.3)}.global-viewer-image{max-width:100%;max-height:90vh;width:auto;height:auto;display:block;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.5)}.global-viewer-caption{position:absolute;bottom:-60px;left:0;right:0;color:white;text-align:center;font-size:16px;padding:10px;background-color:rgba(0,0,0,.7);border-radius:4px}.article-content{font-size:var(--text-base);line-height:var(--line-relaxed);color:var(--text-primary)}.article-image-details{margin:2rem 0;padding:1.5rem;background-color:var(--bg-secondary,#f8f9fa);border-radius:8px;border:1px solid var(--border-color,#e9ecef)}.article-image-details h3{margin:0 0 1rem;font-size:1.2rem;font-weight:600;color:var(--text-primary)}.image-details-list{display:flex;flex-direction:column;gap:1rem}.image-detail-item{display:flex;gap:1rem;align-items:flex-start}.image-detail-thumbnail{flex-shrink:0;width:60px;height:60px;border-radius:4px;overflow:hidden;border:1px solid var(--border-color,#e9ecef)}.detail-thumb{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.image-detail-content h4{margin:0 0 .5rem;font-size:.875rem;font-weight:500;color:var(--text-primary)}.image-detail-content p{margin:0;font-size:12px;line-height:1.4;color:var(--text-secondary)}.article-image-wrapper{margin:1rem 0}.article-image-details{color:var(--text-secondary,#666);margin-top:8px;padding:0 .5rem}@media (prefers-color-scheme:dark){.article-image-details{color:var(--text-secondary,#aaa)}}@media (max-width:768px){.article-image-details{font-size:11px!important;padding:0 .25rem}}.article-image-details{font-size:12px!important;color:var(--text-secondary,#666666);line-height:1.4;font-style:italic;padding:8px 12px;background-color:var(--bg-tertiary,#f8f9fa);border-radius:0 4px 4px 0;clear:both;max-width:380px;float:right;margin:0 0 8px .5rem}.article-inline-image{display:block;transition:opacity .2s ease}.article-inline-image:hover{opacity:.9}@media (prefers-color-scheme:dark){.article-image-details{color:var(--text-secondary,#a0a0a0);background-color:var(--bg-tertiary,#1f2937);border-left-color:var(--border-accent,#374151)}}@media (max-width:768px){.article-image-details{font-size:11px!important;padding:6px 8px;max-width:100%;float:none;margin:8px 0 12px;clear:both}.article-inline-image{max-width:100%!important;float:none!important;margin:1rem 0!important}}@media (max-width:1024px) and (min-width:769px){.article-image-details{max-width:240px}}@media print{.article-image-details{font-size:10px!important;color:#333!important;background-color:#f5f5f5!important;border-left-color:#ccc!important}}.article-references{margin:1rem 0;background-color:var(--bg-secondary,#f8f9fa)}.article-references h3{margin:0 0 1rem;font-size:1.2rem;font-weight:600;color:var(--text-primary)}.references-content{font-size:12px;line-height:1.4;color:var(--text-secondary)}.references-content pre{white-space:pre-wrap;font-family:inherit;font-size:12px;line-height:1.4;margin:0;background:none;border:none;padding:0}@media (prefers-color-scheme:dark){.article-image-details,.article-references{background-color:var(--bg-secondary,#1f2937);border-color:var(--border-color,#374151)}.image-detail-thumbnail{border-color:var(--border-color,#374151)}}.image-details-textarea{font-size:12px!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;line-height:1.4!important}.references-textarea{font-size:12px!important;font-family:monospace!important}@media (max-width:768px){.article-image-details,.article-references{margin:1rem 0;padding:1rem}.image-detail-item{flex-direction:column;gap:.5rem}.image-detail-thumbnail{align-self:flex-start}}.article-content{width:100%;margin:0 auto;position:relative;line-height:1.7}.article-content img{float:right;max-width:280px;margin:1rem 0 1rem 1.5rem;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;clear:right}.article-content img:hover{transform:scale(1.02);box-shadow:0 8px 24px rgba(0,0,0,.15)}@media (max-width:680px){.article-content{width:100vw;max-width:100%}.article-content img{float:none;display:block;width:100%;max-width:680px;height:auto;margin:1rem auto;clear:both}}.article-content:after{content:"";display:table;clear:both}.article-inline-image{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:transform .2s ease,box-shadow .2s ease,outline .2s ease;outline:none}.article-inline-image:focus{outline:2px solid #3b82f6;outline-offset:2px;border-radius:4px}.article-inline-image:active{transform:scale(.98)}@media (prefers-color-scheme:dark){.article-content img{box-shadow:0 4px 12px rgba(0,0,0,.3)}.article-content img:hover{box-shadow:0 8px 24px rgba(0,0,0,.4)}}.article-content h1,.article-content h2,.article-content h3,.article-content h4,.article-content h5,.article-content h6{font-weight:var(--font-medium);color:var(--text-primary);margin:var(--space-2) 0 var(--space-2) 0;line-height:var(--line-tight)}.article-content h1{font-size:var(--text-2xl);padding-bottom:var(--space-2)}.image-viewer-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.9);backdrop-filter:blur(8px);z-index:9999;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.image-viewer-overlay.active{opacity:1;visibility:visible}.image-viewer-container{position:relative;max-width:800px;max-height:90vh;width:90%;display:flex;align-items:center;justify-content:center;transform:scale(.8) translateY(20px);transition:all .3s cubic-bezier(.4,0,.2,1)}.image-viewer-overlay.active .image-viewer-container{transform:scale(1) translateY(0)}.image-viewer-image-container{display:flex;align-items:center;justify-content:center;--zoom-level:1;width:100%;height:100%;overflow:auto;position:relative}.image-viewer-image{max-width:800px;max-height:90vh;height:auto;width:auto;border-radius:8px;box-shadow:0 25px 50px rgba(0,0,0,.5);transition:transform .3s ease;transform-origin:center center;transform:scale(var(--zoom-level,1));will-change:transform}.image-viewer-image.normal{cursor:default}.image-viewer-image.zoomed{cursor:grab}.image-viewer-image.zoomed:active{cursor:grabbing}.image-viewer-controls{position:absolute;top:20px;right:20px;display:flex;gap:8px;z-index:10001}.image-viewer-btn{width:40px;border-radius:50%;border:1px solid rgba(255,255,255,.3);cursor:pointer;transition:all .2s ease;font-size:16px}.image-viewer-btn,.zoom-level{height:40px;background:rgba(255,255,255,.2);backdrop-filter:blur(10px);color:white;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.2)}.zoom-level{min-width:50px;border-radius:20px;border:1px solid rgba(255,255,255,.3);font-size:12px;font-weight:500}.image-viewer-btn:hover{background:rgba(255,255,255,.3);transform:scale(1.1)}.image-viewer-close{position:absolute;top:20px;left:20px;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.2);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:20px;z-index:10002;box-shadow:0 2px 8px rgba(0,0,0,.2)}.image-viewer-close:hover{background:rgba(255,255,255,.3);transform:scale(1.1)}@media (prefers-color-scheme:dark){.image-viewer-overlay{background:rgba(0,0,0,.95)}.image-viewer-btn,.image-viewer-close,.zoom-level{background:rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.2)}.image-viewer-btn:hover,.image-viewer-close:hover{background:rgba(0,0,0,.8)}.image-viewer-btn:disabled{opacity:.4;background:rgba(0,0,0,.5)}}@media (max-width:680px){.image-viewer-container{width:95%;max-height:80vh}.image-viewer-controls{top:15px;right:10px;gap:6px}.image-viewer-close{top:15px;left:10px}.image-viewer-btn,.image-viewer-close{width:36px;height:36px;font-size:16px}.zoom-level{min-width:45px;height:36px;font-size:11px}}.article-gallery-hidden{display:none!important}.article-content h2{font-size:var(--text-2xl);margin:var(--space-1) 0}.article-content h3{font-size:var(--text-xl)}.article-content h4,.article-content p{font-size:var(--text-lg)}.article-content p{font-family:var(--font-body),Georgia,"Times New Roman",serif;line-height:var(--leading-relaxed);margin:1rem 0;color:var(--text-primary);text-align:left}.article-content ol,.article-content ul{margin:var(--space-2) 0;padding-left:var(--space-2)}.article-content li{margin:var(--space-2) 0;line-height:var(--line-relaxed)}.article-content blockquote{margin:var(--space-3) 0;padding:var(--space-2) var(--space-3);background:linear-gradient(135deg,var(--bg-secondary),var(--bg-tertiary));border-left:4px solid var(--accent);border-radius:var(--radius-lg);font-style:italic;position:relative}.share-buttons-inline{display:flex;align-items:center;gap:12px}.print-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:#f3f4f6;border:1px solid #d1d5db;color:#6b7280;cursor:pointer;transition:all .2s ease}.print-button:hover{background:#e5e7eb;color:#374151;transform:translateY(-1px)}.share-dropdown-container{position:relative}.share-trigger-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:#3b82f6;color:white;border:none;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease}.share-trigger-button:hover{background:#2563eb;transform:translateY(-1px)}.share-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:200px;background:white;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.15);border:1px solid #e5e7eb;z-index:1000;animation:shareDropdownSlide .2s ease}@keyframes shareDropdownSlide{0%{opacity:0;transform:translateY(-8px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.share-dropdown-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e5e7eb}.share-dropdown-header span{font-weight:600;color:var(--text-primary);font-size:14px}.share-dropdown-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;background:none;border:none;color:#6b7280;cursor:pointer;transition:all .2s ease}.share-dropdown-close:hover{background:#f3f4f6;color:#374151}.share-dropdown-options{padding:8px}.share-option{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:8px;text-decoration:none;color:#374151;font-size:14px;font-weight:500;background:none;border:none;cursor:pointer;transition:all .2s ease}.share-option:hover{background:#f3f4f6;color:#1f2937}.share-option.facebook:hover,.share-option.linkedin:hover,.share-option.twitter:hover{background:#dbeafe;color:#1d4ed8}.share-option.email:hover{background:#fef3c7;color:#92400e}.share-option.copy:hover{background:#d1fae5;color:#065f46}.share-buttons-full{margin:1rem 0;padding:1rem 0;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb}.share-title{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0 0 1.5rem;text-align:center;padding:0 1rem}.share-buttons-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.share-button{justify-content:center;gap:8px;padding:12px 16px;border-radius:8px;font-size:14px;font-weight:500;border:none;cursor:pointer}.share-button.twitter{background:#1da1f2;color:white}.share-button.twitter:hover{background:#0d8bd9;transform:translateY(-2px)}.share-button.facebook{background:#4267b2;color:white}.share-button.facebook:hover{background:#365899;transform:translateY(-2px)}.share-button.linkedin{background:#0077b5;color:white}.share-button.linkedin:hover{background:#005885;transform:translateY(-2px)}.share-button.email{background:#f59e0b;color:white}.share-button.email:hover{background:#d97706;transform:translateY(-2px)}.share-button.copy{background:#10b981;color:white}.share-button.copy:hover{background:#059669;transform:translateY(-2px)}.share-button.print{background:#6b7280;color:white}.share-button.print:hover{background:#4b5563;transform:translateY(-2px)}@media (max-width:680px){.share-buttons-inline{gap:8px}.print-button{width:32px;height:32px}.share-dropdown{right:-20px;left:-20px;min-width:200px}.share-buttons-grid{grid-template-columns:1fr 1fr}.share-buttons-full{padding:1rem;margin:1rem 0}}@media (prefers-color-scheme:dark){.print-button{background:#374151;border-color:#4b5563;color:#d1d5db}.print-button:hover{background:#4b5563;color:#f3f4f6}.share-dropdown{background:var(--bg-secondary);border-color:#374151}.share-dropdown-header{border-bottom-color:#374151}.share-dropdown-header span{color:var(--text-primary)}.share-dropdown-close{color:var(--text-secondary)}.share-dropdown-close:hover{background:#374151;color:#d1d5db}.share-option{color:var(--text-primary)}.share-option:hover{background:#374151;color:#f3f4f6}.share-buttons-full{background:var(--bg-dark-secondary);border-color:#374151}.share-title{color:#1b1b1b}}@media print{body{margin:0;padding:0;background:white!important;color:black!important}.article-popular-sidebar,.article-related-section,.article-toc-sidebar,.navbar,.print-button,.share-buttons-full,.share-buttons-inline,.share-dropdown,.share-trigger-button,.sidebar,footer,header,nav{display:none!important}@page{margin:1.5cm;size:A4 portrait}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.article-page-container{position:static!important;box-shadow:none!important;border:none!important;background:white!important}.article-layout-no-toc,.article-layout-with-toc,.article-page-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.article-layout-no-toc,.article-layout-with-toc{display:block!important;grid-template-columns:none!important}.article-main-content{position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:20px!important;box-shadow:none!important;background:white!important}.article-header{margin-bottom:2rem;page-break-after:avoid}.article-meta{justify-content:flex-start;margin-bottom:.5rem}.article-category{background:#373737;color:#fefefe;border:1px solid #d1d5db}.article-title{font-size:28px;line-height:1.2;margin:1rem 0;page-break-after:avoid}.article-author{font-size:14px;color:#6b7280;margin-bottom:1.5rem}.article-content{font-size:14px!important;line-height:1.8!important;color:black!important;background:white!important;width:100%!important;max-width:none!important;position:static!important;overflow:visible!important;page-break-inside:auto!important}.article-content h1,.article-content h2,.article-content h3,.article-content h4,.article-content h5,.article-content h6{page-break-after:avoid!important;page-break-inside:avoid!important;margin-top:20px!important;margin-bottom:10px!important;color:black!important}.article-content h1{font-size:20px}.article-content h2{font-size:18px}.article-content h3{font-size:16px}.article-content p{text-align:justify!important;background:transparent!important}.article-content ol,.article-content p,.article-content ul{margin:10px 0!important;color:black!important;page-break-inside:auto!important}.article-content li{margin:5px 0!important;page-break-inside:auto!important;color:black!important}.article-content img{max-width:100%!important;width:auto!important;height:auto!important;float:none!important;display:block!important;margin:15px auto!important;page-break-inside:avoid!important;border:1px solid #ccc!important;background:white!important}.article-content table{font-size:10px;border:1px solid #000;page-break-inside:avoid;margin:1rem 0}.article-content table td,.article-content table th{border:1px solid #666;padding:4px 6px}.article-content table th{background:#f0f0f0!important;font-weight:700}.article-tags{margin-top:2rem;page-break-inside:avoid}.article-tags h3{font-size:14px;margin-bottom:.5rem}.article-tag{display:inline-block;padding:2px 6px;margin:2px;border:1px solid #d1d5db;border-radius:4px;font-size:10px;background:#f9fafb}.article-content blockquote{border-left:3px solid #d1d5db;padding-left:1rem;margin:1rem 0;font-style:italic;background:#f9fafb;page-break-inside:avoid}.article-content code,.article-content pre{background:#f3f4f6!important;border:1px solid #d1d5db;font-size:10px;page-break-inside:avoid}.article-page-container:after{content:"Published at: " attr(data-url);position:fixed;bottom:0;left:0;right:0;padding:10px;font-size:10px;color:#6b7280;border-top:1px solid #d1d5db;background:white}}.ProseMirror table{width:100%;margin:var(--space-4) 0;border-collapse:collapse;border:2px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);font-size:var(--text-sm);background:var(--bg-primary)}.ProseMirror table th{background:var(--bg-secondary);color:var(--text-primary);font-weight:var(--font-semibold);padding:var(--space-3) var(--space-4);text-align:left;border-bottom:2px solid var(--accent);border-right:1px solid var(--border);font-size:var(--text-sm)}.ProseMirror table th:last-child{border-right:none}.ProseMirror table td{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);border-right:1px solid var(--border);vertical-align:top;line-height:var(--line-relaxed);color:var(--text-secondary);background:var(--bg-primary)}.ProseMirror table td:last-child{border-right:none}.ProseMirror table tbody tr:nth-child(2n),.ProseMirror table tbody tr:nth-child(2n) td{background:var(--bg-secondary)}.ProseMirror table tbody tr:hover{background:var(--bg-tertiary);transition:background-color .2s ease}.ProseMirror table tbody tr:hover td{background:var(--bg-tertiary)}@media (prefers-color-scheme:dark){.ProseMirror table{border-color:var(--border);background:var(--bg-primary);box-shadow:var(--shadow-lg)}.ProseMirror table th{background:var(--bg-secondary);color:var(--text-primary);border-bottom-color:var(--accent);border-right-color:var(--border)}.ProseMirror table td{border-bottom-color:var(--border);border-right-color:var(--border);color:var(--text-secondary);background:var(--bg-primary)}.ProseMirror table tbody tr:nth-child(2n),.ProseMirror table tbody tr:nth-child(2n) td{background:var(--bg-secondary)}.ProseMirror table tbody tr:hover,.ProseMirror table tbody tr:hover td{background:var(--bg-tertiary)}}.article-content table{width:100%;margin:var(--space-6) 0;border-collapse:collapse;border:2px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);font-size:var(--text-sm);background:var(--bg-primary)}.article-content table th{background:var(--bg-secondary);color:var(--text-primary);font-weight:var(--font-semibold);padding:var(--space-3) var(--space-4);text-align:left;border-bottom:2px solid var(--accent);border-right:1px solid var(--border);font-size:var(--text-sm)}.article-content table th:last-child{border-right:none}.article-content table td{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);border-right:1px solid var(--border);vertical-align:top;line-height:var(--line-relaxed);color:var(--text-secondary);background:var(--bg-primary)}.article-content table td:last-child{border-right:none}.article-content table tbody tr:nth-child(2n),.article-content table tbody tr:nth-child(2n) td{background:var(--bg-secondary)}@media (max-width:680px){.article-content table{font-size:var(--text-xs);display:block;overflow-x:auto;white-space:nowrap}.article-content table td,.article-content table th{padding:var(--space-2) var(--space-3);min-width:100px}.ProseMirror table{font-size:var(--text-xs)}.ProseMirror table td,.ProseMirror table th{padding:var(--space-2) var(--space-3);min-width:100px}}@media (prefers-color-scheme:dark){.article-content table{border-color:var(--border);box-shadow:var(--shadow-lg);background:var(--bg-primary)}.article-content table th{background:var(--bg-secondary);color:var(--text-primary);border-bottom-color:var(--accent);border-right-color:var(--border)}.article-content table td{border-bottom-color:var(--border);border-right-color:var(--border);color:var(--text-secondary);background:var(--bg-primary)}.article-content table tbody tr:nth-child(2n),.article-content table tbody tr:nth-child(2n) td{background:var(--bg-secondary)}.article-content table tbody tr:hover,.article-content table tbody tr:hover td{background:var(--bg-tertiary)}}.article-content blockquote:before{content:"";font-size:4rem;color:var(--accent);position:absolute;top:-10px;left:var(--space-4);opacity:.3;font-family:var(--font-body)}.article-content a{color:var(--accent);text-decoration:none;font-weight:var(--font-medium);border-bottom:1px solid transparent;transition:all .2s ease}.article-content a:hover{border-bottom-color:var(--accent);color:var(--accent-hover)}.article-content img{width:100%;max-width:380px;height:auto;border-radius:var(--radius-lg);margin:var(--space-6) 0;box-shadow:var(--shadow-md)}.article-content pre{background-color:var(--bg-tertiary);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-4);margin:var(--space-6) 0;overflow-x:auto;font-family:var(--font-mono);font-size:var(--text-sm);line-height:var(--line-normal)}.article-content code{background-color:var(--bg-secondary);padding:var(--space-1) var(--space-2);border-radius:var(--radius);font-family:var(--font-mono);font-size:.9em;color:var(--accent)}.article-content pre code{background:none;padding:0;color:var(--text-primary)}.article-tags{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--border)}.article-tags h3{font-size:var(--text-lg);font-weight:var(--font-semibold);margin:0 0 var(--space-4) 0;color:var(--text-primary)}.tags-list{display:flex;flex-wrap:wrap;gap:var(--space-2)}.article-tag{display:inline-flex;align-items:center;padding:var(--space-2) var(--space-3);background:linear-gradient(135deg,var(--bg-secondary),var(--bg-tertiary));border:1px solid var(--border);border-radius:var(--radius-full);font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-secondary);transition:all .2s ease;cursor:pointer}.article-tag:hover{background:linear-gradient(135deg,var(--accent),#1d4ed8);color:white;border-color:var(--accent);transform:translateY(-1px)}.article-tag:before{content:"#";margin-right:var(--space-1);opacity:.7}.related-articles-sidebar{background-color:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);padding:var(--space-4);box-shadow:var(--shadow-sm);height:-moz-fit-content;height:fit-content;position:sticky;top:var(--space-3)}@media (max-width:1023px){.related-articles-sidebar{position:static;margin-top:var(--space-8)}}.related-articles-sidebar h3{font-size:var(--text-lg);font-weight:var(--font-bold);color:var(--text-primary);margin:0 0 var(--space-3) 0;display:flex;align-items:center;gap:var(--space-2)}.related-articles-sidebar h3:before{content:"📚"}.related-articles-list{display:flex;flex-direction:column;gap:var(--space-3)}.related-article{padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius);transition:all .2s ease;background:linear-gradient(135deg,var(--bg-primary),var(--bg-secondary))}.related-article:hover{border-color:var(--accent);box-shadow:var(--shadow-md);transform:translateY(-2px)}.related-article-image{margin-bottom:var(--space-3);border-radius:var(--radius);overflow:hidden}.related-article-image img{transition:transform .2s ease}.related-article:hover .related-article-image img{transform:scale(1.05)}.related-article h4{font-size:var(--text-base);font-weight:var(--font-semibold);margin:0 0 var(--space-2) 0}.related-article h4 a{color:var(--text-primary);text-decoration:none;transition:color .2s ease;-webkit-line-clamp:2;line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.related-article:hover h4 a{color:var(--accent)}.related-article p{font-size:var(--text-sm);color:var(--text-secondary);margin:var(--space-2) 0;-webkit-line-clamp:3;line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;line-height:var(--line-normal)}.article-skeleton{animation:skeleton-pulse 1.5s ease-in-out infinite alternate}.skeleton-header{margin-bottom:var(--space-8);padding-bottom:var(--space-6);border-bottom:1px solid var(--border)}.skeleton-meta{display:flex;gap:var(--space-4);margin-bottom:var(--space-4);flex-wrap:wrap}.skeleton-category{width:120px;height:32px;background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius-full)}.skeleton-date{width:100px;height:20px}.skeleton-date,.skeleton-title{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius)}.skeleton-title{width:85%;height:48px;margin:var(--space-4) 0 var(--space-3) 0}.skeleton-description{width:100%;height:20px;background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius);margin-bottom:var(--space-2)}.skeleton-description:last-child{width:70%}.skeleton-author{width:150px;height:16px;border-radius:var(--radius);margin-top:var(--space-4)}.skeleton-author,.skeleton-image{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite}.skeleton-image{width:100%;height:400px;border-radius:var(--radius-xl);margin:var(--space-8) 0}.skeleton-content{display:flex;flex-direction:column;gap:var(--space-4)}.skeleton-paragraph{display:flex;flex-direction:column;gap:var(--space-2)}.skeleton-line{height:16px;background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius)}.skeleton-line:first-child{width:100%}.skeleton-line:nth-child(2){width:95%}.skeleton-line:nth-child(3){width:88%}.skeleton-line:nth-child(4){width:92%}.skeleton-line:last-child{width:75%}.skeleton-sidebar{background-color:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-2xl);padding:var(--space-6)}.skeleton-sidebar-title{width:60%;height:24px;background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius);margin-bottom:var(--space-6)}.skeleton-related-articles{display:flex;flex-direction:column;gap:var(--space-4)}.skeleton-related-item{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-lg)}.skeleton-related-image{width:100%;height:60px}.skeleton-related-image,.skeleton-related-title{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius)}.skeleton-related-title{width:90%;height:16px}.skeleton-related-text{width:100%;height:12px;background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius)}.skeleton-related-text:last-child{width:70%}@keyframes skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes skeleton-pulse{0%{opacity:1}to{opacity:.7}}.skeleton-heading-large{width:60%;height:32px}.skeleton-heading-large,.skeleton-heading-medium{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius);margin:2rem 0 1rem}.skeleton-heading-medium{width:50%;height:28px}.skeleton-code-block{height:120px;border-radius:var(--radius-xl);margin:1.5rem 0}.skeleton-code-block,.skeleton-tags-title{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite}.skeleton-tags-title{width:80px;height:24px;border-radius:var(--radius)}.skeleton-tag-small{width:80px;height:28px}.skeleton-tag-medium{width:100px;height:28px}.skeleton-tag-large{width:90px;height:28px}.skeleton-tag-extra-small{width:70px;height:28px}.skeleton-tag-mini{width:60px;height:28px}.skeleton-tag-extra-small,.skeleton-tag-large,.skeleton-tag-medium,.skeleton-tag-mini,.skeleton-tag-small{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius-full)}.skeleton-author-small{width:100px;height:12px}.skeleton-author-small,.skeleton-heading-dynamic{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:var(--radius)}.skeleton-heading-dynamic{height:32px;margin:2rem 0 1rem}[data-theme=dark] .skeleton-author,[data-theme=dark] .skeleton-author-small,[data-theme=dark] .skeleton-category,[data-theme=dark] .skeleton-code-block,[data-theme=dark] .skeleton-date,[data-theme=dark] .skeleton-description,[data-theme=dark] .skeleton-heading-dynamic,[data-theme=dark] .skeleton-heading-large,[data-theme=dark] .skeleton-heading-medium,[data-theme=dark] .skeleton-image,[data-theme=dark] .skeleton-line,[data-theme=dark] .skeleton-related-image,[data-theme=dark] .skeleton-related-text,[data-theme=dark] .skeleton-related-title,[data-theme=dark] .skeleton-sidebar-title,[data-theme=dark] .skeleton-tag-extra-small,[data-theme=dark] .skeleton-tag-large,[data-theme=dark] .skeleton-tag-medium,[data-theme=dark] .skeleton-tag-mini,[data-theme=dark] .skeleton-tag-small,[data-theme=dark] .skeleton-tags-title,[data-theme=dark] .skeleton-title{background:linear-gradient(90deg,#2a2a2a 25%,#3a3a3a 50%,#2a2a2a 75%);background-size:200% 100%}.reading-progress{position:fixed;top:0;left:0;width:100%;height:4px;background-color:var(--bg-secondary);z-index:var(--z-50)}.reading-progress-bar{height:100%;background:linear-gradient(90deg,var(--accent),#1d4ed8);transition:width .15s ease;width:var(--progress-width,0)}.share-buttons-container{margin-top:var(--space-4);padding:var(--space-4);background:linear-gradient(135deg,var(--bg-secondary),var(--bg-tertiary));border:1px solid var(--border);border-radius:var(--radius-lg)}.share-buttons-compact{display:flex;align-items:center;justify-content:center;padding:var(--space-2);background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);gap:var(--space-2)}.share-buttons-compact.top{justify-content:flex-end;margin-bottom:var(--space-3);border-bottom:1px solid var(--border-light);padding-bottom:var(--space-3);background:rgba(var(--card-bg-rgb),.95);backdrop-filter:blur(8px);position:sticky;top:0;z-index:var(--z-40)}.share-buttons-compact.bottom{justify-content:center;margin-top:var(--space-4);border-top:1px solid var(--border-light);padding-top:var(--space-3)}.share-buttons-compact.share-buttons-top{position:sticky;top:var(--space-2);z-index:var(--z-40);margin-bottom:var(--space-3)}.share-buttons-compact.share-buttons-bottom{margin-top:var(--space-3)}.share-buttons-row{display:flex;align-items:center;gap:var(--space-1)}.share-title{font-size:var(--text-lg);font-weight:var(--font-semibold);margin:0 0 var(--space-4) 0;color:var(--text-primary);display:flex;align-items:center;gap:var(--space-2)}.share-title:before{content:"🔗"}.share-buttons-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:var(--space-3)}.share-button{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--card-bg);color:var(--text-secondary);text-decoration:none;transition:all .2s ease;font-size:var(--text-sm);font-weight:var(--font-medium)}.share-button:hover{border-color:var(--accent);background-color:var(--accent);color:white;transform:translateY(-2px);box-shadow:var(--shadow-md)}.share-button-compact{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:var(--space-1);border:1px solid var(--border);border-radius:var(--radius-full);background-color:var(--card-bg);color:var(--text-secondary);text-decoration:none;transition:all .15s ease;cursor:pointer;position:relative;overflow:hidden}.share-button-compact:hover{border-color:var(--accent);background-color:var(--accent);color:white;transform:translateY(-1px) scale(1.05);box-shadow:var(--shadow-md)}.share-button-compact:active{transform:translateY(0) scale(.95)}.copy-icon,.share-icon{width:1.25rem;height:1.25rem}.share-icon-small{width:1rem;height:1rem}.scroll-to-top{position:fixed;bottom:var(--space-3);right:var(--space-3);width:2.5rem;height:2.5rem;background:linear-gradient(135deg,var(--accent),#1d4ed8);color:white;border:none;border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;font-size:var(--text-lg);font-weight:var(--font-bold);cursor:pointer;transition:all .2s ease;z-index:var(--z-40);box-shadow:var(--shadow-md)}.scroll-to-top:hover{background:linear-gradient(135deg,var(--accent-hover),#1e40af);transform:translateY(-1px) scale(1.05)}.article-toc-sidebar{position:sticky;top:var(--space-4);max-height:calc(100vh - var(--space-8));overflow-y:auto;z-index:var(--z-30)}@media (max-width:1023px){.article-toc-sidebar{position:static;max-height:none;display:block}.article-toc-sidebar .toc-desktop{display:none;margin-bottom:0}.toc-mobile{margin-bottom:0}}@media (min-width:1024px){.article-toc-sidebar{display:block}.article-toc-sidebar .toc-mobile{display:none}}.toc-desktop{background-color:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-2);box-shadow:var(--shadow-sm);max-width:100%;width:100%}.toc-title{font-size:var(--text-base);font-weight:var(--font-semibold);margin:0 0 var(--space-3) 0;color:var(--text-primary);display:flex;align-items:center;gap:var(--space-2)}.toc-title:before{content:"📋"}.toc-list{list-style:none;margin:0;padding:0}.toc-item{margin:0}.toc-link{display:block;padding:var(--space-2) var(--space-3);color:var(--text-primary);text-decoration:none;border-radius:var(--radius);transition:all .15s ease;font-size:var(--text-sm);background:none;border:none;cursor:pointer;width:100%;text-align:left}.toc-link:hover{background-color:var(--bg-secondary);color:var(--text-primary)}.toc-link-active{background-color:var(--accent);color:white;font-weight:var(--font-medium)}.toc-level-2{padding-left:var(--space-4)}.toc-level-3{padding-left:var(--space-6);font-size:var(--text-xs)}.toc-sublist{list-style:none;margin:0;padding:0}.toc-mobile-toggle-btn{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-1);background-color:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-primary);cursor:pointer;transition:all .15s ease;width:100%}.toc-mobile-toggle-btn:hover{background-color:var(--bg-secondary);border-color:var(--accent)}.toc-icon{width:1rem;height:1rem}.toc-mobile-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);z-index:var(--z-40)}.toc-mobile-panel{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:90%;max-width:400px;max-height:80vh;background-color:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-2xl);z-index:var(--z-50);overflow:hidden}.toc-mobile-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4);border-bottom:1px solid var(--border)}.toc-mobile-title{font-size:var(--text-lg);font-weight:var(--font-semibold);margin:0;color:var(--text-primary)}.toc-mobile-close{width:2rem;height:2rem;background:none;border:none;cursor:pointer;color:var(--text-secondary);border-radius:var(--radius);display:flex;align-items:center;justify-content:center}.toc-mobile-close:hover{background-color:var(--bg-secondary);color:var(--text-primary)}.close-icon{width:1rem;height:1rem}.toc-mobile-panel .toc-list{padding:var(--space-4);max-height:60vh;overflow-y:auto}.article-related-section{margin:var(--space-2) auto 0;padding:0 var(--space-0);display:block;visibility:visible;opacity:1}.related-articles-bottom-container{border-radius:var(--radius-xl);padding:var(--space-3);box-shadow:var(--shadow-lg)}.related-articles-header{text-align:center;margin-bottom:var(--space-6);padding-bottom:var(--space-4);border-bottom:2px solid var(--accent)}.related-articles-title{font-size:var(--text-2xl);font-weight:var(--font-bold);color:var(--text-primary);margin:0 0 var(--space-2) 0;display:flex;align-items:center;justify-content:center;gap:var(--space-3)}.related-articles-icon{font-size:var(--text-3xl)}.related-articles-subtitle{font-size:var(--text-base);color:var(--text-secondary);margin:0;font-style:italic}.related-articles-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4);margin-bottom:var(--space-6)}@media (max-width:600px){.related-articles-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px) and (min-width:601px){.related-articles-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:1024px) and (min-width:769px){.related-articles-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width:1024px){.related-articles-grid{grid-template-columns:repeat(4,1fr)}}.related-article-card-bottom{background-color:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:all .3s ease;box-shadow:var(--shadow-sm);height:100%;display:flex;flex-direction:column}.related-article-card-bottom:hover{transform:translateY(-4px);box-shadow:var(--shadow-xl);border-color:var(--accent)}.related-article-link-bottom{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%}.related-article-image-bottom{position:relative;overflow:hidden;background-color:var(--bg-secondary)}.related-article-img-bottom{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .3s ease}.related-article-card-bottom:hover .related-article-img-bottom{transform:scale(1.05)}.related-article-content-bottom{padding:var(--space-4);flex:1;display:flex;flex-direction:column}.related-article-category{font-size:var(--text-xs);font-weight:var(--font-semibold);text-transform:uppercase;letter-spacing:.05em;color:var(--accent);background:var(--primary-50);padding:var(--space-1) var(--space-2);border-radius:var(--radius-full);display:inline-block;width:-moz-fit-content;width:fit-content;margin-bottom:var(--space-3)}.related-article-title-bottom{font-size:var(--text-lg);font-weight:var(--font-semibold);color:var(--text-primary);margin:0 0 var(--space-2) 0;line-height:var(--line-tight);-webkit-line-clamp:2;line-clamp:2}.related-article-description,.related-article-title-bottom{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.related-article-description{font-size:var(--text-sm);color:var(--text-secondary);line-height:var(--line-relaxed);margin:0 0 var(--space-3) 0;flex:1;-webkit-line-clamp:3;line-clamp:3}.related-article-meta-bottom{display:flex;align-items:center;justify-content:space-between;font-size:var(--text-xs);color:var(--text-secondary);padding-top:var(--space-2);border-top:1px solid var(--border);gap:var(--space-2)}.related-article-author{font-weight:var(--font-medium)}.related-article-date{color:var(--text-tertiary)}.related-articles-footer{text-align:center;padding-top:var(--space-4);border-top:1px solid var(--border)}.view-all-articles-btn{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);background:linear-gradient(135deg,var(--accent),#1d4ed8);color:white;text-decoration:none;border-radius:var(--radius-full);font-weight:var(--font-semibold);font-size:var(--text-base);transition:all .2s ease;box-shadow:var(--shadow-md)}.view-all-articles-btn:hover{background:linear-gradient(135deg,var(--accent-hover),#1e40af);transform:translateY(-2px);box-shadow:var(--shadow-xl)}.arrow-icon{transition:transform .2s ease}.view-all-articles-btn:hover .arrow-icon{transform:translateX(4px)}@media (max-width:768px){.article-page-container{padding:0}.article-layout,.article-layout-with-toc{padding:var(--space-2);gap:var(--space-6)}.article-main-content{padding:var(--space-2)}.article-title{font-size:var(--text-2xl)}.article-meta{align-items:flex-start;gap:var(--space-2)}.share-buttons-grid{grid-template-columns:repeat(3,1fr)}.scroll-to-top{bottom:var(--space-4);right:var(--space-4);width:2.5rem;height:2.5rem;font-size:var(--text-lg)}.related-articles-bottom-container{padding:var(--space-4)}.related-articles-title{font-size:var(--text-xl);flex-direction:column;gap:var(--space-2)}}@media (max-width:480px){.article-layout,.article-layout-with-toc{padding:var(--space-1)}.article-main-content{padding:5px}.related-articles-sidebar{padding:var(--space-1)}.share-buttons-grid{grid-template-columns:repeat(2,1fr)}.related-articles-bottom-container{padding:var(--space-3);margin:var(--space-4) var(--space-2) 0}.related-articles-header{margin-bottom:var(--space-4)}.related-articles-content-bottom{padding:var(--space-3)}}.article-author-meta{font-size:var(--text-sm);color:var(--text-secondary);margin-top:var(--space-1)}.minimal-spacing{margin:var(--space-2) 0;padding:var(--space-2)}.minimal-gap{gap:var(--space-1)}.compact-layout{padding:var(--space-2);margin:var(--space-2) 0}.ultra-compact{padding:var(--space-1);margin:var(--space-1) 0}.article-images-container{margin:var(--space-6) 0}.image-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-4);padding:var(--space-3);background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-lg)}.control-btn,.view-mode-selector{display:flex;gap:var(--space-2)}.control-btn{align-items:center;padding:var(--space-2) var(--space-3);font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-secondary);background:var(--bg-primary);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;transition:all .2s ease}.control-btn:hover{color:var(--text-primary);border-color:var(--accent);background:var(--bg-tertiary)}.control-btn.active{color:white;background:var(--accent);border-color:var(--accent)}.control-icon{font-size:16px}.image-counter{font-size:var(--text-sm);color:var(--text-secondary);font-weight:var(--font-medium)}.primary-image-view{position:relative}.secondary-images-note p{font-style:italic;background:var(--bg-secondary);padding:var(--space-2) var(--space-4);border-radius:var(--radius-full);display:inline-block}.gallery-view{margin-top:var(--space-4)}.gallery-grid{display:grid;grid-template-columns:1fr;gap:var(--space-4)}@media (min-width:640px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}.gallery-item{position:relative;border-radius:var(--radius-lg);overflow:hidden;transition:transform .2s ease}.gallery-item:hover{transform:translateY(-2px)}.gallery-item.primary{border:2px solid var(--accent)}.primary-badge{position:absolute;top:var(--space-2);right:var(--space-2);background:var(--accent);color:white;font-size:var(--text-xs);font-weight:var(--font-bold);padding:var(--space-1) var(--space-2);border-radius:var(--radius-full);z-index:10}.carousel-view{margin-top:var(--space-4)}.carousel-container{display:flex;align-items:center;gap:var(--space-3);position:relative}.carousel-main{flex:1;position:relative}.carousel-nav{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all .2s ease;flex-shrink:0}.carousel-nav:hover:not(:disabled){background:var(--accent);color:white;border-color:var(--accent)}.carousel-nav:disabled{opacity:.5;cursor:not-allowed}.carousel-info{position:absolute;bottom:var(--space-3);left:var(--space-3);display:flex;gap:var(--space-2);z-index:10}.current-image{background:rgba(0,0,0,.8);font-weight:var(--font-medium);backdrop-filter:blur(4px)}.current-image,.primary-indicator{color:white;font-size:var(--text-xs);padding:var(--space-1) var(--space-2);border-radius:var(--radius)}.primary-indicator{background:var(--accent);font-weight:var(--font-bold)}.carousel-thumbs{display:flex;justify-content:center;gap:var(--space-2);margin-top:var(--space-4);padding:var(--space-3);background:var(--bg-secondary);border-radius:var(--radius-lg);overflow-x:auto}.thumb{position:relative;width:60px;height:60px;border:2px solid transparent;border-radius:var(--radius);overflow:hidden;cursor:pointer;transition:all .2s ease;flex-shrink:0}.thumb:hover{border-color:var(--accent);transform:scale(1.05)}.thumb.active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-light)}.thumb-img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.thumb-primary{position:absolute;top:2px;right:2px;width:16px;height:16px;background:var(--accent);color:white;font-size:10px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:700}@media (max-width:768px){.image-controls{flex-direction:column;gap:var(--space-2)}.view-mode-selector{justify-content:center}.control-btn{padding:var(--space-2);font-size:var(--text-xs)}.carousel-nav{width:40px;height:40px}.carousel-thumbs{padding:var(--space-2)}.thumb{width:50px;height:50px}.gallery-grid{grid-template-columns:1fr}}@media print{.carousel-thumbs,.image-controls,.related-articles-sidebar,.scroll-to-top,.share-buttons-container,.toc-desktop,.toc-mobile{display:none;margin-top:var(--space-6)}.gallery-view .gallery-item:not(.primary){display:none}.article-main-content{box-shadow:none;border:none;padding:0}.article-layout{grid-template-columns:1fr}.article-title{color:#000;background:none;-webkit-text-fill-color:initial}}.article-popular-sidebar{position:sticky;top:var(--space-4);max-height:calc(100vh - var(--space-8));overflow-y:auto;z-index:var(--z-20)}@media (max-width:1279px){.article-popular-sidebar{display:none}}.popular-articles-container{background:linear-gradient(135deg,var(--bg-secondary),var(--bg-tertiary));border:1px solid var(--border);border-radius:var(--radius-xl);padding:var(--space-2) var(--space-1);box-shadow:var(--shadow-md)}.popular-articles-header{text-align:center;margin-bottom:var(--space-4);padding-bottom:var(--space-3);border-bottom:2px solid var(--accent)}.popular-articles-title{color:var(--text-primary);font-size:var(--text-lg);font-weight:var(--font-bold);margin:0 0 var(--space-1) 0}.popular-articles-subtitle{color:var(--accent);font-size:var(--text-sm);font-weight:var(--font-medium);text-transform:uppercase;letter-spacing:.5px}.popular-articles-list{display:flex;flex-direction:column;gap:var(--space-1)}.popular-article-item{overflow:hidden;transition:all var(--transition-fast);background:var(--bg-primary);border:1px solid var(--border-light)}.popular-article-item:hover{box-shadow:var(--shadow-lg);border-color:var(--accent)}.popular-article-link{display:flex;align-items:flex-start;gap:var(--space-1);padding:var(--space-1) var(--space-0);text-decoration:none;color:inherit}.popular-article-image{flex-shrink:0;border-radius:var(--radius-md);overflow:hidden;width:100px;height:80px}.popular-article-img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform var(--transition-fast)}.popular-article-item:hover .popular-article-img{transform:scale(1.1)}.popular-article-content{flex:1;min-width:0}.popular-article-title{color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--font-semibold);line-height:1.4;margin:0 0 var(--space-2) 0;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.popular-article-meta{display:none}.popular-article-category{background:var(--accent);color:var(--bg-primary);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);text-transform:capitalize}.popular-article-category,.popular-article-date{font-weight:var(--font-medium)}@media (prefers-color-scheme:dark){.popular-article-category,.popular-article-rank{background:var(--accent-dark)}}