﻿/* NMUZG â€” one CSS file. Design mirrors Kutby HTML, content is Forms. */

@font-face {
	font-family: "Tajawal";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/tajawal-arabic-400.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "Tajawal";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/tajawal-latin-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Tajawal";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/tajawal-arabic-700.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "Tajawal";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/tajawal-latin-700.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--bg-main: #f8fafc;
	--bg-card: #fff;
	--bg-card-alt: #f8f9fb;
	--text-main: #111827;
	--text-secondary: #1f2937;
	--text-body: #374151;
	--text-muted: #6b7280;
	--border-main: #e5e7eb;
	--border-light: #e5e7eb;
	--border-card: #e5e7eb;
	--primary: #2563eb;
	--primary-hover: #1d4ed8;
	--accent: #e11d48;
	--font: "Tajawal", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg-main);
	color: var(--text-main);
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--primary);
	text-decoration: none;
}

a:hover {
	color: var(--primary-hover);
}

/* Visually hidden but available to assistive tech (WP-style) */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.site-wrap {
	min-height: 100vh;
	font-family: var(--font);
}

.container-slim {
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	padding-inline: clamp(12px, 4vw, 24px);
}

.flex {
	display: flex;
}

.flex-col {
	flex-direction: column;
}

.gap-5 {
	gap: 1.25rem;
}

.py-6 {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.min-h-screen {
	min-height: 100vh;
}

.antialiased {
	-webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg-card);
	border-bottom: 1px solid var(--border-light);
}

.site-header-accent {
	height: 2px;
	background: linear-gradient(90deg, #e11d48 0%, #f43f5e 40%, #fb7185 70%, transparent 100%);
	opacity: 0.8;
}

.site-header-inner {
	align-items: center;
	direction: rtl;
	display: grid;
	gap: 12px;
	grid-template-columns: auto 1fr auto;
	height: 56px;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 20px;
}

.site-header-logo-link {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	color: var(--text-main);
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	max-width: 168px;
	min-width: 0;
	line-height: 0;
}

.site-header-logo-link--text {
	font-weight: 600;
	font-family: inherit;
	width: auto;
	max-width: none;
}

.site-header-logo-link--custom .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
}

.site-header-logo-link .custom-logo {
	height: 46px;
	width: auto;
	max-width: 168px;
	object-fit: contain;
}

.site-header-logo-text {
	white-space: nowrap;
	font-size: 95%;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: normal;
	line-height: 1.2;
}

.header-search-container {
	position: relative;
	width: 100%;
	min-width: 0;
}

.header-search-form {
	align-items: center;
	background: var(--bg-card-alt);
	border: 1px solid var(--border-card);
	border-radius: 30px;
	display: flex;
	height: 44px;
	margin: 0;
	width: 100%;
	transition: border-color 0.12s ease, background-color 0.12s ease;
}

.header-search-form:focus-within {
	background: var(--bg-card);
	border-color: #3b82f6;
}

.header-search-submit {
	padding-right: 16px;
	padding-left: 10px;
	color: #94a3b8;
	background: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.header-search-input {
	flex: 1;
	height: 100%;
	border: none;
	background: transparent;
	font-size: 13px;
	font-weight: 500;
	font-family: inherit;
	color: var(--text-secondary);
	outline: none;
	padding-left: 16px;
	width: 100%;
}

.header-end {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

.header-nav-tabs .header-nav-list,
.header-nav-tabs .menu {
	display: flex;
	align-items: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-nav-tabs a {
	align-items: center;
	color: #334155;
	display: flex;
	font-size: 11.5px;
	font-weight: 600;
	gap: 5px;
	height: 36px;
	padding: 0 2px;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s;
}

.header-nav-tabs a:hover,
.header-nav-tabs .current-menu-item > a {
	color: var(--accent);
}

.nm-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	line-height: 0;
	opacity: 0.9;
}

.nm-nav-icon svg {
	display: block;
	width: 14px;
	height: 14px;
}

.nm-nav-label {
	display: inline;
}

.header-nav-tabs .nm-nav-icon,
.header-nav-tabs .nm-nav-icon svg {
	width: 13px;
	height: 13px;
}

.mobile-nav-list .nm-nav-icon,
.mobile-nav .menu .nm-nav-icon,
.mobile-nav-list .nm-nav-icon svg,
.mobile-nav .menu .nm-nav-icon svg {
	width: 16px;
	height: 16px;
}

.header-separator {
	background: #e8edf3;
	flex-shrink: 0;
	height: 22px;
	width: 1px;
}

.hamburger-btn {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	border: 1.5px solid #e8edf3;
	background: var(--bg-card-alt);
	color: var(--text-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

/* Mobile nav */
.mobile-nav {
	position: fixed;
	top: 0;
	right: -300px;
	width: 280px;
	height: 100dvh;
	z-index: 300;
	background: var(--bg-card);
	border-left: 1px solid #f0f2f5;
	display: flex;
	flex-direction: column;
	transition: right 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	direction: rtl;
}

.mobile-nav-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-light);
}

.mobile-nav-brand {
	font-weight: 700;
	font-size: 0.9025rem;
	color: var(--text-main);
	white-space: nowrap;
}

.mobile-nav-close {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 1.5px solid #e8edf3;
	background: var(--bg-card-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text-muted);
}

.mobile-nav-list,
.mobile-nav .menu {
	list-style: none;
	margin: 0;
	padding: 8px;
	flex: 1;
	overflow-y: auto;
}

.mobile-nav-list a,
.mobile-nav .menu a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 500;
	color: #334155;
	text-decoration: none;
}

.mobile-nav-list .current-menu-item > a,
.mobile-nav .menu .current-menu-item > a {
	color: var(--accent);
	background: #fff0f3;
	font-weight: 700;
}

.mobile-nav-foot {
	padding: 12px 20px;
	border-top: 1px solid var(--border-light);
	display: flex;
	gap: 16px;
}

.mobile-nav-foot a {
	color: #94a3b8;
	font-size: 0.78rem;
	text-decoration: none;
}

html.nmuzg-nav-open {
	overflow: hidden;
}

/* Hero */
.hero-search {
	background: #f4f8ff;
	border: 1px solid #e5edf8;
	border-radius: 24px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
	padding: 22px 32px 20px;
	text-align: center;
}

.hero-search-title {
	color: var(--text-main);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 8px;
}

.hero-search-highlight {
	color: var(--primary);
}

.hero-search-desc {
	color: var(--text-muted);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	margin: 0 auto 16px;
	max-width: 680px;
}

.hero-search-form {
	align-items: center;
	background: var(--bg-card);
	border: 1px solid var(--border-card);
	border-radius: 50px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
	display: flex;
	gap: 8px;
	height: 56px;
	margin: 0 auto 16px;
	max-width: 760px;
	padding: 0 6px 0 8px;
}

.hero-share-block {
	margin: 0 auto;
	max-width: 760px;
	text-align: right;
}

.nm-share-block {
	margin-top: 1.5rem;
	padding-top: 1.15rem;
	border-top: 1px solid #e8eaed;
	text-align: center;
}

.nm-share-label {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

.nm-share-block .hero-social-share {
	justify-content: center;
}

.hero-social-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
	margin-bottom: 0;
}

.hero-social-pill {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 12px;
	display: inline-flex;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	padding: 8px 14px;
	position: relative;
	text-decoration: none;
	transition: border-color 0.12s ease, background-color 0.12s ease;
}

.hero-social-pill:hover {
	opacity: 0.92;
}

.hero-social-pill--whatsapp {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: #059669;
}

.hero-social-pill--messenger {
	background: #f5f3ff;
	border-color: #ddd6fe;
	color: #7c3aed;
}

.hero-social-pill--telegram {
	background: #ecfeff;
	border-color: #a5f3fc;
	color: #0891b2;
}

.hero-social-pill--x {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: #0f172a;
}

.hero-social-pill--facebook {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #2563eb;
}

.hero-social-pill--pinterest {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #e11d48;
}

.hero-social-pill--reddit {
	background: #fff7ed;
	border-color: #fed7aa;
	color: #ea580c;
}

.hero-search-input {
	background: transparent;
	border: none;
	color: var(--text-secondary);
	flex: 1;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	outline: none;
	padding: 0 16px;
	text-align: right;
	min-width: 0;
}

.hero-search-input::placeholder {
	color: #94a3b8;
}

.hero-search-btn {
	align-items: center;
	background: var(--primary);
	border: none;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	height: 44px;
	justify-content: center;
	padding: 0 18px;
}

.hero-search-btn:hover {
	background: #1d4ed8;
}

/* Panels & grids */
.home-panel {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
	padding: 16px 16px 14px;
	width: 100%;
}

.home-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	direction: rtl;
}

.home-panel-title-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.home-panel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: #eff6ff;
}

.home-panel-icon--sm {
	width: 24px;
	height: 24px;
	border-radius: 6px;
}

.home-panel-title {
	font-size: 16px;
	font-weight: 700;
	color: #111827;
	margin: 0;
}

#categories-section .home-panel-title {
	font-size: 15.2px;
}

.home-panel-link {
	font-size: 13px;
	font-weight: 600;
	color: var(--primary);
	text-decoration: none;
}

.home-cards-grid {
	display: grid;
	gap: 12px;
}

.home-cards-grid.cols-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-cards-grid.cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-cards-grid.cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-cards-grid > * {
	min-width: 0;
}

.home-cards-grid .phv2-item,
.home-cards-grid > a {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.home-cards-grid .phv2-item > a,
.home-cards-grid > a {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.home-cards-grid .phv2-card {
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.phv2-card {
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.phv2-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
}

/* Category / grade-style cards */
.grade-card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.grade-image {
	margin: 10px 12px 8px;
	border-radius: 16px;
	overflow: hidden;
	background: #f8f9fb;
	line-height: 0;
}

.grade-thumb {
	--thumb-from: #5b8fdb;
	--thumb-to: #4a7cc8;
	position: relative;
	width: 100%;
	height: 140px;
	overflow: hidden;
	border-radius: 16px;
	background: linear-gradient(145deg, var(--thumb-from) 0%, var(--thumb-to) 100%);
	color: #fff;
}

.grade-thumb--primary {
	--thumb-from: #5b8fdb;
	--thumb-to: #4a7cc8;
}

.grade-thumb--middle {
	--thumb-from: #4faf8c;
	--thumb-to: #3d9475;
}

.grade-thumb--secondary {
	--thumb-from: #9b7fd4;
	--thumb-to: #7e63b8;
}

.grade-thumb__orb {
	position: absolute;
	border-radius: 50%;
	background: #fff;
	pointer-events: none;
}

.grade-thumb__orb--1 {
	width: 72px;
	height: 72px;
	top: -18px;
	right: 12px;
	opacity: 0.1;
}

.grade-thumb__orb--2 {
	width: 88px;
	height: 88px;
	bottom: -28px;
	left: 8px;
	opacity: 0.07;
}

.grade-thumb__orb--3 {
	width: 32px;
	height: 32px;
	top: 14px;
	left: 18px;
	opacity: 0.12;
}

.grade-thumb__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	height: 100%;
	padding: 14px 16px 12px;
	direction: rtl;
}

.grade-thumb__icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.92);
}

.grade-thumb__icon svg {
	width: 46px;
	height: 46px;
}

.grade-thumb__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.grade-thumb__number {
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
	font-size: 52px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	margin-bottom: 2px;
}

.grade-thumb__title {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.grade-thumb__stage {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	opacity: 0.94;
	margin-top: 2px;
}

.grade-thumb__line {
	display: block;
	width: 52px;
	height: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	margin-top: 8px;
}

.grade-card-body {
	padding: 10px 14px 14px;
}

.grade-card-stage {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #0369a1;
	text-align: center;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.grade-card-name {
	font-size: 11px;
	font-weight: 700;
	color: #1e293b;
	text-align: center;
	line-height: 1.35;
	margin: 0 0 10px;
}

.grade-card-meta {
	display: flex;
	align-items: center;
	gap: 5px;
	direction: rtl;
	margin-bottom: 5px;
}

.grade-card-meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: #dcfce7;
	flex-shrink: 0;
}

.grade-card-meta-text {
	font-size: 11px;
	font-weight: 500;
	color: #047857;
}

.grade-card-divider {
	height: 1px;
	background: #f1f5f9;
	margin-bottom: 10px;
}

.phv2-details {
	align-items: center;
	background: #f0f4ff;
	border-radius: 8px;
	color: #2563eb;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 5px;
	justify-content: center;
	padding: 8px 0;
	text-decoration: none;
	transition: background 0.15s;
	width: 100%;
}

.phv2-details:hover {
	background: #dbeafe;
}

/* Form / sol cards */
.sol-card {
	background: #f8fafc !important;
	text-decoration: none;
	color: inherit;
	display: block;
}

.sol-card-inner {
	padding: 11px 12px;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 100%;
}

.sol-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	direction: rtl;
}

.sol-card-text {
	flex: 1;
	min-width: 0;
}

.sol-card-title {
	font-size: 12px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.45;
	margin: 0 0 4px;
}

.sol-card-subject-inline {
	font-weight: 700;
	color: #d97706;
}

.sol-card-sub {
	font-size: 10px;
	font-weight: 500;
	color: #94a3b8;
	line-height: 1.45;
	margin: 0;
}

.sol-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	flex-shrink: 0;
	background: #fffbeb;
	color: #d97706;
}

.home-latest-forms-grid {
	gap: 8px;
}

.home-latest-forms .sol-card-icon svg,
.home-latest-templates .sol-card-icon svg {
	width: 15px;
	height: 15px;
}

/* Home: Forms Categories (icon cards) */
.nm-cat-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.nm-cat-card {
	--nm-cat-accent: #2563eb;
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	text-align: right;
	gap: 10px;
	padding: 12px 12px 11px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: box-shadow 0.12s ease, transform 0.12s ease, border-color 0.12s ease;
	min-width: 0;
}

.nm-cat-card--blue {
	--nm-cat-accent: #2563eb;
}

.nm-cat-card--green {
	--nm-cat-accent: #059669;
}

.nm-cat-card--violet {
	--nm-cat-accent: #7c3aed;
}

.nm-cat-card--amber {
	--nm-cat-accent: #d97706;
}

.nm-cat-card--cyan {
	--nm-cat-accent: #0891b2;
}

.nm-cat-card--rose {
	--nm-cat-accent: #e11d48;
}

.nm-cat-card:hover {
	border-color: #bfdbfe;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
	color: inherit;
}

.nm-cat-icon {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #eff6ff;
	color: #2563eb;
	flex-shrink: 0;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 1px 2px rgba(15, 23, 42, 0.06);
}

.nm-cat-icon svg {
	width: 18px;
	height: 18px;
}

.nm-cat-icon--green {
	background: #ecfdf5;
	color: #059669;
}

.nm-cat-icon--violet {
	background: #f5f3ff;
	color: #7c3aed;
}

.nm-cat-icon--amber {
	background: #fffbeb;
	color: #d97706;
}

.nm-cat-icon--cyan {
	background: #ecfeff;
	color: #0891b2;
}

.nm-cat-icon--rose {
	background: #fff1f2;
	color: #e11d48;
}

.nm-cat-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
	flex: 1;
	text-align: right;
}

.nm-cat-title {
	margin: 0;
	font-size: 11.7px;
	font-weight: 800;
	color: #111827;
	line-height: 1.3;
	letter-spacing: -0.01em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
}

.nm-cat-count {
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 600;
	color: #6b7280;
	line-height: 1.2;
	background: rgba(15, 23, 42, 0.04);
}

.nm-cat-card--blue .nm-cat-count {
	background: rgba(37, 99, 235, 0.08);
	color: #1d4ed8;
}

.nm-cat-card--green .nm-cat-count {
	background: rgba(5, 150, 105, 0.1);
	color: #047857;
}

.nm-cat-card--violet .nm-cat-count {
	background: rgba(124, 58, 237, 0.1);
	color: #6d28d9;
}

.nm-cat-card--amber .nm-cat-count {
	background: rgba(217, 119, 6, 0.12);
	color: #b45309;
}

.nm-cat-card--cyan .nm-cat-count {
	background: rgba(8, 145, 178, 0.1);
	color: #0e7490;
}

.nm-cat-card--rose .nm-cat-count {
	background: rgba(225, 29, 72, 0.1);
	color: #be123c;
}

/* Home: premium form cards */
.nm-form-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nm-form-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	height: 100%;
	transition: box-shadow 0.12s ease, transform 0.12s ease, border-color 0.12s ease;
}

.nm-form-card:hover {
	border-color: #bfdbfe;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
	color: inherit;
}

.nm-form-thumb {
	--nm-thumb-from: #5b8fdb;
	--nm-thumb-to: #4a7cc8;
	position: relative;
	height: 110px;
	padding: 16px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	direction: rtl;
	color: #fff;
	overflow: hidden;
	background: linear-gradient(145deg, var(--nm-thumb-from) 0%, var(--nm-thumb-to) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nm-form-thumb::before,
.nm-form-thumb::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

/* Color palette — soft NMUZG family tones */
.nm-form-thumb--c-purple {
	--nm-thumb-from: #8b6fd4;
	--nm-thumb-to: #6d4fbf;
}

.nm-form-thumb--c-blue {
	--nm-thumb-from: #5b8fdb;
	--nm-thumb-to: #4a7cc8;
}

.nm-form-thumb--c-green {
	--nm-thumb-from: #4faf8c;
	--nm-thumb-to: #3d9475;
}

.nm-form-thumb--c-orange {
	--nm-thumb-from: #e08a3c;
	--nm-thumb-to: #c96d24;
}

.nm-form-thumb--c-teal {
	--nm-thumb-from: #3fafab;
	--nm-thumb-to: #2f8f8c;
}

.nm-form-thumb--c-indigo {
	--nm-thumb-from: #6b7ad6;
	--nm-thumb-to: #5563bf;
}

.nm-form-thumb--c-red {
	--nm-thumb-from: #d46b7a;
	--nm-thumb-to: #b85161;
}

.nm-form-thumb--c-slate {
	--nm-thumb-from: #6b7c90;
	--nm-thumb-to: #556577;
}

.nm-form-thumb__orb {
	position: absolute;
	border-radius: 50%;
	background: #fff;
	opacity: 0.1;
	pointer-events: none;
	z-index: 0;
}

.nm-form-thumb__orb--1 {
	width: 64px;
	height: 64px;
	top: -16px;
	left: 12px;
}

.nm-form-thumb__orb--2 {
	width: 80px;
	height: 80px;
	bottom: -28px;
	right: 8px;
	opacity: 0.07;
}

/* Template A — refined dual circles + soft top wash */
.nm-form-thumb--t-a::before {
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, transparent 48%);
}

.nm-form-thumb--t-a .nm-form-thumb__orb--1 {
	width: 72px;
	height: 72px;
	top: -20px;
	left: 8px;
	opacity: 0.15;
	box-shadow: 0 0 28px rgba(255, 255, 255, 0.14);
}

.nm-form-thumb--t-a .nm-form-thumb__orb--2 {
	width: 96px;
	height: 96px;
	bottom: -36px;
	right: 0;
	opacity: 0.1;
}

/* Template B — large soft circle, small float, thin diagonal */
.nm-form-thumb--t-b::before {
	inset: 0;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0%, transparent 52%);
}

.nm-form-thumb--t-b::after {
	width: 170%;
	height: 2px;
	top: 46%;
	left: -35%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
	transform: rotate(-16deg);
}

.nm-form-thumb--t-b .nm-form-thumb__orb--1 {
	width: 130px;
	height: 130px;
	top: -52px;
	left: -36px;
	opacity: 0.14;
}

.nm-form-thumb--t-b .nm-form-thumb__orb--2 {
	width: 30px;
	height: 30px;
	top: 14px;
	right: 50px;
	bottom: auto;
	opacity: 0.22;
	box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

/* Template C — rounded abstract layers */
.nm-form-thumb--t-c::before {
	width: 78px;
	height: 78px;
	top: -22px;
	right: 28px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.14);
	transform: rotate(18deg);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nm-form-thumb--t-c::after {
	width: 58px;
	height: 58px;
	bottom: -18px;
	left: 42px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.1);
	transform: rotate(-12deg);
}

.nm-form-thumb--t-c .nm-form-thumb__orb--1 {
	width: 74px;
	height: 42px;
	top: 12px;
	left: -10px;
	border-radius: 16px;
	opacity: 0.14;
}

.nm-form-thumb--t-c .nm-form-thumb__orb--2 {
	width: 100px;
	height: 52px;
	bottom: -20px;
	right: -16px;
	border-radius: 18px;
	opacity: 0.1;
}

/* Template D — soft gradient, bottom highlight, fine geometric lines */
.nm-form-thumb--t-d {
	background:
		linear-gradient(180deg, transparent 48%, rgba(255, 255, 255, 0.16) 100%),
		linear-gradient(155deg, var(--nm-thumb-from) 0%, var(--nm-thumb-to) 100%);
}

.nm-form-thumb--t-d::before {
	inset: 0;
	background: repeating-linear-gradient(
		-32deg,
		transparent 0,
		transparent 8px,
		rgba(255, 255, 255, 0.055) 8px,
		rgba(255, 255, 255, 0.055) 9px
	);
}

.nm-form-thumb--t-d::after {
	left: 0;
	right: 0;
	bottom: 0;
	height: 46%;
	background: linear-gradient(0deg, rgba(255, 255, 255, 0.14), transparent);
}

.nm-form-thumb--t-d .nm-form-thumb__orb--1 {
	width: 36px;
	height: 36px;
	top: 10px;
	left: 24px;
	opacity: 0.12;
	border-radius: 8px;
}

.nm-form-thumb--t-d .nm-form-thumb__orb--2 {
	width: 14px;
	height: 14px;
	top: 20px;
	right: 60px;
	bottom: auto;
	opacity: 0.18;
	border-radius: 4px;
}

/* Template E — corner abstract, light overlay, one floating circle */
.nm-form-thumb--t-e::before {
	width: 118px;
	height: 118px;
	top: -48px;
	right: -40px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.16);
	transform: rotate(22deg);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nm-form-thumb--t-e::after {
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 50%);
}

.nm-form-thumb--t-e .nm-form-thumb__orb--1 {
	width: 48px;
	height: 48px;
	top: 16px;
	left: 34%;
	opacity: 0.18;
	box-shadow: 0 0 22px rgba(255, 255, 255, 0.2);
}

.nm-form-thumb--t-e .nm-form-thumb__orb--2 {
	opacity: 0;
}

/* Template F — minimal corporate */
.nm-form-thumb--t-f {
	background: linear-gradient(180deg, var(--nm-thumb-from) 0%, var(--nm-thumb-to) 100%);
}

.nm-form-thumb--t-f::before {
	left: 12px;
	right: 12px;
	top: 10px;
	height: 1px;
	background: rgba(255, 255, 255, 0.28);
	border-radius: 1px;
}

.nm-form-thumb--t-f::after {
	width: 140px;
	height: 140px;
	bottom: -84px;
	left: -28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
}

.nm-form-thumb--t-f .nm-form-thumb__orb--1 {
	width: 28px;
	height: 28px;
	top: 18px;
	left: 18px;
	opacity: 0.1;
	border-radius: 8px;
}

.nm-form-thumb--t-f .nm-form-thumb__orb--2 {
	opacity: 0;
}

.nm-form-thumb__title {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: calc(100% - 46px);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: break-word;
	word-break: normal;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.nm-form-thumb__icon {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 1px 3px rgba(15, 23, 42, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nm-form-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 14px 14px;
	flex: 1;
}

.nm-form-badge {
	align-self: flex-start;
	display: inline-flex;
	padding: 4px 11px;
	border-radius: 8px;
	background: rgba(37, 99, 235, 0.09);
	color: #2563eb;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

.nm-form-excerpt {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	color: #374151;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nm-form-meta {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	direction: rtl;
}

.nm-form-meta__sep {
	opacity: 0.7;
	line-height: 1;
}

.nm-form-meta__item,
.nm-form-meta__format {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* About */
.home-about-seo {
	background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.home-about-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
	flex-wrap: wrap;
}

.home-about-header-title {
	display: flex;
	align-items: center;
	gap: 8px;
}

.home-about-stick {
	width: 4px;
	height: 22px;
	border-radius: 2px;
	background: linear-gradient(#2563eb, #7c3aed);
	flex-shrink: 0;
}

.home-about-header h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #111827;
}

.home-about-brand {
	color: var(--primary);
}

.home-about-badge {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	color: #059669;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	padding: 4px 10px;
	border-radius: 999px;
}

.home-about-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.home-about-body > p {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
	line-height: 1.85;
}

.home-about-body strong {
	color: #111827;
	font-weight: 600;
}

.home-about-body a {
	color: inherit;
	text-decoration: none;
	font-weight: inherit;
}

/* Legal notice */
.home-legal-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	background: #f8fbff;
	border: 1px solid #dbeafe;
	border-right: 4px solid #2563eb;
	border-radius: 14px;
	box-shadow: 0 1px 6px rgba(37, 99, 235, 0.05);
}

.home-legal-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #eff6ff;
	color: #2563eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.home-legal-content {
	flex: 1;
	min-width: 0;
}

.home-legal-title {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	line-height: 1.4;
}

.home-legal-text {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
	line-height: 1.85;
}

.home-legal-text strong {
	color: #111827;
	font-weight: 600;
}

.home-legal-text a {
	color: #2563eb;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.home-legal-text a:hover {
	color: #1d4ed8;
}

.home-about-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}

.home-about-tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 11px;
	font-weight: 600;
	color: #334155;
}

/* Breadcrumb */
.edu-breadcrumb {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 8px 12px;
	background: #f8fafc;
	border: 1px solid #e8eaed;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	color: #64748b;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	direction: rtl;
	text-align: right;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	line-height: 1.4;
}

.edu-breadcrumb::-webkit-scrollbar {
	display: none;
}

.edu-breadcrumb-link,
.edu-breadcrumb-current,
.edu-breadcrumb-sep {
	flex-shrink: 0;
	white-space: nowrap;
}

.edu-breadcrumb-link {
	color: #2563eb;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.15s ease;
}

.edu-breadcrumb-link:hover {
	color: #1d4ed8;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.edu-breadcrumb-sep {
	color: #cbd5e1;
	font-size: 11px;
	line-height: 1;
	opacity: 0.95;
}

.edu-breadcrumb-current.is-current {
	color: #475569;
	font-weight: 600;
	flex-shrink: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Tighten space under breadcrumb on single/archive pages */
.edu-file-page > .edu-breadcrumb {
	margin-bottom: -0.55rem;
}

.edu-page-title {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px;
	line-height: 1.4;
}

.edu-page-kicker {
	font-size: 11px;
	font-weight: 600;
	color: #2563eb;
	margin: 0 0 6px;
	line-height: 1.3;
}

.edu-page-desc {
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
	margin: 0;
	line-height: 1.7;
}

.edu-subject-hero-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	direction: rtl;
}

.edu-subject-hero-text {
	flex: 1;
	min-width: 0;
}

.edu-subject-hero-desc {
	margin-bottom: 0;
}

.edu-subject-hero-cover {
	flex-shrink: 0;
	width: 88px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e8eaed;
	background: #f8fafc;
	line-height: 0;
}

.edu-subject-hero-cover-img {
	width: 100%;
	height: auto;
	display: block;
}

/* Static pages / contact form */
.edu-static-panel-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.edu-static-stick {
	width: 4px;
	height: 20px;
	border-radius: 2px;
	background: linear-gradient(#2563eb, #7c3aed);
	flex-shrink: 0;
}

.edu-static-panel-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

.edu-static-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.edu-static-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.edu-static-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 6px;
}

.edu-static-field input,
.edu-static-field textarea {
	width: 100%;
	padding: 11px 14px;
	border-radius: 10px;
	border: 1.5px solid #e2e8f0;
	font-size: 13px;
	font-weight: 500;
	color: #0f172a;
	background: #fff;
	font-family: inherit;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}

.edu-static-field input:focus,
.edu-static-field textarea:focus {
	border-color: #93c5fd;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.edu-static-field textarea {
	resize: vertical;
	min-height: 120px;
}

.edu-static-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #2563eb, #4f46e5);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	align-self: flex-start;
}

.edu-static-submit:hover {
	opacity: 0.92;
}

@media (max-width: 640px) {
	.edu-static-form-row {
		grid-template-columns: 1fr;
	}
}

/* Content pages */
.content-panel {
	padding: 20px 22px;
}

.content-header {
	margin-bottom: 16px;
}

.content-badge {
	display: inline-flex;
	padding: 3px 10px;
	border-radius: 999px;
	background: #eff6ff;
	color: var(--primary);
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 10px;
}

.content-title {
	margin: 0 0 8px;
	font-size: clamp(18px, 3vw, 24px);
	font-weight: 700;
	color: #111827;
	line-height: 1.4;
}

.content-meta {
	margin: 0;
	font-size: 13px;
	color: #6b7280;
}

.content-thumb {
	margin: 0 0 18px;
	border-radius: 12px;
	overflow: hidden;
}

.content-body {
	font-size: 14px;
	font-weight: 500;
	line-height: 2;
	color: #374151;
}

.content-body h2 {
	font-size: 16px;
	font-weight: 700;
	color: #111827;
}

.content-body h3 {
	font-size: 15px;
	font-weight: 700;
	color: #1f2937;
}

.empty-text,
.archive-desc {
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	margin: 0;
	padding: 12px 0;
	line-height: 1.7;
}

.navigation.pagination {
	margin-top: 16px;
	display: flex;
	justify-content: center;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.navigation.pagination a,
.navigation.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	border: 1px solid var(--border-card);
	background: #fff;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
}

.navigation.pagination .current {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

.nm-archive-forms-panel {
	padding: 20px;
}

.nm-archive-forms-panel .home-panel-head {
	margin-bottom: 18px;
}

.nm-archive-desc-box {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: -4px 0 18px;
	padding: 13px 14px;
	border: 1px solid #dbeafe;
	border-radius: 10px;
	background: #f8fbff;
	color: #374151;
}

.nm-archive-desc-box__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #eff6ff;
	color: #2563eb;
	flex-shrink: 0;
}

.nm-archive-desc-box__text {
	min-width: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.8;
	color: #374151;
}

.nm-archive-desc-box__text > * {
	margin: 0;
}

.nm-archive-desc-box__text > * + * {
	margin-top: 6px;
}

.nm-archive-forms-grid {
	gap: 16px;
}

.nm-archive-forms-grid .nm-form-thumb {
	height: 137px;
	padding: 20px 20px 18px;
}

.nm-archive-forms-grid .nm-form-thumb__title {
	font-size: 15px;
}

.nm-archive-forms-grid .nm-form-body {
	padding: 16px 18px 14px;
}

@media (max-width: 1024px) {
	.nm-archive-forms-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.nm-archive-forms-panel {
		padding: 14px;
	}

	.nm-archive-forms-grid {
		grid-template-columns: 1fr;
	}

	.nm-archive-forms-grid .nm-form-thumb {
		height: 122px;
	}
}

/* Footer */
.site-footer {
	--footer-bg-start: #0f172a;
	--footer-bg-end: #1e1b4b;
	--footer-text: #cbd5e1;
	--footer-text-muted: #94a3b8;
	--footer-text-hover: #f8fafc;
	background: linear-gradient(135deg, var(--footer-bg-start) 0%, var(--footer-bg-end) 100%);
	color: var(--footer-text);
	margin-top: 1rem;
	min-height: 64px;
	padding: 16px 12px 18px;
	display: block;
	text-align: center;
}

.site-footer-inner {
	width: 100%;
	max-width: 1150px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.site-footer-start,
.site-footer-group {
	display: contents;
}

.site-social-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	width: auto;
	margin: 0 auto;
}

.site-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	color: var(--footer-text);
	background: rgba(255, 255, 255, 0.08);
	position: relative;
	transition: color 0.12s ease, background 0.12s ease;
}

.site-social-link:hover {
	color: var(--footer-text-hover);
	background: rgba(255, 255, 255, 0.16);
}

.site-footer-links,
.site-footer-menu {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	flex-wrap: wrap;
	width: auto;
	max-width: 100%;
	row-gap: 6px;
	column-gap: 8px;
}

.site-footer-menu li {
	display: inline-flex;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.site-footer-link,
.site-footer-menu a {
	color: var(--footer-text);
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	white-space: normal;
	line-height: 1.5;
	text-align: center;
}

.site-footer-link:hover,
.site-footer-menu a:hover {
	color: var(--footer-text-hover);
}

.site-footer-sep {
	display: none;
	color: var(--footer-text-muted);
	font-size: 12px;
}

.site-footer-copy {
	margin: 0 auto;
	font-size: 11px;
	font-weight: 500;
	color: var(--footer-text-muted);
	line-height: 1.5;
	white-space: normal;
	flex-shrink: 0;
	text-align: center;
	width: auto;
	max-width: 100%;
}

@media (min-width: 901px) {
	.site-footer {
		padding: 14px 16px;
		text-align: start;
	}

	.site-footer-inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 20px;
		text-align: start;
	}

	.site-footer-start,
	.site-footer-group {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 14px;
		flex-wrap: nowrap;
		min-width: 0;
		margin: 0;
	}

	.site-social-links {
		justify-content: flex-start;
		margin: 0;
	}

	.site-footer-links,
	.site-footer-menu {
		justify-content: flex-start;
		margin: 0;
		gap: 10px;
	}

	.site-footer-link,
	.site-footer-menu a {
		white-space: nowrap;
		text-align: start;
	}

	.site-footer-sep {
		display: inline;
	}

	.site-footer-copy {
		margin: 0;
		white-space: nowrap;
		text-align: left;
	}
}

/* Responsive */
@media (max-width: 1024px) {
	.header-nav-tabs,
	.header-separator {
		display: none !important;
	}

	.home-cards-grid.cols-5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-cards-grid.cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nm-cat-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.home-cards-grid.cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nm-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.header-search-input {
		font-size: 11px !important;
	}

	.header-search-form {
		height: 36px !important;
	}

	.header-search-form button svg {
		height: 18px;
		width: 18px;
	}

	.site-header-inner {
		gap: 8px;
		padding: 0 12px;
	}

	.site-header-logo-link {
		max-width: 132px;
	}

	.site-header-logo-link .custom-logo {
		height: 40px;
		max-width: 132px;
	}
}

@media (max-width: 640px) {
	.hero-search {
		border-radius: 20px;
		padding: 16px 16px 14px;
	}

	.hero-search-title {
		font-size: 22px;
	}

	.hero-search-desc {
		font-size: 13px;
		margin-bottom: 14px;
	}

	.hero-search-form {
		height: 50px;
		margin-bottom: 14px;
	}

	.hero-search-btn {
		font-size: 12px;
		height: 40px;
		padding: 0 14px;
	}

	.hero-share-block {
		text-align: center;
	}

	.hero-social-share {
		flex-wrap: nowrap;
		gap: 4px;
		justify-content: center;
	}

	.hero-social-pill {
		border-radius: 8px;
		flex-shrink: 0;
		gap: 0;
		padding: 6px;
	}

	.hero-social-pill span {
		/* Keep accessible name; hide visually (not display:none) */
		border: 0;
		clip: rect(0, 0, 0, 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.hero-social-pill svg {
		height: 14px;
		width: 14px;
	}

	.home-cards-grid.cols-5,
	.home-cards-grid.cols-4,
	.home-cards-grid.cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.home-latest-forms-grid.home-cards-grid {
		grid-template-columns: 1fr;
	}

	.nm-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nm-form-grid {
		grid-template-columns: 1fr;
	}

	.nm-form-thumb {
		height: 96px;
	}

	.grade-thumb {
		height: 120px;
		border-radius: 14px;
	}

	.grade-thumb__icon {
		width: 44px;
		height: 44px;
	}

	.grade-thumb__icon svg {
		width: 38px;
		height: 38px;
	}

	.grade-thumb__number {
		font-size: 42px;
	}

	.grade-thumb__title {
		font-size: 13px;
	}

	.grade-thumb__stage {
		font-size: 11px;
	}

	.home-about-header h2 {
		font-size: 15px;
	}

	.home-about-body > p {
		font-size: 12px;
		line-height: 1.8;
	}

	.home-legal-notice {
		padding: 12px 14px;
		gap: 10px;
	}

	.home-legal-icon {
		width: 32px;
		height: 32px;
	}

	.home-legal-title {
		font-size: 13px;
	}

	.home-legal-text {
		font-size: 12px;
		line-height: 1.8;
	}

	.nm-single-preview:not(.nm-single-preview--has-img) {
		height: 160px;
	}

}

/* Single form article */
.nm-article {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 16px;
}

.nm-article > .nm-single-preview {
	margin: 0;
}

.nm-article > .nm-single-preview--has-img {
	margin: 0 auto;
}

.nm-article-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
}

.nm-article .content-badge {
	display: inline-flex;
	margin: 0;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	border-radius: 999px;
	background: #eff6ff;
	color: var(--primary);
}

.nm-article .content-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
}

.nm-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0;
}

.nm-single-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	font-weight: 600;
	color: #6b7280;
	line-height: 1.3;
}

.nm-single-meta-item svg {
	width: 11px;
	height: 11px;
	flex-shrink: 0;
}

.nm-single-preview {
	position: relative;
	height: 200px;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 16px;
	color: #fff;
	background: linear-gradient(145deg, #5b8fdb 0%, #4a7cc8 100%);
}

.nm-single-preview--has-img {
	height: auto;
	max-height: none;
	max-width: 700px;
	width: 100%;
	aspect-ratio: auto;
	padding: 0;
	display: block;
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 10px;
	overflow: hidden;
}

.nm-single-preview--green {
	background: linear-gradient(145deg, #4faf8c 0%, #3d9475 100%);
}

.nm-single-preview--violet {
	background: linear-gradient(145deg, #9b7fd4 0%, #7e63b8 100%);
}

.nm-single-preview--amber {
	background: linear-gradient(145deg, #d97706 0%, #b45309 100%);
}

.nm-single-preview__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.nm-single-preview--has-img .nm-single-preview__img {
	position: static;
	inset: auto;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	border-radius: 6px;
}

.nm-single-preview__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
	pointer-events: none;
}

.nm-single-preview__orb {
	position: absolute;
	border-radius: 50%;
	background: #fff;
	opacity: 0.1;
	pointer-events: none;
}

.nm-single-preview__orb--1 {
	width: 120px;
	height: 120px;
	top: -36px;
	left: 24px;
}

.nm-single-preview__orb--2 {
	width: 160px;
	height: 160px;
	bottom: -60px;
	right: 20px;
	opacity: 0.07;
}

.nm-single-preview__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	max-width: 70%;
}

.nm-single-preview__icon {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nm-single-lead {
	margin: 12px 0 0;
	padding: 12px 14px;
	background: #f8fafc;
	border-right: 3px solid var(--primary);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #475569;
	line-height: 1.75;
}

/* Page TOC — single form navigation */
.nm-toc {
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 14px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
	padding: 14px 16px;
	width: 100%;
	direction: rtl;
}

.nm-toc[hidden] {
	display: none !important;
}

.nm-toc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.nm-toc__title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.nm-toc__icon {
	font-size: 16px;
	line-height: 1;
}

.nm-toc__title {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.35;
}

.nm-toc__toggle {
	flex-shrink: 0;
	height: 28px;
	padding: 0 10px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	color: #475569;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nm-toc__toggle:hover {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.nm-toc__panel {
	margin-top: 12px;
}

.nm-toc.is-collapsed .nm-toc__panel,
.nm-toc__panel[hidden] {
	display: none;
}

.nm-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: nm-toc;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nm-toc__item {
	counter-increment: nm-toc;
	margin: 0;
}

.nm-toc__link {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 5px 8px;
	border-radius: 8px;
	color: #334155;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	transition: background 0.15s ease, color 0.15s ease;
}

.nm-toc__link::before {
	content: counter(nm-toc) ".";
	flex-shrink: 0;
	min-width: 1.4em;
	color: #94a3b8;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.nm-toc__item--h3 .nm-toc__link {
	padding-right: 22px;
	font-weight: 500;
}

.nm-toc__item--h4 .nm-toc__link {
	padding-right: 36px;
	font-weight: 500;
}

.nm-toc__item--h5 .nm-toc__link {
	padding-right: 50px;
	font-weight: 500;
}

.nm-toc__link:hover {
	background: #f8fafc;
	color: #0f172a;
}

.nm-toc__link.is-active {
	background: #eff6ff;
	color: #1d4ed8;
}

.nm-toc__link.is-active::before {
	color: #2563eb;
}

.edu-file-page h2,
.edu-file-page h3,
.edu-file-page h4,
.edu-file-page h5 {
	scroll-margin-top: 88px;
}

/* =========================================================
   Article body — reading rhythm (prose only)
   ========================================================= */

.nm-article-body {
	padding-top: 10px;
	border-top: 1px solid #e5e7eb;
}

.nm-article-body > *:first-child {
	margin-top: 0;
}

.nm-article-body .edu-static-panel-head {
	margin-bottom: 14px;
}

.nm-article-body .edu-static-panel-title {
	margin: 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	color: #111827 !important;
	font-family: var(--font) !important;
	border: none !important;
	background: none !important;
	padding: 0 !important;
}

.nm-article-body.content-body {
	font-family: var(--font);
	font-size: 14px;
	font-weight: 500;
	line-height: 2;
	color: #374151;
	max-width: 100%;
}

.nm-article-body.content-body > *:first-child {
	margin-top: 0;
}

.nm-article-body.content-body > * + * {
	margin-top: 0;
}

/* Paragraphs */
.nm-article-body.content-body p {
	margin: 0 0 1.15em;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 2 !important;
	color: #374151 !important;
	font-family: var(--font) !important;
	letter-spacing: normal;
}

.nm-article-body.content-body p:last-child {
	margin-bottom: 0;
}

/* Headings */
.nm-article-body.content-body h2:not(.edu-static-panel-title):not(.nm-copy-form__title):not(.home-panel-title) {
	position: relative;
	margin: 2.1em 0 0.75em !important;
	padding: 10px 14px 10px 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.45 !important;
	color: #111827 !important;
	font-family: var(--font) !important;
	background: linear-gradient(to left, #f8fafc 0%, transparent 100%) !important;
	border-right: 4px solid var(--primary) !important;
	border-radius: 0 10px 10px 0;
}

.nm-article-body.content-body h2:not(.edu-static-panel-title):not(.nm-copy-form__title):not(.home-panel-title):first-child {
	margin-top: 0.35em !important;
}

.nm-article-body.content-body h3:not(.nm-copy-form__title):not(.home-panel-title) {
	position: relative;
	margin: 1.7em 0 0.65em !important;
	padding: 4px 14px 4px 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.45 !important;
	color: #1f2937 !important;
	font-family: var(--font) !important;
	border: none !important;
	border-right: 3px solid #93c5fd !important;
	background: none !important;
	border-radius: 0;
}

.nm-article-body.content-body h3:not(.nm-copy-form__title):not(.home-panel-title)::before {
	content: none;
	display: none;
}

.nm-article-body.content-body h4 {
	margin: 1.45em 0 0.55em !important;
	padding: 0 0 6px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.45 !important;
	color: #1f2937 !important;
	font-family: var(--font) !important;
	border: none !important;
	border-bottom: 1px solid #e5e7eb !important;
	background: none !important;
}

.nm-article-body.content-body h5,
.nm-article-body.content-body h6 {
	margin: 1.3em 0 0.45em !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	color: #374151 !important;
	font-family: var(--font) !important;
	border: none !important;
	background: none !important;
}

/* Lists */
.nm-article-body.content-body ul,
.nm-article-body.content-body ol {
	margin: 0 0 1.25em;
	padding: 0 1.35em 0 0;
	font-size: 14px;
	line-height: 2;
	list-style: revert;
	counter-reset: none;
}

.nm-article-body.content-body ul ul,
.nm-article-body.content-body ol ol,
.nm-article-body.content-body ul ol,
.nm-article-body.content-body ol ul {
	margin: 0.45em 0 0.55em;
	padding-right: 1.15em;
}

.nm-article-body.content-body li {
	margin-bottom: 0.55em;
	padding-right: 0.15em;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 2 !important;
	color: #374151 !important;
	font-family: var(--font) !important;
}

.nm-article-body.content-body li:last-child {
	margin-bottom: 0;
}

.nm-article-body.content-body ul > li::before,
.nm-article-body.content-body ol > li::before {
	content: none;
	display: none;
}

.nm-article-body.content-body li strong {
	font-weight: 700;
	color: #111827;
}

/* Links */
.nm-article-body.content-body a {
	color: var(--primary);
	text-decoration: none;
	text-underline-offset: 3px;
	font-weight: 600;
	border-bottom: none;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.nm-article-body.content-body a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.nm-article-body.content-body a[target="_blank"]::after {
	content: none;
}

.nm-article-body.content-body strong,
.nm-article-body.content-body b {
	color: #111827;
	font-weight: 700;
}

/* Blockquotes */
.nm-article-body.content-body blockquote,
.nm-article-body.content-body .wp-block-quote {
	margin: 1.5em 0;
	padding: 16px 18px;
	background: #f8fafc;
	border-right: 4px solid var(--primary);
	border-radius: 12px;
	color: #374151;
	font-size: 14px !important;
	line-height: 2;
	box-shadow: none;
}

.nm-article-body.content-body blockquote p,
.nm-article-body.content-body .wp-block-quote p {
	margin: 0 0 0.65em;
	font-size: inherit !important;
	color: inherit !important;
	line-height: inherit !important;
}

.nm-article-body.content-body blockquote p:last-child,
.nm-article-body.content-body .wp-block-quote p:last-child {
	margin-bottom: 0;
}

/* Premium divider */
.nm-article-body.content-body hr,
.nm-article-body.content-body .wp-block-separator {
	border: 0;
	height: 0;
	margin: 2em auto;
	max-width: 160px;
	border-top: 1px solid #e2e8f0;
	background: transparent;
	position: relative;
}

.nm-article-body.content-body hr::before,
.nm-article-body.content-body .wp-block-separator::before {
	content: "";
	position: absolute;
	top: -1px;
	right: 50%;
	transform: translateX(50%);
	width: 48px;
	height: 2px;
	border-radius: 999px;
	background: var(--primary);
	opacity: 0.55;
}

/* Tables */
.nm-article-body.content-body .wp-block-table,
.nm-article-body.content-body .nm-table-wrap {
	margin: 1.5em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.nm-article-body.content-body table {
	width: 100%;
	min-width: 440px;
	margin: 1.5em 0;
	border-collapse: collapse;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	font-size: 13px !important;
	line-height: 1.7 !important;
	background: #fff;
}

.nm-article-body.content-body .wp-block-table table,
.nm-article-body.content-body .nm-table-wrap table {
	margin: 0;
	border: none;
	border-radius: 0;
	min-width: 440px;
}

.nm-article-body.content-body th,
.nm-article-body.content-body td {
	padding: 12px 14px;
	border-bottom: 1px solid #e5e7eb;
	text-align: right;
	vertical-align: top;
	color: #374151;
}

.nm-article-body.content-body th {
	background: #f8fafc;
	font-weight: 700;
	color: #111827;
}

.nm-article-body.content-body tbody tr:nth-child(even) {
	background: #fafbfc;
}

.nm-article-body.content-body tbody tr:hover {
	background: #f1f5f9;
}

.nm-article-body.content-body tr:last-child td {
	border-bottom: none;
}

/* Images — always centered in article content */
.nm-article-body.content-body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.nm-article-body.content-body > p > img,
.nm-article-body.content-body figure img,
.nm-article-body.content-body .wp-block-image img,
.nm-article-body.content-body .wp-block-media-text__media img {
	margin: 1.5em auto;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
	cursor: zoom-in;
}

.nm-article-body.content-body p:has(> img),
.nm-article-body.content-body p:has(> a > img) {
	text-align: center;
}

.nm-article-body.content-body .alignleft,
.nm-article-body.content-body .alignright,
.nm-article-body.content-body .alignnone,
.nm-article-body.content-body .aligncenter,
.nm-article-body.content-body .wp-block-image.alignleft,
.nm-article-body.content-body .wp-block-image.alignright,
.nm-article-body.content-body .wp-block-image.aligncenter,
.nm-article-body.content-body .wp-block-image.alignwide,
.nm-article-body.content-body figure.alignleft,
.nm-article-body.content-body figure.alignright,
.nm-article-body.content-body figure.aligncenter {
	float: none !important;
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
}

.nm-article-body.content-body .nm-copy-form img,
.nm-article-body.content-body .nm-files-block img,
.nm-article-body.content-body .nm-dl-card img,
.nm-article-body.content-body .nm-download-box img {
	cursor: default;
	box-shadow: none;
	border-radius: 0;
	border: none;
	margin: 0;
}

.nm-article-body.content-body figure,
.nm-article-body.content-body .wp-block-image {
	margin: 1.5em auto;
	text-align: center;
}

.nm-article-body.content-body figcaption,
.nm-article-body.content-body .wp-element-caption {
	margin-top: 10px;
	font-size: 12px !important;
	font-weight: 600;
	color: #6b7280 !important;
	text-align: center;
	line-height: 1.5 !important;
}

/* Content boxes — existing card language */
.nm-article-body.content-body .wp-block-group,
.nm-article-body.content-body .wp-block-columns,
.nm-article-body.content-body .wp-block-media-text {
	margin: 1.5em 0;
	padding: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.nm-article-body.content-body .wp-block-columns {
	gap: 14px;
}

.nm-article-body.content-body .wp-block-column > *:first-child {
	margin-top: 0;
}

.nm-article-body.content-body .wp-block-media-text {
	align-items: center;
}

.nm-article-body.content-body code {
	padding: 0.12em 0.4em;
	border-radius: 6px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 0.88em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 600;
}

.nm-article-body.content-body pre {
	margin: 1.4em 0;
	padding: 16px 18px;
	border-radius: 12px;
	background: #0f172a;
	color: #e2e8f0;
	overflow-x: auto;
}

.nm-article-body.content-body pre code {
	padding: 0;
	background: transparent;
	color: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.75;
}

/* Keep embedded NMUZG components out of prose rules */
.nm-article-body .nm-copy-form,
.nm-article-body .nm-files-block,
.nm-article-body .nm-download-box,
.nm-article-body .nm-dl-card {
	max-width: none;
}

.nm-article-body.content-body .nm-copy-form,
.nm-article-body.content-body .nm-files-block,
.nm-article-body.content-body .nm-download-box {
	margin-top: 1.35em;
	margin-bottom: 1.35em;
}

.nm-article-body .nm-copy-form p,
.nm-article-body .nm-copy-form li,
.nm-article-body .nm-files-block p,
.nm-article-body .nm-dl-card p,
.nm-article-body .nm-download-box p {
	letter-spacing: normal;
}

.nm-article-body .nm-copy-form ul,
.nm-article-body .nm-copy-form ol,
.nm-article-body .nm-files-block ul,
.nm-article-body .nm-files-block ol {
	list-style: revert;
	padding-right: 1.2em;
}

.nm-article-body .nm-copy-form h2,
.nm-article-body .nm-copy-form h3,
.nm-article-body .nm-copy-form h4,
.nm-article-body .nm-files-block h2,
.nm-article-body .nm-files-block h3 {
	border: none !important;
	background: none !important;
	padding: 0 !important;
	margin: 0.6em 0 0.35em !important;
}

.nm-article-body.content-body .nm-copy-form h2.nm-copy-form__title,
.nm-article-body.content-body .nm-files-block h2.home-panel-title {
	border: none !important;
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	line-height: 1.35 !important;
}

.nm-article-body .nm-copy-form h3::before,
.nm-article-body .nm-files-block h3::before {
	content: none;
}

.nm-article-body.content-body .nm-copy-form a,
.nm-article-body.content-body .nm-files-block a,
.nm-article-body.content-body .nm-download-box a,
.nm-article-body.content-body .nm-dl-card a {
	text-decoration: none;
}

/* Lightweight image lightbox */
.nm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.78);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease, visibility 0.18s ease;
}

.nm-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

html.nmuzg-lightbox-open,
html.nmuzg-lightbox-open body {
	overflow: hidden;
}

.nm-lightbox__img {
	max-width: min(1100px, 100%);
	max-height: min(88vh, 100%);
	width: auto;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	background: #fff;
}

.nm-lightbox__close {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.nm-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 900px) {
	.nm-article-body.content-body .wp-block-group,
	.nm-article-body.content-body .wp-block-columns,
	.nm-article-body.content-body .wp-block-media-text {
		padding: 14px;
	}
}

@media (max-width: 640px) {
	.nm-article-body.content-body h2:not(.edu-static-panel-title):not(.nm-copy-form__title):not(.home-panel-title) {
		margin-top: 1.6em !important;
		padding: 8px 12px 8px 0 !important;
	}

	.nm-article-body.content-body blockquote,
	.nm-article-body.content-body .wp-block-quote {
		padding: 14px;
	}

	.nm-article-body.content-body .wp-block-group,
	.nm-article-body.content-body .wp-block-columns,
	.nm-article-body.content-body .wp-block-media-text {
		padding: 12px;
		border-radius: 12px;
	}
}

.nm-dl-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: stretch;
	justify-items: stretch;
}

.nm-dl-list.nm-dl-list--single,
.nm-files-block > .nm-dl-list:has(> .nm-dl-card:only-child) {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: stretch !important;
	grid-template-columns: none !important;
	justify-items: center !important;
}

.nm-dl-list.nm-dl-list--single > .nm-dl-card,
.nm-files-block > .nm-dl-list:has(> .nm-dl-card:only-child) > .nm-dl-card {
	width: 100% !important;
	max-width: 280px !important;
	flex: 0 1 280px !important;
	margin-inline: auto !important;
}

.nm-dl-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	height: 100%;
	padding: 14px 12px 12px;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	min-width: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.nm-dl-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
	transform: translateY(-1px);
}

.nm-dl-icon {
	width: 46px;
	height: 52px;
	border-radius: 0;
	background: transparent;
	color: #2563eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-bottom: 2px;
}

.nm-dl-icon__svg {
	display: block;
	width: 42px;
	height: 48px;
}

.nm-dl-icon--word {
	background: transparent;
	color: #2b579a;
}

.nm-dl-icon--pdf {
	background: transparent;
	color: #e11d48;
}

.nm-dl-icon--excel {
	background: transparent;
	color: #107c41;
}

.nm-dl-icon--zip {
	background: transparent;
	color: #d97706;
}

.nm-dl-icon--rar {
	background: transparent;
	color: #b45309;
}

.nm-dl-icon--ppt {
	background: transparent;
	color: #c43e1c;
}

.nm-dl-icon--image {
	background: transparent;
	color: #7c3aed;
}

.nm-dl-icon--file {
	background: transparent;
	color: #64748b;
}

.nm-dl-icon__fmt {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
}

.nm-dl-type {
	display: none;
}

.nm-dl-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
}

.nm-dl-label {
	margin: 0;
	font-size: 14px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	line-height: 1.35 !important;
	min-height: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	word-break: break-word;
	font-family: var(--font) !important;
}

.nm-article-body.content-body .nm-dl-label {
	margin: 0 !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	color: #0f172a !important;
	letter-spacing: normal;
}

.nm-dl-sub {
	margin: 0;
	font-size: 11px;
	font-weight: 500;
	color: #64748b;
	line-height: 1.45;
	min-height: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.nm-dl-size {
	margin: 2px 0 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 3px 9px;
	font-size: 10px;
	font-weight: 600;
	color: #94a3b8;
	background: #f1f5f9;
	border-radius: 999px;
	letter-spacing: 0.01em;
}

.nm-dl-size svg {
	flex-shrink: 0;
	opacity: 0.7;
}

.nm-dl-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 5px;
	width: 100%;
	margin-top: auto;
	padding-top: 6px;
}

.nm-dl-btn {
	width: 100%;
	height: 36px;
	padding: 0 10px;
	font-size: 12px !important;
	font-weight: 700 !important;
	border-radius: 10px;
	text-decoration: none !important;
	justify-content: center;
	box-sizing: border-box;
	outline: none;
	color: #ffffff !important;
	background: linear-gradient(135deg, #2563eb, #4f46e5);
	border: none;
}

.nm-dl-btn,
.nm-dl-btn *,
.nm-article-body.content-body .nm-dl-btn,
.nm-article-body.content-body a.nm-dl-btn,
.nm-article-body.content-body .nm-dl-btn span {
	color: #ffffff !important;
	text-decoration: none !important;
	border-bottom: none !important;
}

.nm-dl-btn svg {
	stroke: #ffffff !important;
	flex-shrink: 0;
}

.nm-dl-btn:hover {
	opacity: 0.94;
	color: #ffffff !important;
}

.nm-dl-btn:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
	color: #ffffff !important;
}

.nm-dl-preview {
	display: none;
}

.nm-files-block {
	margin: 16px 0;
	padding: 16px 16px 14px;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 14px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.nm-files-block .home-panel-head {
	margin-bottom: 12px;
}

.nm-files-block .home-panel-title {
	margin: 0;
	font-size: 15px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	line-height: 1.35 !important;
	font-family: var(--font) !important;
}

.nm-article-body.content-body .nm-files-block .home-panel-title {
	font-size: 15px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	line-height: 1.35 !important;
	margin: 0 !important;
}

.nm-files-block .home-panel-icon {
	width: 28px;
	height: 28px;
	border-radius: 8px;
}

.nm-files-block .home-panel-icon svg {
	width: 15px;
	height: 15px;
}

.nm-files-block--editor {
	padding: 14px;
	border: 1px dashed #bfdbfe;
	border-radius: 14px;
	background: #f8fafc;
	box-shadow: none;
}

.nm-dl-editor-toolbar {
	margin-top: 12px;
}

.nm-dl-editor-empty {
	margin: 8px 0;
	font-size: 13px;
	color: #64748b;
}

.nm-dl-editor-list {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nm-dl-editor-row {
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 10px;
}

.nm-dl-editor-row__main {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nm-dl-editor-row__main .nm-dl-icon {
	width: 32px;
	height: 38px;
	margin: 0;
}

.nm-dl-editor-row__main .nm-dl-icon__svg {
	width: 28px;
	height: 34px;
}

.nm-dl-editor-row__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 12px;
	color: #64748b;
}

.nm-dl-editor-row__info strong {
	color: #0f172a;
	font-size: 13px;
}

.nm-dl-editor-row__fields {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eef2f7;
}

@media (max-width: 900px) {
	.nm-dl-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nm-dl-list.nm-dl-list--single > .nm-dl-card,
	.nm-files-block > .nm-dl-list:has(> .nm-dl-card:only-child) > .nm-dl-card {
		max-width: 260px !important;
		flex-basis: 260px !important;
	}
}

@media (max-width: 600px) {
	.nm-dl-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.nm-dl-list.nm-dl-list--single > .nm-dl-card,
	.nm-files-block > .nm-dl-list:has(> .nm-dl-card:only-child) > .nm-dl-card {
		max-width: 220px !important;
		flex-basis: 220px !important;
	}

	.nm-dl-card {
		padding: 10px 8px 8px;
		gap: 4px;
		border-radius: 10px;
	}

	.nm-dl-icon {
		width: 36px;
		height: 42px;
	}

	.nm-dl-icon__svg {
		width: 34px;
		height: 40px;
	}

	.nm-dl-label,
	.nm-article-body.content-body .nm-dl-label {
		font-size: 12px !important;
		line-height: 1.3 !important;
		-webkit-line-clamp: 3;
	}

	.nm-dl-size {
		font-size: 10px;
		padding: 2px 6px;
	}

	.nm-dl-btn,
	.nm-article-body.content-body a.nm-dl-btn {
		font-size: 12px;
		padding: 8px 6px;
		gap: 4px;
	}

	.nm-dl-btn svg {
		width: 14px;
		height: 14px;
	}
}

/* Legacy single download-box (kept for old content) */
.nm-download-box {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px;
	margin: 16px 0;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	direction: rtl;
	text-align: right;
}

.nm-download-box__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #eff6ff;
	color: #2563eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nm-download-box__icon--word {
	background: #eff6ff;
	color: #2563eb;
}

.nm-download-box__icon--pdf {
	background: #fff1f2;
	color: #e11d48;
}

.nm-download-box__icon--excel {
	background: #ecfdf5;
	color: #059669;
}

.nm-download-box__fmt {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
}

.nm-download-box__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.nm-download-box__title {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.35;
}

.nm-download-box__desc {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
	line-height: 1.55;
}

.nm-download-box__meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	color: #94a3b8;
}

.nm-download-box__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}

.nm-download-box__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	font-size: 12px;
	border-radius: 10px;
	text-decoration: none;
	box-sizing: border-box;
}

.nm-download-box__preview {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0 14px;
	font-size: 12px;
	font-weight: 700;
	color: #2563eb;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	text-decoration: none;
	box-sizing: border-box;
}

.nm-download-box__preview:hover {
	background: #dbeafe;
	color: #1d4ed8;
}

.nm-download-box__hint {
	margin: 4px 0 0;
	font-size: 11px;
	font-weight: 600;
	color: #f59e0b;
}

.nm-article-body .nm-download-box + .nm-download-box {
	margin-top: 12px;
}

@media (max-width: 600px) {
	.nm-download-box {
		flex-direction: column;
		align-items: stretch;
	}

	.nm-download-box__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.nm-download-box__btn,
	.nm-download-box__preview {
		width: 100%;
		justify-content: center;
	}
}

/* Copy Template â€” premium document panel */
.nm-copy-form {
	margin: 20px 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	direction: rtl;
}

.nm-copy-form__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid #eef2f7;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	direction: rtl;
}

.nm-copy-form__heading {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
}

.nm-copy-form__badge {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: #eff6ff;
	color: #2563eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 15px;
	line-height: 1;
}

.nm-copy-form__title {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.35;
}

h2.nm-copy-form__title {
	border: none;
	background: none;
	padding: 0;
}

.nm-article-body.content-body .nm-copy-form__title {
	font-size: 15px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	line-height: 1.35 !important;
	margin: 0 !important;
}

.nm-copy-form__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #2563eb, #4f46e5);
	color: #ffffff !important;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
	box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
	transition: opacity 0.15s ease, background 0.15s ease, transform 0.12s ease;
	outline: none;
}

.nm-copy-form__btn .nm-copy-form__btn-label,
.nm-article-body.content-body .nm-copy-form__btn,
.nm-article-body.content-body .nm-copy-form__btn span {
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.nm-copy-form__btn svg {
	stroke: #ffffff;
	flex-shrink: 0;
}

.nm-copy-form__btn:hover {
	opacity: 0.94;
}

.nm-copy-form__btn:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

.nm-copy-form__btn-check {
	display: none;
}

.nm-copy-form__btn.is-copied {
	background: linear-gradient(135deg, #059669, #047857);
	box-shadow: 0 1px 2px rgba(5, 150, 105, 0.25);
	color: #ffffff !important;
}

.nm-copy-form__btn.is-copied .nm-copy-form__btn-icon {
	display: none;
}

.nm-copy-form__btn.is-copied .nm-copy-form__btn-check {
	display: block;
}

.nm-copy-form__paper {
	padding: 10px 10px 12px;
	background: #f8fafc;
}

.nm-copy-form__body {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 18px 16px;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	font-family: var(--font);
	font-size: 14px;
	font-weight: 500;
	color: #0f172a;
	line-height: 1.85;
	white-space: normal;
	direction: rtl;
	text-align: right;
	overflow: visible;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	box-sizing: border-box;
}

.nm-copy-form__body:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.nm-copy-form__body,
.nm-copy-form__body p,
.nm-copy-form__body span,
.nm-copy-form__body div,
.nm-copy-form__body li {
	font-family: var(--font) !important;
	font-size: 14px !important;
	font-weight: 500;
	line-height: 1.85;
	color: #0f172a;
}

.nm-copy-form__body p {
	margin: 0 0 0.85em;
}

.nm-copy-form__body p:last-child {
	margin-bottom: 0;
}

.nm-copy-form__body h1,
.nm-copy-form__body h2,
.nm-copy-form__body h3,
.nm-copy-form__body h4 {
	margin: 1.15em 0 0.45em;
	font-weight: 800 !important;
	line-height: 1.4 !important;
	color: #0f172a !important;
	font-family: var(--font) !important;
}

.nm-copy-form__body h1:first-child,
.nm-copy-form__body h2:first-child,
.nm-copy-form__body h3:first-child,
.nm-copy-form__body h4:first-child {
	margin-top: 0;
}

.nm-copy-form__body h1 { font-size: 18px !important; }
.nm-copy-form__body h2 { font-size: 16px !important; }
.nm-copy-form__body h3,
.nm-copy-form__body h4 { font-size: 15px !important; }

.nm-copy-form__body ul,
.nm-copy-form__body ol {
	margin: 0 0 0.9em;
	padding-right: 1.25em;
	padding-left: 0;
}

.nm-copy-form__body li {
	margin: 0 0 0.35em;
}

.nm-copy-form__body li:last-child {
	margin-bottom: 0;
}

.nm-copy-form__body br + br {
	display: block;
	margin-top: 0.35em;
	content: "";
}

.nm-copy-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%) translateY(12px);
	z-index: 100000;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-family: var(--font);
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.nm-copy-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
	.nm-copy-form__paper {
		padding: 10px;
	}

	.nm-copy-form__body {
		width: 100%;
		max-width: 100%;
		padding: 16px 14px;
	}
}

@media (max-width: 640px) {
	.nm-copy-form__head {
		flex-wrap: wrap;
		padding: 10px 12px;
		gap: 10px;
	}

	.nm-copy-form__btn {
		width: 100%;
		height: 40px;
		font-size: 13px;
	}

	.nm-copy-form__paper {
		padding: 10px;
	}

	.nm-copy-form__body {
		width: 100%;
		max-width: 100%;
		padding: 14px 14px;
		border-radius: 8px;
	}

	.nm-copy-form__body,
	.nm-copy-form__body p,
	.nm-copy-form__body span,
	.nm-copy-form__body div,
	.nm-copy-form__body li {
		font-size: 13px !important;
		line-height: 1.8;
	}

	.nm-copy-toast {
		bottom: 16px;
		max-width: calc(100% - 24px);
		font-size: 12px;
	}
}

/* =========================================================
   Typography & contrast refinement
   Colors / line-height only — no layout, weights, or brand changes
   ========================================================= */

.home-panel-title,
.home-about-header h2,
.home-legal-title,
.content-title,
.nm-article .content-title,
.nm-files-block .home-panel-title,
.nm-article-body.content-body .nm-files-block .home-panel-title,
.nm-article-body.content-body .nm-copy-form h2.nm-copy-form__title,
.nm-copy-form__title,
.nm-article-body.content-body .nm-copy-form__title,
.nm-dl-label,
.nm-article-body.content-body .nm-dl-label,
.nm-download-box__title,
.edu-cat-card-title,
.sol-card-title,
.phv2-card .sol-card-title,
.nm-cat-title {
	color: #111827 !important;
}

.home-panel-link:hover,
.home-legal-text a:hover {
	color: var(--primary-hover);
}

.home-legal-text a {
	color: var(--primary);
}

.nm-toc__title {
	color: #111827;
}

.nm-toc__link {
	color: #374151;
}

.nm-toc__link:hover,
.nm-toc__link.is-active {
	color: var(--primary);
}

.edu-breadcrumb-current,
.edu-breadcrumb-sep,
.nm-form-meta,
.nm-form-meta__item,
.nm-form-meta__format,
.nm-dl-size,
.nm-dl-sub,
.nm-download-box__meta,
.content-meta,
.nm-single-meta-item,
.nm-cat-count {
	color: inherit;
}

.edu-breadcrumb-link {
	color: #374151;
}

.edu-breadcrumb-link:hover {
	color: var(--primary);
}

.home-panel,
.nm-form-card,
.nm-dl-card,
.nm-files-block,
.nm-copy-form,
.nm-download-box,
.nm-toc,
.edu-cat-card {
	border-color: #e5e7eb;
}

/* Final overrides: mobile footer center + single download card */
@media (max-width: 900px) {
	footer.site-footer,
	.site-footer {
		text-align: center !important;
	}

	footer.site-footer .site-footer-inner,
	.site-footer .site-footer-inner {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		gap: 12px !important;
	}

	footer.site-footer .site-footer-start,
	footer.site-footer .site-footer-group,
	.site-footer .site-footer-start,
	.site-footer .site-footer-group {
		display: contents !important;
	}

	footer.site-footer .site-social-links,
	footer.site-footer .site-footer-links,
	footer.site-footer .site-footer-menu,
	.site-footer .site-social-links,
	.site-footer .site-footer-links,
	.site-footer .site-footer-menu {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		width: auto !important;
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
	}

	footer.site-footer .site-footer-copy,
	.site-footer .site-footer-copy {
		width: auto !important;
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
		white-space: normal !important;
	}

	footer.site-footer .site-footer-sep,
	.site-footer .site-footer-sep {
		display: none !important;
	}
}

.nm-files-block > .nm-dl-list.nm-dl-list--single,
.nm-files-block > .nm-dl-list:has(> .nm-dl-card:only-child) {
	display: flex !important;
	justify-content: center !important;
	align-items: stretch !important;
	grid-template-columns: none !important;
}

.nm-files-block > .nm-dl-list.nm-dl-list--single > .nm-dl-card,
.nm-files-block > .nm-dl-list:has(> .nm-dl-card:only-child) > .nm-dl-card {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 280px !important;
	width: 100% !important;
	flex: 0 1 280px !important;
}

.nm-article-body.content-body img {
	cursor: zoom-in;
}

.nm-article-body.content-body a[href] img {
	cursor: pointer;
}

/* Download center gateway */
.nm-dl-center {
	padding-bottom: 2rem;
}

.nm-dl-hero {
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 58, 138, 0.88)),
		repeating-linear-gradient(
			-45deg,
			rgba(255, 255, 255, 0.04) 0 10px,
			rgba(255, 255, 255, 0) 10px 20px
		),
		#0f172a;
	color: #fff;
	padding: 36px 16px 40px;
	text-align: center;
	margin-bottom: 18px;
}

.nm-dl-hero__inner {
	max-width: 720px;
	margin: 0 auto;
}

.nm-dl-hero__title {
	margin: 0 0 8px;
	font-size: clamp(1.6rem, 4vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.nm-dl-hero__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(248, 250, 252, 0.88);
}

.nm-dl-center__wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nm-dl-section-title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
	text-align: center;
}

.nm-dl-why {
	padding: 18px 16px 16px;
}

.nm-dl-why__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.nm-dl-why__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 12px 11px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e8eaed;
	text-align: right;
}

.nm-dl-why__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nm-dl-why__icon--safe {
	background: #ecfdf5;
	color: #059669;
}

.nm-dl-why__icon--fast {
	background: #eff6ff;
	color: #2563eb;
}

.nm-dl-why__icon--lib {
	background: #eef2ff;
	color: #4f46e5;
}

.nm-dl-why__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nm-dl-why__text strong {
	font-size: 13px;
	font-weight: 800;
	color: #0f172a;
}

.nm-dl-why__text span {
	font-size: 12px;
	line-height: 1.55;
	color: #64748b;
}

.nm-dl-why__note {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.75;
	color: #475569;
	text-align: center;
}

.nm-dl-wait {
	padding: 22px 16px 20px;
	text-align: center;
}

.nm-dl-wait__file {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
}

.nm-dl-wait__meta,
.nm-dl-wait__status,
.nm-dl-wait__error {
	margin: 0 0 12px;
	font-size: 13px;
	color: #64748b;
}

.nm-dl-wait__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #2563eb;
	font-weight: 600;
}

.nm-dl-wait__error {
	color: #b91c1c;
	font-weight: 600;
}

.nm-dl-timer {
	position: relative;
	width: 112px !important;
	height: 112px !important;
	max-width: 112px;
	max-height: 112px;
	margin: 6px auto 10px;
	overflow: hidden;
}

.nm-dl-timer__ring {
	display: block;
	width: 112px !important;
	height: 112px !important;
	max-width: 112px !important;
	max-height: 112px !important;
	transform: rotate(-90deg);
}

.nm-dl-timer__track {
	stroke: #e2e8f0;
}

.nm-dl-timer__progress {
	stroke: #2563eb;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.9s linear;
}

.nm-dl-timer__num {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
}

.nm-dl-timer__num span {
	font-size: 2rem;
	font-weight: 800;
	color: #0f172a;
}

.nm-dl-timer__num small {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

.nm-dl-wait__actions {
	margin: 0;
}

.nm-dl-btn--gateway.is-disabled {
	opacity: 0.55;
	pointer-events: none;
	filter: grayscale(0.15);
}

.nm-dl-related {
	padding-top: 16px;
}

.nm-dl-ad {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	padding: 12px;
	border-radius: 12px;
	border: 1px dashed #cbd5e1;
	background: #f8fafc;
	overflow: hidden;
}

.nm-dl-ad:empty {
	display: none;
}

.nm-dl-ad iframe,
.nm-dl-ad ins {
	max-width: 100%;
}

@media (max-width: 800px) {
	.nm-dl-why__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.nm-dl-hero {
		padding: 28px 14px 32px;
		margin-bottom: 12px;
	}

	.nm-dl-timer {
		width: 112px;
		height: 112px;
	}
}
