/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Tema hijo de GeneratePress para LOMISA.
Author: LOMISA
Template: generatepress
Version: 1.0
Text Domain: generatepress-child
*/

/* =========================================================
   LOMISA | SISTEMA TIPOGRÁFICO GLOBAL
   ========================================================= */

:root {
	
	/* ESPACIADO HORIZONTAL GLOBAL */
	--lm-space-inline: clamp(70px, 7vw, 125px);

    /* =====================================================
       01 · TEXTOS GENERALES
       ===================================================== */

    --lm-font-body: 17px;
    --lm-line-body: 1.4;
	--lm-color-text: #3f6ea1;
	
/* =====================================================
       01A · COLOR DE ACENTO
       ===================================================== */
	
     --lm-color-accent: #5DC2FC;



    /* =====================================================
       02 · TÍTULOS HERO
       Exclusivos de las cabeceras de página
       ===================================================== */

    --lm-font-hero-title: clamp(46px, 3.1vw, 54px);
    --lm-font-hero-title-wide: clamp(46px, 3.1vw, 54px);
    --lm-font-hero-title-immersive: clamp(46px, 3.1vw, 54px);

    --lm-line-hero-title: 1.12;


    /* =====================================================
       03 · TÍTULOS DE CONTENIDO
       Para los patrones interiores de la web
       ===================================================== */

    /* TÍTULO PRINCIPAL DE SECCIÓN */

    --lm-font-section-title: clamp(36px, 2.55vw, 48px);
    --lm-line-section-title: 1.10;


    /* TÍTULO DE SECCIÓN DESTACADO */

    --lm-font-section-title-lg: clamp(36px, 2.55vw, 48px);
    --lm-line-section-title-lg: 1.06;


    /* TÍTULO DE BLOQUE O SUBSECCIÓN */

    --lm-font-block-title: 24px;
    --lm-line-block-title: 1.25;


    /* TÍTULO DE TARJETA O PANEL */

    --lm-font-card-title: 20px;
    --lm-line-card-title: 1.30;


	

    /* =====================================================
       04 · ETIQUETAS SUPERIORES / EYEBROW
       ===================================================== */

    --lm-font-eyebrow: 14px;
    --lm-line-eyebrow: 1.2;
    --lm-tracking-eyebrow: .18em;


    /* =====================================================
       05 · ENLACES DE ACCIÓN
       ===================================================== */

    --lm-font-link: 13px;
    --lm-line-link: 1.2;
    --lm-tracking-link: .12em;


    /* =====================================================
       06 · PESOS TIPOGRÁFICOS
       ===================================================== */

    --lm-weight-regular: 400;
    --lm-weight-medium: 400;
    --lm-weight-semibold: 400;
	
	
    /* =====================================================
       07 · FONDOS
       ===================================================== */

	--lm-color-bg-soft: #f5fbff;
	--lm-color-bg-soft-blue: #daeaf6;

}


/* =========================================================
   TABLET | 769px - 1280px
   ========================================================= */

@media (min-width: 769px) and (max-width: 1280px) {

    :root {

		/* ESPACIADO HORIZONTAL GLOBAL */
		--lm-space-inline: 7vw;
		
        /* TEXTOS GENERALES */

        --lm-font-body: 17px;


        /* TÍTULOS HERO */

        --lm-font-hero-title: 46px;
        --lm-font-hero-title-wide: 46px;
        --lm-font-hero-title-immersive: clamp(34px, 4.5vw, 48px);

        --lm-line-hero-title: 1.12;


        /* TÍTULOS DE CONTENIDO */

        --lm-font-section-title: clamp(34px, 3.5vw, 44px);
        --lm-line-section-title: 1.10;

        --lm-font-section-title-lg:  clamp(34px, 3.5vw, 44px);
        --lm-line-section-title-lg: 1.06;

        --lm-font-block-title: 22px;
        --lm-line-block-title: 1.25;

        --lm-font-card-title: 19px;
        --lm-line-card-title: 1.30;


        /* ETIQUETAS SUPERIORES */

        --lm-font-eyebrow: 13px;


        /* ENLACES DE ACCIÓN */

        --lm-font-link: 13px;

    }

}


/* =========================================================
   MÓVIL | hasta 768px
   ========================================================= */

@media (max-width: 768px) {

    :root {
		
		/* ESPACIADO HORIZONTAL GLOBAL */
		--lm-space-inline: 28px;

        /* TEXTOS GENERALES */

        --lm-font-body: 16px;
        --lm-line-body: 1.65;


        /* TÍTULOS HERO */

        --lm-font-hero-title: clamp(34px, 9vw, 42px);
        --lm-font-hero-title-wide: clamp(38px, 10.8vw, 46px);
        --lm-font-hero-title-immersive: clamp(34px, 9.5vw, 42px);

        --lm-line-hero-title: 1.10;


        /* TÍTULOS DE CONTENIDO */

        --lm-font-section-title: 30px;
        --lm-line-section-title: 1.12;

        --lm-font-section-title-lg: 34px;
        --lm-line-section-title-lg: 1.08;

        --lm-font-block-title: 21px;
        --lm-line-block-title: 1.25;

        --lm-font-card-title: 19px;
        --lm-line-card-title: 1.30;


        /* ETIQUETAS SUPERIORES */

        --lm-font-eyebrow: 15px;
        --lm-line-eyebrow: 1.2;
        --lm-tracking-eyebrow: .16em;


        /* ENLACES DE ACCIÓN */

        --lm-font-link: 15px;
        --lm-line-link: 1.2;
        --lm-tracking-link: .10em;

    }

}

@media (max-width: 380px) {
    :root {
        --lm-space-inline: 22px;
    }
}


/* TÍTULOS DE COMPONENTES · PESO GLOBAL · HERO EXCLUIDO */

:root :is(
    :is(#lm-split-card, .lm-split-card) .lm-split-card__title,
    .lm-accordion-grid__item-title,
    .lm-accordion-grid__title,
    .lm-article__heading,
    .lm-asymmetric-grid__card-title,
    .lm-asymmetric-grid__primary-title,
    .lm-asymmetric-grid__title,
    .lm-contact-layout__title,
    .lm-feature-aside__item-title,
    .lm-feature-aside__title,
    .lm-feature-aside__title-accent,
    .lm-feature-band__aside-title,
    .lm-feature-band__highlight-title,
    .lm-feature-band__item-title,
    .lm-feature-band__title,
    .lm-feature-band__title span,
    .lm-feature-band__title-accent,
    .lm-feature-side-grid__item-title,
    .lm-feature-side-grid__title,
    .lm-feature-side-grid__title-accent,
    .lm-feature-strip__title,
    .lm-feature-structure__item-title,
    .lm-feature-structure__title,
    .lm-feature-structure__title-accent,
    .lm-feature-structure__top-title,
    .lm-icon-strip__heading,
    .lm-icon-strip__subtitle,
    .lm-icon-strip__title,
    .lm-icon-strip__title-accent,
    .lm-legal__title,
    .lm-legal .lm-legal__content h3,
    .lm-mega-card__title,
    .lm-mega-company__featured-title,
    .lm-mega-menu__title,
    .lm-mega-news__featured-title,
    .lm-mega-news__empty h3,
    .lm-panel-grid-media__item-title,
    .lm-panel-grid-media__title,
    .lm-panel-grid__item-title,
    .lm-panel-grid__title,
    .lm-single-post__related-heading,
    .lm-single-post__related-title,
    .lm-single-post__title,
    .lm-split-card__title,
    .lm-split__feature-title,
    .lm-split__link-title,
    .lm-split__title,
    .lm-split__title-accent,
    .lomisa-footer-heading,
    .lomisa-info-section-aside-title,
    .lomisa-info-section-item-title,
    .lomisa-info-section-title,
    .lomisa-info-title,
    .lomisa-showcase__card-title,
    .lomisa-showcase__title
):not(:where(.hero-content, .hero-content *)) {
    font-weight: var(--lm-weight-medium, 500) !important;
}



/* Ocultar imagen destacada automática en páginas */
body.page .featured-image.page-header-image {
    display: none !important;
}