body.nap-articles-page .wd-page-title,
body.nap-articles-page .page-title {
	display: none !important;
}

body.nap-articles-page .main-page-wrapper {
	margin-top: 0 !important;
	padding-top: 0 !important;
	overflow: visible !important;
}

body.nap-articles-page .wd-page-content {
	padding-top: 0;
	overflow: visible !important;
}

.nap-articles {
	--article-navy: #062847;
	--article-ink: #0b2a4b;
	--article-muted: #7789a1;
	--article-blue: #078ce5;
	--article-orange: #ff6a0a;
	position: relative;
	left: 50% !important;
	right: auto !important;
	width: 100vw !important;
	max-width: none !important;
	margin: 0 !important;
	transform: translateX(-50%) !important;
	overflow: hidden;
	background: linear-gradient(180deg, #f3f9fe 0%, #fff 54%);
	color: var(--article-ink);
	font-family: var(--nap-font, Vazirmatn, Tahoma, sans-serif);
}

.nap-articles-shell {
	width: min(1360px, calc(100% - 56px));
	margin-inline: auto;
}

.nap-articles-hero {
	position: relative;
	min-height: 310px;
	overflow: hidden;
	background-color: #eff7ff;
	background-image:
		linear-gradient(270deg, rgba(247, 251, 255, .1) 0%, rgba(247, 251, 255, .1) 45%, rgba(247, 251, 255, .4) 72%, rgba(247, 251, 255, .68) 100%),
		url("../img/articles-hero-v2.png");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 0 0 0 20px;
	box-shadow: 0 18px 42px rgba(39, 95, 145, .08);
}

.nap-articles-hero::before,
.nap-articles-hero::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.nap-articles-hero::before {
	inset: 0;
	background:
		radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .86), transparent 24%),
		linear-gradient(140deg, transparent 65%, rgba(120, 195, 237, .14));
}

.nap-articles-hero::after {
	width: 360px;
	height: 360px;
	right: 2%;
	bottom: -286px;
	border: 1px solid rgba(10, 123, 190, .13);
	border-radius: 50%;
	box-shadow: 0 0 0 24px rgba(255, 255, 255, .14), 0 0 0 54px rgba(10, 123, 190, .035);
}

.nap-articles-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 310px;
	gap: 34px;
}

.nap-articles-hero__copy {
	width: min(650px, 56%);
	margin: 0;
	padding: 30px 0 36px;
	text-align: right;
}

.nap-articles-eyebrow,
.nap-articles-section-heading__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #47799e;
	font-size: 12px;
	font-weight: 700;
}

.nap-articles-eyebrow i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--article-orange);
	box-shadow: 0 0 0 5px rgba(255, 106, 10, .12);
}

.nap-articles-hero h1 {
	margin: 12px 0 5px;
	color: var(--article-navy) !important;
	font-family: var(--nap-display, var(--nap-font, Tahoma, sans-serif));
	font-size: clamp(30px, 3.6vw, 50px);
	font-weight: 900;
	line-height: 1.45;
	letter-spacing: -.04em;
}

.nap-articles-hero h1 em {
	position: relative;
	color: #1268a9;
	font-style: normal;
}

.nap-articles-hero h1 em::after {
	position: absolute;
	content: "";
	right: 2px;
	bottom: -2px;
	width: 78%;
	height: 5px;
	border-radius: 99px;
	background: linear-gradient(90deg, #ffb14d, var(--article-orange));
	transform: rotate(-2deg);
}

.nap-articles-hero__copy > p {
	margin: 0 0 22px;
	color: #355978;
	font-size: clamp(13px, 1.25vw, 17px);
	line-height: 1.9;
}

.nap-articles-search {
	display: flex;
	align-items: center;
	gap: 12px;
	width: min(570px, 100%);
	min-height: 54px;
	padding: 5px 6px 5px 16px;
	border: 1px solid #d8e6f4;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 8px 22px rgba(47, 91, 133, .12), inset 0 1px 2px #fff;
	direction: ltr;
}

.nap-articles-search > svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	color: var(--article-ink);
}

.nap-articles-search input {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	margin: 0;
	padding: 0 4px;
	border: 0 !important;
	outline: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--article-ink);
	font: inherit;
	font-size: 13px;
	direction: rtl;
	text-align: right;
}

.nap-articles-search input::placeholder { color: #92a3b8; }

body.napnet .nap-articles-search button {
	flex: 0 0 auto;
	min-width: 112px;
	min-height: 44px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff7813, #ff5e00) !important;
	box-shadow: 0 5px 12px rgba(255, 101, 11, .23);
	color: #fff !important;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	transition: transform .2s ease, box-shadow .2s ease;
}

.nap-articles-search button:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(255, 101, 11, .28); }

.nap-articles-hero__index {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-left: 0;
	padding: 6px 13px 6px 0;
	border-right: 2px solid var(--article-orange);
	color: #2879b5;
	direction: ltr;
	font-family: Arial, sans-serif;
	font-size: 10px;
	letter-spacing: .02em;
}

.nap-articles-main {
	position: relative;
	padding: 22px 0 82px;
	background:
		radial-gradient(ellipse at 100% 0, rgba(211, 235, 251, .45), transparent 35%),
		linear-gradient(180deg, #f8fbff 0, #fff 220px);
}

.nap-articles-topics {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 32px;
}

.nap-articles-topic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 8px 17px;
	border: 1px solid #d9e6f4;
	border-radius: 999px;
	background: rgba(255, 255, 255, .84);
	box-shadow: 0 4px 12px rgba(42, 85, 128, .035);
	color: #15385b !important;
	font-size: 13px;
	font-weight: 650;
	text-decoration: none !important;
	white-space: nowrap;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.nap-articles-topic svg {
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
}

.nap-articles-topic:hover {
	transform: translateY(-2px);
	border-color: #98c8eb;
	box-shadow: 0 9px 18px rgba(42, 85, 128, .1);
}

.nap-articles-topic.is-active {
	border-color: #092c47;
	background: linear-gradient(135deg, #082c47, #0a3b5b);
	box-shadow: 0 8px 18px rgba(5, 41, 66, .16);
	color: #fff !important;
}

.nap-articles-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 18px;
}

.nap-articles-section-heading__eyebrow {
	margin-bottom: 2px;
	color: #7b8da5;
	font-size: 11px;
}

.nap-articles-section-heading h2 {
	position: relative;
	display: table;
	margin: 0 0 2px;
	color: var(--article-navy) !important;
	font-family: var(--nap-display, var(--nap-font, Tahoma, sans-serif));
	font-size: clamp(24px, 2.3vw, 34px);
	font-weight: 900;
	line-height: 1.5;
}

.nap-articles-section-heading h2::after {
	position: absolute;
	content: "";
	right: 0;
	bottom: 1px;
	width: 54px;
	height: 4px;
	border-radius: 99px;
	background: linear-gradient(90deg, #ffb45b, var(--article-orange));
}

.nap-articles-section-heading p {
	margin: 0;
	color: #8191a8;
	font-size: 12px;
	line-height: 1.8;
}

.nap-articles-view-all {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	color: #087aca !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
}

.nap-articles-view-all i,
.nap-article-card__read i {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e8f5fd;
	color: #078ce5;
	font-style: normal;
	transition: transform .18s ease, background .18s ease, color .18s ease;
}

.nap-articles-view-all svg,
.nap-article-card__read svg { width: 20px; height: 20px; }
.nap-articles-view-all:hover i { transform: translateX(-3px); background: #078ce5; color: #fff; }

.nap-articles-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row;
	gap: 13px;
	direction: rtl;
}

.nap-article-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #dce8f5;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(40, 82, 126, .055);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.nap-article-card:hover {
	transform: translateY(-4px);
	border-color: #c4d9ee;
	box-shadow: 0 15px 30px rgba(40, 82, 126, .12);
}

.nap-article-card--featured { grid-column: span 2; }

.nap-article-card__media {
	position: relative;
	display: block;
	height: 174px;
	overflow: hidden;
	background: #dceaf6;
	text-decoration: none !important;
}

.nap-article-card--featured .nap-article-card__media { height: 230px; }

.nap-article-card__media::after {
	position: absolute;
	inset: 40% 0 0;
	content: "";
	background: linear-gradient(180deg, transparent, rgba(1, 20, 39, .32));
	pointer-events: none;
}

.nap-article-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.nap-article-card:hover .nap-article-card__media img { transform: scale(1.045); }

.nap-article-card__category,
.nap-article-card__date,
.nap-article-card__featured {
	position: absolute;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 650;
}

.nap-article-card__category {
	right: 13px;
	bottom: 12px;
	padding: 5px 11px;
	background: linear-gradient(110deg, #079eea, #047acb);
	box-shadow: 0 4px 10px rgba(0, 80, 140, .22);
	color: #fff;
}

.nap-article-card__date {
	top: 12px;
	left: 12px;
	padding: 6px 9px;
	background: rgba(255, 255, 255, .92);
	color: #355878;
	box-shadow: 0 3px 12px rgba(4, 31, 54, .12);
}

.nap-article-card__date svg { width: 15px; height: 15px; }

.nap-article-card__featured {
	top: 12px;
	right: 12px;
	padding: 6px 12px;
	background: linear-gradient(110deg, #ff7b18, #ff5f05);
	color: #fff;
}

.nap-article-card__featured b { font-size: 14px; }

.nap-article-card__body {
	position: relative;
	padding: 12px 15px 13px;
	text-align: right;
}

.nap-article-card__body h3 {
	margin: 0 0 7px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.8;
}

.nap-article-card--featured .nap-article-card__body h3 { font-size: 18px; }

.nap-article-card__body h3 a {
	color: var(--article-ink) !important;
	text-decoration: none !important;
}

.nap-article-card__body h3 a:hover { color: #087fc9 !important; }

.nap-article-card__body p {
	min-height: 42px;
	margin: 0 0 8px;
	color: #798aa2;
	font-size: 11.5px;
	line-height: 1.9;
}

.nap-article-card--featured .nap-article-card__body p { font-size: 12px; }

.nap-article-card__read {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #078ce5 !important;
	font-size: 12px;
	font-weight: 750;
	text-decoration: none !important;
}

.nap-article-card__read i { width: 29px; height: 29px; background: #078ce5; color: #fff; }
.nap-article-card__read svg { width: 17px; height: 17px; }
.nap-article-card__read:hover i { transform: translateX(-3px); background: #056fae; }

.nap-articles-pagination { display: flex; justify-content: center; margin-top: 32px; }
.nap-articles-pagination ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nap-articles-pagination li { margin: 0; }
.nap-articles-pagination a,
.nap-articles-pagination span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid #d8e6f4; border-radius: 50%; background: #fff; color: #315878; font-size: 13px; text-decoration: none; }
.nap-articles-pagination .current { border-color: #082c47; background: #082c47; color: #fff; }

.nap-articles-empty {
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 48px 20px;
	border: 1px dashed #cadced;
	border-radius: 16px;
	background: rgba(255, 255, 255, .76);
	text-align: center;
}

.nap-articles-empty > span { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; background: #e9f5fd; color: #078ce5; }
.nap-articles-empty svg { width: 24px; height: 24px; }
.nap-articles-empty h3 { margin: 0 0 5px; color: var(--article-ink) !important; font-size: 19px; }
.nap-articles-empty p { margin: 0 0 14px; color: var(--article-muted); font-size: 13px; }
.nap-articles-empty a { color: #078ce5 !important; font-size: 13px; font-weight: 700; }

@media (max-width: 1050px) {
	.nap-articles-hero { background-position: center; }
	.nap-articles-hero__index { display: none; }
	.nap-articles-hero__copy { width: min(610px, 64%); }
	.nap-articles-topics { justify-content: flex-start; overflow-x: auto; padding: 3px 2px 9px; scrollbar-width: thin; }
	.nap-articles-topic { flex: 0 0 auto; }
	.nap-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nap-article-card--featured { grid-column: span 2; }
	.nap-article-card__media { height: 205px; }
	.nap-article-card--featured .nap-article-card__media { height: 280px; }
}

@media (max-width: 640px) {
	.nap-articles-shell { width: calc(100% - 32px); }
	.nap-articles-hero {
		min-height: 385px;
		background-image:
			linear-gradient(180deg, rgba(245, 250, 255, .12) 0%, rgba(245, 250, 255, .58) 34%, #f5faff 66%, #f5faff 100%),
			url("../img/articles-hero-v2.png");
		background-position: center, 34% top;
		background-size: cover, auto 250px;
	}
	.nap-articles-hero__inner { align-items: flex-end; min-height: 385px; }
	.nap-articles-hero__copy { width: 100%; margin: 0; padding: 180px 0 22px; }
	.nap-articles-eyebrow { font-size: 10px; }
	.nap-articles-hero h1 { margin: 6px 0 1px; font-size: clamp(25px, 8vw, 34px); line-height: 1.55; }
	.nap-articles-hero h1 em::after { height: 4px; }
	.nap-articles-hero__copy > p { margin-bottom: 13px; font-size: 11px; }
	.nap-articles-search { min-height: 48px; gap: 8px; padding: 4px 5px 4px 11px; }
	.nap-articles-search input { height: 38px; font-size: 11px; }
	body.napnet .nap-articles-search button { min-width: 76px; min-height: 38px; padding: 0 13px; font-size: 11px; }
	.nap-articles-main { padding: 15px 0 52px; }
	.nap-articles-topics { width: calc(100% - 24px); gap: 7px; margin-bottom: 20px; }
	.nap-articles-topic { min-height: 40px; gap: 7px; padding: 7px 12px; font-size: 11px; }
	.nap-articles-topic svg { width: 18px; height: 18px; flex-basis: 18px; }
	.nap-articles-section-heading { align-items: flex-start; gap: 8px; margin-bottom: 12px; }
	.nap-articles-section-heading__eyebrow { font-size: 9px; }
	.nap-articles-section-heading h2 { font-size: 23px; }
	.nap-articles-section-heading p { max-width: 255px; font-size: 10px; }
	.nap-articles-view-all { gap: 6px; margin-top: 13px; font-size: 10px; white-space: nowrap; }
	.nap-articles-view-all i { width: 29px; height: 29px; }
	.nap-articles-view-all svg { width: 17px; height: 17px; }
	.nap-articles-grid { grid-template-columns: 1fr; gap: 11px; }
	.nap-article-card--featured { grid-column: auto; }
	.nap-article-card__media { height: 200px; }
	.nap-article-card--featured .nap-article-card__media { height: 220px; }
	.nap-article-card__body { padding: 11px 13px 12px; }
	.nap-article-card__body h3,
	.nap-article-card--featured .nap-article-card__body h3 { font-size: 14px; }
	.nap-article-card__body p { min-height: 0; margin-bottom: 8px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	.nap-articles *, .nap-articles *::before, .nap-articles *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
