/* News page (news.html): published press coverage as cards. Cards are drawn by js/news.js from js/news-data.js.
   Uses the product page system (product.css: .p-hero, .band, .page-end). Dates in mono, outlet names in Pretendard
   (mono is for Latin labels only, and most outlet names are Korean). */
/* one column: title, then the lead under it (owner 2026-10-06: no left/right splits on the company pages) */
.nw-hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
.nw-hero .h1 { font-size: clamp(44px, 5.4vw, 88px); }
.nw-hero .lead { margin-top: 22px; max-width: 30em; }

.nw-list { padding-top: clamp(56px, 7vw, 96px); }
.nw-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding-top: 22px; border-top: 1px solid var(--rule); }
.nw-bar .eyebrow { margin: 0; font-weight: 400; }
.nw-count { font-size: 13px; color: var(--ink-3); }
.nw-list [hidden] { display: none !important; }

/* card grid: 3 columns on desktop, 2 on tablet, 1 on phones */
.nw-grid { margin-top: 28px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.nw-grid > li { display: flex; min-width: 0; }
.nw-card { flex: 1; position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--rule); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 rgba(15,27,51,.02), 0 18px 40px -30px rgba(15,27,51,.25); transition: border-color .2s, box-shadow .2s; }
.nw-card:hover { border-color: var(--rule-2); box-shadow: 0 1px 0 rgba(15,27,51,.02), 0 26px 50px -30px rgba(15,27,51,.38); }

.nw-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--rule); }
.nw-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.nw-card:hover .nw-thumb img { transform: scale(1.03); }
/* wide banner images (set by news.js): whole image on white instead of a cropped fragment */
.nw-thumb.is-wide { background: #fff; }
.nw-thumb.is-wide img { object-fit: contain; padding: 0 6%; }
/* no image, or the image failed to load: neutral dot field with the outlet name */
.nw-thumb.is-empty { display: grid; place-items: center; background-color: var(--bg-2); background-image: radial-gradient(circle, var(--rule-2) 1px, transparent 1.5px); background-size: 14px 14px; background-position: center; }
.nw-thumb.is-empty span { max-width: 80%; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-3); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nw-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.nw-meta { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.nw-src { font-weight: 600; color: var(--ink-2); }
.nw-date { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.nw-title { margin-top: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.42; color: var(--ink); transition: color .2s; }
.nw-sum { margin-top: 12px; font-size: 15px; line-height: 1.72; color: var(--ink-2); }
.nw-note { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.nw-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--navy); transition: color .2s; }
.nw-link .ar { font-family: var(--mono); font-weight: 500; }
/* the whole card opens the article (one link per card) */
.nw-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.nw-card:hover .nw-title, .nw-card:hover .nw-link { color: var(--blue-ink); }
.nw-link:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 4px; }
@supports selector(:has(a)) {
  .nw-link:focus-visible { outline: none; }
  .nw-card:has(.nw-link:focus-visible) { outline: 2px solid var(--blue-ink); outline-offset: 3px; }
}
.nw-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* empty state */
.nw-empty { margin-top: 28px; padding: clamp(52px, 7vw, 92px) 24px; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg-2); text-align: center; }
.nw-dots { display: inline-flex; gap: 7px; }
.nw-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule-2); }
.nw-dots i:first-child { background: var(--navy); }
.nw-dots i:nth-child(2) { background: var(--blue); }
.nw-empty p { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

.nw-foot { margin-top: 28px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

@media (max-width: 1000px) {
  .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nw-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .nw-body { padding: 18px 18px 20px; }
  .nw-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nw-card, .nw-thumb img, .nw-title, .nw-link { transition: none; }
  .nw-card:hover .nw-thumb img { transform: none; }
}
