/* News (news.html) and one article (news-article.html) */
[hidden] { display: none !important; }
.nw { max-width: 1240px; margin: 0 auto; padding: 30px 16px 10px; }
.nw a { color: inherit; }

/* page title + ticker */
.nw-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.nw-eyebrow { margin: 0 0 6px; color: var(--gold); font-size: 12.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.nw-top h1 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: 1.5px; color: #f3ead0; font-size: clamp(32px, 4.6vw, 52px); line-height: 1; }
.nw-top p.sub { margin: 8px 0 0; color: var(--muted); max-width: 560px; }
.nw-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.nw-cats button { font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; padding: 7px 14px; border-radius: 999px; color: #c9cfdf; background: #151a2b; border: 1px solid #2c3350; }
.nw-cats button:hover { border-color: #4a5480; color: #fff; }
.nw-cats button[aria-pressed="true"] { color: #1b1300; background: linear-gradient(#ffcc33, #e0a000); border-color: #e0a000; }
.nw-ticker { position: relative; display: flex; align-items: center; overflow: hidden; height: 42px; margin-bottom: 22px; border-radius: 10px;
  background: #0e121d; border: 1px solid #232a40; }
.nw-ticker b { flex: none; z-index: 2; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 16px; font-size: 12px; letter-spacing: 2px;
  color: #1b1300; background: linear-gradient(#ffcc33, #e0a000); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 26px; }
.nw-ticker b i { width: 8px; height: 8px; border-radius: 50%; background: #c0392b; box-shadow: 0 0 0 0 rgba(192, 57, 43, .7); animation: nw-pulse 1.6s infinite; }
.nw-track { display: flex; gap: 46px; white-space: nowrap; padding-left: 24px; animation: nw-scroll 60s linear infinite; }
.nw-ticker:hover .nw-track { animation-play-state: paused; }
.nw-track a { text-decoration: none; color: #d8dbe6; font-size: 14px; }
.nw-track a:hover { color: var(--gold); }
.nw-track a::before { content: "◆"; color: var(--gold); margin-right: 10px; font-size: 10px; vertical-align: 2px; }
@keyframes nw-scroll { to { transform: translateX(-50%); } }
@keyframes nw-pulse { 70% { box-shadow: 0 0 0 8px rgba(192, 57, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); } }

/* image + date under it (every story) */
.nw-pic { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nw-img { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: #0b0f1c; border: 1px solid #262d45; }
.nw-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.nw-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45)); pointer-events: none; }
.nw-cat { position: absolute; z-index: 1; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; color: #1b1300; background: linear-gradient(#ffcc33, #e0a000); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.nw-cat.guide { color: #fff; background: linear-gradient(#4fd18b, #1f8f57); } .nw-cat.community { color: #fff; background: linear-gradient(#8788ee, #5157c4); }
.nw-cat.news { color: #fff; background: linear-gradient(#ff8040, #c0532a); }
.nw-when { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.nw-when svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
.nw-when .t { color: #c9cfdf; }

/* the big story */
.nw-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: center; padding: 18px; border-radius: 18px;
  background: radial-gradient(600px 260px at 0% 0%, rgba(248, 183, 0, .12), transparent 70%), linear-gradient(160deg, #171c2e, #0e111b 70%);
  border: 1px solid #2a3150; margin-bottom: 26px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.nw-feature:hover { border-color: color-mix(in srgb, var(--gold) 55%, #2a3150); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.nw-feature:hover .nw-img img, .nw-card:hover .nw-img img { transform: scale(1.04); }
.nw-feature .nw-img { border-radius: 14px; }
.nw-flag { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; }
.nw-flag::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.nw-feature h2 { margin: 10px 0 12px; font-family: var(--display); font-weight: 800; color: #f3ead0; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; }
.nw-feature p { margin: 0 0 18px; color: #c3c8d6; font-size: 15.5px; line-height: 1.65; }
.nw-more { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 800; font-size: 14.5px; }
.nw-more svg { width: 16px; height: 16px; transition: transform .2s; }
.nw-feature:hover .nw-more svg, .nw-card:hover .nw-more svg { transform: translateX(4px); }

/* list + latest news */
.nw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.nw-list { display: grid; gap: 14px; }
.nw-layout.solo { grid-template-columns: minmax(0, 1fr); }
.nw-layout.solo .nw-list { display: none; }
.nw-layout.solo .nw-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.nw-card { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; padding: 14px; border-radius: 16px; text-decoration: none;
  background: #11151f; border: 1px solid #232a40; transition: border-color .2s, transform .2s, background .2s; animation: nw-in .4s ease both; }
.nw-card:hover { border-color: #3d4668; background: #131829; transform: translateY(-2px); }
.nw-card h3 { margin: 4px 0 8px; font-size: 20px; line-height: 1.3; color: #f3ead0; }
.nw-card p { margin: 0 0 10px; color: #b4bacb; font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes nw-in { from { opacity: 0; transform: translateY(8px); } }
.nw-empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed #2a3150; border-radius: 14px; }

.nw-side { position: sticky; top: 16px; display: grid; gap: 14px; }
.nw-latest { padding: 16px 18px; border-radius: 16px; background: linear-gradient(180deg, #141a2b, #0e111b); border: 1px solid #2a3150; }
.nw-latest h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.nw-latest h2 i { width: 8px; height: 8px; border-radius: 50%; background: #c0392b; animation: nw-pulse 1.6s infinite; }
.nw-latest ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.nw-latest li { counter-increment: n; border-top: 1px solid #1c2134; }
.nw-latest li:first-child { border-top: 0; }
.nw-latest a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 8px; padding: 11px 0; text-decoration: none; }
.nw-latest a::before { content: counter(n, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 17px; color: #3d4668; line-height: 1.2; }
.nw-latest a:hover::before { color: var(--gold); }
.nw-latest b { font-size: 14.5px; line-height: 1.35; color: #e6e1cf; }
.nw-latest a:hover b { color: #fff; }
.nw-latest span { color: var(--muted); font-size: 12px; }
.nw-latest a[aria-current="page"] b { color: var(--gold); }
.nw-cta { padding: 16px 18px; border-radius: 16px; background: #11151f; border: 1px solid #232a40; }
.nw-cta b { display: block; color: #f3ead0; margin-bottom: 4px; } .nw-cta p { margin: 0 0 10px; color: #aab0c2; font-size: 13.5px; }
.nw-cta a { color: var(--gold); font-weight: 700; font-size: 14px; text-decoration: none; } .nw-cta a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- one article */
.na-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 0; background: linear-gradient(90deg, #ffe08a, #f8b700); box-shadow: 0 0 10px rgba(248, 183, 0, .6); }
.na-hero { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid #2a3150; margin-bottom: 26px; }
.na-hero .bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.45) saturate(1.2); transform: scale(1.1); }
.na-hero .in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center; padding: 26px; }
.na-crumbs { margin: 0 0 12px; font-size: 13px; color: #aab0c2; } .na-crumbs a { color: var(--gold); text-decoration: none; } .na-crumbs a:hover { text-decoration: underline; }
.na-hero h1 { margin: 10px 0 14px; font-family: var(--display); font-weight: 800; color: #f8f1dc; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.12; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.na-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #c9cfdf; font-size: 13.5px; }
.na-meta span { display: inline-flex; align-items: center; gap: 6px; } .na-meta svg { width: 15px; height: 15px; color: var(--gold); }
.na-hero .nw-pic .nw-img { border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.na-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.na-body { max-width: 760px; font-size: 16.5px; line-height: 1.75; color: #d2d6e2; }
.na-body > p:first-of-type { font-size: 18.5px; color: #e8e6df; }
.na-body > p:first-of-type::first-letter { float: left; font-family: var(--display); font-weight: 800; font-size: 58px; line-height: .9; margin: 6px 10px 0 0; color: var(--gold); }
.na-body h2 { margin: 34px 0 10px; font-family: var(--display); color: #f3ead0; font-size: 24px; line-height: 1.25; }
.na-body p { margin: 0 0 16px; }
.na-body a { color: var(--gold); }
.na-body ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.na-body li { position: relative; padding-left: 26px; }
.na-body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.na-tip { margin: 22px 0; padding: 16px 18px 16px 52px; position: relative; border-radius: 12px; background: linear-gradient(90deg, rgba(248, 183, 0, .12), rgba(248, 183, 0, .03));
  border: 1px solid rgba(248, 183, 0, .35); color: #ece4c8; font-size: 15.5px; }
.na-tip::before { content: "!"; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 14px; color: #1b1300; background: linear-gradient(#ffcc33, #e0a000); }
.na-quote { margin: 26px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--gold); font-family: var(--display); font-size: 21px; line-height: 1.5; color: #f3ead0; }
.na-quote cite { display: block; margin-top: 8px; font-family: "Segoe UI", system-ui, sans-serif; font-style: normal; font-size: 13.5px; color: var(--muted); }
.na-fig { margin: 24px 0; } .na-fig img { width: 100%; border-radius: 12px; border: 1px solid #262d45; display: block; }
.na-fig figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; text-align: center; }
.na-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 30px 0 0; padding-top: 18px; border-top: 1px solid #232a40; max-width: 760px; }
.na-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  text-decoration: none; color: #e6e1cf; background: #171c2e; border: 1px solid #2c3350; }
.na-btn:hover { border-color: var(--gold); } .na-btn svg { width: 16px; height: 16px; }
.na-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; max-width: 760px; }
.na-pn a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none;
  background: #11151f; border: 1px solid #232a40; transition: border-color .2s; }
.na-pn a:hover { border-color: #3d4668; }
.na-pn img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.na-pn small { display: block; color: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.na-pn b { font-size: 14px; line-height: 1.35; color: #e6e1cf; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.na-pn .next { text-align: right; grid-template-columns: minmax(0, 1fr) 96px; }
.na-missing { padding: 60px 20px; text-align: center; } .na-missing h1 { font-family: var(--display); color: #f3ead0; } .na-missing a { color: var(--gold); }

@media (max-width: 1000px) {
  .nw-layout, .na-layout { grid-template-columns: minmax(0, 1fr); }
  .nw-side { position: static; }
  .nw-card { grid-template-columns: 230px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nw-feature, .na-hero .in { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 16px; }
  .nw-card { grid-template-columns: 128px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .nw-card h3 { font-size: 16.5px; margin-top: 0; } .nw-card p { -webkit-line-clamp: 4; font-size: 13.5px; }
  .nw-card .nw-cat { display: none; } .nw-card .nw-when { font-size: 11.5px; flex-wrap: wrap; gap: 2px 6px; } .nw-card .nw-when svg { display: none; }
  .nw-card .nw-more { display: none; }
  .na-body { font-size: 16px; } .na-body > p:first-of-type { font-size: 17px; }
  .na-pn { grid-template-columns: minmax(0, 1fr); } .na-pn .next { text-align: left; grid-template-columns: 96px minmax(0, 1fr); } .na-pn .next img { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .nw-track, .nw-card, .nw-ticker b i, .nw-latest h2 i { animation: none; } }
@media (max-width: 700px) { .nw-layout.solo .nw-side { grid-template-columns: minmax(0, 1fr); } }
