/* ============================================================
   OWLS Factory – Search Banner (CSP-safe, alinhamento ajustado)
   ============================================================ */

.owls-sb {
  background: #FFD437;
  border-radius: 4px;
  margin: 20px 0;
  padding: 15px 22px;
  zoom: 1; /* Clearfix fallback */
}
.owls-sb:after {
  content: "";
  display: table;
  clear: both;
}

/* Layout base (floats para compatibilidade antiga) */
.owls-sb__left { float: left; }
.owls-sb__actions { float: right; text-align: right; }

/* Ícone */
.owls-sb__icon {
  width: 42px;
  height: 42px;
  vertical-align: middle;
  margin-right: 14px;
  display: inline-block;
}

/* Traçado do SVG */
.owls-sb__icon .st0 {
  fill: none;
  stroke: #231F20;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
}

/* Texto */
.owls-sb__text {
  display: inline-block;
  vertical-align: middle;
}
.owls-sb__headline {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: #000;
}
.owls-sb__sub {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
}

/* Botões */
.owls-sb__btn {
  display: inline-block;
  background: #0A3BFF;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 8px;
  transition: background-color 0.2s ease-in-out;
}
.owls-sb__btn:first-child {
  margin-left: 0;
}
.owls-sb__btn:hover,
.owls-sb__btn:focus {
  background: #0628B3;
  outline: none;
}

/* Responsivo */
@media (max-width: 768px) {
  .owls-sb__left,
  .owls-sb__actions {
    float: none;
    text-align: left;
  }
  .owls-sb__actions {
    margin-top: 10px;
  }
  .owls-sb__btn {
    margin: 6px 8px 0 0;
  }
}

/* Modern browsers – Flexbox layout */
@supports (display: flex) {
  .owls-sb {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* antes: space-between */
    flex-wrap: wrap;
  }

  .owls-sb__left {
    margin-right: auto; /* empurra os botões para a direita mas deixa espaço natural */
  }

  .owls-sb__actions {
    margin-left: 20px; /* distância mais controlada da borda */
    text-align: right;
  }
}
