/**
Theme Name: webker-tema-hijo
Author: Iker Ruiz Pou
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: webker-tema-hijo
Template: astra
*/

/**********GENERAL**********/
#content ul {
    margin-left: 1rem!important;
}

/**********PAGINAS DE SERVICIOS**********/

.wp-block-latest-posts {
    justify-content: center;
}

/*****FORMULARIOS PAGINAS DE SERVICIOS*****/

/* Estilo general del bloque del formulario */
.bloque-formulario-servicios {
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    padding: 40px !important;
    transition: all 0.3s ease !important;
}

/* Efecto hover en el bloque */
.bloque-formulario-servicios:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Botón de envío */
.ff-btn-submit {
    width: 100%;
    padding: .75rem !important;
}

/*****OTROS SERVICIOS RELACIONADOS PAGINAS DE SERVICIOS*****/
/* Contenedor general de la sección */
.bloque-otros-servicios-relacionados {
    /*padding: 80px 0!important;*/
    background-color: #f9f9f9;
}

/* Estilo de las tarjetas */
.bloque-otros-servicios-relacionados .uagb-infobox__content-wrap {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Efecto hover en las tarjetas */
.bloque-otros-servicios-relacionados .uagb-infobox__content-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Descripción del servicio */
.bloque-otros-servicios-relacionados .uagb-ifb-desc {
    font-size: 1rem;
    color: #555;
    padding: 0 20px;
    text-align: center;
    line-height: 1.5;
}

/* Botón Leer Más */
.bloque-otros-servicios-relacionados .uagb-infobox-cta-link {
    display: inline-block;
    color: #fff;
    text-align: center;
    margin: 20px auto;
    transition: background-color 0.3s ease;
}

.bloque-otros-servicios-relacionados .wp-block-columns .wp-block-column .wp-block-uagb-info-box {
    height: 100%;
}

/***** ENTRADAS BLOG *****/
@media (max-width:544px) {
    .ast-separate-container .ast-article-post,
    .ast-separate-container .ast-article-single,
    .ast-separate-container .comments-title,
    .ast-separate-container .ast-archive-description {
        padding: 3.5em 1em;
    }

}

@media (min-width:993px) {
    .single-post.ast-separate-container #primary,
    .single-post.ast-separate-container.ast-left-sidebar #primary,
    .single-post.ast-separate-container.ast-right-sidebar #primary {
        margin: 12em 0;
        padding: 0;
    }
    .page-id-2683 #content .ast-container #primary #main article,
    .page-id-2685 #content .ast-container #primary #main article,
    .page-id-5313 #content .ast-container #primary #main article,
    .page-id-5350 #content .ast-container #primary #main article,
    .page-id-6205 #content .ast-container #primary #main article,
    .page-id-6207 #content .ast-container #primary #main article {
        margin-top: 8em;
    }
}


/***** SIDEBAR BLOG IMPROVED *****/
.sidebar-main {
    border: 1px solid #ddd;
    /* Subtle border for definition */
    border-radius: 8px;
    /* Rounded corners for a softer look */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
    margin-bottom: 20px;
    /* Space below the sidebar */
}

.sidebar-main aside {
    padding: .75rem !important;
}

.sidebar-main .menu {
    list-style: none;
    /* Remove default list styling */
    padding-left: 0;
    /* Remove default padding */
    margin: 0;
    /* Remove default margin */
}

.sidebar-main .menu-item {
    padding-left: 10px !important;
}

.sidebar-main .menu-link {
    color: #333;
    /* Text color */
    font-weight: 500;
    /* Slightly bold font for better readability */
    padding: 8px 12px;
    /* Spacing around links */
    display: block;
    /* Ensures full clickable area */
    border-radius: 4px;
    /* Rounded corners */
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Smooth transition on hover */
    text-decoration: none;
    /* Remove underline from links */
}

.sidebar-main .menu-link:hover {
    background-color: #ff6600;
    /* Highlight background on hover */
    color: #fff;
    /* White text on hover */
}

.sidebar-main .sub-menu {
    padding-left: 15px;
    /* Indentation for sub-menus */
    margin-top: 5px;
    /* Spacing above sub-menu items */
    border-left: 1px solid #ff6600;
    /* Vertical line for visual separation */
}

.sidebar-main .sub-menu .menu-link {
    padding: 6px 10px;
    /* Reduced padding for nested links */
    font-size: 0.95em;
    /* Slightly smaller font for differentiation */
}

.sidebar-main .ast-arrow-svg {
    width: 16px;
    height: 16px;
    fill: #333;
    /* Arrow color */
    margin-left: 5px;
    /* Spacing between text and arrow */
    transition: transform 0.3s ease;
    /* Animation for rotating arrows */
    display: none;
    /* Hide by default */
}

.sidebar-main .menu-item-has-children>.menu-link::after {
    content: ' ▼';
    /* Arrow indicator for collapsible menu items */
    font-size: 0.8em;
    margin-left: 5px;
    /* Space between text and arrow */
}

.sidebar-main .menu-item-has-children[aria-expanded="true"]>.menu-link::after {
    content: ' ▲';
    /* Change arrow direction when expanded */
}

.sidebar-main .menu-item-has-children[aria-expanded="true"] .ast-arrow-svg {
    transform: rotate(180deg);
    /* Rotate arrow when expanded */
}

.sidebar-main .menu-item-has-children:hover>.menu-link {
    background-color: #ff9f5e;
    /* Slightly different color for parent item hover */
}

.sidebar-main .comment-link {
    display: none;
    /* Hide comment link */
}

.sidebar-main aside {
    margin-bottom: 0 !important;
}

.sidebar-main aside .widget_nav_menu {
    padding: 1rem !important;
}

/*****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;
    }
}

/*****Social Share*****/
.social-share {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-share a {
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
}

.social-share a:hover {
    background-color: #ff6600;
    color: #fff;
}

/*****Footer*****/
#menu-footer-enlaces-interes-eus li .menu-link,
#menu-footer-textos-legales-eus li .menu-link {
    color: var(--ast-global-color-3);
}

#menu-footer-enlaces-interes-eus li .menu-link:hover,
#menu-footer-textos-legales-eus li .menu-link:hover {
    color: var(--ast-global-color-0);
}

.ast-no-widget-row {
    display: none;
}
/*****Cookies*****/
#cmplz-manage-consent .cmplz-btn {
    font-weight: 400;
    font-size: .9rem;
    padding: 12px;
}