* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
}

header,
footer
{
}

  header .logo, 
  footer .logo
  {
    text-align: center;
    height: 13em;
    padding: 1em;
    background-color: #dd9933;
  }

  header .logo img,
  footer .logo img
  {
    max-height: 100%;
  }

  footer p.assinatura {
    text-align: center;
    margin: 0;
    padding: 0.5em 0;
    color: white;
    background-color: black;
  }


.container {
  display: flex;           /* ativa o layout flex */
  gap: 20px;               /* espaço entre o article e o aside */
  align-items: flex-start; /* alinha pelo topo */
  padding: 0 5%;
  margin: 0 0 1em;
}


article {
  flex: 2;                 /* ocupa mais espaço */
  padding: 10px;
}

aside {
  flex: 1;                 /* ocupa menos espaço */
  padding: 10px;
}

  aside h2 {
    margin: .5em 0;
    color: #dd9933;
  }

  aside {
    background-color: white;
    border: 0;
  }

    aside ul {
      display: inline;
      list-style: none;
      text-align: left;
      margin: 0;
      padding: 0;
    }

      aside ul li {
          padding: .5em 0;
      }

        aside ul li a {
          font-size: 1em;
          color: #2d5c88;
          text-decoration: none;
        }

        aside ul li a:hover {
          font-weight: bold;
          color: #1e73be;
          text-decoration: none;
        }

        aside ul li a:before {
          content: "\f0da";
          font-family: "Font Awesome 6 Free";
          font-weight: 900;
          margin-right: 6px;
          font-size: 0.9em;
        }


/**********************
    POST WORDPRESS
**********************/

/* ===== Container geral ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: block;          /* garante empilhamento */
}

/* ===== Título da seção ===== */
.section-title {
  font-size: 2em;
  font-weight: 700;
  color: #1e73be;
  text-align: center;
  margin-bottom: 40px;
  display: inline-block;
  padding-bottom: 8px;
}

/* ===== Estrutura de cada post ===== */
.post {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  background: #fff;
  padding: 20px 0;
  margin-bottom: 30px;
  font-family: "Open Sans", Arial, sans-serif;
  width: 100%;             /* ocupa toda a largura do container */
  box-sizing: border-box;  /* garante que padding não quebre o layout */
}

/* ===== Imagem ===== */
.post-image {
  flex: 0 0 35%;
  max-width: 365px;
  margin-right: 20px;
}

.post-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* ===== Conteúdo ===== */
.post-content {
  flex: 1;
  color: #333;
  line-height: 1.6;
  position: relative;
}

/* ===== Data ===== */
.post-date {
  position: static;
  float: right;
  top: 0;
  right: 0;
  background: #f5f5f5;
  text-align: center;
  padding: 5px 10px;
  border-radius: 2px;
  font-size: 0.8em;
  text-transform: uppercase;
  color: #666;
  flex-shrink: 0;
  width: 90px; /* largura fixa */
}

.post-date .day {
  display: block;
  font-size: 1.6em;
  font-weight: bold;
  color: #444;
}

/* ===== Título e autor ===== */
.post-title {
  font-size: 1.8em;
  font-weight: 600;
  line-height: 1.2;
  color: #dd9933;
  margin: 0 0 5px 0;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-title a:hover {
  color: #1e73be;
}

/* ===== Texto ===== */
.post p {
  margin: 0;
  font-size: 1em;
}

  .post .post-author {
    font-size: 0.65em;
    color: #444;
    margin-bottom: 10px;
  }

  .main-layout .post .post-author::before {
    content: "\f007"; /* ícone de usuário Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* necessário para ícones sólidos */
    margin-right: .5em;
  }



/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .post {
    flex-direction: column;
  }

  .post-image {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .post-date {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }
}




/**********************
    MENU WORDPRESS
**********************/

/* ===================== NAV ===================== */
     .menu-top {
      background-color: #eee;
      border-width: 0 0 .1em 0;
      border-style: solid;
      border-color: #bbb;
      padding: 0 5%;
    }

    /* Cabeçalho do menu */
    .menu-top .menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
    }

    .menu-top .logo {
      font-weight: bold;
      font-size: 1.3em;
      color: #2d5c88;
    }

    .menu-top .menu-toggle {
      font-size: 1.6em;
      cursor: pointer;
      display: none;
      color: #2d5c88;
    }

    /* Adiciona a seta ▼ nos itens que têm submenu */
    .menu-item-has-children > a::after,
    .dropdown > a::after {
      content: " ▼";
      font-size: 0.8em;
      margin-left: 0.25em;
    }


    /* Lista principal */
    .menu-top ul {
      list-style: none;
      display: flex;
      justify-content: space-around;
      text-align: center;
      background-color: #eee;
    }

    .menu-top li {
      position: relative;
      flex: 1; /* mesma largura para todos */
    }

    /* Links principais */
    .menu-top ul li a {
      display: block;
      padding: 0.5em 1em;
      color: black;
      text-decoration: none;
      font-size: 1em;
      transition: all 0.3s ease;
    }

    .menu-top ul li a:hover {
      background-color: #2d5c88;
      color: white;
    }

    /* ===================== sub-menuS ===================== */
    .menu-top .sub-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: #DD9933;
      flex-direction: column;
      z-index: 1000;
      border-radius: 0 0 6px 6px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
      overflow: hidden;
    }

    .menu-top .menu-item-has-children:hover .sub-menu {
      display: block;
    }

    .menu-top .sub-menu a {
      padding: 10px;
      color: black;
      transition: all 0.2s;
    }

    .menu-top .sub-menu a:hover {
      background-color: #2d5c88;
      color: white;
    }

    /* Seta ▼ */
    .menu-top .arrow {
      font-size: 0.7em;
      margin-left: 5px;
      color: #2d5c88;
    }

    .menu-top .submenu li,
    .menu-top .sub-menu li {
      font-size: .8em;
      border-bottom: 1px solid #ddd; /* cor da linha */
    }

    /* remove a linha do último item */
    .menu-top .submenu li:last-child,
    .menu-top .sub-menu li:last-child {
      border-bottom: none;
    }



    /* ===================== RESPONSIVO ===================== */
    @media (max-width: 768px) {
      .menu-top .menu-toggle {
        display: block;
      }

      .menu-top ul {
        display: none;
        flex-direction: column;
      }

      .menu-top ul.active {
        display: flex;
      }

      .menu-top li {
        flex: none;
        border-top: 1px solid #ccc;
      }

      .menu-top .menu-item-has-children:hover .sub-menu {
        display: none;
      }

      .menu-top .menu-item-has-children.active .sub-menu {
        display: flex;
        flex-direction: column;
      }

      .menu-top .sub-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
      }

      .menu-top .sub-menu a {
        padding-left: 25px;
      }
    }


/**********************
    MENU WORDPRESS
**********************/




























.banner-img {
  max-height: 400px;
  width: auto;
  height: auto;
}

.btn-cian {
  background-color: #00bcd4;
  color: white;
  border: none;
}

.btn-cian:hover {
  background-color: #0097a7;
}

.palestrante img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cargo {
  font-size: 0.9em;
  color: #555;
}

/* Efeitos JS */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.banner-section {
  position: relative;
  overflow: hidden;
}

.bg-half-blue {
  background-color: #002147;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 0;
}

.bg-dark-blue {
  background-color: #002147;
}



/* =====================
   LAYOUT SECTION + ASIDE
===================== */
.main-layout {
  display: flex;
  align-items: flex-start; /* alinha pelo topo */
  gap: 30px;               /* espaço entre os dois blocos */
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Ajuste da seção principal */
.main-layout .container {
  flex: 3; /* ocupa mais espaço */
  padding: 0;
  margin: 0;
}

/* Ajuste do aside */
.main-layout aside {
  flex: 1; /* ocupa menos espaço */
  background: #fafafa;
  border-left: 1px solid #ddd;
  padding: 20px;
  align-self: flex-start;
}

/* Responsivo: empilha no celular */
@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;
  }

  .main-layout aside {
    border-left: none;
    border-top: 1px solid #ddd;
  }
}

/* =====================
   LAYOUT SECTION + ASIDE
===================== */


/* =====================
   SEARCH FORM
===================== */

.searchform div {
  display: flex;
  flex-direction: column; /* campo em cima, botão embaixo */
  align-items: stretch;
  width: 100%;
  max-width: 380px;
  gap: 8px;
}

/* Campo de texto */
.searchform input[type="text"] {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px; /* suave */
  font-size: 1em;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.searchform input[type="text"]:focus {
  border-color: #0073e6;
  box-shadow: 0 0 3px rgba(0, 115, 230, 0.3);
}

/* Botão */
.searchform button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0073e6;
  color: #fff;
  border: none;
  padding: .25em;
  border-radius: 6px;
  font-size: 1.1em;
  cursor: pointer;
  width: 70%;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-bottom: 2em;
}

.searchform button:hover {
  background-color: #005bb5;
}

.searchform button:active {
  transform: scale(0.98);
}

/* Ícone */
.searchform button i {
  font-size: .8em;
  margin-left: 1em;
}
/* =====================
   SEARCH FORM
===================== */


/* =====================
   SINGLE POST / PAGE
===================== */

.single-post, .page {
}

  .single-post h1,
  .page h1
  {
    color: #1e73be;
    font-size: 2em;
    line-height: 1.2em;
  }

  .single-post h2,
  .single-post h3,
  .single-post h4,
  .single-post h5,
  .single-post h6,
  .page h2,
  .page h3,
  .page h4,
  .page h5,
  .page h6
  {
    color: #dd9933;
    margin: 1em 0;
    line-height: 1.2em;
  }

  .single-post p,
  .page p
  {
    margin: 1em 0;
  }

  .single-post .post-meta
  {
    font-size: 0.65em;
    color: #444;
    margin-bottom: 2em;
  }

    .single-post .post-meta span
    {
      margin-right: 1em;
    }

    .main-layout .single-post .post-meta::before {
      content: "\f007"; /* ícone de usuário Font Awesome */
      font-family: "Font Awesome 6 Free";
      font-weight: 900; /* necessário para ícones sólidos */
      margin-right: .5em;
    }


  .single-post a,
  .page a
  {
    font-size: 1em;
    color: #2d5c88;
    text-decoration: none;
  }

  .single-post a:hover,
  .page a:hover 
  {
    font-weight: bold;
    color: #1e73be;
    text-decoration: none;
  }

  .main-layout .single-post a:before,
  .main-layout .page-content a:before
  {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
    font-size: 0.9em;
  }

  .single-post .wp-element-button,
  .page-content .wp-element-button
  {
    background-color: #0073e6;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin: 1em;
  }

    .single-post .wp-element-button:hover,
    .page-content .wp-element-button:hover
    {
      background-color: #005bb5;
      color: #fff;
    }

    .single-post .wp-element-button:before,
    .page-content .wp-element-button:before
    {
      content: "";
    }


/* =====================
   SINGLE POST / PAGE
===================== */

/* =====================
   COMENTÁRIO
===================== */

.custom-comment-form {
  margin-top: 2em;
}

.custom-comment-form p {
  margin-bottom: 1em;
}

.custom-comment-form input,
.custom-comment-form textarea {
  width: 100%;
  padding: .25em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-comment-form input {
  width: 50%;
}

.custom-comment-form input:focus,
.custom-comment-form textarea:focus {
  border-color: #0073e6;
  box-shadow: 0 0 3px rgba(0,115,230,0.3);
}

.comment-submit-btn {
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.comment-submit-btn:hover {
  background-color: #005bb5;
}

.comment-submit-btn:active {
  transform: scale(0.98);
}

/* =====================
   COMENTÁRIO
===================== */
/* =====================
   REDES SOCIAIS
===================== */


.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 1em 0;
  background-color: #0073e6; /* fundo azul da barra */
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;     /* círculo menor */
  height: 32px;
  border-radius: 50%;
  background-color: transparent; /* sem cor individual */
  color: #fff;     /* ícone branco */
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background-color: #fff;
  color: #0073e6;
}

/* =====================
   REDES SOCIAIS
===================== */

/* =====================
   PAGINAÇÃO
===================== */

/* ======= PAGINAÇÃO ======= */
.navigation.pagination {
  display: flex;
  justify-content: center;
  margin: 2em 0;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* ======= Botões numéricos e ícones ======= */
.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid #0073e6;
  color: #0073e6;
  background-color: #fff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* ======= Página atual (ativa) ======= */
.navigation.pagination .nav-links .current {
  background-color: #005bb5; /* azul mais escuro */
  color: #fff;
  border-color: #005bb5;
  box-shadow: 0 0 6px rgba(0, 91, 181, 0.3); /* leve destaque */
}

/* ======= Hover — inverte as cores ======= */
.navigation.pagination .nav-links a:hover {
  background-color: #0073e6;
  color: #fff;
}

/* ======= Ícones prev/next (mesmo tamanho) ======= */
.navigation.pagination .nav-links .prev,
.navigation.pagination .nav-links .next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #0073e6;
  color: #0073e6;
  background-color: #fff;
  transition: all 0.2s ease;
  padding: 0; /* garante o círculo perfeito */
  box-sizing: border-box;
}

/* Hover — inverte também */
.navigation.pagination .nav-links .prev:hover,
.navigation.pagination .nav-links .next:hover {
  background-color: #0073e6;
  color: #fff;
}

/* Ícones Font Awesome dentro dos botões */
.navigation.pagination .nav-links .prev i,
.navigation.pagination .nav-links .next i {
  font-size: 1.1em;
  line-height: 1;
  margin: 0; /* centralização perfeita */
}

/* ======= Efeito de clique opcional ======= */
.navigation.pagination .nav-links a:active,
.navigation.pagination .nav-links .prev:active,
.navigation.pagination .nav-links .next:active {
  transform: scale(0.95);
}

/* ======= Responsividade ======= */
@media (max-width: 480px) {
  .navigation.pagination .nav-links {
    gap: 6px;
  }

  .navigation.pagination .nav-links a,
  .navigation.pagination .nav-links span,
  .navigation.pagination .nav-links .prev,
  .navigation.pagination .nav-links .next {
    width: 34px;
    height: 34px;
    font-size: 0.9em;
  }
}



/* =====================
   PAGINAÇÃO
===================== */
