/*
Theme Name: Effet v2
Theme URI: 
Author: Jorge Isaac
Author URI: 
Description: Tema Effet versión 2.0
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: effet-v2
Tags: full-site-editing, block-patterns

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}
body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/* TWEAKS BÁSICOS */
p {
	-webkit-margin-before: 0 !important;
	-webkit-margin-after: 0 !important;
}
h1, h2, h3, h4, h5, h6, a, li, ul, q, blockquote, img {
	-webkit-margin-before: 0 !important;
	-webkit-margin-after: 0 !important;
}
li {
  margin-block-end: 5px;
}
ul {
  margin-block-start: 1em;
  padding-inline-start: 15px;
}
figure {
	-webkit-margin-before: 0 !important;
	-webkit-margin-after: 0;
	-webkit-margin-start: 0;
	-webkit-margin-end: 0;
}
main {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
blockquote {
	-webkit-margin-start: 2em;
	-webkit-margin-end: 2em;
}
/*.has-global-padding > .alignfull {
    margin-right: 0;
    margin-left: 0;
}*/
.wp-block-separator {
    min-width: 100%;
    /* or */
    min-height: 1px;
	border-width: 1px;
}

/* NAVIGATION */
.wp-block-navigation li {
	padding: 10px 20px !important;
	white-space: nowrap;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border: none;
}
.wp-block-navigation li a:hover {
	color: var(--wp--preset--color--tertiary) !important;
}
@media only screen and (max-width: 600px) {
	.wp-block-navigation li a {
		padding: 0 5px;
	}
}
/* SUB-MENU */
.wp-block-navigation-submenu ul {
	margin-left: 15px !important;
	background-color: rgba(229,229,229,0.95) !important;
}
.wp-block-navigation-submenu:hover {
	color: var(--wp--preset--color--tertiary);
}
.wp-block-navigation-submenu li {
	padding: 10px 10px !important;
}
.wp-block-navigation-submenu li a {
	color: var(--wp--preset--color--secondary) !important;
}
.wp-block-navigation-submenu li:hover {
	background-color: rgba(0,0,0,0.02) !important;
}
.wp-block-navigation-submenu li a {
	padding: 0 !important;
}
.wp-block-navigation li:hover .wp-block-navigation__submenu-icon svg {
	stroke: var(--wp--preset--color--tertiary) !important;
}
/* MENU */
.menu li {
	padding: 5px 0;
	/*list-style-image: url("https://effet.mx/wp-content/uploads/2025/07/arrow-8px.png");*/
	list-style-type: none !important;
}

/* EQUIPO */
@media only screen and (min-width: 780px) {
	.equipo p {
		text-align: justify;
	}
	.columna-izq {
		padding-left: 180px;
	}
	.columna-der {
		padding-right: 180px;
	}
}
@media only screen and (max-width: 780px) {
	.invertir-columnas {
		flex-direction: column-reverse;
	}
}

/* SUPPORT FOR SAFARI - OLD VERSIONS */
@supports (-webkit-backdrop-filter: blur(1px)) {
	body {
		margin: 0;
	}
	blockquote {
		-webkit-margin-start: 2em;
		-webkit-margin-end: 2em;
	}
	a:any-link {
		text-decoration: none; /*Para forzar text-decoration: none en anchors*/
		color: var(--wp--preset--color--primary);
		-webkit-margin-after: 0; /*???*/
	}
	a:any-link:hover {
		color: var(--wp--preset--color--secondary);
	}
	h1 {
		font-size: 3em; /*Forzar tamaños de tipografía. Debe ser el mismo tamaño mínimo de json*/
	}
	h2 {
		font-size: 2em;
	}
	h3 {
		font-size: 1.5em;
	}
	h4 {
		font-size: 1em;
	}
	h5 {
		font-size: .8em;
	}
	h6 {
		font-size: .65em;
	}
}

/* ANIMACIONES */
a, a:link, a:active, a:visited, svg:hover {transition: 0.25s ease-out; -webkit-transition: 0.25s ease-out; -moz-transition: 0.25s ease-out; -o-transition: 0.25s ease-out;}


/********** PLUGINS **********/

/* GTRANSLATE */
.gtranslate_wrapper {
	text-align: end;
	line-height: 1.5;
}
a:where(:not(.wp-element-button)) {
	color: #6e6e6e;
}
a.glink.gt-current-lang {
	font-weight: 400 !important;
	color: #bfbfbf;
}

/* CONTACT FORM */
input[type=text], input[type=email], select, textarea {
  width: 100%;
  padding: 15px;
  border: none !important;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 5px;
  margin-bottom: 15px;
  resize: vertical;
}
input[type=submit] {
  background-color: var(--wp--preset--color--secondary);
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 24px;
  font-family: var(--wp--preset--font-family--special-gothic-expanded-one);
}
input[type=submit]:hover {
  background-color: var(--wp--preset--color--tertiary);
}
.wpcf7-not-valid-tip {
  color: var(--wp--preset--color--secondary);
}
.wpcf7-response-output {max-width: 100%;}