@font-face {
  font-family: 'pentagram';
  src: url('../media/PentaGram\'s\ Ghost\ Whisperers.ttf');
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#header-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  width: 100%;
  background-image: url(../media/seminario-p&b.webp);
  background-position: center;
}

#logo {
  display: flex;
  justify-content: center;
  height: 15em;
  width: 100%;
  align-items: center;
  text-decoration: none;
}

#logo img {
  height: 11em;
  width: auto;
  margin-right: 10px;
}

#logo h1 {
  font-family: 'pentagram';
  font-size: 2.1em;
  font-weight: 900;
  color: rgb(180, 57, 57);
}

#brasao-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

#brasao-logo img {
  height: 1.5em;
}

#mini-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 75%;
  height: 2.7em;
}

#mini-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

#mini-menu ul li {
  margin: 0 0.5em;
  transition: all ease-in-out 0.4s;
}

#mini-menu ul li:hover {
  color: #E23135ff;
}

#mini-menu a {
  color: #922C2Cff;
  text-decoration: none;
  font-size: 1em;
}

#linha {
  width: 80%;
  height: 0.1em;
  background-color: #922C2Cff;
}

#redes-sociais {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1em 0;
}

#redes-sociais i {
  margin: 0 0.5em;
}

#menu-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #922C2Cff;
}

#menu-principal ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  height: 3em;
  padding: 0;
  margin: 0;
}

#menu-principal ul li {
  margin: 0 0.5em;
}

#menu-principal ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  transition: 0.2s ease-in-out;
}

#menu-principal ul li a:hover {
  color: #E1BD56ff;
}

#divisoria-mobile {
  background-color: #922C2Cff;
  width: 100%;
  padding-left: 1em;
  display: none;
  transition: all 0.2s ease-in-out;
}

#titulo-menu-mobile {
  font-size: 1em;
}

#li-menu-mobile a {
  font-size: 1em;
  text-decoration: none;
  color: white;
  margin-left: 1em;
}

@media screen and (max-width: 768px) {
  #menu-principal {
    display: none;
  }

  #banner {
    display: none !important;
  }

  #mini-menu {
    font-size: 0.7em;
  }

  #logo {
    display: flex;
    flex-direction: column;
  }

  #logo img {
    margin-top: 0.4em;
    height: 8em;
  }

  #logo h1 {
    font-size: 1.5em;
    margin-bottom: 2em;
  }

  #divisoria-mobile {
    display: block;
  }

  #brasao-logo img {
    height: 1em;
    margin: 0 !important;
  }

  #brasao-logo a {
    font-size: 0.9em;
  }

  header {
    overflow: hidden;
  }
}

#menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #922C2Cff;
}

#banner {
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
}

#carrosel-noticias {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 75em;
  height: 30em;
  position: relative;
  margin-top: 2em;
}

.carrossel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrossel-container img {
  width: 75em;
  height: 30em;
}

@media (max-width: 1024px) {
  #banner-matricula {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  #banner-matricula a img {
    height: 15em;
    width: auto;
  }
}

#banner-matricula {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  color: white;
  font-family: 'pentagram';
  font-size: 1.5em;
  padding-top: 2em;
  padding-bottom: 2em;
}

#banner-matricula img {
  color: white;
  text-decoration: none;
  margin-left: 0.5em;
  transition: all ease-in-out 0.2s;
  height: 20em;
  width: auto;
}

#banner-matricula img:hover {
  filter: brightness(0.9);
  cursor: pointer;
}

.botoes {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.botoes button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

#conteudo-geral {
  display: flex;
  align-items: center;
  flex-direction: column !important;
}

#feed-noticias {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 75%;
}

#content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5em;
}

#titulo-noticias {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
}

#titulo-noticias h1 {
  color: #922C2Cff;
  font-size: 1.7em;
  margin: 0;
  font-family: 'pentagram';
}

#linha-noticias {
  width: 100%;
  height: 0.1em;
  background-color: #922C2Cff;
  margin-top: 0.5em;
  margin-left: 1em;
}

#noticia {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 98%;
  margin-top: 1em;
}

#feed-de-noticias {
  display: grid;
  grid-template-columns: auto auto auto;
  flex-wrap: wrap;
  width: 100%;
}

#noticia h2 {
  color: #922C2Cff;
  font-size: 1.5em;
  font-family: 'pentagram';
}

#noticia-link h2 {
  cursor: pointer;
  transition: 0.2s ease-in-out all;
}

#noticia-link h2:hover {
  color: #E23135ff;
}

#noticia p {
  text-align: left;
  color: black;
  font-size: 1em;
  font-family: 'Roboto', sans-serif;
  width: 95%;
}

#leia-mais {
  color: #E1BD56ff;
  text-decoration: none;
  font-size: 1.1em;
  transition: 0.2s ease-in-out all;
}

#leia-mais:hover {
  color: #E23135ff;
  text-decoration: underline;
}

#noticia img {
  width: 98%;
  height: auto;
  filter: grayscale(35%);
  cursor: pointer;
  transition: all ease-in-out 0.4s;
  border-radius: 0.3em;
}

#noticia img:hover {
  filter: grayscale(0%);
}

#footer-seminario {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #922C2Cff;
  color: white;
}

#footer-seminario h1 {
  font-family: 'pentagram';
  font-size: 1.5em;
  margin: 0;
}

#footer-seminario p {
  font-size: 1em;
  margin: 0;
}

#footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #922C2Cff;
}

#footer-logo img {
  width: 10em;
  height: auto;
}

#footer-menu {
  width: auto;
  margin-left: 3em;
  background-color: #922C2Cff;
}

#copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #922C2Cff;
  color: white;
  padding: 0;
  margin: 0 !important;
}

footer {
  margin-top: 5em;
}

/* Media Queries para Responsividade */

@media (max-width: 1024px) {

  /* Para tablets */
  #menu-principal ul {
    flex-direction: column;
  }

  #menu-principal ul li {
    margin: 1em 0;
  }

  #carrosel-noticias {
    width: 100%;
    height: 20em;
  }

  #feed-de-noticias {
    grid-template-columns: auto auto;
  }

  #noticia img {
    width: 100%;
  }

  #logo h1 {
    font-size: 1.8em;
  }

  #mini-menu {
    width: 90%;
  }

  #redes-sociais i {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {

  /* Para dispositivos móveis */
  #header-container {
    background-size: cover;
  }

  #logo h1 {
    font-size: 1.5em;
  }

  #menu-principal ul {
    flex-direction: column;
    align-items: center;
  }

  #menu-principal ul li {
    margin: 1em 0;
  }

  #carrosel-noticias {
    width: 100%;
    height: 15em;
  }

  #feed-de-noticias {
    grid-template-columns: auto;
  }

  #noticia {
    flex-direction: column;
  }

  #noticia img {
    width: 100%;
  }

  #redes-sociais i {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {

  /* Para telas muito pequenas, como smartphones */
  #footer-seminario {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em;
  }

  #footer-logo {
    margin-bottom: 1em;
  }

  #footer-logo img {
    width: 8em;
  }

  #footer-menu {
    width: 100%;
    margin-left: 0;
    margin-top: 1em;
  }

  #menu-principal ul {
    flex-direction: column;
  }

  #menu-principal ul li {
    margin: 0.5em 0;
  }

  #logo h1 {
    font-size: 1.4em;
  }

  #mini-menu {
    width: 100%;
    justify-content: center;
  }

  #redes-sociais i {
    font-size: 1.3em;
  }

  #carrosel-noticias {
    height: 12em;
  }
}

/*Abaixo CSS da página História*/

#corpo-texto {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 75%;
  margin: 0 auto;
}

#titulo-historia {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2em;
}

#titulo-historia h1 {
  color: #922C2Cff;
  font-size: 2em;
  margin: 0 0.5em;
  font-family: 'pentagram';
}

#texto-historia img {
  height: 15em;
}

#texto-historia {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-top: 2em;
}

#titulo-texto-historia {
  font-size: 1.6em;
  font-family: 'pentagram';
  color: #922C2Cff;
}

#corpo-texto-historia {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1.15em;
  font-weight: 500;
  text-align: justify;
  width: 90%;
}

@media (max-width: 680px) {
  #widget-instagram {
    display: none !important;
  }
}

#matricula2026 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  width: 100%;
  margin: 2em auto;
  padding: 1em;
  box-sizing: border-box;
}

#titulo-matricula2026 {
  font-family: "pentagram", sans-serif;
  font-size: clamp(1.6em, 4vw, 2.3em);
  /* ajusta de acordo com a tela */
  color: #354ea0ff;
  text-align: center;
  margin-bottom: 0.3em;
}

#arquivos-matricula2026-ul {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  width: 80%;
  max-width: 800px;
  /* não deixa ficar gigante em telas grandes */
}

#documento-listagem {
  margin-top: 0.3em;
}

#documento-listagem a {
  color: #354ea0ff;
  font-size: clamp(1em, 2vw, 1.3em);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

#documento-listagem a:hover {
  opacity: 0.45;
}

#titulo-documento-listagem {
  font-family: "pentagram", sans-serif;
  font-size: clamp(1.4em, 3vw, 2.1em);
  margin-top: 1em;
}

#informacoes-matricula2026 {
  display: flex;
  flex-wrap: wrap;
  /* permite quebrar em telas pequenas */
  gap: 1.5em;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  margin-top: 2em;
}

#informacoes-matricula2026-ul {
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

#informacoes-matricula2026-li {
  font-family: "pentagram", sans-serif;
  font-size: clamp(1em, 1.8vw, 1.2em);
  margin-top: 0.8em;
}

#informacoes-matricula2026-li strong {
  font-family: Arial, Helvetica, sans-serif;
}

#email-matricula2026 {
  font-family: "pentagram", sans-serif;
  font-style: italic;
  font-size: clamp(0.7em, 1.2vw, 0.9em);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2em;
}

#email-matricula2026 h1 {
  opacity: 0.6;
  text-align: center;
  font-size: clamp(1em, 2vw, 1.3em);
}

#email-matricula2026 a {
  text-decoration: none;
  font-family: "pentagram", sans-serif;
  font-size: clamp(1.2em, 3vw, 2em);
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
  color: #354ea0ff;
}

#email-matricula2026 a:hover {
  opacity: 1;
}

#corpo-principal {
  margin-top: -2em;
  margin-bottom: -5em;
  padding-bottom: 2em;
  background-image: url('../media/seimnario-fundo-educandario.webp');
  background-size: cover;
  /* cobre toda a tela */
  background-position: center;
  height: 100%;
}

@media (max-width: 768px) {
  #informacoes-matricula2026 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #arquivos-matricula2026-ul {
    align-items: center;
    text-align: center;
  }

  #email-matricula2026 {
    text-align: center;
  }

  #matricula2026 {
    justify-content: start;
    height: auto;
    min-height: 0px;
  }
}

@media (max-width: 480px) {
  #matricula2026 {
    margin: 1em auto;
    padding: 0.5em;
  }

  #documento-listagem a {
    font-size: 1.2em;
  }

  #email-matricula2026 a {
    font-size: 1.5em;
  }

  #email-matricula2026 h1 {
    font-size: 1.3em;
  }
}

/* --- Estilos do Widget Evangelho --- */

#secao-evangelho {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 4rem;
  /* Espaçamento do elemento anterior */
  margin-bottom: 2rem;
}

#titulo-evangelho-container {
  display: flex;
  justify-content: flex-start;
  /* Alinhado à esquerda como nas Notícias */
  align-items: center;
  width: 75%;
  /* Mesma largura do container de notícias e história */
  margin-bottom: 1.5rem;
}

#titulo-evangelho-container h1 {
  color: #922C2Cff;
  /* Cor padrão do site (Auburn) */
  font-size: 1.7em;
  margin: 0;
  font-family: 'pentagram', serif;
  white-space: nowrap;
}

#linha-evangelho {
  width: 100%;
  height: 0.1em;
  background-color: #922C2Cff;
  margin-left: 1em;
  display: block;
}

#conteudo-evangelho {
  width: 70%;
  /* Levemente menor que o título para centralizar o texto */
  background-color: #f9f9f9;
  /* Fundo muito sutil para destacar a área */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  /* Sombra suave, menos agressiva que o teste */
  border-left: 5px solid #922C2Cff;
  /* Detalhe visual na cor do seminário */
}

#cabecalho-leitura {
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1rem;
}

#evangelho-data {
  font-family: 'Roboto', sans-serif;
  color: #555;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

#evangelho-ref {
  font-family: 'pentagram', serif;
  color: #922C2Cff;
  font-size: 1.8em;
  margin: 0;
}

#texto-biblico {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  white-space: pre-line;
  /* Respeita as quebras de linha da API */
}

/* Responsividade para o Evangelho */
@media (max-width: 768px) {
  #titulo-evangelho-container {
    width: 90%;
    flex-direction: column;
    align-items: flex-start;
  }

  #linha-evangelho {
    margin-left: 0;
    margin-top: 0.5em;
  }

  #conteudo-evangelho {
    width: 85%;
    padding: 1.5rem;
  }

  #titulo-evangelho-container h1 {
    font-size: 1.5em;
  }
}

/* --- ESTILOS PARA O ADMIN DASHBOARD --- */

#dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background-color: var(--polynesian-blue, #354EA0);
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#dashboard-header h1,
#dashboard-header p {
  color: white;
  margin: 0;
}

#logout-btn {
  background-color: var(--poppy, #E23135);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Corpo Principal (Layout em Colunas) */
#admin-main {
  padding: 20px;
  display: flex;
  justify-content: center;
}

#admin-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 90%;
  max-width: 1200px;
}

#form-col,
#list-col {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Formulário e Botões */
#form-noticia input[type="text"],
#form-noticia textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#form-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  /* Alinha botões à direita */
  gap: 10px;
}

#btn-publicar,
#btn-cancelar {
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

#btn-publicar {
  background-color: var(--poppy, #E23135);
  color: white;
  border: none;
}

/* Estilos da Lista de Notícias */
.news-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.news-title-data h4 {
  margin: 0;
  font-size: 1em;
  color: var(--polynesian-blue, #354EA0);
}

.news-actions button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--auburn, #922C2C);
  margin-left: 5px;
  font-size: 1.1em;
}

/* --- Estilo dos Versículos do Evangelho --- */
.versiculo {
  font-size: 0.65em;
  /* Reduz o tamanho da fonte */
  vertical-align: super;
  /* Eleva o número (sobrescrito) */
  color: #922C2Cff;
  /* Cor Vinho padrão do site (Auburn) */
  font-weight: 700;
  /* Negrito para leitura clara */
  margin-right: 2px;
  /* Um leve espaço antes do texto começar */
  line-height: 0;
  /* Evita que o número aumente a altura da linha do texto */
  position: relative;
  top: -0.1em;
  /* Ajuste fino de altura */
}

/*Notícias e Artigos*/

#artigo-container {
  display: flex;
  align-items: start;
  justify-content: start;
  width: 100%;
  flex-direction: column;
  padding: 0;
  margin: 0;
  margin-top: -2rem;
}

#artigo-header {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  width: 100%;
  height: 27.5rem;
  margin-top: 2em;
  margin-bottom: 1em;
  background-image: url(../media/seimnario-fundo-educandario.webp);
}

#artigo-titulo {
  font-family: 'pentagram', serif;
  font-size: 2.5em;
  color: #922C2Cff;
  margin-left: 1rem;
}

#artigo-resumo {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  color: gray;
  margin-left: 1rem;
  margin-right: 50rem;
}

#artigo-conteudo {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  text-align: start;
  width: 75%;
  margin: 0;
  padding-top: 2rem;
  padding-left: 2rem;
}

#artigo-conteudo p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  margin-bottom: 1rem;
}

#artigo-imagem {
  display: flex;
  justify-content: start;
  align-items: start;
  width: 75%;
  margin-left: 2rem;
}

#artigo-imagem img {
  width: 25rem;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.3em;
}

/* --- Estilos da Seção de Notícias (index.html) --- */

#secao-noticias {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 4rem 0;
}

/* Reutilizando o padrão de Título das Notícias/Evangelho */
#titulo-noticias-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 75%;
  /* Mesma largura das outras seções de conteúdo */
  margin-bottom: 2rem;
}

#titulo-noticias-container h1 {
  color: #922C2Cff;
  /* Cor Auburn */
  font-size: 1.7em;
  margin: 0;
  font-family: 'pentagram', serif;
  white-space: nowrap;
}

#linha-noticias {
  width: 100%;
  height: 0.1em;
  background-color: #922C2Cff;
  margin-left: 1em;
}

/* Feed de Cards de Notícias */
#feed-noticias {
  width: 75%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 cards na desktop */
  gap: 20px;
}

.card-noticia {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card-noticia:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-noticia-imagem {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.card-noticia-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-noticia-conteudo {
  padding: 1rem;
  flex-grow: 1;
  /* Garante que os conteúdos fiquem alinhados */
}

.card-noticia-conteudo h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  color: #922C2Cff;
  margin-top: 0;
  min-height: 40px;
}

.card-noticia-conteudo p {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.5rem;
}

#botao-mais-noticias {
  margin-top: 2rem;
}

#botao-mais-noticias a {
  text-decoration: none;
  color: #fff;
  background-color: #922C2Cff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

#botao-mais-noticias a:hover {
  background-color: #E23135ff;
}

/* --- Estilos da Página de Artigo Único (noticia.html) --- */

#artigo-container {
  width: 75%;
  /* Largura padrão de conteúdo no desktop */
  margin: 4rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

#artigo-titulo {
  font-family: 'pentagram', serif;
  font-size: 2.5em;
  color: #922C2Cff;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.1;
}

#artigo-resumo {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 2px solid #E1BD56ff;
  /* Dourado */
  text-align: center;
}

#artigo-imagem {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#artigo-imagem img {
  width: 100%;
  height: auto;
  display: block;
}

#artigo-conteudo {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1em;
  line-height: 1.7;
  text-align: justify;
  width: 100%;
  max-width: 800px;
}

#artigo-conteudo p {
  margin-bottom: 1.5rem;
}

/* --- Mídia Queries para Responsividade --- */

@media (max-width: 1024px) {

  /* Lista de Notícias (index.html) */
  #feed-noticias {
    grid-template-columns: repeat(2, 1fr);
    /* 2 cards em tablets */
    width: 90%;
  }

  #titulo-noticias-container {
    width: 90%;
  }
}

@media (max-width: 768px) {

  /* Artigo Único (noticia.html) */
  #artigo-container {
    width: 95%;
    /* Aumenta a largura em dispositivos menores */
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  #artigo-titulo {
    font-size: 1.8em;
  }

  /* Lista de Notícias (index.html) */
  #feed-noticias {
    grid-template-columns: 1fr;
    /* 1 card por linha em celulares */
  }
}

/* ---------------------------------------------------------------------- */
/* --- NOVOS ESTILOS DO PAINEL DE ADMINISTRAÇÃO (admin-dashboard.php) --- */
/* ---------------------------------------------------------------------- */

#admin-main {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  gap: 2rem;
}

#dashboard-header {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  border-bottom: 3px solid var(--ecru);
  /* Dourado */
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

#dashboard-header h1 {
  color: var(--auburn);
  /* Vinho */
  font-family: 'pentagram', serif;
}

#admin-content {
  display: flex;
  flex-direction: row;
  /* Layout em linha para as colunas na desktop */
  gap: 2rem;
  width: 100%;
}

#form-col {
  flex: 2;
  /* Coluna do formulário ocupa 2/3 da largura */
  min-width: 400px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

#list-col {
  flex: 1;
  /* Coluna da lista ocupa 1/3 da largura */
  min-width: 250px;
  max-height: 80vh;
  /* Altura máxima da lista */
  overflow-y: auto;
  /* Adiciona scroll se a lista for longa */
  padding-left: 1rem;
}

/* Títulos */
#form-title {
  color: var(--polynesian-blue);
  /* Azul */
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 1.5rem;
}

#list-col h2 {
  color: var(--auburn);
  /* Vinho */
  border-bottom: 2px solid var(--ecru);
  padding-bottom: 5px;
}

/* Estilo do Formulário */
#form-noticia {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#form-noticia label {
  font-weight: bold;
  color: var(--polynesian-blue);
  /* Azul */
  margin-top: 0.5rem;
}

#form-noticia input[type="text"],
#form-noticia textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

#slug {
  background-color: #eee;
  font-style: italic;
  color: #666;
}

/* Botões de Ação do Formulário */
#form-actions {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

#btn-publicar {
  background-color: var(--polynesian-blue);
  /* Azul */
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: bold;
}

#btn-publicar:hover {
  background-color: #2b4085;
  /* Azul Escuro */
}

#btn-cancelar {
  background-color: #aaa;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Botão de Sair */
#logout-btn {
  align-self: flex-end;
  background-color: var(--auburn);
  /* Vinho */
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: background-color 0.3s;
}

#logout-btn:hover {
  background-color: var(--poppy);
  /* Vermelho */
}

/* Estilo da Lista de Notícias (Lateral) */
#news-list-container {
  padding-top: 10px;
}

.admin-news-card {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--polynesian-blue);
  /* Destaque */
}

.admin-news-card h3 {
  margin-top: 0;
  font-size: 1.1em;
  color: var(--auburn);
  /* Vinho */
}

.admin-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Botões de Ação do Card */
.btn-edit,
.btn-delete {
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9em;
}

.btn-edit {
  background-color: var(--ecru);
  /* Dourado Claro */
  color: #333;
}

.btn-delete {
  background-color: var(--poppy);
  /* Vermelho */
  color: white;
}

.btn-edit:hover {
  background-color: #d1b876;
}

.btn-delete:hover {
  background-color: #a82528;
}

/* Mensagem de Status */
#mensagem-status {
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  font-weight: bold;
  display: none;
  text-align: center;
  background-color: #e6f7e9;
  border: 1px solid #c8e6c9;
  color: #388e3c;
}

/* Responsividade do Dashboard */
@media (max-width: 1024px) {
  #admin-content {
    flex-direction: column;
    /* Colunas empilhadas */
  }

  #form-col {
    min-width: unset;
    width: 100%;
  }

  #list-col {
    max-height: 50vh;
    /* Reduz a altura da lista em tablets */
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #ccc;
    padding-top: 1rem;
  }

  #dashboard-header {
    align-items: flex-start;
  }

  #logout-btn {
    align-self: flex-start;
  }
}

#resultado-matricula2026 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 3em;
}

#informacoes-resultado-matricula2026 {
  font-family: 'pentagram', sans-serif;
  font-size: 1.5em;
}

#informacoes-resultado-matricula2026-ul {
  display: flex;
  flex-direction: column;
}

/* CSS HEX 
  --gold-metallic: #E1BD56ff;
  --poppy: #E23135ff;
  --auburn: #922C2Cff;
  --ecru: #E1C580ff;
  --polynesian-blue: #354EA0ff;
  
  /* CSS HSL
  --gold-metallic: hsla(44, 70%, 61%, 1);
  --poppy: hsla(359, 75%, 54%, 1);
  --auburn: hsla(0, 54%, 37%, 1);
  --ecru: hsla(43, 62%, 69%, 1);
  --polynesian-blue: hsla(226, 50%, 42%, 1);
  
  /* SCSS HEX
  $gold-metallic: #E1BD56ff;
  $poppy: #E23135ff;
  $auburn: #922C2Cff;
  $ecru: #E1C580ff;
  $polynesian-blue: #354EA0ff;
  
  /* SCSS HSL 
  $gold-metallic: hsla(44, 70%, 61%, 1);
  $poppy: hsla(359, 75%, 54%, 1);
  $auburn: hsla(0, 54%, 37%, 1);
  $ecru: hsla(43, 62%, 69%, 1);
  $polynesian-blue: hsla(226, 50%, 42%, 1);
  
  /* SCSS RGB 
  $gold-metallic: rgba(225, 189, 86, 1);
  $poppy: rgba(226, 49, 53, 1);
  $auburn: rgba(146, 44, 44, 1);
  $ecru: rgba(225, 197, 128, 1);
  $polynesian-blue: rgba(53, 78, 160, 1);
  
  /* SCSS Gradient 
  $gradient-top: linear-gradient(0deg, #E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  $gradient-right: linear-gradient(90deg, #E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  $gradient-bottom: linear-gradient(180deg, #E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  $gradient-left: linear-gradient(270deg, #E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  $gradient-top-right: linear-gradient(45deg, #E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  $gradient-bottom-right: linear-gradient(135deg, #E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  $gradient-top-left: linear-gradient(225deg, #E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  $gradient-bottom-left: linear-gradient(315deg, #E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  $gradient-radial: radial-gradient(#E1BD56ff, #E23135ff, #922C2Cff, #E1C580ff, #354EA0ff);
  */