/* AnimationEducations.com - Creative Education Theme */
*{margin:0;padding:0;box-sizing:border-box}
:root{--primary:#7C3AED;--primary-dark:#5B21B6;--primary-light:#A78BFA;--accent:#EC4899;--text:#1C1917;--text-light:#78716C;--bg:#FFFFFF;--bg-warm:#FAFAF9;--bg-card:#FAF5FF;--border:#E9D5FF;--shadow:0 1px 3px rgba(0,0,0,0.08)}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text);line-height:1.7;background:var(--bg)}
a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-dark);text-decoration:underline}
img{max-width:100%;height:auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,0.97);border-bottom:1px solid var(--border);backdrop-filter:blur(8px)}
.header-inner{max-width:1200px;margin:0 auto;padding:0.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between}
.site-logo{font-weight:800;font-size:1.05rem;color:var(--text);letter-spacing:-0.02em}.site-logo span{color:var(--primary)}.site-logo:hover{text-decoration:none}
.main-nav{display:flex;gap:1.5rem}.main-nav a{color:var(--text-light);font-size:0.88rem;font-weight:500;padding:0.25rem 0;border-bottom:2px solid transparent}.main-nav a:hover,.main-nav a.active{color:var(--primary);border-bottom-color:var(--primary);text-decoration:none}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;width:28px;height:20px;position:relative}.menu-toggle span,.menu-toggle::before,.menu-toggle::after{display:block;width:100%;height:2px;background:var(--text);position:absolute;left:0;transition:0.3s}.menu-toggle span{top:9px}.menu-toggle::before{content:'';top:0}.menu-toggle::after{content:'';top:18px}
.mobile-nav{display:none;flex-direction:column;background:var(--bg);border-top:1px solid var(--border);padding:0.5rem 1.5rem}.mobile-nav.open{display:flex}.mobile-nav a{padding:0.6rem 0;color:var(--text);font-size:0.95rem;border-bottom:1px solid var(--border)}
.hero{position:relative;min-height:400px;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(0.3)}.hero-content{position:relative;z-index:2;text-align:center;max-width:720px;padding:3rem 1.5rem;color:#fff}
.hero-badge{display:inline-block;background:rgba(124,58,237,0.9);color:#fff;font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;padding:0.35rem 1rem;border-radius:20px;margin-bottom:1rem}
.hero h1{font-size:2.4rem;font-weight:800;line-height:1.2;margin-bottom:0.75rem;letter-spacing:-0.02em}.hero p{font-size:1.05rem;line-height:1.6;opacity:0.92;max-width:600px;margin:0 auto}
.hero-cta{display:inline-flex;align-items:center;gap:0.5rem;background:var(--primary);color:#fff;padding:0.75rem 1.75rem;border-radius:8px;font-weight:600;font-size:0.95rem;margin-top:1.25rem;transition:background 0.2s}.hero-cta:hover{background:var(--primary-dark);text-decoration:none;color:#fff}.hero-cta svg{width:16px;height:16px}
.breadcrumb{max-width:1200px;margin:0 auto;padding:0.75rem 1.5rem;font-size:0.82rem;color:var(--text-light)}.breadcrumb a{color:var(--text-light)}.breadcrumb span{margin:0 0.4rem;opacity:0.5}
.page-layout{max-width:1200px;margin:0 auto;padding:1.5rem;display:grid;grid-template-columns:1fr 300px;gap:2.5rem}
.article-content{min-width:0}.article-content h2{font-size:1.5rem;font-weight:700;color:var(--text);margin:2rem 0 0.75rem;padding-bottom:0.5rem;border-bottom:2px solid var(--bg-card)}.article-content h2:first-child{margin-top:0}.article-content h3{font-size:1.15rem;font-weight:600;margin:1.5rem 0 0.5rem;color:var(--text);padding-left:.75rem;border-left:3px solid var(--primary)}.article-content p{margin-bottom:1rem;font-size:0.98rem}
.content-image{margin:1.75rem 0;border-radius:10px;overflow:hidden;box-shadow:var(--shadow)}.content-image img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}.content-image figcaption{padding:0.6rem 1rem;font-size:0.82rem;color:var(--text-light);background:var(--bg-card);font-style:italic}
.highlight-box{background:linear-gradient(135deg,#FAF5FF,#FDF2F8);border-left:4px solid var(--primary);padding:1.25rem 1.5rem;border-radius:0 8px 8px 0;margin:1.5rem 0}.highlight-box p{margin-bottom:0.5rem;font-size:0.95rem}.highlight-box p:last-child{margin-bottom:0}
.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:1.5rem 0}.benefit-card{background:var(--bg-card);border-radius:10px;padding:1.25rem;border:1px solid var(--border)}.benefit-card .benefit-icon{font-size:1.5rem;margin-bottom:0.5rem}.benefit-card h4{font-size:1rem;font-weight:600;margin-bottom:0.4rem}.benefit-card p{font-size:0.88rem;color:var(--text-light);margin:0;line-height:1.5}
.ad-space,.ad-space-inline{display:none}
.sidebar{display:flex;flex-direction:column;gap:1.5rem}.sidebar-widget{background:var(--bg-card);border-radius:10px;padding:1.25rem;border:1px solid var(--border)}.sidebar-widget h3{font-size:0.8rem;font-weight:700;margin-bottom:0.75rem;text-transform:uppercase;letter-spacing:0.04em}.sidebar-nav{display:flex;flex-direction:column;gap:0.25rem}.sidebar-nav a{display:block;padding:0.4rem 0.6rem;font-size:0.88rem;color:var(--text-light);border-radius:6px;transition:0.15s}.sidebar-nav a:hover{background:var(--primary);color:#fff;text-decoration:none}
.site-footer{background:#1C1917;color:#A8A29E;margin-top:3rem}.footer-inner{max-width:1200px;margin:0 auto;padding:2.5rem 1.5rem;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:2rem}.footer-brand .site-logo{color:#fff;font-size:1.05rem;margin-bottom:0.5rem;display:inline-block}.footer-brand p{font-size:0.85rem;line-height:1.6;color:#78716C;margin-top:0.5rem}.footer-col h4{font-size:0.8rem;text-transform:uppercase;letter-spacing:0.08em;color:#FAFAF9;margin-bottom:0.75rem;font-weight:700}.footer-col a{display:block;font-size:0.85rem;color:#78716C;padding:0.2rem 0}.footer-col a:hover{color:#fff;text-decoration:none}.footer-bottom{max-width:1200px;margin:0 auto;padding:1rem 1.5rem;border-top:1px solid #292524;font-size:0.78rem;color:#57534E;display:flex;justify-content:space-between;flex-wrap:wrap;gap:0.5rem}
@media(max-width:900px){.page-layout{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr}.main-nav{display:none}.menu-toggle{display:block}.hero h1{font-size:1.8rem}}

/* Tables */
.article-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.93rem}
.article-content thead{background:var(--primary);color:#fff}
.article-content th{padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.03em}
.article-content td{padding:.7rem 1rem;border-bottom:1px solid var(--border)}
.article-content tbody tr:nth-child(even){background:var(--bg-card)}
.article-content tbody tr:hover{background:var(--border);transition:background .15s}
.article-content table a{font-weight:500}
@media(max-width:700px){.article-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap}}
/* (h3 rules consolidated into line 19) */
/* Lists */
.article-content ul,.article-content ol{margin:1rem 0 1.25rem 1.5rem;font-size:.96rem}
.article-content li{margin-bottom:.4rem;line-height:1.6}
.article-content li::marker{color:var(--primary)}
/* Author byline */
.author-byline{display:flex;align-items:center;gap:.5rem;font-size:.82rem;color:var(--text-light);margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}
.author-byline img{width:28px;height:28px;border-radius:50%;object-fit:cover}
/* Key facts box */
.key-facts{background:var(--bg-card);border:1px solid var(--border);border-radius:10px;padding:1.25rem 1.5rem;margin:1.5rem 0}
.key-facts h3{border-left:none;padding-left:0;margin-top:0}
.key-facts ul{margin:.75rem 0 0 1.25rem}
/* FAQ section */
.faq-section{margin:2rem 0}
.faq-section h3{border-left:3px solid var(--primary);padding-left:.75rem}
.faq-item{margin-bottom:1.25rem}
.faq-item h3{font-size:1.05rem;margin-bottom:.4rem}
.faq-item p{font-size:.95rem;color:var(--text);line-height:1.7}
/* Last reviewed */
.last-reviewed{font-size:.8rem;color:#888;margin-top:1.5rem;padding-top:1rem;border-top:1px solid rgba(0,0,0,.1)}
/* Related articles */
.related-articles{margin-top:2rem;padding:1.25rem;background:rgba(0,0,0,.03);border-radius:8px}
.related-articles h3{font-size:1rem;margin-bottom:.75rem;border-left:none;padding-left:0}
.related-articles a{display:block;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.08);text-decoration:none;color:inherit}
.related-articles a:hover{color:var(--primary)}


.skip-to:focus{position:fixed!important;left:16px;top:16px;opacity:1!important;pointer-events:auto!important;z-index:9999;background:var(--primary);color:#fff;border-radius:6px;padding:8px 16px;outline:2px solid var(--primary);font-size:14px;text-decoration:none}

a:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:2px}
button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.article-toc{background:var(--bg-warm);border:1px solid var(--border);border-radius:8px;padding:1.25rem 1.5rem;margin:1.5rem 0}
.article-toc h3{font-size:.95rem;font-weight:700;color:var(--text);margin-bottom:.6rem;text-transform:uppercase;letter-spacing:.03em}
.article-toc ol{margin:0 0 0 1.2rem;font-size:.9rem;color:var(--text-light)}
.article-toc li{margin-bottom:.3rem;line-height:1.5}
.article-toc a{color:var(--primary);text-decoration:none}
.article-toc a:hover{text-decoration:underline}
.author-bio-box{display:flex;gap:1.25rem;align-items:flex-start;background:var(--bg-warm);border:1px solid var(--border);border-radius:10px;padding:1.25rem 1.5rem;margin:2rem 0}
.author-bio-box .author-info h3{font-size:.95rem;font-weight:700;color:var(--text);margin-bottom:.25rem}
.author-bio-box .author-info p{font-size:.85rem;color:var(--text-light);line-height:1.5;margin:0}
.author-bio-box .author-info a{color:var(--primary);font-size:.85rem}
@media(max-width:600px){.author-bio-box{flex-direction:column;align-items:center;text-align:center}}
@media print {
  .site-header, .mobile-nav, .menu-toggle, .sidebar, .site-footer, .hero-cta, .hero-badge { display: none !important; }
  .hero { min-height: auto !important; padding: 20px 0; }
  .hero-bg { display: none; }
  .hero-content { position: static; color: #000; text-shadow: none; }
  .page-layout { display: block; }
  .article-content { max-width: 100%; }
  body { font-size: 12pt; line-height: 1.5; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .comparison-table { font-size: 9pt; }
  .benefits-grid { display: block; }
  .benefit-card { border: 1px solid #ccc; margin-bottom: 8px; page-break-inside: avoid; }
  .highlight-box { border: 1px solid #999; background: #f5f5f5 !important; }
  img { max-width: 100%; }
  .related-articles { page-break-before: always; }
}