/*
 * خبرگزاری ایونتی / مجله ایونتی — طرحِ نیوزروم (فهرست + صفحهٔ مقاله).
 * فقط از توکن‌های تم می‌خواند (روشن/تیره/رنگِ برند): --accent-rgb، --accent-ink، --surface-fg، --text-muted، --panel-bg-1.
 */
.nr {
    --nr-acc: rgb(var(--accent-rgb, 91, 63, 216));
    --nr-ink: var(--accent-ink, #4c2fb0);
    --nr-fg: var(--surface-fg, #1c1917);
    --nr-muted: var(--text-muted, #52525b);
    --nr-card: var(--panel-bg-1, rgba(255, 255, 255, .86));
    --nr-line: rgba(var(--accent-rgb, 91, 63, 216), .16);
    --nr-sh: 0 12px 30px -18px rgba(var(--accent-rgb, 91, 63, 216), .38);
    --nr-teal: #0fa392;
    color: var(--nr-fg);
    font-family: 'Vazirmatn', system-ui, sans-serif;
}
html.dark .nr { --nr-ink: #c4b5fd; --nr-sh: 0 16px 36px -20px rgba(0, 0, 0, .85); --nr-teal: #2dd4bf; }
.nr a { text-decoration: none; color: inherit; }
.nr svg.nr-ic { width: 22px; height: 22px; flex: none; }
.nr-wrap { max-width: 1180px; margin-inline: auto; padding: 18px 20px 64px; }

/* ── سرتیتر ── */
.nr-head { margin: 18px 0 20px; text-align: start; }
.nr-h1 { display: flex; align-items: center; margin: 0; font-size: clamp(1.8rem, 4.2vw, 2.7rem); font-weight: 900; line-height: 1.4; }
.nr-slash { display: inline-block; flex: none; width: 6px; height: 1.15em; margin-inline-end: .55rem; border-radius: 2px; background: var(--nr-acc); transform: skewX(-18deg); }
.nr-sub { margin: .3rem 0 0; color: var(--nr-muted); font-size: 1rem; line-height: 1.9; }
.nr-eyebrow { margin: .8rem 0 0; font-size: .66rem; font-weight: 700; letter-spacing: .32em; color: rgba(var(--accent-rgb, 91, 63, 216), .6); }
.nr-h2 { display: flex; align-items: center; margin: 0 0 14px; font-size: 1.2rem; font-weight: 900; }
.nr-h2 .nr-slash { height: 1.05em; }
.nr-count { margin: 0 0 12px; color: var(--nr-muted); font-size: .85rem; }

/* ── نوارِ دسته‌ها ── */
.nr-cats { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.nr-cats::-webkit-scrollbar { display: none; }
.nr-cat {
    flex: 1 1 0; min-width: 84px; max-width: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 8px; border-radius: 14px; border: 1px solid var(--nr-line); background: var(--nr-card);
    color: var(--nr-muted); font-size: .72rem; font-weight: 700; line-height: 1.5; text-align: center;
    transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.nr-cat svg { color: var(--nr-ink); }
.nr-cat:hover { background: rgba(var(--accent-rgb, 91, 63, 216), .1); color: var(--nr-ink); transform: translateY(-2px); }
.nr-cat.is-on { background: var(--nr-acc); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px rgba(var(--accent-rgb, 91, 63, 216), .7); }
.nr-cat.is-on svg { color: #fff; }
.nr-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.nr-chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--nr-line); background: var(--nr-card); font-size: .78rem; font-weight: 700; color: var(--nr-muted); transition: background-color .15s, color .15s; }
.nr-chip:hover, .nr-chip.is-on { background: rgba(var(--accent-rgb, 91, 63, 216), .14); color: var(--nr-ink); }

/* ── جست‌وجو ── */
.nr-search { margin: 0 0 16px; border: 1px solid var(--nr-line); border-radius: 14px; background: var(--nr-card); }
.nr-search > summary { padding: .65rem 1rem; cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--nr-muted); list-style: none; }
.nr-search > summary::-webkit-details-marker { display: none; }
.nr-search[open] > summary { color: var(--nr-ink); }
.nr-search__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 1rem 1rem; }
.nr-search__q { flex: 1 1 260px; }
.nr-search__l { font-size: .8rem; color: var(--nr-muted); }
.nr-search__d { width: 9.5rem; }

/* ── اسلایدرِ گزارشِ ویژه ── */
.nr-hero { position: relative; margin: 14px 0 32px; min-height: 300px; aspect-ratio: 16 / 6.6; overflow: hidden; border-radius: 22px; background: #0e0a24; color: #fff; box-shadow: var(--nr-sh); }
.nr-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.nr-hero__slide.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.nr-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nr-hero__shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(10, 8, 30, .9) 0%, rgba(10, 8, 30, .6) 42%, rgba(10, 8, 30, 0) 80%); }
.nr-hero__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; width: min(560px, 68%); height: 100%; padding: 28px 34px; text-align: start; }
.nr-hero__t { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.7; }
.nr-hero__x { margin: 0; color: rgba(255, 255, 255, .82); font-size: .88rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nr-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.nr-hero__d { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255, 255, 255, .8); }
.nr-hero__d svg, .nr-card__d svg { width: 14px; height: 14px; }
.nr-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: .5rem 1.15rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); color: #fff !important; font-size: .8rem; font-weight: 800; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background-color .15s; }
.nr-btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.nr-hero__arrow { position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; margin-top: -19px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #3b22a8; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); cursor: pointer; transition: transform .15s; }
.nr-hero__arrow:hover { transform: scale(1.08); }
.nr-hero__arrow svg { width: 18px; height: 18px; }
.nr-hero__arrow--l { left: 14px; }
.nr-hero__arrow--r { right: 14px; }
.nr-hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.nr-hero__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s, background-color .2s; }
.nr-hero__dots button.is-on { width: 22px; background: #fff; }

/* ── چیدمان ── */
.nr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.nr-layout--article { grid-template-columns: minmax(0, 1fr) 290px; }
.nr-main { min-width: 0; }
.nr-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nr-pill { display: inline-flex; align-items: center; width: -webkit-fit-content; width: fit-content; padding: 3px 12px; border-radius: 999px; background: rgba(var(--accent-rgb, 91, 63, 216), .12); color: var(--nr-ink); font-size: .7rem; font-weight: 800; line-height: 1.7; }
.nr-pill--solid { background: var(--nr-acc); color: #fff; }

/* ── کارت‌ها ── */
.nr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; transition: opacity .2s; }
.nr-grid.is-loading { opacity: .5; }
.nr-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--nr-card); border: 1px solid var(--nr-line); box-shadow: var(--nr-sh); transition: transform .2s, box-shadow .2s; }
.nr-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(var(--accent-rgb, 91, 63, 216), .55); }
.nr-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #1b1633; }
.nr-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nr-card:hover .nr-card__img img { transform: scale(1.05); }
.nr-card__ph { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 70% 25%, rgba(var(--accent-rgb, 91, 63, 216), .55), #1b1633 70%); }
.nr-card__pill { position: absolute; inset-inline-end: 10px; bottom: 10px; background: #fff; color: #4c2fb0; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.nr-card__b { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.nr-card__t { font-size: .95rem; font-weight: 800; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.nr-card:hover .nr-card__t { color: var(--nr-ink); }
.nr-card__d { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; color: var(--nr-muted); font-size: .72rem; }
.nr-empty { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; border-radius: 18px; border: 1px dashed var(--nr-line); color: var(--nr-muted); }
.nr-pages { margin-top: 22px; }

/* ── کارتِ پهن ── */
.nr-wide { display: grid; grid-template-columns: 1fr 1.08fr; overflow: hidden; margin: 28px 0; border-radius: 20px; background: var(--nr-card); border: 1px solid var(--nr-line); box-shadow: var(--nr-sh); }
.nr-wide__b { order: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 22px 24px; }
.nr-wide__img { order: 2; width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.nr-wide__t { margin: 0; font-size: 1.25rem; font-weight: 900; line-height: 1.75; }
.nr-wide__t a:hover { color: var(--nr-ink); }
.nr-wide__x { margin: 0; color: var(--nr-muted); font-size: .86rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nr-more { display: inline-flex; align-items: center; gap: 6px; color: var(--nr-ink) !important; font-size: .82rem; font-weight: 800; }

/* ── اسکرولِ افقی (دسته‌ها / پیشنهادها) ── */
.nr-catcar { margin-top: 30px; }
.nr-car { position: relative; }
.nr-car__track { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nr-car__track::-webkit-scrollbar { display: none; }
.nr-car__btn { position: absolute; top: 38%; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--nr-line); border-radius: 50%; background: var(--nr-card); color: var(--nr-ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); cursor: pointer; }
.nr-car__btn svg { width: 16px; height: 16px; }
.nr-car__btn--l { left: -8px; }
.nr-car__btn--r { right: -8px; }
.nr-cc { flex: 0 0 124px; scroll-snap-align: start; overflow: hidden; border-radius: 14px; background: var(--nr-card); border: 1px solid var(--nr-line); text-align: center; transition: transform .2s; }
.nr-cc:hover { transform: translateY(-3px); }
.nr-cc__img { display: block; aspect-ratio: 1 / .8; background: #1b1633; overflow: hidden; }
.nr-cc__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nr-cc__n { display: block; padding: 8px 6px 10px; font-size: .74rem; font-weight: 800; line-height: 1.6; }
.nr-car__track--cards .nr-card { flex: 0 0 262px; scroll-snap-align: start; }

/* ── ردیفِ پایین: پربازدید + بلوک‌های دسته ── */
.nr-bottom { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 36px; }
.nr-bottom > * { min-width: 0; }
@media (max-width: 1180px) { .nr-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nr-pop { grid-column: 1 / -1; } }
.nr-pop__l { margin: 0; padding: 0; list-style: none; }
.nr-pop__l li + li { border-top: 1px dashed var(--nr-line); }
.nr-pop__l a { display: flex; align-items: center; gap: 12px; padding: 11px 2px; font-size: .86rem; font-weight: 700; line-height: 1.7; transition: color .15s; }
.nr-pop__l a:hover { color: var(--nr-ink); }
.nr-pop__l i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--accent-rgb, 91, 63, 216), .14); color: var(--nr-ink); font-style: normal; font-size: .76rem; font-weight: 900; }
.nr-pop__l span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nr-blk__c { min-width: 0; display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: var(--nr-card); border: 1px solid var(--nr-line); box-shadow: var(--nr-sh); transition: transform .2s; }
.nr-blk__c:hover { transform: translateY(-3px); }
.nr-blk__img { flex: none; width: 124px; height: 112px; overflow: hidden; border-radius: 14px; background: #1b1633; }
.nr-blk__b { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.nr-blk__b b { font-size: .86rem; font-weight: 800; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nr-blk__b small { color: var(--nr-muted); font-size: .72rem; }

/* ── ستونِ کناری ── */
.nr-box { padding: 16px; border-radius: 18px; background: var(--nr-card); border: 1px solid var(--nr-line); box-shadow: var(--nr-sh); }
.nr-box__t { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1rem; font-weight: 900; }
.nr-box__t svg { width: 20px; height: 20px; color: var(--nr-ink); flex: none; }
.nr-box__t .nr-slash { height: 1em; }
.nr-ev { margin: 0; padding: 0; list-style: none; }
.nr-ev li + li { border-top: 1px solid var(--nr-line); }
.nr-ev__a { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.nr-ev__img { flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 12px; background: #1b1633; }
.nr-ev__b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nr-ev__b b { font-size: .84rem; font-weight: 800; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nr-ev__b small { color: var(--nr-muted); font-size: .72rem; }
.nr-ev__a:hover b { color: var(--nr-ink); }
.nr-box__more { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 9px; border-radius: 12px; background: rgba(var(--accent-rgb, 91, 63, 216), .1); color: var(--nr-ink) !important; font-size: .8rem; font-weight: 800; transition: background-color .15s; }
.nr-box__more:hover { background: rgba(var(--accent-rgb, 91, 63, 216), .18); }
.nr-tags, .nr-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nr-tagrow { margin: 20px 0; }
.nr-tagrow__l { font-size: .85rem; font-weight: 800; color: var(--nr-muted); }
.nr-tag { display: inline-flex; padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb, 91, 63, 216), .26); background: rgba(var(--accent-rgb, 91, 63, 216), .08); color: var(--nr-ink); font-size: .76rem; font-weight: 700; transition: background-color .15s, color .15s; }
.nr-tag:hover, .nr-tag.is-first { background: var(--nr-acc); color: #fff; border-color: transparent; }
.nr-promo { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 20px; overflow: hidden; border-radius: 18px; color: #fff !important; background: radial-gradient(120% 90% at 100% 0%, rgba(0, 194, 168, .35), transparent 60%), linear-gradient(135deg, #6a44ea, #3b22a8 60%, #1d1054); box-shadow: var(--nr-sh); }
.nr-promo__art { position: absolute; inset-inline-end: -6px; bottom: 6px; width: 62%; opacity: .55; pointer-events: none; }
.nr-promo b, .nr-promo span { position: relative; z-index: 1; }
.nr-promo b { font-size: 1.05rem; font-weight: 900; line-height: 1.8; max-width: 80%; }
.nr-promo span { font-size: .82rem; opacity: .85; }
.nr-promo i { position: absolute; inset-inline-end: 16px; bottom: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #00c2a8; color: #fff; transition: transform .2s; }
.nr-promo i svg { width: 18px; height: 18px; }
.nr-promo:hover i { transform: scale(1.1); }

/* ── خبرنامه ── */
.nr-nl { position: relative; padding: 18px; border-radius: 18px; background: var(--nr-card); border: 1px solid var(--nr-line); box-shadow: var(--nr-sh); text-align: start; }
.nr-nl__ico { position: absolute; inset-inline-end: 16px; top: 16px; width: 26px; height: 26px; color: var(--nr-ink); }
.nr-nl__t { margin: 0; padding-inline-end: 38px; font-size: 1rem; font-weight: 900; line-height: 1.8; }
.nr-nl__d { margin: 4px 0 12px; color: var(--nr-muted); font-size: .78rem; line-height: 1.9; }
.nr-nl__form { display: flex; gap: 8px; }
.nr-nl__in { flex: 1 1 auto; min-width: 0; padding: .6rem .8rem; border-radius: 12px; border: 1px solid var(--nr-line); background: var(--field-bg, #fff); color: var(--field-fg, inherit); font: inherit; font-size: .82rem; text-align: start; }
.nr-nl__in:focus { outline: none; border-color: var(--nr-acc); box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 91, 63, 216), .18); }
.nr-nl__btn { flex: none; padding: 0 1.1rem; border: 0; border-radius: 12px; background: var(--nr-acc); color: #fff; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; transition: filter .15s; }
.nr-nl__btn:hover { filter: brightness(1.1); }
.nr-nl__btn:disabled { opacity: .6; cursor: wait; }
.nr-nl__ok { margin: 0; padding: .7rem; border-radius: 12px; background: rgba(0, 194, 168, .14); color: var(--nr-teal); font-size: .82rem; font-weight: 800; text-align: center; }
.nr-nl__err { margin: 6px 0 0; color: #e11d48; font-size: .76rem; }
.nr-nl--mint { text-align: center; background: linear-gradient(180deg, rgba(0, 194, 168, .14), rgba(0, 194, 168, .06)); border-color: rgba(0, 194, 168, .3); }
.nr-nl--mint .nr-nl__ico { position: static; display: block; margin: 0 auto 8px; width: 38px; height: 38px; color: var(--nr-teal); }
.nr-nl--mint .nr-nl__t { padding: 0; }
.nr-nl--mint .nr-nl__form { flex-direction: column; }
.nr-nl--mint .nr-nl__in { text-align: center; }
.nr-nl--mint .nr-nl__btn { padding: .7rem; background: var(--nr-teal); color: #fff; }
html.dark .nr-nl--mint .nr-nl__btn { color: #042f2a; }

/* ── مقاله ── */
.nr-art__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.nr-art__h1 { margin: 0; font-size: clamp(1.45rem, 3.4vw, 2.15rem); font-weight: 900; line-height: 1.75; }
.nr-art__sub { margin: 0; color: var(--nr-muted); font-size: 1rem; line-height: 2; }
.nr-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--nr-muted); font-size: .8rem; }
.nr-meta li { display: inline-flex; align-items: center; gap: 6px; }
.nr-meta svg { width: 16px; height: 16px; color: var(--nr-ink); }
.nr-meta__by b { color: var(--nr-ink); font-weight: 800; }
.nr-cover { position: relative; margin: 18px 0 20px; overflow: hidden; border-radius: 20px; box-shadow: var(--nr-sh); }
.nr-cover__img { display: block; width: 100%; max-height: 470px; object-fit: cover; }
.nr-cover__play { position: absolute; inset-inline-end: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 12px; padding: 7px 8px 7px 18px; border-radius: 999px; background: rgba(10, 8, 30, .6); color: #fff !important; font-size: .78rem; font-weight: 800; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nr-cover__lbl { display: flex; flex-direction: column; gap: 1px; line-height: 1.5; }
.nr-cover__lbl small { font-size: .7rem; font-weight: 700; opacity: .8; direction: ltr; text-align: start; }
.nr-cover__play i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #5b3fd8; }
.nr-cover__play i svg { width: 18px; height: 18px; margin-inline-start: 2px; }
.nr-lead { margin: 18px 0; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--nr-line); border-inline-start: 4px solid var(--nr-acc); background: rgba(var(--accent-rgb, 91, 63, 216), .07); font-weight: 700; line-height: 2.05; }
.nr-prose { font-size: 1rem; line-height: 2.15; color: var(--nr-fg); overflow-wrap: anywhere; }
.nr-prose > :first-child { margin-top: 0; }
.nr-prose p { margin: 0 0 1.15rem; }
.nr-prose h2, .nr-prose h3 { display: flex; align-items: center; gap: .6rem; margin: 2rem 0 .8rem; font-weight: 900; line-height: 1.7; }
.nr-prose h2 { font-size: 1.32rem; }
.nr-prose h3 { font-size: 1.12rem; }
.nr-prose h2::before { content: ''; flex: none; width: 6px; height: 1.1em; border-radius: 2px; background: var(--nr-acc); transform: skewX(-18deg); }
.nr-prose blockquote { position: relative; margin: 1.6rem 0; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--nr-line); border-inline-start: 4px solid var(--nr-acc); background: rgba(var(--accent-rgb, 91, 63, 216), .07); font-weight: 700; font-style: normal; }
.nr-prose blockquote::after { content: '\201D'; position: absolute; inset-inline-end: 16px; top: 4px; font-size: 3.4rem; line-height: 1; color: rgba(var(--accent-rgb, 91, 63, 216), .35); }
.nr-prose blockquote p:last-child { margin-bottom: 0; }
.nr-prose img { display: block; max-width: 100%; height: auto; margin: 1.4rem auto; border-radius: 16px; }
.nr-prose a { color: var(--nr-ink); text-decoration: underline; text-underline-offset: 3px; }
.nr-prose ul, .nr-prose ol { margin: 0 0 1.15rem; padding-inline-start: 1.5rem; }
.nr-prose ul { list-style: disc; }
.nr-prose ol { list-style: decimal; }
.nr-prose table { display: block; max-width: 100%; margin: 1.2rem 0; overflow-x: auto; border-collapse: collapse; }
.nr-prose th, .nr-prose td { padding: .5rem .8rem; border: 1px solid var(--nr-line); }
.nr-prose iframe, .nr-prose video { max-width: 100%; border-radius: 14px; }
.nr-embeds { display: grid; gap: 18px; margin-top: 22px; }
.nr-evcard { display: flex; align-items: center; gap: 14px; margin: 26px 0 8px; padding: 14px; border-radius: 18px; background: var(--nr-card); border: 1px solid var(--nr-line); box-shadow: var(--nr-sh); }
.nr-evcard__img { order: 1; flex: none; width: 88px; height: 88px; overflow: hidden; border-radius: 14px; background: #1b1633; }
.nr-evcard__b { order: 2; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nr-evcard__b b { font-size: 1rem; font-weight: 900; line-height: 1.7; }
.nr-evcard__b small { display: inline-flex; align-items: center; gap: 6px; color: var(--nr-muted); font-size: .76rem; }
.nr-evcard__b small svg { width: 15px; height: 15px; color: var(--nr-ink); }
.nr-evcard__cta { order: 3; flex: none; margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; padding: .75rem 1.3rem; border-radius: 12px; background: var(--nr-teal); color: #fff !important; font-size: .84rem; font-weight: 900; box-shadow: 0 10px 22px -12px var(--nr-teal); transition: filter .15s; }
html.dark .nr-evcard__cta { color: #042f2a !important; }
.nr-evcard__cta:hover { filter: brightness(1.08); }
.nr-eng { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: var(--nr-card); border: 1px solid var(--nr-line); box-shadow: var(--nr-sh); }
.nr-eng__rate { min-width: 0; }
.nr-eng__acts { display: flex; align-items: center; gap: 8px; }
.nr-eng__share { flex: 1 1 100%; padding-top: 14px; border-top: 1px dashed var(--nr-line); }
.nr-ibtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--nr-line); background: var(--nr-card); color: var(--nr-ink); cursor: pointer; transition: background-color .15s, color .15s, transform .15s; -webkit-tap-highlight-color: transparent; }
.nr-ibtn:hover { background: rgba(var(--accent-rgb, 91, 63, 216), .12); transform: translateY(-1px); }
.nr-ibtn.is-on { background: var(--nr-acc); border-color: transparent; color: #fff; }
.nr-ibtn svg { width: 18px; height: 18px; }
.nr-more { position: relative; }
.nr-more__menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 180px; padding: 6px; border-radius: 14px; background: var(--nr-card); border: 1px solid var(--nr-line); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html:not(.dark) .nr-more__menu { background: #fff; }
html.dark .nr-more__menu { background: #17171d; }
.nr-more__menu > * { display: block; width: 100%; padding: .55rem .8rem; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; font-size: .84rem; font-weight: 700; text-align: start; cursor: pointer; }
.nr-more__menu > *:hover { background: rgba(var(--accent-rgb, 91, 63, 216), .12); color: var(--nr-ink); }
.nr-relcontent { margin-top: 30px; }
.nr-rel { margin: 0; padding: 0; list-style: none; }
.nr-rel li + li { border-top: 1px solid var(--nr-line); }
.nr-rel__a { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.nr-rel__img { flex: none; width: 66px; height: 66px; overflow: hidden; border-radius: 12px; background: #1b1633; }
.nr-rel__b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nr-rel__b b { font-size: .82rem; font-weight: 800; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nr-rel__b small { color: var(--nr-muted); font-size: .7rem; }
.nr-rel__a:hover b { color: var(--nr-ink); }
.nr-catlist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.nr-catlist a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: .86rem; font-weight: 700; transition: background-color .15s, color .15s; }
.nr-catlist svg { color: var(--nr-ink); }
.nr-catlist a:hover, .nr-catlist a.is-on { background: rgba(var(--accent-rgb, 91, 63, 216), .12); color: var(--nr-ink); }
.nr-sugg { margin-top: 38px; }

/* ── واکنش‌گرا ── */
@media (max-width: 1023px) {
    .nr-layout, .nr-layout--article { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .nr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nr-bottom { grid-template-columns: minmax(0, 1fr); }
    .nr-hero { aspect-ratio: auto; min-height: 340px; }
    .nr-hero__shade { background: linear-gradient(to top, rgba(10, 8, 30, .92) 0%, rgba(10, 8, 30, .55) 55%, rgba(10, 8, 30, .05) 100%); }
    .nr-hero__body { width: 100%; justify-content: flex-end; padding: 22px 20px 38px; }
}
@media (max-width: 640px) {
    .nr-wrap { padding-inline: 14px; }
    .nr-wide { grid-template-columns: minmax(0, 1fr); }
    .nr-wide__img { order: 1; min-height: 190px; max-height: 240px; }
    .nr-wide__b { order: 2; }
    .nr-evcard { flex-wrap: wrap; }
    .nr-evcard__cta { width: 100%; justify-content: center; }
    .nr-hero__arrow { display: none; }
    .nr-car__btn { display: none; }
    .nr-cat { min-width: 76px; padding: 10px 6px; }
}
@media (max-width: 460px) {
    .nr-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .nr-hero__slide, .nr-card, .nr-card__img img, .nr-cat, .nr-cc, .nr-blk__c { transition: none; }
}
