/*
  STYLE v 1.1;
  05/2023;
  João Diogo Pereira;
*/

:root{
  --white: #ffffff;
  --gray: #80818A;
  --yellow: #E7EB79;
  --black: #000000;
  --green: #84989D;
  --barlow: 'Barlow';
  --syne: 'Syne';
  --footerHeight: 44px;
  --headerHeight: 145px;
}

/*FONTS*/

@font-face {
  font-family: 'Barlow';
  src: url(../fonts/Barlow.ttf);
}

@font-face {
  font-family: 'Syne';
  src: url(../fonts/Syne.ttf);
}

/*GERAL*/

*{
  font-family: var(--barlow);
}

html {
  overflow-x: hidden; 
}

.main-container {
  margin: 0 auto;
  width: 90%; 
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0; 
}

a {
  text-decoration: none; 
  cursor: none;
}

h1{
  margin-bottom: 1rem;
}

.row {
  margin: 0;
  padding: 0; 
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh; 
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: none;
}

.home .principal{
  max-height: 100vh;
  position: relative;
  overflow: hidden;
}

#custom-cursor{
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, .25);
}

#custom-cursor.clicked {
  background: radial-gradient(circle, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.3) 100%);
}

main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1; 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.home main, 
.page-template-page-podcasts main, 
.page-template-page-blog main, 
.page-template-page-projetos main, 
.single main,
.page-template-default main{
  justify-content: flex-end;
}

.preloader{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, .75);
}

.preloader svg {
  height: 25%;
  width: auto;
}

.preloader svg path{
  fill: var(--white);
}

img{
  max-width: 100%;
  display: inline-block;
}

.z-3{
  position: relative;
  z-index: 3;
}

.bg-light{
  background-color: var(--white);
}

.btns{
  padding: .75rem 1rem;
  text-decoration: none;
  line-height: 1;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  cursor: none!important;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
}

.pointer-none{
  pointer-events: none;
}

.single-project__details__gallery .owl-nav{
  margin-top: 0!important;
}

.single-project__details__gallery .owl-nav .owl-prev, .single-project__details__gallery .owl-nav .owl-next{
  padding: .75rem 1rem!important;
  text-decoration: none!important;
  line-height: 1!important;
  font-weight: 600!important;
  font-size: 14px!important;
  line-height: 100%!important;
  letter-spacing: 0!important;
  cursor: none!important;
  text-transform: uppercase!important;
  transition: all .3s ease-in-out!important;
}

.btns--socials svg{
  height:15px;
  width: auto;
}

.btns--white{
  border: solid 1px var(--white);
  color: var(--white);
  background-color: transparent;
  transition: all .3s ease-in-out;
}

.btns--white:hover{
  background-color: var(--white);
  color: var(--gray);
  border: solid 1px var(--white);
}

.btns--white svg{
  vertical-align: text-bottom;
}

.btns--white svg path{
  fill: var(--white);
  transition: all .3s ease-in-out;
}

.btns--white:hover svg path{
  fill: var(--gray);
}

.btns--yellow{
  border: solid 1px var(--yellow);
  color: var(--black);
  background-color: var(--yellow);
  transition: all .3s ease-in-out;
}

.single-project__details__gallery .owl-nav .owl-prev, .single-project__details__gallery .owl-nav .owl-next{
  border: solid 1px var(--yellow)!important;
  color: var(--black)!important;
  background-color: var(--yellow)!important;
  transform: translateX(0) translateY(-50%);
  transition: all .3s ease-in-out!important;
}

.single-project__details__gallery .owl-nav .owl-prev:hover{
  transform: translateX(-5px) translateY(-50%);
}

.single-project__details__gallery .owl-nav .owl-next:hover{
  transform: translateX(5px) translateY(-50%);
}

.btns--yellow:not(.nohover):hover, .btns--yellow.active{
  background-color: transparent;
  color: var(--yellow);
  border: solid 1px var(--yellow);
}

.btns--yellow.nohover{
  color: var(--black);
}

.btns--yellow svg{
  vertical-align: text-bottom;
  transform: translateX(0);
  transition: all .3s ease-in-out;
}

.single-project__details__gallery .owl-nav .owl-prev svg.prev{
  transform: translateX(0) scaleX(-1)!important;
  transition: all .3s ease-in-out!important;
}

.single-project__details__gallery .owl-nav .owl-next svg{
  transform: translateX(0)!important;
  transition: all .3s ease-in-out!important;
}

.btns--yellow:hover svg, .btns--yellowactive svg{
  transform: translateX(5px);
}

.btns--yellow svg path, .btns--yellowactive svg path{
  fill: var(--black);
  transition: all .3s ease-in-out;
}

.single-project__details__gallery .owl-nav .owl-prev svg path, .single-project__details__gallery .owl-nav .owl-next svg path{
  fill: var(--black)!important;
  transition: all .3s ease-in-out!important;
}

.btns--yellow:not(.nohover):hover svg path{
  fill: var(--yellow);
}

.content{
  font-family: 'Syne';
  font-weight: 300;
  line-height: 100%;
  font-size: 14px;
  letter-spacing: 0;
  text-align: center;
  color: var(--white);
}

.content strong{
  color: var(--yellow);
  font-weight: 600;
}

.content a{
  line-height: 120%;
  letter-spacing: 0;
  text-align: center;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all .3s ease-in-out;
}

.content a:hover{
  color: var(--white);
  text-decoration-color: var(--white);
}

.content *:last-child{
  margin-bottom: 0;
}

.content--big{
  font-size: 23px;
}

.content--small{
  font-size: 16px;
}

.content--footer{
  color: var(--black);
  font-size: 10px;
  text-transform: uppercase;
}

.content--footer a{
  color: var(--black);
  cursor: none!important;
}

.content--footer a:hover{
  color: var(--black);
  text-decoration-color: var(--black);
}

.gelo{
  position: absolute;
  z-index: 2;
  transform: translateY(-50%) rotateX(0) rotateY(0);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.gelo--left{
  top: 45%;
  left: 0;
  max-width: 20%;
}

.gelo--right{
  right: 0;
  top: 55%;
  max-width: 10%;
}

/*NEW*/
.projeto{
  width: 100%;
  height: 100%;
  position: relative;
  padding: 3rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border: solid 1px var(--gray);
}

.projeto__overlay{
  background-color: rgba(112, 112, 112, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 1;
  transition: all .3s ease-in-out;
}

.home .projeto__overlay:not(.projeto__overlay--video){
  z-index: 0;
}

.projeto__overlay--video{
  z-index: 2;
}

.projeto:hover .projeto__overlay{
  opacity: 0;
}

.project__tag{
  /* position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  transform: translateY(-50%); */
  padding: .5rem .75rem;
  line-height: 1;
  font-weight: 600;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0;
  cursor: none !important;
  text-transform: uppercase;
  border: solid 1px var(--white);
  color: var(--white);
  background-color: transparent;
  transition: all .3s ease-in-out;
}

.projeto__autor{
  font-family: var(--syne);
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--yellow);
  text-transform: uppercase;
}

.projeto__title{
  font-family: var(--syne);
  line-height: 1;
  text-transform: uppercase;
  font-size: 40px;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.projeto__title--min{
  min-height: 80px;
}

.projeto__tag--min{
  min-height: 28px;
}

.projeto__title--yellow{
  -webkit-text-stroke: 1px var(--yellow);
}

.projeto__btn{
  -webkit-user-drag: auto;
  user-select: auto;
}

.js-drag-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0;                           
  scrollbar-width: none; 
  cursor: none!important;
  opacity: 1;
  transform: translateY(0) scaleY(1);
  transform-origin: bottom center;
  transition: all .3s ease-in-out;
}

.js-drag-slider.hidden{
  opacity: 0;
  transform: translateY(100%) scaleY(0);
}

.js-drag-slider.is-dragging {
  cursor: grabbing;
}

.js-drag-slider::-webkit-scrollbar { 
  display: none; 
}

.js-drag-slider *:not(.btns) {
  user-select: none;      
  -webkit-user-drag: none; 
}

.home__msg{
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
}

.home__msg--small{
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--white);
  font-style: italic;
  text-transform: uppercase;
  text-align: center;
}

.project-line{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(10%, -55%); /*Não é necessário, calculado com js*/
  z-index: 1;
  width: 100vw;
  height: auto;
  transition: all .3s ease-in-out;
}

.zi-1{
  position: relative;
  z-index: 1;
}

.zi-3{
  position: relative;
  z-index: 3;
}

.project-line .hidden{
  opacity: 0;
  transform: rotate(180deg) scale(0);
  transform-origin: 50% 50%;
  transform-box: fill-box;
  display: inline-block;
  transition: all .3s ease-in-out;
}

.project-line .expand{
  transform-origin: 50% 50%;
  transform-box: fill-box;
  display: inline-block;
  transform: scale(1);
  transition: all .3s ease-in-out;
}

/* .project-line .hidden-parent:hover > .hidden, .project-line .hidden-parent.active > .hidden{
  opacity: 1;
  transform: rotate(0deg) scale(1);
} */

.project-line .hidden-parent:hover > .expand, .project-line .hidden-parent.active > .expand{
  transform: scale(1.5);
}

.projeto__info{
  position: absolute;
  top: 40%;
  opacity: 0;
  z-index: 2;
  transform: translateY(100%) translateX(-50%) scaleY(0);
  transform-origin: bottom center;
  overflow: hidden;
  transition: all .3s ease-in-out;
}

.projeto__info__video{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
}

.projeto__info__video video{
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.projeto__info.centered{
  left: 50%;
}

.projeto__info.centered.shown{
  opacity: 1;
  transform: translateY(-50%) translateX(-50%) scaleY(1);
}

.projeto__info.bottom-left, .projeto__info.top-left{
  left: 1rem;
}

.projeto__info.bottom-right, .projeto__info.top-right{
  right: 1rem;
}

.projeto__info.bottom-left.shown{
  opacity: 1;
  transform: translateY(-50%) translateX(0) scaleY(1);
}

.projeto__info.bottom-right.shown{
  opacity: 1;
  transform: translateY(-50%) translateX(0) scaleY(1);
}

.projeto__info.top-left.shown{
  opacity: 1;
  transform: translateY(-75%) translateX(0) scaleY(1);
}

.projeto__info.top-right.shown{
  opacity: 1;
  transform: translateY(-75%) translateX(0) scaleY(1);
}

.projeto__title--big{
  font-size: 40px;
}

.subtitle{
  font-family: 'Syne';
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: normal;
  color: var(--yellow);
  text-transform: uppercase;
}

.abs-bot{
  position: absolute;
  bottom: var(--footerHeight);
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.clickable{
  border: 0;
  background-color: transparent;
  cursor: none!important;
}

.inputs{
  border: solid 1px var(--white);
  color: var(--white);
  background-color: transparent;
  padding: .75rem 1rem;
  text-decoration: none;
  line-height: 1;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  cursor: none!important;
  text-transform: uppercase;
}

.singleform{
  position: relative;
  z-index: 2;
}

.inputs--form{
  background-color: var(--white);
  width: 100%;
  color: var(--black);
  text-transform: none;
}

.labels{
  font-family: 'Barlow';
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
}

#date-select::-webkit-calendar-picker-indicator, #date-select2::-webkit-calendar-picker-indicator{
  filter: invert(100%);
  cursor:none!important;
}

.calendar{
  position:fixed;
  bottom: var(--footerHeight);
  left: 50%;
  transform: scaleY(0) translateX(-50%);
  width: 90%;
  opacity: 0;
  transform-origin: bottom center;
  z-index: 2;
  transition: all .5s ease-in-out;
}

.calendar.open{
  opacity: 1;
  transform: scaleY(1) translateX(-50%);
}

.calendar__inner{
  width: 100%;
  background-color: rgba(0, 0, 0, .5);
  color: var(--white);
  padding: 1.5rem;
  border-top-left-radius: 21px;
  border-top-right-radius: 21px;
}

#calendar__body{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 80px;
  gap: 5px;
  max-height: 500vh;
  opacity: 1;
  transition: all .7s ease-in-out;
}

#calendar__body.hidden{
  max-height: 0;
  opacity: 0;
}

#calendar__head{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 40px;
  gap: 5px;
}

.dia{
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow';
  font-weight: 400;
  font-size: 35px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--green);
}

.dia--small{
  font-family: 'Syne';
  font-weight: 700;
  font-size: 18px;
}

.calendar__title{
  font-family: 'Syne';
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: normal;
  color: var(--white);
  text-transform: uppercase;
}

.dia.wEvent {
  position: relative;
  cursor: none;
  transition: all .3s ease-in-out;
}

.dia.wEvent::after{
  content: '';
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background-color: var(--white);
  position: absolute;
  bottom: .5rem;
  left: 50%;
  transform: translateX(-50%);
  transition: all .3s ease-in-out;
}

.dia.wEvent:hover{
  color: var(--white);
}

.popup-evento {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 1rem;
  background: var(--white);
  color: var(--green);
  border-radius: 8px;
  z-index: 3;
  width: 200%;
  min-height: 80px;
  box-shadow: 0px 7px 6px 0px #00000040;
}

.popup-evento::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 20px solid transparent;
}

.popup-evento.popup-left{
  right: 100%;
}

.popup-left::after {
  right: -35px;
  border-left-color: var(--white);
}

.popup-evento.popup-right{
  left:100%;
}

.popup-right::after {
  left: -35px;
  border-right-color: var(--white);
}

.popup-titulo {
  font-family: 'Syne';
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.popup-descricao {
  font-family: 'Syne';
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0,0,0,0.2);
  border-top-color: #000;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%) scale(0);
  z-index: 10;
  transition: all .3s ease-in-out;
}

.spinner.show{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.news{
  min-height: 75vh;
  min-height: 75svh;
  display: grid;
  grid-template-areas: "stack";
}

.news__title{
  font-family: 'Syne';
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content--bg{
  background-color: rgba(0, 0, 0, .5);
}

.news__img,
.news .content--bg {
  grid-area: stack;
  height: 100%;
}

.news__img {
  z-index: 2;
  width: 40%;
  position: relative;
}

.news__img img {
  height: auto;
  object-fit: cover;
  display: block;
  width: 100%;
}

.news .content--bg {
  z-index: 1;
  position: relative;
  width: 90%;
}

.w-65{
  width:65%;
}

.range span{
  font-family: 'Barlow';
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--white);
}

.range input{
  -webkit-appearance: none; /* remove o estilo padrão */
  width: 25%;
  height: 10px;
  background: rgba(255, 255, 255, .25);
  border-radius: 5px;
  outline: none;
  cursor: none;
}

.range input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  background: rgba(255, 255, 255, .25);
  border-radius: 5px;
  cursor: none;
}

.range input[type="range"]::-moz-range-track {
  height: 10px;
  background: rgba(255, 255, 255, .25);
  border-radius: 5px;
  cursor: none;
}

.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 10px;
  border-radius: 5px;
  background: var(--yellow);
  border: 0;
  cursor: none;
  margin-top: 0px; /* centraliza o thumb verticalmente */
}

/* Thumb - Firefox */
.range input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 10px;
  border-radius: 5px;
  background: var(--yellow);
  border: 0;
  cursor: none;
}

.podcasts{
  width: 100%;
  height: 100%;
  position: relative;
}

.podcasts .podcasts__bg{
  height: 75vh;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.owl-carousel.owl-grab{
  cursor:none!important;
}

.podcasts .podcasts__bg ellipse.glow{
  opacity: 1;
  pointer-events: all;
  animation: glow 1.5s infinite;
}

.podcasts .podcasts__bg path{
  pointer-events: none;
}

@keyframes glow{
  0%{
    opacity: 1;
  }
  50%{
    opacity: .5;
  }
  100%{
    opacity: 1;
  }
}

.popup{
  position: absolute;
  transform: scale(0);
  transition: all .5s ease-in-out;
}

.popup[data-order="1"]{
  right: 25%;
  bottom: 25%;
}

.popup[data-order="2"]{
  left: 25%;
  bottom: 1rem;
}

.popup[data-order="3"]{
  top: 25%;
  left: 25%;
}

.popup[data-order="4"]{
  top: 0;
  right: 25%;
}

.popup.open{
  transform: scale(1);
}

.popup[data-order="1"].open{
  right: 1rem;
  bottom: 1rem;
}

.popup[data-order="2"].open{
  left: 1rem;
  bottom: 1rem;
}

.popup[data-order="3"].open{
  top: 1rem;
  left: 1rem;
}

.popup[data-order="4"].open{
  top: 1rem;
  right: 1rem;
}

.podcasts .popup__inner{
  background-color: var(--yellow);
  padding: 1rem;
  width: 200px;
  height: fit-content;
}

.popup__inner__img{
  width: 100%;
  aspect-ratio: 1;
}

.popup__inner__img img{
  width: 100%;
  height:100%;
  object-fit: cover;
}

.btns--podcast{
  transform: translate(2rem, 2rem);
  box-shadow: 0px -1px 4px 0px #00000040;
}

.content--popup{
  text-align: left;
  max-width: 200px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, minmax(15vh, auto));
  gap: 16px;
}

.blog__item{
  border-radius: 16px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
    
.blog__item--3 {
  grid-row: span 2 / span 2;
}

.blog__item--4 {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
}

.blog__item--5 {
  grid-row: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 3;
}

.blog__item__overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: all .5s ease-in-out;
}

.blog__item:hover .blog__item__overlay{
  opacity: 1;
  transform: scaleY(1);
}

.back-link, .post-navigation a{
  font-family: 'Syne';
  font-weight: 300;
  line-height: 120%;
  letter-spacing: 0;
  text-align: center;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
}

.back-link:hover, .post-navigation a:hover{
  color: var(--white);
}

.back-link svg, .post-navigation a svg.prev{
  transform: translateX(0) scaleX(-1);
  transition: all .3s ease-in-out;
}

.post-navigation a svg:not(.prev){
  transform: translateX(0);
  transition: all .3s ease-in-out;
}

.back-link svg path, .post-navigation a svg path{
  fill: var(--white);
}

.back-link:hover svg, .post-navigation a:hover svg.prev{
  transform: translateX(-5px) scaleX(-1);
}

.post-navigation a:hover svg:not(.prev){
  transform: translateX(5px);
}

.single-project__details{
  max-height: 75vh;
  max-height: 75svh;
  overflow: auto;
  /* scrollbar-width: thin; */
  scrollbar-color: rgba(0, 0, 0, 0.5) transparent;
}

.single-project__details__img{
  width: 100%;
}

.single-project__details::-webkit-scrollbar {
  width: 8px;              
  height: 8px;             
}

.single-project__details::-webkit-scrollbar-track {
  background: transparent;  
}

.single-project__details::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 4px;             
}

.single-project__details::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.7); 
}

.single-project__details::-webkit-scrollbar-button {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.single-project__details .socials a{
  min-width: 155px;
}

.single-project__details__gallery__img, .single-project__details__gallery__video{
  width: 100%;
  aspect-ratio: 16/9;
}

.single-project__details__gallery__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-project__details__gallery__video video{
  width: 100%;
  height: 100%;
}

.single-project__details__gallery .owl-nav button{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

.single-project__details__gallery .owl-nav .owl-prev{
  left: 0;
}

.single-project__details__gallery .owl-nav .owl-next{
  right: 0;
}

body.page-template-page-projetos main,
body.tax-rota main{
  padding-top: calc(var(--headerHeight) + 1.5rem);
}

@media only screen and (orientation: portrait) and (min-width: 992px){
  .single-project__details{
    max-height: 85vh;
    max-height: 85svh;
  }
}

@media only screen and (orientation: landscape) and (min-width: 992px) and (max-width: 1200px){
  .single-project__details{
    max-height: 70vh;
    max-height: 70svh;
  }
}

@media only screen and (max-width: 1200px){
  .projeto__title--big {
    font-size: 55px;
  }

  .projeto__title{
    font-size: 35px;
  }

  .projeto{
    padding: 1.5rem 1rem;
  }

  .content:not(.content--footer){
    font-size: 14px;
  }

  #calendar__head{
    grid-auto-rows: 20px;
  }

  #calendar__body{
    grid-auto-rows: 60px;
  }

  .dia{
    font-size: 30px;
  }

  .dia--small {
    font-size: 16px;
  }

  .dia.wEvent::after{
    width: .25rem;
    height: .25rem;
  }
}

@media only screen and (max-width: 992px){
  :root{
    --footerHeight: 60px;
  }

  .btns{
    font-size: 12px;
  }

  .blog-grid{
    gap: 8px;
  }

  body.single-blog main, 
  body.page-template-page-noticias main{
    padding-top: 7rem;
  }

  .news{
    display: block;
    min-height: 0;
  }

  .news .content--bg{
    width: 100%;
    padding: 1rem;
  }

  .news .content--bg .w-65{
    width: 100%;
  }

  .news .news__img{
    width: 100%;
    margin-bottom: 1rem;
  }

  .news .news__img__inner{
    width: 100%;
    aspect-ratio: 16/9;
  }

  .news .news__img__inner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.page-template-page-noticias .calendar.open{
    transform: scaleY(1);
    position: relative;
    left: 0;
    top: 0;
  }
}

@media only screen and (max-width: 767px){
  .podcasts .podcasts__bg{
    height: 60vh;
  }

  .podcasts .popup__inner{
    width: 125px;
    padding: .5rem;
  }

  .btns--podcast{
    transform: translate(1rem, 1rem);
  }

  .range input{
    width: 75%;
  }

  .home__msg{
    font-size: 16px;
  }

  .home__msg--small{
    font-size:12px;
  }

  .btns{
    padding: .5rem 1rem;
  }

  body.page-template-page-about main{
    justify-content: flex-end;
  }

  .single-project__details{
    max-height: 65vh;
    max-height: 65svh;
  }

  .back-link, .post-navigation a{
    line-height: 1;
    font-size: 12px;
  }

  .calendar__title{
    font-size: 15px;
  }

  .single-project__details .socials a{
    min-width: 140px;
  }

  #calendar__body {
    grid-auto-rows: 40px;
  }

  .dia {
    font-size: 25px;
  }

  .dia--small {
    font-size: 14px;
  }

  .dia.wEvent::after{
    bottom: .1rem;
  }

  .popup-evento{
    padding: .5rem;
    width: 300%;
  }

  .popup-titulo{
    font-size: 14px;
    margin-bottom: .25rem;
  }
  
  .popup-descricao{
    font-size: 14px;
  }

  .calendar__inner{
    padding: .5rem;
  }

  .blog__item .calendar__title{
    font-size: 12px;
  }
}

@media only screen and (max-width: 767px) and (orientation: portrait){
  .blog-grid{
    grid-template-rows: repeat(5, minmax(10vh, auto));
  }

  .blog__item--2 {
    grid-column: span 2 / span 2;
  }

  .blog__item--3 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-row-start: 2;
  }

  .blog__item--4 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 4;
  }

  .blog__item--5 {
    grid-row: span 4 / span 4;
    grid-column-start: 3;
    grid-row-start: 2;
  }

  body.page-template-page-noticias main{
    padding-top: 0;
  }

  body.page-template-page-noticias .calendar.open, body.page-template-page-contactos .principal{
    padding-top: 9rem;
  }
}

@media only screen and (max-width: 767px) and (orientation: landscape){
  .calendar__title{
    margin-top: 1rem;
  }

  .podcasts .podcasts__bg{
    height: 75vh;
  }

  .home .principal{
    max-height: 500vh;
    padding-top: 6rem;
  }

  body.page-template-page-about main, 
  body.page-template-default main,
  body.page-template-page-projetos main,
  body.single-projeto main,
  body.page-template-page-blog main{
    padding-top: 6rem;
  }

  body.page-template-page-noticias main,
  body.page-template-page-projetos main{
    padding-top: 9rem;
  }

  body.page-template-page-agenda main{
    padding-top: 9rem;
    min-height: 130vh;
    position: relative;
  }

  .abs-bot{
    position: relative;
    transform: none;
    left: 0;
    bottom: 0;
  }

  .calendar{
    position: absolute;
    bottom: 0;
  }

  .popup-evento {
    padding: .5rem;
    width: 200%;
  }

  .blog-grid{
    grid-template-rows: repeat(4, minmax(25vh, auto));
  }
}