/* Clone-only reflow: black/green desktop masthead and headline hierarchy retained. */
@media (max-width: 980px) {
  .w960, .header, .nav, .footer { width: calc(100% - 24px); max-width: 960px; box-sizing: border-box; }
  .w960 *, .header *, .nav *, .footer * { box-sizing: border-box; min-width: 0; }
  .header { height: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
  .header h1 { float: none; }
  .header h1 a { width: auto; height: auto; margin: 0; }
  .header h1 img { max-width: 100%; height: auto; }
  .header .search { float: none; margin: 0; max-width: 100%; }
  .nav_bg { height: auto; }
  .nav { display: flex; flex-wrap: wrap; height: auto; }
  .nav a { float: none; padding: 9px 13px; line-height: 1.6; overflow-wrap: anywhere; }
  body > .w960 { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; }
  .pleft, .pright { width: auto; float: none; overflow: visible; }
  .pleft .place { width: 100%; height: auto; min-height: 32px; line-height: 1.7; text-indent: 0; padding: 6px 10px; overflow-wrap: anywhere; }
  .index .pleft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; }
  .index .bignews { width: auto; height: auto; float: none; grid-column: 2; grid-row: 1 / span 2; overflow: visible; }
  .index .flashnews { width: auto; height: auto; float: none; grid-column: 1; grid-row: 1; }
  .index .flashnews img { display: block; width: 100%; height: auto; aspect-ratio: 296 / 259; object-fit: cover; }
  .index .latestnews { width: auto; height: auto; float: none; grid-column: 1; grid-row: 2; margin: 0; }
  .index .listbox { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .listbox, .viewbox { width: 100%; float: none; overflow: visible; }
  .index .listbox dl { width: auto; float: none; margin: 0; }
  .index .bignews .onenews { padding: 10px; }
  .index .bignews .onenews h2 { height: auto; line-height: 1.6; }
  .index .bignews div.d1, .index .bignews ul.c2 { width: 100%; height: auto; padding: 8px 10px; }
  .index .bignews div.d1arc { width: 100%; height: auto; float: none; margin: 0 0 6px; line-height: 1.7; }
  .index .bignews ul.c2 li { width: 100%; float: none; }
  .tbox dt { height: auto; min-height: 32px; line-height: 1.7; white-space: normal; }
  .tbox dt strong { height: auto; line-height: 1.7; padding: 4px 0; }
  .tbox dt span.more { line-height: 1.7; padding: 4px 0; }
  .tbox dd { overflow: visible; }
  .d1 li, .d2 li, .d4 li, .c1 li, .c2 li, .dotline, .index .hot dl dd .c1 li { width: auto; height: auto; min-height: 28px; line-height: 1.8; overflow: visible; overflow-wrap: anywhere; }
  .d1 li span { float: none; }
  .e2 li { height: auto; overflow: visible; line-height: 1.8; }
  .e2 li .title { height: auto; line-height: 1.6; }
  .e2 li .info { height: auto; line-height: 1.7; }
  .viewbox .title, .viewbox .info, .viewbox .handle { height: auto; line-height: 1.7; overflow: visible; }
  .viewbox .title { padding: 12px 10px 6px; }
  .viewbox .title h2 { font-size: 23px; line-height: 1.5; }
  .viewbox .content { padding: 12px; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
  .viewbox .content img { max-width: 100% !important; height: auto !important; }
  .viewbox .content table { width: 100%; max-width: 100%; table-layout: fixed; }
  .viewbox .content td { overflow-wrap: anywhere; }
  .viewbox .content pre { max-width: 100%; white-space: pre-wrap; }
  .viewbox .handle .context { float: none; width: 100%; padding: 0 10px; }
  .dede_pages { width: 100%; height: auto; overflow: visible; }
  .dede_pages ul { display: flex; flex-wrap: wrap; gap: 6px; float: none; white-space: normal; }
  .link.w960 { display: block; padding: 10px; overflow-wrap: anywhere; }
  .link p { display: flex; flex-wrap: wrap; gap: 6px 12px; line-height: 1.8; }
  .footer { padding: 12px; line-height: 1.8; overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  body > .w960 { display: block; }
  .index .pleft { display: flex; flex-direction: column; }
  .index .flashnews { order: 0; width: 100%; }
  .index .flashnews img { aspect-ratio: 16 / 9; }
  .index .bignews { order: 1; width: 100%; }
  .index .latestnews { order: 2; width: 100%; }
  .index .listbox { order: 3; width: 100%; grid-template-columns: minmax(0, 1fr); }
  .pright { margin-top: 16px; }
  .header .search { width: 100%; }
  .header .search form { display: flex; gap: 6px; }
  .search-keyword { flex: 1; min-width: 0; }
}
