* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

header {
    background-color: #fa8212;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo { height: 70px; }

/* NAVEGAÇÃO DESKTOP */
.menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin-right: 200px; /* Espaço para os submenus abrirem à direita */
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 15px;
    display: block;
}

/* LÓGICA DE SUBMENUS */
.has-submenu, .has-submenu-right { position: relative; }

* Submenu nível 1 */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: #fa8212;
  min-width: 220px;
  z-index: 1000;
}

/* Submenu nível 2 (à direita) */
.submenu-right {
  position: absolute;
  top: 0;
  left: 100%;
  display: none;
  background: #fa8212;
  min-width: 220px;
}

.submenu li a { color: #333; font-size: 0.9rem; padding: 10px 20px; }



/* RESPONSIVIDADE */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .menu-toggle { display: block; }
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fa8212;
        margin-right: 0;
    }
    .menu.show { display: flex; }
    .submenu, .submenu-right { position: static; width: 100%; }
}

/* CONTEÚDO */
.home {
  min-height: 100vh;
  background: url('../assets/img/interser_background2.png') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 130px; /* altura suficiente para o header fixo */
  padding-bottom: 40px;
}


.overlay {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
	margin-top: 300px;
}

.overlay.content-card {
  margin-top: 0;
  padding-top: 20px;
}


div.transbox {
    margin: 25px;
    margin-top: 170px;
    background-color: #ffffff;
    border: 1px;
    opacity: 0.6;
	width: 70%;
	border-radius: 15px;
    text-align: justify;
    }
	div.transbox1 {
    width: 470px;
    height: 350px;
    border-radius: 15px;
    margin-left: 5px;
    margin-top: 50px;
    opacity: 0.7;
	}
	div.transbox2 {
    width: 470px;
    height: 350px;
    border-radius: 15px;
    margin-left: 5px;
    margin-top: 50px;
    opacity: 0.7;
	}
	div.transbox4 p {
    margin: 5%;
    font-weight: bold;
    color: #000000;
	align="justify"
    }
	
	div.valores {
    width: 500px;
    height: 230px;
    border-radius: 15px;
    margin-left: 10px;
    margin-top: 70px;
    opacity: 0.7;
}
	div.texto1-valores {
    width: 200px;
    margin-top: 3px;
    margin-left: 10px;
    position: absolute;
    text-align: justify;
    color:black;
    font-size:18px;
    font-family: Arial;
    line-height: 25px;
}
    div.texto2-valores {
    width: 250px;
    margin-top: 3px;
    margin-left: 200px;
    text-align: justify;
    color:black;
    font-size:18px;
    font-family: Arial;
    line-height: 25px;
}

  div.curso1 {
    width: 1000px;
    height: 290px;
    border-radius: 15px;
    margin-left: 5px;
    margin-top: 70px;
    opacity: 0.7;
}
	div.culturadepaz {
    width: 1000px;
    margin-top: 3px;
    margin-left: 5px;
    position: absolute;
    text-align: justify;
    color:black;
    font-size:18px;
    font-family: Arial;
    line-height: 25px;
	}
	
	/* Layout Lado a Lado */
.blog-wrapper {
    display: flex;
    gap: 40px;
    padding-top: 120px; /* Ajuste conforme seu header fixo */
    align-items: flex-start;
}

.post-content-area {
    flex: 3; /* Ocupa 75% do espaço */
}

.sidebar-arquivo {
    flex: 1; /* Ocupa 25% do espaço */
    position: sticky;
    top: 100px; /* Faz a caixa seguir o scroll */
}

/* Estilização da Caixa Lateral */
.sidebar-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3b7a57;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.sidebar-box h3 {
    color: #3b7a57;
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.sidebar {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin: 20px 0;
  max-width: 300px;
   border-left: 6px solid #2e7d32; /* verde escuro */
}

.sidebar h3 {
  font-size: 1.5rem;
  color: #2e7d32; /* tom verde escuro */
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar button {
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
  padding: 6px 0;
  text-align: left;
  width: 100%;
  color: #fa8212; /* laranja do Interser */
}

.sidebar .articles li a {
  font-weight: normal;
  color: #2e7d32;
  padding-left: 15px;
  display: block;
  text-decoration: none;
}

.sidebar .articles li a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

/* Lista de Arquivos */
.lista-anos, .lista-meses, .lista-artigos-links {
    list-style: none;
    padding-left: 15px;
}

.ano-click {
    font-weight: bold;
    color: #333;
    display: block;
    margin-top: 10px;
}

.mes-click {
    color: #555;
    font-size: 0.95rem;
    margin-left: 5px;
    display: block;
    border-left: 1px solid #3b7a57;
    padding-left: 10px;
}

.lista-artigos-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.lista-artigos-links a:hover, .lista-artigos-links a.active {
    color: #3b7a57;
    font-weight: bold;
}

/* Responsividade: No celular, a barra lateral vai para baixo do texto */
@media (max-width: 992px) {
    .blog-wrapper {
        flex-direction: column;
    }
    .sidebar-arquivo {
        width: 100%;
        position: static;
    }
}

.hidden-post {
  display: none;
}

/* =========================
   FIX MENU MOBILE (SEM HOVER / ABRE VIA JS)
   Cole no FINAL do style.css
   ========================= */
/* DESKTOP */


/* MOBILE */
  .submenu {
    display: none;
  }

  .submenu.is-open {
    display: block;
  }



.header-container { position: relative; }

/* Remove marcadores de listas em TODOS os níveis do menu */
.menu,
.menu ul,
.menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Estado padrão */
.menu .submenu {
  display: none;
}

/* Estado ativo (JS controla) */
.menu .submenu.is-open {
  display: block;
}

@media (max-width: 1024px) {
  .menu .submenu {
    position: static;
    width: 100%;
  }
}

/* base */
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu .submenu {
  display: none;
}

.menu .submenu.is-open {
  display: block;
}

/* ===== DESKTOP ===== */
@media (min-width: 1025px) {
  .menu li {
    position: relative;
  }

  .menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: #fa8212; /* ou a cor original */
    z-index: 9999;
  }
}

/* ===== CORES BASE DO MENU ===== */
.menu a {
  color: #fff;
  text-decoration: none;
}

/* Submenu fundo correto */
.menu .submenu {
  background-color: #f3c77a; /* ajuste fino se quiser */
}

/* Texto do submenu */
.menu .submenu a {
  color: #000;
}

/* Hover visual – item do submenu */
.menu .submenu li a:hover {
  background-color: #e6b35c; /* tom mais escuro */
  color: #000;
}

.menu > li > a:hover {
  background-color: transparent;
  color: #fff;
}

.menu .submenu li a {
  display: block;
  padding: 10px 16px;
  font-weight: 500;
}
