/*
Theme Name: AnimFX Creator
Theme URI: https://animfx.in/
Author: AnimFX
Description: App-ready creator community theme for AnimFX with Elementor support, responsive navigation and light/dark/system appearance.
Version: 1.2.1
Text Domain: animfx-creator
*/
:root,html[data-animfx-theme="dark"]{--afx-bg:#070b1c;--afx-card:#11172d;--afx-card2:#171d35;--afx-input:#0b1022;--afx-text:#f7f8ff;--afx-muted:#aeb8d0;--afx-border:#252c48;--afx-accent:#6c4dff;--afx-header:rgba(7,11,28,.94);--afx-link:#a996ff}html[data-animfx-theme="light"]{--afx-bg:#f6f7fb;--afx-card:#fff;--afx-card2:#f1f3f9;--afx-input:#fff;--afx-text:#15182a;--afx-muted:#667085;--afx-border:#dfe3ec;--afx-accent:#6c4dff;--afx-header:rgba(255,255,255,.94);--afx-link:#5b3ee8}*{box-sizing:border-box}body{margin:0;background:var(--afx-bg);color:var(--afx-text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.6}a{color:inherit}.afx-wrap{width:min(1180px,calc(100% - 32px));margin:auto}.afx-header{position:sticky;top:0;z-index:1000;background:var(--afx-header);backdrop-filter:blur(14px);border-bottom:1px solid var(--afx-border)}.afx-header-inner{min-height:72px;display:flex;align-items:center;gap:24px}.afx-brand{font-size:24px;font-weight:800;text-decoration:none;color:var(--afx-text)}.afx-brand span{color:var(--afx-accent)}.afx-nav{margin-left:auto}.afx-nav ul{display:flex;gap:22px;align-items:center;list-style:none;margin:0;padding:0}.afx-nav a{text-decoration:none;font-weight:600;font-size:14px}.afx-actions{display:flex;align-items:center;gap:10px}.afx-btn,.afx-icon-btn{border:1px solid var(--afx-border);background:var(--afx-card);color:var(--afx-text);border-radius:10px;padding:9px 14px;text-decoration:none;cursor:pointer}.afx-primary{background:var(--afx-accent);color:#fff;border-color:var(--afx-accent)}.afx-main{min-height:70vh;padding:34px 0}.afx-footer{border-top:1px solid var(--afx-border);padding:34px 0;color:var(--afx-muted)}.afx-mobile-toggle{display:none}.afx-mobile-bar{display:none}.animfx-card,.animfx-profile,.animfx-project-card{background:var(--afx-card)!important;color:var(--afx-text)!important;border-color:var(--afx-border)!important}.animfx-card p,.animfx-profile p{color:var(--afx-muted)}@media(max-width:900px){.afx-mobile-toggle{display:inline-flex}.afx-nav{display:none;position:absolute;left:16px;right:16px;top:68px;background:var(--afx-card);padding:16px;border:1px solid var(--afx-border);border-radius:14px}.afx-nav.open{display:block}.afx-nav ul{display:block}.afx-nav li{padding:8px}.afx-actions .afx-login{display:none}.afx-mobile-bar{display:flex;position:fixed;z-index:999;bottom:0;left:0;right:0;background:var(--afx-header);border-top:1px solid var(--afx-border);justify-content:space-around;padding:9px 4px}.afx-mobile-bar a{text-decoration:none;font-size:12px;text-align:center}.afx-main{padding-bottom:80px}}

/* v1.1.1 active navigation + page-title cleanup */
.afx-nav .current-menu-item>a,.afx-nav .current_page_item>a,.afx-nav .current-menu-ancestor>a{background:var(--afx-accent);color:#fff!important;border-radius:10px;padding:9px 12px}
.afx-nav a{padding:9px 8px;border-radius:10px;transition:background .18s ease,color .18s ease}
.afx-nav a:hover{background:var(--afx-card2)}
.afx-main article.page>h1.entry-title,.afx-main article.page>h1{display:none}
/* v1.2.0 creator account dropdown */
.afx-user-menu{position:relative}.afx-avatar-button{width:42px;height:42px;border:1px solid var(--afx-border);padding:0;border-radius:50%;overflow:hidden;background:var(--afx-card);cursor:pointer}.afx-avatar-button img{width:100%;height:100%;object-fit:cover;border-radius:50%}.afx-user-dropdown{display:none;position:absolute;right:0;top:52px;width:240px;background:var(--afx-card);border:1px solid var(--afx-border);border-radius:14px;padding:9px;box-shadow:0 18px 45px rgba(0,0,0,.28);z-index:1200}.afx-user-dropdown.open{display:block}.afx-user-dropdown>a{display:block;padding:10px 11px;border-radius:9px;text-decoration:none;color:var(--afx-text);font-size:14px}.afx-user-dropdown>a:hover{background:var(--afx-card2)}.afx-user-summary{display:flex;align-items:center;gap:10px;padding:8px 8px 12px;border-bottom:1px solid var(--afx-border);margin-bottom:5px}.afx-user-summary img{width:46px;height:46px;border-radius:50%;object-fit:cover}.afx-user-summary span{display:grid}.afx-user-summary small{color:var(--afx-muted)}

/* v1.2.1 community grid + light mode polish */
.animfx-masonry-feed{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;column-count:unset!important;column-gap:unset!important;align-items:start}.animfx-masonry-feed .animfx-post-card{display:block!important;width:auto!important;margin:0!important;break-inside:auto!important}.animfx-single-post-shell{max-width:820px!important}.animfx-single-post-shell .animfx-post-card{padding:22px}.animfx-single-nav{margin-bottom:16px}.animfx-tags span{background:var(--afx-card2,#171d35)!important;color:var(--afx-text,#f7f8ff)!important;border-color:var(--afx-border,#303957)!important}.animfx-profile-contact{display:grid;grid-template-columns:1fr 1fr;gap:14px}.animfx-profile-contact label:last-child{grid-column:1/-1}@media(max-width:900px){.animfx-masonry-feed{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:600px){.animfx-masonry-feed{grid-template-columns:1fr!important}.animfx-profile-contact{grid-template-columns:1fr}}
