/*
Theme Name: Node & Flow
Template: generatepress
Description: GeneratePress child theme in the Node & Volt brand.
Author: Emondsoft Solutions
Version: 1.0.0
*/

:root{
  --nf-bg:#0B1622; --nf-surface:#102030; --nf-line:#1E3247;
  --nf-ink:#E8EEF4; --nf-muted:#8FA3B5;
  --nf-lime:#C8F031; --nf-lime-hover:#B5DD1E; --nf-cyan:#38BDF8;
  --nf-paper:#F5F8FA; --nf-paper-ink:#0B1622; --nf-paper-muted:#4A5B6B;
  --nf-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --nf-sans:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
}

body{background:var(--nf-bg);color:var(--nf-paper-ink);font-family:var(--nf-sans);font-size:17px;line-height:1.65;}
body,button,input,select,textarea{font-family:var(--nf-sans);}

/* Header */
.site-header,.main-navigation,.main-navigation .main-nav ul ul,.has-inline-mobile-toggle #site-navigation.toggled{background:var(--nf-bg);}
.site-header{border-bottom:1px solid var(--nf-line);}
.inside-header{padding-top:18px;padding-bottom:18px;}
.site-logo img,.site-logo .header-image{width:46px;height:46px;}
.main-title{font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1;}
.main-title a,.main-title a:hover{color:#fff;}
.main-title .nf-amp{color:var(--nf-lime);}
.site-description{font-family:var(--nf-mono);font-size:12px;color:var(--nf-muted);letter-spacing:.02em;margin-top:6px;}
.main-navigation .main-nav ul li a,.menu-toggle,.main-navigation .menu-bar-item>a{color:var(--nf-ink);font-weight:600;font-size:16px;}
.main-navigation .main-nav ul li:hover>a,.main-navigation .main-nav ul li:focus>a,.main-navigation .main-nav ul li.sfHover>a,.main-navigation .main-nav ul li[class*="current-menu-"]>a{color:var(--nf-lime);background:transparent;}
.main-navigation .main-nav ul ul{border:1px solid var(--nf-line);border-radius:8px;}
.main-navigation .main-nav ul ul li a{font-size:15px;}
.menu-toggle,button.menu-toggle:hover,button.menu-toggle:focus{background:transparent;color:var(--nf-ink);}

/* Hero banner (channel-art style) */
.nf-hero{position:relative;overflow:hidden;background-color:var(--nf-bg);background-image:radial-gradient(rgba(143,163,181,.13) 1px,transparent 1.2px);background-size:22px 22px;border-bottom:1px solid var(--nf-line);color:var(--nf-ink);}
.nf-trace{position:absolute;top:50%;transform:translateY(-50%);width:340px;height:260px;pointer-events:none;}
.nf-trace-l{left:0;}
.nf-trace-r{right:0;}
.nf-hero-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:40px;max-width:1040px;margin:0 auto;padding:46px 24px;min-height:260px;box-sizing:border-box;}
.nf-hero-logo{width:150px;height:150px;flex:0 0 150px;display:block;}
.nf-hero .nf-wordmark{font-family:var(--nf-sans);font-stretch:125%;font-weight:900;font-size:clamp(40px,5.6vw,78px);line-height:.95;letter-spacing:-.01em;color:#F2F5F8;margin:0 0 14px;text-transform:uppercase;white-space:nowrap;}
.nf-hero .nf-wordmark span{color:var(--nf-lime);}
.nf-tagline{font-family:var(--nf-mono);font-size:clamp(14px,1.5vw,19px);color:#B9C6D2;margin:0 0 18px;}
.nf-pills{display:flex;flex-wrap:wrap;gap:10px;margin:0;}
.nf-hero .nf-pills a{font-family:var(--nf-mono);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;padding:7px 15px;border-radius:999px;border:1px solid #2A3E54;color:#F2F5F8;background:rgba(11,22,34,.6);line-height:1.2;}
.nf-hero .nf-pills a.is-lime{color:var(--nf-lime);}
.nf-hero .nf-pills a.is-cyan{color:var(--nf-cyan);}
.nf-hero .nf-pills a.is-yt{color:var(--nf-bg);background:var(--nf-lime);border-color:var(--nf-lime);}
.nf-hero .nf-pills a:hover{border-color:var(--nf-cyan);color:#fff;}
.nf-hero .nf-pills a.is-yt:hover{background:var(--nf-lime-hover);color:var(--nf-bg);}
@media (max-width:1100px){.nf-trace{opacity:.35;}}
@media (max-width:768px){
  .nf-trace{display:none;}
  .nf-hero-inner{flex-direction:column;align-items:flex-start;gap:18px;padding:32px 20px;min-height:0;}
  .nf-hero-logo{width:84px;height:84px;flex-basis:84px;}
  .nf-hero .nf-wordmark{white-space:normal;font-size:42px;}
}
/* Content cards */
.site-content{padding-top:8px;}
.separate-containers .inside-article,.separate-containers .comments-area,.separate-containers .page-header,.separate-containers .paging-navigation,.one-container .site-content,.inside-page-header,.sidebar .widget{background:var(--nf-paper);color:var(--nf-paper-ink);border-radius:12px;}
.separate-containers .site-main{margin-top:32px;}
.sidebar .widget{margin-top:0;}
.separate-containers .inside-right-sidebar,.separate-containers .inside-left-sidebar{margin-top:32px;}
h1,h2,h3,h4,h5,h6{font-family:var(--nf-sans);font-weight:800;letter-spacing:-.02em;line-height:1.12;color:var(--nf-paper-ink);}
.entry-title{font-size:clamp(26px,2.6vw,36px);}
.entry-title a{color:var(--nf-paper-ink);}
.entry-title a:hover{color:var(--nf-paper-ink);text-decoration:underline;text-decoration-color:var(--nf-lime);text-decoration-thickness:4px;text-underline-offset:5px;}
.entry-meta,.entry-meta a,.cat-links,.tags-links,.comments-link,.posted-on,.byline{font-family:var(--nf-mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--nf-paper-muted);}
.entry-content a,.entry-summary a,.page-content a,.widget a{color:var(--nf-paper-ink);text-decoration:underline;text-decoration-color:var(--nf-lime);text-decoration-thickness:3px;text-underline-offset:3px;}
.entry-content a:hover,.widget a:hover{background:rgba(200,240,49,.25);}
.read-more,a.read-more{font-weight:700;}
.post-image img{border-radius:8px;}

/* Sidebar */
.sidebar .widget .widget-title,.sidebar .widget h2,.sidebar .widget .wp-block-heading{font-family:var(--nf-mono);font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--nf-paper-muted);margin-bottom:14px;}
.sidebar .widget ul li{font-size:15px;line-height:1.4;margin-bottom:10px;}
.sidebar .widget a{text-decoration:none;font-weight:600;}
.sidebar .widget a:hover{text-decoration:underline;text-decoration-color:var(--nf-lime);background:transparent;}

/* Forms + buttons */
button,html input[type=button],input[type=reset],input[type=submit],a.button,a.wp-block-button__link:not(.has-background),.wp-block-search__button,.wpcf7-submit{background:var(--nf-lime);color:var(--nf-bg);font-weight:700;border:0;border-radius:999px;padding:12px 24px;}
button:hover,html input[type=button]:hover,input[type=submit]:hover,a.button:hover,.wp-block-search__button:hover,.wpcf7-submit:hover,button:focus,input[type=submit]:focus{background:var(--nf-lime-hover);color:var(--nf-bg);}
input[type=text],input[type=email],input[type=url],input[type=search],input[type=tel],textarea,select{background:#fff;color:var(--nf-paper-ink);border:1px solid #C9D4DE;border-radius:8px;}
input:focus,textarea:focus,select:focus{border-color:var(--nf-paper-ink);outline:2px solid var(--nf-lime);outline-offset:1px;}
.wpcf7 label{display:block;font-weight:600;font-size:15px;}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 textarea,.wpcf7 select{width:100%;margin-top:6px;}

/* Code */
code,kbd,pre,samp{font-family:var(--nf-mono);}
pre{background:var(--nf-bg);color:var(--nf-ink);border-radius:8px;border:1px solid var(--nf-line);}
:not(pre)>code{background:#E3EAF0;color:var(--nf-paper-ink);padding:1px 6px;border-radius:4px;font-size:.9em;}

/* Table of contents */
#ez-toc-container{background:#fff;border:1px solid #DCE4EB;border-radius:8px;box-shadow:none;}
#ez-toc-container p.ez-toc-title{font-family:var(--nf-mono);font-size:13px;letter-spacing:.06em;text-transform:uppercase;}

/* Pagination */
.paging-navigation a,.nav-links a,.page-numbers{color:var(--nf-paper-ink);}
.page-numbers.current{background:var(--nf-lime);border-radius:999px;padding:2px 10px;}

/* Footer */
.site-footer,.site-info,.footer-bar,.inside-site-info{background:#08111B;color:var(--nf-muted);}
.site-info{border-top:1px solid var(--nf-line);font-size:14px;}
.site-info a,.footer-bar a,.footer-bar .widget a{color:var(--nf-ink);text-decoration:none;}
.site-info a:hover,.footer-bar a:hover{color:var(--nf-lime);}
.footer-bar .widget_nav_menu li{margin:0 0 0 18px;}

/* Affiliate banners */
.nf-aff{margin:28px 0;text-align:center;}
.nf-aff a{display:inline-block;line-height:0;text-decoration:none!important;background:none!important;}
.nf-aff img{max-width:100%;height:auto;border-radius:8px;}
.nf-aff-note{display:block;margin-top:6px;font-family:var(--nf-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--nf-paper-muted);}
.sidebar .nf-aff{margin:0;}

/* Related posts + newsletter */
.nf-related,.nf-news{margin-top:44px;padding-top:28px;border-top:1px solid #DCE4EB;}
.nf-related h3,.nf-news h3{font-size:22px;margin:0 0 16px;}
.nf-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.entry-content a.nf-rel{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--nf-paper-ink);background:none;}
.nf-rel-img img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px;display:block;}
.nf-rel-cat{font-family:var(--nf-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--nf-paper-muted);}
.nf-rel-title{font-weight:700;font-size:16px;line-height:1.3;}
.entry-content a.nf-rel:hover .nf-rel-title{text-decoration:underline;text-decoration-color:var(--nf-lime);text-decoration-thickness:3px;}
.nf-news{background:var(--nf-bg);color:var(--nf-ink);border:0;border-radius:12px;padding:28px;}
.nf-news h3{color:#fff;}
.nf-news p{color:#B9C6D2;}
@media (max-width:768px){.nf-related-grid{grid-template-columns:1fr;}}

/* Dark boxes inside imported posts: keep text readable */
.entry-content [style*=";color:#fff"] h1,.entry-content [style*=";color:#fff"] h2,.entry-content [style*=";color:#fff"] h3,.entry-content [style*=";color:#fff"] h4,.entry-content [style*=";color:#fff"] h5,.entry-content [style*=";color:#fff"] h6,.entry-content [style*=";color:#fff"] p,.entry-content [style*=";color:#fff"] li,.entry-content [style*=";color:#fff"] strong,.entry-content [style*=";color:#fff"] span,.entry-content [style^="color:#fff"] h1,.entry-content [style^="color:#fff"] h2,.entry-content [style^="color:#fff"] h3,.entry-content [style^="color:#fff"] h4,.entry-content [style^="color:#fff"] h5,.entry-content [style^="color:#fff"] h6,.entry-content [style^="color:#fff"] p,.entry-content [style^="color:#fff"] li,.entry-content [style^="color:#fff"] strong,.entry-content [style^="color:#fff"] span,.entry-content [style*="; color:#fff"] h1,.entry-content [style*="; color:#fff"] h2,.entry-content [style*="; color:#fff"] h3,.entry-content [style*="; color:#fff"] h4,.entry-content [style*="; color:#fff"] h5,.entry-content [style*="; color:#fff"] h6,.entry-content [style*="; color:#fff"] p,.entry-content [style*="; color:#fff"] li,.entry-content [style*="; color:#fff"] strong,.entry-content [style*="; color:#fff"] span,.entry-content [style^="color:#fff"] h1,.entry-content [style^="color:#fff"] h2,.entry-content [style^="color:#fff"] h3,.entry-content [style^="color:#fff"] h4,.entry-content [style^="color:#fff"] h5,.entry-content [style^="color:#fff"] h6,.entry-content [style^="color:#fff"] p,.entry-content [style^="color:#fff"] li,.entry-content [style^="color:#fff"] strong,.entry-content [style^="color:#fff"] span,.entry-content [style*=";color:#ffffff"] h1,.entry-content [style*=";color:#ffffff"] h2,.entry-content [style*=";color:#ffffff"] h3,.entry-content [style*=";color:#ffffff"] h4,.entry-content [style*=";color:#ffffff"] h5,.entry-content [style*=";color:#ffffff"] h6,.entry-content [style*=";color:#ffffff"] p,.entry-content [style*=";color:#ffffff"] li,.entry-content [style*=";color:#ffffff"] strong,.entry-content [style*=";color:#ffffff"] span,.entry-content [style^="color:#ffffff"] h1,.entry-content [style^="color:#ffffff"] h2,.entry-content [style^="color:#ffffff"] h3,.entry-content [style^="color:#ffffff"] h4,.entry-content [style^="color:#ffffff"] h5,.entry-content [style^="color:#ffffff"] h6,.entry-content [style^="color:#ffffff"] p,.entry-content [style^="color:#ffffff"] li,.entry-content [style^="color:#ffffff"] strong,.entry-content [style^="color:#ffffff"] span,.entry-content [style*="; color:#ffffff"] h1,.entry-content [style*="; color:#ffffff"] h2,.entry-content [style*="; color:#ffffff"] h3,.entry-content [style*="; color:#ffffff"] h4,.entry-content [style*="; color:#ffffff"] h5,.entry-content [style*="; color:#ffffff"] h6,.entry-content [style*="; color:#ffffff"] p,.entry-content [style*="; color:#ffffff"] li,.entry-content [style*="; color:#ffffff"] strong,.entry-content [style*="; color:#ffffff"] span,.entry-content [style^="color:#ffffff"] h1,.entry-content [style^="color:#ffffff"] h2,.entry-content [style^="color:#ffffff"] h3,.entry-content [style^="color:#ffffff"] h4,.entry-content [style^="color:#ffffff"] h5,.entry-content [style^="color:#ffffff"] h6,.entry-content [style^="color:#ffffff"] p,.entry-content [style^="color:#ffffff"] li,.entry-content [style^="color:#ffffff"] strong,.entry-content [style^="color:#ffffff"] span,.entry-content [style*=";color:white"] h1,.entry-content [style*=";color:white"] h2,.entry-content [style*=";color:white"] h3,.entry-content [style*=";color:white"] h4,.entry-content [style*=";color:white"] h5,.entry-content [style*=";color:white"] h6,.entry-content [style*=";color:white"] p,.entry-content [style*=";color:white"] li,.entry-content [style*=";color:white"] strong,.entry-content [style*=";color:white"] span,.entry-content [style^="color:white"] h1,.entry-content [style^="color:white"] h2,.entry-content [style^="color:white"] h3,.entry-content [style^="color:white"] h4,.entry-content [style^="color:white"] h5,.entry-content [style^="color:white"] h6,.entry-content [style^="color:white"] p,.entry-content [style^="color:white"] li,.entry-content [style^="color:white"] strong,.entry-content [style^="color:white"] span,.entry-content [style*="; color:white"] h1,.entry-content [style*="; color:white"] h2,.entry-content [style*="; color:white"] h3,.entry-content [style*="; color:white"] h4,.entry-content [style*="; color:white"] h5,.entry-content [style*="; color:white"] h6,.entry-content [style*="; color:white"] p,.entry-content [style*="; color:white"] li,.entry-content [style*="; color:white"] strong,.entry-content [style*="; color:white"] span,.entry-content [style^="color:white"] h1,.entry-content [style^="color:white"] h2,.entry-content [style^="color:white"] h3,.entry-content [style^="color:white"] h4,.entry-content [style^="color:white"] h5,.entry-content [style^="color:white"] h6,.entry-content [style^="color:white"] p,.entry-content [style^="color:white"] li,.entry-content [style^="color:white"] strong,.entry-content [style^="color:white"] span,.entry-content [style*=";color:#f9fafb"] h1,.entry-content [style*=";color:#f9fafb"] h2,.entry-content [style*=";color:#f9fafb"] h3,.entry-content [style*=";color:#f9fafb"] h4,.entry-content [style*=";color:#f9fafb"] h5,.entry-content [style*=";color:#f9fafb"] h6,.entry-content [style*=";color:#f9fafb"] p,.entry-content [style*=";color:#f9fafb"] li,.entry-content [style*=";color:#f9fafb"] strong,.entry-content [style*=";color:#f9fafb"] span,.entry-content [style^="color:#f9fafb"] h1,.entry-content [style^="color:#f9fafb"] h2,.entry-content [style^="color:#f9fafb"] h3,.entry-content [style^="color:#f9fafb"] h4,.entry-content [style^="color:#f9fafb"] h5,.entry-content [style^="color:#f9fafb"] h6,.entry-content [style^="color:#f9fafb"] p,.entry-content [style^="color:#f9fafb"] li,.entry-content [style^="color:#f9fafb"] strong,.entry-content [style^="color:#f9fafb"] span,.entry-content [style*=";color:#e5e7eb"] h1,.entry-content [style*=";color:#e5e7eb"] h2,.entry-content [style*=";color:#e5e7eb"] h3,.entry-content [style*=";color:#e5e7eb"] h4,.entry-content [style*=";color:#e5e7eb"] h5,.entry-content [style*=";color:#e5e7eb"] h6,.entry-content [style*=";color:#e5e7eb"] p,.entry-content [style*=";color:#e5e7eb"] li,.entry-content [style*=";color:#e5e7eb"] strong,.entry-content [style*=";color:#e5e7eb"] span,.entry-content [style^="color:#e5e7eb"] h1,.entry-content [style^="color:#e5e7eb"] h2,.entry-content [style^="color:#e5e7eb"] h3,.entry-content [style^="color:#e5e7eb"] h4,.entry-content [style^="color:#e5e7eb"] h5,.entry-content [style^="color:#e5e7eb"] h6,.entry-content [style^="color:#e5e7eb"] p,.entry-content [style^="color:#e5e7eb"] li,.entry-content [style^="color:#e5e7eb"] strong,.entry-content [style^="color:#e5e7eb"] span,.entry-content [style*=";color:#f1f5f9"] h1,.entry-content [style*=";color:#f1f5f9"] h2,.entry-content [style*=";color:#f1f5f9"] h3,.entry-content [style*=";color:#f1f5f9"] h4,.entry-content [style*=";color:#f1f5f9"] h5,.entry-content [style*=";color:#f1f5f9"] h6,.entry-content [style*=";color:#f1f5f9"] p,.entry-content [style*=";color:#f1f5f9"] li,.entry-content [style*=";color:#f1f5f9"] strong,.entry-content [style*=";color:#f1f5f9"] span,.entry-content [style^="color:#f1f5f9"] h1,.entry-content [style^="color:#f1f5f9"] h2,.entry-content [style^="color:#f1f5f9"] h3,.entry-content [style^="color:#f1f5f9"] h4,.entry-content [style^="color:#f1f5f9"] h5,.entry-content [style^="color:#f1f5f9"] h6,.entry-content [style^="color:#f1f5f9"] p,.entry-content [style^="color:#f1f5f9"] li,.entry-content [style^="color:#f1f5f9"] strong,.entry-content [style^="color:#f1f5f9"] span{color:inherit;}
.entry-content [style*=";color:#fff"] a:not([style*=\"background\"]),.entry-content [style^="color:#fff"] a:not([style*=\"background\"]),.entry-content [style*="; color:#fff"] a:not([style*=\"background\"]),.entry-content [style^="color:#fff"] a:not([style*=\"background\"]),.entry-content [style*=";color:#ffffff"] a:not([style*=\"background\"]),.entry-content [style^="color:#ffffff"] a:not([style*=\"background\"]),.entry-content [style*="; color:#ffffff"] a:not([style*=\"background\"]),.entry-content [style^="color:#ffffff"] a:not([style*=\"background\"]),.entry-content [style*=";color:white"] a:not([style*=\"background\"]),.entry-content [style^="color:white"] a:not([style*=\"background\"]),.entry-content [style*="; color:white"] a:not([style*=\"background\"]),.entry-content [style^="color:white"] a:not([style*=\"background\"]),.entry-content [style*=";color:#f9fafb"] a:not([style*=\"background\"]),.entry-content [style^="color:#f9fafb"] a:not([style*=\"background\"]),.entry-content [style*=";color:#e5e7eb"] a:not([style*=\"background\"]),.entry-content [style^="color:#e5e7eb"] a:not([style*=\"background\"]),.entry-content [style*=";color:#f1f5f9"] a:not([style*=\"background\"]),.entry-content [style^="color:#f1f5f9"] a:not([style*=\"background\"]){color:var(--nf-lime);text-decoration-color:var(--nf-lime);}
.entry-content [style*=";color:#fff"] h2,.entry-content [style*=";color:#fff"] h3,.entry-content [style^="color:#fff"] h2,.entry-content [style^="color:#fff"] h3,.entry-content [style*="; color:#fff"] h2,.entry-content [style*="; color:#fff"] h3,.entry-content [style^="color:#fff"] h2,.entry-content [style^="color:#fff"] h3,.entry-content [style*=";color:#ffffff"] h2,.entry-content [style*=";color:#ffffff"] h3,.entry-content [style^="color:#ffffff"] h2,.entry-content [style^="color:#ffffff"] h3,.entry-content [style*="; color:#ffffff"] h2,.entry-content [style*="; color:#ffffff"] h3,.entry-content [style^="color:#ffffff"] h2,.entry-content [style^="color:#ffffff"] h3,.entry-content [style*=";color:white"] h2,.entry-content [style*=";color:white"] h3,.entry-content [style^="color:white"] h2,.entry-content [style^="color:white"] h3,.entry-content [style*="; color:white"] h2,.entry-content [style*="; color:white"] h3,.entry-content [style^="color:white"] h2,.entry-content [style^="color:white"] h3,.entry-content [style*=";color:#f9fafb"] h2,.entry-content [style*=";color:#f9fafb"] h3,.entry-content [style^="color:#f9fafb"] h2,.entry-content [style^="color:#f9fafb"] h3,.entry-content [style*=";color:#e5e7eb"] h2,.entry-content [style*=";color:#e5e7eb"] h3,.entry-content [style^="color:#e5e7eb"] h2,.entry-content [style^="color:#e5e7eb"] h3,.entry-content [style*=";color:#f1f5f9"] h2,.entry-content [style*=";color:#f1f5f9"] h3,.entry-content [style^="color:#f1f5f9"] h2,.entry-content [style^="color:#f1f5f9"] h3{margin-top:0;}
/* Button-style links inside posts */
.entry-content a[style*="background"]{display:inline-block;line-height:1.3;margin-top:6px;text-decoration:none!important;}
.entry-content a[style*="background"]:hover{filter:brightness(1.08);}

/* View counter */
.nf-views{margin-left:12px;white-space:nowrap;}
.nf-total{white-space:nowrap;}

/* Hero node network */
.nf-net{position:absolute;inset:0;z-index:0;pointer-events:none;}
.nf-hero.nf-has-net .nf-trace{display:none;}
.nf-hero.nf-has-net .nf-hero-inner::before{content:'';position:absolute;inset:-10% -5%;z-index:-1;background:radial-gradient(ellipse at center,rgba(11,22,34,.88) 0%,rgba(11,22,34,.6) 45%,rgba(11,22,34,0) 75%);pointer-events:none;}
@media (max-width:768px){.nf-net{opacity:.6;}}
