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

body #backtotop {
    background: #FD9C00;
    border-color: #FD9C00;
    color: #000;
}

body #backtotop:hover {
    background: #A86800;
    border-color: #A86800;
}

li::marker {
    content: "";
}

.mini-menu {
    display: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.accordion {

    a {
        color: #006db3 !important;
        background-color: #F0F9FF !important;
        font-weight: 700;
    }

}

.bs_grid .container .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

#navbar-top {

    /*Inicio de buscador nuevo Google*/
    .top-search {
        width: 26%;
        margin: 0 auto;

        tr,
        td {
            border: none;
            background: none;
        }
    }

    .search-box {
        width: 78% !important;
        height: 40px;
        margin: 0 auto;
        background-color: #ffffff;
        padding: 3px 4px;
        border-radius: 40px;
        margin-top: 12px;
        border: 1px solid #d1d5db;
    }

    #___gcse_0 {
        top: -40px;
        position: relative;
    }

    .gsc-control-cse {
        padding: 0px !important;
        border-width: 0px !important;
    }

    /* nuclear fix para el buscador HEADER */
    .search-box {
        position: relative !important;
    }

    .gsc-search-button {
        position: absolute !important;
        left: 10px !important;
        top: 43% !important;
        transform: translateY(-50%) !important;
        z-index: 100 !important;
        width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #gsc-i-id1,
    #gsc-i-id2 {
        padding-left: 50px !important;
        background: none !important;
        background-image: none !important;
        background-color: transparent !important;
    }

    .gsc-input-box,
    .gsc-input {
        background: transparent !important;
        border: none !important;
    }

    .gsc-search-button-v2 {
        background-color: transparent !important;
        border: none !important;
        filter: invert(0.5) !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
    }

    .gsc-search-button-v2 svg {
        width: 18px !important;
        height: 18px !important;
    }

    #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-left: 35px !important;
        background: none !important;
        background-image: none !important;
        background-color: transparent !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: transparent !important;
        padding: 4px !important;
    }

    input::placeholder {
        color: #9CA3AF;
    }

    input {
        color: #333333;
    }


    #block-pozuelo-theme-logotipocuboheader img {
        width: 263px;
        margin: 0;
    }

    .block-views-blockduplicado-de-redes-sociales-top-header-block-4 {
        .view-content {
            display: flex;
            justify-content: flex-end;
            margin-top: 10px;
            align-items: center;
        }

        .views-row {
            width: fit-content;
        }
    }

    .container:nth-child(2)>.container {
        border-bottom: 48px solid #3E3E3E;
    }



    .region-escudo-cultura {
        width: fit-content;
        float: right;

        #block-pozuelo-theme-escudoculturaheader {
            padding: 0;

            .content {
                display: flex;
            }

            .content::before {
                content: url(/themes/custom/pozuelo_theme/img/btn-ayto-left-alc.png);
                height: 40px;
            }

            .field--name-body {
                display: flex;
                flex-wrap: nowrap;
                background-color: #3E3E3E;
                align-items: center;
                gap: 6px;
                padding: 0px 30px 0px 20px;
                border-top-right-radius: 20px;
                height: 40px;

                img {
                    width: 16px;
                    margin: 0 10px;
                }

                p {
                    margin: 0;
                }

                a {
                    color: white;
                    text-decoration: none;
                    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
                    font-size: 14px;
                    line-height: 1.42857143;

                }

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

}

#navbar-main {
    .navbar-collapse {
        justify-content: center !important;
    }

    padding-top: 0;
    top: -7px;

    .menu--navegacion-principal-cubo {
        ul {
            flex-wrap: nowrap;
            align-items: center;
        }

        li>a:hover,
        li>a:focus {
            text-decoration: none;
            background-color: #eeeeee;
        }

        a {
            font-family: 'robotoregular', sans-serif, Helvetica, Arial;
            font-size: 14px;
            line-height: 1.42857143;
            color: #333333;
            text-align: center;
        }

        a:hover {
            color: #995F00;
        }
    }
}

.featured-top {
    position: relative;
    top: -15px;

    .block-content-slider_cubo {
        .enlace {
            cursor: pointer;
        }

        .paragraph--type--slider {
            display: flex;

            .field--name-field-enlace {
                display: none;
            }

            .field--name-field-imagen {
                flex-basis: 67%;
                margin: 0;
                background-color: #FD9C00;
            }

            .field--name-field-imagen:hover a img {
                transform: scale(1.10);
            }

            .field--name-field-contenido {
                flex-basis: 33%;
                background-color: #FD9C00;
                padding: 36px 20px 36px 24px;
            }

            h2 {
                color: #242424;
                font-size: 25px;
                font-weight: 500;
            }

            .field--name-field-texto {
                color: #242424;
                font-family: 'robotoregular', sans-serif, Helvetica, Arial;
                font-size: 14px;
                line-height: 1.42857143;
            }

            img {
                width: 100%;
            }
        }

        .paragraph--type--slider:hover {
            h2 {
                color: white;
            }

            .field--name-field-texto {
                color: white;
            }
        }

        .paragraph--type--slider:hover .field--name-field-contenido {
            background-color: #2A2E36
        }

        .slick__arrow {
            top: 50%;
            left: -39px;
            width: 107%;
        }

        .slick-arrow::before {
            color: #242424;
            font-size: 36px;
            font-size: 2.25rem;
        }

        .slick--skin--fullscreen .slick-dots {
            bottom: 0px;
        }
    }
}

.view-banner-cubo-home {
    img {
        width: 100%;
        height: auto;
    }

    .view-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;

        .views-row {
            cursor: pointer;
        }
    }
}

/* =========================================================
   NOTICIAS HOME
   ========================================================= */
.block-views-blocknoticias-cubo-home-block-1 {
    padding-top: 4px;
    margin-bottom: 20px;

    .view-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .views-field-title {
        margin-bottom: 10px;
    }

    .views-field-title .field-content a {
        font-size: 14px;
        color: #456f74;
        font-weight: 500;
        text-decoration: none;
        margin-bottom: 10px;
    }

    .views-field-title .field-content a:hover {
        text-decoration: underline;
    }

    .views-field-created {
        line-height: 1.42857143;
        color: #333333;
        font-size: 11px;
        margin-bottom: 10px;
    }

    .view-footer {
        margin: 60px auto;
        text-align: center;

        a {
            color: #242424;
            background-color: #FD9C00;
            border-color: transparent;
            padding: 6px 24px;
            font-size: 14px;
            line-height: 1.42857143;
            border-radius: 28px;
            text-decoration: none;
        }

        a:hover {
            color: #fff !important;
            background-color: #2A2D35;
            border-color: #2A2D35;
        }
    }
}

.site-footer {
    #block-pozuelo-theme-logotipocubofooter {
        img {
            width: 65%;
            height: auto;
        }
    }

    background: #3E3E3E !important;

    .block {
        border: none !important;
    }

    .site-footer__top .region {
        width: 34%;
        padding: 0 0.65%;
    }

    .site-footer__bottom {
        border-top: unset;
    }

    .menu--pie-de-pagina-cubo {
        .nav {
            justify-content: center;
        }

        a {
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            color: white !important;
        }

        .nav-link {
            color: white;
        }

        a:hover {
            text-decoration: underline;
            color: #ffcd7e !important;
            background-color: unset !important;
        }
    }

    #block-pozuelo-theme-cubopozuelo {
        margin: 0;

        p {
            margin: 0;
            text-align: center;
        }
    }

    .block-views-blockcontacto-footer-block-3 {
        margin: 0;

        .views-row {
            display: flex;
            align-items: center;
            justify-content: center;

            .views-field-field-logotipo {
                margin-right: 5px;
            }
        }
    }

    .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;
        }

        .view-content {
            display: flex;
            justify-content: flex-end;

            .views-row {
                width: fit-content;

                .views-field-field-imagen img:hover {
                    transform: scale(1.2);
                }
            }
        }
    }

    .site-footer__bottom {
        display: none;
    }

    .bottom-search .search-box {
        width: 70%;
        float: right;
        background-color: #ffffff;
        height: 40px;
        padding: 3px 4px;
        border-radius: 40px;
        border: 1px solid #ddd;
        box-sizing: border-box;
    }

    .bottom-search .gsib_a,
    .bottom-search .gsc-search-button {
        border: none;
    }

    .bottom-search tr {
        background: transparent;
    }

    .bottom-search #___gcse_1 {
        bottom: 40px;
        position: relative;
    }

    .bottom-search .gsc-control-cse {
        padding: 0px !important;
        border-width: 0px !important;
    }

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

    .bottom-search .gsc-search-box .gsc-input {
        border: none;
        color: #000;
        position: relative;
        margin-top: 6px;
    }

    .bottom-search .gsc-search-button {
        position: relative;
    }

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

    .bottom-search #gs_tti50,
    .bottom-search #gs_tti51 {
        padding: 0px !important;
    }

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

    .bottom-search .gsib_b {
        display: none;
    }

    .bottom-search 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;
        background-color: #006DB3;
        /* Color Alcubo */
        border-radius: 22px;
    }

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

    .bottom-search {
        margin-top: 22px;
        right: -22px;

        /* nuclear fix para el buscador FOOTER */
        .search-box {
            position: relative !important;
            display: block !important;
            width: 70% !important;
            /* Mantener el ancho original del footer */
            float: right !important;
        }

        .gsc-search-button-v2 {
            background-color: transparent !important;
            border: none !important;
            filter: invert(0.5) !important;
            width: 100% !important;
            height: 100% !important;
            display: flex !important;
            padding: 0 !important;
            box-shadow: none !important;
        }

        #gsc-i-id1,
        #gsc-i-id2 {
            padding-left: 45px !important;
            /* Espacio para la lupa */
            background: none !important;
            background-image: none !important;
            background-color: transparent !important;
            text-indent: 0px !important;
        }

        .gsc-input-box,
        .gsc-input {
            background: transparent !important;
            border: none !important;
        }

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

        #___gcse_1 {
            bottom: 40px;
            position: relative;
        }

        .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: #FD9C00 !important;
            padding: 4px !important;
            color: #ffffff !important;
            border: none !important;
        }

        button.gsc-search-button:hover,
        button.gsc-search-button.gsc-search-button-v2:hover {
            background-color: #A86800 !important;
            color: #ffffff !important;
        }

        input::placeholder {
            color: #9CA3AF;
        }

        input {
            color: #000;
            background: transparent;
        }

    }
}


/* =========================================================
   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: #242424;
        background-color: #FD9C00;
        border-color: #FD9C00;
        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 #FD9C00;
    }

    .views-row a:hover {
        border-color: #242424;
    }

    .views-row a::after {
        content: url(/themes/custom/pozuelo_theme/img/arrow-up-right.png);
        position: relative;
        top: 4px;
        margin-left: 3px;
    }
}

.block-system-breadcrumb-block {
    margin-top: 30px !important;

    a {
        color: #A86800;
    }
}

.node--type-pagina-interna-cubo {
    .node__content {
        #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;
            }

            .block-field-blocknodepagina-interna-final-cubofield-enlace .field__item a {
                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;

            .nav {
                display: flex;
                flex-direction: row;
                gap: 17px;

                .nav-item {
                    border-radius: 16px;
                    background-color: #FD9C00;
                    font-size: 16px;
                    font-weight: 600;
                    line-height: 24px;
                    color: #242424;
                    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: #242424;
                    display: -webkit-box;
                    line-clamp: 4;
                    -webkit-line-clamp: 4;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    padding: 0px 20px;
                }

                .nav-link:hover {
                    color: #003e66;
                    background-color: unset !important;
                }

                .dropdown-item {
                    width: fit-content;
                }

                  .dropdown {
                    a {
                        color: #000000;
                        font-size: 16px;
                        font-weight: 600;
                        line-height: 24px;
                        padding: 20px 0;
                        text-decoration: none;
                        white-space: break-spaces;
                        display: flex;
                        flex-direction: column;
                    }

                    a:hover {
                        color: #003e66;
                        text-decoration: none;
                    }
                }

                .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: #000000;
                    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;
                }

                a.dropdown-toggle::after {
                    order: 2;
                    content: ">";
                    transform: rotate(90deg);
                    transition: transform 0.3s ease;
                    border: unset;
                }

                .nav-item a span {
                    display: block;
                    padding: 4px 0px;
                }

                .nav-item a i {
                    font-size: 24px;
                }
            }
        }
    }
}

.organismos {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #F9FAFB;
    border-radius: 8px;
    /* width: 33%; */

    .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: #242424;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
    }

    a:hover,
    a:focus {
        color: #242424 !important;
    }
}

/* ==========================================================================
   PÁGINA INTERNA FINAL
   ========================================================================== */
.node--type-pagina-interna-final-cubo .node__content,
.node--type-article .node__content {
    .layout--twocol-section {
        flex-wrap: nowrap;
        gap: 30px;
    }

    .layout__region--first {
        flex: 0 1 25% !important;

        .block-menu {
            ul {
                flex-direction: column;
            }

            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;
                white-space: break-spaces;
                line-height: 22px;
            }

            a::before {
                content: "•";
                position: relative;
                left: -3px;
                font-size: 9px;
                top: -3px;
            }

            a.active {
                color: #FD9C00;
                background-color: rgba(62,62,62,0.2);
            }

            a:hover {
                text-decoration: underline;
            }

            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: #995F00;
                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-final-cubotitle {
            background-color: #FD9C00;
            padding: 20px;
            margin-bottom: 30px;

            h1 {
                color: white;
                margin: 0;
                font-size: 22px;
                font-weight: 600;
            }
        }

        .field--name-field-enlace {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            align-items: center;
            gap: 20px;
            margin: 40px 0 10px;
            padding-bottom: 40px;
            border-bottom: 1px solid #dcdcdc;

            .field__item {
                display: flex;
                align-items: flex-start;
                gap: 15px;

                &::before {
                    content: ">";
                    flex: 0 0 auto;

                    color: #FD9C00;
                    font-size: 14px;
                    font-weight: 700;
                    line-height: 20px;
                    text-decoration: none;
                }

                a {
                    color: #FD9C00;
                    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 20px;
                    text-decoration: none;

                    &:hover,
                    &:focus {
                        color: #A86800;
                        text-decoration: underline;
                    }
                }
            }
        }
    }
}

/* ==========================================================================
   AGENDA
   Vista compartida: agenda_home
   ========================================================================== */

/* ==========================================================================
   CUBO - EVENTO INDIVIDUAL
   Tipo de contenido: eventos
   ========================================================================== */

.node--type-eventos {

    /* Título del evento. */
    .block-field-blocknodeeventostitle {
        margin: 24px 0 0;
        padding: 16px 20px;
        background-color: #FD9C00;

        h1 {
            margin: 0;
            color: #ffffff;
            font-family: 'Inter', sans-serif;
            font-size: 22px;
            font-weight: 600;
            line-height: 30px;
            overflow-wrap: anywhere;
        }
    }

    /*
     * En la ficha individual no se reserva un placeholder.
     * Si el evento no tiene imagen, el bloque desaparece.
     */
    .block-field-blocknodeeventosfield-imagen {
        margin: 0 0 24px;
        overflow: hidden;

        &:not(:has(img)) {
            display: none;
        }

        img {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
            object-fit: cover;
            object-position: center;
        }
    }

    /*
     * Layout Builder puede imprimir bloques aunque los campos
     * estén vacíos.
     */
    .block-field-blocknodeeventosfield-fecha-de-fin:not(:has(time)) {
        display: none;
    }

    .block-field-blocknodeeventosfield-ubicacion:not(:has(.field__item)) {
        display: none;
    }

    /* Metadatos comunes del evento. */
    .block-field-blocknodeeventosfield-fecha-de-inicio,
    .block-field-blocknodeeventosfield-fecha-de-fin,
    .block-field-blocknodeeventosfield-ubicacion,
    .block-field-blocknodeeventosfield-tipo-de-evento {
        margin: 0 0 12px;

        .field__label {
            margin-bottom: 4px;
            color: #333333;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 700;
            line-height: 20px;
        }

        .field__item,
        time {
            color: #333333;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
        }

        a {
            color: #995F00;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            line-height: 20px;
            text-decoration: none;

            &:hover,
            &:focus {
                color: #A86800;
                text-decoration: underline;
            }
        }
    }

    /*
     * Excepción: el valor del tipo de evento se muestra
     * destacado, aunque ya no sea un enlace.
     */
    .block-field-blocknodeeventosfield-tipo-de-evento {
        .field__item {
            color: #995F00;
            font-weight: 600;
        }
    }

    /* Cuerpo del evento. */
    .block-field-blocknodeeventosbody {
        margin-top: 16px;

        .field--name-body {
            color: #333333;
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            line-height: 24px;

            p {
                margin-bottom: 14px;
            }

            ul,
            ol {
                margin-bottom: 16px;
                padding-left: 24px;
            }

            li {
                margin-bottom: 6px;
            }

            a {
                color: #995F00;
                text-decoration: underline;

                &:hover,
                &:focus {
                    color: #A86800;
                }
            }
        }
    }
}

/* --------------------------------------------------------------------------
   Estilos comunes de las tarjetas
   Presentaciones: block_1, block_2 y block_4
   -------------------------------------------------------------------------- */

.block-views-blockagenda-home-block-1,
.block-views-blockagenda-home-block-2,
.block-views-blockagenda-home-block-4 {
    .view-agenda-home {

        /* Imagen: solo genera espacio cuando existe una imagen real. */
        .views-field-field-imagen {
            img {
                display: block;
                width: 100%;
                max-width: 100%;
                height: auto;
                border-radius: 16px;
            }
        }

        /* Título del evento. */
        .views-field-title {
            margin: 10px 0;

            a {
                display: -webkit-box;
                overflow: hidden;
                overflow-wrap: anywhere;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 3;
                line-clamp: 3;

                color: #000000;
                font-family: 'Inter', sans-serif;
                font-size: 18px;
                font-weight: 600;
                line-height: 24px;
                text-decoration: none;

                &:hover,
                &:focus {
                    color: #A86800;
                    text-decoration: underline;
                }
            }
        }

        /* Texto descriptivo y ubicación. */
        .views-field-body,
        .views-field-body p,
        .views-field-field-ubicacion {
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            line-clamp: 2;

            color: #475467;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
            text-overflow: ellipsis;
        }

        /* Fecha. */
        .views-field-nothing {
            margin-bottom: 10px;

            color: #475467;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
            /* text-transform: lowercase; */
        }

        /* Icono de ubicación, únicamente cuando hay contenido. */
        .views-field-field-ubicacion {
            .field-content:not(:empty)::before {
                content: "\f041";
                margin-right: 5px;

                font-family: "Font Awesome 6 Free";
                font-weight: 900;
            }
        }

        /* Tipo de evento: compatible con texto plano y con enlace. */
        .views-field-field-tipo-de-evento {
            .field-content:not(:empty) {
                color: #000000;
                font-family: 'Inter', sans-serif;
                font-size: 14px;
                font-weight: 600;
                line-height: 20px;
            }

            .field-content:empty {
                display: none;
            }

            a {
                color: inherit;
                text-decoration: none;

                &:hover,
                &:focus {
                    color: #A86800;
                    text-decoration: underline;
                }
            }
        }
    }
}

/* --------------------------------------------------------------------------
   Bloques resumen de agenda
   Presentaciones: block_1 y block_2
   -------------------------------------------------------------------------- */

.block-views-blockagenda-home-block-1,
.block-views-blockagenda-home-block-2 {
    margin: 50px 0;

    .view-agenda-home {

        /* Enlace final "Toda la agenda". */
        .view-footer {
            a {
                display: flex;
                width: fit-content;
                padding: 10px 24px;

                color: #006DB3;
                background-color: #EFF8FF;
                border-radius: 8px;
                box-shadow: unset;

                font-size: 16px;
                font-weight: 600;
                text-decoration: none;

                &:hover,
                &:focus {
                    color: #003E66;
                    text-decoration: underline;
                }
            }
        }

        .views-field-field-tipo-de-evento {
            margin: 10px 0 30px;
        }

        /*
         * Se conserva la configuración histórica del formulario
         * para los bloques resumen.
         */
        .views-exposed-form {
            label,
            .fieldset-legend {
                color: #333333;
                font-family: 'Inter', sans-serif;
                font-size: 16px;
                font-weight: 700;
                line-height: 22px;
            }

            .form-control,
            .form-select {
                display: block;
                width: 100%;
                height: 34px;
                padding: 6px 12px;

                color: #555555;
                background-color: #ffffff;
                background-image: none;
                border: 1px solid #A86800;
                border-radius: 4px;
                box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);

                font-size: 14px;
                line-height: 1.42857143;

                transition:
                    border-color ease-in-out 0.15s,
                    box-shadow ease-in-out 0.15s;
            }

            .flex-wrap {
                gap: 10px;
            }

            #edit-created-wrapper {
                legend {
                    background-color: #F5F5F5;
                    border-color: #DDDDDD;
                }
            }

            .js-form-submit {
                padding: 6px 24px;

                color: #242424;
                background-color: #FD9C00;
                border-color: transparent;
                border-radius: 28px;

                font-size: 14px;
                line-height: 1.42857;
                text-decoration: none;

                &:hover,
                &:focus {
                    color: #FFFFFF;
                    background-color: #000000;
                    border-color: #000000;
                }
            }
        }
    }
}

/* --------------------------------------------------------------------------
   Agenda juventud completa
   Presentación: agenda_home / block_4
   -------------------------------------------------------------------------- */

.node--type-pagina-interna-final-cubo .node__content {
    .layout__region--second {

        /* ------------------------------------------------------------------
           Formulario expuesto
           ------------------------------------------------------------------ */

        .block-views-exposed-filter-blockagenda-home-block-4 {
            margin: 0 0 32px;

            #views-exposed-form-agenda-home-block-4 {
                width: 100%;

                > .d-flex {
                    display: grid !important;
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    gap: 16px 20px;
                    align-items: end;
                    width: 100%;
                }

                /*
                 * Anula las anchuras col-sm-6 añadidas por
                 * form-element.html.twig.
                 */
                .form-item {
                    width: 100% !important;
                    max-width: 100% !important;
                    min-width: 0;
                    margin: 0 !important;
                    padding: 0 !important;
                }

                /*
                 * Primera fila:
                 * Buscar ocupa todo el ancho.
                 */
                .form-item-combine {
                    grid-column: 1 / -1;
                }

                label {
                    display: block;
                    margin-bottom: 6px;

                    color: #333333;
                    font-family: 'Inter', sans-serif;
                    font-size: 16px;
                    font-weight: 700;
                    line-height: 22px;
                }

                .form-control,
                .form-select {
                    display: block;
                    box-sizing: border-box;
                    width: 100%;
                    height: 42px;
                    margin: 0;
                    padding: 8px 12px;

                    color: #555555;
                    background-color: #FFFFFF;
                    border: 1px solid #A86800;
                    border-radius: 4px;
                    box-shadow: none;

                    font-family: 'Inter', sans-serif;
                    font-size: 14px;
                    line-height: 20px;

                    &:focus {
                        border-color: #FD9C00;
                        outline: 2px solid rgba(253, 156, 0, 0.25);
                        outline-offset: 1px;
                        box-shadow: none;
                    }
                }

                /*
                 * El botón queda en una tercera fila.
                 * Su aspecto base se obtiene de .btn y .btn-primary.
                 */
                .form-actions {
                    grid-column: 1 / -1;
                    width: 100%;
                    margin: 4px 0 0;
                    padding: 0;

                    .js-form-submit {
                        min-height: 42px;
                        margin: 0;

                        &:hover,
                        &:focus {
                            color: #FFFFFF !important;
                            background-color: #2A2D35 !important;
                            border-color: #2A2D35 !important;
                            text-decoration: none;
                        }
                    }
                }
            }
        }

        /* ------------------------------------------------------------------
           Listado de eventos
           ------------------------------------------------------------------ */

        .block-views-blockagenda-home-block-4 {
            margin: 0 0 50px;

            .view-agenda-home.view-display-id-block_4 {
                width: 100%;

                /*
                 * Bootstrap añade márgenes negativos a .row.
                 * Se neutralizan únicamente en esta vista.
                 */
                .view-content.row {
                    margin-right: 0;
                    margin-left: 0;
                }

                /* Tres columnas en escritorio. */
                .views-view-responsive-grid {
                    grid-template-columns:
                        repeat(3, minmax(0, 1fr)) !important;
                    column-gap: 24px !important;
                    row-gap: 32px !important;
                    width: 100%;
                }

                .views-view-responsive-grid__item {
                    min-width: 0;
                }

                /*
                 * Tarjetas de igual altura dentro de cada fila.
                 */
                .views-view-responsive-grid__item-inner {
                    display: flex;
                    flex-direction: column;
                    height: 100%;
                    min-width: 0;
                    padding-bottom: 24px;
                    border-bottom: 1px solid #DCDCDC;
                }

                /*
                 * Se reserva el mismo espacio tanto si existe imagen
                 * como si el campo está vacío.
                 */
                .views-field-field-imagen {
                    margin-bottom: 12px;

                    .field-content {
                        display: block;
                        width: 100%;
                        overflow: hidden;
                        aspect-ratio: 325 / 160;
                        background-color: #f3f5f7;
                        border-radius: 16px;
                    }

                    img {
                        display: block;
                        width: 100%;
                        max-width: 100%;
                        height: 100% !important;
                        object-fit: cover;
                        object-position: center;
                        border-radius: 16px;
                    }
                }

                .views-field-field-ubicacion {
                    .field-content:not(:empty) {
                        display: block;
                        margin-bottom: 8px;
                    }
                }

                /*
                 * Sitúa la categoría en la parte inferior cuando existe.
                 */
                .views-field-field-tipo-de-evento {
                    margin-top: auto;

                    .field-content:not(:empty) {
                        padding-top: 4px;
                    }
                }

                /* Mensaje sin resultados. */
                .view-empty {
                    margin: 30px 0;

                    color: #475467;
                    font-family: 'Inter', sans-serif;
                    font-size: 16px;
                    line-height: 24px;
                }

                /* ----------------------------------------------------------
                   Paginador
                   ---------------------------------------------------------- */

                .pagination {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 6px;
                    margin: 40px 0 0;
                    padding: 0;

                    .page-item {
                        margin: 0;
                    }

                    .page-link {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        min-width: 40px;
                        min-height: 40px;
                        padding: 8px 12px;

                        color: #616A7A;
                        background-color: #FFFFFF;
                        border: 1px solid transparent;
                        border-radius: 50%;
                        box-shadow: none;

                        font-family: 'Inter', sans-serif;
                        font-size: 14px;
                        font-weight: 600;
                        line-height: 20px;
                        text-decoration: none;

                        &:hover,
                        &:focus {
                            color: #242424;
                            background-color: #FFFFFF;
                            border-color: #FD9C00;
                            box-shadow: none;
                            text-decoration: none;
                        }
                    }

                    .page-item.active {
                        .page-link {
                            color: #242424;
                            background-color: #FFF4E0;
                            border-color: #FD9C00;
                        }
                    }

                    .page-item.disabled {
                        .page-link {
                            color: #98A2B3;
                            background-color: transparent;
                            border-color: transparent;
                        }
                    }

                    /*
                     * Los controles textuales no deben ser circulares.
                     * Compatible con el HTML real del pager de Barrio.
                     */
                    a[rel="prev"],
                    a[rel="next"],
                    a[title*="primera"],
                    a[title*="Primera"],
                    a[title*="última"],
                    a[title*="Última"] {
                        border-radius: 8px;
                    }
                }
            }
        }
    }
}

/* --------------------------------------------------------------------------
   Agenda juventud: tablet
   Dos columnas de eventos
   -------------------------------------------------------------------------- */

@media (min-width: 576px) and (max-width: 991.98px) {
    .node--type-pagina-interna-final-cubo .node__content {
        .layout__region--second {
            .block-views-blockagenda-home-block-4 {
                .view-agenda-home.view-display-id-block_4 {
                    .views-view-responsive-grid {
                        grid-template-columns:
                            repeat(2, minmax(0, 1fr)) !important;
                    }
                }
            }
        }
    }
}

/* --------------------------------------------------------------------------
   Agenda juventud: móvil
   Formulario y eventos en una columna
   -------------------------------------------------------------------------- */

@media (max-width: 575.98px) {
    .node--type-pagina-interna-final-cubo .node__content {
        .layout__region--second {

            .block-views-exposed-filter-blockagenda-home-block-4 {
                #views-exposed-form-agenda-home-block-4 {
                    > .d-flex {
                        grid-template-columns: minmax(0, 1fr);
                    }

                    .form-item-combine,
                    .form-actions {
                        grid-column: auto;
                    }

                    .form-actions {
                        .js-form-submit {
                            width: 100%;
                        }
                    }
                }
            }

            .block-views-blockagenda-home-block-4 {
                .view-agenda-home.view-display-id-block_4 {
                    .views-view-responsive-grid {
                        grid-template-columns:
                            minmax(0, 1fr) !important;
                        row-gap: 28px !important;
                    }

                    .pagination {
                        gap: 4px;

                        .page-link {
                            min-width: 36px;
                            min-height: 36px;
                            padding: 7px 10px;
                        }
                    }
                }
            }
        }
    }
}

.field.field--name-field-imagen-comercio img.image-style-focal-point {
    width: 100% !important;
}

.divcompartir {
    line-height: 32px;
    float: right;
    transform: rotate(90deg);
    position: relative;
    top: -25px;

    a {
        text-decoration: none;
        font-size: 20px;
        color: rgb(253, 156, 0);
    }

    a:hover {
        color: rgb(153, 95, 0);
    }
}

ul.nav[data-component-id="bootstrap_barrio:menu"] {
  display: flex;
  padding: 0;
  margin: 0;
}

ul.nav[data-component-id="bootstrap_barrio:menu"] .nav-item {
    list-style: none;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

ul.nav[data-component-id="bootstrap_barrio:menu"] .nav-item:last-child {
  border-right: 0;
}

ul.nav[data-component-id="bootstrap_barrio:menu"] .nav-link {
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #333;
  text-decoration: none;
}

ul.nav[data-component-id="bootstrap_barrio:menu"] .nav-link:hover,
ul.nav[data-component-id="bootstrap_barrio:menu"] .nav-link:focus,
ul.nav[data-component-id="bootstrap_barrio:menu"] .nav-link.is-active {
  background-color: #f2f2f2;
  color: #a05a00;
  text-decoration: none;
}

.btn-primary, span.btn-primary a {
    color: #fff !important;
    background-color: #FD9C00 !important;
    border-color: #e48c00 !important;
}
.btn {
    padding: 6px 24px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 28px;
}
.field--name-body{
    .align-center{
        .field--name-field-media-image{
            text-align: center;
            float: none;
            img{
                width: 100%;
            }
        }
    }
}

#block-pozuelo-theme-navegacionprincipalheadercubo{
    ul {
        justify-content: center;
        flex-wrap: nowrap;
    }

    li {
        border: 0.5px solid #E9E9E9;
        text-align: center;
    }

    a {
        color: black;
        font-family: 'robotoregular', sans-serif, Helvetica, Arial;
        font-size: 14px;
        line-height: 1.42857143;
        text-decoration: none;
        padding: 22px 20px;
        margin-inline: auto;
    }

    a:hover {
        color: #456f74;
        text-decoration: underline
    }


}

.block-views-blocknoticias-cubo-home-block-2{
        padding: 0 13px;
}
.noticias-cubo-listado{
    .view-content{
        display: flex;
        flex-direction: column;
        margin-top: 35px;
    }


    .noticia-cubo-listado__row .views-field-body .field-content a{
        display: grid;
        grid-template-columns: max-content 1fr; 
        grid-template-rows: max-content max-content auto; 
        column-gap: 20px; 
        row-gap: 5px; 
        border-top: solid 1px #999;
        padding: 35px 0;
        text-decoration: none;
    }
    a:hover .views-field-title {
        color: #3090C4;
    }
    a:hover img {
        transform: scale(1.10);
        transition: all 0.3s ease 0s;
        -webkit-transition: all 0.3s ease 0s;
    }

    .views-field-field-image {
        grid-column: 1;
        grid-row: 1 / 4; 
        backface-visibility: hidden;
        overflow: hidden;
    }

    .views-field-field-image img {
        max-width: 300px;
        height: auto;
        display: block;
    }
    .views-field-created{
        font-size: 12px;
        color: #3090C4;
    }
    .views-field-title{
        margin-top: 4px;
        padding-top: 4px;
        font-size: 26px;
        transition: all 0.3s ease 0s;
        -webkit-transition: all 0.3s ease 0s;
        font-weight: normal !important;
        color: #1d1d1d;
        line-height: 30px;
        font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    }
    .views-field-body{
        color: #333;
        font-family: 'robotoregular', sans-serif, Helvetica, Arial;
        font-size: 14px;
        line-height: 1.42857143;
    }
    .pagination {
        justify-content: center;
    }

    .page-item.active .page-link {
        background-color: transparent;
        border-color: transparent;
        color: #616A7A;
    }

    .page-link,
    a.page-link {
        color: #616A7A;
        border: unset;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        border: 1px solid white;
        border-radius: 100%;
    }

    a.page-link:hover {
        z-index: 2;
        color: #616A7A;
        background-color: #fff;
        border-color: #FD9C00;
    }
    .page-item.active {
        border: 2px solid #FD9C00;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #F0F9FF;
    }
}

/* ==========================================================================
   CUBO - Noticia individual
   Basado en PRO: alcubo.css -> .articulos-noticias-pozuelo
   Adaptado al HTML actual de Drupal 11 / Layout Builder
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout base
   -------------------------------------------------------------------------- */

.node--type-article .layout--twocol-section--33-67 > .layout__region--second {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Bloques principales a ancho completo */
.node--type-article .layout__region--second > .block-content-basic,
.node--type-article .layout__region--second > .block-field-blocknodearticlefield-image,
.node--type-article .layout__region--second > .block-field-blocknodearticletitle,
.node--type-article .layout__region--second > .block-field-blocknodearticlebody {
    flex: 0 0 100%;
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   Cabecera "Noticias"
   -------------------------------------------------------------------------- */

.node--type-article .node__content .block-content-basic {
    margin-bottom: 0;
}

.node--type-article .node__content .block-content-basic p {
    margin: 0;
    color: #ffffff;
    background-color: #FD9C00;
    padding: 20px;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 18px;
    line-height: 1.42857143;
}

/* --------------------------------------------------------------------------
   Imagen principal
   -------------------------------------------------------------------------- */

.node--type-article .node__content .block-field-blocknodearticlefield-image {
    margin: 0;
}

.node--type-article .node__content .field--name-field-image {
    margin: 0;
}

.node--type-article .node__content .field--name-field-image img,
.node--type-article .node__content .field--name-field-image img.image-style-focal-point {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 8px;
    border-radius: 0 !important;
}

/* --------------------------------------------------------------------------
   Título
   PRO: .articulos-noticias-pozuelo .h4 span
   -------------------------------------------------------------------------- */

.node--type-article .node__content .block-field-blocknodearticletitle {
    background-color: #FD9C00;
    padding: 35px 20px;
}

.node--type-article .node__content .block-field-blocknodearticletitle h1 {
    display: inline-block;
    margin: 0;
    padding: 20px 0px;
    color: #ffffff;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 36px;
    line-height: 42px;
    font-weight: normal !important;
}

/* --------------------------------------------------------------------------
   Fecha + AddToAny
   PRO:
   .fecha-redes
   .fecha-articulo
   .redes-sociales-pozuelo
   .imprimir-notas-prensa
   -------------------------------------------------------------------------- */

/* Fecha: equivalente a col-sm-3 */
.node--type-article .layout__region--second > .block-field-blocknodearticlecreated {
    flex: 0 0 25%;
    max-width: 25%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 15px 0 15px;
}

/* PRO: .articulos-noticias-pozuelo p.fecha-articulo span */
.node--type-article .block-field-blocknodearticlecreated .field--name-created,
.node--type-article .block-field-blocknodearticlecreated time,
.node--type-article .block-field-blocknodearticlecreated span {
    display: block;
    margin: 2px 0 20px 0 !important;
    color: #999999 !important;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 13px;
    line-height: 22px;
    font-weight: 400;
}

/* AddToAny: equivalente a col-sm-7 + col-sm-2 */
.node--type-article .layout__region--second > .block-addtoany-block {
    flex: 0 0 75%;
    max-width: 75%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 15px 0 15px;
}

/* Contenedor de botones */
.node--type-article .block-addtoany-block .a2a_kit {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    line-height: 30px !important;
}

/* PRO: .a2a_default_style a */
.node--type-article .block-addtoany-block .a2a_kit a {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin-right: 20px !important;
    padding: 0 2px !important;
    color: #FD9C00 !important;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 13px !important;
    line-height: 30px !important;
    text-decoration: none;
    cursor: pointer;
    transition: none;
}

/* Etiquetas visibles: Facebook, X, Email */
.node--type-article .block-addtoany-block .a2a_label {
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    color: #FD9C00 !important;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 13px !important;
}

/* Orden correcto: Facebook, X, Email, Compartir, Imprimir */
.node--type-article .block-addtoany-block .a2a_button_facebook {
    order: 1;
}

.node--type-article .block-addtoany-block .a2a_button_x {
    order: 2;
}

.node--type-article .block-addtoany-block .a2a_button_email {
    order: 3;
}

.node--type-article .block-addtoany-block .a2a_dd,
.node--type-article .block-addtoany-block .addtoany_share {
    order: 4;
}

.node--type-article .block-addtoany-block .a2a_button_print {
    order: 5;
}

/* PRO: AddToAny
   Facebook, X y Email redondos.
   El botón genérico de compartir (+) NO es redondo en PRO.
*/

/* Base común para todos los iconos AddToAny */
.node--type-article .block-addtoany-block .a2a_svg,
.node--type-article .block-addtoany-block span.a2a_svg,
.node--type-article .block-addtoany-block .a2a_s__default,
.node--type-article .block-addtoany-block .a2a_kit a > span.a2a_svg,
.node--type-article .block-addtoany-block .a2a_kit a > .a2a_svg {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    background-size: 32px !important;
    overflow: hidden !important;
}

/* Facebook, X y Email redondos */
.node--type-article .block-addtoany-block .a2a_button_facebook > span.a2a_svg,
.node--type-article .block-addtoany-block .a2a_button_x > span.a2a_svg,
.node--type-article .block-addtoany-block .a2a_button_email > span.a2a_svg {
    border-radius: 50% !important;
    clip-path: circle(50% at 50% 50%) !important;
}

/* El botón + de compartir debe quedar cuadrado/redondeado, no circular */
.node--type-article .block-addtoany-block .a2a_dd > span.a2a_svg,
.node--type-article .block-addtoany-block .addtoany_share > span.a2a_svg {
    border-radius: 4px !important;
    clip-path: none !important;
}

/* Refuerzo SVG interno para Facebook, X y Email */
.node--type-article .block-addtoany-block .a2a_button_facebook svg,
.node--type-article .block-addtoany-block .a2a_button_x svg,
.node--type-article .block-addtoany-block .a2a_button_email svg {
    border-radius: 50% !important;
}

/* Refuerzo SVG interno para el botón + */
.node--type-article .block-addtoany-block .a2a_dd svg,
.node--type-article .block-addtoany-block .addtoany_share svg {
    border-radius: 4px !important;
}

/* Colores originales PRO para iconos AddToAny */
.node--type-article .block-addtoany-block .a2a_button_facebook > span.a2a_svg {
    background-color: rgb(8, 102, 255) !important;
}

.node--type-article .block-addtoany-block .a2a_button_x > span.a2a_svg {
    background-color: rgb(1, 102, 255) !important;
}

.node--type-article .block-addtoany-block .a2a_button_email > span.a2a_svg {
    background-color: rgb(136, 137, 144) !important;
}

.node--type-article .block-addtoany-block .a2a_dd > span.a2a_svg,
.node--type-article .block-addtoany-block .addtoany_share > span.a2a_svg {
    background-color: rgb(1, 102, 255) !important;
}

/* Ocultar texto "Share", manteniendo el botón + */
.node--type-article .block-addtoany-block .a2a_dd .a2a_label,
.node--type-article .block-addtoany-block .addtoany_share .a2a_label {
    display: none !important;
}

/* Imprimir: enlace de texto + icono, ajustado al HTML actual */
.node--type-article .block-addtoany-block .a2a_button_print {
    order: 5;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-width: auto;
    margin-right: 0 !important;
    padding: 0 !important;
    color: #FD9C00 !important;
    background: transparent !important;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 13px !important;
    line-height: 30px !important;
    text-decoration: none;
}

/* Ocultar SVG original de AddToAny para Print */
.node--type-article .block-addtoany-block .a2a_button_print .a2a_svg {
    display: none !important;
}

/* Ocultar texto original "Print" */
.node--type-article .block-addtoany-block .a2a_button_print .a2a_label {
    display: inline-block !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Pintar texto "Imprimir" */
.node--type-article .block-addtoany-block .a2a_button_print .a2a_label::after {
    content: "Imprimir";
    color: #FD9C00;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 13px;
    line-height: 30px;
}

/* Icono gris a la derecha de Imprimir */
.node--type-article .block-addtoany-block .a2a_button_print::after {
    content: "\f02f";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #999999;
    font-size: 18px;
    line-height: 1;
    position: static;
}

/* Hover */
.node--type-article .block-addtoany-block .a2a_kit a:hover,
.node--type-article .block-addtoany-block .a2a_kit a:focus {
    color: #b16d00 !important;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Separador HR
   PRO: .articulos-noticias-pozuelo hr
   -------------------------------------------------------------------------- */

.node--type-article .layout__region--second > .block-field-blocknodearticlebody::before {
    content: "";
    display: block;
    width: 100%;
    border-top: solid 1px #666666;
    margin-top: 0;
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Cuerpo de la noticia
   PRO: .articulos-noticias-pozuelo p / ul li / ul li em
   -------------------------------------------------------------------------- */

.node--type-article .block-field-blocknodearticlebody {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 0;
    color: #333333;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 15.5px;
    line-height: 22px;
}

.node--type-article .block-field-blocknodearticlebody p {
    margin: 20px 0;
    color: #333333;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 15.5px;
    line-height: 22px;
}

.node--type-article .block-field-blocknodearticlebody ul li {
    margin-bottom: 20px;
}

/* Primer listado del body como entradilla.
   En PRO estaba pensado para ul li em; aquí lo aplicamos al primer li real. */
.node--type-article .block-field-blocknodearticlebody .field--name-body > section > ul:first-child,
.node--type-article .block-field-blocknodearticlebody .field--name-body > ul:first-child {
    margin: 20px 0 20px 20px;
    padding-left: 18px;
    list-style: disc;
}

/* Restaurar bullet solo en la entradilla */
.node--type-article .block-field-blocknodearticlebody .field--name-body > section > ul:first-child > li::marker,
.node--type-article .block-field-blocknodearticlebody .field--name-body > ul:first-child > li::marker {
    content: "• ";
    color: #333333;
}

.node--type-article .block-field-blocknodearticlebody .field--name-body > section > ul:first-child > li,
.node--type-article .block-field-blocknodearticlebody .field--name-body > ul:first-child > li,
.node--type-article .block-field-blocknodearticlebody ul li em {
    color: #666666;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
    font-size: 22px;
    line-height: 30px;
    font-style: italic;
}

/* Títulos internos */
.node--type-article .block-field-blocknodearticlebody h2 {
    margin: 20px 0 10px 0;
    color: #333333;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 32px !important;
    line-height: 1.1;
    font-weight: 500 !important;
}

.node--type-article .block-field-blocknodearticlebody h3 {
    margin: 20px 0 10px 0;
    color: #333333;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 500;
}

.node--type-article .block-field-blocknodearticlebody h4 {
    margin: 10px 0;
    color: #333333;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
    .node--type-article .layout__region--second > .block-field-blocknodearticlecreated,
    .node--type-article .layout__region--second > .block-addtoany-block {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .node--type-article .block-addtoany-block .a2a_kit {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .node--type-article .block-addtoany-block .a2a_button_print {
        margin-left: 0;
    }

    .node--type-article .node__content .block-field-blocknodearticletitle {
        padding: 24px 12px;
    }

    .node--type-article .node__content .block-field-blocknodearticletitle h1 {
        font-size: 28px;
        line-height: 34px;
        padding: 0 12px;
    }

    .node--type-article .block-field-blocknodearticlebody .field--name-body > section > ul:first-child > li,
    .node--type-article .block-field-blocknodearticlebody .field--name-body > ul:first-child > li {
        font-size: 18px;
        line-height: 24px;
    }
}

.field--name-body.text-formatted > .col-sm-12 {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 70px;
  margin: 30px;
  padding: 0 !important;
}

.field--name-body.text-formatted .col-sm-2 {
  display: none !important;
}

.field--name-body.text-formatted .col-sm-4 {
  background: rgb(253, 156, 0);
  border: 2px solid rgb(253, 156, 0);
  border-radius: 20px;
  color: #fff;

  width: 235px;
  min-height: 120px;
  height: auto;

  padding: 10px 14px;
  text-align: center;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  flex: 0 0 auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.field--name-body.text-formatted .btn.btn-primary {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  white-space: normal !important;
}


.field--name-body.text-formatted strong {
  font-weight: 700 !important;
}

  .block-field-blocknodepagina-interna-cubotitle {
            background-color: #FD9C00;
            padding: 20px;
            margin-bottom: 30px;


            h1 {
                color: white;
                margin: 0;
                font-size: 22px;
                font-weight: 600;
            }
 }

.block-content-contenedor_de_agenda,
.sidebar_first {
    margin: 50px 0;

    .agenda-de-eventos,
    .block-views-blockagenda-de-eventos-block-1 {
        display: grid;
        grid-template-columns: 48% 10% 40%;
        gap: 10px;

        .view-display-id-block_2 {
            .views-row {
                display: grid;
                grid-template-columns: 45% 1fr;
                padding-left: 0;
            }

            .views-field-field-imagen {
                grid-column: 1;
                grid-row: 1 / 6;
                margin-right: 5px;
            }

            .views-row>div:not(.views-field-field-imagen) {
                grid-column: 2;
            }
        }
    }

    .block-views-blockagenda-de-eventos-block-2 {
        display: block;
    }

    .agenda-de-eventos,
    .block-views-blockagenda-de-eventos-block-1,
    .block-views-blockagenda-de-eventos-block-2 {

        .columna1 {


            .field--name-body a {
                top: 10px;
                position: relative;
                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;
            }
        }

        .block-views-blockagenda-de-eventos-block-2 .content {
            max-height: 366px;
            overflow: hidden;
        }

        .view-display-id-block_2 {
            .views-row {
                margin-bottom: 20px;
                border-bottom: 1px solid rgba(0, 109, 179, 0.3);
                padding-bottom: 10px;
            }


            .views-field-field-imagen {
                img {
                    width: 100%;
                    height: auto;
                    border-radius: 16px;
                }

            }

            .views-field-title,
            .views-field-field-fecha-de-fin-agenda {
                margin: 5px 0;
            }

            .views-field-field-categoria-de-la-actividad .field-content {
                color: #616a7a;
                font-weight: 600;
                font-family: 'Inter';
                font-size: 16px;
                line-height: 22px;
            }

            a {
                color: #006DB3;
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
                text-decoration: none;
            }

            a:hover,
            a:focus {
                color: #003e66;
            }

            .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: #006db3;
            }

            a.btn:hover,
            a.btn:focus {
                background-color: #EFF8FF;
            }

            .views-field-field-fecha-de-inicio-agenda .field-content,
            .views-field-field-fecha-de-fin-agenda .field-content {
                color: #616a7a;
                line-height: 30px;
                font-family: 'Inter';
                font-size: 16px;
            }

            .views-field-field-ubicacion .field-content {
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
            }

            .views-field-field-fecha-de-fin-agenda,
            .views-field-field-ubicacion {
                display: flex;
                align-items: center;
            }

            .views-field-field-fecha-de-fin-agenda::before {
                content: url(/themes/custom/pozuelo_theme/img/calendar2-week.svg);
                margin-right: 4px;
                top: 1px;
                position: relative;
            }

            .views-field-field-ubicacion::before {
                content: url(/themes/custom/pozuelo_theme/img/geo-alt.svg);
                margin-right: 4px;
                top: 1px;
                position: relative;
            }

            .calendar-pager {
                display: none;
            }
        }

        .dia-de-hoy {
            background-color: #eff1f5;
            border-radius: 16px;
            height: 366px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;

            .hoy {
                color: #161f2b;
                font-size: 16px;
                margin: 0;
            }

            .mes {
                color: #161f2b;
                font-size: 86px;
                font-weight: 600;
            }
        }

        .view-display-id-block_1>.calendar-pager {
            display: none !important;
        }

        .view-display-id-block_1 {
            border-radius: 16px;
            box-shadow: 0px 0px 0px 2px rgba(239, 241, 245, 1);
            /* padding: 13px; */
            min-height: 365px;

            .calendar-pager {
                display: flex;
                justify-content: center;

                .calendar-pager__items {
                    width: 100%;
                    justify-content: space-between;
                }

                .pager__item--current {
                    color: #161f2b;
                    font-size: 16px;
                    top: 8px;
                    position: relative;
                }
            }

            .calendar-calendar {
                th.days {
                    color: #161f2b;
                    border: none;
                    background-color: unset;
                    font-weight: bold;
                    padding: 15px;
                }

                tr {
                    border: none;
                }

                .mini-day-on {
                    color: #374254 !important;
                    text-decoration: none;
                    font-size: 16px;
                    text-align: center;
                }

                .mini-day-on,
                .mini-day-off {
                    color: #374254 !important;
                    text-decoration: none;
                    font-size: 16px;
                    width: 36px;
                    height: 36px;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    text-align: center;
                    /*margin-right: 17px;*/
                }

                .mini-day-on a {
                    width: 36px;
                    height: 36px;
                    padding-top: 6px !important;
                }

                tr td.has-events:not(.today) {
                    a {
                        color: #ffffff !important;
                        border-color: #006db3 !important;
                        background-color: #006db3;
                        border-radius: 100%;
                        padding: 0;
                        margin-right: -3px;
                    }
                }

                td.today {

                    a,
                    div.mini-day-off {
                        border: 1px solid #c1c1c1;
                        border-radius: 100%;
                        padding: 0;
                    }
                }

                tr td.today,
                tr.odd td.today,
                tr.even td.today {
                    background-color: unset;
                }

                tr td.has-events a.selected {
                    color: #ffffff !important;
                    border-color: #87c7b6 !important;
                    background-color: #87c7b6;
                    border-radius: 100%;
                    padding: 0;
                }
            }

        }

    }

    .block-views-blockagenda-de-eventos-block-1 {
        display: flex;
        border: none;
        background-color: white !important;

        .content {
            width: 100%;
        }
    }
}


.block-field-blocknodeeventostitle {
    color: #fff;
    background-color: #FD9C00;
    padding: 20px;
    font-size: 22px;
    font-weight: 600;
}

.desplazamiento {
    display: none;
}

.page-node-26913 .node__content,
.node--type-article .node__content {
  .layout--twocol-section {
    .field--name-body,
    .field--name-body * {
      font-size: 14px !important;
    }
  }
}

.cookiesjsr-banner {
    width: 100%;
}
.avisos-custom{
    .view-content.row{
        background-color: #FD9C00;
        border-color: transparent;
        color: #000;
        text-align: center;
        padding: 20px 0;
        cursor: pointer;
    }
}