/*
Theme Name: NKE News
Theme URI: https://nkenews.com
Author: NKE News
Description: NKE News — New Knowledge Everyday. Bold, glossy-red editorial news theme with a live markets ticker, markets board, and article reader. Article and markets content is currently baked into the theme; the ACF / custom-post-type editability phase is next.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nke-news
*/

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; font-family: 'Archivo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: #0e0e10; }
::selection { background: #ffd2d6; color: #1a0307; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

@keyframes nke-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nke-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nke-blink { 0%,60% { opacity: 1; } 80%,100% { opacity: .25; } }
@keyframes nke-sheen { 0% { transform: translateX(-120%) skewX(-18deg); } 55%,100% { transform: translateX(320%) skewX(-18deg); } }
.nke-scroll { scrollbar-width: thin; scrollbar-color: #d6001c transparent; }
.nke-scroll::-webkit-scrollbar { height: 6px; }
.nke-scroll::-webkit-scrollbar-thumb { background: #d6001c; border-radius: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nke-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .nke-aside { position: static !important; top: auto !important; }
  .nke-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .nke-three { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  .nke-grid { padding: 22px 16px 40px !important; }
  .nke-three { grid-template-columns: 1fr !important; }
  .nke-two { grid-template-columns: 1fr !important; }
  .nke-mkt-big { grid-template-columns: 1fr 1fr !important; }
  .nke-footer-grid { grid-template-columns: 1fr !important; }
  .nke-listitem { grid-template-columns: 110px 1fr !important; gap: 12px !important; }
  .nke-pod-feat { grid-template-columns: 90px 1fr !important; gap: 14px !important; }
  /* Scale the oversized editorial headlines down on phones */
  #nke-root h1 { font-size: 30px !important; line-height: 1.08 !important; }
  #nke-root article h1 { font-size: 28px !important; }
  #nke-root h2 { font-size: 12px !important; }
  #nke-root figure div { font-size: 20px !important; }
}
@media (max-width: 480px) {
  .nke-mkt-big { grid-template-columns: 1fr !important; }
  .nke-listitem { grid-template-columns: 1fr !important; }
  .nke-listitem > div:first-child { display: none !important; }
}

