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

/* Corpo e fonte */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1e1e1e;
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
}

/* Container padrão */
.container {
    display: flex;
    flex-direction: column;
    width: 90%;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #121212;
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.05);
}

/* Cabeçalho */
.cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.logotipo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo {
    font-size: 3em;
    color: #ffcc00;
    text-decoration: none;
}

.slogan {
    font-size: 0.9em;
    color: #ccc;
}

/* Menu */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.nav-menu a {
    position: relative;
    display: inline-block;
    padding: 8px 5px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s;
    margin-right: 10px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #ffcc00;
    transition: width 0.3s ease;
}
.nav-menu a:hover::after,
.nav-menu a.ativo::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #ffcc00;
}

.nav-menu a.ativo {
    color: #ffcc00;
    font-weight: bold;
}

.default {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}
/* Conteúdo principal */
.conteudo{
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;

}

.artigos{
    display: flex;
    flex: 2;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.card-noticia {
    display: flex;
    gap: 15px;
    padding: 12px 15px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    align-items: flex-start;

}

.card-noticia .capa {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.card-noticia .conteudo-noticia {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding-bottom: 50px; /* Espaço para o botão */
}

.card-noticia h2 {
    color: #ffcc00;
    font-size: 1.2em;
    margin: 0 0 6px 0;
    line-height: 1.6;
}

.section-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffcc00;
}
.card-noticia p {
    font-size: 0.9em;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.card-noticia .btn-leia{
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #ffcc00;
    color: #000;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px 0 6px 0;
    transition: background-color 0.3s, color 0.3s;
}

.card-noticia .btn-leia:hover {
    background-color: #000;
    color: #ffcc00;
}

.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #1e1e1e;
    padding: 10px;
    border-radius: 0 8px 8px 0;
}

.sidebar h2{
    color: #000;
    text-align: center;
    font-size: 1.3em;
    background-color: #ffcc00;
    border-radius: 10px;
    padding: 5px;
    font-weight: bold;
}

.card-evento {
  display: flex;
  align-items: center;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #ffcc00;
  gap: 12px;
}

.data-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  background-color: #444;
  border-radius: 8px;
  padding: 10px 5px;
  text-align: center;
}


.data-box .dia {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffcc00;
  line-height: 1;
}

.data-box .mes {
  font-size: 0.8em;
  color: #ccc;
  text-transform: uppercase;
}

.info-evento {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-evento h3 {
  margin: 0;
  font-size: 1em;
  font-weight: 600;
  color: #ffcc00;
}

.linha-inferior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.descricao-evento {
  margin: 0;
  font-size: 0.75em;
  color: #ddd;
}

.btn-evento {
    align-self: flex-start;
  background-color: transparent;
  color: #ffcc00;
  font-size: 0.85em;
  text-decoration: underline;
  margin-left: 10px;
  white-space: nowrap;
}


/* Rodapé */
.rodape {
    text-align: center;
    color: #aaa;
    padding: 20px 0;
    font-size: 0.9em;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.rodape a {
    color: #aaa;
    text-decoration: none;
    font-weight: bold;
}

.rodape a:hover {
    text-decoration: underline;
    color: #ffcc00;
}
