/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ===== INEWS Infinite Ticker (sem sobreposições) ===== */
.itk{
  --duration: 24s;          /* menor = mais rápido */
  --font-size: 14px;
  --color: #333;
  --sep-space: 2.4rem;
  --uppercase: uppercase;
  background: #EDECE6!important;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  background: #fff;
  line-height: 1;
}

.itk__track{
  display: inline-flex;        /* 👈 importante */
  width: max-content;          /* 👈 largura = soma das linhas */
  white-space: nowrap;         /* nunca quebrar */
  animation: itk-scroll var(--duration) linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);  /* anti-jitter */
}

.itk__line{
  display: inline-flex;        /* 👈 duas linhas seguem lado a lado */
  align-items: center;
  white-space: nowrap;
  /* NADA de flex-basis 100% aqui */
}

.itk__item{
  display: inline-block;
  white-space: nowrap;
  font-size: var(--font-size);
  letter-spacing: .06em;
  color: var(--color);
  text-transform: var(--uppercase);
}

.itk__sep{
  display: inline-block;
  margin: 0 var(--sep-space);
  opacity: .6;
}

.itk:hover .itk__track{ animation-play-state: paused; } /* opcional */

/* Como as duas linhas têm a MESMA largura → mover -50% faz a troca perfeita */
@keyframes itk-scroll{
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}

@media (max-width:1024px){
  .itk{ --font-size: 13px; --sep-space: 2rem; }
}
@media (max-width:767px){
  .itk{ --font-size: 12px; --sep-space: 1.6rem; }
}
