/*
Theme Name: UFV 100 Anos
Theme URI: 
Author: Marcos Mendes
Author URI: http://www.dti.ufv.br/
Description: 	
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: Universidade Federal de Viçosa, UFV
*/

@font-face {
  font-family: 'lucida_sansdemibold';
  src: url("assets/font/lucida-sans-demibold_28961-webfont.woff2") format("woff2"), url("assets/font/lucida-sans-demibold_28961-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'lucida_sans_regular';
  src: url("assets/font/lsans-webfont.woff2") format("woff2"), url("assets/font/lsans-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

  @font-face {
  font-family: 'Avenir Next LT Pro';
  src:  url("assets/font/AvenirLTProBook.otf") format("opentype");
  font-weight: 400;
  font-style: normal; }

  @font-face {
  font-family: 'Avenir Next LT Pro black';
  src:  url("assets/font/AvenirLTProBlack.otf") format("opentype");
  font-weight: 900;
  font-style: normal; }


/* <weight>: Use a value from 100 to 900 */
/* <uniquifier>: Use a unique and descriptive class name */

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0;vertical-align:baseline;margin:0;padding:0;}
:focus{outline:0;}
table{border-collapse:separate;border-spacing:0;}
caption,th,td{font-weight:normal;text-align:left;}
blockquote:before,blockquote:after,q:before,q:after{content:"";}
i,em{font-style:italic;}
b,strong{font-weight:bold;}
small{font-size:10px;}
big{font-size:16px;}
a img{border:0;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}
h1,h2,h3,h4,h5,h6{font-weight:bold;}
a:link,a:visited{color:#0066cc;text-decoration:none;outline:0;}
a:hover,a:active{color:#0055a9;text-decoration:none;outline:0;}
body{font:normal 13px/150% "lucida_sansdemibold", sans-serif;color:#363636;}


/* Header --------------------------------------------------------------------------*/

#header {
  width: 100%;
  background: #cc8130;
}

#header #container {
  min-height: 100px;
  /* display: grid; */
  /* grid-template-columns: repeat(5, 1fr); */
  width: 80%;
  padding: 10px 0;
  margin-bottom: 0px;
}

#header #container > * {
  padding: 0 2vw;
}

#header #container div {
  place-self: center;
}

#header #container a:link, a:visited {
  color: #231e0e;
  text-decoration: none;
  outline: 0;
  font-size: 25px;
  font-family: 'Avenir Next LT Pro black';
  font-weight: bold;
}

.custom-logo-link img { 
  width: 215px;
  height: auto;
  margin: 10px 0 0 0px; 
}

.logo {
  float: left;
}

#header-wrapper-right {
    float: right;
    margin-top: 15px;
}

#header-wrapper-right a img {
  width: 267px;
  margin: 0px 0px 5px 0;
}

#navigation {
    background: #f9f9f9;
    width: 100%;
}

#nav {
  display: grid;
  margin: 0 auto;
  height: 44px;
  justify-items: center;
}

/* Menu responsivo ---------------------------------------------------------------------------*/

.toggle-nav2 {
  display: none !important;
}

.menu2.main2 {
  display: none;
  background-color: #5752d9;
  padding: 20px 10px 15px 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

.menu2.main2 ul {

}

.menu2.main2 li {
  padding: 5px 5px 5px 5px;
}

.menu2.main2 a {
  color: #fff;
}

.menu2.main2 ul li ul {
background-color: #d2cccc;
margin-left: 15px;
padding-top: 15px;
}

.menu2.main2 ul li ul li a {
  color: #2f2d2d;
  display: block;
  padding-bottom: 10px;
}
.menu2.main2 ul li ul li ul{
background-color: #dddcdc;
}
   


/* Slider --------------------------------------------------------------------------*/

#Superior {
    margin-bottom: 7.7vw;
    height: 80vh;
}

.primeiro-bloco .background-banner {
    max-width: 100%;
    height: inherit;
    background: url(assets/images/estrutura/01.01.CA.IBS.01_4_.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.titulo-banner {
    font-size: clamp(2vw, 2.36vw, 45px);
    font-family: 'Avenir Next LT Pro black';
    background-color: #cc8130;
    width: 36%;
    padding: 20px 30px;
    position: relative;
    bottom: 15vw;
    left: 10vw;
    color: #231e0e;
}

.subtitulo-banner {
    font-size: clamp(1.8vw, 1.8vw, 33px);
    font-family: 'Avenir Next LT Pro black';
    background-color: #e5dbb8;
    width: 36%;
    padding: 20px 30px;
    position: relative;
    bottom: 15.8vw;
    left: 10vw;
    line-height: normal;
    color: #231e0e;
}


/* Mozaico --------------------------------------------------------------------------*/

/* título */
.mosaico-title {
    margin: -20px 10vw 20px;
    font-size: 3.8vw;
    font-weight: bold;
    font-family: 'Avenir Next LT Pro black';
    transform: translateY(40px);
    opacity: 0;
    position: absolute;
    z-index: 10;
}

/* quando aparece no scroll */
.mosaico-title.show {
    animation: slideUp 0.8s ease forwards;
}

/* opcional: delay menor que as imagens */
.mosaico-title.show {
    animation-delay: 0.05s;
}

/* grid base */
.mosaico {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 0;
}

/* base */
.item {
    overflow: hidden;
}

/* 🔧 AJUSTE AQUI O TAMANHO DE CADA IMAGEM */

/* linha 1 */
.img-1 { grid-column: 1 / span 2; grid-row: 1; }
.img-2 { grid-column: 3 / span 2; grid-row: 1; }
.img-3 { grid-column: 5 / span 2; grid-row: 1; }

/* linha 2 */
.img-4 { grid-column: 1 / span 1; grid-row: 2; }
.img-5 { grid-column: 2 / span 4; grid-row: 2; }
.img-6 { grid-column: 6 / span 1; grid-row: 2; }

/* imagem */
.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: translateY(40px);
    opacity: 0;
}

/* ativação pelo scroll */
.item.show img {
    animation: slideUp 0.8s ease forwards;
}

/* delays */
.img-1.show img { animation-delay: 0.1s; }
.img-2.show img { animation-delay: 0.3s; }
.img-3.show img { animation-delay: 0.5s; }
.img-4.show img { animation-delay: 0.7s; }
.img-5.show img { animation-delay: 0.9s; }
.img-6.show img { animation-delay: 1.1s; }

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.img-1 {
    grid-column: 1 / span 2; /* fica maior */
    grid-row: 1;
}

.img-2 {
    grid-column: 3 / span 2; /* fica maior */
    grid-row: 1;
}

.img-3 {
    grid-column: 5 / span 2; /* fica maior */
    grid-row: 1;
}

.img-4 {
    grid-column: 1 / span 3; /* fica maior */
    grid-row: 2;
}

.img-5 {
    grid-column: 4 / span 2; /* fica maior */
    grid-row: 2;
}

.img-6 {
    grid-column: 6 / span 1;
    grid-row: 2; /* sobe para linha 1 */
}

.mosaico {
    grid-template-rows: 19.5vw 26vw;
}

.link-linha-do-tempo {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.link-linha-do-tempo a {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    width: 80%;
    margin: 3vw 0;
    color: #231e0e;
    font-size: clamp(1.4vw, 2.36vw, 20px);
}

.arrow {
  width: 32px;
  height: 2px;
  top: -2px;
  background: #333;
  position: relative;
}

.arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3.5px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #333;
}

/* Programação ----------------------------------------------------------------------*/

.programacao-header {
    width: 80%;
    margin: 70px auto 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.programacao-header h1 {
    text-align: center;
    font-size: 33px;
    color: #231e0e;
    padding: 20px 0 20px 0;
    font-family: 'Avenir Next LT Pro';
    font-weight: bold;
}

.linha-programacao {
    width: 100%;
    height: 2px;
    background: #000;
    top: 2px;
    position: relative;
}

.programacao-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10%;
  background-color: #e5dbb8;
  gap: 15%;
}

.programacao-item-1, .programacao-item-2 {
  flex: 0 0 42.5%;
}

.programacao-item-1 {
    font-size: 25px;
    font-family: 'Avenir Next LT Pro';
    line-height: 1.3;
}

@media (max-width: 768px) {
  .programacao-item {
    flex: 0 0 100%;
  }
}








.eventos {
    margin: 30px 0 5px 0;
}

.evento {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
}

.evento-hoje .data-evento {
    background-color: #231e0e;
}

.evento-hoje .dia,
.evento-hoje .mes {
    color: #ffffff;
    font-weight: bold;
}

.data-evento {
    width: 70px;
    height: 70px;
    background: #cc8130;
    color: #363636;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Avenir Next LT Pro black';
    flex: 0 0 70px;
}

.data-evento .dia {
  font-size: 22px;
  line-height: 1;
}

.data-evento .mes {
  font-size: 16px;
  text-transform: uppercase;
}

.info-evento h3 {
  margin: 0;
  font-size: 18px;
  font-family: 'Avenir Next LT Pro';
}

@media (max-width: 600px) {
  .evento {
    gap: 15px;
  }

  .data-evento {
    width: 60px;
    height: 60px;
  }

  .data-evento .dia {
    font-size: 18px;
  }
}


.link-saiba-mais {
    display: flex;
    flex-direction: row;
    margin-left: 23px;
}

.link-saiba-mais a {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    margin: 30px 0 30px 0;
    color: #231e0e;
    font-size: 20px;
}


/* Notícias -------------------------------------------------------------------------*/

#noticias {
  margin-bottom: 10px;
  background-color: #fff;
}

#noticias h1 {
    text-align: center;
    font-size: 33px;
    color: #231e0e;
    padding: 20px 0 20px 0;
    font-family: 'Avenir Next LT Pro';
    font-weight: bold;
}

.noticias-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2%;
    justify-content: center;
    margin: 0 2%;
    align-items: flex-start;
}

.noticia {
  width: 100%;
}

.noticia img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.inf-noticas-wrapper {
  margin-left: 5px;
}

.noticia h2 {
  margin: 25px 0 20px 0;
}

.noticia h2 a {
    font-size: 23px;
    color: #231e0e;
    font-family: 'Avenir Next LT Pro';
    font-weight: 900;
    line-height: normal;
}

.noticia .resumo {
  font-size: 17px;
  color: #231e0e;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}


.navegacao {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vejamais a {
  font-size: 24px;
  color: #231e0e;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.noticias-background {
  width: 100%;
  height: 140px;
  background: url(assets/images/estrutura/background_noticias.png);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

 
.recentes{
    float:left;
    }
 
.anteriores{
    float:right;
    }
 
#container {
  margin: 0px auto;
  width: 94%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  }
   
  .noticia h1{
    font-size:20px;
    margin-bottom:10px;
  }
   
  .noticia p{
  margin-bottom:10px;
  margin-left: 5px;
  color: #000;
  font-family: 'lucida_sans_regular';
  }
 
#sidebar{
width:245px;
float:right;
}

#conteudo{
    width: 100%;
    margin: 40px 0;
    min-height: 490px;
    overflow: hidden;
}

#artigos {
    width: 70vw;
    margin: 0 auto;
    text-align: justify;
    font-family: 'Avenir Next LT Pro';
    font-size: 18px;
    line-height: normal;
}

#artigos h1, #artigos h2, #artigos h3, #artigos h4, #artigos h5, #artigos h6 {
    color: #231e0e !important;
    font-family: 'Avenir Next LT Pro black';
    font-weight: 400;
}

.artigo h1 {
    font-size: 37px;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: left;
    line-height: normal;
}

.widget .menu { width: 245px; text-transform: uppercase; font-size: 15px; }
.widget .menu { margin: 0; padding: 0px; }
.widget .menu li { list-style: none; margin: 0px; padding: 0px; }
.widget .menu li a {
  width: 180px;
  height: 56px;
  display: block;
  text-align: left;
  font-size: 11px;
  color: #5752d9;
  margin-bottom: 5px;
  padding-left: 65px;
  line-height: 60px;
  letter-spacing: 0px;
}

.widget .menu a { background: url(assets/images/estrutura/botao-lateral2.png) no-repeat top left; }
.widget .menu li a:hover { background-position: bottom left }
 
.widget{
width:245px;
margin: 12px 0;
}
 
.widget h3{
font-size:14px;
margin-bottom:10px;
}
 
#footer{
width: 100%;
font-size: 11px;
text-align: center;
background-color: #231e0e;
clear: both;
color: #fff;
}

#endereco-rodape {
  min-height: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  margin: 0 10% 70px 10%;
}

#footer #Endereco {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
}

#endereco-rodape h2 {
  color: #fff;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  margin: 90px 0 10px 0;
}

#footer #Endereco p {
  color: #fff;
  font-size: 16px;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

.copy {
  margin: 0;
  padding: 5px;
}

#comments{
    width:630px;
    float:left;
    border-top:1px solid #bebebe;
    }
 
#comments h3{
    font-size:14px;
    margin:20px 0;
    }
 
ol.commentlist{
    list-style:none;
    }
 
ol.commentlist li{
    margin-bottom:30px;
    }
 
ol.commentlist ul{
    margin:0px;
    }
 
ol.commentlist ul li{
    margin:20px 20px 20px 40px;
    }
 
#respond{
    margin:0 0 30px 0;
    clear:both;
    }
 
#respond form label{
    float:left;
    clear:left;
    width:60px;
    text-align:right;
    margin-right:10px;
    }
 
#respond form input{
    float:left;
    width:250px;
    margin-bottom:10px;
    }
 
#respond form textarea{
    float:left;
    width:400px;
    height:100px;
    margin-bottom:10px;
    }
 
#respond form input.commentsubmit{
    float:left;
    margin-left:70px;
    }

.busca {
    margin-top: 20px;
}

.busca li {
    border-bottom: 1px solid #DDE0E4;
    margin-bottom: 10px;
}

.busca li a {
    font-size: 16px;
    font-weight: 600;
}

.busca li div {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
}

/* Videos --------------------------------------------------------------------------*/

.video-container {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 2%;
    margin: 2% 0 4% 0;
}

.video-container > div {
    width: 39%;
}

/* garante que o iframe acompanhe a largura */
.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* mantém proporção do YouTube */
    height: auto;
}



/* Slide left no rodapé -------------------------------------------------------------------*/

.slide-section {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background-color: #cc8130;
}

.rodape-img-1 {
  width: 12%;
  height: 187px;
  bottom: 0px;
}

.rodape-img-2 {
  width: 8%;
  height: 130px;
  bottom: 0px;
}

.rodape-img-3 {
  width: 42%;
  height: 201px;
  bottom: -1px;
}

.rodape-img-4 {
  width: 25%;
  height: 162px;
  bottom: -1px;
}

.rodape-img-5 {
  width: 19%;
  height: 136px;
  bottom: -6px;
  left: -102px;
}

.gallery {
    display: flex;
    align-items: flex-end;
    height: 230px;
}

.gallery img {
  object-fit: contain;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 1s ease, opacity 0.6s ease;
  position: relative;
  flex-shrink: 0;
}

/* classe ativada no scroll */
.gallery.animate img {
  transform: translateX(0);
  opacity: 1;
}

/* atraso progressivo */
.gallery.animate img:nth-child(1) { transition-delay: 0s; }
.gallery.animate img:nth-child(2) { transition-delay: .2s; }
.gallery.animate img:nth-child(3) { transition-delay: .4s; }
.gallery.animate img:nth-child(4) { transition-delay: .6s; }
.gallery.animate img:nth-child(5) { transition-delay: .8s; }




/* Menu Responsivo -------------------------------------------------------------------*/

#container {
    display: flex;
}

/* item principal */
.menu-1 {
    position: relative;
}

.menu-1 > .submenu > a {
    text-decoration: none;
    color: #000;
    padding: 10px;
    display: block;
}




/* submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #231e0e;
    min-width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    border-radius: 10px;
}

/* links do submenu */
.submenu a {
    padding: 10px 15px;
    text-decoration: none;
    color: #fff !important;
    white-space: nowrap;
    font-size: 18px !important;
}

.submenu a:hover {
    color: #cc8130 !important;
}

/* mostrar submenu no hover */
.has-submenu:hover .submenu {
    display: flex;
}

.menu-2 .menu-item.has-submenu {
    color: #cc8130 !important;
    padding: 15px 20px;
    border-top: 1px solid #222;
    width: 90%;
}

/* estrutura */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #111;
  position: relative;
}

.logo {
  color: #fff;
  font-weight: bold;
}

/* checkbox invisível */
#menu-toggle {
  display: none;
}

/* ícone hamburguer */
.menu-icon {
  display: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-icon span {
  height: 4px;
  background: #231e0e;
  border-radius: 2px;
  display: block;
}

/* menu desktop */
.menu {
  display: flex;
  gap: 0px;
}

.menu-2 {
  display: none;
}

.menu a {
  color: #cc8130;
  text-decoration: none;
}

/* programação pagina -------------------------------------------------------------------*/

.agenda-programacao {
  margin: 0 auto;
}

.agenda-mes {
    margin: 10px 0;
}

.agenda-mes-titulo {
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    background: #e5dbb8;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
}

.agenda-toggle {
    font-size: 22px;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.agenda-mes-conteudo {
    display: none;
    padding: 15px;
}

.agenda-evento {
    margin-bottom: 50px;
}

.agenda-evento h3 {
    font-size: 30px;
    margin: 10px 0;
}

.agenda-evento h4 {
    font-size: 25px;
    margin: 20px 0;
}

/* Página de Notícias -------------------------------------------------------------------*/

.page-slug-noticias #artigos {
    width: 70vw;
}

.post-item {
    display: flex;
    gap: 1.5vw;
    margin-bottom: 3.5vw;
    align-items: flex-start;
}

.post-thumb img {
  width: 21vw;
  height: auto;
  display: block;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.post-fixado .post-thumb img {
    width: 36vw;
}

.post-content {
    flex: 1;
}

.post-content h2, h3 {
    margin: 0 0 5px;
}

.post-content a {
    color: #231e0e;
    font-size: 1.6vw;
}

.post-date {
    font-size: 0.9vw;
    color: #777;
    display: block;
    margin-bottom: 8px;
}

.post-content p {
    font-size: 1vw;
}

.post-excerpt {
    margin: 0;
}

.posts-pagination {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.posts-pagination a {
    padding: 6px 12px;
    border: 1px solid #ccc;
    text-decoration: none;
}

.posts-pagination a.active {
    background: #333;
    color: #fff;
}

@media (max-width: 1440px) 
{

  #header #container a:link, a:visited {
    font-size: 20px;
  }

  .submenu a {
    font-size: 16px !important;
  }

  .titulo-banner {
    bottom: 19vw;
  }

  .subtitulo-banner {
    bottom: 19.8vw;
  }

  .mosaico-title {
    font-size: 4.6vw;
  }

  .programacao-item-1 {
    font-size: 23px;
  }

  .slide-section {
    height: 174px;
  }

  .gallery {
    height: 175px;
  }

  .rodape-img-1 {
    height: 139px;
    bottom: 0px;
  }

  .rodape-img-2 {
    height: 104px;
    bottom: 0px;
  }
  .rodape-img-3 {
    height: 151px;
    bottom: -1px;
  }
  .rodape-img-4 {
    height: 123px;
    bottom: -1px;
  }

  .rodape-img-5 {
    height: 101px;
    bottom: -4px;
    left: -79px;
  }

}


@media screen and ( max-width: 1024px ) {

  #header #container {
    width: 90%;
  }

  .custom-logo-link img {
    width: 160px;
  }

  #header #container a:link, a:visited {
      font-size: 17px;
  }

  .submenu a {
    font-size: 14px !important;
  }

  .mosaico-title {
    margin: -15px 10vw 20px;
    font-size: 5.1vw;
  }

  .programacao-header {
    margin: 30px auto 20px;
  }

  .programacao-item-1 {
      font-size: 22px;
  }

  .programacao-header h1 {
    font-size: 27px;
  }


  #noticias h1 {
    font-size: 27px;
  }

  .noticia img {
    height: 169px;
  }

  .noticia h2 a {
    font-size: 16px;
  }

  .rodape-img-1 {
      height: 100px;
      bottom: 0px;
  }

  .rodape-img-2 {
      height: 74px;
      bottom: 0px;
  }

  .rodape-img-3 {
      height: 108px;
      bottom: -1px;
  }

  .rodape-img-4 {
      height: 88px;
      bottom: -1px;
  }

  .rodape-img-5 {
      height: 77px;
      bottom: -5px;
      left: -55px;
  }

}



@media screen and ( max-width: 768px ) {

  #header #container {
    min-height: 70px;
  }

 .custom-logo-link img {
    width: 120px;
  }

  #header #container a:link, a:visited {
    font-size: 13px;
  }

  #Superior {
    height: 50vw;
  }


      .menu-1 {
    display: none;
  }

  .menu-2 {
    display: block;
    margin: 0 0 0 98px;
  }

  .menu-icon {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 124px;
    left: 0;
    width: 100%;
    background: #231e0e;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 11;
  }

  #menu-toggle:checked ~ .menu {
    max-height: fit-content;
  }

  .menu a {
    color: #cc8130 !important;
    padding: 15px 20px;
    border-top: 1px solid #222;
  }

  .titulo-banner {
    bottom: 19vw;
    padding: 1.3vw 1.9vw;
  }

  .subtitulo-banner {
    bottom: 19.8vw;
    padding: 1.3vw 1.9vw;
  }

  .programacao-item-1 {
    font-size: 16px;
  }

  .evento {
    padding: 6px 0;
  }

  .data-evento {
    width: 55px;
    height: 55px;
  }

  .data-evento .dia {
    font-size: 16px;
  }

  .data-evento .mes {
    font-size: 12px;
  }

  .info-evento h3 {
    font-size: 16px;
  }

  .link-saiba-mais a {
    font-size: 16px;
  }

  .noticia img {
    height: 127px;
  }

  .noticia h2 {
    margin: 10px 0 20px 0;
  }

  .noticia h2 a {
    font-size: 13px;
  }

  .slide-section {
      height: 98px;
  }

  .gallery {
        height: 99px;
    }

  .rodape-img-1 {
    height: 75px;
    bottom: 0px;
  }

  .rodape-img-2 {
    height: 58px;
    bottom: 0px;
  }

  .rodape-img-3 {
      height: 83px;
      bottom: -1px;
  }

  .rodape-img-4 {
      height: 66px;
      bottom: 0px;
  }

  .rodape-img-5 {
      height: 61px;
      bottom: -4px;
      left: -42px;
  }

  #artigos {
    width: 85vw;
  }
  
}

@media screen and ( max-width: 425px ) {

  #header #container {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }



  .titulo-banner {
    bottom: 24vw;
    padding: 0.6vw 1.9vw;
  }

  .subtitulo-banner {
    bottom: 23.8vw;
    padding: 0.6vw 1.9vw;
  }

  .mosaico-title {
    margin: -12px 10vw 20px;
    font-size: 5.1vw;
  }

  .programacao-header {
    margin: 0px auto 0px;
  }

  .programacao-header h1 {
    font-size: 16px;
  }

  .programacao-item-1, .programacao-item-2 {
    flex: 0 0 100%;
  }

  .data-evento {
    width: 50px;
    height: 50px;
  }

  #noticias h1 {
    font-size: 16px;
  }

  .noticias-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: center;
    margin: 0 2%;
    align-items: flex-start;
  }

  .noticia {
    width: 40%;
  }

  .video-container {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 2%;
    margin: 2% 0 4% 0;
    flex-direction: column;
    align-items: center;
  }

  .video-container > div {
    width: 80%;
  }

  .slide-section {
    height: 49px;
  }

  .gallery {
    height: 50px;
  }

  .rodape-img-1 {
    height: 42px;
    bottom: 0px;
  }

  .rodape-img-2 {
    height: 32px;
    bottom: 0px;
  }

  .rodape-img-3 {
    height: 47px;
    bottom: -1px;
  }

  .rodape-img-4 {
    height: 37px;
    bottom: 0px;
  }

  .rodape-img-5 {
    height: 34px;
    bottom: -3px;
    left: -23px;
  }

  /* ajustes pagina noticias mobile */

  .post-item {
    flex-direction: column;
    gap: 4.5vw;
  }

  .post-content p {
    font-size: 4.3vw;
  }

  .post-fixado .post-thumb img {
    width: 90vw;
  }

  .post-thumb img {
    width: 90vw;
  }

  .post-content h2, h3 {
    text-align: left;
  }

  .post-content a {
    font-size: 5vw;
  }

  .post-date {
      font-size: 3.5vw;
      padding-top: 5px;
  }

  .page-slug-noticias #artigos {
    width: 90vw;
  }

}

@media screen and ( max-width: 375px ) {

}


@media screen and (max-width: 320px) {

}










/* ---------- SUBMENU MOBILE ---------- */

.has-submenu input {
    display: none;
}

/* submenu fechado */
.submenu-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    width: 90%;
}

/* abre submenu */
.has-submenu input:checked ~ .submenu-mobile {
    max-height: 300px;
}

/* seta indicadora */
.has-submenu .menu-link::after {
    content: "▾";
    float: right;
    transition: transform 0.3s;
}

/* gira seta */
.has-submenu input:checked + .menu-link::after {
    transform: rotate(180deg);
}

/* links internos */
.submenu-mobile a {
    padding: 12px 30px;
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 0.95em;
}













.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: auto;
    padding: 60px 0;
}

/* Linha central */
.timeline-container::before {
    content: '';
    position: absolute;
    width: 3px;
    background: #c46c1a;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 80px;
}

.timeline-item.left .timeline-text {
    width: 45%;
    text-align: left;
}

.timeline-item.left .timeline-image {
    width: 45%;
    text-align: center;
}

.timeline-item.right .timeline-text {
    width: 45%;
    text-align: left;
}

.timeline-item.right .timeline-image {
    width: 45%;
    text-align: center;
}

.timeline-year {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #c46c1a;
    margin-bottom: 10px;
}

.timeline-content {
    padding: 20px;
}

.timeline-image img {
    max-width: 100%;
}

/* Bolinha */


/* Responsivo */
@media(max-width: 768px) {

    .timeline-container::before {
        left: 20px;
    }

    .timeline-text,
    .timeline-image {
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 20px;
    }

    .timeline-item::after {
        left: 11px;
    }
}

/* ============================= */
/* ANIMAÇÃO DIREÇÕES INVERTIDAS */
/* ============================= */

.timeline-item .timeline-text,
.timeline-item .timeline-image {
    opacity: 0;
    transition: all 0.8s cubic-bezier(.22,.61,.36,1);
}

/* ITEM LEFT (invertido) */
.timeline-item.left .timeline-text {
    transform: translateX(120px);
}

.timeline-item.left .timeline-image {
    transform: translateX(-120px);
}

/* ITEM RIGHT (invertido) */
.timeline-item.right .timeline-text {
    transform: translateX(-120px);
}

.timeline-item.right .timeline-image {
    transform: translateX(120px);
}

/* Quando entra na tela */
.timeline-item.show .timeline-text,
.timeline-item.show .timeline-image {
    opacity: 1;
    transform: translateX(0);
}

/* Wrapper do ano */
.timeline-year-wrapper {
    position: relative;
    margin: 60px 0;
}

/* Título do ano */
.timeline-year-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    font-family: 'Avenir Next LT Pro' !important;
}

.timeline-year-wrapper {
    position: relative;
    width: 100%;
    margin: 60px 0;
}

/* Ano na esquerda */
.timeline-year-wrapper.left .timeline-year-title {
    width: 39%;
    margin-left: 0;
    text-align: right;
}

/* Ano na direita */
.timeline-year-wrapper.right .timeline-year-title {
    width: 39%;
    margin-left: auto;
    text-align: left;
}

.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 3px;
    background: #cc8130;
    top: 15px;     /* distância da bolinha inicial */
    bottom: 15px;  /* distância da bolinha final */
    left: 50%;
    transform: translateX(-50%);
}

/* Bolinhas */
.timeline-container .dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #cc8130;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-container .dot.start { top: 5px; }
.timeline-container .dot.end   { bottom: 5px; }




.timeline-year-wrapper {
    position: relative;
}

.timeline-year-wrapper.right::before {
    content: '';
    position: absolute;

    width: 125px;   /* largura da imagem */
    height: 26px;  /* altura da imagem */

    background-image: url(assets/images/linhadotempo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;

    top: 15%;
    left: 50%;
    margin-left: -13px;
}


.timeline-year-wrapper.left::before {
    content: '';
    position: absolute;

    width: 125px;
    height: 26px;

    background-image: url(assets/images/linhadotempo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;

    top: 15%;
    right: 50%;
    margin-right: -13px;

    transform: scaleX(-1); /* inverte a imagem */
}


@media screen and (max-width: 1440px) {

  .timeline-year-wrapper.right .timeline-year-title {
    width: 34%;
  }

  .timeline-year-wrapper.left .timeline-year-title {
    width: 34%;
  }

}

@media screen and (max-width: 1024px) {

  .timeline-year-wrapper.right .timeline-year-title {
    width: 30%;
  }

  .timeline-year-wrapper.left .timeline-year-title {
    width: 30%;
  }

}