.navbar-logo {
  height: 122px !important; /* Adjust as needed */
  width: auto !important;
  object-fit: cover;
}

.navbar-brand img {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  min-height: 80px !important; /* ajuste conforme necessário */
}

/* ---------- News article components ---------- */

.news-hero {
  background: linear-gradient(135deg, #002855 0%, #0057a8 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}
.news-hero h2 {
  color: #ffffff;
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-hero p {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.badge {
  background: #e8f0fb;
  color: #0057a8;
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.highlight-box {
  border-left: 4px solid #0057a8;
  background: #f4f8ff;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.98rem;
}
.highlight-box strong {
  color: #002855;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.info-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.info-card .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  margin-bottom: 0.3rem;
}
.info-card .value {
  font-size: 0.97rem;
  font-weight: 600;
  color: #002855;
}

.project-section {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.project-section h4 {
  margin-top: 0;
  color: #5d4037;
}

.quote {
  font-style: italic;
  color: #444;
  font-size: 1.05rem;
  border-left: 3px solid #aac4e8;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

/* ---------- News cards listing (listings/news-cards.ejs) ---------- */

.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem 0;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e3e7ee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 40, 85, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 40, 85, 0.12);
}
.news-card-image-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4f8ff;
}
.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0057a8;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.news-card-title {
  font-size: 1.1rem;
  margin: 0 0 0.6rem 0;
  line-height: 1.3;
}
.news-card-title a {
  color: #002855;
  text-decoration: none;
}
.news-card-title a:hover {
  text-decoration: underline;
}
.news-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.news-card-categories .badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
}
.news-card-description {
  color: #444;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  flex: 1;
}
.news-card-readmore {
  align-self: flex-start;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0057a8;
  text-decoration: none;
}
.news-card-readmore:hover {
  text-decoration: underline;
}