
:root{--navy:#07152d;--navy2:#0d2245;--blue:#2563eb;--cyan:#14b8a6;--violet:#7c3aed;--ink:#101828;--text:#344054;--muted:#667085;--line:#e7ebf1;--bg:#f7f9fc;--white:#fff;--radius:20px;--shadow:0 14px 38px rgba(16,35,69,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;background:#fff;color:var(--ink);line-height:1.8;overflow-x:hidden}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}.muted{color:var(--muted)}
.top-accent{height:3px;background:linear-gradient(90deg,var(--cyan),var(--blue),var(--violet))}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(231,235,241,.8)}.header-inner{height:78px;display:flex;align-items:center;gap:28px}.brand{font-weight:900;font-size:22px;color:var(--navy);display:flex;align-items:center;gap:10px}.brand-mark{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,var(--navy2),var(--blue));display:grid;place-items:center;color:white;font-weight:900;box-shadow:0 8px 20px rgba(37,99,235,.2)}.nav{display:flex;align-items:center;gap:21px;font-size:14px;font-weight:700;color:#334155}.nav a:hover,.nav a.active{color:var(--blue)}.header-actions{margin-right:auto;display:flex;gap:8px;align-items:center}.icon-btn,.menu-btn{width:42px;height:42px;border:1px solid var(--line);background:white;border-radius:12px;display:grid;place-items:center;cursor:pointer}.menu-btn{display:none}.mobile-nav{display:none;padding:8px 20px 18px;border-top:1px solid var(--line)}.mobile-nav.open{display:grid}.mobile-nav a{padding:10px 4px;border-bottom:1px dashed var(--line);font-weight:700}
.hero{padding:70px 0 56px;background:radial-gradient(circle at 90% 20%,rgba(37,99,235,.10),transparent 28%),radial-gradient(circle at 20% 20%,rgba(20,184,166,.09),transparent 26%),linear-gradient(#fbfdff,#fff)}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}.eyebrow,.badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.hero h1{font-size:clamp(34px,5vw,60px);line-height:1.35;margin:16px 0 16px;letter-spacing:-1px}.hero p{color:var(--muted);font-size:17px;max-width:700px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:13px;padding:11px 18px;border:1px solid var(--line);font-weight:800;cursor:pointer;background:white}.btn-primary{background:var(--navy);color:white;border-color:var(--navy)}.btn-accent{background:linear-gradient(135deg,var(--blue),#4f46e5);color:white;border:0}.hero-card{background:var(--navy);border-radius:26px;padding:26px;color:white;box-shadow:0 28px 70px rgba(7,21,45,.22);position:relative;overflow:hidden}.hero-card:before{content:'';position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(45,212,191,.12);left:-100px;bottom:-140px}.code-window{background:#0b1830;border:1px solid rgba(255,255,255,.1);border-radius:17px;padding:18px;direction:ltr;text-align:left;font-family:Consolas,monospace;font-size:13px;line-height:1.9}.dots{display:flex;gap:6px;margin-bottom:14px}.dots i{width:8px;height:8px;border-radius:50%;background:#64748b}.code-cyan{color:#5eead4}.code-blue{color:#93c5fd}.code-violet{color:#c4b5fd}.code-muted{color:#94a3b8}
.section{padding:62px 0}.section.soft{background:var(--bg)}.section.dark{background:var(--navy);color:white}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.section-head h2{margin:0 0 4px;font-size:28px}.section-head p{margin:0;color:var(--muted)}.section.dark .section-head p{color:#a8b6ca}.view-all{color:var(--blue);font-weight:800;font-size:14px}.grid{display:grid;gap:20px}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s ease}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d9e2ef}.thumb{aspect-ratio:16/9;background:#eef2f7;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.card-body{padding:18px}.card h3{font-size:18px;line-height:1.65;margin:10px 0 8px}.card p{font-size:14px;color:var(--muted);margin:0 0 13px}.meta{display:flex;gap:10px;flex-wrap:wrap;color:#7a8699;font-size:12px}.category-grid{grid-template-columns:repeat(6,1fr)}.category-card{padding:19px;background:white;border:1px solid var(--line);border-radius:18px}.category-icon{width:42px;height:42px;border-radius:13px;background:#eff6ff;color:var(--blue);display:grid;place-items:center;font-weight:900;margin-bottom:10px}.category-card strong{display:block}.category-card small{color:var(--muted)}
.featured{display:grid;grid-template-columns:1.4fr .8fr;gap:20px}.featured-main{min-height:430px;position:relative;border-radius:24px;overflow:hidden;color:white;background:var(--navy)}.featured-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}.featured-main:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,16,36,.95),rgba(5,16,36,.08) 70%)}.featured-content{position:absolute;z-index:2;bottom:0;padding:28px}.featured-content h3{font-size:28px;line-height:1.6;margin:12px 0}.featured-side{display:grid;gap:18px}.mini-card{display:grid;grid-template-columns:130px 1fr;gap:14px;background:white;border:1px solid var(--line);border-radius:18px;padding:12px}.mini-card img{width:130px;height:110px;object-fit:cover;border-radius:13px}.mini-card h3{font-size:15px;line-height:1.7;margin:5px 0}
.page-hero{padding:56px 0 36px;background:linear-gradient(#f6faff,#fff);border-bottom:1px solid var(--line)}.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:10px}.page-hero h1{font-size:38px;line-height:1.5;margin:0 0 8px}.page-hero p{color:var(--muted);max-width:760px}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:32px}.sidebar{display:grid;gap:18px;align-content:start}.widget{border:1px solid var(--line);border-radius:18px;padding:18px;background:white}.widget h3{font-size:17px;margin:0 0 13px}.widget a{display:block;padding:8px 0;border-bottom:1px dashed var(--line);font-size:14px}.widget a:last-child{border-bottom:0}.search-box{display:flex;gap:8px}.search-box input,.form-control{width:100%;border:1px solid var(--line);border-radius:13px;padding:11px 13px;outline:none}.search-box input:focus,.form-control:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #eff6ff}.pagination{display:flex;gap:8px;justify-content:center;margin-top:34px}.pagination a{width:42px;height:42px;border:1px solid var(--line);border-radius:11px;display:grid;place-items:center}.pagination a.active{background:var(--navy);color:white}
.article{max-width:830px}.article-header{padding:56px 0 30px}.article-header h1{font-size:clamp(30px,5vw,48px);line-height:1.55;margin:16px 0}.article-cover{border-radius:26px;overflow:hidden;margin-bottom:32px}.article-content{font-size:17px;color:#26364d}.article-content h2{font-size:26px;margin:38px 0 10px}.article-content h3{font-size:21px;margin:28px 0 8px}.article-content p{margin:0 0 18px}.article-content pre{direction:ltr;text-align:left;background:#07152d;color:#dbeafe;border-radius:18px;padding:20px;overflow:auto;line-height:1.8}.article-content blockquote{margin:24px 0;border-right:4px solid var(--cyan);background:#f0fdfa;padding:15px 18px;border-radius:12px}.author-box{display:flex;gap:16px;background:#f8fafc;border:1px solid var(--line);padding:20px;border-radius:18px;margin-top:38px}.avatar{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--cyan));display:grid;place-items:center;color:white;font-weight:900;flex:none}
.rank-list{display:grid;gap:0}.rank-item{display:grid;grid-template-columns:54px 1fr;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}.rank{font-size:27px;color:#cbd5e1;font-weight:900}.rank-item h3{font-size:16px;margin:0 0 4px}.tutorial-card{padding:20px;border-radius:20px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06)}.tutorial-card .progress{height:6px;border-radius:999px;background:rgba(255,255,255,.14);overflow:hidden;margin-top:13px}.tutorial-card .progress i{display:block;height:100%;background:linear-gradient(90deg,var(--cyan),#60a5fa)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-group{display:grid;gap:6px}.form-group.full{grid-column:1/-1}.form-group label{font-weight:700;font-size:14px}.form-control{background:white}.textarea{min-height:150px;resize:vertical}.notice{padding:15px 18px;border-radius:14px;background:#eff6ff;color:#1e40af;border:1px solid #dbeafe}.empty-state{text-align:center;padding:70px 20px;border:1px dashed #cbd5e1;border-radius:24px}.empty-state .big{font-size:90px;line-height:1;font-weight:900;color:#e2e8f0}.notfound{min-height:65vh;display:grid;place-items:center;text-align:center}.notfound .code404{font-size:130px;line-height:1;font-weight:900;background:linear-gradient(135deg,var(--blue),var(--cyan));-webkit-background-clip:text;color:transparent}
.newsletter{border-radius:28px;padding:35px;background:linear-gradient(135deg,#0a1c3d,#173b6f);color:white;display:flex;gap:30px;align-items:center;justify-content:space-between}.newsletter p{color:#cbd5e1}.newsletter-form{display:flex;gap:8px;min-width:400px}.newsletter-form input{flex:1;border:0;border-radius:12px;padding:12px 14px}.newsletter-form button{border:0;background:var(--cyan);color:#052e2b;border-radius:12px;padding:0 18px;font-weight:900}
.site-footer{background:#061126;color:#d7e0ed;padding:54px 0 20px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px}.site-footer h3{font-size:15px;color:white;margin:0 0 13px}.site-footer p,.site-footer a{color:#9fb0c8;font-size:14px}.site-footer a{display:block;margin:7px 0}.socials{display:flex;gap:9px;margin-top:13px}.social-link{width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.12);display:grid!important;place-items:center!important;color:white!important;margin:0!important}.social-link svg{width:21px;height:21px}.footer-bottom{display:flex;justify-content:center;align-items:center;gap:20px;border-top:1px solid rgba(255,255,255,.08);padding-top:18px;margin-top:36px;color:#7f91ab;font-size:13px;text-align:center}.footer-bottom-links{display:flex;gap:18px}.footer-bottom-links a{margin:0;font-size:13px}
.search-overlay{position:fixed;inset:0;background:rgba(5,15,32,.68);backdrop-filter:blur(10px);z-index:100;display:none;align-items:flex-start;justify-content:center;padding-top:13vh}.search-overlay.open{display:flex}.search-modal{width:min(720px,calc(100% - 30px));background:white;border-radius:22px;padding:20px;box-shadow:0 30px 90px rgba(0,0,0,.25)}.search-modal-head{display:flex;gap:10px}.search-modal input{flex:1;border:0;background:#f1f5f9;border-radius:13px;padding:15px;outline:none}.search-close{border:0;background:#eef2f7;border-radius:12px;width:48px;cursor:pointer}.search-suggestions{padding:16px 4px 2px;color:var(--muted);font-size:14px}
@media(max-width:1050px){.nav{display:none}.menu-btn{display:grid}.category-grid{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.content-layout{grid-template-columns:1fr}.sidebar{grid-template-columns:repeat(2,1fr)}.hero-grid{gap:30px}}
@media(max-width:760px){.container{width:min(100% - 28px,1180px)}.header-inner{height:68px}.hero{padding:46px 0 38px}.hero-grid,.featured{grid-template-columns:1fr}.hero h1{font-size:35px}.hero-card{display:none}.section{padding:45px 0}.section-head{align-items:flex-start}.section-head h2{font-size:24px}.grid-3,.grid-2,.grid-4{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.featured-main{min-height:370px}.featured-content h3{font-size:22px}.mini-card{grid-template-columns:105px 1fr}.mini-card img{width:105px;height:95px}.page-hero h1{font-size:31px}.sidebar{grid-template-columns:1fr}.newsletter{display:block;padding:26px}.newsletter-form{min-width:0;margin-top:18px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom-links{margin-top:8px;flex-wrap:wrap}.article-header{padding-top:38px}.article-header h1{font-size:31px}.article-content{font-size:16px}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.notfound .code404{font-size:90px}}
@media(max-width:420px){.brand span:last-child{font-size:19px}.category-grid{grid-template-columns:1fr 1fr}.category-card{padding:15px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.newsletter-form{display:grid}.newsletter-form button{padding:12px}.mini-card{grid-template-columns:90px 1fr}.mini-card img{width:90px}.hero-actions .btn{width:100%}}

/* =========================================================
   Theme system + 110% global zoom
   Default theme: Dark
   ========================================================= */
html{zoom:110%;background:#08111f}
html[data-theme="light"]{background:#fff}

.theme-toggle{position:relative;overflow:hidden;transition:background .22s ease,border-color .22s ease,color .22s ease,transform .22s ease}
.theme-toggle:hover{transform:translateY(-1px)}
.theme-toggle svg{width:20px;height:20px;transition:transform .25s ease,opacity .2s ease}
.theme-toggle .sun-icon,.theme-toggle .moon-icon{position:absolute}
html[data-theme="dark"] .theme-toggle .sun-icon{opacity:1;transform:rotate(0deg) scale(1)}
html[data-theme="dark"] .theme-toggle .moon-icon{opacity:0;transform:rotate(-35deg) scale(.7)}
html[data-theme="light"] .theme-toggle .sun-icon{opacity:0;transform:rotate(35deg) scale(.7)}
html[data-theme="light"] .theme-toggle .moon-icon{opacity:1;transform:rotate(0deg) scale(1)}

html[data-theme="dark"] body{background:#08111f;color:#e7eef9}
html[data-theme="dark"] .site-header{background:rgba(8,17,31,.92);border-bottom-color:rgba(51,65,85,.72)}
html[data-theme="dark"] .brand{color:#f8fafc}
html[data-theme="dark"] .nav{color:#c5d0df}
html[data-theme="dark"] .nav a:hover,html[data-theme="dark"] .nav a.active{color:#60a5fa}
html[data-theme="dark"] .icon-btn,html[data-theme="dark"] .menu-btn{background:#0e1a2c;border-color:#26364d;color:#e7eef9}
html[data-theme="dark"] .mobile-nav{background:#08111f;border-top-color:#26364d}
html[data-theme="dark"] .mobile-nav a{border-bottom-color:#26364d;color:#d7e2ef}
html[data-theme="dark"] .hero{background:radial-gradient(circle at 90% 20%,rgba(37,99,235,.20),transparent 28%),radial-gradient(circle at 20% 20%,rgba(20,184,166,.14),transparent 26%),linear-gradient(#091426,#08111f)}
html[data-theme="dark"] .hero p,html[data-theme="dark"] .section-head p,html[data-theme="dark"] .page-hero p,html[data-theme="dark"] .muted{color:#94a3b8}
html[data-theme="dark"] .section.soft{background:#0b1525}
html[data-theme="dark"] .section:not(.dark){background:#08111f}
html[data-theme="dark"] .card,html[data-theme="dark"] .category-card,html[data-theme="dark"] .mini-card,html[data-theme="dark"] .widget{background:#0f1b2d;border-color:#243550}
html[data-theme="dark"] .card:hover{border-color:#365274;box-shadow:0 18px 44px rgba(0,0,0,.24)}
html[data-theme="dark"] .card p,html[data-theme="dark"] .category-card small{color:#94a3b8}
html[data-theme="dark"] .thumb{background:#101d30}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .badge{border-color:#254b79;background:#102b4b;color:#8bc4ff}
html[data-theme="dark"] .btn{background:#0f1b2d;border-color:#2a3b55;color:#e7eef9}
html[data-theme="dark"] .btn-primary{background:#edf4ff;color:#07152d;border-color:#edf4ff}
html[data-theme="dark"] .btn-accent{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}
html[data-theme="dark"] .page-hero{background:linear-gradient(#0b1728,#08111f);border-bottom-color:#243550}
html[data-theme="dark"] .breadcrumbs{color:#8494aa}
html[data-theme="dark"] .widget a,html[data-theme="dark"] .rank-item{border-color:#243550}
html[data-theme="dark"] .search-box input,html[data-theme="dark"] .form-control{background:#0d192a;border-color:#2b3c55;color:#e7eef9}
html[data-theme="dark"] .search-box input::placeholder,html[data-theme="dark"] .form-control::placeholder,html[data-theme="dark"] .newsletter-form input::placeholder,html[data-theme="dark"] .search-modal input::placeholder{color:#718198}
html[data-theme="dark"] .search-box input:focus,html[data-theme="dark"] .form-control:focus{border-color:#3b82f6;box-shadow:0 0 0 4px rgba(37,99,235,.14)}
html[data-theme="dark"] .pagination a{border-color:#2a3b55;color:#dce6f4}
html[data-theme="dark"] .pagination a.active{background:#dce8f7;color:#07152d}
html[data-theme="dark"] .article-content{color:#c9d5e5}
html[data-theme="dark"] .article-content blockquote{background:#0b2b2a;color:#c9f5ee}
html[data-theme="dark"] .author-box{background:#0e1a2b;border-color:#26364d}
html[data-theme="dark"] .notice{background:#102b4b;color:#a8d1ff;border-color:#254b79}
html[data-theme="dark"] .empty-state{border-color:#334155}
html[data-theme="dark"] .empty-state .big{color:#26364d}
html[data-theme="dark"] .rank{color:#42546c}
html[data-theme="dark"] .search-modal{background:#0d192a;color:#e7eef9;border:1px solid #26364d}
html[data-theme="dark"] .search-modal input{background:#111f33;color:#e7eef9}
html[data-theme="dark"] .search-close{color:#e7eef9}
html[data-theme="dark"] .search-suggestions{color:#94a3b8}
html[data-theme="dark"] .newsletter{box-shadow:0 24px 60px rgba(0,0,0,.20)}
html[data-theme="dark"] .site-footer{border-top:1px solid #17253a}

/* Light theme restores the original design explicitly. */
html[data-theme="light"] body{background:#fff;color:#101828}

/* Prevent the 110% zoom from causing a visible horizontal scrollbar. */
html,body{max-width:100%;overflow-x:hidden}



/* =========================================================
   NokteWeb homepage redesign
   ========================================================= */
.section-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;font-weight:900;letter-spacing:.02em;color:var(--blue)}
.section-kicker:before{content:"";width:22px;height:2px;border-radius:99px;background:currentColor}
.latest-heading{align-items:flex-end}
.article-list{display:grid;gap:18px}
.article-list-item{position:relative;display:grid;grid-template-columns:285px minmax(0,1fr);gap:22px;padding:15px;border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden;isolation:isolate;transition:transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s ease,border-color .32s ease,background .32s ease}
.article-list-item:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .3s ease;z-index:-1}
.article-list-media{height:188px;border-radius:16px;overflow:hidden;background:#eef3f9}
.article-list-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .35s ease}
.article-list-content{padding:3px 4px 3px 0;display:flex;flex-direction:column;min-width:0}
.article-list-content h3{margin:9px 0 6px;font-size:20px;line-height:1.7;letter-spacing:-.15px}
.article-list-content p{margin:0 0 16px;color:var(--muted);font-size:14px;max-width:780px}
.article-list-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.read-more{display:inline-flex;align-items:center;gap:7px;flex:none;font-size:13px;font-weight:900;color:var(--blue);transition:gap .25s ease,color .25s ease}
.article-list-item:hover{transform:translateY(-5px)}
.article-list-item:hover .article-list-media img{transform:scale(1.045)}
.article-list-item:hover .read-more{gap:11px}
.load-more-wrap{display:flex;justify-content:center;margin-top:28px}
.load-more-btn{min-width:180px;transition:transform .22s ease,box-shadow .22s ease,background .22s ease}
.load-more-btn:hover{transform:translateY(-2px)}
.load-more-btn:disabled{cursor:default;opacity:.72;transform:none}
.load-more-icon{font-size:18px;line-height:1}
.load-more-item.is-hidden{display:none}
.load-more-item.is-revealing{display:grid;opacity:0;transform:translateY(14px)}
.load-more-item.is-revealing.is-visible{animation:nokteReveal .5s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes nokteReveal{to{opacity:1;transform:translateY(0)}}

/* AI showcase */
.ai-showcase{position:relative;overflow:hidden;background:#071323;color:#eef7ff}
.ai-showcase:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(80,180,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(80,180,255,.04) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,transparent,black 18%,black 82%,transparent)}
.ai-section-head{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}
.ai-section-head h2{font-size:32px;line-height:1.5;margin:8px 0 6px}
.ai-section-head p{margin:0;color:#9fb0c6;max-width:760px}
.ai-kicker{display:inline-flex;align-items:center;gap:8px;color:#67e8f9;font-size:13px;font-weight:900}
.ai-kicker i,.ai-status i{width:7px;height:7px;border-radius:50%;background:#5eead4;box-shadow:0 0 0 5px rgba(94,234,212,.10),0 0 18px rgba(94,234,212,.55)}
.ai-all-link{display:inline-flex;align-items:center;gap:8px;color:#8dd9ff;font-weight:900;font-size:14px;white-space:nowrap}
.ai-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.72fr);gap:20px;padding:20px;border:1px solid rgba(125,211,252,.12);border-radius:30px;background:linear-gradient(145deg,rgba(15,31,53,.88),rgba(7,19,35,.94));box-shadow:0 30px 80px rgba(0,0,0,.22);overflow:hidden}
.ai-orb{position:absolute;border-radius:50%;filter:blur(6px);pointer-events:none}
.ai-orb-one{width:240px;height:240px;background:rgba(34,211,238,.08);top:-120px;right:15%}
.ai-orb-two{width:220px;height:220px;background:rgba(129,92,246,.08);bottom:-120px;left:8%}
.ai-feature-story{display:grid;grid-template-columns:.92fr 1.08fr;min-height:380px;border:1px solid rgba(125,211,252,.15);border-radius:24px;overflow:hidden;background:rgba(12,29,49,.86);transition:transform .34s cubic-bezier(.2,.8,.2,1),border-color .34s ease,box-shadow .34s ease}
.ai-feature-visual{position:relative;min-height:100%;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(45,212,191,.25),transparent 38%),linear-gradient(145deg,#0b2340,#071323)}
.ai-feature-visual img{position:absolute;inset:12%;width:76%;height:76%;object-fit:cover;border-radius:22px;opacity:.82;filter:saturate(.85) contrast(1.05);transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .4s ease}
.ai-grid-lines{position:absolute;inset:0;background:linear-gradient(rgba(103,232,249,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(103,232,249,.06) 1px,transparent 1px);background-size:27px 27px}
.ai-status{position:absolute;right:16px;top:16px;display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:rgba(5,15,28,.68);border:1px solid rgba(103,232,249,.16);backdrop-filter:blur(8px);font-size:11px;font-weight:800;color:#baf7ff}
.ai-feature-content{padding:27px;display:flex;flex-direction:column;justify-content:center}
.ai-meta-line{display:flex;gap:12px;flex-wrap:wrap;color:#7dd3fc;font-size:12px;font-weight:800}
.ai-feature-content h3{font-size:24px;line-height:1.65;margin:12px 0 10px}
.ai-feature-content p{color:#a9b8ca;margin:0 0 18px;font-size:14px}
.ai-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:19px}.ai-tags span{padding:5px 9px;border:1px solid rgba(125,211,252,.15);background:rgba(56,189,248,.06);border-radius:999px;color:#b7e8ff;font-size:11px;font-weight:800}
.ai-read{display:inline-flex;align-items:center;gap:7px;width:max-content;color:#67e8f9;font-weight:900;font-size:14px;transition:gap .25s ease}
.ai-side-stories{display:grid;gap:12px}
.ai-mini-story{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:start;padding:18px;border:1px solid rgba(125,211,252,.11);border-radius:20px;background:rgba(14,31,52,.7);transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s ease,background .3s ease,box-shadow .3s ease}
.ai-mini-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(34,211,238,.12),rgba(99,102,241,.15));border:1px solid rgba(103,232,249,.12);color:#8beaff;font-weight:900;font-size:12px}
.ai-mini-category{font-size:11px;color:#67e8f9;font-weight:900}
.ai-mini-story h3{font-size:15px;line-height:1.75;margin:4px 0 8px}
.ai-mini-story .meta{color:#7890a9}
.ai-feature-story:hover{transform:translateY(-5px);border-color:rgba(103,232,249,.34);box-shadow:0 22px 55px rgba(5,13,26,.32),0 0 34px rgba(34,211,238,.07)}
.ai-feature-story:hover .ai-feature-visual img{transform:scale(1.04) rotate(-.5deg);filter:saturate(1) contrast(1.08)}
.ai-feature-story:hover .ai-read{gap:11px}
.ai-mini-story:hover{transform:translateX(-5px);border-color:rgba(103,232,249,.29);background:rgba(16,39,63,.9);box-shadow:0 14px 36px rgba(0,0,0,.18)}

/* Stronger, theme-aware card motion */
.card,.mini-card,.featured-main,.widget,.category-card{transition:transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s ease,border-color .32s ease,background .32s ease}
.card .thumb img,.mini-card img{transition:transform .52s cubic-bezier(.2,.8,.2,1),filter .35s ease}
.card:hover,.mini-card:hover,.category-card:hover,.widget:hover{transform:translateY(-5px)}
.card:hover .thumb img,.mini-card:hover img{transform:scale(1.045)}
.featured-main{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease}
.featured-main:hover{transform:translateY(-5px) scale(1.004)}

/* Light mode has a blue/violet, editorial hover language. */
html[data-theme="light"] .article-list-item:hover,html[data-theme="light"] .card:hover,html[data-theme="light"] .mini-card:hover,html[data-theme="light"] .category-card:hover,html[data-theme="light"] .widget:hover{border-color:rgba(79,70,229,.24);box-shadow:0 22px 55px rgba(37,99,235,.10),0 5px 16px rgba(99,102,241,.05)}
html[data-theme="light"] .article-list-item:before{background:linear-gradient(100deg,rgba(37,99,235,.028),rgba(124,58,237,.035),transparent 65%)}
html[data-theme="light"] .article-list-item:hover:before{opacity:1}
html[data-theme="light"] .featured-main:hover{box-shadow:0 28px 65px rgba(37,99,235,.14)}
html[data-theme="light"] .load-more-btn:hover{border-color:#bfdbfe;box-shadow:0 12px 30px rgba(37,99,235,.11)}

/* Dark mode uses cyan/indigo glow, deliberately different from light mode. */
html[data-theme="dark"] .article-list-item{background:#0f1b2d;border-color:#243550}
html[data-theme="dark"] .article-list-media{background:#101d30}
html[data-theme="dark"] .article-list-content p{color:#94a3b8}
html[data-theme="dark"] .article-list-item:hover,html[data-theme="dark"] .card:hover,html[data-theme="dark"] .mini-card:hover,html[data-theme="dark"] .category-card:hover,html[data-theme="dark"] .widget:hover{border-color:rgba(34,211,238,.30);box-shadow:0 22px 58px rgba(0,0,0,.30),0 0 28px rgba(34,211,238,.055)}
html[data-theme="dark"] .article-list-item:before{background:linear-gradient(100deg,rgba(34,211,238,.035),rgba(99,102,241,.045),transparent 68%)}
html[data-theme="dark"] .article-list-item:hover:before{opacity:1}
html[data-theme="dark"] .read-more,html[data-theme="dark"] .section-kicker{color:#67e8f9}
html[data-theme="dark"] .featured-main:hover{box-shadow:0 28px 68px rgba(0,0,0,.34),0 0 30px rgba(99,102,241,.07)}
html[data-theme="dark"] .load-more-btn:hover{border-color:rgba(34,211,238,.3);box-shadow:0 13px 32px rgba(34,211,238,.07)}

/* In light mode the AI block becomes a luminous premium panel instead of a dark clone. */
html[data-theme="light"] .ai-showcase{background:linear-gradient(180deg,#f6fbff,#f8f7ff);color:#10213a}
html[data-theme="light"] .ai-showcase:before{background:linear-gradient(rgba(37,99,235,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.045) 1px,transparent 1px);background-size:42px 42px}
html[data-theme="light"] .ai-section-head p{color:#667085}
html[data-theme="light"] .ai-kicker{color:#2563eb}
html[data-theme="light"] .ai-kicker i{background:#2563eb;box-shadow:0 0 0 5px rgba(37,99,235,.08),0 0 18px rgba(37,99,235,.18)}
html[data-theme="light"] .ai-all-link{color:#4f46e5}
html[data-theme="light"] .ai-shell{border-color:#dce8f8;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(246,248,255,.94));box-shadow:0 30px 70px rgba(30,64,175,.08)}
html[data-theme="light"] .ai-feature-story{background:#fff;border-color:#e0e8f4}
html[data-theme="light"] .ai-feature-visual{background:radial-gradient(circle at 50% 45%,rgba(45,212,191,.16),transparent 38%),linear-gradient(145deg,#eef8ff,#f2f0ff)}
html[data-theme="light"] .ai-grid-lines{background:linear-gradient(rgba(37,99,235,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.05) 1px,transparent 1px);background-size:27px 27px}
html[data-theme="light"] .ai-status{background:rgba(255,255,255,.78);border-color:#dbeafe;color:#1d4ed8}
html[data-theme="light"] .ai-feature-content p{color:#667085}
html[data-theme="light"] .ai-meta-line{color:#2563eb}
html[data-theme="light"] .ai-tags span{border-color:#dbeafe;background:#f5f9ff;color:#315f9e}
html[data-theme="light"] .ai-read{color:#4f46e5}
html[data-theme="light"] .ai-mini-story{background:rgba(255,255,255,.86);border-color:#e1e9f5}
html[data-theme="light"] .ai-mini-icon{background:linear-gradient(145deg,#eef8ff,#f1efff);border-color:#dce7fb;color:#4f46e5}
html[data-theme="light"] .ai-mini-category{color:#2563eb}
html[data-theme="light"] .ai-mini-story .meta{color:#8290a4}
html[data-theme="light"] .ai-feature-story:hover{border-color:rgba(79,70,229,.24);box-shadow:0 22px 58px rgba(37,99,235,.11),0 0 28px rgba(124,58,237,.045)}
html[data-theme="light"] .ai-mini-story:hover{border-color:rgba(79,70,229,.23);background:#fff;box-shadow:0 14px 34px rgba(37,99,235,.09)}

@media(max-width:950px){.article-list-item{grid-template-columns:220px minmax(0,1fr)}.article-list-media{height:165px}.ai-shell{grid-template-columns:1fr}.ai-side-stories{grid-template-columns:repeat(3,1fr)}.ai-mini-story{grid-template-columns:1fr}.ai-mini-icon{width:42px;height:42px}}
@media(max-width:760px){.latest-heading,.ai-section-head{display:block}.latest-heading .view-all,.ai-all-link{display:inline-flex;margin-top:14px}.article-list-item{grid-template-columns:1fr;padding:12px}.article-list-media{height:auto;aspect-ratio:16/9}.article-list-content{padding:4px 4px 7px}.article-list-content h3{font-size:18px}.article-list-footer{align-items:flex-end}.ai-section-head h2{font-size:27px}.ai-shell{padding:12px;border-radius:24px}.ai-feature-story{grid-template-columns:1fr}.ai-feature-visual{min-height:250px}.ai-feature-content{padding:21px}.ai-feature-content h3{font-size:21px}.ai-side-stories{grid-template-columns:1fr}.ai-mini-story{grid-template-columns:46px 1fr}.ai-mini-icon{width:46px;height:46px}.ai-mini-story:hover{transform:translateY(-4px)}}
@media(max-width:480px){.article-list-footer{display:grid;gap:10px}.read-more{justify-self:start}.ai-feature-visual{min-height:220px}.ai-feature-content h3{font-size:19px}}


/* =========================================================
   Premium button motion + polished Search Overlay
   Theme-aware UI motion for NokteWeb
   ========================================================= */

/* Search modal: cleaner geometry, strong contrast, no light close button in dark mode. */
.search-overlay{transition:opacity .22s ease;}
.search-modal{position:relative;overflow:hidden;border:1px solid rgba(203,213,225,.78);box-shadow:0 34px 95px rgba(15,23,42,.24);}
.search-modal:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,var(--cyan),var(--blue),var(--violet));opacity:.9;}
.search-modal-head{align-items:stretch;}
.search-modal input{border:1px solid transparent;transition:border-color .25s ease,background .25s ease,box-shadow .25s ease,transform .25s ease;}
.search-modal input:focus{border-color:rgba(37,99,235,.34);box-shadow:0 0 0 4px rgba(37,99,235,.09),0 12px 28px rgba(37,99,235,.07);}
.search-close{position:relative;isolation:isolate;overflow:hidden;flex:0 0 48px;height:48px;display:grid;place-items:center;border:1px solid #dbe3ee;background:#f7f9fc;color:#475569;border-radius:13px;cursor:pointer;transition:transform .28s cubic-bezier(.2,.8,.2,1),color .25s ease,border-color .25s ease,background .25s ease,box-shadow .28s ease;}
.search-close:before{content:"";position:absolute;inset:-40%;z-index:-1;background:conic-gradient(from 180deg,transparent,rgba(37,99,235,.17),rgba(124,58,237,.13),transparent 55%);opacity:0;transform:rotate(-25deg) scale(.75);transition:opacity .3s ease,transform .45s cubic-bezier(.2,.8,.2,1);}
.search-close svg{width:19px;height:19px;transition:transform .32s cubic-bezier(.2,.8,.2,1);}
.search-close:hover{transform:translateY(-2px) rotate(1deg);color:#1d4ed8;border-color:#bfdbfe;background:#fff;box-shadow:0 12px 28px rgba(37,99,235,.12);}
.search-close:hover:before{opacity:1;transform:rotate(25deg) scale(1);}
.search-close:hover svg{transform:rotate(90deg) scale(1.06);}
.search-close:active{transform:translateY(0) scale(.96);}

/* Shared motion language. Only interactive controls are targeted. */
.btn,.icon-btn,.menu-btn,.newsletter-form button,.social-link,.pagination a,.read-more,.ai-all-link,.ai-read,.view-all{position:relative;isolation:isolate;overflow:hidden;-webkit-tap-highlight-color:transparent;}
.btn,.icon-btn,.menu-btn,.newsletter-form button,.social-link,.pagination a{transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .3s ease,background .3s ease,color .3s ease;}
.btn:before,.newsletter-form button:before{content:"";position:absolute;top:-110%;left:-48%;width:38%;height:320%;z-index:2;pointer-events:none;transform:rotate(24deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);opacity:0;transition:left .58s cubic-bezier(.2,.8,.2,1),opacity .25s ease;}
.btn:hover:before,.newsletter-form button:hover:before{left:115%;opacity:1;}
.btn:hover,.newsletter-form button:hover{transform:translateY(-3px);}
.btn:active,.icon-btn:active,.menu-btn:active,.newsletter-form button:active,.social-link:active,.pagination a:active{transform:translateY(0) scale(.97);}

/* Icon controls get a soft radial pulse instead of the shine used by text buttons. */
.icon-btn:before,.menu-btn:before,.social-link:before,.pagination a:before{content:"";position:absolute;z-index:0;pointer-events:none;width:8px;height:8px;border-radius:50%;background:currentColor;opacity:0;transform:scale(1);transition:transform .5s cubic-bezier(.16,1,.3,1),opacity .35s ease;}
.icon-btn:hover:before,.menu-btn:hover:before,.social-link:hover:before,.pagination a:hover:before{opacity:.075;transform:scale(8);}
.icon-btn svg,.menu-btn svg,.social-link svg{transition:transform .3s cubic-bezier(.2,.8,.2,1);}
.icon-btn:hover svg,.menu-btn:hover svg{transform:scale(1.08);}
.social-link:hover svg{transform:translateY(-1px) scale(1.11);}

/* Text-link buttons use directional movement. */
.read-more,.ai-all-link,.ai-read,.view-all{transition:gap .28s ease,color .28s ease,transform .28s cubic-bezier(.2,.8,.2,1),text-shadow .28s ease;}
.read-more:hover,.ai-all-link:hover,.ai-read:hover,.view-all:hover{transform:translateX(-3px);gap:11px;}

/* LIGHT: editorial blue/violet lift. */
html[data-theme="light"] .btn:hover{border-color:rgba(37,99,235,.27);background:#fff;box-shadow:0 14px 34px rgba(37,99,235,.12),0 4px 14px rgba(124,58,237,.045);}
html[data-theme="light"] .btn-primary:hover{color:#fff;border-color:#1d4ed8;background:linear-gradient(135deg,#0b1f45,#1d4ed8);box-shadow:0 16px 38px rgba(37,99,235,.22),0 0 0 4px rgba(37,99,235,.06);}
html[data-theme="light"] .btn-accent:hover{background:linear-gradient(135deg,#1d4ed8,#6d28d9);box-shadow:0 16px 38px rgba(79,70,229,.24),0 0 0 4px rgba(124,58,237,.055);}

html[data-theme="light"] .icon-btn:hover,html[data-theme="light"] .menu-btn:hover{color:#1d4ed8;border-color:#bfdbfe;background:#f8fbff;box-shadow:0 10px 26px rgba(37,99,235,.11);transform:translateY(-2px);}
html[data-theme="light"] .newsletter-form button:hover{background:#2dd4bf;color:#052e2b;box-shadow:0 14px 34px rgba(20,184,166,.22),0 0 0 4px rgba(45,212,191,.07);}
html[data-theme="light"] .pagination a:hover{color:#1d4ed8;border-color:#bfdbfe;background:#f8fbff;box-shadow:0 9px 22px rgba(37,99,235,.09);transform:translateY(-2px);}
html[data-theme="light"] .read-more:hover,html[data-theme="light"] .view-all:hover{color:#4f46e5;text-shadow:0 8px 20px rgba(79,70,229,.16);}

html[data-theme="light"] .social-link:hover{color:#c7d2fe!important;border-color:rgba(129,140,248,.38);background:rgba(99,102,241,.10);box-shadow:0 11px 28px rgba(2,6,23,.18),0 0 24px rgba(99,102,241,.09);transform:translateY(-3px);}

/* DARK: cyan/indigo glow, richer contrast, but restrained enough for reading. */
html[data-theme="dark"] .search-overlay{background:rgba(2,8,20,.78);}
html[data-theme="dark"] .search-modal{background:linear-gradient(145deg,#0d192a,#0a1626);border-color:#293a53;box-shadow:0 36px 100px rgba(0,0,0,.52),0 0 46px rgba(34,211,238,.045);}
html[data-theme="dark"] .search-modal input{background:#101f33;border-color:#263b56;color:#edf6ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);}
html[data-theme="dark"] .search-modal input:focus{background:#11243a;border-color:rgba(34,211,238,.48);box-shadow:0 0 0 4px rgba(34,211,238,.08),0 16px 34px rgba(2,8,23,.25);}
html[data-theme="dark"] .search-close{background:#101f33;border-color:#2a405b;color:#aebed2;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);}
html[data-theme="dark"] .search-close:before{background:conic-gradient(from 180deg,transparent,rgba(34,211,238,.22),rgba(99,102,241,.19),transparent 58%);}
html[data-theme="dark"] .search-close:hover{background:#132840;color:#8cf4ff;border-color:rgba(34,211,238,.48);box-shadow:0 14px 32px rgba(0,0,0,.28),0 0 25px rgba(34,211,238,.10);}
html[data-theme="dark"] .btn:hover{background:#122239;border-color:rgba(34,211,238,.34);box-shadow:0 15px 38px rgba(0,0,0,.25),0 0 28px rgba(34,211,238,.065);}
html[data-theme="dark"] .btn-primary:hover{background:linear-gradient(135deg,#f8fbff,#cde8ff);color:#07152d;border-color:#d8efff;box-shadow:0 16px 38px rgba(0,0,0,.28),0 0 30px rgba(96,165,250,.11);}
html[data-theme="dark"] .btn-accent:hover{background:linear-gradient(135deg,#2563eb,#6366f1);box-shadow:0 16px 38px rgba(0,0,0,.28),0 0 32px rgba(99,102,241,.15);}

html[data-theme="dark"] .icon-btn:hover,html[data-theme="dark"] .menu-btn:hover{background:#12263e;color:#8cf4ff;border-color:rgba(34,211,238,.36);box-shadow:0 11px 28px rgba(0,0,0,.25),0 0 23px rgba(34,211,238,.075);transform:translateY(-2px);}
html[data-theme="dark"] .newsletter-form button:hover{background:#5eead4;color:#042f2e;box-shadow:0 15px 34px rgba(0,0,0,.24),0 0 28px rgba(45,212,191,.15);}
html[data-theme="dark"] .social-link:hover{color:#8cf4ff!important;border-color:rgba(34,211,238,.35);background:rgba(34,211,238,.07);box-shadow:0 11px 28px rgba(0,0,0,.22),0 0 24px rgba(34,211,238,.08);transform:translateY(-3px);}
html[data-theme="dark"] .pagination a:hover{color:#8cf4ff;border-color:rgba(34,211,238,.35);background:#11243a;box-shadow:0 9px 24px rgba(0,0,0,.22),0 0 18px rgba(34,211,238,.06);transform:translateY(-2px);}
html[data-theme="dark"] .read-more:hover,html[data-theme="dark"] .view-all:hover{color:#a5f3fc;text-shadow:0 0 22px rgba(34,211,238,.23);}
html[data-theme="dark"] .ai-all-link:hover,html[data-theme="dark"] .ai-read:hover{color:#b6f7ff;text-shadow:0 0 22px rgba(34,211,238,.26);}

/* Keyboard accessibility should feel as polished as mouse hover. */
.btn:focus-visible,.icon-btn:focus-visible,.menu-btn:focus-visible,.newsletter-form button:focus-visible,.search-close:focus-visible,.social-link:focus-visible,.pagination a:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(37,99,235,.16);}
html[data-theme="dark"] .btn:focus-visible,html[data-theme="dark"] .icon-btn:focus-visible,html[data-theme="dark"] .menu-btn:focus-visible,html[data-theme="dark"] .newsletter-form button:focus-visible,html[data-theme="dark"] .search-close:focus-visible,html[data-theme="dark"] .social-link:focus-visible,html[data-theme="dark"] .pagination a:focus-visible{box-shadow:0 0 0 4px rgba(34,211,238,.12);}

@media (prefers-reduced-motion:reduce){.btn,.icon-btn,.menu-btn,.newsletter-form button,.search-close,.social-link,.pagination a,.read-more,.ai-all-link,.ai-read,.view-all,.btn:before,.newsletter-form button:before,.icon-btn:before,.menu-btn:before,.social-link:before,.pagination a:before,.search-close:before,.search-close svg{transition:none!important;animation:none!important;}}

.search-overlay.open .search-modal{animation:nokteSearchIn .32s cubic-bezier(.2,.8,.2,1) both;}
@keyframes nokteSearchIn{from{opacity:0;transform:translateY(-12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}


/* Header actions — balanced after removing login/register */
.header-actions{margin-right:auto;display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:4px;border-radius:16px}
.header-actions .icon-btn,.header-actions .menu-btn{flex:0 0 auto}
html[data-theme="light"] .header-actions{background:rgba(248,250,252,.72);box-shadow:inset 0 0 0 1px rgba(15,23,42,.035)}
html[data-theme="dark"] .header-actions{background:rgba(15,27,45,.58);box-shadow:inset 0 0 0 1px rgba(148,163,184,.06)}
@media(max-width:1050px){.header-inner{gap:18px}.header-actions{gap:7px;padding:3px}.header-actions .icon-btn,.header-actions .menu-btn{width:41px;height:41px}}
@media(max-width:760px){.header-inner{gap:12px}.header-actions{gap:6px}.header-actions .icon-btn,.header-actions .menu-btn{width:40px;height:40px;border-radius:11px}}
@media(max-width:420px){.header-inner{gap:8px}.brand{gap:7px}.brand-mark{width:34px;height:34px;border-radius:11px}.brand span:last-child{font-size:17px}.header-actions{gap:5px;padding:2px}.header-actions .icon-btn,.header-actions .menu-btn{width:37px;height:37px;border-radius:10px}}


/* =========================================================
   NokteWeb WordPress integration
   ========================================================= */
.nav .nav-list,.mobile-nav .mobile-nav-list{list-style:none;margin:0;padding:0}
.nav .nav-list{display:flex;align-items:center;gap:21px}
.nav .nav-list li{margin:0}
.nav .nav-list a{font-size:14px;font-weight:700;color:inherit}
.nav .current-menu-item>a,.nav .current-menu-ancestor>a,.nav .current_page_item>a{color:var(--blue)}
.mobile-nav .mobile-nav-list{display:grid}
.mobile-nav .mobile-nav-list a{display:block;padding:10px 4px;border-bottom:1px dashed var(--line);font-weight:700}
html[data-theme="dark"] .mobile-nav .mobile-nav-list a{border-bottom-color:#26364d;color:#d7e2ef}
html[data-theme="dark"] .nav .current-menu-item>a,html[data-theme="dark"] .nav .current-menu-ancestor>a,html[data-theme="dark"] .nav .current_page_item>a{color:#60a5fa}

.wp-caption,.wp-block-image{max-width:100%}.wp-caption-text{color:var(--muted);font-size:13px}.alignwide{max-width:1180px;margin-inline:auto}.alignfull{width:100vw;max-width:none;margin-inline:calc(50% - 50vw)}
.article-content img{border-radius:18px}.article-content ul,.article-content ol{padding-right:24px}.article-content a{color:var(--blue);text-decoration:underline;text-underline-offset:4px}.article-content table{width:100%;border-collapse:collapse}.article-content th,.article-content td{border:1px solid var(--line);padding:12px;text-align:right}
html[data-theme="dark"] .article-content th,html[data-theme="dark"] .article-content td{border-color:#243550}

.post-navigation{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:34px 0}.post-navigation a{display:block;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:#fff;transition:.25s ease}.post-navigation a:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
html[data-theme="dark"] .post-navigation a{background:#0f1b2d;border-color:#243550}
.post-navigation .nav-next{text-align:left}

.comments-area{margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}.comment-list{list-style:none;padding:0}.comment-list li{padding:16px;border:1px solid var(--line);border-radius:16px;margin-bottom:12px}.comment-form input,.comment-form textarea{width:100%;border:1px solid var(--line);border-radius:13px;padding:12px 14px;background:#fff;color:var(--ink)}.comment-form textarea{min-height:140px}.form-submit .submit{border:0;border-radius:13px;padding:12px 20px;background:var(--navy);color:#fff;font-weight:800;cursor:pointer}
html[data-theme="dark"] .comments-area{border-color:#243550}html[data-theme="dark"] .comment-list li{border-color:#243550;background:#0f1b2d}html[data-theme="dark"] .comment-form input,html[data-theme="dark"] .comment-form textarea{background:#0d192a;border-color:#2b3c55;color:#e7eef9}

.demo-notice{padding:14px 16px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;margin-bottom:22px}html[data-theme="dark"] .demo-notice{background:#102b4b;border-color:#254b79;color:#c7e2ff}
.contact-status{padding:13px 15px;border-radius:13px;margin-bottom:18px}.contact-status.success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.contact-status.error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}
html[data-theme="dark"] .contact-status.success{background:#062d25;color:#a7f3d0;border-color:#0f766e}html[data-theme="dark"] .contact-status.error{background:#351018;color:#fecdd3;border-color:#9f1239}

.load-more-btn.is-loading{pointer-events:none;opacity:.72}.load-more-btn.is-loading .load-more-icon{animation:nokteSpin .8s linear infinite}@keyframes nokteSpin{to{transform:rotate(360deg)}}
.no-results{padding:38px;border:1px dashed var(--line);border-radius:20px;text-align:center}.no-results h2{margin-top:0}

.admin-bar .site-header{top:32px}@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:760px){.nav{display:none}.menu-btn{display:grid}.post-navigation{grid-template-columns:1fr}.post-navigation .nav-next{text-align:right}}

/* WordPress page-template utilities */
.tutorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tutorial-card{background:linear-gradient(145deg,#0d2245,#0b1830);color:#eef7ff;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .3s ease}.tutorial-card:hover{transform:translateY(-5px);border-color:rgba(34,211,238,.25);box-shadow:0 18px 42px rgba(2,8,23,.22),0 0 24px rgba(34,211,238,.06)}html[data-theme="light"] .tutorial-card{background:#fff;color:var(--ink);border-color:var(--line)}html[data-theme="light"] .tutorial-card:hover{border-color:#c7d2fe;box-shadow:0 18px 42px rgba(37,99,235,.10)}
.contact-form{display:grid;gap:15px}.contact-form label{display:grid;gap:7px;font-weight:800;font-size:14px}.contact-form textarea{min-height:160px;resize:vertical}.skip-link{position:absolute;right:12px;top:-100px;z-index:9999;padding:10px 14px;background:#fff;color:#111827;border-radius:10px}.skip-link:focus{top:12px}
@media(max-width:950px){.tutorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.tutorial-grid{grid-template-columns:1fr}}

.pagination .active{background:var(--navy);color:#fff;border-color:var(--navy)}html[data-theme="dark"] .pagination .active{background:#dce8f7;color:#07152d;border-color:#dce8f7}

/* =========================================================
   NokteWeb article cards — full editorial card layout
   Horizontal 16:9 featured image + complete article metadata
   ========================================================= */
.article-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.article-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  isolation:isolate;
  transition:transform .38s cubic-bezier(.2,.8,.2,1),box-shadow .38s ease,border-color .32s ease,background .32s ease;
}
.article-card:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:0;
  transition:opacity .32s ease;
}
.article-card-media{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#eaf0f7;
}
.article-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .65s cubic-bezier(.2,.8,.2,1),filter .4s ease;
}
.article-card-media-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 56%,rgba(4,14,30,.14));
  opacity:.35;
  transition:opacity .35s ease;
}
.article-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:19px 19px 18px;
}
.article-card-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:31px;
}
.article-card-reading-time{
  flex:none;
  color:#7d899b;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.article-card-title{
  margin:12px 0 8px;
  font-size:19px;
  line-height:1.75;
  letter-spacing:-.15px;
}
.article-card-title a{
  transition:color .25s ease;
}
.article-card-excerpt{
  margin:0 0 19px;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.9;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.article-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:15px;
  border-top:1px solid var(--line);
}
.article-card-author{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.article-card-avatar{
  width:35px;
  height:35px;
  flex:0 0 35px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
  color:#fff;
  font-size:12px;
  font-weight:900;
  box-shadow:0 7px 18px rgba(37,99,235,.16);
}
.article-card-author div{
  min-width:0;
  display:grid;
  line-height:1.55;
}
.article-card-author strong{
  overflow:hidden;
  color:var(--ink);
  font-size:11.5px;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.article-card-author span:not(.article-card-avatar){
  color:#8994a5;
  font-size:10.5px;
}
.article-card-more{
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex:none;
  color:var(--blue);
  font-size:11.5px;
  font-weight:900;
  transition:gap .28s ease,color .28s ease,transform .28s cubic-bezier(.2,.8,.2,1);
}
.article-card-arrow{
  transition:transform .28s cubic-bezier(.2,.8,.2,1);
}
.article-card:hover{
  transform:translateY(-7px);
  border-color:#cfdaea;
  box-shadow:0 23px 55px rgba(15,35,70,.11);
}
.article-card:hover .article-card-media img{
  transform:scale(1.055);
}
.article-card:hover .article-card-media-overlay{
  opacity:.7;
}
.article-card:hover .article-card-more{
  gap:10px;
  transform:translateX(-2px);
}
.article-card:hover .article-card-arrow{
  transform:translateX(-3px);
}

/* Theme-aware card motion and contrast. */
html[data-theme="light"] .article-card:hover{
  border-color:rgba(37,99,235,.22);
  box-shadow:0 22px 54px rgba(37,99,235,.10),0 0 0 1px rgba(124,58,237,.025);
}
html[data-theme="light"] .article-card:before{
  background:radial-gradient(circle at 95% 0,rgba(37,99,235,.06),transparent 36%),radial-gradient(circle at 5% 100%,rgba(124,58,237,.035),transparent 34%);
}
html[data-theme="light"] .article-card:hover:before{opacity:1}
html[data-theme="light"] .article-card:hover .article-card-title a{color:#1d4ed8}
html[data-theme="light"] .article-card-more:hover{color:#4f46e5}

html[data-theme="dark"] .article-card{
  background:#0d192a;
  border-color:#20324a;
}
html[data-theme="dark"] .article-card:before{
  background:radial-gradient(circle at 95% 0,rgba(34,211,238,.075),transparent 37%),radial-gradient(circle at 5% 100%,rgba(99,102,241,.06),transparent 34%);
}
html[data-theme="dark"] .article-card:hover{
  border-color:rgba(34,211,238,.28);
  box-shadow:0 25px 60px rgba(0,0,0,.32),0 0 34px rgba(34,211,238,.045);
}
html[data-theme="dark"] .article-card:hover:before{opacity:1}
html[data-theme="dark"] .article-card-media{background:#111f33}
html[data-theme="dark"] .article-card-media-overlay{background:linear-gradient(180deg,transparent 50%,rgba(2,8,20,.32))}
html[data-theme="dark"] .article-card-title a{color:#f2f7fc}
html[data-theme="dark"] .article-card:hover .article-card-title a{color:#8be9f5}
html[data-theme="dark"] .article-card-excerpt{color:#9eacc0}
html[data-theme="dark"] .article-card-reading-time{color:#8495aa}
html[data-theme="dark"] .article-card-footer{border-color:#20324a}
html[data-theme="dark"] .article-card-author strong{color:#e8f0f8}
html[data-theme="dark"] .article-card-author span:not(.article-card-avatar){color:#8191a6}
html[data-theme="dark"] .article-card-more{color:#67e8f9}
html[data-theme="dark"] .article-card-more:hover{color:#a5f3fc;text-shadow:0 0 18px rgba(34,211,238,.24)}

@media(max-width:980px){
  .article-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(max-width:640px){
  .article-card-grid{grid-template-columns:1fr;gap:18px}
  .article-card{border-radius:19px}
  .article-card-body{padding:16px}
  .article-card-title{font-size:18px}
  .article-card-media{aspect-ratio:16/9}
}
@media(max-width:390px){
  .article-card-topline{align-items:flex-start;flex-direction:column;gap:7px}
  .article-card-footer{align-items:flex-end}
  .article-card-more span:first-child{display:none}
  .article-card-more{width:36px;height:36px;justify-content:center;border:1px solid var(--line);border-radius:11px}
}


/* Copyright links — v1.1.4 */
.footer-bottom a{
  display:inline-flex;
  align-items:center;
  margin:0 3px;
  color:#70d8ff;
  font-weight:700;
  text-decoration:none;
  position:relative;
  transition:color .24s ease, transform .24s ease, text-shadow .24s ease;
}
.footer-bottom a::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-3px;
  width:100%;
  height:1px;
  transform:scaleX(.25);
  transform-origin:right center;
  background:currentColor;
  opacity:.65;
  transition:transform .24s ease, opacity .24s ease;
}
.footer-bottom a:hover,
.footer-bottom a:focus-visible{
  color:#9ce9ff;
  transform:translateY(-1px);
  text-shadow:0 0 18px rgba(77,208,255,.28);
}
.footer-bottom a:hover::after,
.footer-bottom a:focus-visible::after{
  transform:scaleX(1);
  opacity:1;
}
html[data-theme="light"] .footer-bottom a{
  color:#2563eb;
}
html[data-theme="light"] .footer-bottom a:hover,
html[data-theme="light"] .footer-bottom a:focus-visible{
  color:#6d28d9;
  text-shadow:0 0 16px rgba(109,40,217,.12);
}


/* =========================================================
   NokteWeb v1.1.6 — global interaction + blog-page-only cards
   ========================================================= */

/* All textual links get visible, theme-aware color feedback. Component
   rules declared later/with higher specificity can keep their own behavior. */
:root{
  --global-link-hover:#4f46e5;
  --global-link-glow:rgba(79,70,229,.15);
}
html[data-theme="dark"]{
  --global-link-hover:#67e8f9;
  --global-link-glow:rgba(34,211,238,.22);
}
a{transition:color .24s ease,text-shadow .24s ease,opacity .24s ease}
body a:hover,body a:focus-visible{color:var(--global-link-hover);text-shadow:0 0 18px var(--global-link-glow)}
.article-card-media:hover,.article-card-media:focus-visible,.featured-main:hover,.featured-main:focus-visible{text-shadow:none}

/* Single-post comment submit button. */
.form-submit{margin-top:18px}
.form-submit .comment-submit-btn{
  position:relative;isolation:isolate;overflow:hidden;min-width:148px;min-height:46px;
  border:1px solid transparent;border-radius:14px;padding:11px 22px;
  background:linear-gradient(135deg,#0b1f45,#2563eb);color:#fff;font-weight:900;cursor:pointer;
  box-shadow:0 10px 24px rgba(37,99,235,.16);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,background .3s ease,border-color .3s ease,color .3s ease;
}
.form-submit .comment-submit-btn:before{
  content:"";position:absolute;top:-140%;left:-48%;width:34%;height:380%;z-index:-1;transform:rotate(24deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);opacity:0;
  transition:left .58s cubic-bezier(.2,.8,.2,1),opacity .2s ease;
}
.form-submit .comment-submit-btn:hover{transform:translateY(-3px);background:linear-gradient(135deg,#1d4ed8,#6d28d9);box-shadow:0 16px 38px rgba(37,99,235,.24),0 0 0 4px rgba(79,70,229,.06)}
.form-submit .comment-submit-btn:hover:before{left:118%;opacity:1}
.form-submit .comment-submit-btn:active{transform:translateY(0) scale(.98)}
.form-submit .comment-submit-btn:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(37,99,235,.18),0 16px 38px rgba(37,99,235,.18)}
html[data-theme="dark"] .form-submit .comment-submit-btn{background:linear-gradient(135deg,#0e7490,#2563eb);color:#f8fdff;box-shadow:0 12px 28px rgba(0,0,0,.24),0 0 22px rgba(34,211,238,.06)}
html[data-theme="dark"] .form-submit .comment-submit-btn:hover{background:linear-gradient(135deg,#22d3ee,#6366f1);color:#061526;border-color:rgba(165,243,252,.35);box-shadow:0 18px 42px rgba(0,0,0,.32),0 0 32px rgba(34,211,238,.14)}
html[data-theme="dark"] .form-submit .comment-submit-btn:focus-visible{box-shadow:0 0 0 4px rgba(34,211,238,.14),0 18px 42px rgba(0,0,0,.24)}

/* ---------------------------------------------------------
   Posts page (/blog / مقالات) — larger editorial cards ONLY.
   Other archive/category/search cards intentionally keep the
   previous shared article-card design.
   --------------------------------------------------------- */
.article-card-grid--blog{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.article-card--blog{border-radius:26px;box-shadow:0 10px 30px rgba(15,35,70,.045)}
.article-card--blog .article-card-media{position:relative;aspect-ratio:16/9;min-height:0;overflow:hidden;background:#e9f0f8}
.article-card--blog .article-card-image-link{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}
.article-card--blog .article-card-image-link img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .72s cubic-bezier(.2,.8,.2,1),filter .45s ease}
.article-card--blog .article-card-media-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,8,23,.04) 20%,rgba(2,8,23,.04) 52%,rgba(2,8,23,.52) 100%);opacity:.72;transition:opacity .35s ease,background .35s ease}
.article-card--blog .article-card-media-meta{position:absolute;z-index:3;inset:auto 18px 16px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
.article-card--blog .article-card-category,.article-card--blog .article-card-reading-time{display:inline-flex;align-items:center;min-height:30px;border:1px solid rgba(255,255,255,.23);border-radius:999px;padding:5px 10px;background:rgba(5,15,32,.60);color:#f5fbff;font-size:11px;font-weight:850;line-height:1.4;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);text-shadow:none}
.article-card--blog .article-card-category{pointer-events:auto}
.article-card--blog .article-card-category:hover,.article-card--blog .article-card-category:focus-visible{color:#fff;border-color:rgba(165,243,252,.55);background:rgba(14,116,144,.78);text-shadow:none}
.article-card--blog .article-card-body{padding:23px 23px 21px}
.article-card--blog .article-card-title{margin:0 0 9px;font-size:21px;line-height:1.72;letter-spacing:-.2px}
.article-card--blog .article-card-excerpt{margin-bottom:21px;font-size:14px;line-height:1.95;-webkit-line-clamp:3}
.article-card--blog .article-card-footer{padding-top:17px}
.article-card--blog .article-card-avatar{width:39px;height:39px;flex-basis:39px;border-radius:12px}
.article-card--blog .article-card-author strong{font-size:12px}
.article-card--blog .article-card-author span:not(.article-card-avatar){font-size:11px}
.article-card--blog .article-card-more{min-height:38px;padding:0 11px;border:1px solid transparent;border-radius:11px;background:rgba(37,99,235,.055);font-size:12px}
.article-card--blog:hover{transform:translateY(-8px)}
.article-card--blog:hover .article-card-image-link img{transform:scale(1.065);filter:saturate(1.05) contrast(1.025)}
.article-card--blog:hover .article-card-media-overlay{opacity:.92;background:linear-gradient(180deg,rgba(37,99,235,.02),rgba(37,99,235,.06) 52%,rgba(15,23,42,.60) 100%)}
html[data-theme="light"] .article-card--blog .article-card-more:hover{background:rgba(79,70,229,.09);border-color:rgba(79,70,229,.14)}
html[data-theme="dark"] .article-card--blog .article-card-more{background:rgba(34,211,238,.055);border-color:rgba(34,211,238,.04)}
html[data-theme="dark"] .article-card--blog .article-card-more:hover{background:rgba(34,211,238,.10);border-color:rgba(34,211,238,.18)}

/* Responsive hardening shared by the whole theme. */
.header-inner,.hero-grid,.content-layout,.newsletter,.footer-grid,.article-card-grid,.search-modal-head{min-width:0}
.header-inner>*,.hero-grid>*,.content-layout>*,.newsletter>*,.footer-grid>*,.article-card-grid>*,.search-modal-head>*{min-width:0}
.search-modal input,.newsletter-form input,.comment-form input,.comment-form textarea{min-width:0;max-width:100%}
.article-cover img,.featured-main img,.mini-card img,.ai-feature-visual img{max-width:100%}
.article-content iframe,.article-content video,.article-content embed,.article-content object{max-width:100%}
.article-content iframe{width:100%}
.article-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.newsletter{flex-wrap:wrap}
.newsletter>div{flex:1 1 360px}
.newsletter-form{flex:1 1 360px;min-width:0;max-width:520px}

@media(max-width:1050px){
  .article-card-grid--blog{gap:22px}
  .article-card--blog .article-card-body{padding:20px}
  .article-card--blog .article-card-title{font-size:20px}
}
@media(max-width:900px){
  .article-card-grid--blog{grid-template-columns:1fr;gap:22px}
  .article-card--blog .article-card-media{aspect-ratio:16/8.8}
}
@media(max-width:820px){
  .newsletter{display:block;padding:28px}
  .newsletter-form{max-width:none;margin-top:18px}
  .featured-main{min-height:340px}
}
@media(max-width:640px){
  .container{width:min(100% - 24px,1180px)}
  .section{padding:40px 0}
  .article-card--blog{border-radius:21px}
  .article-card--blog .article-card-body{padding:17px}
  .article-card--blog .article-card-title{font-size:18px;line-height:1.75}
  .article-card--blog .article-card-excerpt{font-size:13.5px;-webkit-line-clamp:3}
  .article-card--blog .article-card-media{aspect-ratio:16/9}
  .article-card--blog .article-card-media-meta{right:12px;left:12px;bottom:11px}
  .article-card--blog .article-card-category,.article-card--blog .article-card-reading-time{min-height:27px;padding:4px 8px;font-size:10px}
  .article-card--blog .article-card-footer{gap:8px}
  .article-card--blog .article-card-more{min-height:36px;padding:0 9px}
  .comments-area{margin-top:30px}
  .comment-list li{padding:13px}
  .form-submit .comment-submit-btn{width:100%;min-height:48px}
  .search-modal{padding:15px;border-radius:18px}
  .search-modal-head{gap:8px}
  .search-close{flex:0 0 44px;width:44px;height:44px}
}
@media(max-width:425px){
  .container{width:min(100% - 20px,1180px)}
  .page-hero{padding:40px 0 27px}
  .page-hero h1,.article-header h1{font-size:clamp(27px,8vw,32px)}
  .hero h1{font-size:31px}
  .newsletter{padding:21px;border-radius:22px}
  .newsletter-form{display:grid;grid-template-columns:1fr}
  .newsletter-form button{min-height:46px;padding:10px 14px}
  .article-card--blog .article-card-media-meta{align-items:flex-end}
  .article-card--blog .article-card-reading-time{display:none}
  .article-card--blog .article-card-footer{align-items:flex-end}
  .article-card--blog .article-card-author{max-width:calc(100% - 48px)}
  .article-card--blog .article-card-more span:first-child{display:none}
  .article-card--blog .article-card-more{width:38px;padding:0;justify-content:center}
  .post-navigation a{padding:14px}
  .featured-content{padding:20px}
  .featured-main{min-height:320px}
}
@media(max-width:360px){
  .brand span:last-child{font-size:16px}
  .brand-mark{width:32px;height:32px}
  .header-actions .icon-btn,.header-actions .menu-btn{width:35px;height:35px}
  .article-card--blog .article-card-body{padding:15px}
  .article-card--blog .article-card-title{font-size:17px}
  .article-card--blog .article-card-author strong{font-size:11px}
  .article-card--blog .article-card-category{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .search-modal-head{display:grid;grid-template-columns:minmax(0,1fr) 42px}
  .search-close{width:42px;height:42px}
}
@media (prefers-reduced-motion:reduce){
  .article-card--blog,.article-card--blog .article-card-image-link img,.form-submit .comment-submit-btn,.form-submit .comment-submit-btn:before,a{transition:none!important}
}


/* =========================================================
   NokteWeb 1.1.7 — separate logo for Dark / Light mode
   ========================================================= */
.brand.has-mode-logo{min-width:0;flex:0 0 auto;line-height:1}
.brand-logo-wrap{display:flex;align-items:center;min-width:0}
.brand-logo{display:block;width:auto;height:44px;max-width:220px;object-fit:contain;object-position:center;transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .28s ease,opacity .2s ease}
.brand-logo--light{display:none}
html[data-theme="light"] .brand-logo--dark{display:none}
html[data-theme="light"] .brand-logo--light{display:block}
.brand.has-mode-logo:hover .brand-logo{transform:translateY(-1px) scale(1.025)}
html[data-theme="dark"] .brand.has-mode-logo:hover .brand-logo{filter:drop-shadow(0 5px 12px rgba(34,211,238,.16))}
html[data-theme="light"] .brand.has-mode-logo:hover .brand-logo{filter:drop-shadow(0 5px 12px rgba(37,99,235,.12))}
@media(max-width:760px){.brand-logo{height:39px;max-width:180px}}
@media(max-width:420px){.brand-logo{height:35px;max-width:150px}}
@media(max-width:360px){.brand-logo{height:32px;max-width:132px}}


/* =========================================================
   NokteWeb 1.1.8 — independent footer logo
   ========================================================= */
.footer-branding{min-width:0}
.footer-brand{display:inline-flex!important;align-items:center;gap:10px;margin:0 0 14px!important;color:#fff!important;line-height:1;text-decoration:none!important;max-width:100%}
.footer-brand::after{display:none!important}
.footer-logo{display:block;width:auto;height:52px;max-width:240px;object-fit:contain;object-position:right center;transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .28s ease,opacity .2s ease}
.footer-brand-name{font-size:22px;font-weight:900;color:#fff}
.footer-brand:hover .footer-logo{transform:translateY(-2px) scale(1.025);filter:drop-shadow(0 7px 16px rgba(34,211,238,.18))}
.footer-brand:hover .footer-brand-name{color:#67e8f9}
@media(max-width:760px){.footer-logo{height:46px;max-width:210px}.footer-brand-name{font-size:21px}}
@media(max-width:420px){.footer-logo{height:42px;max-width:185px}.footer-brand-name{font-size:20px}}
@media(max-width:360px){.footer-logo{height:38px;max-width:165px}}
