/*
 * Theme Name:  Revision Child
 * Theme URI:   https://revision.codesupply.co/
 * Description: Revision Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    revision
 * Version:     1.0.0
 */

/* Copy any classes from parent theme here. They will override the parent's version. */
:root .cs-hero-type-1 .cs-hero__content .cs-hero__heading span, body[data-scheme=light] .cs-hero-type-1 .cs-hero__content .cs-hero__heading span {
    background: #46ddc6;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Convierte los enlaces del menú principal customizados en flex centrado */
.menu-item-blog > a,
.menu-item-explorar-creadores > a,
.menu-item-ver-ofertas > a {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  height: auto !important;
  max-height: 50px !important;
  line-height: 3.2 !important;
  padding: 2px 10px !important;
  box-sizing: border-box !important;
}

/* Asegura que el primer span también use flex para alinear el texto */
.menu-item-blog > a > span,
.menu-item-explorar-creadores > a > span,
.menu-item-ver-ofertas > a > span {
  display: flex !important;
  align-items: center !important;
}

/* Icono Blog */
.menu-item-blog > a::before {
  content: '';
  display: inline-block !important;
  width: 1.3em !important;
  height: 1.3em !important;
  background: url('/wp-content/themes/revision-child/assets/icons/blog.svg') no-repeat center center;
  background-size: contain;
  position: static !important;
  box-shadow: none !important;
  background-color: transparent !important;
  z-index: auto !important;
  margin-top: 2px;
  margin-right: 3px !important;
}

/* Icono Explorers */
.menu-item-explorar-creadores > a::before {
  content: '';
  display: inline-block !important;
  width: 1.3em !important;
  height: 1.3em !important;
  background: url('/wp-content/themes/revision-child/assets/icons/face-happy.svg') no-repeat center center;
  background-size: contain;
  position: static !important;
  box-shadow: none !important;
  background-color: transparent !important;
  z-index: auto !important;
  margin-top: 2px;
  margin-right: 3px !important;
}

/* Icono Ofertas */
.menu-item-ver-ofertas > a::before {
  content: '';
  display: inline-block !important;
  width: 1.3em !important;
  height: 1.3em !important;
  background: url('/wp-content/themes/revision-child/assets/icons/bank-note.svg') no-repeat center center;
  background-size: contain;
  position: static !important;
  box-shadow: none !important;
  background-color: transparent !important;
  z-index: auto !important;
  margin-top: 2px;
  margin-right: 3px !important;
}

/* Centra horizontalmente el menú si el contenedor lo permite */
.main-navigation ul, .cs-header__col-center .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px !important;
  column-gap: 0px !important;
  row-gap: 0px !important;
}

.menu-item-blog > a::before,
.menu-item-explorar-creadores > a::before,
.menu-item-ver-ofertas > a::before {
  transform: none !important;
}

/* Haz que la columna central ocupe todo el espacio posible */
.cs-header__col.cs-col-center {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  min-width: 0;
  padding: 0 !important;
  border: none !important;
}

/* Opcional: Si el menú no se pega del todo, fuerza el alineado */
.cs-header__nav-inner {
  justify-content: flex-end !important;
  width: 100% !important;
  display: flex !important;
  gap: 0px !important;
  column-gap: 0px !important;
  row-gap: 0px !important;
}

/* Fuerza el menú a alinearse a la derecha */
.cs-header__col.cs-col-center .cs-header__nav {
  width: 100%;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Elimina cualquier centrado heredado de los ul internos */
.cs-header__col.cs-col-center .cs-header__nav-inner {
  justify-content: flex-end !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
}

.cs-header__col.cs-col-center:not(:only-child) {
  padding: 0 !important;
}

.cs-header__inner {
  display: flex !important;
}

.cs-header__col {
  flex-shrink: 0;
}

.cs-header__col.cs-col-center {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  min-width: 0;
  padding: 0 !important;
  border: none !important;
}

.cs-header__col.cs-col-right {
  flex: 0 0 auto !important;
  min-width: unset !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  white-space: nowrap !important;
}

/* Oculta el header móvil en escritorio */
.cs-header__inner-mobile {
  display: none !important;
}

/* Muestra el header móvil solo en pantallas pequeñas */
@media (max-width: 900px) {
  .cs-header__inner-desktop {
    display: none !important;
  }
  .cs-header__inner-mobile {
    display: flex !important;
  }
  .cs-header__inner-mobile .cs-header__col.cs-col-left {
    justify-content: flex-start !important;
    align-items: center !important;
    display: flex !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  /* Deja que la columna central ocupe su espacio natural */
  .cs-header__inner-mobile .cs-header__col.cs-col-center {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  /* Centra el logo dentro de la columna central */
  .cs-header__inner-mobile .cs-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
  }
  .cs-header__inner-mobile .menu,
  .cs-header__inner-mobile .cs-header__nav-inner {
    flex-direction: column !important;
    gap: 28px !important; /* Más espacio entre items */
  }
  .cs-header__inner-mobile .menu-item {
    margin-right: 0 !important;
    margin-bottom: 28px !important; /* Más espacio entre items */
    height: auto !important; /* Elimina forzado de altura */
  }
  .cs-header__inner-mobile .menu-item:last-child {
    margin-bottom: 0 !important;
  }
  /* Separación icono-texto en móvil */
  .cs-header__inner-mobile .menu-item-blog > a::before,
  .cs-header__inner-mobile .menu-item-explorar-creadores > a::before,
  .cs-header__inner-mobile .menu-item-ver-ofertas > a::before {
    margin-right: 12px !important;
  }
  #menu-principal .menu-item > a {
    font-size: 18px !important; /* Ajusta a 18px o 22px si lo prefieres */
    font-weight: 600 !important; /* Opcional: para que se vea más grueso */
  }
  .menu-item-blog > a:hover,
  .menu-item-explorar-creadores > a:hover,
  .menu-item-ver-ofertas > a:hover {
    padding: 2px 0px !important;
  }
  .menu-item-blog > a,
  .menu-item-explorar-creadores > a,
  .menu-item-ver-ofertas > a {
    padding: 2px 0px !important;
  }

  /* Icono Blog */
.menu-item-blog > a::before {
    margin-right: 15px !important;
  }
  
  /* Icono Explorers */
  .menu-item-explorar-creadores > a::before {
    margin-right: 15px !important;
  }
  
  /* Icono Ofertas */
  .menu-item-ver-ofertas > a::before {
    margin-right: 15px !important;
  }
}

/* Logo en header (escritorio y móvil) */
.custom-logo,
.cs-header__logo img,
.cs-header__inner-mobile .cs-header__logo img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
}

/* Alto header en móvil */
.cs-header__inner-mobile { 
    min-height: 59px; 
}

.menu-item-blog > a:hover,
.menu-item-explorar-creadores > a:hover,
.menu-item-ver-ofertas > a:hover {
  background: #f2f2f2 !important;
  border-radius: 8px !important;
  transition: background 0.2s, box-shadow 0.2s;
  padding: 2px 10px !important;
  user-select: none;
  cursor: pointer;
  position: relative;
}

/* Reduce la separación entre items del menú */
.menu-item {
  margin-right: 15px !important;
}
.menu-item:last-child {
  margin-right: 15px !important;
}

/* Centra verticalmente los items del menú */
.cs-header__nav-inner,
.main-navigation ul,
.cs-header__col-center .menu {
  align-items: center !important;
  display: flex !important;
  height: 100%;
}

.menu-item {
  display: flex !important;
  align-items: center !important;
  height: 100%;
}

.cs-hero-type-1__wrapper {
    border: none !important;
}

/**************ESTILOS MENUS FOOTER********************/
/* --------- Layout general del footer --------- */
/* Forzar que el contenedor interno use flex-start */
.cs-footer__item-inner {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start;
    gap: 2rem;
  }
  
  /* Empujar el bloque de menús a la derecha */
  .cs-footer__col.cs-col-menus {
    margin-left: auto !important;
    max-width: 350px; /* ancho máximo para todo el bloque de menús */
  }
  
  /* --------- Contenedor de las columnas de menú --------- */
  .cs-footer-menus {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  /* Cada columna de menú con ancho fijo */
  .cs-footer-menu-col {
    flex: 0 0 150px; /* ajusta 150px al ancho que prefieras */
  }
  
  /* --------- Título de cada columna --------- */
  .cs-footer-menu-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #333;
  }
  
  /* --------- Listado de enlaces --------- */
  .cs-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .cs-footer-menu li {
    margin-bottom: 0.5rem;
  }
  .cs-footer-menu a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 400;
  }
  .cs-footer-menu a:hover {
    color: #46ddc6;
  }
  
	/* Formatear citas con degradado colores bemyvideo */
  .wp-block-quote {
  	background: linear-gradient(135deg, #47dec7 19%, #12adcf 100%) !important;
  	color: #fff !important;
  	padding: 1.5em !important;
 	border-radius: 12px !important;
  	font-size: 1.25rem !important;
  	font-style: normal !important;
  	border: none !important;
}
