/* /news/ public pages (nwx-) */
.nwx { --ink: #1A1208; --ink2: #5b5142; --cream: #FAF7F2; --line: #E0D5C0; --teal: #0E4A5A; --teal2: #2A8AA0; --gold: #B88932; --gold2: #E8C96A;
	background: var(--cream); color: var(--ink); font-family: "Noto Sans JP", system-ui, sans-serif; padding-bottom: 64px; }
.nwx *, .nwx *::before, .nwx *::after { box-sizing: border-box; }
.nwx a { color: inherit; }
.nwx-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.nwx-head { background: var(--teal); color: #fff; padding: 112px 0 28px; position: relative; overflow: hidden; }
.nwx-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold)); }
.nwx-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--gold2); }
.nwx-mast { margin: 0; font-family: "Noto Serif JP", serif; font-weight: 700; font-size: clamp(30px, 7vw, 46px); line-height: 1.2; }
.nwx-mast a { text-decoration: none; color: #fff; }
.nwx-lead { margin: 10px 0 16px; opacity: .88; font-size: 15px; }
.nwx-langs { display: inline-flex; background: rgba(255,255,255,.14); border-radius: 999px; padding: 3px; }
.nwx-langs button { border: 0; background: none; color: #fff; padding: 5px 14px; border-radius: 999px; font: 700 13px/1.4 "Noto Sans JP", sans-serif; cursor: pointer; }
.nwx-langs button[data-nl="fa"] { font-family: Vazirmatn, sans-serif; }
.nwx-langs button.on { background: #fff; color: var(--teal); }

.nwx-main { padding-top: 18px; }
.nwx-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.nwx-chips::-webkit-scrollbar { display: none; }
.nwx-chips a { flex: none; text-decoration: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.nwx-chips a.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.nwx-day { font-size: 14px; font-weight: 800; color: var(--teal); margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.nwx-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 10px; }
.nwx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--ink2); font-variant-numeric: lining-nums tabular-nums; }
.nwx-tag { text-decoration: none; padding: 1px 8px; border-radius: 4px; font-weight: 700; color: #fff !important; background: var(--ink2); }
.nwx-t-politics { background: #7a2e2e; } .nwx-t-iranjapan { background: var(--gold); } .nwx-t-culture { background: var(--teal); }
.nwx-t-economy { background: #3d5a2a; } .nwx-t-society { background: #5b5142; } .nwx-t-community { background: #6a4c8c; }
.nwx-flag { color: #9a6400; border: 1px solid currentColor; border-radius: 4px; padding: 0 6px; font-weight: 700; }
.nwx-title { margin: 8px 0 6px; font-size: 18px; line-height: 1.55; font-weight: 800; }
.nwx-title a { text-decoration: none; }
.nwx-title a:hover { color: var(--teal2); }
.nwx-full .nwx-title { font-size: clamp(22px, 5vw, 28px); }
.nwx-body { font-size: 15px; line-height: 1.95; color: #2c241a; }
.nwx-body p { margin: 0 0 .8em; }
.nwx-card:not(.nwx-full) .nwx-body p:last-child { margin-bottom: 0; }
.nwx-src { margin: 10px 0 0; font-size: 12.5px; color: var(--ink2); }
.nwx-src a { color: var(--teal2); }
.nwx-back { margin: 0 0 10px; font-size: 14px; }
.nwx-back a { text-decoration: none; color: var(--teal2); font-weight: 700; }
.nwx-more { margin-top: 30px; }
.nwx-empty { text-align: center; padding: 48px 0; color: var(--ink2); }
.nwx-pages { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.nwx-pages .page-numbers { min-width: 36px; text-align: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-decoration: none; font-weight: 700; }
.nwx-pages .current { background: var(--ink); color: var(--cream); }

/* Persian */
.nwx.is-fa .nwx-card, .nwx.is-fa .nwx-lead, .nwx.is-fa .nwx-mast, .nwx.is-fa .nwx-day, .nwx.is-fa .nwx-chips, .nwx.is-fa .nwx-back, .nwx.is-fa .nwx-eyebrow, .nwx.is-fa .nwx-empty { direction: rtl; font-family: Vazirmatn, "Noto Sans JP", sans-serif; }
.nwx.is-fa .nwx-mast { font-weight: 800; }
.nwx.is-fa .nwx-body { line-height: 2.05; }
.nwx.is-en .nwx-card, .nwx.is-en .nwx-lead { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
@media (max-width: 600px) { .nwx-head { padding-top: 84px; } .nwx-card { padding: 14px; } .nwx-title { font-size: 17px; } }

/* photo */
.nwx-img { margin: -16px -18px 12px; border-radius: 8px 8px 0 0; overflow: hidden; background: #e9e2d4; aspect-ratio: 16 / 9; }
.nwx-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nwx-full .nwx-img { aspect-ratio: auto; max-height: 520px; }
.nwx-full .nwx-img img { height: auto; max-height: 520px; }
@media (max-width: 600px) { .nwx-img { margin: -14px -14px 10px; } }
