/* Global layout fail-safes for the WordPress Header menu and article pages. */
.nestor-site-header{position:sticky!important;top:0;z-index:50;isolation:isolate}.nestor-site-header__inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;min-height:68px;direction:rtl}.nestor-site-header__brand,.nestor-site-header__actions{display:flex!important;align-items:center!important;flex:0 0 auto}.nestor-site-header__brand{min-width:180px;justify-content:flex-start}.nestor-site-header__actions{min-width:180px;justify-content:flex-end}.nestor-primary-navigation{display:block!important;flex:1 1 auto!important;min-width:0!important}.nestor-primary-navigation .nestor-primary-menu{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:clamp(16px,2.25vw,32px)!important;margin:0!important;padding:0!important;list-style:none!important;direction:rtl!important}.nestor-primary-navigation .nestor-primary-menu>li{display:block!important;flex:0 0 auto!important;margin:0!important;padding:0!important;list-style:none!important}.nestor-primary-navigation .nestor-primary-menu>li>a{display:block!important;white-space:nowrap!important;color:var(--text-secondary,#94a3b8)!important;font-size:14px!important;font-weight:600!important;line-height:1.5!important;text-decoration:none!important;transition:color .2s ease}.nestor-primary-navigation .nestor-primary-menu>li>a:hover,.nestor-primary-navigation .nestor-primary-menu>.current-menu-item>a,.nestor-primary-navigation .nestor-primary-menu>.current-menu-ancestor>a{color:var(--brand-500,#17c976)!important}.nestor-primary-navigation .nestor-primary-menu .menu-item-has-children{position:relative}.nestor-primary-navigation .nestor-primary-menu .sub-menu{position:absolute;z-index:90;display:none;min-width:190px;margin:10px 0 0!important;padding:9px!important;list-style:none!important;border:1px solid rgba(var(--brand-rgb,23,201,118),.18);border-radius:14px;background:#06100b;box-shadow:0 16px 38px rgba(0,0,0,.32)}.nestor-primary-navigation .nestor-primary-menu .menu-item-has-children:hover>.sub-menu,.nestor-primary-navigation .nestor-primary-menu .menu-item-has-children:focus-within>.sub-menu{display:grid!important}.nestor-primary-navigation .nestor-primary-menu .sub-menu a{display:block;padding:9px 11px;color:#cbd5e1;text-decoration:none;white-space:nowrap}.nestor-primary-navigation .nestor-primary-menu .sub-menu a:hover{color:var(--brand-500,#17c976);background:rgba(var(--brand-rgb,23,201,118),.1);border-radius:8px}
.nestor-blog-shell .nestor-topics{display:block!important;margin:0 0 54px!important;padding:clamp(21px,4vw,38px)!important;border:1px solid rgba(var(--brand-rgb,23,201,118),.16)!important;border-radius:28px!important;background:linear-gradient(135deg,rgba(var(--brand-rgb,23,201,118),.09),rgba(5,17,12,.9))!important}.nestor-blog-shell .nestor-topics__heading{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;margin-bottom:26px!important}.nestor-blog-shell .nestor-topics__heading h2{margin:5px 0 7px!important;color:#fff!important;font-size:clamp(24px,3.4vw,34px)!important;line-height:1.3!important}.nestor-blog-shell .nestor-topics__heading p{margin:0!important;color:#94a3b8!important;font-size:13px!important;line-height:1.9!important}.nestor-blog-shell .nestor-topics__heading>strong{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;padding:10px 13px!important;border:1px solid rgba(var(--brand-rgb,23,201,118),.22)!important;border-radius:12px!important;color:#d9fbe6!important;font-size:12px!important}.nestor-blog-shell .nestor-topics__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.nestor-blog-shell .nestor-topic-card{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto!important;align-items:center!important;gap:11px!important;min-width:0!important;padding:15px!important;border:1px solid rgba(148,163,184,.13)!important;border-radius:17px!important;background:rgba(2,11,7,.5)!important;color:inherit!important;text-decoration:none!important}.nestor-blog-shell .nestor-topic-card__icon{display:grid!important;width:39px!important;height:39px!important;place-items:center!important;border:1px solid rgba(var(--brand-rgb,23,201,118),.22)!important;border-radius:12px!important;background:rgba(var(--brand-rgb,23,201,118),.1)!important;color:var(--brand-500,#17c976)!important}.nestor-blog-shell .nestor-topic-card__content{display:flex!important;min-width:0!important;flex-direction:column!important;gap:4px!important}.nestor-blog-shell .nestor-topic-card__content strong{overflow:hidden!important;color:#edf9f1!important;font-size:14px!important;text-overflow:ellipsis!important;white-space:nowrap!important}.nestor-blog-shell .nestor-topic-card__content small{display:-webkit-box!important;overflow:hidden!important;color:#8093a5!important;font-size:11px!important;line-height:1.7!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}.nestor-blog-shell .nestor-topic-card__count{display:flex!important;align-items:center!important;gap:3px!important;color:var(--brand-500,#17c976)!important;font-size:15px!important;font-weight:900!important;white-space:nowrap!important}.nestor-blog-shell .nestor-topic-card__count em{color:#8da096!important;font-size:10px!important;font-style:normal!important;font-weight:600!important}.nestor-blog-shell .nestor-topic-card__arrow{width:16px!important;height:16px!important;color:#6e897b!important}
.nestor-article-shell .nestor-article-container{width:min(100% - 32px,940px)!important;margin-inline:auto!important}.nestor-article-shell .nestor-comments-wrap{display:block!important;width:auto!important;box-sizing:border-box!important;margin-top:65px!important;padding:clamp(22px,4vw,40px)!important;border:1px solid rgba(var(--brand-rgb,23,201,118),.16)!important;border-radius:25px!important;background:rgba(7,18,14,.82)!important}.nestor-article-shell #comments .comment-form-url,.nestor-article-shell #comments input[name="nestor_website"]{display:none!important}.nestor-article-shell #comments .comment-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px 15px!important}.nestor-article-shell #comments .comment-reply-title,.nestor-article-shell #comments .comment-notes,.nestor-article-shell #comments .logged-in-as,.nestor-article-shell #comments .nestor-comment-identity,.nestor-article-shell #comments .comment-form-comment,.nestor-article-shell #comments .form-submit{grid-column:1/-1!important}.nestor-article-shell #comments .comment-form p{margin:0!important}.nestor-article-shell #comments .comment-form textarea,.nestor-article-shell #comments .comment-form input:not([type=submit]){box-sizing:border-box!important;width:100%!important;border:1px solid rgba(148,163,184,.2)!important;border-radius:12px!important;background:#06130d!important;color:#f8fafc!important}.nestor-article-shell #comments .comment-form textarea{min-height:154px!important;padding:13px!important;resize:vertical!important}.nestor-article-shell #comments .comment-form .submit{padding:12px 22px!important;border:0!important;border-radius:12px!important;background:var(--brand-500,#17c976)!important;color:#032b18!important;font-weight:900!important}
@media(max-width:900px){.nestor-blog-shell .nestor-topics__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:767px){.nestor-site-header__inner{min-height:60px;gap:12px!important}.nestor-site-header__brand{min-width:0}.nestor-site-header__actions{min-width:0}.nestor-primary-navigation{display:none!important}}@media(max-width:640px){.nestor-blog-shell .nestor-topics{margin-bottom:36px!important;padding:18px!important;border-radius:21px!important}.nestor-blog-shell .nestor-topics__heading{align-items:flex-start!important;flex-direction:column!important;gap:14px!important;margin-bottom:19px!important}.nestor-blog-shell .nestor-topics__grid,.nestor-article-shell #comments .comment-form{grid-template-columns:1fr!important;gap:9px!important}.nestor-blog-shell .nestor-topic-card{padding:13px!important}}

/* Harden header controls against third-party/reset styles. */
.nestor-site-header__actions button{appearance:none!important;border:1px solid rgba(255,255,255,.1)!important;cursor:pointer}.nestor-site-header__actions>a{white-space:nowrap}.nestor-site-header__brand img{display:block;max-height:42px}.nestor-site-header__brand a{text-decoration:none}.nestor-primary-navigation .nestor-primary-menu>li{float:none!important;width:auto!important}.nestor-primary-navigation .nestor-primary-menu>li>a{float:none!important;width:auto!important}


/* Mobile reading space: keep article and topic cards comfortably wide. */
@media (max-width:640px){
	.nestor-blog-shell .nestor-blog-container,
	.nestor-article-shell .nestor-article-container{
		width:calc(100% - 16px)!important;
		max-width:none!important;
	}
	.nestor-blog-shell .nestor-blog-content{padding-top:24px!important;padding-bottom:54px!important}
	.nestor-blog-shell .nestor-topics{
		margin-bottom:28px!important;
		padding:14px!important;
		border-radius:18px!important;
	}
	.nestor-blog-shell .nestor-topics__heading{gap:10px!important;margin-bottom:15px!important}
	.nestor-blog-shell .nestor-topics__heading h2{font-size:27px!important}
	.nestor-blog-shell .nestor-topic-card{
		grid-template-columns:44px minmax(0,1fr) auto!important;
		min-height:94px!important;
		gap:10px!important;
		padding:14px!important;
		border-radius:15px!important;
	}
	.nestor-blog-shell .nestor-topic-card__icon{width:44px!important;height:44px!important}
	.nestor-blog-shell .nestor-topic-card__content small{-webkit-line-clamp:2!important}
	.nestor-blog-shell .nestor-topic-card__arrow{display:none!important}
	.nestor-article-shell{padding-top:24px!important;padding-bottom:58px!important}
	.nestor-article-shell .nestor-breadcrumb{margin:0 4px 22px!important}
	.nestor-article-shell .nestor-article-header h1{font-size:29px!important}
	.nestor-article-shell .nestor-article-content{
		margin-inline:-2px!important;
		padding:25px 18px!important;
		border-radius:18px!important;
		font-size:16px!important;
		line-height:2.2!important;
	}
	.nestor-article-shell .nestor-article-content p{line-height:2.2!important}
	.nestor-article-shell .nestor-article-cover{margin:25px -2px 18px!important;border-radius:18px!important}
	.nestor-article-shell .nestor-comments-wrap{margin-inline:-2px!important;padding:21px 17px!important;border-radius:18px!important}
}


/* Elementor/theme wrappers must not shrink custom article layouts on phones. */
@media (max-width:767px){
	body .site-main.nestor-blog-shell,
	body .site-main.nestor-article-shell{
		display:block!important;
		width:100%!important;
		max-width:none!important;
		min-width:0!important;
		margin-inline:0!important;
		padding-inline:0!important;
		flex:0 0 100%!important;
	}
	body .elementor-widget-container .nestor-blog-shell,
	body .elementor-widget-container .nestor-article-shell,
	body .elementor-location-single .nestor-article-shell{
		width:100%!important;
		max-width:none!important;
	}
	body .nestor-article-shell .nestor-article-container{
		width:calc(100% - 20px)!important;
		max-width:none!important;
		margin-inline:auto!important;
	}
	body .nestor-article-shell .nestor-article,
	body .nestor-article-shell .nestor-article-content,
	body .nestor-article-shell .nestor-comments-wrap{
		width:100%!important;
		max-width:none!important;
		box-sizing:border-box!important;
	}
}
