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

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

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

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: 20%;
        margin: 0 auto;

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

    .search-box {
        width: 100%;
        height: 40px;
        margin: 0 auto;
        background-color: #ffffff;
        padding: 3px 4px;
        border-radius: 40px;
        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 */
    .search-box {
        position: relative !important;
    }

    form.gsc-search-box,
    table.gsc-search-box {
        position: static !important;
        /* dejamos que el contenedor sea .search-box */
    }

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



    .region-top-header {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    .menu--navegacion-ma-topheader {
        width: 72%;

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

        a:hover {
            border-bottom: 2px solid #4F7B57;
        }
    }

    .container:nth-child(2)>.container:after {
        content: "";
        display: block;
        background-image: url(/themes/custom/pozuelo_theme/img/wood-head-line.png);
        background-size: 100%;
        background-repeat: no-repeat;
        height: 16px;
        position: relative;
        top: 40px;
    }

    .region-escudo-cultura {
        width: fit-content;
        float: right;
        right: 12px;
        position: relative;

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

            .content {
                display: flex;
            }

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

            .field--name-body {
                display: flex;
                flex-wrap: nowrap;
                background-color: #6BAB76;
                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: #000000;
                    text-decoration: none;
                    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
                    font-size: 14px;
                    line-height: 1.42857143;

                }

                a:hover {
                    text-decoration: underline;
                }
            }
        }
    }
    #block-pozuelo-theme-logotipomaheader .field--name-field-media-image img{
        width: 202px;
        height: auto;
    }
}

#navbar-main {
    padding-top: 0;
    top: 8px;

    .navbar-collapse {
        justify-content: center !important;
        max-width: 1295px;

        .menu--navegacion-principal-ma {
            .nav-item {
                padding: 10px 31px;
                border: 0.5px solid #E9E9E9;

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

                a:hover {
                    color: #4F7B57;
                }
            }

            ul {
                flex-wrap: nowrap;
            }

        }
    }
}

.featured-top {

    .block-content-slider_ma {
        .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: #4F7B57;
            }

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

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

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

            .field--name-field-texto {
                color: white;
                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-ma-home {
    margin-top: 30px;

    img {
        width: 100%;
        height: auto;
    }

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

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

/* =========================================================
   BANNERS E INSTAGRAM
   ========================================================= */
.banner-instagram {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;

    .banner {
        flex-basis: 100%;

        .block-views-blocknoticias-ma-home-block-1 {
            padding-top: 4px;
            margin-bottom: 20px;

            .view-content {
                display: grid;
                grid-template-columns: 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 {
                text-align: center;

                a {
                    color: #000000;
                    background-color: #6BAB76;
                    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: #4F7B57;
                    border-color: #2A2D35;
                }
            }
        }

    }

    .instagram {
        flex-basis: 0%;
        margin-top: 50px;
    }
}

.site-footer {
    background: #507B58 !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-ma {
        .nav {
            justify-content: center;
        }

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

        .nav-link {
            color: white;
        }

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

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

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

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

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

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


/* =========================================================
   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: #000000;
        background-color: #6BAB76;
        border-color: #6BAB76;
        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 #6BAB76;
    }

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

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

    a {
        color: #4A7351;
    }
}

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

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

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

                .nav-item {
                    border-radius: 16px;
                    background-color: #6BAB76;
                    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: #000000;
                    display: -webkit-box;
                    line-clamp: 4;
                    -webkit-line-clamp: 4;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    padding: 0px 20px;
                }

                .nav-link:hover {
                    color: #000000;
                }

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

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

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

/* =========================================================
   PÁGINA INTERNA FINAL
   ========================================================= */
.node--type-pagina-interna-final-educacion .node__content {
    .organismos {
        width: 100%;
    }

    .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;
                display: flex;
                white-space: break-spaces;
            }

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

            a.active {
                color: #4A7351;
                background-color: #E1EEE4;
            }

            a:hover {
                color: #000;
            }

            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: #4A7351;
                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;
            }
        }
    }

    .layout__region--second {
        flex: 0 1 75% !important;

        .block-field-blocknodepagina-interna-final-educaciontitle {
            background-color: #4F7B57;
            padding: 20px;
            margin-bottom: 30px;

            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;
            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: #4F7B57;
                    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 20px;
                    text-decoration: none;
                }

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

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

        .block-field-blocknodepagina-interna-final-educacionbody .field--type-image {
            float: unset;
        }
    }
}

/* ==========================================================================
   AGENDA DE EDUCACIÓN AMBIENTAL
   Vista: agenda_home / block_6
   ========================================================================== */

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

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

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

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

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

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

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

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

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

                    color: #333333;
                    background-color: #ffffff;
                    border: 1px solid #cbd3dc;
                    border-radius: 6px;
                    box-shadow: none;

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

                    &:focus {
                        border-color: #4F7B57;
                        outline: 2px solid rgba(79, 123, 87, 0.2);
                        outline-offset: 1px;
                        box-shadow: none;
                    }
                }

                .form-actions {
                    grid-column: 1 / -1;
                    width: 100%;
                    margin: 6px 0 0;
                    padding: 0;

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

                        color: #ffffff;
                        background-color: #4F7B57;
                        border: 1px solid #4F7B57;
                        border-radius: 6px;
                        box-shadow: none;

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

                        &:hover,
                        &:focus {
                            color: #ffffff;
                            background-color: #314C36;
                            border-color: #314C36;
                            text-decoration: none;
                        }
                    }
                }
            }
        }

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

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

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

                /*
                 * Neutraliza los márgenes negativos de Bootstrap .row.
                 */
                .view-content.row {
                    margin-right: 0;
                    margin-left: 0;
                }

                /* Tres columnas en escritorio. */
                .views-view-responsive-grid {
                    --views-responsive-grid--layout-gap: 24px;

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

                .views-view-responsive-grid__item-inner {
                    display: flex;
                    flex-direction: column;
                    min-width: 0;
                    height: 100%;
                    padding-bottom: 24px;
                    border-bottom: 1px solid #dcdcdc;
                }

                /* Imagen del evento: se reserva espacio aunque no haya imagen. */
                .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;
                    }
                }

                /*
                 * Global: Texto personalizado.
                 * Muestra una fecha o el rango "De … a …".
                 */
                .views-field-nothing {
                    margin-bottom: 8px;

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

                /* Título. */
                .views-field-title {
                    margin-bottom: 8px;

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

                        color: #4F7B57;
                        font-family: 'Inter', sans-serif;
                        font-size: 16px;
                        font-weight: 600;
                        line-height: 22px;
                        text-decoration: none;

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

                /* Ubicación. */
                .views-field-field-ubicacion {
                    margin-bottom: 6px;

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

                    .field-content:not(:empty) {
                        color: #475467;
                        font-family: 'Inter', sans-serif;
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 20px;

                        &::before {
                            content: "\f041";
                            margin-right: 5px;

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

                /* Tipo de evento. */
                .views-field-field-tipo-de-evento {
                    margin-top: auto;
                    padding-top: 2px;

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

                    .field-content:not(:empty) {
                        color: #4F7B57;
                        font-family: 'Inter', sans-serif;
                        font-size: 14px;
                        font-weight: 600;
                        line-height: 20px;
                    }

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

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

                /* Mensaje cuando no hay 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: #4F7B57;
                            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: #314C36;
                                background-color: #ffffff;
                                border-color: #4F7B57;
                                box-shadow: none;
                                text-decoration: none;
                            }
                        }

                        &.active {
                            .page-link {
                                color: #ffffff;
                                background-color: #4F7B57;
                                border-color: #4F7B57;
                            }
                        }

                        &.disabled {
                            .page-link {
                                color: #98a2b3;
                                background-color: transparent;
                                border-color: transparent;
                            }
                        }
                    }

                    /*
                     * Los controles textuales no deben ser circulares.
                     * El pager de Bootstrap Barrio no incluye siempre
                     * las clases pager__item--next o pager__item--last.
                     */
                    a[rel="prev"],
                    a[rel="next"],
                    a[title*="primera"],
                    a[title*="Primera"],
                    a[title*="última"],
                    a[title*="Última"] {
                        border-radius: 8px;
                    }
                }
            }
        }
    }
}

/* ==========================================================================
   AGENDA DE EDUCACIÓN AMBIENTAL: RESPONSIVE
   ========================================================================== */

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

/* Móvil: formulario y eventos en una columna. */
@media (max-width: 575.98px) {
    .node--type-pagina-interna-final-educacion .node__content {
        .layout__region--second {

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

                    .form-actions {
                        grid-column: auto;

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

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

                    .pagination {
                        gap: 4px;

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

.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: #000;
            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: #6BAB76;
        }

        .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: #000;
            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: #6BAB76;
        }

        .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 #6BAB76;
                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 {
                color: #000000;
                background-color: #6BAB76;
                border-color: transparent;
                padding: 6px 24px;
                font-size: 14px;
                line-height: 1.42857143;
                border-radius: 28px;
                text-decoration: none;
            }

            .js-form-submit:hover {
                background-color: #000;
                color: white;
                border: 1px solid #000;
            }
        }
    }
}

/* ==========================================================================
   EDUCACIÓN AMBIENTAL - EVENTO INDIVIDUAL
   Tipo de contenido: eventos
   ========================================================================== */

/* --------------------------------------------------------------------------
   Estructura: sidebar y contenido principal
   -------------------------------------------------------------------------- */

.row-offcanvas-left:has(.node--type-eventos) {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 24px;

    > .main-content {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: 0;
    }

    > .sidebar_first {
        flex: 0 0 32%;
        width: 32%;
        max-width: 32%;
        margin: 0;
    }
}

/* --------------------------------------------------------------------------
   Contenido del evento
   -------------------------------------------------------------------------- */

.node--type-eventos {

    /* Título. */
    .block-field-blocknodeeventostitle {
        margin: 24px 0 0;
        padding: 16px 20px;

        background-color: #4F7B57;

        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 no hay imagen, desaparece el bloque.
     */
    .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 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. */
    .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: #4F7B57;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            line-height: 20px;
            text-decoration: none;

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

    /* Tipo de evento destacado, aunque ya no sea un enlace. */
    .block-field-blocknodeeventosfield-tipo-de-evento {
        .field__item {
            color: #4F7B57;
            font-weight: 600;
        }
    }

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

            h2 {
                margin: 24px 0 12px;

                color: #333333;
                font-size: 24px !important;
                font-weight: 700;
                line-height: 32px;
            }

            h3 {
                margin: 20px 0 10px;

                color: #333333;
                font-size: 20px;
                font-weight: 700;
                line-height: 28px;
            }

            a {
                color: #4F7B57;
                text-decoration: underline;

                &:hover,
                &:focus {
                    color: #314C36;
                }
            }
        }
    }
}

/* ==========================================================================
   EDUCACIÓN AMBIENTAL - SIDEBAR DEL EVENTO
   ========================================================================== */

.row-offcanvas-left:has(.node--type-eventos) {
    > .sidebar_first {

        /* ------------------------------------------------------------------
           Calendario mensual: agenda_de_eventos / block_1
           ------------------------------------------------------------------ */

        .block-views-blockagenda-de-eventos-block-1 {
            display: block;
            width: 100%;
            margin: 0 0 24px;
            padding: 16px;

            background-color: #ffffff;
            border: 1px solid #e4e7ec;
            border-radius: 16px;

            .content,
            .form-group,
            .view-display-id-block_1 {
                width: 100%;
            }

            /*
             * El calendario genera un paginador en la cabecera
             * y otro al final. Solo se conserva el superior.
             */
            .view-display-id-block_1 > .calendar-pager {
                display: none;
            }

            .view-header {
                .calendar-pager {
                    display: block;
                    margin: 0 0 12px;

                    .calendar-pager__items {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        width: 100%;
                        margin: 0;
                        padding: 0;

                        list-style: none;
                    }

                    .pager__item--current {
                        color: #333333;
                        font-family: 'Inter', sans-serif;
                        font-size: 14px;
                        font-weight: 600;
                        line-height: 24px;
                    }

                    .calendar-pager__item--control {
                        a {
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            width: 32px;
                            height: 32px;

                            color: #4F7B57;
                            border-radius: 50%;
                            text-decoration: none;

                            &:hover,
                            &:focus {
                                color: #ffffff;
                                background-color: #4F7B57;
                            }
                        }

                        svg {
                            width: 18px;
                            height: 18px;
                        }
                    }
                }
            }

            .view-content.row {
                margin: 0;
            }

            .calendar-calendar {
                width: 100%;

                table.mini {
                    width: 100%;
                    margin: 0;

                    table-layout: fixed;
                    border-collapse: collapse;
                    border: 0;
                    background-color: transparent;
                }

                thead,
                tbody,
                tr,
                th,
                td {
                    border: 0 !important;
                    background-color: transparent !important;
                }

                th.days {
                    padding: 6px 0;

                    color: #333333;
                    font-family: 'Inter', sans-serif;
                    font-size: 12px;
                    font-weight: 700;
                    line-height: 18px;
                    text-align: center;
                }

                td {
                    padding: 2px;
                    text-align: center;
                    vertical-align: middle;
                }

                .mini-day-on,
                .mini-day-off {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    width: 32px;
                    height: 32px;

                    color: #475467;
                    font-family: 'Inter', sans-serif;
                    font-size: 13px;
                    line-height: 18px;
                    text-align: center;
                }

                .mini-day-on {
                    a {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        width: 32px;
                        height: 32px;
                        padding: 0 !important;

                        color: #475467;
                        border-radius: 50%;
                        text-decoration: none;
                    }
                }

                td.has-events:not(.today) {
                    .mini-day-on {
                        a {
                            color: #ffffff !important;
                            background-color: #4F7B57;
                        }
                    }
                }

                td.has-events:not(.today) {
                    .mini-day-on {
                        a:hover,
                        a:focus {
                            background-color: #314C36;
                        }
                    }
                }

                td.today {
                    .mini-day-off,
                    .mini-day-on a {
                        border: 1px solid #98a2b3;
                        border-radius: 50%;
                    }
                }

                td.has-events.today {
                    .mini-day-on a {
                        color: #ffffff !important;
                        background-color: #4F7B57;
                        border-color: #4F7B57;
                    }
                }

                .calendar-empty {
                    display: none;
                }
            }
        }
    }
}

.row-offcanvas-left:has(.node--type-eventos) {
    > .sidebar_first {

        /* ------------------------------------------------------------------
           Próximos eventos: agenda_de_eventos / block_2
           ------------------------------------------------------------------ */

        .block-views-blockagenda-de-eventos-block-2 {
            display: block;
            width: 100%;
            margin: 0;
            padding: 16px;

            background-color: #f7f8f5;
            border: 0;

            > h2 {
                margin: 0 0 12px;
                padding: 0 0 12px;

                color: #333333;
                border-bottom: 1px solid #d0d5dd;

                font-family: 'Inter', sans-serif;
                font-size: 24px;
                font-weight: 700;
                line-height: 30px;
            }

            .content,
            .form-group,
            .view-display-id-block_2 {
                width: 100%;
            }

            .view-content.row {
                display: block;
                margin: 0;
            }

            /*
             * Neutraliza la cuadrícula genérica de imagen + texto.
             * En este bloque compacto no reservamos placeholder.
             */
            .views-row {
                display: block !important;
                grid-template-columns: none !important;
                width: 100%;
                margin: 0;
                padding: 14px 0 !important;

                border-bottom: 1px solid #cfd8d1;
            }

            .views-row:last-child {
                border-bottom: 0;
            }

            .views-field-field-imagen {
                display: none;
            }

            .views-row > div:not(.views-field-field-imagen) {
                display: block;
                grid-column: auto !important;
                width: 100%;
            }

            .views-field-field-tipo-de-evento {
                margin-bottom: 4px;

                .field-content {
                    color: #475467;
                    font-family: 'Inter', sans-serif;
                    font-size: 13px;
                    font-weight: 400;
                    line-height: 18px;
                }
            }

            .views-field-title {
                margin-bottom: 6px;

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

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

            .views-field-field-fecha-de-inicio {
                margin-bottom: 4px;

                .field-content {
                    color: #475467;
                    font-family: 'Inter', sans-serif;
                    font-size: 13px;
                    font-weight: 400;
                    line-height: 18px;
                }
            }

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

                .field-content:not(:empty) {
                    color: #475467;
                    font-family: 'Inter', sans-serif;
                    font-size: 13px;
                    font-weight: 600;
                    line-height: 18px;

                    &::before {
                        content: "\f041";
                        margin-right: 4px;

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

            /*
             * El JavaScript antiguo imprime dos controles ">".
             * No se necesitan en esta presentación.
             */
            .desplazamiento {
                display: none !important;
            }
        }
    }
}

/* ==========================================================================
   EVENTO INDIVIDUAL DE EDUCACIÓN: RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    .row-offcanvas-left:has(.node--type-eventos) {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 24px;

        > .main-content,
        > .sidebar_first {
            flex: 0 0 auto;
            width: 100%;
            max-width: 100%;
        }

        /*
         * En móvil y tablet se muestra primero el contenido
         * del evento y después el calendario.
         */
        > .main-content {
            order: 1;
        }

        > .sidebar_first {
            order: 2;
            margin: 0;
        }
    }
}

@media (max-width: 575.98px) {
    .node--type-eventos {
        .block-field-blocknodeeventostitle {
            padding: 14px 16px;

            h1 {
                font-size: 20px;
                line-height: 28px;
            }
        }
    }

    .row-offcanvas-left:has(.node--type-eventos) {
        > .sidebar_first {
            .block-views-blockagenda-de-eventos-block-1,
            .block-views-blockagenda-de-eventos-block-2 {
                padding: 14px;
            }
        }
    }
}

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

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

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

    tr {
        background: transparent;
    }

    #___gcse_1 {
        bottom: 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;
        color: #000;
        position: relative;
    }

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

    #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;
        padding-left: 45px !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;
        background-color: #6BAB76;
        border-radius: 22px;
    }

    .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: #6BAB76 !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: #4A7351 !important;
        color: #ffffff !important;
    }

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

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

}

.views-view-grid.horizontal.cols-3>.views-row>.views-col {
    padding: 6px 30px;
    border: 1px solid #bbb;
    margin: 2px;
    width: 31% !important;
}

.views-view-grid.horizontal.cols-3 .views-field-field-enlace a {
    color: #4F7B57;
    text-decoration: none;
}

.views-view-grid.horizontal.cols-3 .views-field-field-enlace a:hover {
    text-decoration: underline;
}

/* =========================================================
   CALENDARIO DE EVENTOS
   ========================================================= */
.block-content-contenedor_de_agenda {
    margin: 50px 0;

    .agenda-de-eventos {
        display: grid;
        grid-template-columns: 48% 10% 40%;
        gap: 10px;

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

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

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

            .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 {
                color: #4F7B57;
                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;
            }

            .view-content {
                margin: 30px 0 0 0;
            }

            .views-row {
                padding-left: 0;
            }

            .calendar-pager {
                display: none;
            }
        }

        .dia-de-hoy {
            background-color: #eff1f5;
            border-radius: 16px;
            height: 341px;
            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_5>.calendar-pager {
            display: none !important;
        }

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

            .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: #4F7B57 !important;
                        background-color: #4F7B57;
                        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: #4F7B57 !important;
                    background-color: #4F7B57;
                    border-radius: 100%;
                    padding: 0;
                }
            }

        }

        .desplazamiento {
            float: right;
            display: flex;

            .arriba {
                margin-right: 16px;
                transform: rotate(-90deg);
                color: #4F7B57;
                font-size: 20px;
                font-weight: 900;
                border: 1px solid #456f74;
                padding: 4px 10px;
                border-radius: 8px;
                cursor: pointer;
            }

            .arriba:hover {
                color: black;
            }

            .abajo {
                transform: rotate(90deg);
                color: #4F7B57;
                font-size: 20px;
                font-weight: 900;
                border: 1px solid #4F7B57;
                padding: 4px 10px;
                border-radius: 8px;
                cursor: pointer;
            }

            .abajo:hover {
                color: black;
            }
        }

        .calendar-pager {
            a {
                color: #4F7B57;
            }
        }
    }
}

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

    a {
        text-decoration: none;
        font-size: 20px;
        color: #4F7B57;
    }

    a:hover {
        color: #4F7B57;
    }
}

 .view-id-agenda_de_eventos {
            .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;
                img {
                    width: 100%;
                    height: auto;
                    border-radius: 16px;
                }
            }
        }

   .fondo a.todas-noticias {
        background-color: #6BAB76;;
        top: 40px;
        position: relative;
        display: flex;
        width: fit-content;
        font-size: 16px;
        font-weight: 600;
        border-radius: 8px;
        padding: 10px 24px;
        box-shadow: unset;
}

.fondo a.todas-noticias:hover {
    background-color: #4F7B57;
}

#block-pozuelo-theme-navegacionprincipalheaderma {
    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;
    }

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


}

.servicio-guarderia{
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
    padding: 15px;
}

.cookiesjsr-banner {
    width: 100%;
}
.avisos-custom{
    background-color: #3c763d;
    border-color: transparent;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    cursor: pointer;
}