.news-band[hidden] { display: none; }
.news-band { border-bottom: 2px solid #111111; background: #f5f5f1; color: #111111; }
.news-inner { max-width: 1256px; margin: auto; padding: 20px 24px 24px; }
.news-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.news-heading h2 { font-size: 26px; margin: 0; line-height: 1.1; }
.news-heading > span { font-size: 12px; }
.news-controls { display: flex; gap: 8px; margin-left: auto; }
.news-controls button { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid #111111; background: white; cursor: pointer; border-radius: 0; }
.news-controls button:disabled { opacity: .3; cursor: default; }
.news-controls img { width: 18px; height: 18px; }
.news-controls [data-news-prev] img { transform: rotate(180deg); }
.news-track { display: grid; grid-auto-flow: column; grid-auto-columns: 280px; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0; list-style: none; padding: 0 5px 8px 0; margin: 0; scrollbar-width: thin; }
.news-card { scroll-snap-align: start; border: 2px solid #111111; box-shadow: 4px 4px 0 #111111; background: white; min-width: 0; }
.news-card > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.news-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2px solid #111111; flex-shrink: 0; }
.news-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.news-art { position: absolute; inset: 0; overflow: hidden; background: #d8f56b; }
.news-card:nth-child(even) .news-art { background: #f5f5f1; }
.news-pc { position: absolute; left: 12px; top: 12px; font-weight: 900; font-size: 38px; line-height: 1; color: #111111; }
.news-brand { position: absolute; left: 12px; bottom: 10px; font-size: 11px; font-weight: 900; background: #111111; color: white; padding: 3px 6px; }
.news-court { position: absolute; border: 2px solid #111111; width: 126px; height: 130px; right: 14px; top: 14px; transform: rotate(-12deg); }
.news-court::before { content: ''; position: absolute; inset: 26px 13px; border: 2px solid #111111; }
.news-court::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; border-top: 2px solid #111111; }
.news-card h3 { font-size: 19px; line-height: 1.25; margin: 14px 14px 18px; overflow-wrap: anywhere; font-family: inherit; text-transform: none; }
.news-meta { display: flex; gap: 8px; align-items: center; margin: auto 14px 14px; font-size: 11px; }
.news-meta time { margin-left: auto; white-space: nowrap; }
.news-meta img { width: 14px; height: 14px; }
.news-credit { display: block; margin: 6px 14px 0; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.news-previews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 2px solid #111111; }
.news-preview { min-width: 0; }
.news-preview:first-child { grid-column: 1 / -1; }
.news-preview:first-child .news-preview-media { aspect-ratio: 21 / 9; }
.news-preview:first-child h3 { font-size: 30px; }
.news-preview:first-child p { max-width: 80ch; }
.news-preview-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.news-preview-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid #111111; }
.news-preview-media > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.news-preview-art { position: absolute; inset: 0; display: grid; place-items: center; background: #d8f56b; color: #111111; font-size: 28px; font-weight: 900; }
.news-preview:nth-child(even) .news-preview-art { background: #ffffff; }
.news-preview-credit { font-size: 10px; line-height: 1.4; margin-top: 6px; overflow-wrap: anywhere; }
.news-preview-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 10px; font-size: 11px; }
.news-preview-meta time { margin-left: auto; }
.news-preview h3 { font-family: inherit; text-transform: none; font-size: 24px; line-height: 1.2; margin: 0 0 12px; overflow-wrap: anywhere; }
.news-preview p { font-size: 16px; line-height: 1.5; margin: 0 0 16px; overflow-wrap: anywhere; }
.news-preview-read { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: auto; font-size: 13px; font-weight: 700; }
.news-preview-read img { width: 18px; height: 18px; }
.news-preview-link:focus-visible { outline: 3px solid #111111; outline-offset: 4px; }
@media(hover:hover) { .news-preview-link:hover h3 { text-decoration: underline; } }
@media(max-width:640px) { .news-previews { grid-template-columns: minmax(0,1fr); gap: 24px; margin-top: 20px; padding-top: 20px; } .news-preview h3 { font-size: 21px; } }
@media(max-width:640px) { .news-preview:first-child .news-preview-media { aspect-ratio: 16 / 9; } .news-preview:first-child h3 { font-size: 24px; } }
.news-page .news-band { display: none; }
.news-page .pwa-banner { display: none; }
.news-detail { max-width: 820px; margin: 0 auto; }
.news-detail .page-heading h1 { font-size: 40px; line-height: 1.1; overflow-wrap: anywhere; }
.news-detail figure { margin: 24px 0; }
.news-detail figure img { display: block; width: 100%; max-height: 460px; object-fit: contain; border: 2px solid #111111; background: #111111; }
.news-detail figcaption,.news-attribution { font-size: 12px; line-height: 1.5; }
.news-summary { font-size: 20px; line-height: 1.6; }
.news-original { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; background: #d8f56b; border: 2px solid #111111; box-shadow: 4px 4px #111111; color: #111111; font-weight: 700; }
.news-original img { width: 18px; height: 18px; }
.news-reader-mode { scroll-snap-type: y proximity; scroll-padding-top: 56px; }
.news-reader-toolbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 4px 16px; border-bottom: 2px solid #111111; background: #f5f5f1; color: #111111; }
.news-reader-toolbar a,.news-reader-toolbar button { display: inline-flex; justify-content: center; align-items: center; height: 44px; min-width: 44px; padding: 8px; border: 2px solid #111111; border-radius: 0; background: white; color: #111111; cursor: pointer; font-size: 13px; }
.news-reader-toolbar button:disabled { opacity: .35; cursor: default; }
.news-reader-toolbar img { width: 18px; height: 18px; }
.news-reader-toolbar .reader-home { background: #d8f56b; font-weight: 700; }
.reader-up { transform: rotate(-90deg); }
.reader-down { transform: rotate(90deg); }
.reader-position { min-width: 58px; text-align: center; font-size: 12px; }
.news-reader-mode .news-page main { padding-top: 0; padding-bottom: 0; }
.news-reader-mode .news-detail { min-height: calc(100svh - 56px); padding: 24px 0 32px; scroll-snap-align: start; scroll-margin-top: 0; }
.news-reader-mode .news-detail + .news-detail { border-top: 2px solid #111111; }
.news-reader-mode .news-detail .page-heading { margin-bottom: 16px; }
.news-reader-mode .news-detail .page-heading h1,.news-reader-mode .news-detail .page-heading h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.1; overflow-wrap: anywhere; text-transform: none; }
.news-reader-mode .news-detail .page-heading p { font-size: 12px; }
.news-reader-mode .news-detail figure { margin: 16px 0; }
.news-reader-mode .news-detail figure img { height: auto; max-height: min(34svh,360px); object-fit: contain; }
.news-reader-mode .news-summary { font-size: 18px; line-height: 1.5; margin: 16px 0; }
.news-reader-mode .news-attribution { margin-top: 20px; }
.news-reader-mode .news-detail > nav,.news-reader-mode .news-detail > p:last-child:not(.news-attribution) { display: none; }
.news-reader-art { display: grid; place-items: center; min-height: 160px; margin: 16px 0; border: 2px solid #111111; background: #d8f56b; font-weight: 900; font-size: 28px; }
@media(max-width:640px) {
  .news-reader-mode .news-page .nav-links { min-width: 0; max-width: 100%; overflow-x: auto; justify-content: flex-start; }
  .news-reader-mode .news-page .nav-links a { flex-shrink: 0; }
  .news-reader-mode .news-detail { padding-top: 16px; }
  .news-reader-mode .news-detail .page-heading h1,.news-reader-mode .news-detail .page-heading h2 { font-size: 27px; }
  .news-reader-mode .news-summary { font-size: 17px; }
  .news-reader-mode .news-page main { width: 100%; max-width: none; padding-inline: 0; }
  .news-reader-mode .news-detail { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; max-width: none; min-height: calc(100svh - 56px); padding: 32px 20px 24px; background: #111111; color: white; }
  .news-reader-mode .news-detail::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom,rgba(0,0,0,.12) 0%,rgba(0,0,0,.25) 22%,rgba(0,0,0,.8) 52%,rgba(0,0,0,.96) 100%); pointer-events: none; }
  .news-reader-mode .news-detail figure { position: absolute; inset: 0; margin: 0; z-index: -2; }
  .news-reader-mode .news-detail figure img { width: 100%; height: 100%; max-height: none; border: 0; object-fit: cover; object-position: center 30%; }
  .news-reader-mode .news-detail figcaption { position: absolute; top: 12px; right: 12px; max-width: 75%; padding: 3px 6px; background: rgba(0,0,0,.7); color: white; font-size: 10px; overflow-wrap: anywhere; }
  .news-reader-mode .news-detail .page-heading { margin-top: auto; margin-bottom: 0; padding-top: 24svh; }
  .news-reader-mode .news-detail .page-heading h1,.news-reader-mode .news-detail .page-heading h2 { color: white; font-size: 27px; line-height: 1.12; text-shadow: 0 1px 3px #111111; }
  .news-reader-mode .news-detail .page-heading p { color: white; }
  .news-reader-mode .news-summary { margin: 12px 0 16px; color: white; text-shadow: 0 1px 3px #111111; }
  .news-reader-mode .news-attribution { margin-top: 18px; color: #eeeeee; font-size: 11px; }
  .news-reader-mode .news-original { max-width: 100%; overflow-wrap: anywhere; }
  .news-reader-mode .news-detail + .news-detail { border-top: 2px solid white; }
  .news-reader-mode .news-reader-art { position: absolute; inset: 0; z-index: -2; margin: 0; border: 0; color: #111111; align-items: start; padding-top: 48px; }
}
@media (max-width:640px) { .news-detail .page-heading h1 { font-size: 30px; } .news-summary { font-size: 18px; } }
.news-card a:focus-visible, .news-controls button:focus-visible, .news-track:focus-visible { outline: 3px solid #111111; outline-offset: -5px; }
@media (hover: hover) { .news-card a:hover h3 { text-decoration: underline; } }
@media (max-width: 640px) { .news-inner { padding: 16px; } .news-track { grid-auto-columns: min(280px, 82vw); } .news-heading { gap: 8px; } .news-heading h2 { font-size: 23px; } .news-heading > span { display: none; } }
@media (max-width: 640px) {
  .directory-page .news-inner { padding-block: 12px; }
  .directory-page .news-heading { margin-bottom: 12px; }
  .directory-page .news-media { aspect-ratio: 2 / 1; }
  .directory-page .news-card h3 { font-size: 18px; line-height: 1.2; margin-block: 12px; }
}
