/* News and guides (news.html, news-*.html, home teaser uses the same cards via modern.css import below) */
.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nw-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--x-line, #E6E5EF); border-radius: 20px; overflow: hidden; transition: border-color .3s, transform .3s, box-shadow .3s; }
.nw-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(38,35,95,.35); }
.nw-card[hidden] { display: none; }
.nw-img { display: block; aspect-ratio: 16 / 10; background: var(--x-surface, #F6F6FA); overflow: hidden; }
.nw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.nw-card:hover .nw-img img { transform: scale(1.04); }
.nw-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .82rem; color: var(--x-muted, #6E6D86); }
.nw-cat { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--plane); }
.nw-card h3 { font-size: 1.14rem; line-height: 1.3; letter-spacing: -.02em; margin: 0; }
.nw-card h3 a { color: var(--navy); text-decoration: none; }
.nw-card h3 a::after { content: ""; position: absolute; inset: 0; }
.nw-card { position: relative; }
.nw-card p { margin: 0; color: var(--x-muted, #6E6D86); font-size: .93rem; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-go { font-weight: 700; font-size: .9rem; color: var(--plane); }
.nw-all { font-weight: 700; color: var(--plane); text-decoration: none; white-space: nowrap; }
.nw-big { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 34px; }
.nw-big .nw-img { aspect-ratio: auto; min-height: 340px; }
.nw-big .nw-body { padding: clamp(24px, 4vw, 48px); justify-content: center; }
.nw-big h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.035em; }
.nw-big p { -webkit-line-clamp: 4; flex: 0; font-size: 1rem; }
.nw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.nw-chip { font: inherit; font-size: .9rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--x-line-2, #D6D4E4); background: #fff; color: var(--navy); cursor: pointer; }
.nw-chip:hover { border-color: var(--navy); }
.nw-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.nw-empty { color: var(--x-muted); text-align: center; padding: 30px 0; }

/* article */
.nw-head { background: var(--x-surface, #F6F6FA); border-bottom: 1px solid var(--x-line); padding: 40px 0 0; }
.nw-narrow { max-width: 760px; }
.nw-wide { max-width: 1040px; }
.nw-head h1 { color: var(--navy); font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; letter-spacing: -.045em; margin: 12px 0 14px; }
.nw-head .nw-meta { margin-bottom: 30px; }
.nw-head .p-crumbs { margin-bottom: 22px; }
.nw-hero { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 22px; margin-bottom: -60px; background: #fff; border: 1px solid var(--x-line); }
.nw-prose { padding: 100px 0 60px; color: #34334F; font-size: 1.06rem; line-height: 1.78; }
.nw-prose .lede { font-size: 1.22rem; line-height: 1.6; color: var(--navy); }
.nw-prose h2 { color: var(--navy); font-size: 1.5rem; letter-spacing: -.03em; margin: 38px 0 10px; }
.nw-prose p, .nw-prose ul, .nw-prose ol { margin: 0 0 16px; }
.nw-prose li { margin-bottom: 8px; }
.nw-prose a { color: var(--plane); font-weight: 600; }
.nw-prose .note { font-size: .88rem; color: var(--x-muted); border-left: 3px solid var(--x-line-2); padding-left: 14px; }
.nw-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--navy); color: #fff; border-radius: 20px; padding: 24px 26px; }
.nw-cta strong { display: block; font-size: 1.1rem; }
.nw-cta span { color: rgba(255,255,255,.75); font-size: .92rem; }
.nw-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.x .nw-cta .btn-navy { background: var(--plane); }
.x .nw-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.nw-prose .nw-cta a { color: inherit; }

@media (max-width: 960px) { .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nw-big { grid-template-columns: 1fr; } .nw-big .nw-img { min-height: 220px; aspect-ratio: 16/9; } }
@media (max-width: 600px) { .nw-grid { grid-template-columns: 1fr; } .nw-hero { margin-bottom: -36px; border-radius: 16px; } .nw-prose { padding-top: 66px; } }
html.calm .nw-card, html.calm .nw-card:hover, html.calm .nw-img img { transition: none; transform: none; }
