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

/* BODY */
body {
    font-family: Arial, sans-serif;
}

/* ================= HEADER ================= */

header {
    background: #e60202;
    color: white;
    height: 10vh;
    min-height: 60px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1000;
}

.header-title {
    font-size: 25px;
}

.menu-icon {
    position: absolute;
    left: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-icon div {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* ================= MENU LATERAL ================= */

.side-menu {
    position: fixed;
    top: 0;
    left: -70%;
    width: 70%;
    height: 100vh;
    background: white;
    transition: 0.4s ease;
    z-index: 2000;
    padding: 25px;
}

.side-menu.active {
    left: 0;
}

.menu-header {
    color: #e60202;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.close-btn {
    position: absolute;
    right: 30px;
    top: 20px;
    cursor: pointer;
}

.close-btn div {
    width: 22px;
    height: 2px;
    background: #e60202;
    position: absolute;
}

.close-btn div:first-child {
    transform: rotate(45deg);
}

.close-btn div:last-child {
    transform: rotate(-45deg);
}

.menu-divider {
    width: 100%;
    height: 2px;
    background: #e60202;
    margin: 3vh auto;
}

.menu-links {
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.menu-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #e60202;
    transition: width 0.3s ease;
}

.menu-links a:hover::after,
.menu-links a.active::after {
    width: 100%;
}

/* ================= PESQUISA E SININHO ================= */

/* Ícones */
.notification {
    position: absolute;
    right: 5vw;
    cursor: pointer;
    stroke: white;
    stroke-width: 3;
    fill: none;
    display: flex;
    gap: 3vw;
}

.pesquisa {
    width: 26px;
    height: 26px;
}

/*.sininho {
    width: 26px;
    height: 26px;
}*/

/* Barra escondida de pesquisa */
.search-bar {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: top 0.3s ease;
    z-index: 9999;
}

/* Quando ativa */
.search-bar.active {
    top: 0;
}

/* Conteúdo interno */
.search-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-container input {
    flex: 1;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}

.search-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* ================= CONTEÚDO ================= */

main {
    margin-top: calc(10vh + 20px);
    padding-left: 3vh;
    padding-right: 3vh;
}

.autor {
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    color: #e60202;
    margin-top: 15px;
}

.data {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: black;
    margin-top: -1px;
}

.titulo {
    font-family: "Times New Roman", serif;
    font-weight: bold;
    font-size: 24px;
    color: black;
    margin-top: 20px;
}

.subtitulo {
    font-family: "Times New Roman", serif;
    font-size: 20px;
    color: black;
    margin-top: 5px;
}

.imagem-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.imagem-container img {
    width: 100%;
    border-radius: 10px;
    height: auto;
}

.descricao-imagem {
    font-family: "Times New Roman", serif;
    font-size: 10px;
    color: #444;
    text-align: right;
    width: 90%;
    margin: 5px auto 0 auto;
}

.conteudo {
    font-family: "Times New Roman", serif;
    font-size: 16px;
    color: black;
    text-align: justify;
    margin-top: 20px;
    line-height: 1.6;
}

img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
  margin-top: 20px;
}
/* ================= PÁGINA NOTÍCIAS ================= */

.pagina-noticias {
  padding: 20px;
}

.noticia-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Imagem ocupa no máximo 1/3 */
.noticia-imagem {
  flex: 0 0 25%;
}

.noticia-imagem img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Título ao lado */
.noticia-conteudo {
  flex: 1;
}

.noticia-titulo {
  font-family: "Times New Roman", serif;
  font-size: 18px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  transition: 0.2s ease;
}

.noticia-titulo:hover {
  text-decoration: underline;
}

/* Linha grossa vermelha */
.linha-divisoria {
  height: 4px;
  background: #e60202;
  border-radius: 10px;
  margin: 25px 0;
}

/* ===== DESTAQUE PRINCIPAL NA PÁGINA DE NOTÍCIAS, ENTRETENIMENTO E CURIOSIDADES ===== */

.noticia-destaque {
  margin-bottom: 30px;
}

.noticia-destaque img {
  width: 100%;
  height: 30vh;
  object-fit: cover;
  border-radius: 10px;
}

.destaque-titulo {
  display: block;
  margin-top: 15px;
  font-family: "Times New Roman", serif;
  font-size: 34px;
  font-weight: bold;
  color: black;
  text-decoration: none;
}

.destaque-titulo:hover {
  text-decoration: underline;
}

/* ================= QUADRO CINZA ================= */

.quadro-destaque {
    background: #f2f2f2;
    margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
    font-family: "Times New Roman", serif;
    font-size: 18px;
    color: black;
    text-align: justify;
    line-height: 1.6;
}

/* ================= FOOTER ================= */

footer {
    background: #e60202;
    margin-top: 50px;
    padding: 30px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.footer-links a:hover::after,
.footer-links a.active-footer::after {
    width: 100%;
}
 
