/*
Theme Name: IVI Onepage
Theme URI: https://ivids.com.br/
Author: IVI
Author URI: https://ivids.com.br/
Description: Tema onepage simples para a landing page da IVI, com AOS, Calendly, tradução via JavaScript e listagem de posts.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ivi-simple-onepage
*/

/*
Cole abaixo o CSS original do seu arquivo style.css.
Mantenha os caminhos de imagem como url("assets/img/nome-do-arquivo.ext")
ou ajuste conforme necessário.
*/

@import url("https://fonts.googleapis.com/css2?family=Zalando+Sans:wght@200..900&family=Zalando+Sans+Expanded:wght@200..900&display=swap");

html {
  min-width: 100%;
  min-height: 100%;
  font-family: "Zalando Sans", sans-serif;
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-size: 2rem;
  color: #080808;
  background: #ffffff;
}

h1,
h2,
h4,
h5 {
  font-family: "Zalando Sans Expanded", Arial, sans-serif;
  font-weight: 500;
}
h3 {
  font-family: "Zalando Sans", Arial, sans-serif;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3661f;
  color: #fff;
  padding: 1.5rem 10rem;
  font-size: 1.8rem;
  border-radius: 0.5rem;
  font-weight: 400;
}

footer .btn {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  padding: 1rem;
}

.btn img {
  padding: 0.5rem 0 0.5rem 1rem;
}

footer .btn img {
  padding: 0px 0px 0px 0.5rem;
  margin-bottom: -2px;
}

.tag {
  display: inline-block;
  background: #ffffff;
  color: #111;
  border-radius: 30px;
  padding: 7px 18px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 5rem;
}

/* HERO */

.hero {
  min-height: 880px;
  background: url("assets/img/bg-top.png") no-repeat bottom center;
  background-size: cover;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 13rem;
}

.navbar {
  font-family: "Zalando Sans Expanded", Arial, sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #000;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px;
  color: #fff;
  transition:
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.navbar div,
.challenge-grid div {
  min-width: 33%;
}
.menu {
  text-align: left;
  font-size: 3rem;
  cursor: pointer;
}
.logo {
  text-align: center;
}
.contato {
  text-align: right;
}

.nav-link {
  font-size: 1.4rem;
  border: 1px solid #f3661f;
  padding: 1.5rem;
  border-radius: 1rem;
}

.hero-content {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  padding-top: 3rem;
}

.hero h1 {
  font-size: 4.8rem;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5rem;
}

h1 span {
  display: block;
  color: #f3661f;
}

p {
  margin: 0 auto 3.5rem;
}

strong {
  color: #f3661f;
}

/* DESAFIO */

.section {
  padding: 13rem 0;
}

section .container,
footer .container,
nav .container {
  width: min(100%, 1280px);
}

.section-title {
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 4rem;
  margin-bottom: 8rem;
}

.section-title span {
  color: #f3661f;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.challenge-grid {
  display: flex;
  align-items: center;
  text-align: center;
}

.challenge-box {
  position: relative;
}

.challenge-box p {
  margin: 0 auto 0 0;
  max-width: 360px;
  min-height: 160px;
}

.challenge-label {
  position: relative;
  display: inline-block;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #f4f4f4;
  text-align: center;
  padding: 1rem 3rem;
  margin-bottom: 4rem;
  font-size: 2.4rem;
}

/* imagem do lado esquerdo */
.challenge-label::before {
  content: "";
  position: absolute;
  top: 15px;
  width: 250px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -1;
}

/* imagem do lado direito */
.challenge-label::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 250px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -1;
}

/* label "O problema" */

.challenge-label-problema::after {
  right: -230px;
  background-image: url("assets/img/after_problema.png");
}

/* label "A solução" */
.challenge-label-solucao::before {
  left: -250px;
  background-image: url("assets/img/before_solucao.png");
}

/* PILARES */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.pillar-card {
  background: #efefef;
  min-height: 310px;
  border-radius: 2rem;
  padding: 4rem 7rem 4rem 4rem;
}

.pillar-number {
  background: url("assets/img/poly.png") no-repeat center center;
  font-family: "Zalando Sans Expanded", Arial, sans-serif;
  display: inline-block;
  padding: 2rem;
  background-size: contain;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.pillar-card h3 {
  color: #f3661f;
  font-size: 3.2rem;
  font-family: "Zalando Sans", Arial, sans-serif;
  min-height: 150px;
  max-width: 250px;
}

.pillar-card p {
  font-size: 1.6rem;
  color: #080711;
}

p span,
h3 span {
  font-weight: 700;
}

/* PLATAFORMA */

.plataforma {
  background: #f3661f url("assets/img/motor-back.png") no-repeat center center;
  background-size: auto;
  background-size: contain;
  display: flex;
  padding: 10rem 0;
}

.platform {
  background: #f3661f url("assets/img/bg-motor.png") no-repeat top center;
  background-size: contain;
  padding: 10rem 0 115px;
  text-align: center;
  color: #080808;
  position: relative;
}

.platform h2 {
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  font-size: 4rem;
  font-weight: 300;
}

.platform h3 {
  font-size: 3.2rem;
  margin-bottom: 3.5rem;
  font-weight: 500;
  font-weight: 300;
}

.platform-inner p {
  max-width: 760px;
  color: #080711;
}

.platform-board {
  background: #fff;
  border-radius: 2rem;
  padding: 5rem 2rem;
  box-shadow: 0px 0px 50px 10px rgba(255, 236, 224, 0.38);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem auto;
}

.mini-process {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4rem;
}

.mini-process strong {
  background: #07070c;
  color: #fff;
  padding: 7px 14px;
  border-radius: 3px;
  font-size: 10px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.mini-icon {
  width: 38px;
  height: 38px;
  background: #07070c;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

/* IMPACTO */

.impact-table {
  display: grid;
  grid-template-columns: 2fr 1fr;
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid #f3661f;
}

.impact-left,
.impact-right {
  display: grid;
}

.impact-row {
  padding: 22px 18px;
  border-bottom: 1px solid #ffb08b;
  font-size: 13px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: center;
}

.impact-row strong {
  color: #f3661f;
}

.impact-right {
  background: #f3661f;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.impact-right div {
  padding: 23px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  font-weight: 700;
}

.impact-right div:last-child {
  border-bottom: none;
}

/* EXECUÇÃO */

.execution {
  margin: 0 auto;
  background: url("assets/img/fundobox.png") no-repeat top center;
  background-size: cover;
  color: #fff;
  text-align: center;
  border-radius: 2rem;
  padding: 78px 40px 70px;
  position: relative;
}

.execution::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fff;
  clip-path: polygon(
    0 0,
    10% 0,
    14% 40px,
    86% 40px,
    90% 0,
    100% 0,
    100% 0,
    0 0
  );
}

.execution h2 {
  color: #050505;
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 400;
}

.execution strong {
  color: #f3661f;
}

.execution p {
  margin: 5rem auto;
  line-height: 1.6;
  max-width: 750px;
}

/* QUEM SOMOS */

.about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: center;
}

.about h2 {
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 4rem;
  font-size: 4rem;
}

.about p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* CONTEÚDO */

.content-section {
  background: #fbf4ef;
  padding: 13rem 0;
}

.content-section h2 {
  font-size: 29px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 52px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-image {
  height: 125px;
  background: linear-gradient(135deg, #0a1118, #142d35);
  position: relative;
}

.article-card:nth-child(2) .article-image {
  background: radial-gradient(circle at center, #d7a089 0%, #111 70%);
}

.article-card:nth-child(3) .article-image {
  background: linear-gradient(135deg, #111, #333);
}

.article-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #111;
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.article-body {
  padding: 20px 18px 24px;
}

.article-body small {
  color: #888;
  font-size: 11px;
}

.article-body h3 {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  margin: 10px 0 18px;
}

.article-body a {
  color: #f3661f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* FOOTER */

footer {
  background: #07070f;
  color: #fff;
  padding: 70px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  align-items: start;
}

footer h4 {
  color: #f3661f;
  font-size: 12px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

footer p,
footer a {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #d6d6d6;
}

.footer-logo {
  font-size: 13px;
  text-transform: uppercase;
  line-height: 1.4;
}

.copyright {
  text-align: center;
  font-size: 11px;
  color: #777;
  margin-top: 54px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .pillar-card {
    padding: 3rem 4rem;
  }

  .challenge-grid {
    flex-direction: column;
    gap: 30px;
  }

  .tag {
    font-size: 14px;
  }

  .platform {
    padding: 5rem 0 30px;
  }

  .platform h2 {
    font-size: 3rem;
  }

  .platform h3 {
    font-size: 2rem;
  }

  .plataforma {
    padding: 5rem 0;
  }

  .execution h2 {
    font-size: 3rem;
  }

  .execution p {
    font-size: 2rem !important;
  }

  .btn {
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
  }

  .content-header h2 {
    text-align: center;
  }

  .challenge-grid,
  .pillars-grid,
  .platform-board,
  .impact-table,
  .about,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .challenge-icon {
    order: 1;
  }

  .challenge-box:nth-child(3) {
    order: 2;
  }

  .impact-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 65px 0;
  }

  .about-image {
    height: 260px;
  }
}

.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
}

.arrow {
  animation: bounce 1.4s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(0, 8px);
  }
}

.menu-overlay {
  font-family: "Zalando Sans Expanded", Arial, sans-serif;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.menu-overlay .navbar {
  padding: 12px 24px;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-logo {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  opacity: 0.85;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu-list li {
  margin: 32px 0;
}

.menu-list a {
  color: white;
  text-decoration: none;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.menu-list a:hover {
  color: #f3661f;
}

body.menu-open {
  overflow: hidden;
}

/* SINGLE POST */

.single-post-page {
  background: #fff;
  padding-top: 85px;
}

.single-hero {
  position: relative;
  min-height: 420px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));
}

.single-article {
  position: relative;
  margin-top: -72px;
}

.single-title-card {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
  padding: 34px 36px 31px;
  position: relative;
  z-index: 2;
}

.single-title-card h1 {
  font-size: clamp(2.8rem, 3.2vw, 4.6rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #151515;
  margin: 0 0 18px;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #8f8f8f;
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.single-category {
  display: inline-flex;
  align-items: center;
  background: #f4b5a6;
  color: #111;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 1px;
}

.single-content-wrap {
  width: min(100% - 48px, 690px);
  margin: 38px auto 0;
}

.single-share {
  border: 1px solid #eeeeee;
  padding: 16px 18px;
  margin-bottom: 38px;
}

.single-share span {
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.single-share-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.single-share-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #f3661f;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.single-share-action img {
  display: block;
  width: 40px;
  height: 40px;
}

.single-share-action.copied {
  opacity: 0.65;
}

.single-post-content {
  font-size: 1.55rem;
  line-height: 1.75;
  color: #2f2f2f;
  padding-bottom: 90px;
}

.single-post-content > * {
  margin-left: auto;
  margin-right: auto;
}

.single-post-content p {
  margin-bottom: 2.4rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: #111;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 3.8rem 0 1.5rem;
}

.single-post-content h2 {
  font-size: 2.6rem;
}

.single-post-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
}

.single-post-content h4 {
  font-size: 1.9rem;
}

.single-post-content a {
  color: #f3661f;
  font-weight: 700;
}

.single-post-content blockquote {
  background: #fff1ea;
  border-left: 3px solid #f3661f;
  color: #111;
  font-size: 1.55rem;
  line-height: 1.7;
  margin: 3.2rem 0;
  padding: 25px 30px;
}

.single-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-post-content ul,
.single-post-content ol {
  margin: 0 0 2.4rem 2.2rem;
}

.single-post-content li {
  margin-bottom: 0.9rem;
}

.single-post-content img,
.single-post-content figure {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 3.2rem auto;
}

.single-post-content figure img {
  margin: 0 auto;
}

.single-post-content figcaption {
  color: #777;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .single-post-page {
    padding-top: 86px;
  }

  .single-hero {
    min-height: 260px;
  }

  .single-article {
    margin-top: -52px;
  }

  .single-title-card,
  .single-content-wrap {
    width: min(100% - 32px, 690px);
  }

  .single-title-card {
    padding: 26px 22px 24px;
  }

  .single-title-card h1 {
    font-size: 2.7rem;
  }

  .single-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .single-post-content {
    font-size: 1.5rem;
  }
}

.single-share-copy {
  position: relative;
}

.single-share-feedback {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px;
  border-radius: 6px;
  background: #1d1d1d;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.single-share-copy.copied .single-share-feedback {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.content-grid-lang {
  display: none;
}

.content-grid-lang.is-active {
  display: grid;
}
/* Artigos/listagem */
.article-image {
  display: block;
  overflow: hidden;
}

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

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.content-header h2 {
  margin-bottom: 0;
}

.content-more-wrapper {
  margin-top: 0;
  text-align: right;
  flex-shrink: 0;
}

.content-more-link {
  font-family: "Zalando Sans Expanded", Arial, sans-serif;
  display: none;
  color: #000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 1rem;
  border: 1px solid;
  padding: 1.5rem 3rem;
  font-size: 1.4rem;
}

.content-more-link.is-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.articles-listing-page {
  background: #fbf4ef;
}

.articles-hero {
  background: #f3661f;
  min-height: 230px;
  padding: 20rem 2rem 10rem;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.articles-hero::before,
.articles-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 170px;
  border: 20px solid rgba(255, 255, 255, 0.05);
  transform: rotate(30deg);
}

.articles-hero::before {
  left: -70px;
  top: -40px;
}

.articles-hero::after {
  right: 70px;
  top: 45px;
}

.articles-hero h1 {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.articles-listing-section {
  padding: 50px 0 110px;
}

.articles-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  margin-bottom: 42px;
}

.articles-categories {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex: 1;
  min-height: 42px;
  font-family: "Zalando Sans", Arial, sans-serif;
}

.articles-categories span {
  font-size: 13px;
  color: #111;
  white-space: nowrap;
}

.articles-tab {
  appearance: none;
  border: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  padding: 0 0 14px;
  color: #777;
  margin-bottom: -15px;
}

.articles-tab.is-active {
  color: #111;
  border-color: #f3661f;
  font-weight: 700;
}

.articles-search {
  width: 240px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 0 12px;
}

.articles-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 12px;
}

.articles-search button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.articles-panel {
  display: none;
}

.articles-panel.is-active {
  display: block;
}

.articles-grid {
  grid-template-columns: repeat(3, 1fr);
  row-gap: 28px;
}

.articles-empty {
  font-size: 14px;
  color: #777;
}

.article-card.is-hidden-by-search {
  display: none;
}

.search-toolbar {
  align-items: flex-end;
}

.search-results-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #777;
}

.search-results-title strong {
  color: #111;
  font-size: 22px;
  font-weight: 500;
}

.articles-pagination {
  margin-top: 48px;
  text-align: center;
}

.articles-pagination ul {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.articles-pagination a,
.articles-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.articles-pagination .current {
  background: #f3661f;
  color: #fff;
}

@media (max-width: 768px) {
  .navbar {
    padding: 20px 0px;
  }

  .logo {
    width: 60%;
  }

  .content-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .challenge-label::after {
    display: none;
  }

  .challenge-label::before {
    display: none;
  }

  .contato {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

  .content-more-wrapper {
    text-align: left;
    margin: 0 auto;
  }

  .articles-toolbar,
  .articles-categories {
    align-items: stretch;
    flex-direction: column;
  }

  .articles-categories {
    gap: 14px;
  }

  .articles-tab {
    text-align: left;
  }

  .articles-search {
    width: 100%;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.language-dropdown {
  position: absolute;
  top: 4rem;
  right: 2rem;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.language-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  /*border: 1px solid rgba(255, 255, 255, 0.55);*/
  background: rgb(255 255 255 / 11%);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 1.5rem;
  border: none;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

button.language-dropdown-toggle:active {
  border: none !important;
}

button.language-dropdown-toggle:focus-visible {
  border: none !important;
}
/*
.language-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.75);
}*/

.language-dropdown-toggle img.flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.language-dropdown-toggle .lang-label {
  min-width: 30px;
}

.language-dropdown-toggle .dropdown-arrow {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.language-dropdown.open .language-dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}

.language-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.2rem);
  right: 0;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  min-width: 170px;
  overflow: hidden;
}

.language-dropdown.open .language-dropdown-menu {
  display: flex;
  flex-direction: column;
  min-width: 106px !important;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: none;
  background: transparent;
  color: #111;
  font-size: 1.45rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.language-option:hover {
  background: #f5f5f5;
}

.language-option.active {
  background: #f3661f;
  color: #fff;
}

.language-option img.flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .language-dropdown {
    top: 8rem;
    right: 1.2rem;
  }

  .language-dropdown-toggle {
    padding: 0.75rem 0.9rem;
    font-size: 1.3rem;
  }

  .language-dropdown-menu {
    min-width: 150px;
  }
}

@media (max-width: 1470px) {
  .language-dropdown {
    position: absolute;
    top: 10rem;
    right: 5rem;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}
