/*
Theme Name: Visionarias Vantage Child
Author: SiteOrigin
Author URI: https://siteorigin.com/
Theme URI: https://siteorigin.com/theme/vantage
Description: Visionarias Vantage Child Theme
Version: 1.0.0
Template: vantage
Text Domain: vantage
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

#main {
    padding: 0;
    flex: 1; 
}
body.responsive #page-wrapper {
    max-width: 1600px;
    width: auto;
    overflow-x: hidden;
    min-height: 100vh;        /* Asegura que el body ocupe al menos toda la ventana */
    display: flex;            /* Activa flexbox en el body */
    flex-direction: column;   /* Coloca los hijos en columna (de arriba a abajo) */
    margin: 0;   
}

body.responsive.layout-full #page-wrapper .full-container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}
/* Modificaciones para los "services" de portada (que proponemos...) */
#page-wrapper h4 {
    font-weight: 600 !important;
}
.widget_circleicon-widget .circle-icon-box p.text {
    font-size: 14px;
    line-height: 1.8em;
}
.widget_circleicon-widget .circle-icon-box.circle-icon-position-left .circle-icon {
    left: 0;
    margin-top: -15px;
    top: 0;
}
/*Modificaciones para últimas notícias*/
a.button:hover, button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .post-navigation a:hover, #image-navigation a:hover, article.post .more-link:hover, article.page .more-link:hover, .paging-navigation a:hover, .woocommerce #page-wrapper .button:hover, .woocommerce a.button:hover, .woocommerce .checkout-button:hover, .woocommerce input.button:hover, .woocommerce input.button:disabled:hover, .woocommerce input.button:disabled[disabled]:hover, #infinite-handle span:hover {
    background: none !important; 
}


/* Modificaciones para la cabecera a ancho completo */
/* Nueva cabecera estilo visionarias.es */
#masthead.site-header .hgroup .site-title {
    text-transform: uppercase;
}

#masthead .logo-wrapper {
    width: 300px;
}

#header-top .pagetop-inner {
    color: #8a949b;
    margin: 0 auto;
    padding-top:10px;
    width: 100%;
    text-align: right;
}

#header-top .pagetop-inner a {
    text-decoration: none;
    color: #8a949b;;
}

#header-top .pagetop-inner i {
    padding: 0 3px 0 8px;
}

#masthead .hgroup {
    align-items: center;
    justify-content: space-between;
    padding-top:20px;
    padding-bottom: 20px;
}
.logo-wrapper {
    align-items: center;
}
#masthead .header-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#masthead .header-flex nav {
    margin-top: 40px;
    justify-content: space-around;
    text-transform: uppercase;
    margin-left: auto;
    display: flex;
}

#masthead nav ul.sub-menu {
    border-bottom: 3px #fff solid;
}

#masthead nav ul > li > ul > li a{
    height: auto;
    width: auto;;
    padding: 12px 12px 12px 37px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);      
    text-decoration: none;
    font-size: 13px;
    line-height: 1.8em;
}
#masthead nav ul > li > ul > li{
    width: 20em;
}

@media screen and (max-width: 1490px) {
    #masthead .header-flex {
        display: flex;
        flex-direction: column; /* Apila los elementos verticalmente */
    }
    #masthead .header-flex nav {
        margin-top: 0;
    }
    
}

/* Estilos para el efecto caret en submenús */
/* Estado inicial del caret (oculto fuera del elemento) */
.main-navigation ul ul li a:before {
    content: "\f105"; /* Código Unicode para fa-caret-right */
    font-family: "FontAwesome"; /* o "Font Awesome 5 Free" dependiendo de tu versión */
    font-weight: 900; /* Necesario para Font Awesome 5+ */
    position: absolute;
    left: 15px; /* Posición final del caret */
    top: 50%;
    transform: translateX(-100%) translateY(-50%); /* Inicialmente fuera de la vista */
    color: inherit;
    font-weight: bold;
    transition: transform 0.3s ease;
    opacity: 0; /* Inicialmente invisible */
}

/* Al hacer hover, el caret se mueve de izquierda a derecha (entra) */
.main-navigation ul ul li a:hover:before,
.main-navigation ul ul li.current-menu-item a:before,
.main-navigation ul ul li.current-menu-parent a:before,
.main-navigation ul ul li.current-menu-ancestor a:before {
    transform: translateX(0) translateY(-50%); /* Mueve el caret a su posición final */
    opacity: 1; /* Hace visible el caret */
}

/* Añadir caret-down a elementos del menú principal con submenús */
.main-navigation ul > li.menu-item-has-children > a:after {
    content: "\f0d7"; /* Código Unicode para fa-caret-down */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    margin-left: 5px; /* Espacio entre el texto y el icono */
    display: inline-block;
    vertical-align: middle;
}

/*Modificaciones para el menu movil*/
.mobilenav-main-link-text {
    display: none;
}
.mobile-nav-icon:before
 {
    font-size: 20px;
    content: "\f0c9";
    border: 1px solid rgb(138, 148, 155);
    color: rgb(138, 148, 155);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 5px 10px;
}

body > div.mobile-nav-frame > div.title > h3, body > div.mobile-nav-frame ul > li.menu-item > a.link {
  text-shadow: none;
  font-family: Montserrat;
  text-transform: uppercase;
  font-size: 16px;
  color: #0a0a0a;
  font-weight: 900;
}

/* Modulo últimas noticias */
#page-wrapper .last-post-news h3 {
    font-weight: 700;
    margin: 30px 0 50px 0;
    text-align: center;
    text-transform: none;
    color: #243743;;
    font-size: 24px;
}
.owl-item .carousel-slider__post-content {
    background-color: #fff;
    border-radius: 0;
    justify-content: normal;
}
.owl-item .carousel-slider__post-image {    
    border-radius: 0;
    border-bottom: 2px #eaeaea solid;
}
.owl-item  .carousel-slider__post {
    box-shadow: none;
}
.owl-item .text-holder {
    padding: 30px;
}
#page-wrapper .owl-item a.carousel-slider__post-title h2 {
    font-weight: 600;
    font-size: 18px;
    margin-top: 0;
    line-height: 31px;
    text-transform: none;
}
.owl-item time {
    margin: 0 0;
    padding-bottom: 7px;
    padding-top: 7px;
    font-size: 0.8em;
    color: #8a949b;
}
.owl-item time > i {
    color: #28b78d;
    margin-right: 6px;
}
.owl-item .carousel-slider__post-publication-meta{
    margin-bottom: 12px;
}
.owl-item .carousel-slider__post-excerpt {
    color: #8a949b;
    font-size: 14px; 
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.8em;
    margin: 0 0 1em;
    padding: 0;
    vertical-align: top;
    word-wrap: break-word;
}

a.owl-read-more  {
	background-color:#686868;
	border-radius:28px;
	border:1px solid #8a949b;
	display:inline-block;
	cursor:pointer;
	color:#ffffff !important;
	font-size:12px;
	padding:8px 36px;
	text-decoration:none;
	text-shadow:0px 1px 0px #2f6627;
	text-transform: uppercase;
	font-weight: 600;
}
a.owl-read-more:hover {
	background-color:#8a949b; 
}


/*ajuste footer*/

footer {
  border-top: 30px solid #fff;
  margin-top: auto;         /* Empuja el footer hacia abajo si hay espacio */
}

#footer-widgets .widget .widget-title {
    border-bottom: 3px solid #fff;
    font-size:16px;
    color: #fff;
}
#footer-widgets .jetpack_widget_social_icons svg {
    color: #fff;
    fill: #fff;
}
#footer-widgets .jetpack_widget_social_icons li {
    margin-right: 12px;
}

#footer-widgets .widget.jetpack_widget_social_icons{
    width: 20%;
}

#footer-widgets .widget.widget_siteorigin-panels-builder{
    width: 10%;
}

#footer-widgets .widget.widget_media_image {
    width: 35%;
}

#copyright {
    background-color: #111111; 
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 16px;
    padding-bottom: 16px;
}

#copyright .copyright-wrap {
    color: #fff;
}
.copyright-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-family: Montserrat;
}
.copyright-wrap a { 
    color: #fff;
    text-decoration: none;
}
.copyright-wrap a:hover, .copyright-wrap a:active {
    color: #fff;
}
.copyright-wrap .widget {
    margin: 0;
}

/*Breadcrumbs */
#navxt-breadcrumbs {
    background: none;
    margin-bottom: 14px;
    margin-top: 5px;
    font-weight: 400;
    color: #474747; 
    font-size: 12px;
    font-style: italic;
    padding: 12px 0;
}
#navxt-breadcrumbs a {
    color: #8a949b;
}
#navxt-breadcrumbs span {
  margin: 0 4px;
}
#navxt-breadcrumbs span:first-child {
  margin-left: 0;
}
#navxt-breadcrumbs a:hover, #navxt-breadcrumbs a:active {
    color: #28b78d;
}

/*Entry-main */
.home #page-wrapper .site-content {
    background: none;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}
#page-wrapper .site-content {
    background-color: #fff;
    padding:3%;
    margin: 30px 0;
    border: 1px solid #eaeaea;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.06);
}
#page-wrapper .entry-main .entry-title {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 15px;
    word-wrap: break-word;
    font-weight: 700;
    border-bottom: 2px solid #f6f6f6;
    font-weight: 700;
}
#page-wrapper .entry-content p {
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.8em;
    margin: 0 0 1em;
    padding: 0;
    vertical-align: top;
    word-wrap: break-word;
}
#page-wrapper .entry-content a {
    font-weight: 600;
}

/* estilo de sidebar */
#primary {
  width: 75%;
}
#secondary {
  width: 23%; 
}
#main #secondary.widget-area aside.widget {
    padding: 30px 30px 40px 30px;
    background-color: #fff;
    margin: 30px 0;
    border: 1px solid #eaeaea;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.06);
}
#main #secondary.widget-area aside.widget .widget-title-container {
    line-height: 30px;
    margin-bottom: 8px;
    padding-left: 0;
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

#main #secondary.widget-area aside.widget h3.widget-title {
    font-size: 18px;
    font-weight: 700;
    padding: 0;
    margin-bottom:6px;
}
#main #secondary.widget-area .widget-separator {
    width: 30px;
    margin: 0 0 10px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    border-bottom: 2px solid;
    border-color: #28b78d;
}

#main #secondary.widget-area input#search-form {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 50px;
    box-sizing: border-box;
    color: #8a949b;
    font-size: 14px;
    font-weight: 300;
    height: 50px;
    line-height: 50px;
    outline: 0 none;
    padding: 0 28px 0 15px;
    width: 100%;
}

#main #secondary .widget_recent_entries li  {
    border-bottom: 1px solid #eaeaea;
    display: block;
    padding: 10px 0;
}
#main #secondary .widget_recent_entries li a {
    color: #8a949b;  
}
#main #secondary .widget_recent_entries li a:hover, #main #secondary .widget_recent_entries li a:active  {
    color: #28b78d;
    transition: color 125ms linear;
}

/* Ocultar imagen destacada en single post y en pagina de categorias*/
.single-post .entry-thumbnail, .archive.category .entry-thumbnail {
    display: none;
}

/* Espacio del time en el entry-meta*/
.single-post .entry-meta {
    margin-top:6px;        
}

/* Estilo de navegación entre posts */
.single-post ul.link-pages {
	padding:0;
	margin: 0 0 5%;
}

.single-post ul.link-pages:before,
.single-post ul.link-pages:after  {
	content: "";
    display: table;
}

.single-post ul.link-pages:after  {
	clear: both;
}

.single-post ul.link-pages li {
	list-style-type: none;
	margin:0;
	padding:0;
}

.single-post .link-pages li {
    display: inline;
    float: left;
    text-align: center;
    width: 50%;
}

.single-post ul.link-pages li a {
    display: block;
    min-height: 73px;
    padding: 16px 44px 24px;
    position: relative;
    background: #fff;
    border: none;
    font-weight: normal;
    transition: background-color 400ms linear, color 400ms linear;
}
.single-post ul.link-pages li span.label {
    color: #28b78d;
    padding-top: 8px;
    font-weight: 600;
    
}
.single-post ul.link-pages li a:hover {
    background: #eaeaea !important;
}

.single-post ul.link-pages li i {
    color: #000000;
    font-size: 18px;
    position: absolute;
    top: 50%;
}

.single-post ul.link-pages li.next-link i {
    right: 10px;
}

.single-post ul.link-pages li.previous-link i {
	left: 10px;
}

.single-post ul.link-pages li.next-link { 
	float: right;
}

.single-post ul.link-pages li.previous-link {
	float: left;
}

.single-post ul.link-pages li a span {
    color: #000000;
    font-size: 14px;
	line-height: 2em;
	vertical-align: baseline;
}

.single-post ul.link-pages li {
    text-align: center;
}

.single-post ul.link-pages {
    margin: 40px 0;
    border-bottom: 1px solid #EAEAEA;
}







