/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Header - no funiona </> personalizador */
.navigation-branding, .mobile-header-navigation.has-menu-bar-items .mobile-header-logo {
	padding-left: 24px;
	padding-right: 24px;
  background-color: var(--accent);
	margin-left: 0;
}

#site-navigation .inside-navigation .navigation-branding {
	margin-left: 0;
	margin-right: 0;
}

#site-navigation .inside-navigation .menu-bar-items {
	margin-left: auto;
}

/* Forzar color iconos - perujo.es -*
/* el contenedor de tu sección */
.gb-element-7ab21332 h4 .gb-shape svg{
  color: var(--accent);
}

/* fuerza el relleno de todo lo de dentro del svg */
.gb-element-7ab21332 h4 .gb-shape svg *{
  fill: currentColor !important;
}

.gb-element-7ab21332 h4 .gb-shape svg *{
  stroke: currentColor !important;
}

/* CF7: que el formulario y sus campos sean 100% responsivos */
.wpcf7,
.wpcf7 form,
.wpcf7-form {
  width: 100%;
  max-width: 100%;
}

/* Asegura que los wrappers de CF7 no limiten el ancho */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Box sizing solo dentro de CF7 para evitar efectos colaterales */
.wpcf7,
.wpcf7 * ,
.wpcf7 *::before,
.wpcf7 *::after {
  box-sizing: border-box;
}

/* Campos al 100% en escritorio + tablet + móvil (ancho máximo del contenedor) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7 input[type="file"],
.wpcf7 .wpcf7-form-control {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

/* Extra “cinturón y tirantes” solo en móvil: que jamás supere el viewport */
@media (max-width: 768px) {
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="url"],
  .wpcf7 input[type="number"],
  .wpcf7 input[type="date"],
  .wpcf7 select,
  .wpcf7 textarea,
  .wpcf7 input[type="file"],
  .wpcf7 .wpcf7-form-control {
    max-width: 100vw !important;
  }
}