:root {
  --news-bg: #f4f7f8;
  --news-surface: #fff;
  --news-ink: #0c141b;
  --news-muted: #566776;
  --news-line: #d7e0e5;
  --news-accent: #167da7;
  --news-deep: #10202b;
  --news-soft: #e8f0f3;
  --news-max: 1220px;
  --news-radius: 6px;
  --news-shadow: 0 20px 55px rgba(17, 40, 53, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--news-ink);
  background: var(--news-bg);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.news-page { overflow: clip; }
.news-shell { width: min(var(--news-max), calc(100% - 40px)); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 251, .9);
  border-bottom: 1px solid rgba(215, 224, 229, .86);
  backdrop-filter: blur(18px);
}
.news-nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; flex: 0 0 auto; }
.sm-systems-logo { width: 178px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.nav-links a { padding: 9px 8px; border-radius: 6px; font-size: 12px; color: #26343e; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { background: #e7edf0; color: #0b1720; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--news-line); border-radius: 50%; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.news-hero {
  position: relative;
  padding: clamp(72px, 9vw, 126px) 0 clamp(54px, 7vw, 92px);
  background:
    radial-gradient(circle at 83% 28%, rgba(60, 145, 178, .16), transparent 31%),
    linear-gradient(135deg, #f8fafb 0%, #edf3f5 100%);
  border-bottom: 1px solid var(--news-line);
}
.news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  pointer-events: none;
  background-image: linear-gradient(rgba(29, 64, 80, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 64, 80, .055) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.news-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .75fr); gap: 8vw; align-items: end; }
.news-kicker, .news-eyebrow { margin: 0 0 18px; color: #2d6077; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.news-hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6.4vw, 92px); line-height: .96; letter-spacing: 0; text-wrap: balance; }
.news-hero-copy { max-width: 500px; margin: 0; color: var(--news-muted); font-size: clamp(17px, 1.5vw, 21px); }
.news-hero-meta { display: flex; gap: 26px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--news-line); color: #344956; font-size: 13px; }
.news-hero-meta strong { display: block; color: var(--news-ink); font-size: 18px; }

.news-feed { padding: clamp(48px, 6vw, 82px) 0 clamp(80px, 9vw, 130px); }
.news-feed-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.news-feed-head h2 { margin: 0; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.02; }
.news-feed-head p { max-width: 430px; margin: 0; color: var(--news-muted); }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.news-filter { border: 1px solid #cbd7dd; border-radius: 999px; padding: 9px 14px; color: #334854; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; transition: .2s ease; }
.news-filter:hover, .news-filter:focus-visible, .news-filter.is-active { color: #fff; background: var(--news-deep); border-color: var(--news-deep); }
.news-count { margin-left: auto; align-self: center; color: var(--news-muted); font-size: 12px; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.news-card { min-width: 0; background: var(--news-surface); border: 1px solid var(--news-line); border-radius: var(--news-radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.news-card:hover { transform: translateY(-4px); border-color: #b9c8cf; box-shadow: var(--news-shadow); }
.news-card[hidden] { display: none; }
.news-card-link { display: grid; grid-template-rows: auto 1fr; height: 100%; }
.news-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: #dce5e9; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.2,1); }
.news-card:hover .news-card-media img { transform: scale(1.035); }
.news-card-body { display: flex; flex-direction: column; min-height: 190px; padding: 22px; }
.news-card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 16px; color: #527080; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-card h3 { margin: 0; font-size: clamp(21px, 1.8vw, 28px); line-height: 1.08; overflow-wrap: normal; word-break: normal; hyphens: none; }
.news-card-action { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--news-line); font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.news-more-wrap { display: flex; justify-content: center; margin-top: 44px; }
.news-more { min-width: 210px; border: 1px solid var(--news-deep); border-radius: 999px; padding: 14px 22px; color: #fff; background: var(--news-deep); font-weight: 800; cursor: pointer; }
.news-more:hover { background: #1c3543; }

.news-article { padding: 58px 0 100px; }
.news-breadcrumbs { margin-bottom: 36px; color: #687985; font-size: 13px; }
.news-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.news-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #9aa7ae; }
.news-article-head { max-width: 990px; }
.news-article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 20px; color: #4a6675; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.news-article h1 { margin: 0; max-width: 980px; font-size: clamp(42px, 6vw, 82px); line-height: .98; letter-spacing: 0; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none; }
.news-article-lead { max-width: 770px; margin: 30px 0 0; color: #526571; font-size: clamp(18px, 1.8vw, 23px); }
.news-article-visual { margin: 52px 0 58px; border-radius: var(--news-radius); overflow: hidden; background: #dce5e9; }
.news-article-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.news-copy { min-width: 0; }
.news-copy section + section { margin-top: 48px; }
.news-copy h2 { margin: 0 0 18px; font-size: clamp(28px, 3.2vw, 43px); line-height: 1.05; }
.news-copy p { margin: 0 0 18px; color: #253741; font-size: 18px; line-height: 1.75; }
.news-side { position: sticky; top: 94px; display: grid; gap: 28px; }
.news-side-block { padding-top: 16px; border-top: 1px solid var(--news-line); }
.news-side-block span { display: block; margin-bottom: 8px; color: #6a7b85; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-side-block a { color: #155f80; font-weight: 800; overflow-wrap: anywhere; }
.news-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.news-tags a { padding: 7px 10px; border: 1px solid var(--news-line); border-radius: 999px; font-size: 12px; font-weight: 700; }

.news-intelligence { margin: 48px 0 0; padding: clamp(26px, 3vw, 38px); color: #eef6f8; background: #122630; border-radius: var(--news-radius); box-shadow: var(--news-shadow); }
.news-intelligence .news-eyebrow { color: #8fd0e9; }
.news-intelligence h2 { max-width: 700px; margin: 0 0 14px; color: #fff; font-size: clamp(28px, 3vw, 38px); }
.news-intelligence p { max-width: 680px; margin: 0; color: #d6e2e6; font-size: 16px; line-height: 1.65; }
.news-intelligence-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; border-radius: 999px; padding: 13px 18px; color: #09202b; background: #9edcf2; font-size: 13px; font-weight: 850; }

.news-related { padding: 70px 0 110px; background: #eaf0f2; border-top: 1px solid var(--news-line); }
.news-related-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.news-related h2 { margin: 0; font-size: clamp(32px, 4vw, 54px); }
.news-related-all { color: #155f80; font-weight: 850; }

.news-footer { padding: 48px 0; color: #d5e0e5; background: #0d1921; }
.news-footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.news-footer strong { display: block; color: #fff; font-size: 18px; }
.news-footer span, .news-footer a { color: #adbdc5; font-size: 13px; }
.news-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 76px; left: 14px; right: 14px; display: grid; gap: 3px; padding: 10px; background: rgba(255,255,255,.98); border: 1px solid var(--news-line); border-radius: 10px; box-shadow: var(--news-shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; white-space: normal; transition: .2s ease; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: block; width: 100%; min-height: 42px; padding: 12px 14px; text-align: left; font-size: 14px; font-weight: 750; }
  .news-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .news-hero-copy { max-width: 680px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-article-layout { grid-template-columns: 1fr; }
  .news-side { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 640px) {
  .news-shell { width: min(100% - 28px, var(--news-max)); }
  .news-nav { min-height: 64px; }
  .sm-systems-logo { width: 152px; }
  .news-hero { padding: 54px 0 52px; }
  .news-hero h1 { font-size: clamp(42px, 14vw, 60px); }
  .news-hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .news-feed-head { display: grid; gap: 15px; }
  .news-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; margin-inline: 0; padding: 0; }
  .news-filter { width: 100%; min-width: 0; padding: 10px 12px; text-align: left; white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .news-count { display: none; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .news-card-body { min-height: 0; padding: 20px; }
  .news-card h3 { font-size: 25px; }
  .news-article { padding-top: 34px; }
  .news-breadcrumbs { margin-bottom: 26px; }
  .news-article h1 { font-size: clamp(38px, 11.8vw, 54px); }
  .news-article-visual { margin: 36px -14px 42px; border-radius: 0; }
  .news-copy p { font-size: 17px; line-height: 1.68; }
  .news-side { grid-template-columns: 1fr; }
  .news-intelligence { margin-inline: -4px; }
  .news-related-head { display: grid; gap: 12px; }
  .news-footer-grid { grid-template-columns: 1fr; }
  .news-footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
