/* Categorias de Base — visual inspirado em portal esportivo (referência: GE) */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Roboto:wght@400;500;700&display=swap");

:root {
  --text: #1a1a1a;
  --ge-green: #03a63c;
  --ge-green-dark: #028a32;
  --bar-bg: #0b0b0b;
  --bar-text: #f5f5f5;
  --surface: #ffffff;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --kicker-copinha: #03a63c;
  --kicker-estadual: #0066cc;
  --kicker-mercado: #c4170c;
  --kicker-selecoes: #ffcc00;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text, #1a1a1a);
  background: #f0f0f0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* —— Top bar —— */
.site-header {
  background: var(--bar-bg);
  color: var(--bar-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-logo {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--bar-text);
  text-decoration: none;
}

.site-logo span {
  color: var(--ge-green);
}

.site-logo:hover {
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
  flex: 1;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ge-green);
  text-decoration: none;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-search input {
  padding: 0.45rem 0.65rem;
  border: 1px solid #333;
  border-radius: 2px;
  background: #1e1e1e;
  color: #fff;
  min-width: 140px;
  font-size: 0.875rem;
}

.header-search input::placeholder {
  color: #888;
}

.header-search button {
  background: var(--ge-green);
  color: #fff;
  border: none;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
}

.header-search button:hover {
  background: var(--ge-green-dark);
}

/* —— Layout —— */
.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem;
}

.manchete {
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.manchete__link {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .manchete__link {
    grid-template-columns: 1.2fr 1fr;
  }
}

.manchete__media {
  position: relative;
  min-height: 220px;
  background: #222;
}

.manchete__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.manchete__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.kicker--copinha {
  color: var(--kicker-copinha);
}
.kicker--estadual {
  color: var(--kicker-estadual);
}
.kicker--mercado {
  color: var(--kicker-mercado);
}
.kicker--selecoes {
  color: #b8860b;
}

.manchete__title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.manchete__dek {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.meta-line {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* —— Grid cards —— */
.grid-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: #ddd;
}

.card__body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.15rem;
  line-height:1.25;
  margin: 0.35rem 0 0;
  font-weight: 700;
}

/* —— Artigo —— */
.article-page .shell {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.article-head {
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.article-body p {
  margin: 0 0 1rem;
}

.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.related h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related li {
  margin-bottom: 0.5rem;
}

/* —— Listagem / busca —— */
.page-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border-radius: 4px;
}

/* —— Rascunho / fontes / crédito —— */
.draft-banner {
  background: linear-gradient(90deg, #b8860b, #daa520);
  color: #1a1a1a;
  font-weight: 700;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.draft-banner a {
  color: #1a1a1a;
  text-decoration: underline;
}

.image-credit {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
  line-height: 1.35;
}

.article-sources {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  background: #f7f7f7;
  border-left: 4px solid var(--ge-green);
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
}

.article-sources h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.article-sources ul {
  margin: 0;
  padding-left: 1.2rem;
}

.article-sources li {
  margin-bottom: 0.45rem;
}

.rights-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* —— Footer —— */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  margin-top: 2.5rem;
  padding: 2rem 1rem;
  font-size: 0.875rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}

.site-footer a {
  color: #aaa;
}

.site-footer a:hover {
  color: var(--ge-green);
}

/* —— Utils —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
