:root {
  /* Desktop */
  --margin-top-80: 80px;
  --margin-bottom-80: 80px;

  --margin-top-62: 62px;
  --margin-bottom-62: 62px;

  --margin-top-48: 48px;
  --margin-bottom-48: 48px;

  --margin-top-64: 64px;
  --margin-bottom-64: 64px;
}

@media (max-width: 1100px) {
  :root {
    /* Responsivo */
    --margin-top-80: 48px;
    --margin-bottom-80: 48px;

    --margin-top-62: 48px;
    --margin-bottom-62: 48px;

    --margin-top-48: 48px;
    --margin-bottom-48: 48px;

    --margin-top-64: 48px;
    --margin-bottom-64: 48px;
  }
}

/* Container vira carrossel */
#sbi_images {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 10px !important;
  padding: 10px 0 !important;
}

/* Itens do feed */
#sbi_images .sbi_item {
  flex: 0 0 auto !important;
  width: 280px !important;
  /* ajusta conforme layout */
  scroll-snap-align: start !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Oculta barra de rolagem */
#sbi_images::-webkit-scrollbar {
  display: none !important;
}

#sbi_images {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Setas */
.sbi-nav {
  position: absolute !important;
  top: 55% !important;
  transform: translateY(-50%) !important;
  background-color: #37b244 !important;
  border: none !important;
  z-index: 10 !important;
  border-radius: 40px !important;
  background-repeat: no-repeat !important;
  background-size: 11px !important;
  background-position: center center !important;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.0784313725) !important;
}

.sbi-prev {
  left: -20px !important;
}

.sbi-next {
  right: -34px !important;
}

.carousel-control.style2 .carousel-nav.carousel-next {
  background-color: #37b244;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M5.293 12.293L6.707 13.707L13.414 6.99997L6.707 0.292969L5.293 1.70697L9.586 5.99997H0V7.99997H9.586L5.293 12.293Z' fill='%23fff'/%3E%3C/svg%3E") !important;
}

.carousel-control.style2 .carousel-nav.carousel-prev {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M5.293 12.293L6.707 13.707L13.414 6.99997L6.707 0.292969L5.293 1.70697L9.586 5.99997H0V7.99997H9.586L5.293 12.293Z' fill='%23fff'/%3E%3C/svg%3E") !important;
  /* background-color: #DDD; */
  background-color: #37b244;
  transform: rotate(180deg);
}

.posts-wrapper .item .txt .meta {
  text-align: start !important;
}

.mais-especial {
  padding: 13px 24px !important;
  border-radius: 4px !important;
  border: 1px solid #1b6629 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 175px !important;
  margin-top: 25px !important;
}

.mais-especial a {
  color: #1b6629;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 19.6px;
  text-transform: uppercase;
}

.ultimasBordaColunas {
  border: 22px solid transparent !important;
  border-image: url("<?php echo esc_url($theme_uri); ?>/assets/img/borda-coluna.png")
    30 round !important;
  padding-top: 50px;
  margin-bottom: var(--margin-bottom-62);
}

.titulo-row,
.posts-wrapper h3:before {
  display: none !important;
}

.posts-wrapper .type10 {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

@media (min-width: 1024px) {
  .posts-wrapper .type10::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: url("<?php echo esc_url($theme_uri); ?>/assets/img/borda-atras.svg")
      no-repeat center / 100% 100%;
    transform: translateX(100px) translateY(1px);
    pointer-events: none;
    z-index: -1;
  }
}

.blog-liana {
  background: #166632
    url("<?php echo esc_url($theme_uri); ?>/assets/img/hashtag.png") no-repeat;
  background-size: auto;
  padding: 80px;
  color: #fff;
  background-position-x: 650px;
  background-position-y: 20px;

  margin-top: var(--margin-top-80);
  margin-bottom: var(--margin-bottom-80);
}

.blog-liana .container {
  max-width: 1056px;
  margin: 0 auto;
}

.blog-liana .grid {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.blog-liana .grid > *:first-child {
  max-width: 515px;
  max-height: 482px;
}

.blog-liana .grid > *:last-child {
  flex: 1.5 1 0;
  max-width: 515px;
}

.blog-liana .image {
  height: 482px;
  width: 515px;
}

.blog-liana .image img {
  width: 100%;
  border-radius: 8px;
}

.blog-liana .title {
  font-weight: 700;
  font-size: 20px;
  background: #fff;
  color: #166632;
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.blog-liana .subtitle {
  color: #fff;
  font-family: "Lora", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.blog-liana .text {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.8px;
  font-family: "Lora", serif;
}

.blog-liana .content {
  width: 515px !important;
}

.headerCop30 {
  margin-top: 40px;
  margin-bottom: 0 !important;
  /* margin-bottom: var(--margin-bottom-80); */
}

.ultimasDaCop {
  margin-top: var(--margin-top-80);
  margin-bottom: var(--margin-bottom-80);
}

.headerCop30 .container {
  max-width: 1270px !important; /* 1058px */
  margin: 0 auto;
}

.headerCop30 .container .boxTodos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.headerCop30 .container .boxMensagem {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.headerCop30 .container .boxTodos .boxMiddle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
}

.headerCop30 .boxRedes {
  display: flex;
  justify-content: end;
  margin-top: 40px;
  gap: 4px;
}

@media (max-width: 998px) {
  .headerCop30 .boxRedes {
    margin-bottom: 55px;
  }
}

.boxImageAndIg {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 32px;
}

.post-shorts {
  display: flex;
  flex-flow: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .post-shorts {
    flex-flow: row;
  }
}

.post-shorts iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: 100% !important;
}

/* .post-shorts .item {
      max-width: 304px !important;
    } */

.title-custom {
  font-size: 40px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: normal !important;
  text-transform: uppercase !important;
  width: max-content;
}

.mobileRight {
  display: none !important;
  margin-top: 24px;
}

.boxRightDesktop {
  display: block !important;
}

.destaques-ods .item .txt .title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.type7 .txt {
  min-height: 155px;
}

.destaques-ods .mobile {
  max-width: 380px !important;
  min-height: 245px !important;
}

.ultimas-de-colunas .item .meta .meta-coluna a {
  color: #7e7e7e !important;

  font-family: "Open Sans" !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20.8px !important;
}

@media (min-width: 768px) {
  .posts-wrapper .item.type9 .txt {
    padding-right: 50px !important;
  }

  .ultimas-de-colunas .item .meta .titulo a {
    color: #333 !important;

    font-family: "Open Sans" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
  }
}

/* Responsivo */
@media (max-width: 1100px) {
  .title-custom {
    width: max-content;
    font-size: 22px !important;
    font-family: "Lora", serif !important;
  }
}

@media (max-width: 1083px) {
  .blog-liana .grid {
    justify-content: center;
  }
}

@media (max-width: 998px) {
  .sbi-nav {
    display: none;
  }

  .blog-liana .bio-thumb {
    display: block;
    height: 500px;
    margin-bottom: 0px !important;
  }

  .blog-liana .grid > *:first-child {
    max-height: 500px;
  }

  .blog-liana .bio-overlay-content h3 {
    margin-bottom: 0px;
  }

  .blog-liana .bio-overlay-content p {
    font-size: 12px;
  }

  .descriptionShorts {
    font-size: 16px !important;
  }

  .headerCop30 .container .boxTodos .boxMiddle .mobileLogo {
    width: 130px;
  }

  .item.type7 {
    max-width: 380px !important;
    height: 245px !important;
  }

  .col-inner-mobile {
    display: flex;
    justify-content: center;
  }

  .headerCop30 .boxRedes {
    justify-content: center;
  }

  .boxRightDesktop {
    display: none !important;
  }

  .mobileRight {
    display: block !important;
  }

  .destaques-ods {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .blog-liana {
    padding: 16px 24px;
    background-position-x: 65px;
    background-position-y: 485px;
    background-size: 340px;
  }

  .blog-liana .grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-liana .grid > * {
    flex: 1 1 100%;
    min-width: auto;
    min-height: auto;
    max-width: 100% !important;
  }
}

@media (max-width: 998px) {
  .headerCop30 .container .boxTodos {
    justify-content: center;
  }
}
.blog-liana .bio-card {
  position: relative;
  width: 515px;
  height: 482px;
}

.blog-liana .bio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  cursor: pointer;
}

.blog-liana .bio-overlay-panel {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
}

.blog-liana .bio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
  margin-bottom: 0px !important;
}

.blog-liana .bio-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  padding: 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow: auto;
  justify-content: end;
}

.blog-liana .bio-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  background: transparent;
  border: 0;
  padding: 0;
}

.blog-liana .bio-close label {
  cursor: pointer;
  color: #fff;
}

.blog-liana .bio-overlay-content h3 {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}

.blog-liana .bio-overlay-content p {
  font-size: 14px;
  line-height: 21px;
  color: #fff;
}

.blog-liana .bio-toggle:checked ~ .bio-overlay-panel {
  pointer-events: auto;
}

.blog-liana .bio-toggle:checked ~ .bio-overlay-panel .bio-backdrop {
  opacity: 1;
}

.blog-liana .bio-toggle:checked ~ .bio-overlay-panel .bio-overlay-content {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .blog-liana .bio-card:hover .bio-backdrop,
  .blog-liana .bio-card:hover .bio-overlay-content {
    opacity: 1;
    transform: translateY(0);
  }

  .blog-liana .bio-card:hover .bio-overlay-panel {
    pointer-events: auto;
  }
}

@media (max-width: 600px) {
  .blog-liana .bio-card {
    width: 100%;
    height: 420px;
  }
}

:root {
  --vb-green: #1b6629;
  --vb-card-w-desktop: 344px;
  --vb-card-w-mobile: 328px;
  --vb-card-h-mobile: 273px;
}

.vb-list.slick-initialized {
  display: block !important;
}

/* LISTA (desktop em linha) */
.vb-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-top: 24px !important;
  margin-bottom: 40px !important;
}

/* CARTÃO */
.vb-card {
  position: relative !important;
  max-width: var(--vb-card-w-desktop) !important;
  width: 100%;
  /* 340px */
  min-height: 98px !important;
  background: #fff !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  cursor: pointer;
}

/* Barrinha lateral verde */
.vb-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  background: var(--vb-green) !important;
}

/* TÍTULO */
.vb-title {
  margin: 0 0 8px !important;
  color: #333 !important;
  font-family: "Lora", serif !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  padding-left: 0 !important;
}

.vb-title a {
  color: #333 !important;
  text-decoration: none !important;
}

.vb-title a:hover {
  text-decoration: underline !important;
}

/* AUTOR */
.vb-author {
  margin: 0 !important;
  color: #7e7e7e !important;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 10px !important;
  margin-top: 8px !important;
}

.vb-author a {
  color: #7e7e7e !important;
  text-decoration: underline !important;
}

.vb-headless {
  display: none;
}

/* ====== MOBILE (≤ 767.98px) ====== */
/* pronto para slick: cada slide tem 328x273 */
@media (max-width: 767.98px) {
  .vb-headless {
    display: flex;
    justify-content: end;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }

  .vb-card {
    width: 300px;
  }

  .vb-list {
    padding-left: 16px;
  }
}

/* ====== GRID / LAYOUT ====== */
.mosaico-ods__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 1fr;
}

.mosaico-ods__hero {
  grid-row: span 2;
}

/* hero ocupa 2 linhas */

.mosaico-ods__card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.mosaico-ods__media img {
  transition: transform 0.4s;
}

.mosaico-ods__card:hover .mosaico-ods__media img {
  transform: scale(1.03);
  transform-origin: 50% 50%;
}

/* ====== MÍDIA (proporção controlada) ====== */
.mosaico-ods__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.mosaico-ods__media::before {
  content: "";
  display: block;
  aspect-ratio: 16/9;
}

.mosaico-ods__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ====== CONTEÚDO ====== */
.mosaico-ods__content {
  padding: 14px 16px;
}

/* links herdam a cor do título/meta */
.mosaico-ods__title a {
  padding-left: 0;
  color: #333 !important;
}

.mosaico-ods__meta a {
  color: #7e7e7e !important;
}

.mosaico-ods__title a {
  text-decoration: none;
}

.mosaico-ods__meta a {
  text-decoration: underline;
}

.mosaico-ods__title a:hover,
.mosaico-ods__meta a:hover {
  text-decoration: underline;
}

/* ====== TÍTULOS ====== */
/* HERO (maior) */
.mosaico-ods__hero .mosaico-ods__title {
  margin: 0 0 6px;
  color: #333;
  font-family: "Lora", serif !important;
  font-size: 45.515px;
  font-style: normal;
  font-weight: 400;
  line-height: 51.204px;
  margin-bottom: 16px !important;
}

/* MENORES */
.mosaico-ods__card:not(.mosaico-ods__hero) .mosaico-ods__title {
  margin: 0 0 6px;
  color: #333;
  font-family: "Lora", serif !important;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  padding: 0;
  margin-bottom: 16px !important;
}

/* ====== META / AUTOR ====== */
/* HERO (maior) */
.mosaico-ods__hero .mosaico-ods__meta {
  margin: 0;
  color: #7e7e7e;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  font-size: 14.223px;
  font-style: normal;
  font-weight: 400;
  line-height: 14.223px;
}

/* MENORES */
.mosaico-ods__card:not(.mosaico-ods__hero) .mosaico-ods__meta {
  margin: 0;
  color: #7e7e7e;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
}

/* ====== MOBILE OVERRIDES ====== */
@media (max-width: 1100px) {
  .rowDestaqueODS {
    width: 328px !important;
    padding-top: 40px;
  }

  .rowDestaqueODS .medium-12.small-12.large-12 {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mosaico-ods__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    /* centraliza os cards de 328px */
    gap: 16px;
    /* opcional: pode manter 32px se preferir */
  }

  /* remove o span do hero no mobile — todos iguais */
  .mosaico-ods__hero {
    grid-row: auto;
  }

  /* tamanho fixo dos cards */
  .mosaico-ods__card {
    width: 290px;
    height: 273px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }

  /* imagem com 166px de altura */
  .mosaico-ods__media {
    height: 166px;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
  }

  .mosaico-ods__media::before {
    content: none;
  }

  /* desativa o aspect-ratio */
  .mosaico-ods__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* título: 16px / 24px em todos (hero e menores) */
  .mosaico-ods__hero .mosaico-ods__title,
  .mosaico-ods__card:not(.mosaico-ods__hero) .mosaico-ods__title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
    /* pequeno ajuste para caber perfeito */
  }

  /* se quiser, um ajuste sutil no padding do conteúdo */
  .mosaico-ods__content {
    padding: 12px 14px;
  }
}
.sbi_feedtheme_header_text h3 {
  color: #54be5e !important;
  font-family: "Lora" !important;
}

.section {
  padding-top: 0px;
  padding-bottom: 0px;
}
#colunasCop30 .item {
  width: 404px !important;
}

@media (max-width: 768px) {
  #colunasCop30 .item {
    max-width: 295px !important;
    padding: 0;
  }
}
.boxApoio {
  width: 79px;
}

.titleApoioShorts {
  display: flex;
  justify-content: space-between;
}

.desktopApoio {
  display: block;
}

.mobileApoio,
.mobileCustom {
  display: none;
}

@media (max-width: 768px) {
  .shortsMobileButton .carousel-control.style2 .carousel-nav.carousel-next,
  .shortsMobileButton .carousel-control.style2 .carousel-nav.carousel-prev {
    display: none !important;
  }
}

@media (max-width: 998px) {
  .page-wrapper {
    padding-top: 0px !important;
    margin-top: -30px !important;
  }

  .titleApoioShorts {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .boxApoio {
    width: 100%;
  }

  .desktopApoio {
    display: none;
  }

  .mobileApoio {
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .mobileCustom {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .mobileBottom {
    padding-bottom: 70px;
  }
}

/**/
.slider-post-shorts iframe {
  pointer-events: none;
}

/**/
.banner-cop30 .desktop-banner {
  display: block;
}
.banner-cop30 .mobile-banner {
  display: none;
}
@media (max-width: 767px) {
  .banner-cop30 .desktop-banner {
    display: none;
  }
  .banner-cop30 .mobile-banner {
    display: block;
  }
}
