/**
 * Al-Najah Agents: [najah_agents]
 * Tokens from the site design (Al-Najah Industrial Navy). Dark mode follows
 * html.evk-dark from the EVK Dark Mode plugin.
 */
.nja {
	--nja-ink: #1B2B3B;
	--nja-muted: #5A6B7F;
	--nja-acc: #2A4269;
	--nja-acc-deep: #1B3D6E;
	--nja-rgb: 42, 66, 105;
	--nja-card: #FFFFFF;
	--nja-panel: #D6E0F0;
	--nja-on-acc: #FFFFFF;
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	font-family: inherit;
}
html.evk-dark .nja {
	--nja-ink: #E4E7EC;
	--nja-muted: #C0C7D1;
	--nja-acc: #7FA2D6;
	--nja-acc-deep: #9DB9E4;
	--nja-rgb: 127, 162, 214;
	--nja-card: #1A1D21;
	--nja-panel: #1F2A3D;
	--nja-on-acc: #0E1623;
}

/* Country filter ------------------------------------------------------------ */
.nja-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 36px;
}
.nja .nja-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 8px 10px 8px 18px;
	border: 1px solid rgba(var(--nja-rgb), .55);
	border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	color: var(--nja-acc);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
[dir="rtl"] .nja .nja-chip,
.rtl .nja .nja-chip { padding: 8px 18px 8px 10px; }
html.evk-dark .nja .nja-chip { background: rgba(255, 255, 255, .03); border-color: #9DB9E4; color: #9DB9E4; }
.nja .nja-chip:hover { background: rgba(var(--nja-rgb), .08); }
.nja .nja-chip.is-on { background: var(--nja-acc); border-color: var(--nja-acc); color: var(--nja-on-acc); }
.nja .nja-chip:focus-visible { outline: 2px solid var(--nja-acc); outline-offset: 3px; }
.nja-chip-n {
	min-width: 26px;
	padding: 5px 7px;
	border-radius: 999px;
	background: rgba(var(--nja-rgb), .12);
	font-size: 12px;
	text-align: center;
}
.nja-chip.is-on .nja-chip-n { background: rgba(255, 255, 255, .2); }
html.evk-dark .nja-chip.is-on .nja-chip-n { background: rgba(14, 22, 35, .18); }

/* Cards ---------------------------------------------------------------------- */
.nja-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 380px));
	justify-content: center;
	gap: 24px;
}
.nja-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 26px;
	border: 1px solid rgba(var(--nja-rgb), .16);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(var(--nja-rgb), .07) 0, rgba(var(--nja-rgb), 0) 140px), var(--nja-card);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease;
}
.nja-card:hover,
.nja-card:focus-within {
	transform: translateY(-3px);
	border-color: rgba(var(--nja-rgb), .34);
	box-shadow: 0 22px 44px -28px rgba(var(--nja-rgb), .5);
}
.nja-card[hidden] { display: none; }

/* The country code, set large and faint in the corner: the card's only ornament. */
.nja-card::after {
	content: attr(data-country);
	position: absolute;
	inset-block-start: -18px;
	inset-inline-end: 14px;
	color: rgba(var(--nja-rgb), .07);
	font-size: 112px;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	pointer-events: none;
}
.nja-card[data-country="ZZ"]::after { content: none; }

.nja-head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 14px;
}
.nja-code {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 12px;
	background: var(--nja-acc);
	color: var(--nja-on-acc);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
}
.nja-where {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--nja-muted);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
}
.nja-where .nja-ico { width: 17px; height: 17px; color: var(--nja-acc); flex: none; }

.nja .nja-name {
	position: relative;
	z-index: 1;
	margin: 20px 0 0;
	color: var(--nja-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}
.nja-person {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 0;
	color: var(--nja-muted);
	font-size: 14px;
}
.nja-person .nja-ico { width: 16px; height: 16px; }

.nja-rows {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 4px;
	margin: 18px -10px 0;
	padding: 0;
	list-style: none;
}
.nja-rows li { margin: 0; padding: 0; list-style: none; }
.nja .nja-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 10px;
	border-radius: 12px;
	color: var(--nja-ink);
	text-decoration: none;
	transition: background-color .2s ease;
}
.nja a.nja-row:hover { background: rgba(var(--nja-rgb), .07); color: var(--nja-ink); }
.nja a.nja-row:focus-visible { outline: 2px solid var(--nja-acc); outline-offset: 1px; }
.nja-row-ico {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 50%;
	background: var(--nja-panel);
	color: var(--nja-acc);
}
.nja-row-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nja-row-label {
	color: var(--nja-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.2;
	text-transform: uppercase;
}
.nja-val {
	color: var(--nja-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
	unicode-bidi: isolate;
}
[dir="rtl"] .nja-val,
.rtl .nja-val { text-align: right; }
[dir="rtl"] .nja-row-label,
.rtl .nja-row-label { letter-spacing: 0; }

.nja-actions {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 22px;
}
.nja .nja-btn {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid rgba(var(--nja-rgb), .45);
	border-radius: 8px;
	background: transparent;
	color: var(--nja-acc);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.nja .nja-btn .nja-ico { width: 18px; height: 18px; }
.nja .nja-btn:hover { background: rgba(var(--nja-rgb), .08); color: var(--nja-acc); }
.nja .nja-btn--solid,
.nja .nja-btn--solid:hover { border-color: transparent; background: #2A4269; color: #FFFFFF; }
.nja .nja-btn--solid:hover { background: #1B3D6E; }
html.evk-dark .nja .nja-btn--solid { background: #33507E; color: #FFFFFF; }
html.evk-dark .nja .nja-btn--solid:hover { background: #3D5F94; }
.nja .nja-btn:active { transform: translateY(1px); }
.nja .nja-btn:focus-visible { outline: 2px solid var(--nja-acc); outline-offset: 2px; }

.nja-none { color: var(--nja-muted, #5A6B7F); text-align: center; }

@media (max-width: 767px) {
	.nja-bar { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
	.nja-bar::-webkit-scrollbar { display: none; }
	.nja .nja-chip { flex: none; }
	.nja-card { padding: 22px 20px; }
	.nja-card::after { font-size: 92px; }
}

@media (prefers-reduced-motion: reduce) {
	.nja-card, .nja .nja-chip, .nja .nja-row, .nja .nja-btn { transition: none; }
	.nja-card:hover, .nja-card:focus-within, .nja .nja-btn:active { transform: none; }
}
