/* NeviLex: the ޢަމަލީ ޤާނޫނު page ([nvx_practical]). See practical.php. */
.nvxp { --nvxp-navy: #1f3366; --nvxp-blue: #2F6DB5; --nvxp-ink: #1d2733; --nvxp-mute: #5b6b7e; --nvxp-line: #dfe5ee; --nvxp-soft: #f4f8fd; direction: rtl; color: var(--nvxp-ink); }
.nvxp * { box-sizing: border-box; }
.nvxp-lead { margin: 0 0 16px !important; color: var(--nvxp-mute); font-size: 15px; }
.nvxp-find { display: flex; align-items: center; gap: 8px; max-width: 520px; height: 46px; padding: 0 14px; border: 1px solid #cfd8e5; border-radius: 12px; background: #fff; color: var(--nvxp-mute); cursor: text; }
.nvxp-find:focus-within { border-color: var(--nvxp-blue); box-shadow: 0 0 0 3px rgba(47, 109, 181, .15); }
.nvxp-find input { flex: 1; min-width: 0; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; font: inherit; font-size: 15px; color: inherit; }

/* The four cards */
.nvxp-secs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 6px; }
.nvxp-sec { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; border: 1px solid var(--nvxp-line); border-radius: 14px; background: #fff; color: var(--nvxp-blue); font: inherit; text-align: right; cursor: pointer; transition: border-color .15s, background .15s; }
.nvxp-sec:hover { border-color: #b9c7da; }
.nvxp-sec b { color: var(--nvxp-navy); font-size: 15.5px; line-height: 1.6; }
.nvxp-sec small { color: var(--nvxp-mute); font-size: 12.5px; line-height: 1.7; }
.nvxp-sec.is-on { border-color: var(--nvxp-navy); box-shadow: inset 0 0 0 1px var(--nvxp-navy); background: var(--nvxp-soft); }
.nvxp-sec:focus-visible { outline: 2px solid var(--nvxp-blue); outline-offset: 2px; }
.nvxp-n { position: absolute; top: 12px; left: 14px; padding: 4px 8px; border-radius: 20px; background: #eef2f7; color: var(--nvxp-mute); font: 600 12px/1 system-ui, sans-serif; }
.nvxp:not(.is-js) .nvxp-secs { display: none; } /* without the script: everything, one under the other */
.nvxp.is-searching .nvxp-sec { opacity: .55; }
.nvxp.is-searching .nvxp-sec.is-on { box-shadow: none; border-color: var(--nvxp-line); background: #fff; }

/* Panels and groups */
.nvxp-panel { margin-top: 18px; }
.nvxp-panel[hidden], .nvxp [hidden] { display: none !important; }
.nvxp-ph { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* for screen readers; the cards say it */
.nvxp:not(.is-js) .nvxp-ph, .nvxp.is-searching .nvxp-ph { position: static !important; width: auto; height: auto; clip: auto; margin: 26px 0 0 !important; font-size: 20px; color: var(--nvxp-navy); }
.nvxp-g { margin-top: 18px; }
.nvxp-gh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 4px; padding-bottom: 6px; border-bottom: 2px solid var(--nvxp-line); }
.nvxp-gh h3 { margin: 0 !important; font-size: 18px; color: var(--nvxp-navy); line-height: 1.7; }
.nvxp-gh a, .nvxp-gh span { font-size: 13px; color: var(--nvxp-mute); text-decoration: none; }
.nvxp-gh a { color: var(--nvxp-blue); white-space: nowrap; }
.nvxp-more { margin: 4px 0 0 !important; font-size: 14px; }
.nvxp-more a { color: var(--nvxp-blue); text-decoration: none; }
.nvxp-list, .nvxp-ext-grid { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.nvxp-list > li, .nvxp-ext-grid > li { margin: 0 !important; padding-inline: 0; list-style: none !important; }
.nvxp-list > li::before, .nvxp-ext-grid > li::before { content: none !important; }

/* Rows */
.nvxp-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px !important; border-bottom: 1px solid #edf1f6; }
.nvxp-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--nvxp-soft); color: var(--nvxp-blue); }
.nvxp-no { font: 700 13px/1 system-ui, sans-serif; }
.nvxp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nvxp-t a { color: var(--nvxp-ink) !important; text-decoration: none !important; font-size: 16px; font-weight: 600; line-height: 1.75; }
.nvxp-t a[dir="ltr"] { text-align: right; }
.nvxp-t a:hover { color: var(--nvxp-blue) !important; }
.nvxp-t small { color: var(--nvxp-mute); font-size: 12.5px; line-height: 1.6; }
.nvxp-badge { flex: none; padding: 2px 9px; border-radius: 20px; background: #e7f4ec; color: #2b7a4b; font-size: 12px; font-weight: 600; white-space: nowrap; }
.nvxp-tag { flex: none; padding: 2px 8px; border-radius: 20px; background: #eef2f7; color: var(--nvxp-mute); font: 600 11px/1.6 system-ui, sans-serif; }
.nvxp-dt { flex: none; min-width: 92px; color: var(--nvxp-mute); font: 13px/1.6 system-ui, sans-serif; text-align: left; }
span.nvxp-dt { font-family: inherit; }

/* Cards (a report; the international resources) */
.nvxp-card a, .nvxp-ext a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--nvxp-line); border-radius: 12px; background: #fff; color: var(--nvxp-ink) !important; text-decoration: none !important; transition: border-color .15s; }
.nvxp-card a:hover, .nvxp-ext a:hover { border-color: var(--nvxp-blue); }
.nvxp-card { margin: 10px 0 !important; }
.nvxp-card b, .nvxp-ext b { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; color: var(--nvxp-navy); font-size: 15px; line-height: 1.7; }
.nvxp-card b svg, .nvxp-ext b svg { flex: none; margin-top: 4px; color: var(--nvxp-blue); }
.nvxp-card span, .nvxp-ext .nvxp-d { color: var(--nvxp-mute); font-size: 13px; line-height: 1.8; }
.nvxp-ext i { align-self: flex-start; margin-top: 4px; padding: 1px 8px; border-radius: 20px; background: #eef2f7; color: var(--nvxp-mute); font-style: normal; font-size: 11.5px; }
.nvxp .is-ltr a { text-align: left; }
.nvxp .is-ltr i { align-self: flex-end; }
.nvxp-ext-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
.nvxp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.nvxp-chips button { padding: 4px 12px; border: 1px solid var(--nvxp-line); border-radius: 20px; background: #fff; color: var(--nvxp-mute); font: inherit; font-size: 13px; line-height: 1.7; cursor: pointer; }
.nvxp-chips button.is-on { background: var(--nvxp-navy); border-color: var(--nvxp-navy); color: #fff; }
.nvxp-none { margin: 22px 0 0 !important; color: var(--nvxp-mute); text-align: center; }

@media (max-width: 760px) {
	.nvxp-secs { grid-template-columns: 1fr 1fr; gap: 8px; }
	.nvxp-sec { padding: 12px; }
	.nvxp-sec small { display: none; }
	.nvxp-sec b { font-size: 14.5px; }
	.nvxp-ext-grid { grid-template-columns: 1fr; }
	.nvxp-dt { display: none; }
	.nvxp-ic { width: 34px; height: 34px; }
	.nvxp-row { flex-wrap: wrap; }
	.nvxp-row .nvxp-t { flex: 1 1 60%; }
	.nvxp-find { max-width: none; }
}

/* Dark mode */
html.nvxl-dark .nvxp { --nvxp-navy: #cfe0f5; --nvxp-blue: #8fb4e6; --nvxp-ink: #e2e8f0; --nvxp-mute: #9fb0c4; --nvxp-line: #2c3a4d; --nvxp-soft: #172233; }
html.nvxl-dark .nvxp-find, html.nvxl-dark .nvxp-sec, html.nvxl-dark .nvxp-card a, html.nvxl-dark .nvxp-ext a, html.nvxl-dark .nvxp-chips button { background: #121a25; }
html.nvxl-dark .nvxp-sec.is-on { background: #172233; }
html.nvxl-dark .nvxp-n, html.nvxl-dark .nvxp-tag, html.nvxl-dark .nvxp-ext i { background: #22314a; }
html.nvxl-dark .nvxp-row { border-bottom-color: #223044; }
html.nvxl-dark .nvxp-badge { background: #183526; color: #8fd0a8; }
html.nvxl-dark .nvxp-chips button.is-on { background: #2F6DB5; border-color: #2F6DB5; color: #fff; }
@media print { .nvxp-find, .nvxp-secs, .nvxp-chips { display: none !important; } .nvxp-panel { display: block !important; } }
