/* === NEWS === */
.news-box {
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid #b8860b;
  border-radius: 10px;
  padding: 15px;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

.news-title {
  margin: 0 0 15px 0;
  padding: 8px 12px;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  color: #111;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.news-item {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 8px;
  padding: 12px 15px;
  transition: background 0.2s;
}

.news-item:hover {
  background: rgba(255, 215, 0, 0.1);
}

.news-item-title {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #facc15;
}

.news-item-text {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

.news-date {
  font-size: 0.8rem;
  font-style: italic;
  color: #ccc;
  text-align: right;
}

/* Modal exclusivo de notícias */
.news-modal-content {
  max-width: 900px; /* aumenta a largura */
  width: 90%;       /* ocupa até 90% da tela */
  padding: 40px;    /* aumenta o padding interno */
  text-align: left;
  box-sizing: border-box;
}

/* Cabeçalho do modal */
#newsModal h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 10px;
  color: #ffd700;
}

/* Data da notícia */
#newsModal p {
  font-size: 14px;
  font-style: italic;
  color: #ccc;
  margin-bottom: 20px;
  text-align: center;
}

/* Corpo da notícia - texto aumentado */
#newsModal #newsModalText {
  font-size: 32px;   /* dobro do tamanho original */
  line-height: 1.8;  /* mais espaçamento */
  color: #fff;
}
/* Botão OK para modal de notícias */
#newsModal .modal-ok-btn {
  display: block;
  margin: 30px auto 0 auto; /* centraliza horizontalmente e dá margem superior */
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: bold;
  color: #111;
  background: linear-gradient(to bottom, #b8860b, #ffd700);
  border: 2px solid #ffd700;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  font-family: 'MedievalSharp', cursive;
  text-transform: uppercase;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

#newsModal .modal-ok-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  background: linear-gradient(to bottom, #ffd700, #b8860b);
}

