/*
Theme Name: Reportagens Especiais
Author: Pedro Estarque
Author URI: https://pedro.estarque.com.br
Description: Tema para o Joio e o Trigo
Version: 22
*/

html, body {height: 100%;width: 100%;scroll-behavior: smooth;}
* {border: 0px;margin: 0px;padding: 0px;vertical-align: baseline;/* outline:none; */outline-color: gray;box-sizing: border-box;-webkit-text-size-adjust:100%;} 

:root {
    --joio-verde: #748245;
    --joio-preto: #0b1215;
}

body {
    font-family: "TikTok Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "slnt" 0,
      "wdth" 100;
    font-size: 16px;
    color: white;
    background-color: var(--joio-preto);
    padding-top: var(--wp-admin--admin-bar--height);
}

h1, h2, h3, h4, b, strong {
  font-family: "bc-ludva", sans-serif;
  font-weight: 700;
  font-style: normal;
}

a {
  color: black;
  text-decoration: underline;
}

ul {
  list-style-type: none;
}

#logo {
  position: absolute;
  left: 80px;
  top: 65px;
  background-image: url(images/logo-hor-branco.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 145px;
  height: 22px;
  z-index: 2;
  margin-top: var(--wp-admin--admin-bar--height);
}

.menu-container {
    padding: 60px 80px;
    z-index: 1;
    position: relative;
    background-image: linear-gradient(180deg, rgb(0 0 0 / 70%), transparent);
    z-index: 2;
}

.menu {
  display: flex;
  gap: 55px;
  justify-content: flex-end;
  font-family: "bc-ludva", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 27px;
}

.menu a {
    color: white;
    text-decoration: none;
    text-shadow: 0px 2px 4px black;
}

.menu a[hreflang] {
  color: #88994f;
}

.menu a:hover {
    text-decoration: underline;
}

.page-template-home #home {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background-color: #21272a;
}

.page-template-home #home img,
.page-template-home #home video {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-template-home #home h1 {
  font-size: 127px;
  text-transform: uppercase;
  z-index: 1;
}

.page-template-home #home h3 {
  font-weight: 100;
  font-size: 46px;
  z-index: 1;
}

.page-template-home #home + section {
  margin-top: calc(100vh - 70px);
  position: relative;
}

.page-template-home #exclusivo {
  padding-bottom: 300px;
}

.page-template-home #exclusivo:after {
  content: "";
  position: absolute;
  bottom: -45px;
  right: calc(50% - 300px);
  height: 200px;
  width: 140px;
  background: url(images/vape2.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.page-template-home #exclusivo:before {
  content: "";
  position: absolute;
  left: calc(50% - 300px);
  bottom: 0;
  height: 230px;
  width: 170px;
  background: url(images/vape1.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.page-template-home #exclusivo > h2 {
  text-align: center;
  font-size: 74px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.page-template-home #exclusivo > div {
  max-width: 900px;
  margin: auto;
  column-count: 2;
  column-gap: 40px;
  font-size: 20px;
  font-weight: 300;
  /* hyphens: auto; */
  line-height: 1.3;
  font-variation-settings: "opsz" 36, "wdth" 100, "wght" 300;
}

.page-template-home #exclusivo > div p {
  margin-bottom: 30px;
  break-inside: avoid;
  page-break-inside: avoid;
}

.page-template-home #infograficos {
  padding-bottom: 100px;
}

.page-template-home #infograficos > h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 74px;
  line-height: 45px;
}

.page-template-home #infograficos img {
  display: block;
  width: 100%;
}

.page-template-home #infograficos .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 50px 80px;
}

.page-template-home #infograficos .grid .block {
  /* border: 0.5px dashed white; */
  padding: 30px;
}

.page-template-home #infograficos .grid > div:nth-child(1) {
    border-right: 0.5px dashed white;
}
.page-template-home #infograficos .grid div:nth-child(2) {border-right: none;border-top: none;}
.page-template-home #infograficos .grid > div:nth-child(3) {border-right: 0.5px dashed white;border-bottom: none;}
.page-template-home #infograficos .grid div:nth-child(4) {border-bottom: none;border-right: none;}

.page-template-home #infograficos .block > h3 {
  background: var(--joio-verde);
  color: black;
  padding: 5px 15px;
  font-size: 40px;
  text-align: center;
  width: fit-content;
  margin: 0 auto 35px auto;
}

.page-template-home #infograficos .block > h3:empty {
  display: none;
}

.page-template-home #infograficos .grid .block > div {
  display: flex;
  justify-content: space-evenly;
  margin: auto;
  gap: 40px;
}

.page-template-home #infograficos .data {
  font-size: 44px;
  font-weight: 400;
  margin-bottom: 5px;
}

.page-template-home #infograficos .valor {
  font-size: 84px;
  color: var(--joio-verde);
  line-height: 65px;
}

.page-template-home #infograficos .descricao {
  font-size: 20px;
}

.page-template-home #infograficos .grid .block > div > div {
  text-align: center;
}

.page-template-home #infograficos .grid .block .texto {
  text-align: center;
  margin-top: 20px;
  display: block;
}

.page-template-home #infograficos .grid .block .texto p {
  margin-bottom: 10px;
  font-size: 18px;
}

.page-template-home #infograficos .grid .block .texto h5 {
  font-size: 20px;
  margin-bottom: 5px;
}

.page-template-home #infograficos .grid .block .texto small {
  font-size: 12px;
  font-weight: 100;
}

.page-template-home #reportagens {
  position: relative;
}

.page-template-home #reportagens > a {
  min-height: 580px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-template-home #reportagens > a:before {
  content: "";
  background: linear-gradient(90deg, transparent 25%, rgb(255 255 255 / 90%) 45%);
    background-position: 300px 0;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.3s all;
}

.page-template-home #reportagens > a:hover:before {
  background-position: 0 0;
}

.page-template-home #reportagens .info {
  position: absolute;
  max-width: 470px;
  right: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  color: black;
  font-size: 18px;
}

.page-template-home #reportagens .info:after {
  content: "Leia a reportagem";
  font-family: "bc-ludva", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-decoration: underline;
  /* position: absolute; */
  right: 0;
  font-size: 25px;
  text-transform: uppercase;
  margin-top: 20px;
}

[lang="en_US"] .page-template-home #reportagens .info:after {
  content: "Read the report";
}

.page-template-home #reportagens h2 {
  font-size: 45px;
  margin-bottom: 10px;
}

.page-template-home #reportagens b {
  font-size: 28px;
  text-transform: uppercase;
  margin-top: 40px;
}

.page-template-home #reportagens span {
  white-space: pre-line;
  position: relative;
  font-size: 16px;
}

.page-template-home #fact-sheet {
  background: white;
  color: black;
  position: relative;
  margin-top: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 80px;
  padding-top: 50px;
}

.page-template-home #fact-sheet h2,
.page-template-home #reportagens > h2 {
  color: white;
  position: absolute;
  top: -58px;
  font-size: 75px;
  text-align: center;
  width: 100%;
  left: 0;
  text-transform: uppercase;
}

.page-template-home #fact-sheet img {
  /* position: absolute; */
  /* right: 0; */
  width: 50%;
}

.page-template-home #fact-sheet > div {
  max-width: 440px;
  font-size: 18px;
}

.page-template-home #fact-sheet h3 {
  font-size: 45px;
  margin-bottom: 15px;
}

.page-template-home #fact-sheet a {
  text-transform: uppercase;
  font-size: 25px;
  font-family: "bc-ludva", sans-serif;
  font-weight: 700;
  margin-top: 15px;
  display: block;
}

.page-template-home #infograficos {
  scroll-margin-top: 50px;
}

.page-template-home #reportagens {
  scroll-margin-top: 70px;
}

footer {
    background: var(--joio-verde);
    display: flex;
    align-items: flex-end;
    padding: 36px 80px;
    font-weight: 100;
    font-size: 15px;
    justify-content: space-between;
}

footer > div:nth-of-type(1) > div {display: flex;align-items: flex-end;gap: 20px;}

footer a[href="https://ojoioeotrigo.com.br/"] {
  display: block;
  width: 142px;
  height: 73px;
  background-image: url(images/logo-2linhas.png);
  background-size: contain;
  background-repeat: no-repeat;
}

footer a[href="https://ojoioeotrigo.com.br/contribua"] {
  height: fit-content;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 900;
  font-size: 15px;
  padding: 5px 20px;
}

footer .social {
  display: flex;
  margin-top: 20px;
}

footer .social a {
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.3s all;
}

footer .social a:hover {
  transform: scale(1.15);
}

footer > div:nth-of-type(1) {
  margin-right: 30px;
}

footer > div:nth-of-type(2) {
  display: flex;
  gap: 40px;
  align-items: flex-end;
}

footer > div:nth-of-type(2) p+p {
  margin-top: 20px;
}

footer > div:nth-of-type(2) div:last-of-type {
  max-width: 310px;
  font-size: 12px;
}

footer h3, footer strong {
    font-family: 'TikTok Sans';
    font-size: 15px;
}

footer strong {
  font-weight: 500;
}

footer div:nth-of-type(2) div:first-of-type p:first-of-type strong:first-of-type {
  font-weight: 700;
}

/* reportagem */

body.single-reportagem {
  background-color: #f7f5f3;
}

.single-reportagem .destaque-mobile {
  display: none;
}

.single-reportagem .attachment-post-thumbnail {
  /* position: absolute; */
  /* top: 0; */
  width: 100%;
  height: auto;
  margin-top: -150px;
}

.single-reportagem .content {
  padding: 60px;
  color: black;
  line-height: 1.2;
  margin: auto;
}

.single-reportagem h1 {
  text-align: center;
  text-transform: uppercase;
  font-size: 60px;
  max-width: 830px;
  margin: auto;
  line-height: 1;
}

.single-reportagem .resumo {
  font-size: 22px;
  max-width: 940px;
  margin: 20px auto;
  text-align: center;
}

.single-reportagem .autor {
  font-size: 24px;
  font-family: "bc-ludva", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.single-reportagem .origem {
  text-align: center;
  font-size: 18px;
  white-space: pre;
}

.single-reportagem .por_que_importa {
  max-width: 660px;
  margin: 60px auto;
}

.single-reportagem .por_que_importa > p:first-of-type {
  font-size: 30px;
  border-bottom: 4px solid black;
}

.single-reportagem .por_que_importa ul {
  list-style-type: disc;
  padding-left: 16px;
  padding-top: 10px;
  font-size: 18px;
}

.single-reportagem .por_que_importa li {
  margin-bottom: 0.5em;
}

.single-reportagem .texto {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  line-height: 28px;
}

.single-reportagem .texto b,
.single-reportagem .texto strong {
  font-family: 'TikTok Sans', sans-serif;
}

.single-reportagem .content img,
.single-reportagem .wp-caption {
  display: block;
  max-width: 100%;
  height: auto;
}

.single-reportagem .texto > div > * {
  margin: 30px auto;
}

.single-reportagem .texto blockquote {
  max-width: 80%;
}

.single-reportagem .texto blockquote b,
.single-reportagem .texto blockquote strong {
  font-weight: 900;
}

.single-reportagem .texto.capitular > div > p:first-of-type {
  position: relative;
}

.single-reportagem .texto.capitular > div > p:first-of-type:first-letter {
  font-size: 200px;
  font-family: "bc-ludva", sans-serif;
  font-weight: 700;
  float: left;
  margin-right: 10px;
  line-height: 0.7;
}

.single-reportagem .texto.capitular > div > p:first-of-type:before {
  content: "";
  position: absolute;
  left: -55px;
  top: 0;
  display: block;
  height: 120px;
  width: 154px;
  background-image: url(images/vapor-largo.png);
  mix-blend-mode: luminosity;
}

.single-reportagem .wp-caption-text,
.single-reportagem .carrossel p {
  font-size: 14px;
  line-height: 1.2;
  margin-top: 10px;
}

.single-reportagem .carrossel {
  max-width: 800px;
  margin: auto;
}

.single-reportagem .carrossel img {
  width: 800px;
  /* height: 540px; */
  /* object-fit: contain; */
  /* object-position: center; */
}

.single-reportagem .lightbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 1000px;
  margin: auto;
}

.single-reportagem .lightbox + .wp-caption-text {
  max-width: 800px;
  margin: 10px auto;
}

.single-reportagem .imagem-responsiva {
  margin: auto;
  display: block;
  max-width: 800px;
}

@media (width < 1000px) {

  .menu-container {
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    background: #21272a;
  }

  .admin-bar .menu-container {
    /* top: 46px; */
  }
  
  .menu-open .menu-container {
    background-color: var(--joio-verde);
  }

  #logo {
    left: 10px;
    top: 10px;
    position: fixed;
    margin-top: 0;
  }

  .menu {
    display: none;
  }

  .menu a {
    color: black;
    padding-left: 6px;
    text-shadow: none;
  }

  .menu a[hreflang] {
    color: white;
  }

  .menu-open .menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    font-size: 25px;
  }

  .menu-container:before {
    content: '';
    width: 20px;
    height: 15px;
    background-image: url(images/menu-closed.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 12px;
    right: 10px;
  }

  .menu-open .menu-container:before {
    background-image: url(images/menu-open.svg);
    height: 20px;
    top: 10px;
  }

  .page-template-home #home {

  }

  .page-template-home #home h1 {
    font-size: 80px;
    max-width: 190px;
    margin: 0 auto;
    line-height: 60px;
    text-align: center;
  }

  .page-template-home #home h3 {
    font-size: 30px;
  }

  .page-template-home #exclusivo:before {
  width: 100px;
  height: 150px;
  left: 10px;
  }

  .page-template-home #exclusivo:after {
    width: 80px;
    height: 130px;
    right: 10px;
    bottom: -30px;
  }

  .page-template-home #exclusivo > h2 {
    font-size: 48px;
    margin-bottom: 30px;
    margin-top: 35px;
  }

  .page-template-home #exclusivo > div {
    column-count: 1;
    font-size: 16px;
  }

  .page-template-home #home + section {
    padding: 10px;
    padding-bottom: 160px;
    margin-top: 100vh;
  }

  .page-template-home #infograficos > h2 {
    font-size: 48px;
    line-height: 30px;
  }

  .page-template-home #infograficos .block > h3 {
    font-size: 30px;
    padding: 5px;
    margin-bottom: 20px;
    max-width: 290px;
  }

  .page-template-home #infograficos .grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .page-template-home #infograficos .grid .block.block {
    border: none;
    /* border-bottom: 1px dashed; */
  }
  
  .page-template-home #infograficos .grid > div:nth-child(1) {
    order: 1;
  }
  
  .page-template-home #infograficos .grid > div:nth-child(2) {
    order: 3;
  }

  .page-template-home #infograficos .grid > div:nth-child(3) {
    order: 2;
    border-bottom: 1px dashed!important;
  }

  .page-template-home #infograficos .grid > div:nth-child(4) {
    order: 4;
  }

  .page-template-home #infograficos .grid div:nth-child(4) {
    border: none!important;
  }

  .page-template-home #infograficos .grid .block {
    padding: 30px 0;
  }

  .page-template-home #infograficos .data {
    font-size: 26px;
    margin-bottom: 0;
  }
  
  .page-template-home #infograficos .valor {
    font-size: 55px;
    line-height: 45px;
  }

  .page-template-home #infograficos .descricao {
    font-size: 14px;
  }

  .page-template-home #infograficos .grid .block .texto h5 {
    font-size: 16px;
  }

  .page-template-home #infograficos .grid .block .texto p {
    font-size: 14px;
  }

  .page-template-home #infograficos .grid .block .texto small {
    font-size: 10px;
  }

  .page-template-home #infograficos .grid .block > div {
    gap: 10px;
  }
  
  .page-template-home #fact-sheet {
    padding: 25px 10px;
    flex-direction: column;
  }

  .page-template-home #fact-sheet h2 {
    left: 0;
  }

  .page-template-home #fact-sheet img {
    width: 100%;
    margin-top: 25px;
  }

  .page-template-home #reportagens > a {
    display: flex;
    flex-direction: column-reverse;
    text-decoration: none;
    min-height: 480px;
    padding: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    background-color: white;
    background-image: var(--mobile-bg)!important;
  }

  .page-template-home #reportagens > a:before {
    height: 100%;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 30%, rgb(255 255 255 / 90%) 50%);
  }

  .page-template-home #reportagens .info {
    height: 50%;
    min-height: 50%;
    max-width: 100%;
    right: auto;
    bottom: 0;
    position: relative;
    padding-top: 230px;
    font-size: 15px;
  }

  .page-template-home #reportagens .info span:after {
    display: none;
  }
  
  .page-template-home #reportagens h2 {
    font-size: 30px;
  }

  .page-template-home #fact-sheet h2, .page-template-home #reportagens > h2 {
    font-size: 48px;
    top: -37px;
  }
  
  .page-template-home #reportagens b {
    font-size: 17px;
  }

  .page-template-home #reportagens span {
    font-size: 13px;
  }

  .page-template-home #reportagens .info:after {
    display: none;
  }

  .page-template-home #fact-sheet h3 {
    font-size: 30px;
  }

  .page-template-home #fact-sheet > div {
    font-size: 14px;
  }

  .page-template-home #fact-sheet a {
    font-size: 18px;
  }

  .page-template-home #infograficos {
    scroll-margin-top: 60px;
  }

  .page-template-home #reportagens {
    scroll-margin-top: 80px;
  }

  .page-template-home #fact-sheet {
    scroll-margin-top: 90px;
  }

  footer {
    flex-direction: column-reverse;
    padding: 30px 20px;
    gap: 30px;
    font-size: 12px;
  }

  footer > div:nth-of-type(1) {
    margin: auto;
    width: 100%;
    max-width: 400px;
  }

  footer > div:nth-of-type(2) {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px 30px;
    margin: auto;
    width: 100%;
    align-items: start;
    max-width: 400px;
  }

  footer > div:nth-of-type(2) > div:nth-of-type(1) {
    grid-area: 1 / 1 / 3 / 2;
  }

  footer > div:nth-of-type(2) > div:nth-of-type(2) {
    grid-area: 1 / 2 / 2 / 3;
    margin-top: 37px;
  }

  footer > div:nth-of-type(2) > div:nth-of-type(3) {
    grid-area: 3 / 1 / 3 / 2;
  }

  footer > div:nth-of-type(2) > div:nth-of-type(4) {
    grid-area: 4 / 1 / 4 / 3;
    max-width: none;
    margin-top: 30px;
  }

  footer > div:nth-of-type(1) > div {
    gap: 10px;
    display: flex;
    justify-content: space-between;
  }

  /* reportagem */

  .single-reportagem .attachment-post-thumbnail {
    display: none;
  }

  .single-reportagem .destaque-mobile {
    width: 100%;
    display: block;
    margin: auto;
  }
  
  .single-reportagem .content {
    padding: 10px 20px;
  }
  
  .single-reportagem h1 {
    text-align: left;
    font-size: 34px;
  }

  .single-reportagem .resumo {
    font-size: 16px;
    text-align: left;
    margin: 10px auto;
  }

  .single-reportagem .autor {
    text-align: left;
    font-size: 20px;
  }

  .single-reportagem .origem {
    text-align: left;
    font-size: 12px;
  }

  .single-reportagem .por_que_importa > p:first-of-type {
    font-size: 20px;
  }

  .single-reportagem .por_que_importa ul {
    font-size: 14px;
  }

  .single-reportagem .por_que_importa li {
    margin-bottom: 5px;
  }

  .single-reportagem .texto {
    font-size: 16px;
    line-height: 22px;
  }

  .single-reportagem .carrossel img {
  }

  .single-reportagem .por_que_importa {
    margin: 35px auto;
  }

  .single-reportagem .lightbox {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .single-reportagem .wp-caption-text,
  .single-reportagem .carrossel p {
    font-size: 11px;
  }
  
}

@media (width > 1200px) {
  .single-reportagem div:not(.aligncenter):has(> .size-full) {
    max-width: 120%;
    margin-left: -10%;
  }
}

