/*
Theme Name: Safe Network Hub Theme
Theme URI: https://github.com/jubayerdev/safe-network-hub-theme
Author: Md Zubayer AL Hasan
Author URI: https://www.linkedin.com/in/jubayerdev/
Description: High-performance, production-ready custom WordPress theme for Safe Network Hub cybersecurity education and security tools platform. Built with Tailwind CSS v4, TypeScript, LiteSpeed optimization, SSRF protection, and modular tool architecture.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: safe-network-hub
Tags: cybersecurity, security-tools, dark-theme, responsive-layout, full-site-editing, custom-colors, translation-ready
*/

/* ==========================================================================
   GLOBAL OVERFLOW PROTECTION — Prevent horizontal scrollbar from mega menus
   ========================================================================== */
html,
body {
	overflow-x: hidden;
	max-width: 100vw;
}

/* Mega menu viewport containment */
.snh-mega-menu {
	max-width: 100vw;
	box-sizing: border-box;
}

/* ==========================================================================
   SAFE NETWORK HUB — CUSTOM SEMANTIC CONTENT TAGS & TYPOGRAPHY DESIGN SYSTEM
   ========================================================================== */

/* Main Content Area Wrapper */
.snh-article-content,
.main-content-wrapper {
	color: #1e293b;
	font-size: 1.125rem;
	line-height: 1.85;
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Headings */
.snh-article-content h1,
.main-content-wrapper h1 {
	font-size: 2.25rem;
	font-weight: 800;
	color: #081a3a;
	line-height: 1.25;
	margin-top: 2.5rem;
	margin-bottom: 1.25rem;
	letter-spacing: -0.025em;
}

.snh-article-content h2,
.main-content-wrapper h2 {
	font-size: 1.75rem;
	font-weight: 800;
	color: #081a3a;
	line-height: 1.35;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #e2e8f0;
	letter-spacing: -0.02em;
}

.snh-article-content h3,
.main-content-wrapper h3 {
	font-size: 1.375rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.4;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	letter-spacing: -0.015em;
}

.snh-article-content h4,
.main-content-wrapper h4 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #1e293b;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.snh-article-content h5,
.main-content-wrapper h5 {
	font-size: 1rem;
	font-weight: 600;
	color: #334155;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

.snh-article-content h6,
.main-content-wrapper h6 {
	font-size: 0.875rem;
	font-weight: 600;
	color: #475569;
	text-transform: uppercase;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

/* Paragraphs & Text */
.snh-article-content p,
.main-content-wrapper p {
	margin-bottom: 1.5rem;
	color: #334155;
}

.snh-article-content strong,
.main-content-wrapper strong {
	color: #0f172a;
	font-weight: 700;
}

/* Links (Clean internal/external without noopener nofollow restrictions) */
.snh-article-content a,
.main-content-wrapper a {
	color: #1267f6;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.snh-article-content a:hover,
.main-content-wrapper a:hover {
	color: #0b56d9;
	text-decoration-color: #0b56d9;
}

/* Lists */
.snh-article-content ul,
.main-content-wrapper ul {
	list-style-type: disc;
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
	color: #334155;
}

.snh-article-content ol,
.main-content-wrapper ol {
	list-style-type: decimal;
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
	color: #334155;
}

.snh-article-content li,
.main-content-wrapper li {
	margin-bottom: 0.5rem;
	line-height: 1.75;
}

/* Blockquote */
.snh-article-content blockquote,
.main-content-wrapper blockquote,
blockquote {
	display: block;
	position: relative;
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	background: #f8fafc;
	border-left: 4px solid #1267f6;
	border-radius: 0 1rem 1rem 0;
	font-style: italic;
	color: #1e293b;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

blockquote::before {
	content: '“';
	position: absolute;
	top: -0.5rem;
	left: 0.75rem;
	font-size: 3.5rem;
	line-height: 1;
	color: #cbd5e1;
	font-family: Georgia, serif;
	pointer-events: none;
}

blockquote p:last-child {
	margin-bottom: 0;
}

/* Tables */
.snh-article-content table,
.main-content-wrapper table,
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 2rem 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

table th {
	background: #081a3a;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 1rem 1.25rem;
	text-align: left;
	border-bottom: 1px solid #0b1f46;
}

table td {
	padding: 0.875rem 1.25rem;
	color: #334155;
	font-size: 0.95rem;
	border-bottom: 1px solid #f1f5f9;
}

table tr:nth-child(even) td {
	background: #f8fafc;
}

table tr:last-child td {
	border-bottom: none;
}

/* Buttons */
.snh-article-content button,
.main-content-wrapper button,
button.snh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #ffffff;
	background: linear-gradient(135deg, #1267f6, #1d6fff);
	border: none;
	border-radius: 0.75rem;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(18, 103, 246, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	text-decoration: none;
}

.snh-article-content button:hover,
.main-content-wrapper button:hover,
button.snh-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(18, 103, 246, 0.35);
}

/* Images & Media */
.snh-article-content img,
.main-content-wrapper img {
	max-width: 100%;
	height: auto;
	border-radius: 1rem;
	margin: 2rem auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	border: 1px solid #e2e8f0;
	display: block;
}

/* ==========================================================================
   SEMANTIC CUSTOM TAGS (NO CALLOUT / NO WRAPPER BOX REQUIRED)
   ========================================================================== */

/* Base Custom Block Rules */
tip,
warning,
important,
note,
info,
success,
best-practice,
pros,
cons,
example,
key-takeaway,
quick-fact,
did-you-know,
myth,
fact,
definition,
checklist,
faq,
code-block,
video-placeholder {
	display: block;
	margin: 2rem 0;
	padding: 1.5rem 1.75rem;
	border-radius: 1rem;
	font-size: 1.05rem;
	line-height: 1.75;
	position: relative;
	box-sizing: border-box;
}

/* 1. <tip> */
tip {
	background: #ecfdf5;
	border-left: 5px solid #10b981;
	border: 1px solid #a7f3d0;
	border-left-width: 5px;
	border-left-color: #10b981;
	color: #064e3b;
}
tip::before {
	content: '💡 PRO TIP';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #059669;
	margin-bottom: 0.5rem;
}

/* 2. <warning> */
warning {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-left-width: 5px;
	border-left-color: #f59e0b;
	color: #78350f;
}
warning::before {
	content: '⚠️ WARNING & RISK';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #d97706;
	margin-bottom: 0.5rem;
}

/* 3. <important> */
important {
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	border-left-width: 5px;
	border-left-color: #6366f1;
	color: #312e81;
}
important::before {
	content: '⚡ IMPORTANT NOTICE';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #4f46e5;
	margin-bottom: 0.5rem;
}

/* 4. <note> */
note {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-left-width: 5px;
	border-left-color: #0284c7;
	color: #0c4a6e;
}
note::before {
	content: '📝 NOTE';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #0284c7;
	margin-bottom: 0.5rem;
}

/* 5. <info> */
info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left-width: 5px;
	border-left-color: #1267f6;
	color: #1e3a8a;
}
info::before {
	content: 'ℹ️ INFORMATION';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #1267f6;
	margin-bottom: 0.5rem;
}

/* 6. <success> */
success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left-width: 5px;
	border-left-color: #22c55e;
	color: #14532d;
}
success::before {
	content: '✅ SUCCESSFUL OUTCOME';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #16a34a;
	margin-bottom: 0.5rem;
}

/* 7. <best-practice> */
best-practice {
	background: #ecfeff;
	border: 1px solid #a5f3fc;
	border-left-width: 5px;
	border-left-color: #06b6d4;
	color: #164e63;
}
best-practice::before {
	content: '⭐ INDUSTRY BEST PRACTICE';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #0891b2;
	margin-bottom: 0.5rem;
}

/* 8. <pros> */
pros {
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-left-width: 5px;
	border-left-color: #16a34a;
	color: #14532d;
}
pros::before {
	content: '👍 ADVANTAGES & PROS';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #15803d;
	margin-bottom: 0.5rem;
}

/* 9. <cons> */
cons {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	border-left-width: 5px;
	border-left-color: #e11d48;
	color: #881337;
}
cons::before {
	content: '👎 DRAWBACKS & CONS';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #be123c;
	margin-bottom: 0.5rem;
}

/* 10. <example> */
example {
	background: #0f172a;
	border: 1px solid #334155;
	border-left-width: 5px;
	border-left-color: #38bdf8;
	color: #f8fafc;
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.95rem;
}
example::before {
	content: '💻 PRACTICAL EXAMPLE';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #38bdf8;
	margin-bottom: 0.5rem;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

/* 11. <key-takeaway> */
key-takeaway {
	background: linear-gradient(135deg, #f8fafc, #f1f5f9);
	border: 2px dashed #94a3b8;
	border-left: 5px solid #081a3a;
	color: #081a3a;
}
key-takeaway::before {
	content: '🔑 KEY TAKEAWAY';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #081a3a;
	margin-bottom: 0.5rem;
}

/* 12. <quick-fact> */
quick-fact {
	background: #faf5ff;
	border: 1px solid #e9d5ff;
	border-left-width: 5px;
	border-left-color: #a855f7;
	color: #581c87;
}
quick-fact::before {
	content: '⚡ QUICK FACT';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #9333ea;
	margin-bottom: 0.5rem;
}

/* 13. <did-you-know> */
did-you-know {
	background: #f5f3ff;
	border: 1px solid #ddd6fe;
	border-left-width: 5px;
	border-left-color: #8b5cf6;
	color: #4c1d95;
}
did-you-know::before {
	content: '🧠 DID YOU KNOW?';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #7c3aed;
	margin-bottom: 0.5rem;
}

/* 14. <myth> */
myth {
	background: #fff1f2;
	border: 1px solid #fda4af;
	border-left-width: 5px;
	border-left-color: #f43f5e;
	color: #881337;
}
myth::before {
	content: '❌ COMMON MYTH';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #e11d48;
	margin-bottom: 0.5rem;
}

/* 15. <fact> */
fact {
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-left-width: 5px;
	border-left-color: #10b981;
	color: #064e3b;
}
fact::before {
	content: '✔️ VERIFIED FACT';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #059669;
	margin-bottom: 0.5rem;
}

/* 16. <definition> */
definition {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-left-width: 5px;
	border-left-color: #475569;
	color: #0f172a;
}
definition::before {
	content: '📖 DEFINITION & TERMINOLOGY';
	display: block;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #475569;
	margin-bottom: 0.5rem;
}

/* 17. <checklist> & Interactive Checklist Items */
checklist {
	display: block;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 1.5rem 2rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
	margin: 2rem 0;
}
checklist::before {
	content: '📋 SECURITY CHECKLIST';
	display: block;
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	color: #1267f6;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 0.5rem;
}
checklist ul {
	list-style: none !important;
	padding-left: 0 !important;
	margin-bottom: 0 !important;
}
checklist li {
	position: relative;
	padding-left: 2.25rem;
	margin-bottom: 0.875rem;
	color: #1e293b;
	font-size: 0.95rem;
	line-height: 1.6;
	cursor: pointer;
	user-select: none;
	transition: all 0.2s ease;
}
checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.2rem;
	width: 1.25rem;
	height: 1.25rem;
	background: #f8fafc;
	border: 2px solid #cbd5e1;
	border-radius: 0.375rem;
	transition: all 0.2s ease;
}
checklist li:hover::before {
	border-color: #1267f6;
	background: #eff6ff;
}
checklist li.checked {
	color: #64748b;
	text-decoration: line-through;
}
checklist li.checked::before {
	background: #1267f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
	background-size: 0.85rem;
	border-color: #1267f6;
}

/* 18. <faq> & <faq-item> Clean Black on White Minimalist Accordion */
faq,
.snh-clean-faq-container {
	display: block !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 2rem 0 !important;
}

faq::before,
.snh-clean-faq-container::before {
	content: none !important;
	display: none !important;
}

.snh-faq-card {
	background: #ffffff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	margin-bottom: 0.75rem !important;
	overflow: hidden !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.snh-faq-card:hover {
	border-color: #cbd5e1 !important;
}

.snh-faq-question {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	text-align: left !important;
	background: #ffffff !important;
	color: #000000 !important;
	font-family: inherit !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	line-height: 1.45 !important;
	padding: 1rem 1.25rem !important;
	border: none !important;
	cursor: pointer !important;
	outline: none !important;
	transition: background-color 0.15s ease !important;
}

.snh-faq-question:hover {
	background-color: #f8fafc !important;
	color: #000000 !important;
}

.snh-faq-question span {
	color: #000000 !important;
	font-weight: 700 !important;
}

.snh-faq-arrow {
	color: #000000 !important;
	width: 1rem !important;
	height: 1rem !important;
	flex-shrink: 0 !important;
	transition: transform 0.2s ease !important;
}

.snh-faq-answer {
	background: #ffffff !important;
	color: #111827 !important;
	font-size: 0.9375rem !important;
	line-height: 1.75 !important;
	padding: 0.5rem 1.25rem 1.25rem 1.25rem !important;
	border-top: 1px solid #f1f5f9 !important;
}

.snh-faq-answer p {
	color: #111827 !important;
	margin-bottom: 0.75rem !important;
}

.snh-faq-answer p:last-child {
	margin-bottom: 0 !important;
}

/* Fallback for native faq tags when JS is disabled */
faq h3 {
	color: #000000 !important;
	font-weight: 700 !important;
	font-size: 1.0625rem !important;
	margin-top: 1.25rem !important;
	margin-bottom: 0.5rem !important;
}

faq p {
	color: #111827 !important;
	line-height: 1.7 !important;
	margin-bottom: 1.25rem !important;
}

faq-item {
	display: block !important;
	background: #ffffff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	padding: 1rem 1.25rem !important;
	margin-bottom: 0.75rem !important;
}

faq-q {
	display: block !important;
	font-weight: 700 !important;
	color: #000000 !important;
	font-size: 1rem !important;
	margin-bottom: 0.5rem !important;
}

faq-q::before {
	content: none !important;
	display: none !important;
}

faq-a {
	display: block !important;
	color: #111827 !important;
	font-size: 0.9375rem !important;
	line-height: 1.7 !important;
}

/* 19. <code-block> */
code-block {
	display: block;
	background: #0b132b;
	color: #38bdf8;
	border: 1px solid #1e293b;
	border-radius: 0.875rem;
	padding: 1.25rem 1.5rem;
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.9rem;
	overflow-x: auto;
	white-space: pre-wrap;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
	margin: 2rem 0;
}
code-block::before {
	content: '⌨️ CODE SNIPPET';
	display: block;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: #94a3b8;
	margin-bottom: 0.75rem;
	border-bottom: 1px solid #1e293b;
	padding-bottom: 0.35rem;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

/* 20. <video-placeholder> */
video-placeholder {
	display: block;
	background: linear-gradient(135deg, #081a3a, #0b1739);
	color: #ffffff;
	border-radius: 1rem;
	padding: 3rem 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(8, 26, 58, 0.25);
	margin: 2rem 0;
}
video-placeholder::before {
	content: '▶';
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1rem auto;
	background: #1267f6;
	color: #ffffff;
	border-radius: 50%;
	font-size: 1.5rem;
	box-shadow: 0 0 25px rgba(18, 103, 246, 0.6);
}

/* 21. <before-after> Slider Component */
before-after,
.snh-before-after {
	display: block;
	position: relative;
	width: 100%;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid #e2e8f0;
	margin: 2.5rem 0;
	background: #081a3a;
	user-select: none;
}
.snh-before-after-container {
	position: relative;
	width: 100%;
	min-height: 240px;
	overflow: hidden;
}
.snh-before-after-before {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 240px;
	background: linear-gradient(135deg, #0f172a, #1e293b);
	color: #f8fafc;
	padding: 2.5rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.snh-before-after-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(135deg, #081a3a, #1267f6);
	color: #ffffff;
	overflow: hidden;
	border-right: 3px solid #ffffff;
	box-shadow: 3px 0 15px rgba(0, 0, 0, 0.4);
	transition: width 0.05s ease-out;
}
.snh-before-after-overlay-inner {
	width: 100%;
	min-width: 600px;
	height: 100%;
	min-height: 240px;
	padding: 2.5rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.snh-before-after-slider-input {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	z-index: 10;
	accent-color: #1267f6;
	cursor: ew-resize;
	opacity: 0.9;
}
.snh-before-badge,
.snh-after-badge {
	position: absolute;
	top: 1rem;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	z-index: 5;
}
.snh-before-badge {
	right: 1rem;
	background: rgba(225, 29, 72, 0.9);
	color: #ffffff;
}
.snh-after-badge {
	left: 1rem;
	background: rgba(16, 185, 129, 0.9);
	color: #ffffff;
}

/* 22. <gallery> Component */
gallery,
.snh-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	margin: 2rem 0;
}
gallery figure,
.snh-gallery figure {
	margin: 0;
	border-radius: 0.875rem;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
gallery figure:hover,
.snh-gallery figure:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(18, 103, 246, 0.12);
	border-color: #1267f6;
}
gallery img,
.snh-gallery img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
	border: none !important;
	box-shadow: none !important;
}
gallery figcaption,
.snh-gallery figcaption {
	padding: 0.75rem 1rem;
	font-size: 0.775rem;
	font-weight: 600;
	color: #475569;
	text-align: center;
	background: #ffffff;
	border-top: 1px solid #f1f5f9;
}

/* 23. <button> Styling Within Content */
.snh-article-content button,
button.snh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1.25rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	background-color: #1267f6;
	color: #ffffff;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(18, 103, 246, 0.25);
}
.snh-article-content button:hover,
button.snh-btn:hover {
	background-color: #0b56d9;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(18, 103, 246, 0.35);
}
.snh-article-content button:active,
button.snh-btn:active {
	transform: translateY(0);
}
.snh-share-insight-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	background-color: #1267f6;
	color: #ffffff;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}
.snh-share-insight-btn:hover {
	background-color: #0b56d9;
}

/* 24. 4:3 Featured Image Exact Aspect Ratio & Anti-Cutoff */
.snh-featured-image-wrapper {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 4 / 3 !important;
	border-radius: 1rem;
	overflow: hidden;
	position: relative;
	background-color: #f1f5f9;
}
.snh-featured-image-wrapper .aspect-\[4\/3\],
.snh-featured-image-container {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 4 / 3 !important;
	position: relative;
}
.snh-featured-image-wrapper img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
	margin: 0 !important;
	max-height: none !important;
	border: none !important;
	box-shadow: none !important;
}

/* 25. Post Lead Excerpt */
.snh-post-lead-excerpt {
	font-size: 1.125rem;
	line-height: 1.7;
	color: #475569;
	font-weight: 400;
	text-align: center;
	margin: 0.5rem auto 1.5rem auto;
}
@media (min-width: 640px) {
	.snh-post-lead-excerpt {
		font-size: 1.25rem;
	}
}

/* Header & Utility styles */
.scrollbar-none {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
	display: none;
}

/* Mega Menu & Dropdown Robust Rules */
#snh-main-header {
	position: relative !important;
}

#snh-main-header nav,
#snh-main-header .snh-nav-item {
	position: static !important;
}

.snh-group-nav {
	position: relative;
}
.snh-mega-menu,
.snh-dropdown-menu,
.snh-nav-item > .snh-mega-menu,
.snh-nav-item > .snh-dropdown-menu,
.snh-group-nav > .snh-mega-menu,
.snh-group-nav > .snh-dropdown-menu {
	display: none !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px) translateX(-50%);
	transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}
.snh-nav-item:hover > .snh-mega-menu,
.snh-nav-item:hover > .snh-dropdown-menu,
.snh-group-nav:hover > .snh-mega-menu,
.snh-group-nav:hover > .snh-dropdown-menu,
.group:hover > .snh-mega-menu,
.group:hover > .snh-dropdown-menu,
.snh-nav-item:focus-within > .snh-mega-menu,
.snh-nav-item:focus-within > .snh-dropdown-menu {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translateY(0) translateX(-50%) !important;
}

/* Explicit Mega Menu Width and Grid Layout */
.snh-mega-menu {
	position: absolute !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	top: 100% !important;
	width: 1040px !important;
	min-width: 1040px !important;
	max-width: calc(100vw - 32px) !important;
	box-sizing: border-box !important;
	z-index: 9999 !important;
}

.snh-mega-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1.25rem !important;
	width: 100% !important;
}

/* Mega Menu Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
	width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
	background: #F1F6FF;
	border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
	background: #1267F6;
	border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: #0B56D9;
}

/* Universal FAQ Accordion Details Marker Reset & Smooth Styling */
details summary::-webkit-details-marker,
details summary::marker {
	display: none !important;
	content: "" !important;
}
details summary {
	list-style: none !important;
	outline: none !important;
}

/* Contact Tab & Dynamic Form Smooth Fade Transitions */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fadeIn {
	animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}
.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* ==========================================================================
   SAFE NETWORK HUB — UNIVERSAL FORM CONTROL & TOOL DESIGN SYSTEM CONTRACT
   ========================================================================== */

/* 1. Global High-Contrast Form Inputs (Light Theme & Default) */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
textarea,
select {
	background-color: #ffffff !important;
	color: #0b1739 !important;
	border: 1px solid #dde7f5 !important;
	border-radius: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder,
textarea::placeholder {
	color: #5b6b85 !important;
	opacity: 1 !important;
}

input:focus,
textarea:focus,
select:focus {
	border-color: #1267f6 !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(18, 103, 246, 0.15) !important;
}

input:disabled,
textarea:disabled,
select:disabled {
	background-color: #f1f5f9 !important;
	color: #94a3b8 !important;
	cursor: not-allowed !important;
}

select option {
	background-color: #ffffff !important;
	color: #0b1739 !important;
	padding: 0.5rem 0.75rem;
}

/* 2. Checkboxes, Radios, Sliders */
input[type="checkbox"],
input[type="radio"] {
	accent-color: #1267f6 !important;
	cursor: pointer;
}

input[type="range"] {
	accent-color: #1267f6 !important;
}

/* 3. Dark Card Form Controls (.snh-card-dark, .cyber-card, .dark) */
.cyber-card,
.snh-card-dark {
	background: #0b1f46 !important;
	border: 1px solid rgba(221, 231, 245, 0.14) !important;
	border-radius: 1rem;
	color: #f8fafc !important;
	box-shadow: 0 10px 25px -5px rgba(11, 31, 70, 0.2);
}

.cyber-card h1,
.cyber-card h2,
.cyber-card h3,
.cyber-card h4,
.cyber-card h5,
.cyber-card h6 {
	color: #ffffff !important;
}

.cyber-card p {
	color: #cbd5e1 !important;
}

.cyber-card input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.cyber-card textarea,
.cyber-card select,
.snh-card-dark input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.snh-card-dark textarea,
.snh-card-dark select,
.dark input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.dark textarea,
.dark select {
	background-color: #081a3a !important;
	color: #f8fafc !important;
	border: 1px solid rgba(221, 231, 245, 0.2) !important;
}

.cyber-card input::placeholder,
.cyber-card textarea::placeholder,
.snh-card-dark input::placeholder,
.snh-card-dark textarea::placeholder,
.dark input::placeholder,
.dark textarea::placeholder {
	color: #94a3b8 !important;
	opacity: 1 !important;
}

.cyber-card input:focus,
.cyber-card textarea:focus,
.cyber-card select:focus,
.snh-card-dark input:focus,
.snh-card-dark textarea:focus,
.snh-card-dark select:focus,
.dark input:focus,
.dark textarea:focus,
.dark select:focus {
	border-color: #1d6fff !important;
	box-shadow: 0 0 0 3px rgba(29, 111, 255, 0.25) !important;
}

.cyber-card select option,
.snh-card-dark select option,
.dark select option {
	background-color: #081a3a !important;
	color: #f8fafc !important;
}

/* 4. Cyber Terminal & Code Outputs */
.cyber-terminal {
	background: #07152e !important;
	color: #38bdf8 !important;
	border: 1px solid rgba(221, 231, 245, 0.12) !important;
	border-radius: 0.75rem;
	padding: 1.25rem 1.5rem;
	font-family: 'JetBrains Mono', 'Fira Code', monospace;
	font-size: 0.8125rem;
	line-height: 1.65;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-wrap: anywhere;
	overflow-x: auto;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 5. Cyber Badges */
.cyber-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.2;
}

/* 6. High-Contrast Status Badges */
.snh-badge-success, .snh-badge-valid {
	background-color: #ecfdf5 !important;
	color: #065f46 !important;
	border: 1px solid #a7f3d0 !important;
}

.snh-badge-warning, .snh-badge-medium {
	background-color: #fffbeb !important;
	color: #92400e !important;
	border: 1px solid #fde68a !important;
}

.snh-badge-danger, .snh-badge-critical {
	background-color: #fff1f2 !important;
	color: #9f1239 !important;
	border: 1px solid #fecdd3 !important;
}

.snh-badge-info, .snh-badge-low {
	background-color: #eff6ff !important;
	color: #1e40af !important;
	border: 1px solid #bfdbfe !important;
}

/* 7. Anti-Clipping & Height Safety */
.snh-card,
.snh-card-dark,
.cyber-card,
#snh-tool-results,
.snh-result-panel {
	height: auto !important;
	min-height: auto !important;
	overflow: visible !important;
}

.break-anywhere {
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
}

/* 8. Table Responsiveness */
.table-responsive,
.overflow-x-auto {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch !important;
}

/* 9. Full Website Mobile Responsiveness & Layout Containment */
html, body {
	max-width: 100vw;
	overflow-x: hidden;
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: border-box;
}

img, svg, video, canvas, iframe {
	max-width: 100% !important;
	height: auto;
}

/* 10. WordPress Article Content & Typography Layout */
.snh-article-content,
.main-content-wrapper,
.entry-content {
	color: #334155;
	font-size: 1rem;
	line-height: 1.8;
	word-break: break-word;
	overflow-wrap: anywhere;
}

@media (min-width: 640px) {
	.snh-article-content,
	.main-content-wrapper,
	.entry-content {
		font-size: 1.0625rem;
	}
}

.snh-article-content h1, .main-content-wrapper h1, .entry-content h1 {
	font-size: 1.75rem;
	font-weight: 800;
	color: #081a3a;
	margin-top: 2rem;
	margin-bottom: 0.875rem;
	line-height: 1.25;
}

@media (min-width: 640px) {
	.snh-article-content h1, .main-content-wrapper h1, .entry-content h1 {
		font-size: 2.25rem;
	}
}

.snh-article-content h2, .main-content-wrapper h2, .entry-content h2 {
	font-size: 1.375rem;
	font-weight: 800;
	color: #081a3a;
	margin-top: 1.75rem;
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

@media (min-width: 640px) {
	.snh-article-content h2, .main-content-wrapper h2, .entry-content h2 {
		font-size: 1.75rem;
	}
}

.snh-article-content h3, .main-content-wrapper h3, .entry-content h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: #081a3a;
	margin-top: 1.5rem;
	margin-bottom: 0.625rem;
	line-height: 1.35;
}

@media (min-width: 640px) {
	.snh-article-content h3, .main-content-wrapper h3, .entry-content h3 {
		font-size: 1.375rem;
	}
}

.snh-article-content p, .main-content-wrapper p, .entry-content p {
	margin-bottom: 1.25rem;
	color: #334155;
}

.snh-article-content a, .main-content-wrapper a, .entry-content a {
	color: #1267f6;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 600;
}

.snh-article-content a:hover, .main-content-wrapper a:hover, .entry-content a:hover {
	color: #0b56d9;
}

.snh-article-content ul, .main-content-wrapper ul, .entry-content ul {
	list-style-type: disc;
	padding-left: 1.25rem;
	margin-bottom: 1.25rem;
}

.snh-article-content ol, .main-content-wrapper ol, .entry-content ol {
	list-style-type: decimal;
	padding-left: 1.25rem;
	margin-bottom: 1.25rem;
}

.snh-article-content li, .main-content-wrapper li, .entry-content li {
	margin-bottom: 0.5rem;
	color: #334155;
}

.snh-article-content blockquote, .main-content-wrapper blockquote, .entry-content blockquote {
	border-left: 4px solid #1267f6;
	background-color: #f1f6ff;
	padding: 1rem 1.25rem;
	border-radius: 0 12px 12px 0;
	margin: 1.5rem 0;
	color: #0b1739;
	font-style: italic;
}

.snh-article-content table, .main-content-wrapper table, .entry-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.5rem 0;
	border: 1px solid #dde7f5;
	border-radius: 10px;
}

.snh-article-content table th, .main-content-wrapper table th, .entry-content table th {
	background-color: #081a3a;
	color: #ffffff;
	font-weight: 700;
	padding: 0.75rem 1rem;
	font-size: 0.8125rem;
	text-align: left;
	white-space: nowrap;
}

.snh-article-content table td, .main-content-wrapper table td, .entry-content table td {
	padding: 0.75rem 1rem;
	border-top: 1px solid #dde7f5;
	font-size: 0.8125rem;
	color: #334155;
}

.snh-article-content table tr:nth-child(even), .main-content-wrapper table tr:nth-child(even), .entry-content table tr:nth-child(even) {
	background-color: #f8fafc;
}

/* 11. Accessible Interactive Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid #1267f6 !important;
	outline-offset: 2px !important;
}

/* 12. Touch Targets Safety on Mobile */
@media (max-width: 640px) {
	.snh-btn-primary,
	.snh-btn-secondary,
	button[type="submit"],
	.snh-topic-tab {
		min-height: 44px;
	}
}

/* ==========================================================================
   13. LEFT FLOATING STICKY TABLE OF CONTENTS (DESKTOP)
   ========================================================================== */

#snh-sticky-left-toc-wrapper {
	position: fixed;
	top: 92px;
	z-index: 40;
	display: none;
}

@media (min-width: 1200px) and (max-width: 1399px) {
	#snh-sticky-left-toc-wrapper {
		display: block;
		right: calc(50% + 460px);
		width: 210px;
	}
}

@media (min-width: 1400px) {
	#snh-sticky-left-toc-wrapper {
		display: block;
		right: calc(50% + 472px);
		width: 245px;
	}
}

#snh-sticky-left-toc {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
	            visibility 0.3s;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 14px 12px;
	box-shadow: 0 10px 25px -5px rgba(11, 23, 57, 0.08), 0 4px 10px -2px rgba(11, 23, 57, 0.04);
}

#snh-sticky-left-toc.snh-toc-visible {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translateY(0) !important;
}

#snh-left-toc-list {
	max-height: min(480px, calc(100vh - 190px));
	overflow-y: auto !important;
	overflow-x: hidden !important;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding-right: 4px;
}

.snh-toc-scroll {
	scrollbar-width: thin;
	scrollbar-color: #94a3b8 #f1f5f9;
}

.snh-toc-scroll::-webkit-scrollbar {
	width: 5px;
}

.snh-toc-scroll::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 4px;
}

.snh-toc-scroll::-webkit-scrollbar-thumb {
	background-color: #94a3b8;
	border-radius: 4px;
}

.snh-toc-scroll::-webkit-scrollbar-thumb:hover {
	background-color: #1267f6;
}

.snh-left-toc-link {
	display: block;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #475569;
	font-weight: 500;
	padding: 6px 8px;
	border-radius: 6px;
	border-left: 2.5px solid transparent;
	transition: all 0.15s ease;
	text-decoration: none;
	white-space: normal;
	word-break: break-word;
}

.snh-left-toc-link:hover {
	color: #1267f6;
	background-color: #f1f6ff;
}

.snh-left-toc-link.is-active {
	color: #1267f6;
	font-weight: 700;
	background-color: #eff6ff;
	border-left-color: #1267f6;
}

/* ==========================================================================
   20. MODERN WORDPRESS COMMENT SECTION DESIGN
   ========================================================================== */
.comments-area {
	width: 100%;
}

.snh-comment-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 2px 6px rgba(11, 23, 57, 0.03);
	transition: all 0.2s ease;
}

.snh-comment-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(11, 23, 57, 0.06);
}

.snh-comment-text p {
	margin-bottom: 0.75rem;
	color: #334155;
	line-height: 1.7;
}

.snh-comment-text p:last-child {
	margin-bottom: 0;
}

/* Threaded comments / Nested replies */
.snh-comment-list .children {
	margin-left: 1.5rem;
	padding-left: 1rem;
	border-left: 2px solid #e2e8f0;
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
	.snh-comment-list .children {
		margin-left: 0.75rem;
		padding-left: 0.5rem;
	}
}

.comment-reply-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #081a3a;
	margin-bottom: 0.25rem;
}

#cancel-comment-reply-link {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #e11d48;
	margin-left: 0.5rem;
	text-decoration: underline;
}

#cancel-comment-reply-link:hover {
	color: #be123c;
}

.snh-comment-form input:not([type="checkbox"]):not([type="submit"]):not([type="button"]),
.snh-comment-form textarea {
	background-color: #f8fafc !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 0.75rem !important;
	color: #0b1739 !important;
	font-size: 0.9375rem !important;
	transition: all 0.2s ease !important;
}

.snh-comment-form input:not([type="checkbox"]):not([type="submit"]):not([type="button"]):focus,
.snh-comment-form textarea:focus {
	background-color: #ffffff !important;
	border-color: #1267f6 !important;
	box-shadow: 0 0 0 3px rgba(18, 103, 246, 0.15) !important;
}

.snh-comment-submit-btn {
	background-color: #1267f6 !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	border: none !important;
	border-radius: 0.75rem !important;
	padding: 0.75rem 1.75rem !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
}

.snh-comment-submit-btn:hover {
	background-color: #0b56d9 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(18, 103, 246, 0.25) !important;
}












