/* NASABYAR NEWS R8.5: scoped to the /news/ page; no global CSS edits. */
:root{--nn-ink:#102b4e;--nn-blue:#155fd2;--nn-teal:#0fb6ae;--nn-muted:#597087;--nn-stroke:#dce8f3}
body{background:#f8fbfe}
.ed-wrap{width:min(1230px,calc(100% - 44px))}
.ed-top{background:rgba(255,255,255,.98);border-bottom:1px solid #e5eef6;box-shadow:0 2px 14px rgba(16,43,78,.035)}
.ed-nav{min-height:82px;gap:26px}
.ed-brand{gap:10px;font-size:24px;font-weight:900;white-space:nowrap}
.ed-brand img{width:46px;height:46px;object-fit:contain}
.ed-nav nav{gap:9px;display:flex;align-items:center;flex-wrap:wrap}
.ed-nav nav a{color:#2b4561;text-decoration:none;font-weight:800;border-radius:12px;padding:10px 13px;transition:background .18s,color .18s}
.ed-nav nav a:hover,.ed-nav nav a[href="/news/"]{background:#ebf5ff;color:#155fd2}
.ed-nav nav a[href="https://app.farasaapp.ir/"]{color:#fff;background:linear-gradient(120deg,#1463e3,#075bb7);box-shadow:0 8px 18px rgba(16,101,206,.16)}
.ny-news-page{background:linear-gradient(180deg,#f5faff,#fff 34%,#f5faff 100%);padding-bottom:70px;color:var(--nn-ink);overflow:hidden}
.ny-news-page *, .ny-news-page *::before,.ny-news-page *::after{box-sizing:border-box}
.ny-news-page a{text-decoration:none}
.ny-news-hero{padding:62px 0 52px;position:relative;background:radial-gradient(circle at 95% 15%,rgba(13,193,189,.14),transparent 27%),radial-gradient(circle at 15% 65%,rgba(54,132,235,.12),transparent 25%),linear-gradient(145deg,#f9fcff,#eef6ff 55%,#f9fefe)}
.ny-news-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.96fr);align-items:center;gap:44px}
.ny-news-crumb{color:#71849b;font-size:.84rem;margin-bottom:23px;display:flex;align-items:center;gap:8px}
.ny-news-crumb a{color:#225d95}
.ny-news-tag{display:inline-flex;align-items:center;gap:9px;background:#fff;color:#087f96;border:1px solid #cdece9;padding:8px 14px;border-radius:50px;font-weight:850;font-size:.86rem;box-shadow:0 9px 25px rgba(13,112,134,.06)}
.ny-news-tag::before{content:"";width:9px;height:9px;display:block;border-radius:50%;background:linear-gradient(145deg,#10d3cb,#1872e0)}
.ny-news-hero h1{font-size:clamp(2.2rem,3.65vw,3.55rem);line-height:1.35;letter-spacing:-.04em;margin:24px 0 14px;color:#102b4e;font-weight:950}
.ny-news-hero h1 em{font-style:normal;background:linear-gradient(105deg,#0aa9a1,#1170d8);background-clip:text;-webkit-background-clip:text;color:transparent}
.ny-news-hero p{font-size:1.065rem;line-height:2.1;color:#4e647d;margin:0 0 14px;max-width:58ch}
.ny-news-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.ny-news-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 22px;border-radius:14px;font-weight:850;font-size:.95rem;border:1px solid #cfddec;color:#214365;background:#fff;transition:transform .18s,box-shadow .18s}
.ny-news-btn:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(16,43,78,.12)}
.ny-news-btn.primary{background:linear-gradient(118deg,#1167d9,#0aa6a7);color:#fff;border:0;box-shadow:0 12px 27px rgba(12,116,179,.2)}
.ny-news-hero-image{margin:0;position:relative;border:7px solid #fff;border-radius:30px;box-shadow:0 25px 52px rgba(16,43,78,.17);overflow:hidden;aspect-ratio:1.44}
.ny-news-hero-image::after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(8,28,51,.52));pointer-events:none}
.ny-news-hero-image img{width:100%;height:100%;object-fit:cover;display:block}
.ny-news-hero-caption{z-index:1;position:absolute;right:22px;bottom:20px;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.6);border-radius:14px;padding:11px 16px;font-size:.85rem;font-weight:850;color:#174267;box-shadow:0 8px 22px rgba(5,23,45,.13)}
.ny-news-section{padding-top:66px}
.ny-news-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.ny-news-kicker{font-weight:900;color:#068a9b;font-size:.85rem;display:block;margin-bottom:10px}
.ny-news-section h2{font-size:clamp(1.5rem,2.65vw,2.2rem);line-height:1.55;color:#102b4e;margin:0 0 9px;font-weight:950}
.ny-news-section-head p{margin:0;color:#647991;font-size:.96rem;line-height:1.9}
.ny-news-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.ny-news-topic{background:#fff;border:1px solid #dce8f3;border-radius:24px;padding:24px 23px;box-shadow:0 9px 24px rgba(19,59,93,.045);position:relative;overflow:hidden;min-height:185px}
.ny-news-topic::before{content:"";position:absolute;right:0;top:0;width:5px;height:100%;background:linear-gradient(#0dbcb5,#1672ce)}
.ny-news-topic-num{display:grid;place-items:center;width:44px;height:44px;background:#e9f8fc;color:#147b9e;border-radius:14px;font-weight:900;font-size:.82rem;margin-bottom:17px}
.ny-news-topic h3{font-size:1.07rem;color:#17375e;line-height:1.7;margin:0 0 6px;font-weight:950}
.ny-news-topic p{margin:0;color:#647b91;font-size:.87rem;line-height:1.9}
.ny-news-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.ny-news-story{background:#fff;border:1px solid #dae7f2;border-radius:26px;overflow:hidden;box-shadow:0 11px 28px rgba(15,53,85,.07);min-width:0;transition:transform .2s,box-shadow .2s}
.ny-news-story:hover{transform:translateY(-4px);box-shadow:0 21px 40px rgba(15,53,85,.12)}
.ny-news-story>a{display:flex;flex-direction:column;height:100%;color:inherit}
.ny-news-story-media{aspect-ratio:1.85;overflow:hidden;background:linear-gradient(130deg,#153a62,#098eaa);display:grid;place-items:center}
.ny-news-story-media img{display:block;width:100%;height:100%;object-fit:cover}
.ny-news-story-placeholder{font-size:1.6rem;color:#fff;opacity:.93;letter-spacing:.02em;font-weight:950}
.ny-news-story-copy{padding:23px 24px 24px;flex:1;display:flex;flex-direction:column}
.ny-news-story-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#058d97;font-size:.8rem;font-weight:900;margin-bottom:10px}
.ny-news-story h3{font-size:1.18rem;line-height:1.75;color:#102b4e;margin:0 0 9px;font-weight:950}
.ny-news-story p{font-size:.9rem;color:#5e748b;line-height:1.95;margin:0 0 15px;flex:1}
.ny-news-story-link{color:#126cc3;font-size:.88rem;font-weight:900}
.ny-news-featured{display:grid;grid-template-columns:1.05fr .95fr;gap:0;overflow:hidden;min-height:330px;background:#102f53;color:#fff;border-radius:28px;box-shadow:0 20px 44px rgba(16,43,78,.18);margin-bottom:22px}
.ny-news-featured .ny-news-story-media{aspect-ratio:auto;min-height:330px}
.ny-news-featured .ny-news-story-copy{padding:40px 42px;justify-content:center}
.ny-news-featured .ny-news-story-meta{color:#70f0e2}
.ny-news-featured h3{color:#fff;font-size:clamp(1.5rem,2.7vw,2.2rem)}
.ny-news-featured p{color:#d7e7f6;font-size:1rem}
.ny-news-featured .ny-news-story-link{color:#82f2e8}
.ny-news-featured a{display:contents}
.ny-news-empty{background:linear-gradient(125deg,#102d52,#155477 63%,#0c9998);border-radius:28px;color:#fff;padding:42px;min-height:225px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 18px 40px rgba(15,46,77,.16)}
.ny-news-empty .ny-news-tag{background:rgba(255,255,255,.15);color:#b3fff5;border-color:rgba(255,255,255,.18);box-shadow:none}
.ny-news-empty h3{margin:16px 0 8px;font-size:clamp(1.3rem,2.4vw,1.8rem);color:#fff}
.ny-news-empty p{color:#e6f7ff;line-height:2;margin:0;max-width:680px}
.ny-news-empty .ny-news-btn{flex-shrink:0}
.ny-news-cross{background:#edf7fb;border-top:1px solid #dcecf4;border-bottom:1px solid #dcecf4;padding-bottom:64px;margin-top:76px}
.ny-news-cross .ny-news-section{padding-top:60px}
.ny-news-bot{margin-top:64px;background:linear-gradient(115deg,#0d2c51,#144a75,#0aa8ad);border-radius:28px;padding:32px 38px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}
.ny-news-bot h2{color:#fff;font-size:1.5rem;line-height:1.5;margin:0 0 7px}
.ny-news-bot p{color:#d7f4f6;line-height:1.9;margin:0}
.ny-news-bot .ny-news-btn{background:#fff;flex-shrink:0}
.ed-footer{background:#eff6fc;padding:26px 0}
.ed-footer .ed-wrap{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
@media (max-width:1100px){.ny-news-hero-inner{grid-template-columns:1fr 1fr;gap:24px}.ny-news-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ny-news-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
 .ed-wrap{width:min(100% - 28px,600px)}.ed-nav{min-height:70px;flex-wrap:wrap;padding:12px 0;gap:10px}.ed-nav nav{width:100%;gap:3px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.ed-nav nav a{white-space:nowrap;padding:8px 11px;font-size:.77rem}
 .ny-news-hero{padding:37px 0 42px}.ny-news-hero-inner{grid-template-columns:1fr;gap:27px}.ny-news-hero h1{font-size:clamp(1.95rem,7vw,2.5rem);margin:19px 0 11px}.ny-news-hero p{font-size:.96rem}.ny-news-hero-image{aspect-ratio:1.6;border-radius:23px;border-width:5px}.ny-news-hero-caption{right:12px;bottom:11px;padding:8px 10px;font-size:.75rem}
 .ny-news-section{padding-top:52px}.ny-news-section-head{align-items:flex-start;flex-direction:column;gap:8px}.ny-news-topic-grid,.ny-news-article-grid{grid-template-columns:1fr;gap:14px}.ny-news-topic{min-height:unset;padding:20px;display:grid;grid-template-columns:48px 1fr;column-gap:14px;align-items:center}.ny-news-topic-num{grid-row:1/3;margin:0}.ny-news-topic h3{margin:0}.ny-news-topic p{grid-column:2}
 .ny-news-featured{grid-template-columns:1fr}.ny-news-featured .ny-news-story-media{min-height:200px;aspect-ratio:1.85}.ny-news-featured .ny-news-story-copy{padding:26px 22px}.ny-news-empty,.ny-news-bot{flex-direction:column;align-items:flex-start;padding:28px 24px;border-radius:24px}.ny-news-empty .ny-news-btn,.ny-news-bot .ny-news-btn{width:100%}.ny-news-cross{margin-top:56px}.ny-news-bot{margin-top:50px}
}
@media(prefers-reduced-motion:reduce){.ny-news-story,.ny-news-btn{transition:none}}