/* =============================================================
   CNN (breaking news, condensado e vermelho)
   ============================================================= */

:root {
  --brand: #cc0000;
  --brand-dark: #a30000;
  --black: #0a0a0a;
  --accent: #005CA9;
  --ink: #111;
  --muted: #777;
  --line: #e0e0e0;
  --bg: #ffffff;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Roboto', Arial, sans-serif; color: var(--ink); background: var(--bg); }
ul, li { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: 'Roboto Condensed', 'Roboto', sans-serif; margin: 0; text-transform: uppercase; }

.kicker { display: inline-block; color: var(--brand); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.time { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Header */
.top-strip { height: 3px; background: var(--brand); }
.masthead { background: var(--black); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.brand-text { font-family: 'Roboto Condensed', sans-serif; font-size: 34px; font-weight: 700; color: #fff; letter-spacing: -1px; text-transform: uppercase; }
.brand-text::after { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--brand); margin-left: 8px; }
.masthead-tagline { font-size: 12px; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.nav-main { background: var(--brand); }
.nav-inner { display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.header-menu-btn { display: none; background: var(--brand-dark); color: #fff; border: none; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }
.header-nav-links { display: flex; flex-wrap: wrap; }
.header-nav-links li a { display: block; padding: 13px 14px; font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .3px; transition: background .15s; }
.header-nav-links li a:hover, .header-nav-links li a.active { background: var(--brand-dark); }
.nav-search { margin-left: auto; color: #fff; font-size: 17px; cursor: pointer; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; padding: 20px 0; }
.hero-lead { display: block; position: relative; }
.hero-media { border-radius: 4px; overflow: hidden; }
.hero-media img { width: 100%; height: 340px; object-fit: cover; }
.hero-lead .kicker { background: var(--brand); color: #fff; padding: 4px 8px; }
.hero-copy { padding-top: 12px; }
.hero-copy h1 { font-size: 32px; line-height: 1.12; color: #111; margin-bottom: 10px; }
.hero-lead:hover .hero-copy h1 { color: var(--brand); }
.hero-resumo { font-family: 'Roboto', sans-serif; font-size: 15px; color: #444; line-height: 1.5; margin: 0 0 4px; text-transform: none; }
.hero-side { display: flex; flex-direction: column; gap: 14px; border-left: 4px solid var(--brand); padding-left: 16px; }
.hero-mini { display: flex; gap: 12px; align-items: flex-start; }
.hero-mini-media { flex: 0 0 110px; border-radius: 4px; overflow: hidden; }
.hero-mini-media img { width: 110px; height: 74px; object-fit: cover; }
.hero-mini-copy h2 { font-size: 14px; line-height: 1.3; color: #111; font-weight: 700; }
.hero-mini:hover .hero-mini-copy h2 { color: var(--brand); }

/* Sections */
.section { padding: 14px 0 24px; }
.section-head { border-bottom: 3px solid var(--brand); margin-bottom: 18px; }
.section-head h2 { font-size: 22px; font-weight: 700; color: #111; padding-bottom: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 4px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }
.card a { display: flex; flex-direction: column; height: 100%; }
.card-media img { width: 100%; height: 150px; object-fit: cover; }
.card-body { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 15px; line-height: 1.35; color: #111; margin-bottom: 6px; }
.card:hover .card-body h3 { color: var(--brand); }
.card-resumo { font-family: 'Roboto', sans-serif; font-size: 13px; color: #555; line-height: 1.45; margin: 0 0 8px; text-transform: none; }
.card-body .time { margin-top: auto; }

/* Article */
.single-article { max-width: 760px; margin: 0 auto; padding: 24px 0; }
.article-header { border-bottom: 3px solid var(--brand); padding-bottom: 20px; margin-bottom: 22px; }
.article-title { font-size: 44px; line-height: 1.08; color: #111; margin: 8px 0 14px; }
.article-resumo { font-family: 'Roboto', sans-serif; font-size: 18px; color: #444; line-height: 1.5; margin: 0 0 16px; text-transform: none; }
.article-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.byline { color: var(--brand); font-weight: 700; }
.article-main-image { margin: 0 0 24px; }
.article-main-image img { width: 100%; border-radius: 4px; }
.article-main-image figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.article-body { font-family: 'Roboto', sans-serif; font-size: 17px; line-height: 1.7; color: #222; }
.article-body p { margin: 0 0 18px; }
.article-body h2, .article-body h3 { margin: 28px 0 12px; color: #111; }
.article-body a { color: var(--brand); text-decoration: underline; }
.article-body img { border-radius: 4px; margin: 8px 0; }
.related { border-top: 3px solid var(--brand); margin-top: 20px; }

/* Footer */
.site-footer { background: var(--black); color: #ccc; margin-top: 30px; border-top: 3px solid var(--brand); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 28px 16px; }
.footer-brand-text { font-family: 'Roboto Condensed', sans-serif; font-size: 26px; font-weight: 700; color: #fff; text-transform: uppercase; }
.footer-brand p { font-size: 12px; margin: 6px 0 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links li a { font-size: 12px; color: #ccc; }
.footer-links li a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-left: auto; }
.footer-social li a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #555; border-radius: 4px; color: #ccc; font-size: 15px; transition: all .2s; }
.footer-social li a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { border-left: none; padding-left: 0; border-top: 4px solid var(--brand); padding-top: 16px; }
  .article-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .header-menu-btn { display: flex; align-items: center; justify-content: center; }
  .header-nav-links { position: absolute; left: 0; right: 0; top: 100%; background: var(--brand); flex-direction: column; display: none; z-index: 100; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
  .header-nav-links.nav-active { display: flex; }
  .header-nav-links li a { border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-main { position: relative; }
  .hero-media img { height: 220px; }
  .grid { grid-template-columns: 1fr; }
  .footer-social { margin-left: 0; }
}