/*
 Theme Name:   Blocksy Child
 Theme URI:    https://gaiki.org
 Description:  Child Theme para Blocksy
 Author:       Nicolás Kestelboim
 Author URI:   https://okeyweb.site
 Template:     blocksy
 Version:      1.0.0
 Text Domain:  blocksy-child
*/

/*----------  General  ----------*/
.underline-highlight {
    background-image: linear-gradient(to top, #f9b311 100%, transparent 10%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 0 100%;
}

blockquote:where(:not(.is-style-plain)):where(:not(.has-text-align-center):not(.has-text-align-right)) {
    border-inline-start: none!important;
}

/*----------  Menu  ----------*/

#menu-menu-principal .menu-item a {
    text-transform: none !important;
}
a.gaiki-labs-button {
    position: relative;
    transition: transform 0.3s ease;
}
a.gaiki-labs-button:hover {
    transition: transform 0.3s ease;
    transform: scale(1.1);
}
a.gaiki-labs-button::after {
    content: "";
    position: absolute;
    left: -5px;
    top: 30%;
    width: 55px;
    height: 55px;
    transform: translateY(-50%);
    background: url("https://gaiki.okeyweb.site/wp-content/uploads/2025/09/labs-chemistry-bottle-20.gif") no-repeat center;;
    background-size: contain;
    pointer-events: none;
    z-index: 1;           
}
a.gaiki-labs-button {
     transition: transform 0.3s ease;
}

.acerca-de-figcaption {
	background: linear-gradient(0deg, #000000b3, #0000004d 70%, #0000);
}

/*----------  Contact Form (global) ----------*/

.wpcf7 input.wpcf7-submit {
    background-color: #ffb900 !important;
    color: black !important;
}

.wpcf7 form p {
    width: 100%;
}

.wpcf7 input,
.wpcf7 textarea {
  border: 2px solid #f9b311;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 16px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 15px auto;
  display: block;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #ffcc33;
  box-shadow: 0 0 0 3px rgba(249,179,17,0.3);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #999;
  font-style: italic;
}

.wpcf7 input[type="submit"] {
  margin: 0 auto;
}

.wpcf7 .wpcf7-spinner {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

.wpcf7 .wpcf7-spinner:empty {
  display: none;
}

/*----------  Contact Form Suscripción  ----------*/

.suscription-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Suscripción newsletter: centrar mensaje CF7 */
.suscription-box .wpcf7-response-output {
  max-width: 400px;          /* mismo ancho que el input/botón */
  margin: 20px auto 0 auto;  /* centrado */
  box-sizing: border-box;
}

/*----------  Coaching Creativo (override específico) ----------*/

/* Form en todos los estados dentro del contenedor */
.contact-form-coaching-creativo .wpcf7 form,
.contact-form-coaching-creativo .wpcf7 form.sent,
.contact-form-coaching-creativo .wpcf7 form.invalid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-coaching-creativo .wpcf7 form p {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  box-sizing: border-box;
}

.contact-form-coaching-creativo .wpcf7 form input[type="text"],
.contact-form-coaching-creativo .wpcf7 form input[type="email"],
.contact-form-coaching-creativo .wpcf7 form input[type="tel"],
.contact-form-coaching-creativo .wpcf7 form select,
.contact-form-coaching-creativo .wpcf7 form textarea,
.contact-form-coaching-creativo .wpcf7 form.sent input[type="text"],
.contact-form-coaching-creativo .wpcf7 form.sent input[type="email"],
.contact-form-coaching-creativo .wpcf7 form.sent input[type="tel"],
.contact-form-coaching-creativo .wpcf7 form.sent select,
.contact-form-coaching-creativo .wpcf7 form.sent textarea,
.contact-form-coaching-creativo .wpcf7 form.invalid input[type="text"],
.contact-form-coaching-creativo .wpcf7 form.invalid input[type="email"],
.contact-form-coaching-creativo .wpcf7 form.invalid input[type="tel"],
.contact-form-coaching-creativo .wpcf7 form.invalid select,
.contact-form-coaching-creativo .wpcf7 form.invalid textarea {
  width: 100%;
  max-width: 100%;
  margin: 0 0 15px 0;
  padding: 12px 16px;
  border: 2px solid #f9b311;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
  display: block;
}

.contact-form-coaching-creativo .wpcf7 form input[type="submit"],
.contact-form-coaching-creativo .wpcf7 form.sent input[type="submit"],
.contact-form-coaching-creativo .wpcf7 form.invalid input[type="submit"] {
  width: 100%;
  max-width: 100%;
  margin: 30px 0 0 0;
  padding: 16px;
  background-color: #ffb900;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form-coaching-creativo .wpcf7 form input[type="submit"]:hover {
  background-color: #cf961f;
}


/*----------  Blog  ----------*/

#main .post-template-article-single-post .ct-container {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
}
.post-template-article-single-post .ct-container .site-main {
	max-width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
@media (min-width: 768px) {
	.post-template-article-single-post .ct-container .site-main {
		max-width: 680px !important;
		margin: 0 auto;
	}
}
.post-template-article-single-post article.post .entry-header {
	order: -2;
}
.post-template-article-single-post article.post .entry-meta {
	order: 0;
}
.post-template-article-single-post article.post .entry-thumbnail {
	order: 1;
}
.post-template-article-single-post article.post .entry-content {
	order: 2;
}
.post-template-article-single-post article.post .entry-footer {
	order: 4;
}

.post-template-article-single-post .entry-meta {
	font-size: 15px;
	color: #363b40;
	display: flex;
	align-items: center;
	gap: 30px; /* espacio entre autor y fecha */
	margin: 10px 0 30px 0;
	position: relative;
}

.post-template-article-single-post .entry-meta .byline a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
}

.post-template-article-single-post .entry-meta .byline a:hover {
	text-decoration: underline;
}

.post-template-article-single-post .entry-meta .posted-on {
	position: relative;
	padding-left: 60px; /* espacio para la línea */
}

.post-template-article-single-post .entry-meta .posted-on::before {
	content: "";
	position: absolute;
	width: 40px;
	height: 1px;
	background-color: #363b40;
	left: 10px;
	top: calc(50% - 1px);
}

.post-template-article-single-post article.post .entry-content p {
	font-family: "Source Serif Pro", "Roboto", helvetica, arial, sans-serif;
	margin: 0 0 42.8px !important;
	font-size: 20px !important;
	color: #242424 !important;
	line-height: 36px !important;
}
.post-template-article-single-post article.post .entry-content figure {
	margin: 0 0 42.8px !important;
}
.post-template-article-single-post article.post .entry-content li {
	font-size: 20px !important;
}
.post-template-article-single-post h1.entry-title {
	font-family: "Figtree", "Roboto", helvetica, arial, sans-serif;
	font-size: 42px !important;
}
.post-template-article-single-post article.post .entry-content h2 {
	font-family: "Figtree", "Roboto", helvetica, arial, sans-serif;
	font-size: 24px !important;
	font-weight: 700;
	color: #000 !important;
}
.post-template-article-single-post article.post .entry-content figcaption {
	color: #6B6B6B;
}
.post-template-article-single-post article.post .entry-content blockquote {
	position: relative;
	margin: 20px 0px !important;
	margin-left: -3px !important;
	padding: 0px !important;
	padding-left: 3px !important;
	box-shadow: rgb(36, 36, 36) 3px 0px 0px 0px inset;
	background: transparent !important;
}
@media only screen and (min-width: 768px) {
	.post-template-article-single-post article.post .entry-content blockquote {
		margin-left: -23px !important;
		padding-left: 23px !important;
	}
}
.post-template-article-single-post article.post .entry-content blockquote:before,
.post-template-article-single-post article.post .entry-content blockquote:after {
	display: none !important;
}
.post-template-article-single-post article.post .entry-content blockquote p {
	width: fit-content;
	display: flex;
	margin: 0 auto !important;
	font-style: italic;
	position: relative;
	line-height: 1.4;
	background-color: #ffc823 !important;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	font-size: 18px;
	margin: 20px 0;
	padding: 20px 0;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}
@media (min-width: 768px) {
	.post-navigation {
		font-size: 24px;
	}
}

.cat-links {
	color: #fff;
	display: flex !important;
}
.cat-links a:nth-child(1) { order: -10; }
.cat-links a:nth-child(2) { order: -9; }
.cat-links a:nth-child(3) { order: -8; }
.cat-links a:nth-child(4) { order: -7; }
.cat-links a:nth-child(5) { order: -6; }
.cat-links a:nth-child(6) { order: -5; }
.cat-links a:nth-child(7) { order: -4; }
.cat-links a:nth-child(8) { order: -3; }
.cat-links a:nth-child(9) { order: -2; }
.cat-links a:nth-child(10) { order: -1; }

.tags-links {
	color: #fff;
	display: flex !important;
	flex-wrap: wrap;
}
.tags-links a:nth-child(1) { order: -10; }
.tags-links a:nth-child(2) { order: -9; }
.tags-links a:nth-child(3) { order: -8; }
.tags-links a:nth-child(4) { order: -7; }
.tags-links a:nth-child(5) { order: -6; }
.tags-links a:nth-child(6) { order: -5; }
.tags-links a:nth-child(7) { order: -4; }
.tags-links a:nth-child(8) { order: -3; }
.tags-links a:nth-child(9) { order: -2; }
.tags-links a:nth-child(10) { order: -1; }

.gk-related-posts {
	background-color: #fff;
	padding: 60px 0;
}

.ultimos-eventos {
	display: none !important;
}

.archive .ct-container {
	margin-bottom: 150px !important;
}

/*----------  Home Page  ----------*/
/* Hace que el movimiento sea constante, sin aceleración/desaceleración */
.logos-marquee .swiper-wrapper{
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
}
.logos-fade-wrapper {
  position: relative;
  overflow: hidden; /* oculta lo que sobresale */
}

.logos-fade-wrapper::before,
.logos-fade-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-fade-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 100%);
}

.logos-fade-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white 0%, rgba(255,255,255,0) 100%);
}

/*----------  Coaching Creativo  ----------*/
.programa-section .gs-tgl-show {
	text-decoration: underline !important;
    color: #ffb900 !important;
    font-weight: 700 !important;
}

/* Estilos generales del formulario */
.contact-form-coaching-creativo .wpcf7 form, .contact-form-coaching-creativo .wp-block-contact-form-7-contact-form-selector {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Párrafos contenedores */
.contact-form-coaching-creativo .wpcf7 form p {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  box-sizing: border-box;
}

/* Campos de entrada, selects y textarea */
.contact-form-coaching-creativo .wpcf7 form input[type="text"],
.contact-form-coaching-creativo .wpcf7 form input[type="email"],
.contact-form-coaching-creativo .wpcf7 form input[type="tel"],
.contact-form-coaching-creativo .wpcf7 form select,
.contact-form-coaching-creativo .wpcf7 form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e0a93b; /* color borde según screenshot */
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
}

/* Botón de envío */
.contact-form-coaching-creativo .wpcf7 form input[type="submit"] {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem;
  background-color: #e0a93b;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form-coaching-creativo .wpcf7 form input[type="submit"]:hover {
  background-color: #cf961f;
}

/* Ajustes responsivos opcionales */
@media (min-width: 768px) {
  .contact-form-coaching-creativo .wpcf7 form p {
    margin-bottom: 1.2rem;
  }
}

/* Page Servicios para equipos */
.equipos-bio-wrapper ul {
   padding: 16px;
}

