/* News uses the same palette, card geometry and controls as Driver Home v3.
   This stylesheet is loaded only by the news archive and article templates. */
html:root {
  --ink: #171717;
  --yellow: #FFC400;
  --teal: #55585d;
  --bg: #f5f6f7;
  --muted: #666a70;
  --line: #e7e9eb;
  --shadow: 0 3px 12px rgba(0, 0, 0, .035);
}
html body {
  background: var(--bg);
  color: var(--ink);
  font-family:var(--vw-font-sans,Arial,Helvetica,sans-serif);
}
html body .header { background: rgba(245, 246, 247, .96); }
html body .header-row { min-height: 76px; }
html body .header .brand span { color: var(--ink); }
html body .header nav { font-weight: 600; }
html body .header nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
html body .header-cta, html body .button { min-height: 46px; border-radius: 12px; font-size: 14px; font-weight: 700; }
html body .button.dark { background: var(--ink); color: #fff; }
.news-site-menu { display: none; }
.news-topic-return, .news-article-end { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1060px; margin: 16px auto; }
.news-topic-return a, .news-start-actions a, .news-article-end a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1.4;
}
.news-topic-return a:hover, .news-start-actions a:hover, .news-article-end a:hover { background: #fff5cc; border-color: var(--yellow); }
.news-breadcrumbs { line-height: 1.6; font-weight: 500; }
.news-breadcrumbs a { color: #55585d; }
.news-next.news-commercial { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.news-next.news-commercial > small { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .05em; }
.news-next.news-commercial > strong { margin-top: 8px; font-size: 24px; font-weight: 750; letter-spacing: -.03em; }
.news-next.news-commercial > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.news-next.news-commercial a {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 18px 48px 18px 18px; min-height: 112px; border: 1px solid transparent; border-radius: 12px;
  background: var(--bg); color: var(--ink); text-decoration: none !important;
}
.news-next.news-commercial a::after { content: "↗"; position: absolute; top: 16px; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 17px; font-weight: 600; }
.news-next.news-commercial a span { font-size: 16px; line-height: 1.4; font-weight: 650; }
.news-next.news-commercial a small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.news-next.news-commercial a:hover { background: #fff8de; border-color: var(--yellow); }
.news-publication .news-related { padding: 24px; margin: 30px 0; border-radius: 18px; box-shadow: none; }
.news-publication .news-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-related .news-related-card { border-radius: 14px; background: #fff; }
.news-related .news-related-head small, .news-related .news-related-card small { color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.news-related .news-related-head h2 { font-size: 26px; font-weight: 750; }
.news-publication .news-related-card h3 { font-size: 20px; line-height: 1.35; font-weight: 650; }
.news-publication .news-related-card p { font-size: 14px; line-height: 1.6; }
.news-publication .news-related-card a { color: inherit; text-decoration: none; }
.news-publication .news-commercial { margin: 30px 0; }
.news-publication section[id], .news-publication #article-top { scroll-margin-top: 96px; }
.news-publication-toc a { display: inline-block; padding-block: 5px; }
.news-article-end { justify-content: space-between; }
.news-start { padding-top: 28px; }
.news-section-heading small { font-size: 11px; font-weight: 650; letter-spacing: .06em; color: var(--muted); }
.news-section-heading h2, .news-feed-title { margin: 8px 0; font-size: 28px; font-weight: 750; letter-spacing: -.03em; }
.news-section-heading p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.news-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.news-start-card { display: flex; flex-direction: column; gap: 12px; min-height: 164px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.news-start-card:hover { background: #fff8de; border-color: var(--yellow); }
.news-start-card small { font-size: 12px; color: var(--muted); }
.news-start-card strong { font-size: 18px; font-weight: 650; line-height: 1.4; }
.news-start-card span { margin-top: auto; font-size: 13px; color: var(--ink); font-weight: 600; }
.news-start-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.news-filter-shell[data-news-filters] { padding: 24px; border-radius: 18px; box-shadow: var(--shadow); }
.news-search-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.news-search-row label { font-size: 14px; font-weight: 650; }
.news-search-row input { flex: 1; min-width: 160px; min-height: 48px; padding: 12px 14px; border: 1px solid #dfe1e4; border-radius: 12px; background: #fafafa; color: var(--ink); }
.news-search-row input:focus { border-color: var(--yellow); outline: 3px solid rgba(255, 196, 0, .22); }
.news-reset { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; color: var(--ink); font-weight: 600; }
.news-filter-shell .news-filter { min-height: 44px; font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 10px; color: #55585d; background: var(--bg); border-color: transparent; }
.news-filter-shell .news-filter.active { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.news-filter-shell .news-filter:hover, .news-reset:hover { border-color: var(--yellow); }
.news-filter-shell .news-filter-row > strong { color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.news-results { color: var(--muted); font-size: 14px; margin: 18px 0; }
#news-feed { scroll-margin-top: 96px; }
#news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
#news-cards .news-card { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; box-shadow: var(--shadow); }
#news-cards .news-card[hidden] { display: none; }
#news-cards .news-card + .news-card { margin-top: 0; }
#news-cards .news-card-media { min-height: 0; aspect-ratio: 1200/630; }
#news-cards .news-card-media img { width: 100%; height: 100%; object-fit: cover; }
#news-cards .news-card-copy { padding: 22px; flex: 1; }
#news-cards .news-card h2 { margin: 14px 0 12px; font-size: 23px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
#news-cards .news-card p { font-size: 16px; line-height: 1.6; }
#news-cards .news-meta { font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.6; letter-spacing: .025em; }
#news-cards .news-topic { font-weight: 500; color: var(--muted); }
.news-topic-return a:focus-visible, .news-site-menu summary:focus-visible, .news-site-menu a:focus-visible, .news-start a:focus-visible, .news-article-end a:focus-visible, .news-next a:focus-visible, .news-filter:focus-visible, .news-search-row :focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.article-layout > .article-body, .article-layout > .article-aside { min-width: 0; }
.article-body { overflow-wrap: anywhere; }
.article-body .news-related, .article-body .news-commercial { margin-inline: 0; }
.article-body .news-related { padding: 20px; }
.article-body .news-related-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.article-shell h1, .article-hero { overflow-wrap: anywhere; }
.news-head.container { padding: 34px 40px; border: 0; border-radius: 18px; background: var(--yellow); box-shadow: var(--shadow); }
.news-head.container small { color: #4c3f0b; font-size: 11px; font-weight: 650; letter-spacing: .06em; }
.news-head.container h1 { max-width: 850px; margin-top: 14px; font-size: clamp(32px, 4vw, 48px); font-weight: 750; line-height: 1.12; letter-spacing: -.04em; text-transform: none; }
.news-head.container p { max-width: 760px; margin-top: 16px; color: #4c3f0b; font-size: 17px; font-weight: 400; line-height: 1.6; }
.news-head .news-start-actions a { border-color: transparent; background: rgba(255, 255, 255, .6); }
.news-head .news-start-actions a:hover { background: #fff; }
.news-guide-disclosure { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.news-guide-disclosure summary { cursor: pointer; font-size: 16px; font-weight: 650; min-height: 32px; color: var(--ink); }
.news-guide-disclosure[open] summary { margin-bottom: 18px; }
.news-guide-disclosure summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.news-list .news-tg { border-radius: 18px; box-shadow: var(--shadow); }
.news-list .news-tg h3 { font-size: 24px; font-weight: 750; letter-spacing: -.03em; }
#news-start { scroll-margin-top: 96px; }
/* Keep article reading surfaces light; navigation shares the Mini App controls. */
main.news-publication > article { border-radius: 18px; box-shadow: var(--shadow); }
.news-publication .news-publication-meta { color: var(--muted); font-weight: 600; }
.news-publication .news-publication-copy h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 750; line-height: 1.15; }
.news-publication .news-publication-lead { font-weight: 500; }
.news-publication .news-publication-copy h2:not(.vw-tg__title) { font-size: 27px; font-weight: 700; line-height: 1.25; }
.news-publication .news-publication-callout { background: #fff8de; border-color: #f1e1a1; border-radius: 14px; }
.news-publication .news-publication-callout h2 { font-size: 22px; }
.news-publication .news-publication-toc, .news-publication .news-publication-telegram { border-radius: 14px; background: var(--bg); }
.news-publication .news-publication-copy a { color: var(--ink); text-decoration-color: #a2a4a8; }
.news-publication .news-publication-copy a:hover { text-decoration-color: var(--yellow); }
.news-publication .news-publication-telegram > a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; }
@media (max-width: 1050px) {
  .news-site-menu { display: block; margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .news-site-menu summary { padding: 14px 18px; cursor: pointer; font-weight: 650; color: var(--ink); min-height: 48px; }
  .news-site-menu nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 12px 12px; gap: 4px; }
  .news-site-menu nav a { padding: 12px; min-height: 44px; color: var(--ink); font-size: 14px; line-height: 1.4; border-radius: 10px; }
  .news-site-menu nav a:hover { background: #fff5cc; }
  .news-start-grid, #news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  html body .header-row { min-height: 64px; gap: 12px; }
  html body .brand { font-size: 22px; }
  html body .header-cta { min-height: 42px; padding-inline: 12px; font-size: 12px; }
  .news-topic-return { margin-inline: 20px; }
  .news-start-grid, #news-cards { grid-template-columns: 1fr; }
  .news-start-card { min-height: 0; }
  .news-section-heading h2, .news-feed-title { font-size: 24px; }
  .news-publication .news-related-grid { grid-template-columns: 1fr; }
  .news-next.news-commercial { padding: 18px; }
  .news-next.news-commercial > div { grid-template-columns: 1fr; }
  .news-publication .news-commercial { margin-inline: 0; }
  .news-filter-shell[data-news-filters] { padding: 18px; }
  .news-search-row { gap: 10px; }
  .news-search-row label { width: 100%; }
  .news-site-menu nav { grid-template-columns: 1fr; }
  .news-publication .news-publication-copy h1 { font-size: clamp(28px, 7vw, 35px); }
  .news-publication .news-related { padding: 18px; }
  .news-publication section[id], #news-feed, #news-start { scroll-margin-top: 90px; }
  .news-head.container { padding: 26px 22px; margin-top: 16px; }
  .news-head.container p { font-size: 16px; }
  .news-head .news-start-actions a { font-size: 13px; padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
