/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* global */
p:last-child {
	margin-bottom:0;
}

.position-initial {
	position: initial;
}

.grecaptcha-badge {
	display: none !important;
}

.otgs-development-site-front-end {
	display: none !important;
}

.full-box-link {
	cursor: pointer;
}

.elementor-widget-text-editor strong,
.elementor-widget-text-editor b {
	font-weight: 600;
}

.elementor-widget-text-editor .block-yellow p,
.block-yellow .elementor-widget-text-editor p {
	font-weight: 400 !important;
}




/* sobre mí */
@media (max-width:1024px) {
	.sobre-mi-bar {
		background-image: linear-gradient(180deg, #F79E1B 0%, var(--e-global-color-accent) 100%) !important;
	}
}




/* home */
@media (min-width:1025px) {
	.home header .logo {
		display: none;
	}
}



/* link animation */
.link-underline:not(.elementor-widget-button) a,
.elementor-widget-button.link-underline .elementor-button-text {
	position: relative;
}

.link-underline:not(.elementor-widget-button) a:after,
.elementor-widget-button.link-underline .elementor-button-text:after {
	content:' ';
	position: absolute;
	width:100%;
	height: 1px;
	background:var(--e-global-color-f0c0014);
	top:calc(100% - 4px);
	left:0;
	transition: top 0.15s ease-in-out;
}

.link-underline:not(.elementor-widget-button) a:hover:after,
.elementor-widget-button.link-underline a:hover .elementor-button-text:after {
	top:calc(100% + 2px);
}






/* header */
@media (max-width:1200px) {
  header > div > div {
	--column-gap:30px;
  }
}


/* Sticky Header Speed Control */
#hide-header{
  position: fixed;          /* o sticky según tu layout */
  top: 0; left: 0; right: 0;
  transform: translateY(0);
  transition: transform .25s ease;
  will-change: transform;
  z-index: 20;
}

/* Estado oculto: se desplaza su propia altura */
#hide-header.is-hidden{
  transform: translateY(-100%);
}

/* Respeta usuarios que prefieren menos animación */
@media (prefers-reduced-motion: reduce){
  #hide-header{ transition: none; }
}
/*
#hide-header .header-blur {
  webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);

}
*/




/* wpml */
.wpml-ls-legacy-list-horizontal {
  margin-bottom:0 !important;
}

.wpml-ls-legacy-list-horizontal  span {
  display: block;
  line-height: 0.8;
}

.wpml-ls-legacy-list-horizontal li:not(:first-child) {
  padding-left: 6px;
}

.wpml-ls-legacy-list-horizontal li:not(:last-child) {
  border-right: 2px solid #B3B2B2;
  padding-right: 6px;
}

.wpml-ls-legacy-list-horizontal a {
  padding:0;
  font-weight: 300;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-current-language a {
	color: var(--e-global-color-f0c0014) !important;
	font-weight: 400;
}




/* off canvas */

header .elementor-widget-off-canvas {
	z-index: 10;
}

header .e-off-canvas .e-off-canvas__content {
  padding-top:100px !important;
}

header .e-off-canvas  {
  z-index: 12 !important;
}




/* button prototype */
.button-prototype .elementor-button-icon {
	font-size:12px;
}




/* proyecto */
.proyecto_feature:not(:has(.proyecto_feature_value)) {
	display: none !important;
}

.elementor-widget-post-navigation .elementor-post-navigation__prev {
	display: none !important;
}

.elementor-post-navigation .elementor-post-navigation__next a {
	justify-content: flex-start !important;
}

.elementor-post-navigation .elementor-post-navigation__link {
	width:100% !important;
}

.next-project-btn {
	font-family: var(--e-global-typography-91fb541-font-family), Sans-serif;
	font-size: 48px;
	color: var(--e-global-color-primary);
	font-weight: 300;
	position: relative;
	line-height: 1;
}

.next-project-btn:after {
	content:' ';
	background-image:url('assets/img/icon-arrow-next-black.svg');
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center center;
	width:50px;
	height:100%;
	position: absolute;
	left:calc(100% + 10px);
}

@media (max-width:1024px) {
	.next-project-btn {
		font-size: 32px;
	}
	
	.next-project-btn:after {
		width:30px;
	}
}



/* proyectos list */
body:not(.logged-in) .e-loop-item.post-password-required .btn_saber_mas {
	display: none !important;
}

.e-loop-item:not(.post-password-required) .btn_contactar,
.logged-in .e-loop-item .btn_contactar {
	display: none !important;
}




/* protected post */
body:not(.elementor-editor-active).protected-post {
	background-color: var(--e-global-color-e01b9c3);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body:not(.elementor-editor-active).protected-post .protected-container p {
	color: var(--e-global-color-f0c0014);
}

body:not(.elementor-editor-active).protected-post .protected-container ,
body:not(.elementor-editor-active).protected-post footer {
	margin-top:auto;
}

body:not(.elementor-editor-active).protected-post .protected-container {
	padding:20px;
	text-align: center;
}

body:not(.elementor-editor-active).protected-post .protected-container .title {
	font-family: var(--e-global-typography-text-font-family);
	font-size: 38px;
	font-weight: 700;
	line-height: 1.1;
	margin:0 auto;
	color:var(--e-global-color-primary);
	max-width: 600px;
}

html[lang='en-US'] body:not(.elementor-editor-active).protected-post .protected-container .title {
	max-width: 500px;
}

@media (max-width:1024px) {
	body:not(.elementor-editor-active).protected-post .protected-container .title {
		font-size: 23px;
	}
}

body:not(.elementor-editor-active).protected-post .protected-container form {
	display: flex;
	gap:10px;
	align-items:center;
}

body:not(.elementor-editor-active).protected-post .protected-container input[name='post_password'] {
	border:1px solid #D4D4D4;
	border-radius: 6px;
	font-size: 16px;
}

body:not(.elementor-editor-active).protected-post .protected-container button {
	font-family: var(--e-global-typography-text-font-family);
	background-color:var(--e-global-color-primary);
	border:0;
	color:var(--e-global-color-f0c0014);
	font-size: 16px;
	border-radius: 6px;
	padding:8px 30px;
}

body:not(.elementor-editor-active).protected-post .protected-container button:hover {
	background-color:var(--e-global-color-3f64702);
}






/* cursor */
@media (min-width:1024px) {
  .cursor {
	width: 26px;
	height: 26px;
	
	background-image:url('assets/img/cursor.svg');
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(-50%) translateY(-50%);
	mix-blend-mode: difference;
	z-index: 2200;
  }
}
