/* Standalone News page foundations: other JMC pages define these inline. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#07100d;color:#f4f7f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.55}
button,input,select,textarea{font:inherit}
a{color:inherit;text-decoration:none}
.container{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.news-main .container{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.news-main{display:block;width:100%}
.news-hero .container{position:relative}
.news-hero h1{font-weight:900;line-height:1.07}
.news-hero p{font-size:16px;max-width:650px}
.news-toolbar h2{font-weight:850;letter-spacing:-.03em}
.news-section{min-height:310px}
.news-empty{padding:24px;border:1px dashed rgba(139,234,53,.24);border-radius:14px;background:rgba(139,234,53,.035)}
body.news-page header.nav .nav-links a[href="/news/"]::after{right:0!important}
@media(max-width:620px){.news-main .container{width:calc(100% - 28px)}.news-hero p{font-size:14px}.news-section{min-height:260px}}
.news-main{min-height:65vh;background:radial-gradient(circle at 50% 0,rgba(139,234,53,.09),transparent 38%),#07100d;color:#f4f7f2}.news-hero{padding:78px 0 48px;border-bottom:1px solid rgba(255,255,255,.1)}.news-kicker{color:#8bea35;font-size:11px;font-weight:900;letter-spacing:.14em}.news-hero h1{font-size:clamp(38px,6vw,68px);letter-spacing:-.055em;margin:12px 0}.news-hero p,.news-empty,.news-card p{color:#9daaa1;line-height:1.7}.news-section{padding-top:40px;padding-bottom:80px}.news-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.news-toolbar h2{margin:0;font-size:26px}.news-toolbar select,.news-editor input,.news-editor select,.news-editor textarea{background:#102017;border:1px solid rgba(255,255,255,.16);color:#f4f7f2;padding:12px;border-radius:9px;font:inherit;max-width:100%}.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:18px}.news-card{border:1px solid rgba(255,255,255,.11);background:#0e1d16;border-radius:16px;padding:24px;min-width:0}.news-card h3{font-size:23px;line-height:1.25;margin:14px 0}.news-card p{white-space:pre-wrap;overflow-wrap:anywhere}.news-card .news-meta{font-size:12px;color:#9daaa1}.news-tag{display:inline-block;padding:6px 10px;border-radius:20px;background:rgba(139,234,53,.12);color:#c4ff70;font-size:11px;font-weight:800}.news-editor{display:grid;gap:12px;margin-top:14px}.news-editor label{display:grid;gap:6px;font-size:12px;font-weight:750}.news-editor textarea{min-height:140px;resize:vertical}.news-editor button,.news-actions button{border:1px solid #8bea35;background:#8bea35;color:#07100d;border-radius:9px;padding:11px 16px;font-weight:850;cursor:pointer}.news-editor button:disabled{opacity:.5;cursor:not-allowed}.news-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.news-actions button{padding:8px 12px;font-size:12px}.news-actions .danger{background:transparent;color:#ff9a9a;border-color:#ff9a9a}.news-error{color:#ffb3b3}.news-status{font-size:12px;color:#9daaa1}@media(max-width:600px){.news-hero{padding:50px 0 32px}.news-section{padding-top:26px}}
/* Align the pin checkbox and its label in the staff announcement editor. */
.news-editor label:has(> input[type="checkbox"]) {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 2px 0 4px;
  cursor: pointer;
  line-height: 1.4;
}
.news-editor label > input[type="checkbox"] {
  appearance: auto;
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 0;
  padding: 0;
  flex: 0 0 17px;
  accent-color: #8bea35;
  cursor: pointer;
}

/* Staff pin option: override the broad .news-editor input styling. */
.news-editor label:has(> input[type="checkbox"]) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: fit-content;
  font-size: 12px;
}
.news-editor input[type="checkbox"] {
  display: inline-block !important;
  appearance: auto !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  flex: 0 0 17px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 3px !important;
  accent-color: #8bea35 !important;
  vertical-align: middle;
}

/* News editor v2 */
.news-toolbar-editor{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.news-toolbar-editor button{background:#14251c!important;color:#c4ff70!important;border:1px solid #35523b!important;padding:7px 10px!important;font-size:12px!important}
.news-editor-actions{display:flex;flex-wrap:wrap;gap:10px}
.news-editor-actions button{flex:1 1 145px}
.news-editor-actions .news-secondary,.news-manage-row .news-secondary{background:transparent!important;color:#c4ff70!important;border:1px solid #436344!important}
.news-editor .news-checkline{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-direction:row!important;gap:10px!important}
.news-editor .news-checkline input[type="checkbox"]{appearance:auto!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;padding:0!important;margin:0!important;flex:0 0 17px!important;accent-color:#8bea35!important}
.news-editor-cover{max-width:100%;max-height:250px;object-fit:cover;border-radius:10px}
.news-editor-cover[hidden]{display:none!important}
.news-preview{border:1px dashed #35523b;border-radius:12px;padding:10px;min-height:65px}
.news-preview .news-card{padding:15px}
.news-body{color:#c3cdc5;overflow-wrap:anywhere;line-height:1.65}
.news-body p{margin:8px 0;white-space:pre-wrap}
.news-body ul{margin:8px 0;padding-left:22px}
.news-body a{color:#8bea35;text-decoration:underline}
.news-body h3,.news-body h4,.news-body h5{margin:14px 0 6px;color:#f4f7f2}
.news-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin-bottom:16px}
.news-manage-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.1);padding:12px 0}
.news-manage-row span{flex:1 1 170px;min-width:0;overflow-wrap:anywhere}
.news-manage-row button{border:1px solid #426044;background:transparent;color:#c4ff70;padding:7px 11px;border-radius:8px;cursor:pointer}
.news-manage-row .danger{color:#ff9a9a;border-color:#ff9a9a}
