/*
Theme Name: Monlau Template
Theme URI: h
Description: 
Author: Monlau
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monlau-template
Tags: elementor, blank, minimal

Aquest és un theme buit dissenyat per funcionar exclusivament amb Elementor.
No conté estils propis - tot el disseny es gestiona des d'Elementor.
*/

/* Reset mínim */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

b {
    font-weight: 700;
    &.blue{
        color: #08539D;
    }
    &.green{
        color: #3DA955;
    }
}

html {
    font-size: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

/* Assegurar que Elementor tingui control total */
.elementor-page {
    width: 100%;
    margin: 0;
    padding: 0;
}

#menu-scroll {
    opacity: 0;
    z-index: 98;
    transition: opacity 0.3s ease;
}

.img-blur {
    width: 100%;
    height: 400px;
    -webkit-mask-image: url("assets/img/mask.png");
    mask-image: url("assets/img/mask.png");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center 100%;
    mask-position: center 100%;
    -webkit-backdrop-filter: blur(2rem);
    backdrop-filter: blur(2rem);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1
}

div.wpforms-container-full input[type=text],
div.wpforms-container-full input[type=email] {
    height: 9.1rem;
    width: 100%;
    max-width: 100%;
    padding-top: 4rem !important;
    padding-bottom: 1.9rem !important;
    padding-right: 2.9rem !important;
    padding-left: 2.9rem !important;
    font-weight: 300 !important;
}

div.wpforms-container-full textarea {
    width: 100%;
    padding-top: 4rem !important;
    padding-bottom: 1.9rem !important;
    padding-right: 2.9rem !important;
    padding-left: 2.9rem !important;
    margin-bottom: 2rem !important;
    font-weight: 300 !important;
}

.wpforms-container .wpforms-form .wpforms-field-label,
.wpforms-container .wpforms-form .wpforms-field-sublabel,
.wpforms-container .wpforms-form .wpforms-field-description,
.wpforms-container .wpforms-form textarea,
.wpforms-container .wpforms-form li,
.wpforms-container .wpforms-form th {
    margin-bottom: -3.5rem;
    padding-left: 2.9rem;
}

.btn.menu-item{
    background-color: #08539D;
    font-size: 1.6rem;
    font-weight: 500;
    font-style: italic;
    border-radius: 3rem;
    transition: all 0.3s ease-in-out;
    a{
        color: #FFFFFF !important;
        transition: all 0.3s ease-in-out;
    }
    &:hover{
        opacity: 0.8;
    }
}

.btn-post a span{
    align-self: center;
}
.btn-post{
    .elementor-button-icon{
        svg{
            width: 2.5rem;
        }
    }
} 



.difuminado{
    position: relative;

    /* ::after: overlay con blur más intenso (5px) revelado gradualmente mediante mask-image */
    &::after{
        content: "";
        position: sticky;
        bottom: 0;
        left: 0;
        margin-left: -20px;
        display: block;
        width: 110%;
        height: 25dvh;
        pointer-events: none;
        z-index: 3;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0.6) 60%, rgba(255,255,255,0.8) 80%, rgba(255,255,255,1) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0.6) 60%, rgba(255,255,255,0.8) 80% , rgba(255,255,255,1) 100%);
        mask-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0.6) 60%, rgba(255,255,255,0.8) 80%, rgba(255,255,255,1) 100%);
    }
}

.content-noticias,
.content-noticia {
    margin-bottom: 2.4rem;
}

.content-noticias h3,
.content-noticia h3 {
    color: #272522 !important;
    font-size: 5rem !important;
    font-weight: 300 !important;
    line-height: 5rem !important;
    margin: 0 0 7rem 0 !important;
}

.content-noticias h4,
.content-noticia h4 {
    color: #272522 !important;
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    line-height: 3.8rem !important;
    margin: 0 0 3.2rem 0 !important;
}

/* bodytext1 debe aplicarse a h5 */
.content-noticias h5,
.content-noticia h5 {
    color: #272522 !important;
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    line-height: 2.6rem !important;
    margin: 0 0 7rem 0 !important;
}

/* bodytext2 asignado a párrafos */
.content-noticias p,
.content-noticia p {
    color: #272522 !important;
    font-size: 1.6rem !important;
    font-weight: 300 !important;
    line-height: 2rem !important;
    margin: 0 0 2rem 0 !important;
}

/* Margen especial para párrafos tras h4 */
.content-noticia p + h4 {
     margin: 6rem 0 3.2rem 0 !important;
}

.content-noticias ul, .content-noticia ul{
    padding-left:2rem;
    margin-bottom: 2rem;
}
.content-noticia ul li, .content-noticias ul li{
    color: #272522 !important;
    font-size: 1.6rem !important;
    font-weight: 300 !important;
    line-height: 2rem !important;
    margin: 0 0 0 0 !important;
}

.content-noticia img{
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

/* Ajustes responsive */
@media (max-width: 768px) {

}
