/**
 * Estilos para Icon Box with Button (Elementor Widget)
 * Creado por: Erick Ticona (erick.ticona.dev@gmail.com)
 */

.ibwb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Contenedor de Medios (Icono o Imagen) */
.ibwb-icon-container {
  display: flex;
  align-items: center;
}

.ibwb-media-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.ibwb-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ibwb-icon-box svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.ibwb-icon-box i {
  display: inline-block;
  line-height: 1;
  transition: all 0.3s ease;
}

.ibwb-image-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ibwb-image-box img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

/* Título */
.ibwb-title {
  margin: 0;
  padding: 0;
  transition: color 0.3s ease;
}

/* Descripción */
.ibwb-description {
  margin: 0;
  padding: 0;
  transition: color 0.3s ease;
}

/* Botón y Contenedor */
.ibwb-button-container {
  display: flex;
  align-items: center;
}

.ibwb-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none !important;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}

.ibwb-button-text {
  display: inline-block;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Flecha SVG */
.ibwb-arrow-container {
  display: block;
  position: relative;
  overflow: visible;
  height: 12px;
}

.ibwb-arrow-svg {
  display: block;
  width: 100%;
  height: 12px;
  overflow: visible;
}

.ibwb-arrow-line {
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), stroke 0.3s ease;
  transform-origin: left center;
}

.ibwb-arrow-head {
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), stroke 0.3s ease;
  transform-origin: right center;
}