h2{
    font-size: 32px;
    font-family: 'Inter';
    color: #333333;
    font-weight: 700;
}

.path-frontpage #block-pozuelo-theme-page-title{
    display: none;
}



/* top header */
#navbar-top{
    border-bottom: 1px solid #EAECF0;
}

/*Inicio de buscador nuevo Google*/ 
.top-search{
    width: 28%;
    margin-left: auto;
    margin-right: 40px;
    tr,
    td{
        border: none;
        background: none;
    }
}
.search-box {
    width: 100%;
    height: 40px;
    margin: 0 auto;
    background-color: #F9FAFB;
    padding: 3px 4px;
    border-radius: 40px;
    margin-top: 12px;
}
#___gcse_0{
    top: -40px;
    position: relative;
}
.gsc-control-cse
{
	padding:0px !important;
	border-width:0px !important;
}

form.gsc-search-box,table.gsc-search-box
{
	margin-bottom:0px !important;
}

.gsc-search-box .gsc-input
{
	padding:0px 4px 0px 6px !important;
    border: none;
}

#gsc-iw-id1, #gsc-iw-id2
{
        height: auto !important;
        padding: 0px !important;
        border-width: 0px !important;
        box-shadow:none !important;
}

#gs_tti50, #gs_tti51
{
	padding:0px !important;
}

#gsc-i-id1, #gsc-i-id2
{
	padding:0px !important;
	background:none !important;
	text-indent:0px !important;
        
}

.gsib_b
{
	display:none;
}

button.gsc-search-button
{
        display:block;
        width:13px !important;
        height:13px !important;
        border-width:0px !important;
        margin:0px !important;
        padding: 10px 6px 10px 13px !important;
        outline:none;
        cursor:pointer;
        box-shadow:none !important;
        box-sizing: content-box !important;
}

.gsc-branding
{
	display:none !important;
}

.gsc-control-cse, #gsc-iw-id1, #gsc-iw-id2
{
	background-color:transparent !important;
} 	
button.gsc-search-button.gsc-search-button-v2 {
    border-radius: 22px;
    background-color: #006DB3 !important;
    padding: 4px !important;
}

/* redes sociales top header */
.view-redes-sociales-top-header{
    .view-content {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
        align-items: center;
    }
    .views-row{
        width: fit-content;
    }
}


/* menú principal */
#navbar-main{
    padding: 12px 0;
    /*
    .icono-ayuntamiento::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/landmark.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-comunicate::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/user-search.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-tramites::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/folder-closed.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-sede::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/at-sign.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-noticias::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/newspaper.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-transparencia::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/eye.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-areas::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/grid-2x2-check.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    */
    .navbar-collapse{
        justify-content: flex-start !important;
    }
    a{
        color: #475467;
        font-size: 14px;
        display: inline-block;
        width: 100%;
        font-family: robotobolder;
        font-weight: normal;
        padding-left: 5px;
        text-decoration: none;
    }
    a:hover{
        text-decoration: underline;
    }
    .level-2 a{
        color: #475467;
        font-size: 14px;
        display: inline-block;
        width: 100%;
        font-weight: normal;
        text-decoration: none;
        padding-right: 50px;
        padding-left: 10px;
        font-family: roboto;
    }
    .level-2 a:hover{
        background-color: #F0F9FF;
        color: #475467;
        text-decoration: underline;
        font-weight: bold;
    }
    .tbm-item.level-1{
        border: none;
    }
    .tbm {
        background-color: #fff;
    }
    .tbm-link.level-1:hover, .tbm-link.level-1:focus {
        background-color: #fff;
    }
    .tbm-submenu{
        border-radius: 3px;
        border: 0.5px solid #E1E5E8;
        padding: unset;
        padding-top: 5px;
        padding-bottom: 5px;
        max-height: 350px;
        min-width: 280px;
        overflow: auto;
        z-index: 999;
    }
}

/* migas de pan */
#block-pozuelo-theme-enlacesdeayudaalanavegacion{
    background-color: #0B4A6F;
    padding: 12px 10px;
    .breadcrumb{
        margin: 0;
    }
    .breadcrumb-item a{
        color: white;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 24px;
        text-decoration: none;
    }
    .active{
        color: white;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        text-decoration: none;
    }
}
.path-frontpage #block-pozuelo-theme-enlacesdeayudaalanavegacion{
    background-color: unset;
}

/* slide home */
.featured-top > .container{
    max-width: 100%;
    padding: 0;
}
.region-featured-top {
    width: 100%;
    display: block;
    margin: 0 auto;
    img{
        width: 100%;
        height: auto;
    }
    .block-content-slider{
        padding: 0;
    }
    .paragraph--type--texto-slider{
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #006DB3CC;
        width: fit-content;
        padding: 12px 40px;;
        border-radius: 16px;
        margin: 0 auto;
        top: -175px;
        position: relative;
        display: grid;
        grid-template-columns: 74% 26%; /* 2 columnas de igual tamaño */
        grid-template-rows: 1fr 1fr;    /* 2 filas de igual tamaño */
        gap: 0px; 
        .field--name-field-titulo{
            grid-column: 1;
            grid-row: 1;
            width: 435px;
            font-size: 24px;
            font-weight: 700;
            line-height: 32px;
            font-weight: 700;
        }
        .field--name-field-titulo h2{
            color: white;
        }
        .field--name-field-texto{
            grid-column: 1;
            grid-row: 2; 
            font-family: 'Roboto', sans-serif;
            font-size: 16px;
            line-height: 20px;
            color: white;
        }
        .field--name-field-enlace{
            grid-column: 2;
            grid-row: 1 / span 2;
            background-color: white;
            border-radius: 8px;
            color: #006DB3;
            text-decoration: none;
            padding: 8px;
            width: fit-content
        }
        .field--name-field-enlace a{
            font-weight: 700;
            text-decoration: none;
        }
        .field--name-field-enlace a:hover{
            text-decoration: underline;
        }
    }
    .slick-dots button{
        top: 5px;
        left: 5px;
        position: relative;
    }
    .slick-dots li button:before{
        color: unset !important;
    }
    .slick--skin--fullscreen .slick-dots {
        bottom: 144px;
    }
    .slick-dots li button:before{
        width: 10px;
        height: 10px;
    }
    .slick-dots li.slick-active button:before {
        opacity: 1;
        background: #3090C4;
    }
    .slick-dots li button:before{
        opacity: 1;
        background: transparent none repeat scroll 0 0;
        border: 2px solid #3090C4;
        border-radius: 50%;
    }
    .slick__arrow{
        top: 40%;
    }
    .slick-arrow::before {
        color: #006DB3;
    }
}


/* destacados */

.block-views-blockdestacados-home-block-1,
.block-views-blockbanner-home-block-1{
    top: -70px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dcdcdc;
    li{
        border-radius: 15px !important;
        height: 250px;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: cover !important;
        border: none !important;
    }
    .views-field-title .field-content{
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 20px;
        color: white;
        padding: 5px;
        display: -webkit-box;
        line-clamp: 1;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        background-color: rgba(0, 0, 0, 0.4);
        top: 150px;
        position: relative;
        left: 4px;
        width: 90%;
        margin: 0 auto;
    }
    .views-field-field-descripcion .field-content {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 14px;
        color: white;
        padding: 5px;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        background-color: rgba(0, 0, 0, 0.4);
        padding-top: 1px;
        top: 150px;
        position: relative;
        left: 4px;
        width: 90%;
        margin: 0 auto;
    }
}

/* lo más visitado */

.block-views-blocklo-mas-visitado-home-block-1{
    top: -60px;
    h2{
        margin-bottom: 25px;
        margin-top: 17px;
    }
    .view-content {
        display: grid; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 16px; 
        padding: 0 16px;
    }
    .views-row{
        width: auto;
        height: 120px;
        background-color: #F0F9FF;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        color: #006DB3;
        text-align: center;
    }
    .visitado-nombre{
        font-size: 16px;
        color: #006DB3;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        line-height: 24px;
        text-decoration: none;
    }
    .visitado-nombre:hover{
        text-decoration: underline
    }
    .views-field-field-enlace a{
        text-decoration: none;
    }
}


/* noticias home */

.block-views-blocknoticias-home-block-1{
    margin: 50px 0;
    h2{
        margin-bottom: 10px;
    }
    .view-content {
        display: grid !important;
        grid-template-columns: 50% 50%;
        grid-template-rows: repeat(2, 1fr);
        row-gap: 1rem;
    }
    .views-row:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
    }
    .views-row:nth-child(1) .views-field-title{
        margin: 10px 0;
    }
    .views-row:not(:first-child) {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: repeat(3, auto);
        column-gap: 1rem;
        align-items: start;
    }
    .views-row:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    .views-row:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    .views-row:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 3 / 3;
    }
    .views-row img{
        width: 100%;
        height: auto;
        border-radius: 16px;
    }
    .views-row:not(:first-child) > .views-field-field-imagen {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
    }
    .views-row:not(:first-child) > .views-field-created {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin-top: 0 !important;
    }
    .views-row:not(:first-child) > .views-field-title {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        margin: 10px 0;
    }
    .views-field-field-imagen{
        overflow: hidden;
        border-radius: 16px;
    }
    div.views-row:hover a img {
        transform: scale(1.05);
    }
    .views-field-created{
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #475467;
        margin-top: 20px;
        text-transform: lowercase;
    }
    .views-field-body,
    .views-field-body p{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #475467;
    }
    .views-field-title a{
        color: #006db3;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
        display: -webkit-box;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .views-field-title a:hover{
        color: black;
    }
    .view-footer a{
        display: flex;
        width: fit-content;
        font-size: 16px;
        font-weight: 600;
        background-color: #EFF8FF;
        color: #006DB3;
        border-radius: 8px;
        padding: 10px 24px;
        box-shadow: unset;
    }
    .view-footer a:hover {
        color: #003e66;
    }
}

/* anuncios */

.block-views-blockanuncios-block-1{
    margin-bottom: 50px;
    .views-view-responsive-grid--horizontal{
        justify-items: center;
        align-items: center;
    }
    .views-field-field-enlace a{
        display: inline-flex;
        align-items: center;
        padding: 10px 15px;
        background-color: #FFFFFF;
        text-decoration: none;
        transition: background-color 0.3s ease;
        border-radius: 8px;
        border: none;
        color: #006DB3;
        font-size: 16px;
        font-weight: bold;
    }
    .views-field-field-enlace{
        text-align: center;
        margin-top: 20px;
    }
    .views-field-field-enlace a:after{
        content: url('/themes/custom/pozuelo_theme/img/menu/logo-enlace.svg');
    }
    .views-view-responsive-grid__item {
        background-color: #F4F5F7;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        height: 100%;
        display: flex;
        width: 95%;
    }
}


/* secciones y enlaces destacados */

.featured-bottom{
    background-color: #006DB3;
    padding: 30px 0;
}
.region-featured-bottom-first{
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 10px;
    width: 100%;
    h2{
        color: white;
        font-family: Inter;
        font-weight: 600;
        font-size: 14px;

    }
    .nav-link{
        padding: 10px 0;
        color: white;
    }
    .menu--secciones .nav{
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        grid-template-rows: repeat(3, 1fr);
        gap: 0;
    }
    a{
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;

    }
    a:hover{
        text-decoration: underline;
    }
}

/* footer */

footer{
    background-color: #1849A9;
    .block{
        border: none !important;
    }
    .site-footer__top .region {
        width: 34%;
        padding: 0 0.65%;
    }
    .block-views-blockcontacto-footer-block-1{
        h2{
            font-size: 16px;
            line-height: 24px;
            font-weight: 600;
            font-family: robotolighter;
            color: #FDFDFD;
            border: none;
            margin-bottom: 10px;
            text-transform: math-auto;
        }
        .views-row{
            display: flex;
            align-items: center;
        }
        .views-field-field-logotipo{
            margin-right: 6px;
        }
        .views-field-name .field-content{
            font-size: 14px;
            line-height: 20px;
            font-family: robotolighter;
            color: #FDFDFD;
        }
    }
    .bottom-search{
        margin-top: 22px;
        right: -22px;
        .search-box{
            width: 70%;
            float: right;
        }
        .gsib_a,
        .gsc-search-button{
            border: none;
        }
        tr{
            background: transparent;
        }
        #___gcse_1{
            bottom: 40px;
            position: relative;
        }
    }
    .block-views-blockredes-sociales-top-header-block-2{
        padding-right: 0 !important;
        margin-top: 0px !important;
        img{
            width: 25px;
            height: auto;
        }
        .views-row{
            padding: 0 5px;
        }
    }
    .site-footer__bottom {
        border-top: 1px solid #1570EF;
    }
    .menu--footer{
        .nav{
            justify-content: center;
        }
        a{
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 16px;
            line-height: 24px;
        }
        .nav-link{
            color: white;
        }
        a:hover{
            text-decoration: underline;
        }
    }
    #block-pozuelo-theme-estandares{
        p{
            text-align: center;
            font-size: 14px;
            font-family: robotolighter;
            font-weight: 400;
            line-height: 20px;
            color: white;
        }
    }
    .region-footer-third{
        right: -19px;
    }
}


/* página básica con sidebar */

.node--type-page{

    h1{
        font-family: 'Inter';
        color: #333333;
        font-weight: 700;
    }
    .layout--twocol-section {
        flex-wrap: nowrap;
    }

    .layout__region--first{
        flex: 0 1 23% !important;
        margin-right: 51px;
        .block-menu{
            margin: 0 0 30px 0;
            padding: 30px 25px 15px 25px;
            -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            a{
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 16px;
                padding: 7px 10px 5px 10px;
                color: #333333;
            }
            a::before{
                content: "• ";
            }
            a.active{
                color: #006db3;
                background-color: #F0F9FF;
            }
            h2{
                display: none;
            }
            h2 a{
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
                color: #006db3;
                text-decoration: none;
            }
            h2 a::before{
                display: none;
            }
        }
        .organismos{
            margin-bottom:30px;
            padding: 30px;
            background-color: #F9FAFB;
            border-radius: 8px;
            .field-content{
                font-size: 16px;
                margin-bottom: 10px;
            }
            .views-field-name .field-content{
                font-weight: 700;
            }
            .views-field-field-telefono .field-content::before{
                content: url(/themes/custom/pozuelo_theme/img/llamar.png);
                top: 2px;
                position: relative;
            }
            .views-field-field-correo-electronico .field-content a,
            .views-field-field-enlace .field-content a{
                color: #006DB3;
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
            }
            a:hover, a:focus {
                color: #003e66 !important;
            }
        }
    }
    .layout__region--second{
        flex: 0 1 73% !important;
        .pagina-noticias{
            .view-content{
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 1rem;
            }
            .views-row:nth-child(1) {
                grid-column: 1 / 4;
            }
            .views-row img{
                width: 100%;
                height: auto;  
            }
            .views-field-field-imagen{
                overflow: hidden;
                border-radius: 16px;
            }
            div.views-row:hover a img {
                transform: scale(1.05);
                border-radius: 16px;
            }
            .views-field-created{
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                color: #475467;
                margin-top: 15px;
                text-transform: lowercase;
            }
            .views-field-body,
            .views-field-body p{
                display: -webkit-box;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                color: #475467;
            }
            .views-field-title a{
                color: #006db3;
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 18px;
                line-height: 24px;
            }
            .views-field-title{
                margin: 10px 0;
            }
            .views-field-title a:hover, .views-field-title a:focus {
                color: black;
            }
        }
        .block-views-blocknoticias-home-block-3{
            margin-top: 30px;
        }
        .pagina-noticias-ultimas{
            .views-row{
                padding-top: 20px;
                margin-top: 10px;
                border-top: 1px solid #999;
            }
            .views-row .views-field-nothing a{
                display: grid;
                grid-template-columns: 1fr 2fr;
                grid-template-rows: 0.5fr 0.5fr 1fr;
                gap: 10px;
                min-height: 220px;
                text-decoration: none;
            }
            img{
                /* 4. Haz que ocupe las 3 filas (desde la línea 1 a la última) */
                grid-row: 1 / -1;
                border-radius: 16px;
                width: 100%;
                height: auto;
            }
            time{
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                color: #475467;
                text-transform: lowercase;
            }
            .titulo{
                color: #006db3;
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 18px;
                line-height: 24px;
            }
            .cuerpo{
                display: -webkit-box;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                color: #475467;
            }
            .pagination{
                justify-content: center;
            }
            .page-item.active .page-link {
                background-color: transparent;
                border-color: transparent;
            }
            .page-link,
            a.page-link{
                color: #616A7A;
                border: unset;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                margin: 0 10px;
                border: 1px solid white;
                border-radius: 100%;
            }
            a.page-link:hover{
                z-index: 2;
                color: #006db3;
                background-color: #fff;
                border-color:#006db3;
            }
            .views-exposed-form{
                label,
                .fieldset-legend{
                    font-family: 'Inter';
                    font-size: 16px;
                    line-height: 22px;
                    color: #333333;
                    font-weight: 700;
                }
                .form-control,
                .form-select{
                    display: block;
                    width: 100%;
                    height: 34px;
                    padding: 6px 12px;
                    font-size: 14px;
                    line-height: 1.42857143;
                    color: #555555;
                    background-color: #fff;
                    background-image: none;
                    border: 1px solid #006db3;
                    border-radius: 4px;
                    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
                    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
                    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
                    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                }
                .flex-wrap {
                    gap: 10px;
                }
                .js-form-item-title,
                .js-form-item-body-value,
                #edit-created-wrapper,
                .js-form-item-field-area-de-actividad-target-id{
                    flex-basis: 49%;
                }
                .form-actions{
                    flex-basis: 100%;
                }
                .js-form-submit{
                    font-size: 16px;
                    font-weight: 600;
                    background-color: white;
                    color: #006DB3;
                    border-radius: 8px;
                    padding: 10px 24px;
                    text-decoration: none !important;
                    border: 1px solid #006DB3;
                }
                .js-form-submit:hover{
                    background-color: #006DB3;
                    color: white;
                    border: 1px solid #006DB3;
                }
                #edit-created-wrapper{
                    .fieldset-legend{
                        padding: 2px 0px 15px 10px;
                    }
                    legend{
                        background-color: #f5f5f5;
                        border-color: #ddd;
                    }
                    .fieldset-wrapper{
                        padding: 10px;
                        display: flex;
                        gap: 20px;
                    }
                }
            }
        }
    }
}

/* pagina de noticia */
.node--type-article{
    h1{
        font-size: 36px;
        font-weight: normal !important;
        font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
        font-weight: normal !important;
        color: #222;
    }
    .layout--twocol-section {
        flex-wrap: nowrap;
    }

    .layout__region--first{
        flex: 0 1 23% !important;
        margin-right: 51px;
        .block-menu{
            margin: 0 0 30px 0;
            padding: 30px 25px 15px 25px;
            -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            a{
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 16px;
                padding: 7px 10px 5px 10px;
                color: #333333;
            }
            a::before{
                content: "• ";
            }
            a.active{
                color: #006db3;
                background-color: #F0F9FF;
            }
            h2{
                display: none;
            }
            h2 a{
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
                color: #006db3;
                text-decoration: none;
            }
            h2 a::before{
                display: none;
            }
        }
        .organismos{
            margin-bottom:30px;
            padding: 30px;
            background-color: #F9FAFB;
            border-radius: 8px;
            .field-content{
                font-size: 16px;
                margin-bottom: 10px;
            }
            .views-field-name .field-content{
                font-weight: 700;
            }
            .views-field-field-telefono .field-content::before{
                content: url(/themes/custom/pozuelo_theme/img/llamar.png);
                top: 2px;
                position: relative;
            }
            .views-field-field-correo-electronico .field-content a,
            .views-field-field-enlace .field-content a{
                color: #006DB3;
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
            }
            a:hover, a:focus {
                color: #003e66 !important;
            }
        }
    }
    .layout__region--second{
        flex: 0 1 73% !important;
        flex-wrap: wrap;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .block-content-basic{
            margin-bottom: 20px;
            width: 100%;
        }
        .block-content-basic .field--name-body{
            color: #fff;
            background-color: #0B4A6F;
            padding: 20px;
            font-size: 22px;
            font-weight: 600;
            p{
                margin: 0;
            }
        }
        .block-field-blocknodearticletitle{
            flex-basis: 100%;
        }
        .block-field-blocknodearticlefield-imagen{
            flex-basis: 100%;
            img{
                width: 100%;
                height: auto;
                border-radius: 16px;
            }
            border-radius: 16px;
        }
        .block-field-blocknodearticlecreated time{
            font-size: 13px;
            color: #333333;
        }
        .block-field-blocknodearticlebody{
            flex-basis: 100%;
            margin-top: 18px;
            font-family: 'Inter';
            font-size: 16px;
            line-height: 22px;
            color: #333333;
        }
    }
}

/* a un clic */

.a-un-clic{
    margin-bottom: 50px;
    h2{
        margin-bottom: 10px;
    }
    .view-content{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
    }
    .views-row a{
        width: 100%;
        border-radius: 8px;
        padding: 12px 20px;
        color: #006DB3;
        background-color: #F0F9FF;
        border-color: #F0F9FF;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        display: block;
        text-align: center;
        border: 1px solid #F0F9FF;
    }
    .views-row a:hover{
        border-color: #00385c;
    }
    .views-row a::after{
        content: url(/themes/custom/pozuelo_theme/img/arrow-up-right.png);
        position: relative;
        top: 4px;
        margin-left: 3px;
    }
}

/* página interna */

.node--type-pagina-interna{
    #block-pozuelo-theme-titulodepaginasinternas{
        min-height: 300px;
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        align-items: flex-end;
        padding-left: 38px;
        .container{
            padding: 0;
        }
    }
    .title-in-page{
        font-family: 'Inter';
        color: #fff;
        font-weight: normal;
        font-size: 40px;
        margin: 0;
    }
    .block-views-blockdestacados-block-1{
        margin: 30px 0;
        .slick-track{
            padding-bottom: 10px;
        }
        .slick__slide{
            margin: 0 30px;
            border-bottom: 1px solid #e0e3e4;
            -webkit-box-shadow: 0 2px 7px rgba(145, 145, 145, 0.35);
            box-shadow: 0 2px 7px rgba(145, 145, 145, 0.35);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .views-field-title .field-content{
            margin-top: 0px;
            font-family: arial;
            font-size: 18px;
            font-weight: 700;
            min-height: 40px;
            padding: 0 14px;
            width: fit-content;
            display: block;
        }
        .views-field-field-descripcion .field-content{
            font-family: 'Inter';
            font-size: 16px;
            line-height: 20px;
            color: #333333;
            padding: 0 14px;
            width: fit-content;
            display: block;
        }
        .views-field-field-enlace .field-content{
            text-align: center;
            margin: 25px 0;
        }
        .views-field-field-enlace .field-content a{
            background-color: #006DB3;
            color: white;
            border: 1px solid white;
            text-align: center;
            padding: 12px;
            border-radius: 24px;
            font-size: 15px;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            line-height: 24px;
            width: 90%;
            display: block;
            margin: 0 auto;
        }
        .views-field-field-enlace .field-content a::after{
            content: " >";
            font-size: 15px;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            line-height: 24px;
        }
        .views-field-field-enlace .field-content a:hover {
            background-color: white;
            color: #006DB3 !important;
            border: 1px solid #006DB3;
        }
        .slick-arrow::before {
            color: #006DB3;
        }
    }
    .block-menu{
        margin-bottom: 30px;
        .navbar-nav{
            display: flex;
            flex-direction: row;
            gap: 17px;
            .nav-item{
                border-radius: 16px;
                background-color: #F0F9FF;
                font-size: 16px;
                font-weight: 600;
                line-height: 24px;
                color: #006DB3;
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: space-around;
                min-height: 170px;
                flex-basis: 24%;
            }
            .secundario{
                flex-basis: 100%;
                i{
                    display: none;
                }
            }
            .nav-link {
                color: #006DB3;
                display: -webkit-box;
                line-clamp: 4;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
                overflow: hidden;
                padding: 0px 20px;
            }
            .nav-link:hover{
                color: #003e66;
            }
            .dropdown-item{
                width: fit-content;
            }
            .dropdown{
                a{
                    color: #006DB3;
                    font-size: 16px;
                    font-weight: 600;
                    line-height: 24px;
                    padding: 20px 0;
                    text-decoration: none;
                    white-space: break-spaces;
                }
                a:hover{
                    color: #003e66;
                    text-decoration: underline;
                }
            }
            .menu-item--expanded{
                flex-direction: column;
            }
            .dropdown-menu{
                outline: 1px solid #E1E5E8;
                border-radius: 16px;
                inset: unset !important;
                margin: 0px;
                transform: unset !important;
                position: relative !important;
            }
            .dropdown-item{
                width: fit-content;
                flex-basis: 25%;
            }
            .dropdown-item:focus, .dropdown-item:hover {
                background-color: unset;
            }
            .dropdown-item a{
                color: #006DB3;
                font-size: 16px;
                font-weight: 600;
                line-height: 24px;
                padding: 12px 0;
                text-decoration: none;
                white-space: break-spaces;
                display: inline-flex;
            }
            .dropdown-item::before{
                content: "•";
                position: relative;
                left: -3px;
                font-size: 24px;
                top: 3px;
            }
            .dropdown-toggle::after{
                margin: 0 auto;
                width: 5px;
            }
            .nav-item a span{
                display: block;
                padding: 4px 0px;
            }
            .nav-item a i{
                font-size: 24px;
            }
        }
    }
}

/* página interna final */

.node--type-pagina-interna-final{
    .layout--twocol-section {
        flex-wrap: nowrap;
        gap: 30px;
    }
    .layout__region--first{
        flex: 0 1 25% !important;
        .block-menu{
            margin: 0 0 30px 0;
            padding: 30px 25px 15px 25px;
            -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            i{
                display: none;
            }
            a{
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 16px;
                padding: 7px 10px 5px 10px;
                color: #333333;
                display: flex;
                white-space: break-spaces;
            }
            a::before{
                content: "•";
                position: relative;
                left: -3px;
                font-size: 9px;
                top: 4px;
            }
            a.active{
                color: #006db3;
                background-color: #F0F9FF;
            }
            h2{
                display: none;
                left: -15px;
                position: relative;
            }
            h2 a{
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
                color: #006db3;
                text-decoration: none;
            }
            h2 a::before{
                display: none;
            }
            .dropdown-menu{
                display: block;
                border: none;
            }
            .dropdown-item.active, .dropdown-item:active {
                background-color: unset;
            }
            .dropdown-item{
                white-space: normal;
            }
            .dropdown-toggle::after{
                display: none;
            }
            .dropdown-item:focus, .dropdown-item:hover {
                color: unset;
                background-color: unset;
            }
            a:focus, a:hover{
                text-decoration: underline;
            }
        }
        .organismos{
            margin-bottom:30px;
            padding: 30px;
            background-color: #F9FAFB;
            border-radius: 8px;
            .field-content{
                font-size: 16px;
                margin-bottom: 10px;
            }
            .views-field-name .field-content{
                font-weight: 700;
            }
            .views-field-field-telefono .field-content::before{
                content: url(/themes/custom/pozuelo_theme/img/llamar.png);
                top: 2px;
                position: relative;
            }
            .views-field-field-correo-electronico .field-content a,
            .views-field-field-enlace .field-content a{
                color: #006DB3;
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
            }
            a:hover, a:focus {
                color: #003e66 !important;
            }
        }
    }
    .layout__region--second{
        flex: 0 1 75% !important;
        .block-field-blocknodepagina-interna-finaltitle{
            background-color: #0B4A6F;
            padding: 20px;     
            h1{
                color: #fff;
                margin: 0;
                font-size: 22px;
                font-weight: 600;
            }
        }
        .field--name-field-enlace{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            align-items: center;
            gap: 60px;
            margin: 40px 0 10px 0;
            border-bottom: 1px solid #dcdcdc;
            padding-bottom: 40px;
            .field__item a{
                font-family: 'robotoregular', sans-serif, Helvetica, Arial;
                font-size: 14px;
                font-weight: 400;
                color: #006DB3;
                text-decoration: none;
                display: flex;
                align-items: center;
                gap: 15px;
            }
            .field__item a:hover, a:focus {
                color: #003e66;
            }
            .field__item a::before{
                content: ">"
            }
        }
    }
}

/* agenda HOME */
.block-views-blockagenda-home-block-1,
.block-views-blockagenda-home-block-2{
    margin: 50px 0;
    .view-agenda-home{
        img{
            width: 100%;
            height: auto;
            border-radius: 16px;
        }
        .views-field-title a {
            color: #006db3;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 18px;
            line-height: 24px;
            display: -webkit-box;
            line-clamp: 3;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .views-field-title a:hover {
            color: black;
        }
        .views-field-title {
            margin: 10px 0;
        }
        .views-field-body, .views-field-body p, .views-field-field-ubicacion {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            color: #475467;
        }
        .views-field-nothing {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            color: #475467;
            margin-bottom: 10px;
            text-transform: lowercase;
        }
        .views-field-field-ubicacion .field-content::before{
            font-family: "Font Awesome 6 Free"; 
            font-weight: 900; 
            content: "\f041"; 
            margin-right: 5px;
        }
        .view-footer a {
            display: flex;
            width: fit-content;
            font-size: 16px;
            font-weight: 600;
            background-color: #EFF8FF;
            color: #006DB3;
            border-radius: 8px;
            padding: 10px 24px;
            box-shadow: unset;
        }
        .views-field-field-tipo-de-evento{
            margin: 10px 0 30px 0;
        }
        .views-field-field-tipo-de-evento a{
            color: #006db3;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 14px;
            line-height: 20px;
        }
        .views-field-field-tipo-de-evento a:hover{
            color: black;
        }
        .views-exposed-form {
            label, .fieldset-legend {
                font-family: 'Inter';
                font-size: 16px;
                line-height: 22px;
                color: #333333;
                font-weight: 700;
            }
            .form-control, .form-select {
                display: block;
                width: 100%;
                height: 34px;
                padding: 6px 12px;
                font-size: 14px;
                line-height: 1.42857143;
                color: #555555;
                background-color: #fff;
                background-image: none;
                border: 1px solid #006db3;
                border-radius: 4px;
                -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
                box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
                -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
                transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            }
            .flex-wrap {
                gap: 10px;
            }
            #edit-created-wrapper {
                legend {
                    background-color: #f5f5f5;
                    border-color: #ddd;
                }
            }
            .js-form-submit {
                font-size: 16px;
                font-weight: 600;
                background-color: white;
                color: #006DB3;
                border-radius: 8px;
                padding: 10px 24px;
                text-decoration: none !important;
                border: 1px solid #006DB3;
            }
            .js-form-submit:hover {
                background-color: #006DB3;
                color: white;
                border: 1px solid #006DB3;
            }
        }
    }
}


/* eventos */
.node--type-eventos{
    .node__content{
        h1 {
            font-size: 36px;
            font-weight: normal !important;
            font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
            font-weight: normal !important;
            color: #222;
        }
        .field--name-body,
        .field--name-body p {
            flex-basis: 100%;
            margin-top: 18px;
            font-family: 'Inter';
            font-size: 16px;
            line-height: 22px;
            color: #333333;
        }
        .field__label{
            font-weight: 700;
        }
        .field--name-field-media-image{
            width: 100%;
            height: auto;
            text-align: center;
        }
        .field--name-field-media-image img{
            max-width: 100%;
        }
        .block-field-blocknodeeventosfield-tipo-de-evento a {
            color: #006db3;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 16px;
            line-height: 20px;
        }
        .block-field-blocknodeeventosfield-tipo-de-evento a:hover{
            color: black;
        }
        .block-addtoany-block{
            float: right;
        }
    }
}