
@media screen and (max-width: 1024px) {
  :root {
    --height: auto;
    --height2: auto;
  }
  .mobi-none {
    display: none;
  }
  .mobi-only {
    display: block;
  }
  .container-cs {
    padding-left: 20px;
    padding-right: 20px;
  }
  nav {
    background-color: var(--branco);
  }
  .publicacoes-pg > .grid-2 {
    display: flex;
    flex-direction: column-reverse;
  }
  /* .h50 {
    height: 50px;
  } */
  h1 {
    font-size: 7vw;
    letter-spacing: 0.5px;
    -webkit-text-stroke-width: 1px;
  }
  h3 { font-size: 20px; }
  h4 { font-size: 16px; }
  p  { font-size: 14px; }

  .projetos-pg,
  .publicacoes-pg,
  .posts-pg {
    margin-top: 50px;
    position: static;
    height: auto;
    max-height: none;
  }
  .w-100-sm {
    width: 100%!important;
  }
  .w-50-sm {
    width: 50%!important;
  }
  .grid-2-mobi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }
  .grid-1-mobi {
    grid-template-columns: 1fr!important;
  }

  .mt0-sm {
    margin-top: 0px;
  }
  .bt0-sm {
    border-top: 0px;
  }


  .projetos-pg,
  .publicacoes-pg,
  .posts-pg {
    padding-bottom: 80px
  }
  .projetos-pg h1 {
    padding-top: 4px;
    border-top: none;
    margin-bottom: 8px;
  }

  .wrapper-imgs {
    border-top: 0px;
    border-bottom: 0px;
    display: flex;
    align-items: flex-start;
    width: auto!important;
    overflow-x: scroll;
  }
  .wrapper-imgs img {
    flex-shrink: 0;
  }

  .projetos-pg .span-4 {
    grid-column: span 1;
    border-top: none;
  }
  .projetos-pg .filters-button-group {
    border-bottom: 0!important;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }
  .projetos-pg .txt-2-col {
    column-count: 2;
    column-gap: 20px;
    padding-left: 0px!important;
    padding-right: 0px!important;
  }
  .projetos-pg .grid-6 {
    gap: 0px
  }
  .tags-projeto {
    padding: 12px 0px;
    border-top: 0px
  }
  .projetos-pg.filtrando .grid-6 div:nth-child(1){
    order: 2;
    grid-template-columns: 1fr;
  }
  .projetos-pg.filtrando .grid-6 div:nth-child(2){
    order: 3;
    grid-template-columns: 1fr;
  }
  .projetos-pg.filtrando .grid-6 div:nth-child(3){
    order: 1;
  }
  .projetos-pg.filtrando .grid-6 div:nth-child(2) .mobi-only {
    display: none;
  }

  .publicacoes-pg .mobi-only p:nth-child(n + 3) {
    display: none;
  }
  #publi-default-mobi {
    display: flex!important;
  }
  #publi-default-mobi.mobi-only.none {
    display: none!important;
  }
  .grid-3.list-3 {
    width: auto;
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 33vw;
    overflow-x: scroll;
    padding-bottom: 10px;
  }
  .grid-3.list-3 .link-publi {
    flex-shrink: 0;
    width: 33vw;
  }

  .posts-pg.vh-100 {
    height: auto!important;
  }
  .posts-pg .grid-6 {
    grid-template-columns: 1fr;
    gap: 0px
  }
  .featured-post-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
  .posts-pg .span-2,
  .posts-pg .span-4 {
    grid-column: span 1;
    width: 100%;
  }
  .posts-pg .hit-bottom {
    height: auto;
    max-height: none;
    width: 100%;
    overflow: scroll;
  }

  .single-post div.w-third.pr5 {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-right: 0px;
  }
  .single-post div.w-third img.mt4 {
    margin-top: 0px;
  }
  .single-post .h-100.of-scroll {
    height: 50dvh;
    max-height: 50dvh;
    overflow-y: scroll;
  }
  .single-post div.w-two-thirds.pr6 {
    padding-right: 0px;
  }
  .single-post .sticky {
    position: static;
    padding-top: 10px;
  }
  .single-post .span-4 {
    border-top: none;
  }

  .grid-2-masonry {
    column-count: 1;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 39vw;
    overflow-x: scroll;
    padding-top: 60px;
  }
  .row-span {
    position: absolute;
    top: 0px;
    width: auto;
    padding-top: 10px;
    border-top: none;
  }
  .filtro-wrap {
    display: none;
  }
  .grid-2-masonry::before {
    display: none;
  }
  .filters-post-group {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: visible;
  }

  menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 20px 16px;
    background-color: var(--vermelho);
    z-index: 999999;
    height: auto;
    transform: translateY(-120%);
    transition: transform 0.5s ease;
    margin: 0px;
  }
  menu.abre {
    transform: translateY(0);
    transition: transform 0.5s ease;
  }
  menu h5 {
    font-size: 10px;
    color: var(--branco);
    line-height: 3;
    width: fit-content;
  }
  menu .toggle {
    border: 1pt solid var(--branco);
  }
  menu a {
    width: fit-content;
  }

  header h5.mobi-only::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.32842 7.35355C3.52368 7.54882 3.84027 7.54882 4.03553 7.35355L7.21751 4.17157C7.41277 3.97631 7.41277 3.65973 7.21751 3.46447C7.02225 3.2692 6.70567 3.2692 6.5104 3.46447L3.68198 6.29289L0.853549 3.46447C0.658287 3.2692 0.341704 3.2692 0.146442 3.46447C-0.0488199 3.65973 -0.04882 3.97631 0.146442 4.17157L3.32842 7.35355ZM3.68198 0L3.18198 -2.18556e-08L3.18198 7L3.68198 7L4.18198 7L4.18198 2.18556e-08L3.68198 0Z' fill='%23FE3A0F'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
  background-size: contain;
  }

  menu ul, menu li {
    list-style: none;
    color: var(--branco);
  }
  menu li a {
    color: var(--branco)!important
  }
  menu .toggle {
    background-color: #F4F0E7
  }

  header, nav {
    height: 40px;
    margin-bottom: 0px;
  }
  header {
    border-bottom: 1pt solid var(--vermelho);
  }
  nav {
    border-top: 1pt solid var(--vermelho);
  }
  .tag-projeto {
    margin-right: 6px;
    margin-bottom: 6px;
  }
  .list-projetos {
    border-bottom: 1pt solid var(--preto);
  }
  .projetos-pg.filtrando .list-projetos {
    border-bottom: none
  }
  .posts-pg a.span-4 {
    border-top: none;
    padding-top: 12px;
  }
  .featured-post-item div.right-2 {
    right: 12px;
    padding-left: 12px;
    top: 50%;
    transform: translateY(-50%);
  }
  .featured-post-item div.right-2.nota {
    top: auto;
    bottom: 16px;
    width: calc(100% - 24px);
  }
  .publi-conteudos {
    border-bottom: none;
    border-top: none;
  }
  .publicacoes-pg .barra-blur {
    display: none;
  }
  .publi-destaques {
    border: none;
  }
  #publi-default-mobi {
    padding-bottom: 40px;
  }
  .publicacoes-pg .grid-2-mobi h5:nth-child(1){
    border-top: 1pt solid var(--preto);
    margin-top: 20px;
  }



}
