@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --lc-bg: #f5f8fc;
  --lc-surface: #ffffff;
  --lc-soft: #f8fbff;
  --lc-ink: #122033;
  --lc-body: #3d4b63;
  --lc-muted: #66768f;
  --lc-line: #e3eaf3;
  --lc-blue: #1769d1;
  --lc-blue-2: #1d9bf0;
  --lc-blue-soft: #eaf4ff;
  --lc-green: #0f9f88;
  --lc-shadow: 0 16px 42px rgba(18, 32, 51, 0.08);
  --lc-radius: 22px;
}

* { box-sizing: border-box; }

html { background: var(--lc-bg); }

body.article-system-page {
  margin: 0;
  color: var(--lc-body);
  background:
    radial-gradient(circle at 15% 0%, rgba(29, 155, 240, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--lc-bg) 360px);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.72;
}

.article-system-page a { color: inherit; }

.article-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.article-header-inner {
  display: grid;
  grid-template-columns: minmax(136px, 190px) minmax(360px, 1fr) auto;
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  min-height: 68px;
  margin: 0 auto;
  gap: clamp(18px, 2.4vw, 32px);
}

.article-brand {
  display: inline-flex;
  align-items: center;
  color: #0f172a;
  text-decoration: none;
  line-height: 1;
}

.article-brand img {
  display: block;
  width: 142px;
  max-height: 42px;
  object-fit: contain;
}

.article-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: center;
  min-width: 0;
}

.article-nav a {
  color: #1f2a3d;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.article-nav a.is-active,
.article-nav a:hover {
  color: var(--lc-blue);
}

.article-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.article-part-search {
  width: 178px;
  min-width: 160px;
}

.article-email {
  flex: 0 0 auto;
}

.resource-part-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(286px, 100%);
  min-width: 210px;
  height: 34px;
}

.resource-part-search input {
  width: 100%;
  height: 34px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 999px;
  outline: 0;
  background: rgba(248, 250, 252, 0.78);
  color: #0f172a;
  padding: 0 37px 0 14px;
  font-size: 12.5px;
  font-weight: 420;
  line-height: 34px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.resource-part-search input::placeholder {
  color: rgba(100, 116, 139, 0.5);
}

.resource-part-search input:focus {
  border-color: rgba(29, 155, 240, 0.42);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.08);
}

.resource-search-submit {
  position: absolute;
  right: 4px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 160ms ease, background 160ms ease;
}

.resource-search-submit:hover,
.resource-part-search input:focus + .resource-search-submit {
  background: rgba(29, 155, 240, 0.08);
  color: #0b63ce;
}

.resource-search-submit svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.resource-part-search .part-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: none;
  width: min(420px, calc(100vw - 40px));
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  padding: 7px;
}

.resource-part-search .nav-search-item,
.resource-part-search .nav-search-empty {
  display: block;
  border-radius: 10px;
  padding: 10px 11px;
  color: #334155;
  text-decoration: none;
}

.resource-part-search .nav-search-item:hover {
  background: #f1f7ff;
}

.resource-part-search .nav-search-item strong {
  display: block;
  color: #0f172a;
  font-size: 13.5px;
  line-height: 1.25;
}

.resource-part-search .nav-search-item span,
.resource-part-search .nav-search-empty {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12.25px;
  line-height: 1.45;
}

.resource-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(29, 155, 240, 0.2);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.78);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.resource-email img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.resource-email:hover {
  border-color: rgba(29, 155, 240, 0.48);
  background: rgba(29, 155, 240, 0.07);
  transform: translateY(-1px);
}

.resource-email:hover img {
  opacity: 1;
}

.article-hub,
.article-detail {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 76px;
}

.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hub-intro,
.article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,246,255,0.92)),
    var(--lc-surface);
  box-shadow: var(--lc-shadow);
}

.hub-intro::after,
.article-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 155, 240, 0.17), transparent 65%);
}

.eyebrow,
.topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(23, 105, 209, 0.14);
  border-radius: 999px;
  background: var(--lc-blue-soft);
  color: var(--lc-blue);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topic-badge.market,
.topic-badge.eol-alert {
  border-color: rgba(15, 159, 136, 0.20);
  background: #eafaf7;
  color: #087a67;
}

.topic-badge.quality-control,
.topic-badge.procurement-guide {
  border-color: rgba(15, 159, 136, 0.18);
  background: #eafaf7;
  color: #087a67;
}

.hub-intro h1,
.article-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 18px 0 16px;
  color: var(--lc-ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.article-hero h1 {
  max-width: 1040px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.032em;
}

.hub-intro p,
.article-hero .lead {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0;
  color: var(--lc-muted);
  font-size: 17px;
}

.article-hero .lead {
  max-width: 960px;
}

.hub-panel {
  display: grid;
  gap: 14px;
}

.hub-stat,
.hub-cta,
.side-card,
.rfq-card,
.article-body,
.article-tile {
  border: 1px solid var(--lc-line);
  background: var(--lc-surface);
  box-shadow: 0 10px 28px rgba(18, 32, 51, 0.05);
}

.hub-stat,
.hub-cta {
  padding: 24px;
  border-radius: 24px;
}

.hub-stat strong {
  display: block;
  color: var(--lc-ink);
  font-size: 34px;
  line-height: 1;
}

.hub-stat span,
.hub-cta p {
  display: block;
  margin-top: 8px;
  color: var(--lc-muted);
  font-size: 13px;
}

.hub-cta h2 {
  margin: 0 0 8px;
  color: var(--lc-ink);
  font-size: 18px;
}

.button-link,
.hub-cta a,
.rfq-card a,
.article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--lc-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(23, 105, 209, 0.18);
}

.topic-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.topic-chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  color: #31425b;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.015em;
  box-shadow: 0 10px 22px rgba(18, 32, 51, 0.055);
}

.topic-chip::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  z-index: -1;
  width: 54%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  animation: topicSweep 5.8s ease-in-out infinite;
  animation-delay: var(--chip-delay, 0s);
}

.topic-chip-1 {
  --chip-delay: 0s;
  background: linear-gradient(135deg, #eaf4ff, #ffffff);
  color: #1760bd;
}

.topic-chip-2 {
  --chip-delay: -0.8s;
  background: linear-gradient(135deg, #eafbf7, #ffffff);
  color: #087967;
}

.topic-chip-3 {
  --chip-delay: -1.6s;
  background: linear-gradient(135deg, #fff6df, #ffffff);
  color: #8a5a00;
}

.topic-chip-4 {
  --chip-delay: -2.4s;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  color: #4252b8;
}

.topic-chip-5 {
  --chip-delay: -3.2s;
  background: linear-gradient(135deg, #f4eeff, #ffffff);
  color: #6c3aa8;
}

.topic-chip-6 {
  --chip-delay: -4s;
  background: linear-gradient(135deg, #ecfeff, #ffffff);
  color: #0f7180;
}

.topic-chip-7 {
  --chip-delay: -4.8s;
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
  color: #334155;
}

.topic-chip-8 {
  --chip-delay: -5.6s;
  background: linear-gradient(135deg, #fff1f2, #ffffff);
  color: #9f1239;
}

.topic-chip-9 {
  --chip-delay: -6.4s;
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  color: #166534;
}

@keyframes topicSweep {
  0%, 28% { transform: translateX(0) rotate(18deg); opacity: 0; }
  42% { opacity: 0.72; }
  70%, 100% { transform: translateX(340%) rotate(18deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .topic-chip::after { animation: none; }
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
  border-radius: var(--lc-radius);
  color: inherit;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.article-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 209, 0.26);
  box-shadow: var(--lc-shadow);
}

.tile-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tile-meta time {
  color: var(--lc-muted);
  font-size: 12px;
  font-weight: 650;
}

.article-tile h2 {
  margin: 0 0 12px;
  color: var(--lc-ink);
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.article-tile p {
  margin: 0 0 18px;
  color: var(--lc-muted);
  font-size: 13.5px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 650;
}

.tile-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--lc-blue);
  font-size: 13px;
  font-weight: 750;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--lc-line);
  border-radius: 12px;
  background: #fff;
  color: #41516a;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.pagination .is-active {
  border-color: var(--lc-blue);
  background: var(--lc-blue);
  color: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--lc-muted);
  font-size: 12px;
  font-weight: 560;
}

.breadcrumb a,
.breadcrumb span {
  display: inline-flex;
  align-items: center;
  color: var(--lc-muted);
  font-weight: 560;
  text-decoration: none;
}

.breadcrumb a {
  color: var(--lc-blue);
  text-decoration: none;
}

.breadcrumb a + a::before,
.breadcrumb a + span::before {
  content: "›";
  margin-right: 6px;
  color: var(--lc-muted);
}

.article-hero { margin-bottom: 24px; }

.article-meta-line {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  color: var(--lc-muted);
  font-size: 13px;
  font-weight: 650;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.article-body {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--lc-radius);
}

.article-body h2 {
  margin: 34px 0 12px;
  color: var(--lc-ink);
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  margin: 26px 0 10px;
  color: var(--lc-ink);
  font-size: 20px;
  line-height: 1.3;
}

.article-body p {
  margin: 0 0 18px;
  color: #34445c;
  font-size: 15.8px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 1.2em;
  padding: 0;
}

.article-body li { margin: 8px 0; }

.article-body a {
  color: var(--lc-blue);
  font-weight: 650;
}

.info-table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--lc-line);
  border-radius: 16px;
  font-size: 14px;
}

.info-table th,
.info-table td {
  border-bottom: 1px solid var(--lc-line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  background: #f3f7fc;
  color: var(--lc-ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-table tr:last-child td { border-bottom: 0; }

.spec-grid,
.package-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.spec,
.package-card,
.related-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--lc-line);
  border-radius: 16px;
  background: var(--lc-soft);
  color: inherit;
  text-decoration: none;
}

.spec strong,
.package-card strong,
.related-card strong {
  display: block;
  color: var(--lc-ink);
}

.note,
.keywords {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--lc-blue);
  border-radius: 16px;
  background: var(--lc-blue-soft);
  color: #294260;
}

.part-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 24px;
}

.part-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--lc-line);
  border-radius: 999px;
  background: #fff;
  color: #40516b;
  font-size: 12px;
  font-weight: 650;
}

.article-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.side-card,
.rfq-card {
  border-radius: 20px;
  padding: 22px;
}

.side-card h3,
.rfq-card h3,
.article-cta h3 {
  margin: 0 0 12px;
  color: var(--lc-ink);
  font-size: 17px;
}

.side-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-card li + li { border-top: 1px solid var(--lc-line); }

.side-card a {
  display: block;
  padding: 10px 0;
  color: #40516b;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.side-card a:hover { color: var(--lc-blue); }

.part-mini {
  display: grid;
  gap: 8px;
}

.part-mini a {
  display: block;
  padding: 12px;
  border: 1px solid var(--lc-line);
  border-radius: 14px;
  background: var(--lc-soft);
  color: inherit;
  text-decoration: none;
}

.part-mini strong {
  display: block;
  color: var(--lc-ink);
  font-size: 13px;
}

.part-mini span {
  display: block;
  margin-top: 3px;
  color: var(--lc-muted);
  font-size: 12px;
}

.article-cta {
  margin-top: 30px;
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(23, 105, 209, 0.95), rgba(29, 155, 240, 0.90));
  color: #fff;
}

.article-cta h3,
.article-cta p { color: #fff; }

.article-cta p {
  max-width: 720px;
  margin: 0;
  opacity: 0.88;
}

.article-cta a {
  background: #fff;
  color: var(--lc-blue);
  box-shadow: none;
}

.note-box {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 18px;
  background: #fff9ed;
  color: #73510b;
  font-size: 13.5px;
}

.article-figure {
  margin: 26px 0 30px;
}

.article-figure-frame {
  min-height: 220px;
  border: 1px solid rgba(23, 105, 209, 0.14);
  border-radius: 22px;
  background:
    var(--figure-image, none) center / cover no-repeat,
    radial-gradient(circle at 18% 18%, rgba(23, 105, 209, 0.16), transparent 34%),
    linear-gradient(135deg, #f8fbff, #eef6ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--lc-muted);
  font-size: 13px;
  line-height: 1.55;
}

.resource-footer {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.resource-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: start;
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  padding: 24px 0 18px;
}

.resource-footer-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 0 9px;
  text-decoration: none;
}

.resource-footer-logo::after {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 72%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0), rgba(29, 155, 240, 0.72), rgba(20, 184, 166, 0.46), rgba(14, 165, 233, 0));
  box-shadow: 0 4px 12px rgba(29, 155, 240, 0.16);
  opacity: 0.82;
  transition: width 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.resource-footer-logo:hover::after {
  width: 84%;
  opacity: 1;
  box-shadow: 0 5px 16px rgba(29, 155, 240, 0.22);
}

.resource-footer-logo img {
  width: 154px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
  filter: saturate(1.12) contrast(1.06) brightness(1.02);
  transition: filter 180ms ease;
}

.resource-footer-logo:hover img {
  filter: saturate(1.18) contrast(1.08) brightness(1.04);
}

.resource-footer-brand p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.62;
}

.resource-follow {
  min-width: 198px;
}

.resource-follow strong {
  display: block;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 620;
  letter-spacing: 0.08em;
}

.resource-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.resource-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.resource-socials img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.resource-socials a:hover {
  border-color: rgba(29, 155, 240, 0.35);
  background: rgba(29, 155, 240, 0.06);
  transform: translateY(-1px);
}

.resource-socials a:hover img {
  opacity: 1;
}

.resource-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  border-top: 1px solid #edf2f7;
  padding: 10px 0 14px;
  color: #64748b;
  font-size: 12px;
}

.resource-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.resource-footer-bottom a {
  color: #0f172a;
  font-weight: 750;
  text-decoration: none;
}

.resource-footer-bottom a:hover {
  color: #1d9bf0;
}

@media (max-width: 980px) {
  .hub-hero,
  .article-layout { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-sidebar { position: static; }
  .resource-footer-inner,
  .resource-footer-bottom { width: min(100% - 32px, 720px); }
  .resource-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .article-header-inner {
    grid-template-columns: auto 1fr;
    gap: 12px 18px;
    padding: 12px 0;
  }
  .article-nav {
    justify-content: flex-end;
    gap: 18px;
  }
  .article-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .article-part-search {
    width: min(220px, calc(100vw - 96px));
  }
}

@media (max-width: 680px) {
  .article-header-inner {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    padding: 14px 0;
  }
  .article-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .article-actions {
    width: 100%;
    justify-content: space-between;
  }
  .article-part-search {
    width: calc(100% - 42px);
    min-width: 0;
  }
  .article-hub,
  .article-detail {
    width: min(100% - 28px, 1180px);
    padding-top: 24px;
  }
  .article-grid { grid-template-columns: 1fr; }
  .article-tile { min-height: 0; }
}
