* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #c8000a;
  --red-dark: #8b0000;
  --red-soft: #fef2f2;
  --black: #1a1a1a;
  --gray-900: #2b2b2b;
  --gray-700: #4a4a4a;
  --gray-500: #767676;
  --gray-300: #d0d0d0;
  --gray-200: #e3e3e3;
  --gray-100: #f0f0f0;
  --gray-50: #f7f7f7;
  --bg: #ffffff;
  --yellow: #facc15;
  /* Tipografia G1-style: Arial em tudo */
  --serif: Arial, Helvetica, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============= TOP BAR ============= */
.top-bar {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 8px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.top-bar a {
  color: rgba(255,255,255,0.75);
  margin-left: 18px;
  transition: color 0.2s;
}

.top-bar a:hover { color: var(--yellow); }

/* ============= HEADER ============= */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--gray-200);
  padding: 22px 0;
  text-align: center;
}

.logo {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--black);
  line-height: 1;
}

.logo span { color: var(--red); }

.tagline {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gray-500);
}

/* ============= NAV ============= */
.main-nav {
  background: var(--bg);
  border-top: 1px solid var(--gray-200);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 4px;
}

.main-nav .container::-webkit-scrollbar { display: none; }

.main-nav a {
  display: inline-block;
  color: var(--gray-900);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after,
.main-nav a.active::after { width: calc(100% - 12px); }
.main-nav a.active { color: var(--red); }

/* ============= BREAKING ============= */
.breaking {
  background: var(--red);
  color: white;
  padding: 10px 0;
  overflow: hidden;
}

.breaking .container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.breaking-label {
  background: var(--black);
  color: white;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breaking-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.breaking-text {
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* ============= HERO MAGAZINE LAYOUT ============= */
.hero-section {
  padding: 32px 0 24px;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.hero-main {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  transition: transform 0.3s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1e3a5f 40%, #3b82f6 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(220,38,38,0.25), transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  padding: 36px;
  color: white;
  width: 100%;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: white;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

.hero-main h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-main p {
  font-size: 0.98rem;
  line-height: 1.55;
  opacity: 0.92;
  max-width: 640px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.78rem;
  opacity: 0.75;
  font-weight: 500;
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-small {
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  flex: 1;
  display: flex;
  position: relative;
  min-height: 130px;
  transition: transform 0.2s ease;
  border: 1px solid var(--gray-200);
}

.hero-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.15);
}

.hero-small-img {
  flex-shrink: 0;
  width: 130px;
  position: relative;
  overflow: hidden;
}

.hero-small-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 50%);
}

.hero-small-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.hero-small .hero-tag {
  background: transparent;
  color: var(--red);
  padding: 0;
  margin-bottom: 6px;
  font-size: 0.66rem;
}

.hero-small .hero-tag::before { background: var(--red); }

.hero-small h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--black);
}

.hero-small:hover h3 { color: var(--red); }

.hero-small .meta {
  font-size: 0.74rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============= SECTION TITLES ============= */
.section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 48px 0 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--black);
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: var(--red);
}

.section-title h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: none;
}

.section-title h2 .accent { color: var(--red); }

.section-title .see-all {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-700);
  letter-spacing: 1px;
  transition: color 0.2s;
}

.section-title .see-all:hover { color: var(--red); }

/* ============= POST GRID ============= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 30px;
}

.post-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.post-card {
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.post-card:hover .post-card-img {
  transform: scale(1.03);
}

.post-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background: var(--gray-100);
}

.post-card-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

/* Quando tem image background (aplicado via JS), gradient vira overlay escuro */
.post-card-img[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.post-card-img[style*="background-image"] .img-headline,
.post-card-img[style*="background-image"] .card-tag,
.post-card-img[style*="background-image"] .card-badge-hot {
  position: relative;
  z-index: 2;
}

.post-card-img.img-red { background: linear-gradient(135deg, #991b1b, #dc2626 60%, #ef4444); }
.post-card-img.img-blue { background: linear-gradient(135deg, #0c1e3a, #1e3a8a 50%, #3b82f6); }
.post-card-img.img-green { background: linear-gradient(135deg, #064e3b, #065f46 50%, #10b981); }
.post-card-img.img-purple { background: linear-gradient(135deg, #3b0764, #581c87 50%, #a855f7); }
.post-card-img.img-orange { background: linear-gradient(135deg, #7c2d12, #9a3412 50%, #f97316); }
.post-card-img.img-gold { background: linear-gradient(135deg, #78350f, #b45309 50%, #fbbf24); }
.post-card-img.img-dark { background: linear-gradient(135deg, #0a0a0a, #262626 50%, #525252); }

.post-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,0.2), transparent 50%);
}

.post-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

.img-headline {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: rgba(255,255,255,0.97);
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
  text-align: center;
  padding: 0 20px;
  letter-spacing: -1px;
  line-height: 1;
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--black);
  padding: 4px 11px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 3;
  backdrop-filter: blur(4px);
}

.card-badge-hot {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--yellow);
  color: var(--black);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-badge-hot::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

.post-card-body {
  padding: 18px 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-body .category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red);
  margin-bottom: 8px;
}

.post-card-body h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--black);
  transition: color 0.2s;
}

.post-card:hover h3 { color: var(--red); }

.post-card-body p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}

.post-card-footer {
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}

.read-more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.post-card:hover .read-more { gap: 8px; }

/* ============= LATEST LIST (small horizontal cards) ============= */
.latest-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.latest-item {
  display: flex;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s;
}

.latest-item:hover {
  border-color: var(--gray-300);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.12);
}

.latest-item-img {
  flex-shrink: 0;
  width: 110px;
  position: relative;
  overflow: hidden;
}

.latest-item-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 50%);
}

.latest-item-body {
  padding: 14px 16px 14px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.latest-item-body .category {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 4px;
}

.latest-item-body h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 5px;
  color: var(--black);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-item:hover h4 { color: var(--red); }

.latest-item-body .meta {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============= NEWSLETTER ============= */
.newsletter {
  background: linear-gradient(135deg, var(--black) 0%, #1f1f1f 100%);
  color: white;
  padding: 48px 36px;
  border-radius: 6px;
  margin: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(220,38,38,0.2), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(250,204,21,0.1), transparent 40%);
}

.newsletter-content { position: relative; z-index: 1; max-width: 540px; margin: 0 auto; }

.newsletter-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow);
  margin-bottom: 12px;
}

.newsletter h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.newsletter p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 4px;
  border: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form button {
  background: var(--red);
  color: white;
  border: none;
  padding: 14px 22px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: var(--red-dark); }

/* ============= VIDEO ============= */
.video-card {
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.15);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Bloco de ads premium no topo - 3 banners 300x250 lado a lado */
.ad-priority-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin: 18px auto;
  max-width: 1000px;
  justify-items: center;
  align-items: center;
}

.ad-banner-slot {
  width: 300px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 4px;
  overflow: hidden;
}

.ad-banner-slot iframe {
  width: 300px;
  height: 250px;
  border: 0;
  display: block;
}

@media (max-width: 940px) {
  .ad-priority-row { grid-template-columns: 1fr; }
}

.video-channel {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ff0000;
}

.video-channel a {
  color: #ff0000;
  text-decoration: none;
  transition: opacity 0.2s;
}

.video-channel a:hover { opacity: 0.7; }


.video-link { display: block; }

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #991b1b 0%, #0a0a0a 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.25), transparent 50%);
}

.video-thumbnail-gold { background: linear-gradient(135deg, #b45309 0%, #0a0a0a 100%); }

.video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: white;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 3px;
  z-index: 2;
}

.video-play {
  width: 76px;
  height: 76px;
  background: rgba(255,255,255,0.95);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  padding-left: 6px;
  z-index: 2;
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}

.video-link:hover .video-play { transform: scale(1.1); }

.video-title-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: white;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  z-index: 2;
}

.video-card-body { padding: 18px; }

.video-card-body h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.video-card-body p {
  font-size: 0.86rem;
  color: var(--gray-500);
}

/* ============= MAIN LAYOUT ============= */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 16px;
}

/* ============= SIDEBAR ============= */
.sidebar { display: flex; flex-direction: column; gap: 22px; }

.sidebar .widget {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 22px;
}

.sidebar .widget h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
  position: relative;
  letter-spacing: -0.3px;
}

.sidebar .widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--red);
}

.trending-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: flex-start;
}

.trending-item:first-child { padding-top: 4px; }
.trending-item:last-child { border-bottom: none; padding-bottom: 4px; }

.trending-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gray-300);
  line-height: 1;
  min-width: 32px;
  letter-spacing: -2px;
}

.trending-item h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  transition: color 0.2s;
}

.trending-item:hover h4 { color: var(--red); }

.trending-item .meta {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 5px;
  font-weight: 500;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }

.tag-cloud a {
  background: var(--gray-100);
  color: var(--gray-900);
  padding: 6px 13px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.tag-cloud a:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

/* ============= POST PAGE ============= */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 22px 0 18px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: gap 0.2s;
}

.back-link:hover { gap: 10px; }

.post-content {
  background: var(--bg);
  border-radius: 6px;
  padding: 0 0 36px;
  margin-bottom: 24px;
}

.post-hero {
  height: 320px;
  border-radius: 6px;
  margin-bottom: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
  color: white;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1), transparent 50%);
}

.post-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}

.post-hero-red    { background: linear-gradient(135deg, #991b1b, #dc2626 60%, #ef4444); }
.post-hero-blue   { background: linear-gradient(135deg, #0c1e3a, #1e3a8a 50%, #3b82f6); }
.post-hero-purple { background: linear-gradient(135deg, #3b0764, #581c87 50%, #a855f7); }
.post-hero-orange { background: linear-gradient(135deg, #7c2d12, #9a3412 50%, #f97316); }
.post-hero-gold   { background: linear-gradient(135deg, #78350f, #b45309 50%, #fbbf24); }
.post-hero-green  { background: linear-gradient(135deg, #064e3b, #065f46 50%, #10b981); }

.post-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

.post-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--black);
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.post-hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

.post-content h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
  color: var(--black);
}

.post-content .post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

.post-content .tag {
  background: var(--red-soft);
  color: var(--red);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.post-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  margin: 32px 0 14px;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.post-content h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--black);
}

.post-content p {
  margin-bottom: 18px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--gray-900);
}

.post-content p strong { color: var(--black); font-weight: 700; }

.post-content ul, .post-content ol {
  margin: 0 0 20px 24px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.post-content li { margin-bottom: 8px; }

.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 18px 22px;
  margin: 26px 0;
  background: var(--red-soft);
  border-radius: 0 6px 6px 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--gray-900);
  line-height: 1.5;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0 0;
  border-top: 1px solid var(--gray-200);
  margin-top: 32px;
  flex-wrap: wrap;
}

.share-bar span {
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-700);
}

.share-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  transition: transform 0.2s;
}

.share-btn:hover { transform: translateY(-2px); }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }

/* ============= FOOTER ============= */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
  margin-top: 64px;
  border-top: 4px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: white;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-col a:hover { color: var(--yellow); }

.footer-logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.footer-logo span { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ============= AD SPACES ============= */
.ad-space {
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  padding: 14px;
  text-align: center;
  border-radius: 4px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===== STICKY BOTTOM AD ===== */
#sticky-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--gray-200);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 40px 8px 8px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sticky-ad-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.sticky-ad-close:hover { transform: scale(1.1); }

/* ===== MODAL POPUP AD ===== */
#modal-ad {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  padding: 16px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-ad-inner {
  background: var(--bg);
  padding: 28px 24px 24px;
  border-radius: 8px;
  position: relative;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-ad-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 10px;
  text-align: center;
}

.modal-ad-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.15s;
}

.modal-ad-close:hover { transform: scale(1.1) rotate(90deg); }

/* Mobile sticky bar (320x50) */
#sticky-ad-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--gray-200);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 36px 6px 6px;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.12);
  animation: slideUp 0.4s ease;
}

#sticky-ad-mobile .sticky-ad-close {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--black);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  #sticky-ad { display: none; }
  .modal-ad-inner { padding: 24px 18px 20px; }
}

@media (min-width: 769px) {
  #sticky-ad-mobile { display: none; }
}

/* In-content ad (between H2 sections in post) */
.ad-inline {
  margin: 36px auto;
  display: flex;
  justify-content: center;
  position: relative;
}

.ad-inline::before {
  content: 'PUBLICIDAD';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  background: var(--bg);
  padding: 0 8px;
}

/* Floating side banners (only on wide screens) - 300x250 stacked */
#side-ad-left,
#side-ad-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  animation: slideInSide 0.5s ease;
  width: 300px;
  display: flex;
  flex-direction: column;
}

#side-ad-left { left: 14px; }
#side-ad-right { right: 14px; }

@media (max-width: 1700px) {
  #side-ad-left, #side-ad-right { display: none; }
}

@keyframes slideInSide {
  from { opacity: 0; }
  to { opacity: 1; }
}

.side-ad-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--black);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.15s;
}

.side-ad-close:hover { transform: scale(1.1) rotate(90deg); }

@media (max-width: 1499px) {
  #side-ad-left,
  #side-ad-right { display: none; }
}

/* === MELHORIAS VISUAIS GERAIS (G1/UOL-style) === */
body { background: #f4f4f5; }

.main-content { background: var(--bg); padding: 0 0 32px; }

/* Header mais polido */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
  text-align: center;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
}

/* Section title mais visual */
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 22px;
  padding: 0 0 14px 0;
  border-bottom: 3px solid var(--black);
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--red);
}

.section-title h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.5px;
  flex: 1;
}

.section-title h2 .accent { color: var(--red); }

.section-title .see-all {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}

.section-title .see-all:hover {
  color: var(--red);
  gap: 10px;
}

/* Feed card melhorado: sombra sutil + hover */
.feed-card {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
  text-decoration: none;
  position: relative;
  transition: opacity 0.15s ease;
}

.feed-card:hover {
  background: var(--gray-50);
  transform: none;
  box-shadow: none;
}

.feed-card .fc-thumb {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.feed-card .fc-thumb .post-card-img {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}

.feed-card:hover .fc-thumb .post-card-img {
  transform: scale(1.05);
}

.feed-card .fc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feed-card .fc-editoria {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feed-card .fc-editoria::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.feed-card h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--black);
  letter-spacing: -0.2px;
  transition: color 0.2s;
}

.feed-card:hover h4 { color: var(--red); }

.feed-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.feed-card .meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero melhorado - mais impacto */
.hero-section {
  padding: 24px 0;
  background: var(--bg);
}

.hero-main {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 440px;
  transition: transform 0.3s ease;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,0.2);
}

.hero-main:hover { transform: translateY(-4px); box-shadow: 0 18px 38px -10px rgba(0,0,0,0.3); }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(220,38,38,0.4);
}

.hero-main h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.7px;
  margin-bottom: 12px;
  color: white;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.hero-small {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  gap: 0;
  position: relative;
  min-height: 130px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.hero-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.15);
}

.hero-small h3 {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--black);
  font-weight: 800;
}

.hero-small:hover h3 { color: var(--red); }

/* Sidebar widgets mais polidos */
.sidebar .widget {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 22px 20px;
  margin-bottom: 18px;
  position: relative;
}

.sidebar .widget h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: none;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
  position: relative;
}

.sidebar .widget h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--red);
}

.trending-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}

.trending-item:last-child { border-bottom: none; }

.trending-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  min-width: 32px;
  letter-spacing: -1.5px;
  opacity: 0.85;
}

.trending-item h4 {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  transition: color 0.2s;
}

.trending-item:hover h4 { color: var(--red); }

/* Newsletter mais elegante */
.newsletter {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 50%, var(--red-dark) 100%);
  color: white;
  padding: 36px 40px;
  border-radius: 10px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px -10px rgba(220,38,38,0.4);
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(220,38,38,0.2), transparent 50%);
}

.newsletter h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 8px;
  position: relative;
}

.newsletter-eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  position: relative;
}

/* Tag cloud mais polido */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-cloud a {
  background: var(--gray-100);
  color: var(--black);
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.tag-cloud a:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
  transform: translateY(-1px);
}

/* Footer mais elaborado */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 50px 0 24px;
  margin-top: 56px;
  border-top: 4px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.footer-logo span { color: var(--red); }

.footer-col h3 {
  font-family: var(--serif);
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--yellow); }

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .feed-card { gap: 12px; padding: 14px 0; }
  .feed-card .fc-thumb { width: 130px; height: 90px; }
  .feed-card h4 { font-size: 1rem; }
  .feed-card p { font-size: 0.85rem; -webkit-line-clamp: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter { padding: 26px 22px; }
}

/* === G1-STYLE POST EXTRAS === */
.breadcrumb {
  padding: 18px 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { text-decoration: underline; }

.article-sub {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-700);
  margin: 4px 0 18px;
  font-family: var(--sans);
}

.share-bar-top {
  display: flex;
  gap: 8px;
  margin: 14px 0 22px;
  flex-wrap: wrap;
}

.share-bar-top .share-btn {
  flex: 1;
  min-width: 110px;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  background: white;
  color: var(--gray-900);
}

.share-bar-top .share-btn.fb { color: #1877f2; }
.share-bar-top .share-btn.wa { color: #25d366; }
.share-bar-top .share-btn.tw { color: #1da1f2; }
.share-bar-top .share-btn:hover { background: var(--gray-50); }

.summary-box {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--bg) 100%);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  margin: 18px 0 28px;
  overflow: hidden;
}

.summary-box summary {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  list-style: none;
}

.summary-box summary::-webkit-details-marker { display: none; }
.summary-box summary::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--red);
  transition: transform 0.25s;
}

.summary-box[open] summary::after { transform: rotate(180deg); }

.summary-box ul {
  margin: 0;
  padding: 0 22px 18px 38px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-700);
}

.summary-box ul li { margin-bottom: 6px; }

/* Hero box estilo "imagem principal" do G1 (gradient grande no topo do post) */
.article-hero {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: white;
  background-size: cover;
  background-position: center 25%;
}

.article-hero.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.article-hero.has-bg-image .article-hero-text,
.article-hero.has-bg-image .post-hero-tag,
.article-hero.has-bg-image .post-hero-eyebrow {
  position: relative;
  z-index: 2;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,0.2), transparent 50%);
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
}

.article-hero-text {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.caption {
  font-size: 0.82rem;
  color: var(--gray-500);
  padding: 4px 0 22px;
  line-height: 1.5;
  font-style: italic;
}

/* "Continua despues de la publicidad" separator */
.ad-separator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  text-transform: uppercase;
}

.ad-separator::before,
.ad-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.ad-separator-bottom {
  margin: 12px 0 28px;
}

.ad-inline {
  margin: 4px auto 4px;
  display: flex;
  justify-content: center;
}

/* Article tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding-top: 22px;
  border-top: 1px solid var(--gray-200);
}

.article-tags a {
  background: var(--gray-100);
  color: var(--gray-900);
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.article-tags a:hover {
  background: var(--red);
  color: white;
}

/* Mas leidas pos-artigo + Mas do site */
.related-section {
  margin: 36px 0;
  padding-top: 28px;
  border-top: 2px solid var(--black);
  position: relative;
}

.related-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--red);
}

.related-section h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.related-section h3 .accent { color: var(--red); }

.feed-card {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  position: relative;
  transition: background 0.15s;
}

.feed-card:hover { background: var(--gray-50); }

.feed-card .fc-thumb {
  flex-shrink: 0;
  width: 180px;
  height: 110px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.feed-card .fc-thumb .post-card-img {
  position: absolute;
  inset: 0;
}

.feed-card .fc-body { flex: 1; min-width: 0; }

.feed-card .fc-editoria {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: block;
}

.feed-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--black);
}

.feed-card:hover h4 { color: var(--red); }

.feed-card p {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.native-badge {
  position: absolute;
  top: 18px;
  right: 0;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.8px;
}

@media (max-width: 768px) {
  .feed-card { gap: 12px; padding: 14px 0; }
  .feed-card .fc-thumb { width: 110px; height: 78px; }
  .feed-card h4 { font-size: 0.95rem; }
  .feed-card p { font-size: 0.8rem; }
  .article-hero { height: 220px; padding: 20px; }
}

/* CTA banners - sempre clicaveis, garantem receita mesmo se ad ficar branco */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  padding: 22px 26px;
  border-radius: 8px;
  margin: 28px auto;
  max-width: 728px;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(220,38,38,0.3);
  text-decoration: none;
}

.cta-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(220,38,38,0.45);
  color: white;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 50%),
                     radial-gradient(circle at 80% 70%, rgba(0,0,0,0.18), transparent 50%);
  pointer-events: none;
}

.cta-banner-text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.cta-banner .cta-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  opacity: 0.85;
}

.cta-banner .cta-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
  display: block;
}

.cta-banner .cta-action {
  flex-shrink: 0;
  background: white;
  color: var(--red);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

/* CTA variantes de cor */
.cta-banner-gold {
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  box-shadow: 0 8px 24px rgba(217,119,6,0.3);
}
.cta-banner-gold:hover { box-shadow: 0 12px 32px rgba(217,119,6,0.45); }
.cta-banner-gold .cta-action { color: #92400e; }

.cta-banner-dark {
  background: linear-gradient(135deg, #18181b 0%, #3f3f46 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.cta-banner-dark:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.55); }
.cta-banner-dark .cta-action { color: var(--black); }

.cta-banner-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  box-shadow: 0 8px 24px rgba(124,58,237,0.3);
}
.cta-banner-purple:hover { box-shadow: 0 12px 32px rgba(124,58,237,0.45); }
.cta-banner-purple .cta-action { color: #4c1d95; }

@media (max-width: 640px) {
  .cta-banner { flex-direction: column; align-items: stretch; padding: 18px; }
  .cta-banner .cta-action { text-align: center; padding: 12px; }
  .cta-banner .cta-title { font-size: 1.1rem; }
}

/* CTA buttons for direct links (smartlink / direct link) */
.cta-link {
  display: block;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: white;
  padding: 18px 22px;
  border-radius: 6px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 22px 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(220,38,38,0.35);
}

.cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(220,38,38,0.5);
  color: white;
}

.cta-link::before {
  content: 'PATROCINADO';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.7;
}

.cta-link .cta-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 4px;
  letter-spacing: 1.2px;
}

.cta-link .cta-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: -0.3px;
}

/* ===== ADSTERRA AD SLOTS (sandboxed iframes) ===== */
.ad-iframe {
  display: block;
  margin: 0 auto;
  border: 0;
  max-width: 100%;
}

.ad-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px 0;
  min-height: 90px;
  overflow: hidden;
}

.ad-banner iframe { max-width: 100%; }

.ad-container {
  display: flex;
  justify-content: center;
  margin: 18px auto;
  padding: 0 16px;
}

.ad-sidebar {
  margin: 0 0 22px;
  min-height: 250px;
}

.ad-after-content {
  margin: 28px 0;
  min-height: 60px;
}

.ad-native {
  margin: 28px 0;
}

.ad-desktop { display: flex; }
.ad-mobile { display: none; }

@media (max-width: 768px) {
  .ad-desktop { display: none; }
  .ad-mobile { display: flex; }
}

/* ============= RESPONSIVE - TABLET ============= */
@media (max-width: 960px) {
  .container { padding: 0 18px; }

  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-main { min-height: 360px; }
  .hero-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .post-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

  .latest-list { grid-template-columns: 1fr; }

  .content-with-sidebar { grid-template-columns: 1fr; gap: 30px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============= RESPONSIVE - MOBILE ============= */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .top-bar { font-size: 0.72rem; padding: 7px 0; }
  .top-bar .container { flex-direction: column; gap: 4px; }
  .top-bar a { margin: 0 8px; }

  header { padding: 18px 0; }
  .logo { font-size: 2rem; letter-spacing: -1px; }
  .tagline { font-size: 0.66rem; letter-spacing: 3px; }

  .main-nav .container { justify-content: flex-start; }
  .main-nav a { padding: 12px 14px; font-size: 0.76rem; letter-spacing: 0.6px; }

  .breaking { padding: 9px 0; }
  .breaking-text { font-size: 0.78rem; }
  .breaking-label { font-size: 0.66rem; padding: 3px 9px; }

  .hero-section { padding: 22px 0 18px; }
  .hero-main { min-height: 320px; border-radius: 4px; }
  .hero-content { padding: 22px 20px; }
  .hero-main h2 { font-size: 1.45rem; line-height: 1.18; }
  .hero-main p { font-size: 0.9rem; }

  .hero-sidebar { grid-template-columns: 1fr; gap: 14px; }
  .hero-small { min-height: 110px; }
  .hero-small-img { width: 100px; }
  .hero-small h3 { font-size: 0.96rem; }
  .hero-small-body { padding: 12px; }

  .section-title { margin: 36px 0 18px; padding-bottom: 12px; }
  .section-title h2 { font-size: 1.4rem; }
  .section-title .see-all { font-size: 0.7rem; }

  .post-grid { grid-template-columns: 1fr; gap: 22px; }
  .post-grid.cols-2 { grid-template-columns: 1fr; }

  .post-card-img-wrap { aspect-ratio: 16 / 9; }
  .img-headline { font-size: 1.6rem; }
  .post-card-body { padding-top: 14px; }
  .post-card-body h3 { font-size: 1.1rem; }
  .post-card-body p { font-size: 0.88rem; }

  .latest-item { flex-direction: row; }
  .latest-item-img { width: 95px; }
  .latest-item-body { padding: 12px 14px 12px 0; }
  .latest-item-body h4 { font-size: 0.92rem; }

  .newsletter { padding: 32px 22px; margin: 30px 0; }
  .newsletter h3 { font-size: 1.45rem; }
  .newsletter p { font-size: 0.88rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { padding: 13px; }

  .video-thumbnail { aspect-ratio: 16 / 9; }
  .video-play { width: 60px; height: 60px; font-size: 1.4rem; }
  .video-title-overlay { font-size: 0.98rem; }

  .content-with-sidebar { gap: 24px; }

  .sidebar .widget { padding: 18px; }
  .sidebar .widget h3 { font-size: 1rem; }
  .trending-num { font-size: 1.6rem; min-width: 26px; }
  .trending-item h4 { font-size: 0.9rem; }

  .post-content { padding-bottom: 28px; }
  .post-hero { height: 200px; padding: 20px; margin-bottom: 22px; }
  .post-content h1 { font-size: 1.7rem; }
  .post-content h2 { font-size: 1.25rem; margin: 24px 0 10px; }
  .post-content p { font-size: 1rem; line-height: 1.7; }
  .post-content blockquote { font-size: 1.05rem; padding: 14px 18px; margin: 20px 0; }

  footer { padding: 40px 0 18px; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { font-size: 0.78rem; }
}

/* ============= ULTRA-SMALL MOBILE ============= */
@media (max-width: 380px) {
  .logo { font-size: 1.7rem; }
  .hero-main h2 { font-size: 1.3rem; }
  .post-content h1 { font-size: 1.5rem; }
  .img-headline { font-size: 1.4rem; }
}
