/* netraboti.ru — modern layer over Weblog theme + bbPress. Scoped to body.nrd */
body.nrd{
  --bg:#f4f6fb; --card:#fff; --ink:#0f172a; --text:#1e293b; --muted:#64748b; --line:#e5e9f2;
  --accent:#2563eb; --accent-2:#1d4ed8; --accent-soft:#eaf1ff; --green:#10b981;
  --r:16px; --shadow:0 1px 2px rgba(15,23,42,.04),0 4px 16px rgba(15,23,42,.06);
  background:var(--bg)!important; color:var(--text); font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:17px; line-height:1.7; -webkit-font-smoothing:antialiased;
}
body.nrd *{box-sizing:border-box}
body.nrd #page,body.nrd.boxed-layout #page{max-width:none;width:100%;box-shadow:none;background:transparent}
body.nrd .wrapper{width:auto!important;max-width:1200px;margin:0 auto;padding:0 20px}
body.nrd a{color:var(--accent);transition:color .15s}
body.nrd a:hover{color:var(--accent-2)}
body.nrd h1,body.nrd h2,body.nrd h3,body.nrd h4,body.nrd .widget-title,body.nrd .entry-title{
  font-family:Manrope,Inter,system-ui,sans-serif!important;text-transform:none!important;letter-spacing:-.01em;color:var(--ink);font-weight:800}

/* ---------- header ---------- */
body.nrd .site-header{background:rgba(255,255,255,.92);backdrop-filter:saturate(1.6) blur(10px);-webkit-backdrop-filter:saturate(1.6) blur(10px);
  border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1000;margin:0}
body.nrd.admin-bar .site-header{top:32px}
body.nrd .header-wrapper{background:transparent!important;padding:0!important}
body.nrd .header-container{display:flex;align-items:center;gap:28px;max-width:1200px;margin:0 auto;padding:10px 20px;min-height:68px}
body.nrd .header-container>.clearfix:empty{display:none}
body.nrd .top-header-bar{display:block!important}
body.nrd .header-container .wrapper{max-width:none;padding:0;margin:0}
body.nrd .site-branding{order:1;flex:0 0 auto;padding:0!important;margin:0!important;border:0!important;background:none!important}
body.nrd .site-branding .site-logo{float:none;width:auto;margin:0!important;padding:0}
body.nrd .main-navigation{order:2;flex:1 1 auto;background:transparent!important;border:0!important;margin:0}
body.nrd .top-header-bar{order:3;flex:0 0 260px;background:transparent!important;border:0!important;padding:0!important}
body.nrd .top-header-bar .acme-col-3{float:none;width:auto;padding:0}
body.nrd .top-header-bar .acme-col-3:first-child,body.nrd .top-header-bar .acme-col-3:last-child,body.nrd .date-display{display:none}
body.nrd .top-header-bar .wrapper{display:block}

body.nrd .nrd-logo{display:flex;align-items:center;gap:12px;text-decoration:none!important}
body.nrd .nrd-logo-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;font:800 22px/1 Manrope,sans-serif;
  background:linear-gradient(135deg,#2563eb,#10b981);box-shadow:0 6px 16px rgba(37,99,235,.28)}
body.nrd .nrd-logo-text{display:flex;flex-direction:column;line-height:1.15}
body.nrd .nrd-logo-text b{font:800 19px/1.15 Manrope,sans-serif;color:var(--ink)}
body.nrd .nrd-logo-text small{font-size:12.5px;color:var(--muted);margin-top:3px}

body.nrd .header-main-menu{height:auto!important;background:none!important;border:0!important}
body.nrd .acmethemes-nav{text-align:left!important}
body.nrd .acmethemes-nav>ul{display:flex;flex-wrap:wrap;gap:2px;margin:0;padding:0;justify-content:center}
body.nrd .acmethemes-nav>ul>li{float:none;display:block;margin:0;border:0!important}
body.nrd .header-wrapper .menu li a,body.nrd .acmethemes-nav>ul>li>a{display:block;padding:8px 14px!important;border-radius:10px;color:var(--text)!important;
  font:600 15px/1.4 Inter,sans-serif!important;text-transform:none!important;letter-spacing:0;background:none!important}
body.nrd .acmethemes-nav>ul>li>a:hover{background:var(--accent-soft)!important;color:var(--accent)!important}
body.nrd.bbpress .acmethemes-nav>ul>li>a[href$="/forum/"]{color:var(--accent)!important;background:var(--accent-soft)!important}
body.nrd:not(.bbpress) .acmethemes-nav>ul>li.current-menu-item>a,body.nrd.single-post .acmethemes-nav>ul>li.current_page_parent>a,body.nrd.blog .acmethemes-nav>ul>li.current_page_parent>a{color:var(--accent)!important;background:var(--accent-soft)!important}

body.nrd .search-block{width:100%!important;float:none;margin:0}
body.nrd .search-block form>div{position:relative}
body.nrd .search-block input.menu-search,body.nrd .search-block input[type=text]{width:100%;height:42px;border:1px solid var(--line)!important;border-radius:12px!important;
  background:#f8fafc!important;padding:0 44px 0 14px!important;font:15px Inter,sans-serif;color:var(--text);box-shadow:none!important;outline:0}
body.nrd .search-block input.menu-search:focus{border-color:var(--accent)!important;background:#fff!important;box-shadow:0 0 0 3px var(--accent-soft)!important}
body.nrd .search-block .searchsubmit{position:absolute;right:4px;top:4px;height:34px;width:36px;border:0;border-radius:9px;background:transparent!important;color:var(--muted)!important;cursor:pointer}

/* ---------- layout ---------- */
body.nrd .content-wrapper{padding-top:28px!important;max-width:1200px}
body.nrd #content{background:transparent!important}
body.nrd:not(.no-sidebar) #primary{width:calc(100% - 340px)!important;padding:0!important;float:left!important}
body.nrd.no-sidebar #primary{width:100%!important}
body.nrd:not(.no-sidebar) .secondary-sidebar{float:right!important}
body.nrd .secondary-sidebar,body.nrd .right-sidebar .secondary-sidebar{width:310px!important;padding:0!important;background:transparent!important}
body.nrd #primary .post,body.nrd #primary .page,body.nrd #primary article.forum,body.nrd #primary article.topic,body.nrd #primary article,
body.nrd .no-sidebar #primary .page{background:var(--card)!important;border-radius:var(--r);box-shadow:var(--shadow);border:1px solid var(--line);
  padding:36px 40px!important;margin:0 0 24px!important}
body.nrd .site-main{background:transparent!important}

/* ---------- article ---------- */
body.nrd .entry-header .entry-title,body.nrd h1.entry-title{font-size:clamp(26px,3.2vw,38px)!important;line-height:1.2!important;margin:0 0 12px!important;font-weight:800!important}
body.nrd .entry-header .entry-title::after,body.nrd .widget-title::after,body.nrd .page-title::after{display:none!important}
body.nrd .entry-content{font-size:17.5px;line-height:1.75;color:var(--text)}
body.nrd .entry-content p,body.nrd .entry-content li{text-align:left!important}
body.nrd .entry-content h2{font-size:clamp(22px,2.4vw,28px)!important;line-height:1.3!important;margin:42px 0 14px!important}
body.nrd .entry-content h1 *,body.nrd .entry-content h2 *,body.nrd .entry-content h3 *{font-family:inherit!important;font-size:inherit!important;text-transform:none!important}
body.nrd .entry-content h3{font-size:21px!important;line-height:1.35!important;margin:30px 0 10px!important}
body.nrd .entry-content img{border-radius:12px;height:auto;max-width:100%}
body.nrd .entry-content ul,body.nrd .entry-content ol{margin:0 0 22px 22px!important;padding:0}
body.nrd .entry-content li{margin:0 0 8px}
body.nrd .entry-content blockquote{border-left:4px solid var(--accent);background:var(--accent-soft);border-radius:0 12px 12px 0;padding:14px 18px;margin:20px 0;font-style:normal}
body.nrd .entry-content table{border-collapse:collapse;width:100%;font-size:15.5px}
body.nrd .entry-content table td,body.nrd .entry-content table th{border:1px solid var(--line);padding:8px 10px}
body.nrd .single-feat{margin:-36px -40px 26px!important;border-radius:var(--r) var(--r) 0 0;overflow:hidden;position:relative}
body.nrd .single-feat img{width:100%;display:block;border-radius:0}
body.nrd .single-feat .entry-meta{position:absolute;left:24px;bottom:18px;display:flex;gap:8px;margin:0}
body.nrd .single-feat .entry-meta>span,body.nrd .single-feat .entry-meta span{background:none!important;padding:0!important;border:0!important;box-shadow:none!important}
body.nrd .single-feat .entry-meta>span a,body.nrd .single-feat .entry-meta .byline a{background:rgba(15,23,42,.72)!important;color:#fff!important;border-radius:999px;padding:5px 12px;font-size:13px;line-height:1.4;display:inline-block}
body.nrd .entry-footer,body.nrd .cat-links{font-size:14px;color:var(--muted)}
body.nrd .cat-links a{background:var(--accent-soft);color:var(--accent)!important;border-radius:999px;padding:3px 10px;text-decoration:none}

/* related, navigation, comments */
body.nrd .wp_rp_wrap{border-top:1px solid var(--line);padding-top:18px;margin-top:28px}
body.nrd .wp_rp_wrap .related_post_title{font:800 20px Manrope,sans-serif;color:var(--ink)}
body.nrd .related-post-wrapper,body.nrd .post-navigation,body.nrd #comments{background:var(--card)!important;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:24px 28px!important;margin:0 0 24px!important}
body.nrd .post-navigation a{font-weight:600}
body.nrd .comment-form input[type=text],body.nrd .comment-form input[type=email],body.nrd .comment-form input[type=url],body.nrd .comment-form textarea{
  border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:#f8fafc;width:100%}
body.nrd input[type=submit],body.nrd button.submit,body.nrd .button,body.nrd #bbpress-forums button,body.nrd .tml-button,body.nrd .bbp-submit-wrapper button{
  background:var(--accent)!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:10px 20px!important;font:600 15px Inter,sans-serif!important;cursor:pointer;box-shadow:0 4px 12px rgba(37,99,235,.25)}
body.nrd input[type=submit]:hover,body.nrd #bbpress-forums button:hover,body.nrd .tml-button:hover{background:var(--accent-2)!important}

/* ---------- sidebar ---------- */
body.nrd .secondary-sidebar .widget{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:20px 22px!important;margin:0 0 20px!important}
body.nrd .secondary-sidebar .widget-title{font-size:17px!important;margin:0 0 12px!important;padding:0!important;border:0!important;font-weight:800}
body.nrd .secondary-sidebar .widget ul{margin:0;padding:0;list-style:none}
body.nrd .secondary-sidebar .widget li{border:0!important;padding:0!important;margin:0}
body.nrd .secondary-sidebar .widget_nav_menu li a,body.nrd .secondary-sidebar .widget_recent_entries li a,body.nrd .secondary-sidebar .widget_categories li a,body.nrd .secondary-sidebar .widget_archive li a{
  display:block;padding:7px 10px;margin:0 -10px;border-radius:9px;color:var(--text)!important;font-size:15px;line-height:1.45;text-decoration:none}
body.nrd .secondary-sidebar .widget_nav_menu li a:hover,body.nrd .secondary-sidebar .widget_recent_entries li a:hover{background:var(--accent-soft);color:var(--accent)!important}
body.nrd .secondary-sidebar .widget_meta{display:none}
body.nrd .tml input[type=text],body.nrd .tml input[type=password],body.nrd .secondary-sidebar input[type=text],body.nrd .secondary-sidebar input[type=search]{
  border:1px solid var(--line)!important;border-radius:12px!important;height:42px;padding:0 12px!important;background:#f8fafc!important;width:100%}
body.nrd .tml .tml-label{font-size:14px;color:var(--muted)}

/* ---------- front page ---------- */
body.nrd.home #primary .page{padding:0!important;background:transparent!important;border:0;box-shadow:none}
body.nrd.home #primary .page>.entry-header{background:linear-gradient(90deg,#1e3a8a 0%,#2563eb 55%,#0ea5a5 100%);border-radius:var(--r) var(--r) 0 0;padding:52px 48px 0!important;margin:0!important}
body.nrd.home #primary .page>.entry-header .entry-title{color:#fff!important;font-size:clamp(30px,4vw,48px)!important;max-width:820px}
body.nrd.home #primary .page>.entry-content{padding:0;margin:0!important}
body.nrd.home #primary .page>.entry-header{margin-bottom:-1px!important;padding-bottom:1px!important}
body.nrd .nrd-hero{margin-top:0!important}
body.nrd .nrd-hero{background:linear-gradient(90deg,#1e3a8a 0%,#2563eb 55%,#0ea5a5 100%);color:#e6efff;border-radius:0 0 var(--r) var(--r);padding:6px 48px 48px;margin:0 0 28px;box-shadow:0 12px 30px rgba(30,58,138,.22)}
body.nrd .nrd-hero p{color:#e6efff;margin:0 0 10px;max-width:760px}
body.nrd .nrd-hero-lead{font:700 21px/1.45 Manrope,sans-serif!important;color:#fff!important}
body.nrd .nrd-hero-sub{font-size:16.5px;opacity:.9}
body.nrd .nrd-hero-search{display:flex;gap:8px;max-width:640px;margin:22px 0 18px;background:#fff;border-radius:14px;padding:6px;box-shadow:0 8px 24px rgba(0,0,0,.15)}
body.nrd .nrd-hero-search input{flex:1;border:0!important;outline:0;font:16px Inter,sans-serif;padding:0 12px!important;background:transparent!important;height:44px;box-shadow:none!important}
body.nrd .nrd-hero-search button{background:var(--accent);color:#fff;border:0;border-radius:10px;padding:0 22px;font:600 15px Inter,sans-serif;cursor:pointer}
body.nrd .nrd-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
body.nrd .nrd-btn{display:inline-block;background:#fff;color:var(--accent-2)!important;border-radius:12px;padding:11px 20px;font-weight:700;font-size:15px;text-decoration:none!important;line-height:1.3}
body.nrd .nrd-btn:hover{transform:translateY(-1px)}
body.nrd .nrd-btn-ghost{background:rgba(255,255,255,.14);color:#fff!important;border:1px solid rgba(255,255,255,.4)}
body.nrd .nrd-block{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:28px 32px;margin:0 0 28px}
body.nrd .nrd-block-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 18px}
body.nrd .nrd-block-head h2{margin:0!important;font-size:24px!important}
body.nrd .nrd-block-head a{font-weight:600;font-size:15px;text-decoration:none}
body.nrd .nrd-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
body.nrd .nrd-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;text-decoration:none!important;transition:transform .15s,box-shadow .15s}
body.nrd .nrd-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(15,23,42,.12)}
body.nrd .nrd-card-media{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#dbeafe,#d1fae5);overflow:hidden}
body.nrd .nrd-card-media img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0!important;margin:0!important}
body.nrd .nrd-card-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px}
body.nrd .nrd-card-cat{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--green)}
body.nrd .nrd-card-title{font:700 16.5px/1.35 Manrope,sans-serif;color:var(--ink)}
body.nrd .nrd-card-date{font-size:13px;color:var(--muted)}
body.nrd .nrd-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
body.nrd .nrd-tile{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--line);border-radius:14px;padding:16px;text-decoration:none!important;background:#fbfcff;transition:border-color .15s,background .15s}
body.nrd .nrd-tile:hover{border-color:var(--accent);background:var(--accent-soft)}
body.nrd .nrd-tile-ico{font-size:26px;line-height:1}
body.nrd .nrd-tile b{display:block;color:var(--ink);font:700 16px Manrope,sans-serif;margin-bottom:2px}
body.nrd .nrd-tile small{display:block;color:var(--muted);font-size:14px;line-height:1.45}
body.nrd .nrd-tile>span{line-height:1.3}
body.nrd .nrd-about{font-size:16.5px}
body.nrd .nrd-about h2{font-size:21px!important}

/* old posts: floated small images squeezed text on mobile */
@media (max-width:640px){
  body.nrd .entry-content img.alignleft,body.nrd .entry-content img.alignright,body.nrd .entry-content img[align],
  body.nrd .entry-content .alignleft,body.nrd .entry-content .alignright{float:none!important;display:block;margin:0 auto 16px!important;max-width:100%!important;height:auto!important}
}

/* ---------- bbPress ---------- */
body.nrd #bbpress-forums{font-size:15.5px;line-height:1.5;margin:0}
body.nrd #bbpress-forums ul,body.nrd #bbpress-forums ol{margin-left:0!important;padding-left:0!important}
body.nrd #bbpress-forums li{text-align:left}
body.nrd #bbpress-forums li.bbp-header li{font-size:12px}
body.nrd #bbpress-forums div.bbp-template-notice ul,body.nrd #bbpress-forums div.bbp-template-notice li{margin:0!important;padding:0!important;list-style:none}
body.nrd #bbpress-forums .bbp-breadcrumb{font-size:14px;color:var(--muted);margin:0 0 14px}
body.nrd #bbpress-forums .bbp-breadcrumb a{color:var(--muted)}
body.nrd #bbpress-forums div.bbp-search-form{margin:0 0 14px}
body.nrd #bbpress-forums #bbp-search-form input[type=text]{border:1px solid var(--line);border-radius:10px;height:38px;padding:0 12px;background:#f8fafc}
body.nrd #bbpress-forums ul.bbp-forums,body.nrd #bbpress-forums ul.bbp-topics,body.nrd #bbpress-forums ul.bbp-replies{border:1px solid var(--line)!important;border-radius:14px;overflow:hidden;background:#fff;margin:0 0 18px;font-size:15px}
body.nrd #bbpress-forums li.bbp-header{background:#f8fafc!important;border-bottom:1px solid var(--line)!important;padding:12px 18px!important;font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted)}
body.nrd #bbpress-forums li.bbp-footer{display:none}
body.nrd #bbpress-forums li.bbp-body ul.forum,body.nrd #bbpress-forums li.bbp-body ul.topic{background:#fff!important;border-top:1px solid var(--line)!important;padding:16px 18px!important;transition:background .12s}
body.nrd #bbpress-forums li.bbp-body ul.forum:first-child,body.nrd #bbpress-forums li.bbp-body ul.topic:first-child{border-top:0!important}
body.nrd #bbpress-forums li.bbp-body ul.forum:hover,body.nrd #bbpress-forums li.bbp-body ul.topic:hover{background:#f8fbff!important}
body.nrd #bbpress-forums .bbp-forum-title,body.nrd #bbpress-forums .bbp-topic-permalink{font:700 16.5px/1.4 Manrope,sans-serif;color:var(--ink)!important;text-decoration:none}
body.nrd #bbpress-forums .bbp-forum-title:hover,body.nrd #bbpress-forums .bbp-topic-permalink:hover{color:var(--accent)!important}
body.nrd #bbpress-forums .bbp-forum-content{color:var(--muted);font-size:14px;margin-top:2px}
body.nrd #bbpress-forums ul.bbp-forums-list{border:0!important;margin:6px 0 0!important;padding:0!important}
body.nrd #bbpress-forums ul.bbp-forums-list li{display:inline-block;font-size:13.5px;margin:4px 6px 0 0}
body.nrd #bbpress-forums ul.bbp-forums-list li a{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:3px 10px;text-decoration:none}
body.nrd #bbpress-forums li.bbp-forum-topic-count,body.nrd #bbpress-forums li.bbp-forum-reply-count,body.nrd #bbpress-forums li.bbp-topic-voice-count,body.nrd #bbpress-forums li.bbp-topic-reply-count{
  font-weight:700;color:var(--ink);font-size:15px}
body.nrd #bbpress-forums li.bbp-forum-freshness,body.nrd #bbpress-forums li.bbp-topic-freshness{font-size:13.5px;color:var(--muted)}
body.nrd #bbpress-forums li.bbp-forum-freshness a,body.nrd #bbpress-forums li.bbp-topic-freshness a{color:var(--muted)}
body.nrd #bbpress-forums .bbp-topic-meta,body.nrd #bbpress-forums .bbp-topic-started-by{font-size:13.5px;color:var(--muted)}
body.nrd #bbpress-forums .bbp-author-name{font-weight:600}
body.nrd #bbpress-forums div.bbp-template-notice{border:1px solid var(--line)!important;border-radius:12px!important;background:#f8fafc!important;padding:10px 14px!important;margin:0 0 14px!important}
body.nrd #bbpress-forums div.bbp-template-notice p{font-size:14px!important;margin:0!important;color:var(--text)}
body.nrd #bbpress-forums div.bbp-template-notice.info{background:var(--accent-soft)!important;border-color:#cddcff!important}
body.nrd #bbpress-forums .bbp-pagination{font-size:14px;color:var(--muted);margin:0 0 12px}
body.nrd #bbpress-forums .bbp-pagination-links a,body.nrd #bbpress-forums .bbp-pagination-links span.current{display:inline-block;min-width:34px;height:34px;line-height:34px;text-align:center;
  border-radius:10px;border:1px solid var(--line)!important;background:#fff!important;padding:0 8px;color:var(--text);text-decoration:none;opacity:1!important}
body.nrd #bbpress-forums .bbp-pagination-links span.current{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
body.nrd #bbpress-forums div.bbp-reply-header,body.nrd #bbpress-forums div.bbp-topic-header{background:#f8fafc!important;border-top:1px solid var(--line)!important;font-size:13px}
body.nrd #bbpress-forums div.odd,body.nrd #bbpress-forums ul.odd{background:#fff}
body.nrd #bbpress-forums div.bbp-reply-content,body.nrd #bbpress-forums div.bbp-topic-content{font-size:16px;line-height:1.65;color:var(--text)}
body.nrd #bbpress-forums div.bbp-reply-author img.avatar,body.nrd #bbpress-forums div.bbp-topic-author img.avatar{border-radius:50%}
body.nrd #bbpress-forums fieldset.bbp-form,body.nrd #bbpress-forums form.bbp-login-form{border:1px solid var(--line)!important;border-radius:14px;padding:18px 20px!important;background:#fff;margin:0 0 18px}
body.nrd #bbpress-forums form.bbp-login-form input[type=text],body.nrd #bbpress-forums form.bbp-login-form input[type=password],body.nrd #bbpress-forums fieldset.bbp-form input[type=text],body.nrd #bbpress-forums textarea{
  border:1px solid var(--line)!important;border-radius:10px!important;height:40px;padding:0 12px!important;background:#f8fafc!important;width:100%;max-width:340px}
body.nrd #bbpress-forums textarea{height:auto;max-width:none;padding:10px 12px!important}
body.nrd #bbpress-forums form.bbp-login-form label{width:150px;font-size:14px;color:var(--muted)}
/* online-stats plugin block */
body.nrd .bbpas-header{background:#f8fafc!important;border:1px solid var(--line);border-radius:10px!important;padding:8px 12px!important;font-size:13.5px!important;color:var(--text)!important;margin:16px 0 6px!important}
body.nrd .bbpas-active,body.nrd .bbpas-inactive,body.nrd .bbpas-key{font-size:13.5px;color:var(--muted)}

/* ---------- footer ---------- */
body.nrd .site-footer{background:#0f172a!important;color:#94a3b8;margin-top:40px}
body.nrd .footer-wrapper{background:transparent!important;padding:20px 0 0!important}
body.nrd .site-footer a{color:#cbd5e1!important}
body.nrd .footer-copyright{background:transparent!important;border-top:1px solid rgba(148,163,184,.18)!important;padding:18px 0!important;font-size:14px}
body.nrd .footer-copyright .wrapper{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
body.nrd .footer-copyright .site-info:last-child{display:none}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  body.nrd .top-header-bar{flex-basis:200px}
  body.nrd .nrd-cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:992px){
  body.nrd:not(.no-sidebar) #primary,body.nrd .right-sidebar #primary,body.nrd .secondary-sidebar,body.nrd .right-sidebar .secondary-sidebar{width:100%!important;float:none!important}
  body.nrd .header-container{flex-wrap:wrap;gap:10px 16px;padding:10px 16px}
  body.nrd .site-branding{flex:1 1 auto}
  body.nrd .main-navigation{order:3;flex:1 1 100%}
  body.nrd .top-header-bar{order:2;flex:0 0 200px}
  body.nrd .acmethemes-nav>ul{justify-content:flex-start}
}
@media (max-width:767px){
  body{font-size:16.5px}
  body.nrd .wrapper{padding:0 14px}
  body.nrd .site-header{position:relative}
  body.nrd .top-header-bar{order:3;flex:1 1 100%}
  body.nrd .main-navigation{order:2;flex:0 0 auto;width:auto!important}
  body.nrd .site-branding{flex:1 1 0;min-width:0}
  body.nrd .main-navigation .wrapper{padding:0!important;width:auto!important}
  body.nrd .responsive-slick-menu{display:block!important;float:none!important;width:auto!important;margin:0!important}
  body.nrd .slicknav_menu{width:auto!important;float:none!important}
  body.nrd .slicknav_btn{float:none!important;display:block;position:static!important;width:auto!important}
  body.nrd .main-navigation{flex:0 0 48px!important;display:flex!important;justify-content:flex-end;position:static!important}
  body.nrd .main-navigation .wrapper,body.nrd .responsive-slick-menu,body.nrd .slicknav_menu{position:static!important}
  body.nrd .slicknav_icon-bar{background:var(--accent)!important;height:2.5px!important;width:20px!important;border-radius:2px;margin:4px 0!important;display:block}
  body.nrd .slicknav_btn{padding:8px 10px!important}
  body.nrd .header-container{position:relative}
  body.nrd .header-main-menu{display:none}
  body.nrd .nrd-logo-mark{width:38px;height:38px;font-size:20px}
  body.nrd .nrd-logo-text b{font-size:17px}
  body.nrd .nrd-logo-text small{font-size:11.5px}
  body.nrd .slicknav_menu{background:transparent!important;padding:0!important}
  body.nrd .slicknav_btn{background:var(--accent-soft)!important;border-radius:10px!important;margin:0!important;padding:10px 12px!important;text-shadow:none!important;box-shadow:none!important}
  body.nrd .slicknav_icon-bar{background:var(--accent)!important;box-shadow:none!important}
  body.nrd .slicknav_nav{position:absolute;left:12px;right:12px;top:100%;margin-top:6px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 30px rgba(15,23,42,.14);padding:8px!important;z-index:1001}
  body.nrd .slicknav_nav a{color:var(--text)!important;font:600 16px Inter,sans-serif!important;padding:10px 12px!important;border-radius:10px;margin:0!important;text-transform:none!important}
  body.nrd .slicknav_nav a:hover{background:var(--accent-soft)!important}
  body.nrd .slicknav_nav li,body.nrd .slicknav_nav ul{border:0!important;list-style:none;margin:0!important}
  body.nrd .content-wrapper{padding-top:14px!important}
  body.nrd #primary .post,body.nrd #primary .page,body.nrd #primary article{padding:22px 18px!important;border-radius:14px}
  body.nrd .single-feat{margin:-22px -18px 20px!important}
  body.nrd .single-feat .entry-meta{left:12px;bottom:12px}
  body.nrd .entry-content{font-size:16.5px}
  body.nrd.home #primary .page>.entry-header{padding:30px 20px 1px!important}
  body.nrd .nrd-hero{padding:4px 20px 26px}
  body.nrd .nrd-hero-lead{font-size:18px!important}
  body.nrd .nrd-hero-search{flex-direction:column}
  body.nrd .nrd-hero-search button{height:44px}
  body.nrd .nrd-block{padding:20px 16px}
  body.nrd .nrd-cards,body.nrd .nrd-tiles{grid-template-columns:1fr}
  body.nrd .nrd-card{flex-direction:row}
  body.nrd .nrd-card-media{flex:0 0 120px;aspect-ratio:auto;min-height:100px}
  body.nrd #bbpress-forums li.bbp-header{display:none}
  body.nrd #bbpress-forums li.bbp-forum-info,body.nrd #bbpress-forums li.bbp-topic-title{width:100%!important;float:none!important}
  body.nrd #bbpress-forums li.bbp-forum-topic-count,body.nrd #bbpress-forums li.bbp-forum-reply-count,body.nrd #bbpress-forums li.bbp-topic-voice-count,body.nrd #bbpress-forums li.bbp-topic-reply-count{
    display:inline-block!important;width:auto!important;float:none!important;text-align:left!important;font-size:13px;font-weight:600;color:var(--muted);margin:8px 14px 0 0}
  body.nrd #bbpress-forums li.bbp-forum-topic-count::before,body.nrd #bbpress-forums li.bbp-topic-voice-count::before{content:"👥 "}
  body.nrd #bbpress-forums li.bbp-forum-reply-count::before,body.nrd #bbpress-forums li.bbp-topic-reply-count::before{content:"💬 "}
  body.nrd #bbpress-forums li.bbp-forum-freshness,body.nrd #bbpress-forums li.bbp-topic-freshness{display:inline-block!important;width:auto!important;float:none!important;text-align:left!important;margin-top:8px}
  body.nrd #bbpress-forums form.bbp-login-form label{width:auto;display:block}
}

/* polish */
body.nrd .secondary-sidebar .widget_execphp,body.nrd .secondary-sidebar .widget_custom_html{background:transparent;border:0;box-shadow:none;padding:0!important}
body.nrd .secondary-sidebar .widget_execphp:empty,body.nrd .secondary-sidebar .execphpwidget:empty{display:none}
body.nrd .footer-wrapper{padding:0!important}
body.nrd #footer-top,body.nrd #footer-top .widget{margin:0!important;padding:0!important;min-height:0}
body.nrd #footer-top .footer-columns{padding:14px 0 0}
body.nrd .footer-copyright .site-info{float:none!important;width:auto!important;text-align:left}
body.nrd .footer-copyright .wrapper{align-items:center}
body.nrd #bbpress-forums li.bbp-body ul.forum,body.nrd #bbpress-forums li.bbp-body ul.topic{min-height:0}
body.nrd #bbpress-forums .bbp-forum-info .bbp-forum-content:empty{display:none}
body.nrd .bbpas-active,body.nrd .bbpas-inactive{padding:4px 2px}

/* ---------- archive / blog / search: masonry → grid ---------- */
body.nrd #masonry-loop{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;height:auto!important;position:static!important}
body.nrd .masonry-start{margin:0}
body.nrd #masonry-loop>article,body.nrd #primary #masonry-loop>article.post{position:static!important;left:auto!important;top:auto!important;transform:none!important;
  width:auto!important;float:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;overflow:hidden}
body.nrd #masonry-loop .inner-wrapper{padding:0!important;margin:0!important;background:none!important;border:0!important;display:flex;flex-direction:column;height:100%}
body.nrd #masonry-loop .post-thumb{position:relative;margin:0!important;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#dbeafe,#d1fae5)}
body.nrd #masonry-loop .post-thumb img{width:100%!important;height:100%!important;object-fit:cover;display:block;border-radius:0!important;margin:0!important;max-width:none}
body.nrd #masonry-loop .post-thumb .entry-meta{position:absolute;left:12px;bottom:10px;display:flex;gap:6px;margin:0!important;padding:0!important;background:none!important}
body.nrd #masonry-loop .post-thumb .entry-meta span{background:none!important;padding:0!important;border:0!important}
body.nrd #masonry-loop .post-thumb .entry-meta a{background:rgba(15,23,42,.72)!important;color:#fff!important;border-radius:999px;padding:3px 10px;font-size:12px;line-height:1.5;display:inline-block}
body.nrd #masonry-loop .format-icon{display:none}
body.nrd #masonry-loop .entry-header{padding:16px 20px 0!important;margin:0!important;text-align:left!important}
body.nrd #masonry-loop .entry-title{font-size:19px!important;line-height:1.35!important;text-transform:none!important;letter-spacing:-.01em!important;margin:0!important;text-align:left!important;font-weight:800!important}
body.nrd #masonry-loop .entry-title a{color:var(--ink)!important;text-decoration:none}
body.nrd #masonry-loop .entry-title a:hover{color:var(--accent)!important}
body.nrd #masonry-loop .entry-title::after{display:none!important}
body.nrd #masonry-loop .entry-footer{padding:8px 20px 0!important;margin:0!important;text-align:left!important}
body.nrd #masonry-loop .entry-footer .fa{display:none}
body.nrd #masonry-loop .cat-links a{font-size:12px;padding:2px 9px}
body.nrd #masonry-loop .entry-content{padding:10px 20px 20px!important;margin:0!important;font-size:15px!important;line-height:1.6!important;color:var(--muted);text-align:left!important;flex:1;display:flex;flex-direction:column}
body.nrd #masonry-loop .entry-content p{margin:0 0 12px!important}
body.nrd #masonry-loop .entry-content a.read-more,body.nrd #masonry-loop .entry-content .read-more,body.nrd #masonry-loop a.more-link,body.nrd #masonry-loop .entry-content a:last-child{
  margin-top:auto;align-self:flex-start;background:var(--accent-soft)!important;color:var(--accent)!important;border:0!important;border-radius:10px!important;padding:8px 14px!important;
  font:600 14px Inter,sans-serif!important;text-transform:none!important;text-decoration:none!important;box-shadow:none!important}
body.nrd #masonry-loop .entry-content a.read-more:hover,body.nrd #masonry-loop a.more-link:hover{background:var(--accent)!important;color:#fff!important}
body.nrd .navigation.posts-navigation,body.nrd .navigation.pagination{margin:24px 0!important}
body.nrd .pagination .page-numbers,body.nrd .nav-links .page-numbers{display:inline-block;min-width:38px;height:38px;line-height:38px;text-align:center;border-radius:10px;border:1px solid var(--line);background:#fff;margin:0 3px;color:var(--text);text-decoration:none}
body.nrd .pagination .page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent)}
body.nrd.archive .page-header,body.nrd.search .page-header{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px 24px;margin:0 0 22px}
body.nrd .page-header .page-title{font-size:26px!important;margin:0!important}
@media (max-width:767px){
  body.nrd #masonry-loop{grid-template-columns:1fr;gap:16px}
  body.nrd #masonry-loop .entry-title{font-size:18px!important}
}
body.nrd #masonry-loop>article{opacity:1!important;visibility:visible!important;animation:none!important;transition:none!important}
body.nrd #masonry-loop .entry-title a{text-transform:none!important;font-family:Manrope,Inter,sans-serif!important;letter-spacing:-.01em!important}
body.nrd #masonry-loop .entry-content{flex:0 0 auto;padding-bottom:6px!important}
body.nrd #masonry-loop .read-more{margin:auto 20px 20px!important;text-align:left!important}
body.nrd #masonry-loop .read-more .read-more-btn{background:var(--accent-soft)!important;color:var(--accent)!important;border-radius:10px;padding:8px 14px!important;font:600 14px Inter,sans-serif;text-transform:none!important;opacity:1!important}
body.nrd #masonry-loop .read-more .read-more-btn:hover{background:var(--accent)!important;color:#fff!important}
