/* Homepage news rail plus news center views */
button.news-card,button.desktop-news-card { width:100%; margin:0; text-align:left; font:inherit; cursor:pointer; }
button.news-card { padding:0; }
button.desktop-news-card { background:transparent; border-right:0; border-bottom:0; border-left:0; }
.news-card:focus-visible,.desktop-news-card:focus-visible,.news-translate button:focus-visible { outline:3px solid var(--accent2); outline-offset:3px; }
.news-translate { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:22px; padding:14px; background:#121e2a; border:1px solid var(--border); border-radius:8px; }
.news-translate button,.news-dialog-close { padding:10px 14px; color:var(--text); background:#1c3043; border:1px solid var(--border); border-radius:5px; font:inherit; cursor:pointer; }
.news-translate button:disabled { opacity:.65; cursor:wait; }
#newsTranslateStatus { color:var(--muted); font-size:12px; }
#google_translate_element:empty { display:none; }
.news-reader-dialog { position:fixed; width:min(900px,calc(100% - 32px)); max-height:90vh; box-sizing:border-box; overflow:auto; padding:24px; color:var(--text); background:#0d151e; border:1px solid var(--border); border-radius:12px; }
.news-reader-dialog::backdrop { background:rgba(0,0,0,.75); }
.news-dialog-close { position:sticky; top:0; z-index:1; display:block; margin-left:auto; }
.article-body>h2 { margin:30px 0 12px; font-size:23px; line-height:1.35; }
.article-body>ul { padding-left:24px; color:#d1dbe5; font-size:15px; line-height:1.85; }
.article-body p,.article-body li { overflow-wrap:anywhere; white-space:pre-line; }
.news-reading-pane img[hidden] { display:none; }
@media(max-width:680px) { .news-page .site-header .wrap { flex-wrap:wrap; gap:10px; padding-top:8px; padding-bottom:8px; } .news-reader-dialog { padding:16px; } }

.section-nav { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.section-nav-inner { display:block; }
.section-tab-current { display:none; }
.section-tab { color:var(--text); text-decoration:none; }
.section-tab-mark { color:var(--accent2); }
.section-tab strong,.section-tab small { display:block; }
.section-tab-count { color:var(--accent2); }
.desktop-news-rail { display:none; }
.news-page { background:#0d151e; }
.news-page .site-header { position:sticky; top:0; }
.news-page .site-header .wrap { display:flex; align-items:center; justify-content:space-between; min-height:76px; }
.news-brand { display:flex; align-items:center; gap:13px; color:var(--text); text-decoration:none; }
.news-brand strong,.news-brand small { display:block; }
.news-brand .brand-mark { width:64px; height:64px; flex:0 0 64px; font-size:25px; }
.news-brand strong { font-size:19px; }
.news-brand small { margin-top:4px; color:var(--accent2); font-size:12px; font-weight:800; letter-spacing:1.2px; }
.news-page-nav { display:flex; align-items:center; gap:24px; font-size:15px; }
.news-page-nav a { color:var(--muted); text-decoration:none; }
.news-page-nav a:hover,.news-page-nav span { color:var(--accent2); }
.news-hub { width:min(1320px,100%); margin:0 auto; padding:38px 28px 64px; }
.news-listing-view[hidden],.news-article-view[hidden] { display:none!important; }
.news-hub-heading { display:flex; justify-content:space-between; align-items:end; gap:28px; padding:8px 0 27px; border-bottom:1px solid var(--border); }
.news-kicker { margin:0 0 8px; color:var(--accent2); font-size:10px; font-weight:800; letter-spacing:1.3px; }
.news-hub-heading h1 { font-size:38px; line-height:1.1; }
.news-hub-heading>div:first-child>p:last-child { max-width:600px; margin-top:9px; color:var(--muted); font-size:14px; line-height:1.6; }
.news-controls { display:grid; grid-template-columns:minmax(230px,320px) minmax(0,1fr); gap:28px; align-items:end; padding:20px 0 18px; border-bottom:1px solid var(--border); }
.news-control-label { display:block; margin-bottom:7px; color:var(--muted); font-size:10px; font-weight:700; text-transform:uppercase; }
.news-search-field { display:flex; align-items:center; gap:9px; height:42px; padding:0 10px; background:#121e2a; border:1px solid var(--border); border-radius:6px; }
.news-search-field:focus-within { border-color:var(--accent); box-shadow:0 0 0 2px rgba(59,130,246,.13); }
.news-search-field>span { color:var(--accent2); font-size:21px; line-height:1; }
.news-search-field input { width:100%; min-width:0; color:var(--text); background:transparent; border:0; outline:0; font:13px inherit; }
.news-search-field input::placeholder { color:#778798; }
.news-search-field button { width:25px; height:25px; color:var(--muted); background:transparent; border:0; font-size:20px; cursor:pointer; }
.news-category-tabs { display:flex; gap:7px; overflow-x:auto; padding:1px 1px 3px; scrollbar-width:thin; }
.news-category-tab { flex:0 0 auto; display:flex; align-items:center; min-height:34px; padding:6px 10px; color:#bac7d4; background:#121e2a; border:1px solid var(--border); border-radius:5px; font:12px inherit; cursor:pointer; }
.news-category-tab:hover { border-color:#62758a; color:#fff; }
.news-category-tab.is-active { color:#111a23; background:var(--accent2); border-color:var(--accent2); font-weight:700; }
.news-results-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:22px 0 13px; }
.news-results-heading h2 { font-size:18px; }
.news-results-heading>span { color:var(--muted); font-size:11px; }
.news-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.news-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; color:var(--text); background:#121e2a; border:1px solid #273747; border-radius:8px; text-decoration:none; transition:border-color .16s,transform .16s,background .16s; }
.news-card:hover { transform:translateY(-2px); background:#172635; border-color:#62758a; }
.news-card-media { position:relative; display:block; overflow:hidden; aspect-ratio:16/9; background:#1a2937; }
.news-card-media img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .2s; }
.news-card:hover .news-card-media img { transform:scale(1.025); }
.news-card-no-image { display:grid; width:100%; height:100%; place-items:center; color:var(--accent2); font-size:19px; font-weight:800; }
.news-card-number { position:absolute; right:9px; bottom:9px; padding:4px 7px; color:#fff; background:rgba(5,12,18,.75); border-radius:4px; font-size:10px; }
.news-card-content { display:flex; flex:1; flex-direction:column; align-items:start; padding:14px 15px 13px; }
.news-card-meta { display:flex; flex-wrap:wrap; gap:9px; align-items:center; margin-bottom:8px; color:var(--accent2); font-size:10px; font-weight:700; text-transform:uppercase; }
.news-card-meta time { color:var(--muted); font-weight:400; text-transform:none; }
.news-card-content>strong { display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; min-height:42px; font-size:15px; line-height:1.4; }
.news-card-excerpt { display:-webkit-box; overflow:hidden; -webkit-line-clamp:3; -webkit-box-orient:vertical; min-height:54px; margin-top:8px; color:#aebdcb; font-size:12px; line-height:1.5; }
.news-card-action { display:flex; justify-content:space-between; width:100%; margin-top:auto; padding-top:13px; color:var(--accent2); font-size:11px; font-weight:700; }
.news-load-row { display:flex; align-items:center; justify-content:flex-end; gap:14px; padding-top:20px; }
.news-load-row button { min-height:38px; padding:0 15px; color:var(--text); background:#172635; border:1px solid var(--border); border-radius:5px; font:600 12px inherit; cursor:pointer; }
.news-load-row button:hover { border-color:var(--accent); }
.news-load-row button[hidden] { display:none; }
.news-empty { display:flex; flex-direction:column; align-items:center; gap:8px; grid-column:1/-1; padding:64px 20px; color:var(--muted); text-align:center; border:1px dashed var(--border); border-radius:8px; }
.news-empty strong { color:var(--text); font-size:16px; }
.news-empty a { margin-top:8px; color:var(--accent2); }
.news-article-view { position:relative; max-width:900px; margin:0 auto; padding-right:154px; }
.article-back { position:fixed; z-index:45; top:50%; right:22px; transform:translateY(-50%); display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 14px; color:#d4dee8; background:#142230; border:1px solid var(--border); border-radius:6px; box-shadow:0 5px 18px rgba(0,0,0,.3); font:600 12px inherit; white-space:nowrap; cursor:pointer; }
.article-back:hover { border-color:var(--accent2); color:var(--accent2); }
.news-reading-pane { min-width:0; padding:0 0 40px; }
.article-header { padding:2px 0 20px; }
.article-meta { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:11px; }
.article-meta span { color:var(--accent2); font-weight:800; text-transform:uppercase; }
.article-header h1 { max-width:850px; margin:12px 0 14px; font-size:clamp(30px,4vw,46px); line-height:1.12; }
.article-deck { max-width:760px; color:#c1ceda; font-size:16px; line-height:1.7; }
.article-hero { margin:0 0 28px; overflow:hidden; background:#121e2a; border-radius:8px; }
.article-hero img { display:block; width:100%; max-height:510px; aspect-ratio:16/9; object-fit:cover; }
.article-hero figcaption { padding:7px 10px; color:var(--muted); font-size:10px; }
.article-body { max-width:740px; margin:0 auto; }
.article-section { margin:0 0 24px; }
.article-section h2 { margin:30px 0 12px; padding-bottom:9px; border-bottom:1px solid var(--border); font-size:22px; line-height:1.3; }
.article-section p,.article-body>p { margin:0 0 16px; color:#d1dbe5; font-size:15px; line-height:1.85; }
.article-section ul { margin:0 0 17px; padding-left:24px; color:#d1dbe5; font-size:15px; line-height:1.85; }
.article-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:26px 0; }
.article-gallery img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; background:#121e2a; border-radius:5px; }
.article-attribution { margin-top:26px!important; padding-top:13px; border-top:1px solid var(--border); color:var(--muted)!important; font-size:11px!important; }
.news-placeholder { padding:70px 20px; color:var(--muted); text-align:center; }
@media(max-width:980px) { .news-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .news-controls { grid-template-columns:minmax(220px,280px) minmax(0,1fr); gap:18px; } }
@media(max-width:760px) {
  body:not(.news-page) .section-nav { position:relative; width:auto; height:auto; overflow:visible; clip-path:none; background:#111c27; border-bottom:1px solid var(--border); }
  body:not(.news-page) .section-nav-inner { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:0; }
  body:not(.news-page) .section-tab-current,body:not(.news-page) .section-tab-news { box-sizing:border-box; display:flex; align-items:center; justify-content:flex-start; width:100%; min-width:0; min-height:62px; padding:10px 12px; gap:9px; color:var(--text); text-decoration:none; }
  body:not(.news-page) .section-tab-current { border-right:1px solid var(--border); }
  body:not(.news-page) .section-tab-current>span:last-child,body:not(.news-page) .section-tab-news>span:nth-child(2) { min-width:0; }
  body:not(.news-page) .section-tab-current strong,body:not(.news-page) .section-tab-news strong { white-space:nowrap; }
  body:not(.news-page) .section-tab-news .section-tab-count { margin-left:auto; }
  body:not(.news-page) .section-tab strong { font-size:12px; }
  body:not(.news-page) .section-tab small { font-size:10px; }
}
@media(max-width:680px) {
  .news-page .site-header .wrap { min-height:64px; }
  .news-brand .brand-mark { width:54px; height:54px; flex-basis:54px; font-size:22px; }
  .news-brand strong { font-size:15px; }
  .news-brand small { font-size:10px; }
  .news-page-nav { gap:14px; font-size:13px; }
  .news-hub { padding:24px 16px 40px; }
  .news-hub-heading { align-items:start; padding-bottom:19px; }
  .news-hub-heading h1 { font-size:30px; }
  .news-hub-heading>div:first-child>p:last-child { max-width:440px; font-size:12px; }
  .news-controls { grid-template-columns:1fr; gap:14px; padding:16px 0; }
  .news-search-field { height:40px; }
  .news-results-heading { padding-top:18px; }
  .news-card-grid { grid-template-columns:1fr; gap:12px; }
  .news-card { display:grid; grid-template-columns:118px minmax(0,1fr); min-height:132px; }
  .news-card-media { position:relative; display:block; width:100%; height:100%; min-height:132px; aspect-ratio:auto; overflow:hidden; }
  .news-card-media img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
  .news-card-content { padding:10px 11px; }
  .news-card-meta { gap:6px; margin-bottom:5px; font-size:9px; }
  .news-card-content>strong { min-height:auto; font-size:13px; }
  .news-card-excerpt { display:none; }
  .news-card-action { padding-top:8px; font-size:10px; }
  .news-card-number { right:5px; bottom:5px; }
  .news-article-view { padding:0; }
  .article-back { top:auto; right:12px; bottom:18px; transform:none; min-height:44px; padding:0 13px; }
  .news-article-view { padding-right:0; }
  .article-header h1 { font-size:29px; }
  .article-deck { font-size:14px; }
  .article-body { max-width:none; }
  .article-section h2 { font-size:19px; }
  .article-section p,.article-body>p,.article-section ul { font-size:14px; }
  .article-gallery { grid-template-columns:1fr; }
}
@media(max-width:390px) {
  .news-page-nav { gap:8px; }
  .news-page-nav a { max-width:95px; }
  .news-card { grid-template-columns:100px minmax(0,1fr); }
  .news-card-content>strong { font-size:12px; }
}
@media(min-width:1101px) {
  .desktop-news-rail { position:fixed; z-index:20; top:62px; right:16px; display:block; width:300px; height:calc(100vh - 91px); max-height:none; overflow:hidden; padding:15px 14px; background:#111c27; border:1px solid var(--border); border-top:3px solid var(--accent2); border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.28); }
  .desktop-news-left { right:auto; left:16px; padding:10px; }
  .desktop-news-rail:not(.desktop-news-left) { overflow:visible; }
  .starter-ad { position:relative; display:block; width:100%; height:100%; overflow:hidden; background:#101a25; border:1px solid rgba(245,197,24,.42); border-radius:6px; text-decoration:none; isolation:isolate; }
  .starter-ad-video { display:block; width:100%; height:100%; object-fit:cover; object-position:center; background:#08111a; }
  .starter-ad-sound { position:absolute; right:11px; bottom:10px; left:11px; padding:7px 8px; color:#f5c518; background:rgba(5,10,16,.72); border:1px solid rgba(245,197,24,.36); border-radius:4px; font-size:9px; font-weight:800; letter-spacing:1.4px; text-align:center; pointer-events:none; }
  .desktop-news-rail-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:5px 0 8px; }
  .desktop-news-rail-heading>div { align-self:center; }
  .desktop-news-rail-heading>a { align-self:center; transform:translateY(4px); }
  .desktop-news-rail-heading .news-kicker { margin-bottom:4px; font-size:9px; }
  .desktop-news-rail-heading h2 { font-size:20px; }
  .desktop-news-rail-heading>a { color:var(--accent2); font-size:15px; font-weight:700; text-decoration:none; white-space:nowrap; }
  .news-side-list { display:grid; gap:3px; }
  .desktop-news-card { display:grid; grid-template-columns:88px minmax(0,1fr); gap:10px; align-items:start; padding:9px 0; color:var(--text); text-decoration:none; border-top:1px solid rgba(46,64,84,.65); }
  .desktop-news-card:hover strong { color:var(--accent2); }
  .desktop-news-image { display:block; width:88px; aspect-ratio:16/10; overflow:hidden; background:var(--bg2); border-radius:5px; }
  .desktop-news-image img { display:block; width:100%; height:100%; object-fit:cover; }
  .desktop-news-card-copy { display:grid; gap:4px; }
  .desktop-news-category,.desktop-news-card-copy small { display:none; }
  .desktop-news-card-copy strong { display:-webkit-box; overflow:hidden; -webkit-line-clamp:4; -webkit-box-orient:vertical; font-size:15px; font-weight:500; line-height:1.4; }
  .news-side-error { color:var(--muted); font-size:10px; }
}
@media(max-width:1100px) { .desktop-news-rail { display:none!important; } }
