@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;800&display=swap');
:root{--bg:#f3f4f7;--card:#fff;--text:#1a1d23;--muted:#5f6673;--accent:#6d4aff;--accent2:#e2475b;--radius:16px}
body{background:var(--bg)!important;font-family:'Manrope',system-ui,-apple-system,sans-serif!important;color:var(--text)}
.container_wide{max-width:1200px!important;width:auto!important;margin:0 auto!important;padding:28px 16px!important;box-sizing:border-box}
#grid_view{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;height:auto!important;position:static!important}
#grid_view .post-item{position:static!important;left:auto!important;top:auto!important;width:auto!important;float:none!important;margin:0!important;padding:0!important;background:var(--card)!important;border:0!important;border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 12px rgba(20,25,40,.08);transition:transform .2s,box-shadow .2s}
#grid_view .post-item:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(20,25,40,.16)}
#grid_view .post-label{display:none!important}
#grid_view .post-image{order:-1;margin:0!important;padding:0!important}
#grid_view .post-image img{width:100%!important;height:200px!important;object-fit:cover;display:block;border:0!important}
#grid_view .post-title,#grid_view .post-meta-top,#grid_view .post-descr,#grid_view .post-meta-bot{padding-left:20px!important;padding-right:20px!important;background:none!important;border:0!important}
#grid_view .post-title h2{margin:18px 0 6px!important;font-size:20px!important;line-height:1.3!important;font-weight:800!important;font-family:inherit!important}
#grid_view .post-title h2 a{color:var(--text)!important;text-decoration:none!important}
#grid_view .post-title h2 a:hover{color:var(--accent)!important}
#grid_view .post-meta-top{font-size:13px!important;color:var(--muted)!important}
#grid_view .post-meta-top span{background:none!important;padding:0!important;margin-right:10px!important}
#grid_view .post-meta-top a{color:var(--accent2)!important;font-weight:600}
#grid_view .post-descr{flex:1;color:var(--muted)!important;font-size:15px!important;line-height:1.6!important}
#grid_view .post-descr p{margin:10px 0!important}
#grid_view .post-meta-bot{padding-bottom:20px!important}
#grid_view .button{display:inline-block!important;background:var(--accent)!important;color:#fff!important;border-radius:999px!important;padding:9px 20px!important;font-weight:700!important;text-decoration:none!important;border:0!important;box-shadow:none!important}
#grid_view .button span{background:none!important;padding:0!important;color:inherit!important;font:inherit!important}
#grid_view .button:hover{filter:brightness(1.12)}
@media (max-width:640px){#grid_view{grid-template-columns:1fr}}
#grid_view::before,#grid_view::after{display:none!important;content:none!important}
/* ===== HEADER ===== */
.logo+.header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.88)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:0!important;box-shadow:0 1px 0 rgba(20,25,40,.08),0 4px 16px rgba(20,25,40,.04)}
.logo+.header .header_inner,.logo+.header #topmenu{border:0!important;background:none!important;background-image:none!important}
.logo+.header #menu-menu>li>a{font-family:'Manrope',sans-serif!important;font-weight:700!important;font-size:15px!important;padding:8px 18px!important;border-radius:999px;transition:background .2s}
.logo+.header #menu-menu>li>a:hover{background:rgba(109,74,255,.1)!important}
.logo+.header .submenu-1{background:#fff!important;border:0!important;border-radius:14px!important;box-shadow:0 12px 40px rgba(20,25,40,.18)!important;padding:8px!important}
.logo+.header .submenu-1 li{background:none!important;border:0!important}
.logo+.header .submenu-1 a{font-family:'Manrope',sans-serif!important;text-transform:none!important;font-size:14px!important;font-weight:600!important;color:var(--text)!important;border-radius:8px!important;background:none!important}
.logo+.header .submenu-1 a:hover{background:rgba(109,74,255,.1)!important;color:var(--accent)!important}
/* ===== FOOTER ===== */
#middle~br{display:none!important}
#middle~.header{background:#14161c!important;border:0!important;margin-top:48px!important;padding:40px 16px 16px!important;position:static!important;box-shadow:none!important}
#middle~.header .header_inner,#middle~.header #topmenu{border:0!important;background:none!important;background-image:none!important;max-width:1200px!important;width:auto!important;margin:0 auto!important}
#middle~.header ul{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px 28px;list-style:none!important;margin:0 0 8px!important;padding:0!important;text-align:left!important}
#middle~.header li{float:none!important;display:block!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
#middle~.header li a{color:#9aa1ad!important;font-family:'Manrope',sans-serif!important;font-size:14px!important;font-weight:400!important;text-transform:none!important;padding:0!important;background:none!important;line-height:1.5!important}
#middle~.header li a:hover{color:#fff!important}
#middle~.container{background:#14161c!important;color:#6b7280!important;max-width:none!important;width:auto!important;margin:0!important;padding:8px 16px 28px!important;font-size:13px}
#middle~.container p{margin:0!important;color:#6b7280!important}
/* ===== HERO ===== */
.hero{background:linear-gradient(135deg,#6d4aff 0%,#a64aff 55%,#e2475b 100%);border-radius:24px;padding:48px 40px;color:#fff;margin:0 0 32px;box-shadow:0 12px 40px rgba(109,74,255,.25);text-align:left}
.hero-kicker{display:inline-block;font-family:'Manrope',sans-serif;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:rgba(255,255,255,.18);padding:6px 14px;border-radius:999px}
.hero h1{font-family:'Manrope',sans-serif!important;font-weight:800!important;font-size:44px!important;line-height:1.1!important;margin:18px 0 12px!important;color:#fff!important;letter-spacing:-.02em;text-transform:none!important}
.hero p{font-family:'Manrope',sans-serif;font-size:18px;line-height:1.6;max-width:720px;margin:0 0 24px!important;color:rgba(255,255,255,.92)!important}
.hero-cats{display:flex;flex-wrap:wrap;gap:8px}
.hero-cats a{font-family:'Manrope',sans-serif;background:rgba(255,255,255,.16);color:#fff!important;text-decoration:none!important;padding:7px 14px;border-radius:999px;font-size:14px;font-weight:600;transition:background .2s}
.hero-cats a:hover{background:rgba(255,255,255,.32)}
@media (max-width:640px){.hero{padding:32px 20px;border-radius:18px}.hero h1{font-size:30px!important}.hero p{font-size:16px}}
/* ===== ARTICLE ===== */
.post-detail{background:#fff!important;border:0!important;border-radius:20px!important;box-shadow:0 2px 12px rgba(20,25,40,.08)!important;padding:32px 36px!important;box-sizing:border-box}
.post-detail .post-label{display:none!important}
.post-detail .post-title h1,.post-detail .post-title h2{font-family:'Manrope',sans-serif!important;font-weight:800!important;font-size:36px!important;line-height:1.2!important;letter-spacing:-.02em;color:var(--text)!important;margin:0 0 12px!important;text-transform:none!important}
.post-detail .post-meta-top{font-size:14px!important;color:var(--muted)!important;margin:0 0 20px!important;padding:0!important;border:0!important;background:none!important}
.post-detail .post-meta-top span{background:none!important;padding:0!important;margin-right:12px!important}
.post-detail .post-meta-top a{color:var(--accent2)!important;font-weight:600}
.entry{font-family:'Manrope',sans-serif!important;font-size:18px!important;line-height:1.75!important;color:#2a2f38!important}
.entry p{margin:0 0 1.2em!important}
.entry h2,.entry h3,.entry h4{font-family:'Manrope',sans-serif!important;font-weight:800!important;color:var(--text)!important;line-height:1.3!important;margin:1.6em 0 .6em!important;text-transform:none!important}
.entry img{max-width:100%!important;height:auto!important;border-radius:14px}
.entry a{color:var(--accent)!important}
.entry blockquote{border-left:4px solid var(--accent)!important;background:#f6f4ff!important;margin:1.5em 0!important;padding:16px 20px!important;border-radius:0 12px 12px 0;font-style:normal!important}
/* ===== SIDEBAR ===== */
.sidebar .widget-container{background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 2px 12px rgba(20,25,40,.06)!important;padding:20px!important;margin:0 0 20px!important;box-sizing:border-box}
.sidebar .widget-title{font-family:'Manrope',sans-serif!important;font-weight:800!important;font-size:17px!important;text-transform:none!important;color:var(--text)!important;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important}
.sidebar a{color:var(--text)!important}
.sidebar a:hover{color:var(--accent)!important}
.sidebar img{border-radius:10px}
.sidebar #s{border:1px solid #e3e5ea!important;border-radius:999px!important;padding:10px 16px!important;box-sizing:border-box;background:#fff!important}
/* ===== RELATED ===== */
.boxed2,.alsolike{background:#fff!important;border:0!important;border-radius:20px!important;box-shadow:0 2px 12px rgba(20,25,40,.06)!important;padding:24px!important;margin-top:24px!important;box-sizing:border-box}
@media (max-width:640px){.post-detail{padding:22px 18px!important}.post-detail .post-title h1,.post-detail .post-title h2{font-size:28px!important}.entry{font-size:17px!important}}
/* ===== DARK START ===== */
html.dark{--bg:#0f1115;--card:#181b22;--text:#e8eaee;--muted:#a0a7b3;--accent:#9b82ff;--accent2:#ff6b7f}
html.dark body{color:var(--text)!important}
html.dark .logo+.header{background:rgba(15,17,21,.85)!important;box-shadow:0 1px 0 rgba(255,255,255,.06)!important}
html.dark .logo+.header .submenu-1{background:#1d2129!important;box-shadow:0 12px 40px rgba(0,0,0,.5)!important}
html.dark #grid_view .post-item{border:1px solid rgba(255,255,255,.05)!important;box-shadow:0 2px 12px rgba(0,0,0,.4)!important}
html.dark #grid_view .button{color:#0f1115!important}
html.dark .post-detail,html.dark .sidebar .widget-container,html.dark .boxed2,html.dark .alsolike{background:var(--card)!important;box-shadow:0 2px 12px rgba(0,0,0,.4)!important}
html.dark .entry{color:#d3d7de!important}
html.dark .entry blockquote{background:#211d33!important}
html.dark .sidebar #s{background:#0f1115!important;border-color:#2a2f38!important;color:var(--text)!important}
html.dark #middle~.header,html.dark #middle~.container{background:#0a0b0e!important}
/* ===== DARK END ===== */
.theme-toggle{position:absolute;right:16px;top:50%;transform:translateY(-50%);z-index:101;width:40px;height:40px;border-radius:50%;border:1px solid rgba(20,25,40,.12);background:var(--card);font-size:18px;line-height:1;cursor:pointer;padding:0;box-shadow:0 2px 8px rgba(20,25,40,.08);transition:transform .2s}
.theme-toggle:hover{transform:translateY(-50%) scale(1.08)}
html.dark .theme-toggle{border-color:rgba(255,255,255,.12)}
/* ===== HERO MONSTER ===== */
.hero{position:relative;overflow:hidden}
.hero>*:not(.hero-monster){position:relative;z-index:1}
.hero-cats{max-width:calc(100% - 200px)}
.hero-monster{position:absolute;right:40px;bottom:0;width:170px;height:170px;pointer-events:none;z-index:0}
.hero-monster svg{display:block;width:100%;height:100%;transform:translateY(75%);animation:hm-peek 9s ease-in-out infinite}
.hm-eye{transform-box:fill-box;transform-origin:center;animation:hm-blink 4.5s infinite}
.hm-pupil{animation:hm-look 9s ease-in-out infinite}
@keyframes hm-peek{0%,12%{transform:translateY(75%) rotate(0)}26%{transform:translateY(6%) rotate(-4deg)}34%{transform:translateY(10%) rotate(3deg)}62%{transform:translateY(8%) rotate(-2deg)}70%{transform:translateY(12%) rotate(0)}84%,100%{transform:translateY(75%) rotate(0)}}
@keyframes hm-blink{0%,90%,100%{transform:scaleY(1)}94%{transform:scaleY(.08)}}
@keyframes hm-look{0%,28%{transform:translate(0,0)}36%{transform:translate(-9px,-2px)}48%{transform:translate(9px,-2px)}58%{transform:translate(0,3px)}100%{transform:translate(0,0)}}
@media (max-width:640px){.hero{padding-bottom:120px!important}.hero-cats{max-width:none}.hero-monster{right:16px;width:120px;height:120px}}
@media (prefers-reduced-motion:reduce){.hero-monster svg,.hm-eye,.hm-pupil{animation:none}.hero-monster svg{transform:translateY(12%)}}
/* ===== MOBILE LOGO ===== */
@media (max-width:640px){.logo{height:auto!important;padding:20px 12px 12px!important;overflow:visible!important}.logo a{font-size:44px!important;white-space:nowrap}}
@media (max-width:380px){.logo a{font-size:38px!important}}
/* ===== MOBILE TOGGLE ===== */
@media (max-width:640px){.theme-toggle{position:fixed!important;top:12px!important;right:12px!important;transform:none!important;width:38px;height:38px;font-size:17px}.theme-toggle:hover{transform:none!important}}
/* ===== CATEGORY ===== */
.gallery-list .post-item{background:var(--card)!important;border:0!important;border-radius:20px!important;box-shadow:0 2px 12px rgba(20,25,40,.08)!important;padding:24px!important;margin:0 0 24px!important;box-sizing:border-box}
.gallery-list .post-label{display:none!important}
.gallery-list .post-title h2{font-family:'Manrope',sans-serif!important;font-weight:800!important;font-size:24px!important;line-height:1.3!important;text-transform:none!important;margin:0 0 6px!important}
.gallery-list .post-title h2 a{color:var(--text)!important;text-decoration:none!important}
.gallery-list .post-title h2 a:hover{color:var(--accent)!important}
.gallery-list .post-meta-top,.gallery-list .post-meta-bot{background:none!important;border:0!important}
.gallery-list .post-meta-top span{background:none!important;padding:0!important;margin-right:12px!important;color:var(--muted)!important}
.gallery-list .post-meta-top a{color:var(--accent2)!important;font-weight:600}
.gallery-list .post-descr{color:var(--muted)!important;font-family:'Manrope',sans-serif;font-size:16px;line-height:1.65}
.gallery-list .post-image img{border-radius:14px!important;border:0!important}
.gallery-list .button{display:inline-block!important;background:var(--accent)!important;color:#fff!important;border-radius:999px!important;padding:9px 20px!important;font-weight:700!important;text-decoration:none!important;border:0!important;box-shadow:none!important}
.gallery-list .button span{background:none!important;padding:0!important;color:inherit!important;font:inherit!important}
.sort_box{background:var(--card)!important;border:0!important;border-radius:16px!important;box-shadow:none!important}
.wp-pagenavi a,.wp-pagenavi span{background:var(--card)!important;color:var(--text)!important;border:1px solid rgba(127,127,127,.2)!important;border-radius:999px!important;padding:6px 14px!important;text-decoration:none!important}
.wp-pagenavi .current{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
/* ===== CONTACT ===== */
.grid_8{background:var(--card)!important;border:0!important;border-radius:20px!important;box-shadow:0 2px 12px rgba(20,25,40,.08)!important;padding:28px!important;box-sizing:border-box}
.grid_8 #contact_form,.grid_8 #gb_form,.grid_8 .zend_form,.grid_8 fieldset{background:none!important;border:0!important;box-shadow:none!important}
.grid_8,.grid_8 label,.grid_8 legend,.grid_8 #header_message,.grid_8 h1,.grid_8 h2,.grid_8 h3{color:var(--text)!important;font-family:'Manrope',sans-serif!important}
.grid_8 input[type=text],.grid_8 input[type=email],.grid_8 input:not([type]),.grid_8 textarea,.grid_8 select{background:var(--bg)!important;color:var(--text)!important;border:1px solid rgba(127,127,127,.25)!important;border-radius:12px!important;padding:10px 14px!important;box-shadow:none!important;box-sizing:border-box;max-width:100%}
.grid_8 input[type=submit],.grid_8 button{background:var(--accent)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:10px 24px!important;font-weight:700!important;cursor:pointer;box-shadow:none!important;text-shadow:none!important}
html.dark .gallery-list .post-item,html.dark .grid_8{box-shadow:0 2px 12px rgba(0,0,0,.4)!important}
html.dark .gallery-list .button,html.dark .grid_8 input[type=submit],html.dark .grid_8 button{color:#0f1115!important}
/* ===== CONTACT FIX ===== */
.grid_8 *:not(input):not(textarea):not(select):not(button){background:none!important;box-shadow:none!important}
.grid_8>*{margin-left:0!important;margin-right:0!important;max-width:100%!important;width:auto!important;border:0!important;box-sizing:border-box}
.grid_8>*:first-child{margin-top:0!important}
.grid_8 #header_message,.grid_8 h1,.grid_8 h2{font-weight:800!important;font-size:32px!important;border:0!important;padding:0 0 8px!important;margin:0 0 16px!important}
.grid_8 label{color:var(--muted)!important;font-size:15px!important;font-weight:600!important}
.grid_8 input[type=submit],.grid_8 button{height:auto!important;line-height:1.2!important;padding:12px 28px!important;text-transform:none!important;font-family:'Manrope',sans-serif!important;font-size:15px!important}
.grid_8 input[type=submit],.grid_8 button{text-indent:0!important;text-align:center!important;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important}.grid_8 button *{padding:0!important;margin:0!important;text-indent:0!important;position:static!important;line-height:inherit!important;background:none!important;color:inherit!important;font:inherit!important}
#grid_view:not(.sitemap) .post-descr a,.gallery-list .post-descr a{color:var(--muted)!important;opacity:.7;font-size:13px!important;font-weight:400!important;text-decoration:none!important;border:0!important;background:none!important}#grid_view:not(.sitemap) .post-descr a:hover,.gallery-list .post-descr a:hover{opacity:1;text-decoration:underline!important}
/* ===== READ PROGRESS ===== */
.read-progress{position:fixed;top:0;left:0;height:4px;width:0;z-index:1000;background:linear-gradient(90deg,#6d4aff,#a64aff,#e2475b);border-radius:0 4px 4px 0;transition:width .1s linear;pointer-events:none}
/* ===== TO TOP ===== */
.to-top{position:fixed;right:20px;bottom:20px;z-index:999;width:46px;height:46px;border-radius:50%;border:0;background:linear-gradient(135deg,#6d4aff,#e2475b);color:#fff;font-size:22px;font-weight:700;line-height:1;cursor:pointer;padding:0;box-shadow:0 6px 20px rgba(109,74,255,.35);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility .25s}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.to-top:hover{transform:translateY(-3px)}
@media (max-width:640px){.to-top{right:14px;bottom:14px;width:42px;height:42px;font-size:20px}}
/* ===== TO TOP MONSTER ===== */
.to-top{width:58px!important;height:58px!important;overflow:hidden;font-size:0!important}
.to-top svg{display:block;width:100%;height:100%;transform:translateY(6px)}
.to-top .tt-arm{transform-box:fill-box;transform-origin:bottom center;animation:tt-point 1.6s ease-in-out infinite}
.to-top .tt-eye{transform-box:fill-box;transform-origin:center;animation:hm-blink 4s infinite}
.to-top:hover svg{animation:tt-hop .5s ease-in-out}
@keyframes tt-point{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(-6deg)}}
@keyframes tt-hop{0%,100%{transform:translateY(6px)}50%{transform:translateY(-2px)}}
@media (max-width:640px){.to-top{width:50px!important;height:50px!important}}
@media (prefers-reduced-motion:reduce){.to-top .tt-arm,.to-top .tt-eye,.to-top:hover svg{animation:none}}
/* ===== REVEAL ===== */
.reveal{opacity:0;transform:translateY(28px)!important;transition:opacity .6s ease,transform .6s ease!important}
.reveal.in{opacity:1;transform:translateY(0)!important}
