.news-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: var(--bg-soft, #f1f1f1);
  overflow: hidden;
}

.news-card-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-img-wrapper img {
  opacity: 0;
  transition: opacity 0.3s ease;
  position: relative;
}

.news-card-img-wrapper img.loaded {
  opacity: 1;
}

.news-date {
  color: var(--red-main);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-detail {
  min-height: 70vh;
}

.news-header {
  margin-bottom: 3rem;
}

.news-meta {
  margin-bottom: 1rem;
}

.news-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--black-main);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.news-summary {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  background: #f8f9fa;
  border-left: 4px solid var(--red-main);
  padding: 1.25rem 1.5rem;
  margin: 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.news-hero {
  width: 100%;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
}

.news-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
}

.news-body p {
  margin-bottom: 1.5rem;
}

.news-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black-main);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--black-main);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-body ul,
.news-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.news-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.news-body a {
  color: var(--red-main);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.news-body a:hover {
  color: var(--red-dark);
}

.news-body blockquote {
  border-left: 4px solid var(--red-main);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
}

.news-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid #e5e7eb;
  display: flex;
  justify-content: center;
}

.btn-voltar,
.btn-voltar-bottom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--red-main);
  border: 1px solid var(--red-main);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-voltar:hover,
.btn-voltar-bottom:hover {
  background-color: var(--red-main);
  color: var(--white);
}

.btn-action {
  color: var(--red-main);
  transition: all 0.25s ease;
  font-weight: 600;
  text-decoration: none;
}

.btn-action:hover {
  color: var(--red-dark);
}

@media (max-width: 768px) {

  .news-header {
    margin-bottom: 2rem;
  }

  .news-hero {
    margin-bottom: 2rem;
    border-radius: 8px;
  }

  .news-body {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .news-body h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .news-body h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }

  .news-footer {
    margin-top: 3rem;
  }
}
