/*
Theme Name: Newspot
Description: Tema filho do GeneratePress para o portal Newspot (Futebol e TV).
Template: generatepress
Version: 1.0.3
Text Domain: newspot
*/

:root {
  --ns-navy: #0b1233;
  --ns-futebol: #00a35a;
  --ns-tv: #d6246e;
  --ns-accent: #ffc400;
  --ns-text: #1a1d29;
  --ns-muted: #5d6275;
  --ns-line: #e4e6ee;
  --ns-bg: #f4f5f9;
}

body {
  background: var(--ns-bg);
  color: var(--ns-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
h1, h2, h3, .entry-title { font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
a { color: #1d3fbf; }
a:hover, a:focus { color: var(--ns-tv); }

/* Cabeçalho */
.site-header { background: var(--ns-navy); }
.inside-header { padding-top: 14px; padding-bottom: 14px; }
.site-logo img.header-image { width: 220px; height: auto; }
.main-navigation, .main-navigation ul ul { background: var(--ns-navy); }
.main-navigation { border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 3px solid var(--ns-accent); }
.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items { color: #fff; font-weight: 700; }
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li[class*="current-"] > a { color: var(--ns-accent); background: rgba(255, 255, 255, .06); }

/* Conteúdo */
.separate-containers .inside-article, .separate-containers .page-header,
.separate-containers .comments-area, .separate-containers .paging-navigation,
.sidebar .widget { background: #fff; border-radius: 10px; }
.single .entry-content { font-size: 1.05rem; }
.entry-meta { color: var(--ns-muted); }
.button, button, input[type="submit"] { background: var(--ns-navy); color: #fff; border-radius: 6px; }

/* Selo de categoria */
.ns-tag { display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--ns-navy); }
.ns-futebol .ns-tag, .ns-tag.ns-futebol { background: var(--ns-futebol); color: #04210f; }
.ns-tv .ns-tag, .ns-tag.ns-tv { background: var(--ns-tv); }

/* Página inicial */
.home .site-content, .home .content-area, .home .site-main { display: block; width: 100%; margin: 0; }
.ns-home, .ns-home * { box-sizing: border-box; }
.ns-home { padding: 20px 0 40px; width: 100%; }
.ns-section-head h2 a { color: var(--ns-text); text-decoration: none; }
.ns-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 32px; }
.ns-side { display: grid; gap: 12px; align-content: start; }
.ns-section { margin-bottom: 36px; }
.ns-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 3px solid var(--ns-line); margin-bottom: 14px; }
.ns-section-head h2 { margin: 0; font-size: 1.35rem; padding-bottom: 8px; border-bottom: 3px solid var(--ns-navy); margin-bottom: -3px; }
.ns-section.ns-futebol h2 { border-color: var(--ns-futebol); }
.ns-section.ns-tv h2 { border-color: var(--ns-tv); }
.ns-subcats { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.ns-subcats a { font-size: .8rem; font-weight: 600; color: var(--ns-text); background: #fff; border: 1px solid var(--ns-line); border-radius: 999px; padding: 3px 11px; }
.ns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.ns-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--ns-line); }
.ns-card a.ns-link { display: block; color: var(--ns-text); text-decoration: none; height: 100%; }
.ns-card a.ns-link:hover h3, .ns-card a.ns-link:focus h3 { color: var(--ns-tv); }
.ns-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--ns-navy), #27346e); }
.ns-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ns-body { padding: 12px 14px 16px; }
.ns-card h3 { font-size: 1.05rem; margin: 8px 0 6px; }
.ns-card time { font-size: .8rem; color: var(--ns-muted); }
.ns-big h3 { font-size: 1.75rem; }
.ns-small a.ns-link { display: grid; grid-template-columns: 140px 1fr; align-items: center; }
.ns-small .ns-thumb { aspect-ratio: 16 / 9; }
.ns-small h3 { font-size: .95rem; margin: 4px 0; }
.ns-empty { background: #fff; border: 1px dashed #c5c9d8; border-radius: 10px; padding: 22px; color: var(--ns-muted); margin: 0; grid-column: 1 / -1; }

/* Rodapé */
.site-info { background: var(--ns-navy); color: #c9cde0; }
.site-info a { color: #fff; }

@media (max-width: 900px) {
  .ns-hero { grid-template-columns: 1fr; }
  .ns-grid { grid-template-columns: repeat(2, 1fr); }
  .ns-home { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 600px) {
  .ns-grid { grid-template-columns: 1fr; }
  .ns-big h3 { font-size: 1.3rem; }
  .site-logo img.header-image { width: 180px; }
}
