/**
Theme Name: tema-hijo
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tema-hijo
Template: astra
*/

/** AÑADIR FUENTE PARA LOS TÍTULOS */

/* PPTelegraf UltraLight */

@font-face {
    font-family: "PPTelegraf";
    src: url("assets/fonts/PPTelegraf-UltraLight.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* PPTelegraf Regular */
@font-face {
    font-family: "PPTelegraf";
    src: url("assets/fonts/PPTelegraf-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* PPTelegraf UltraBold */
@font-face {
    font-family: "PPTelegraf";
    src: url("assets/fonts/PPTelegraf-UltraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Aplicar PPTelegraf a TODOS los títulos */
h1, h2, h3, h4, h5, h6,
.ast-single-entry-title,
.entry-title,
.widget-title 
.telegraf {
    font-family: "PPTelegraf", sans-serif !important;
}

/* Aplicar PPTelegraf al contador de la home */
.uagb-counter-block-prefix,
.uagb-counter-block-number,
.uagb-counter-block-suffix {
    font-family: "PPTelegraf", sans-serif !important;
    font-weight: 800;
}

/* MENÚ */

.main-header-menu .menu-link {
    margin-left: 20px;
    margin-right: 20px;
	font-family: 'PPTelegraf';
    font-size: 22px;
    font-weight: 600;
	text-transform: lowercase;
}

/* HOME */

/* Título principal */

.titulo-comunicacion {
    text-align: right; 
    display: block;
    line-height: normal;
    margin-top: -35px;
}

/* === Hero === */

.cabecera-especial {
    box-shadow: 0px 0px #00000070;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    margin-left: 0px;
    margin-right: 0px;
    overflow: visible;
    order: initial;
    border-color: inherit;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    background-attachment: scroll;
    background-image: url(/wp-content/uploads/2026/02/fondo-hero-gabineteseis.jpg);
    background-clip: padding-box;
    row-gap: 20px;
    column-gap: 0px;
    position: relative;
}

.cabecera-especial__overlay {
    position: absolute;
    inset: 0;
    background-color: #024973E6;
    z-index: 1;
    max-width: 100%!important;
}

.cabecera-especial__content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1200px!important;
    padding: 20px;
}

.cabecera-especial__title {
    font-weight: 400;
    font-size: 110px;
    margin-top: 150px;
    color: white;
}

/* Botón hero  */

.boton-container {
    justify-content: center;
    align-items: center;
    display: inline-flex;
    width: 100%;
    margin-bottom: 100px;
    margin-top: 25px;
}

.boton-hero {
    border-style: solid;
    border-top-width: 3px;
    border-right-width: 3px;
    border-left-width: 3px;
    border-bottom-width: 3px;
    border-color: var(--ast-global-color-5);
    background-color: transparent;
    color: #ffffff;
    font-family: inherit;
    font-weight: 600;
    line-height: 1em;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-size: 20px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    padding-top: 17px;
    padding-right: 50px;
    padding-bottom: 17px;
    padding-left: 50px;
    justify-content: center;
    align-items: center;
}

.boton-hero:hover {
    background-color: #fff;
    color: var(--ast-global-color-1);
}

/*Slider*/
.webker-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: transparent;
}

.webker-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 48px;

    /* ANIMACIÓN POR DEFECTO: El navegador la ejecutará al cargar */
    animation: scroll-slider 100s linear infinite;

    /* Aceleración por hardware */
    will-change: transform;
    transform: translate3d(-200px, 0, 0); /* Ajusta este valor según necesites */
}

.webker-slide {
    flex: 0 0 auto;
    overflow: hidden;
    color: #ffffff;
    padding: 20px;
    transition: all 0.3s ease;
    align-self: center;
    box-sizing: border-box;
}

.webker-slide img {
    
    max-width: 280px;
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
    max-height: 90px;
}

.page-id-4044 .webker-slide img {
    border: 10px solid #fff;
}

/* Keyframes para la animación de scroll */
@keyframes scroll-slider {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-320px * 64 - 48px * 64), 0, 0);
    }
}

/* Pausar la animación al pasar el ratón */
.webker-slider:hover .webker-track {
    animation-play-state: paused;
}

/* Efecto de aumento leve al pasar el ratón por encima de la imagen */
.webker-slide img:hover {
    transform: scale(1.05);
}

/* === MEDIA QUERIES CABECERA === */

@media (max-width: 1010px) {
    .cabecera-especial {
        min-height: 75vh;
    }
    .cabecera-especial__title {
        font-size: 90px;
        letter-spacing: -2px;
    }
    .cabecera-especial__title .titulo-comunicacion {
        /*margin-top: -20px;*/
    }
    .menu-link {
        margin-left: 11px;
        margin-right: 11px;
    }
}

@media (max-width: 796px) {
    .cabecera-especial {
        min-height: 60vh;
    }
    .cabecera-especial__title {
        font-size: 70px;
        letter-spacing: -3px;
    }
    .cabecera-especial__title .titulo-comunicacion {
        /*margin-top: -30px;*/
    }
    .menu-link {
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (max-width: 602px) {
    .cabecera-especial {
        min-height: 50vh;
    }
    .cabecera-especial__title {
            font-size: 50px;
            line-height: 80px;
            letter-spacing: -1px;
            margin-top: 28%;
        }
}

@media (max-width: 462px) {
    .cabecera-especial {
        min-height: 40vh;
    }
    .cabecera-especial__title {
            font-size: 40px;
            line-height: 80px;
            letter-spacing: -1px;
            margin-top: 35%;
        }
    .boton-hero {
        font-size: 15px;
    }
}

/* === MEDIA QUERIES EQUIPO === */
@media (max-width: 976px) {
    h3.uagb-team__title {
        font-size: 20px;
        text-align: left;
    }

    p.uagb-team__desc {
        font-size: 16px!important;
        text-align: left;
        line-height: 1.5em;
    }

    .uagb-team__prefix {
        font-size: 16px !important;
        text-align: left;
        line-height: 2.5em;
        display: block;
    }

    .wp-block-uagb-team.uagb-team__image-position-left ul.uagb-team__social-list{
        justify-content: left;
    }

    .wp-block-columns.are-vertically-aligned-center {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/*****ORDEN INVERSO COLUMNAS*****/
/* Para pantallas con un ancho mínimo de 768px */
@media (min-width: 768px) {
    .wp-block-columns.orden-inverso-columnas>.wp-block-column:nth-child(1) {
        order: 2;
    }

    .wp-block-columns.orden-inverso-columnas>.wp-block-column:nth-child(2) {
        order: 1;
    }
}
