.contextual-region.block.block-tb-megamenu.block-tb-megamenu-menu-blocknavegacion-principal-header {
    width: 100%;
}

.tbm-nav.level-0.items-7 {
    justify-content: space-between;
}

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

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

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

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

/*Inicio de buscador nuevo Google*/
.top-search {
    width: 28%;
    margin-left: auto;
    margin-right: 40px;

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

.search-box {
    width: 100%;
    height: 40px;
    margin: 0 auto;
    background-color: #F9FAFB;
    padding: 3px 4px;
    border-radius: 40px;
    margin-top: 12px;
}

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

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

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

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

.gsc-search-box table{
    margin: 0;
}

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

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

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

}

.gsib_b {
    display: none;
}

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

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

.gsc-control-cse,
#gsc-iw-id1,
#gsc-iw-id2 {
    background-color: transparent !important;
}

button.gsc-search-button.gsc-search-button-v2 {
    border-radius: 22px;
    background-color: #006DB3 !important;
    padding: 4px !important;
}

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

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


/* menú principal */
#navbar-main {
    padding: 12px 0;

    /*
    .icono-ayuntamiento::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/landmark.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-comunicate::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/user-search.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-tramites::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/folder-closed.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-sede::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/at-sign.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-noticias::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/newspaper.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-transparencia::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/eye.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    .icono-areas::before{
        content:url('/themes/custom/pozuelo_theme/img/menu/grid-2x2-check.svg');
        top: 5px;
        position: relative;
        padding: 5px;
    }
    */
    .navbar-collapse {
        justify-content: flex-start !important;
    }

    a {
        color: #475467;
        font-size: 14px;
        display: inline-block;
        width: 100%;
        font-family: robotobolder;
        font-weight: normal;
        padding-left: 5px;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    .level-2 a {
        color: #475467;
        font-size: 14px;
        display: inline-block;
        width: 100%;
        font-weight: normal;
        text-decoration: none;
        padding-right: 50px;
        padding-left: 10px;
        font-family: roboto;
    }

    .level-2 a:hover {
        background-color: #F0F9FF;
        color: #475467;
        text-decoration: underline;
        font-weight: bold;
    }

    .tbm-item.level-1 {
        border: none;
    }

    .tbm {
        background-color: #fff;
    }

    .tbm-link.level-1:hover,
    .tbm-link.level-1:focus {
        background-color: #fff;
    }

    .tbm-submenu {
        border-radius: 3px;
        border: 0.5px solid #E1E5E8;
        padding: unset;
        padding-top: 5px;
        padding-bottom: 5px;
        max-height: 350px;
        min-width: 280px;
        overflow: auto;
        z-index: 999;
    }
}

/* migas de pan */
#block-pozuelo-theme-enlacesdeayudaalanavegacion {
    background-color: #0B4A6F;
    padding: 12px 10px;

    .breadcrumb {
        margin: 0;
    }

    .breadcrumb-item a {
        color: white;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 24px;
        text-decoration: none;
    }

    .active {
        color: white;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        text-decoration: none;
    }
}

.path-frontpage #block-pozuelo-theme-enlacesdeayudaalanavegacion {
    background-color: unset;
}

/* slide home */
.featured-top>.container {
    max-width: 100%;
    padding: 0;
}

.region-featured-top {
    width: 100%;
    display: block;
    margin: 0 auto;

    img {
        width: 100%;
        height: 514px !important;
        object-fit: cover
    }

    .block-content-slider {
        padding: 0;
    }

    .paragraph--type--texto-slider {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #006DB3CC;
        width: fit-content;
        padding: 12px 40px;
        ;
        border-radius: 16px;
        margin: 0 auto;
        bottom: 200px;
        position: relative;
        display: grid;
        grid-template-columns: 74% 26%;
        gap: 0px;

        .field--name-field-titulo {
            grid-column: 1;
            grid-row: 1;
            width: 435px;
            font-size: 24px;
            font-weight: 700;
            line-height: 32px;
            font-weight: 700;
        }

        .field--name-field-titulo h2 {
            color: white;
        }

        .field--name-field-texto {
            grid-column: 1;
            grid-row: 2;
            font-family: 'Roboto', sans-serif;
            font-size: 16px;
            line-height: 20px;
            color: white;
        }

        .field--name-field-enlace {
            grid-column: 2;
            grid-row: 1 / span 2;
            background-color: white;
            border-radius: 8px;
            color: #006DB3;
            text-decoration: none;
            padding: 8px;
            width: fit-content
        }

        .field--name-field-enlace a {
            font-weight: 700;
            text-decoration: none;
        }

        .field--name-field-enlace a:hover {
            text-decoration: underline;
        }
    }

    .slick-dots button {
        top: 5px;
        left: 5px;
        position: relative;
    }

    .slick-dots li button:before {
        color: unset !important;
    }

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

    .slick-dots li button:before {
        width: 10px;
        height: 10px;
    }

    .slick-dots li.slick-active button:before {
        opacity: 1;
        background: #3090C4;
    }

    .slick-dots li button:before {
        opacity: 1;
        background: transparent none repeat scroll 0 0;
        border: 2px solid #3090C4;
        border-radius: 50%;
    }

    .slick__arrow {
        top: 40%;
    }

    .slick-arrow::before {
        color: #006DB3;
    }
}


/* destacados */

.block-views-blockdestacados-home-block-1,
.block-views-blockbanner-home-block-1 {
    top: -70px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dcdcdc;

    li {
        border-radius: 15px !important;
        height: 250px;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: cover !important;
        border: none !important;
    }

    .views-field-title .field-content {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 20px;
        color: white;
        padding: 5px;
        display: -webkit-box;
        line-clamp: 1;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        background-color: rgba(0, 0, 0, 0.4);
        top: 150px;
        position: relative;
        left: 4px;
        width: 90%;
        margin: 0 auto;
    }

    .views-field-field-descripcion .field-content {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 14px;
        color: white;
        padding: 5px;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        background-color: rgba(0, 0, 0, 0.4);
        padding-top: 1px;
        top: 150px;
        position: relative;
        left: 4px;
        width: 90%;
        margin: 0 auto;
    }
}

/* lo más visitado */

.block-views-blocklo-mas-visitado-home-block-1 {
    top: -60px;

    h2 {
        margin-bottom: 25px;
        margin-top: 17px;
    }

    .view-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 0 16px;
    }

    .views-row {
        width: auto;
        height: 120px;
        background-color: #F0F9FF;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        color: #006DB3;
        text-align: center;
    }

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

    .visitado-nombre:hover {
        text-decoration: underline
    }

    .views-field-field-enlace a {
        text-decoration: none;
    }
}


/* noticias home */

.block-views-blocknoticias-home-block-1 {
    margin: 50px 0;

    h2 {
        margin-bottom: 10px;
    }

    .view-content {
        display: grid !important;
        grid-template-columns: 50% 50%;
        grid-template-rows: repeat(2, 1fr);
        row-gap: 1rem;
    }

    .views-row:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
    }

    .views-row:nth-child(1) .views-field-title {
        margin: 10px 0;
    }

    .views-row:not(:first-child) {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: repeat(3, auto);
        column-gap: 1rem;
        align-items: start;
    }

    .views-row:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .views-row:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .views-row:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 3 / 3;
    }

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

    .views-row:not(:first-child)>.views-field-field-image {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
    }

    .views-row:not(:first-child)>.views-field-created {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin-top: 0 !important;
    }

    .views-row:not(:first-child)>.views-field-title {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        margin: 10px 0;
    }

    .views-row:not(:first-child)>.views-field-body {
        grid-column: 2 / 3;
        grid-row: 3 / 3;
        margin: 10px 0;
    }

    .views-field-field-imagen {
        overflow: hidden;
        border-radius: 16px;
    }

    div.views-row:hover a img {
        transform: scale(1.05);
    }

    .views-field-created {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #475467;
        margin-top: 20px;
        text-transform: lowercase;
    }

    .views-field-body,
    .views-field-body p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #475467;
    }

    .views-field-title a {
        color: #006db3;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
        display: -webkit-box;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .views-field-title a:hover {
        color: black;
    }

    .view-footer a {
        display: flex;
        width: fit-content;
        font-size: 16px;
        font-weight: 600;
        background-color: #EFF8FF;
        color: #006DB3;
        border-radius: 8px;
        padding: 10px 24px;
        box-shadow: unset;
    }

    .view-footer a:hover {
        color: #003e66;
    }

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

/* anuncios */

.block-views-blockanuncios-block-1 {
    margin-bottom: 50px;

    .views-view-responsive-grid--horizontal {
        justify-items: center;
        align-items: center;
    }

    .views-field-field-enlace a {
        display: inline-flex;
        align-items: center;
        padding: 10px 15px;
        background-color: #FFFFFF;
        text-decoration: none;
        transition: background-color 0.3s ease;
        border-radius: 8px;
        border: none;
        color: #006DB3;
        font-size: 16px;
        font-weight: bold;
    }

    .views-field-field-enlace {
        text-align: center;
        /* margin-top: 20px; */
    }

    .views-field-field-enlace a:after {
        content: url('/themes/custom/pozuelo_theme/img/menu/logo-enlace.svg');
    }

    .views-view-responsive-grid__item {
        background-color: #F4F5F7;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        height: 100%;
        display: flex;
        width: 95%;
    }

    .views-field-field-imagen .field-content {
        height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .views-field-field-imagen .field-content img {
        width: 166px;
        height: auto;
    }


}


/* secciones y enlaces destacados */

.featured-bottom {
    background-color: #006DB3;
    padding: 30px 0;
}

.region-featured-bottom-first {
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 10px;
    width: 100%;

    h2 {
        color: white;
        font-family: Inter;
        font-weight: 600;
        font-size: 14px;

    }

    .nav-link {
        padding: 10px 0;
        color: white;
    }

    .menu--secciones .nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 0;
    }

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

    }

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

/* footer */

footer {
    background-color: #1849A9;

    .block {
        border: none !important;
    }

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

    .block-views-blockcontacto-footer-block-1 {
        h2 {
            font-size: 16px;
            line-height: 24px;
            font-weight: 600;
            font-family: robotolighter;
            color: #FDFDFD;
            border: none;
            margin-bottom: 10px;
            text-transform: math-auto;
        }

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

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

        .views-field-name .field-content {
            font-size: 14px;
            line-height: 20px;
            font-family: robotolighter;
            color: #FDFDFD;
        }
    }

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

        .search-box {
            width: 70%;
            float: right;
        }

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

        tr {
            background: transparent;
        }

        #___gcse_1 {
            bottom: 10px;
            position: absolute;
        }
    }

    .block-views-blockredes-sociales-top-header-block-2 {
        padding-right: 0 !important;
        margin-top: 0px !important;

        img {
            width: 25px;
            height: auto;
        }

        .views-row {
            padding: 0 5px;
        }
    }

    .site-footer__bottom {
        border-top: 1px solid #1570EF;
    }

    .menu--footer {
        .nav {
            justify-content: center;
        }

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

        .nav-link {
            color: white;
        }

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

    #block-pozuelo-theme-estandares {
        p {
            text-align: center;
            font-size: 14px;
            font-family: robotolighter;
            font-weight: 400;
            line-height: 20px;
            color: white;
        }
    }

    .region-footer-third {
        right: -19px;
    }
}


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

.node--type-page {

    h1 {
        font-family: 'Inter';
        color: #333333;
        font-weight: 700;
    }

    .layout--twocol-section {
        flex-wrap: nowrap;
    }

    .layout__region--first {
        flex: 0 1 23% !important;
        margin-right: 51px;

        .block-menu {
            margin: 0 0 30px 0;
            padding: 30px 25px 15px 25px;
            -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);

            a {
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 16px;
                padding: 7px 10px 5px 10px;
                color: #333333;
            }

            a::before {
                content: "• ";
            }

            a.active {
                color: #006db3;
                background-color: #F0F9FF;
            }

            h2 {
                display: none;
            }

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

            h2 a::before {
                display: none;
            }
        }
    }

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

        .pagina-noticias {
            .view-content {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 1rem;
            }

            .views-row:nth-child(1) {
                grid-column: 1 / 4;
            }

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

            .views-field-field-imagen {
                overflow: hidden;
                border-radius: 16px;
            }

            div.views-row:hover a img {
                transform: scale(1.05);
                border-radius: 0;
            }

            .views-field-created {
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                color: #475467;
                margin-top: 15px;
                text-transform: lowercase;
            }

            .views-field-body,
            .views-field-body p {
                display: -webkit-box;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                color: #475467;
            }

            .views-field-title a {
                color: #006db3;
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 18px;
                line-height: 24px;
            }

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

            .views-field-title a:hover,
            .views-field-title a:focus {
                color: black;
            }
        }

        .block-views-blocknoticias-home-block-3 {
            margin-top: 30px;
        }

        .pagina-noticias-ultimas {
            .views-row {
                padding-top: 20px;
                margin-top: 10px;
                border-top: 1px solid #999;
            }

            .views-row .views-field-nothing a {
                display: grid;
                grid-template-columns: 1fr 2fr;
                grid-template-rows: 0.5fr 0.5fr 1fr;
                gap: 10px;
                min-height: 220px;
                text-decoration: none;
            }

            img {
                /* 4. Haz que ocupe las 3 filas (desde la línea 1 a la última) */
                grid-row: 1 / -1;
                border-radius: 16px;
                width: 100%;
                height: auto;
            }

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

            .titulo {
                color: #006db3;
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 600;
                font-size: 18px;
                line-height: 24px;
            }

            .cuerpo {
                display: -webkit-box;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                color: #475467;
            }

            .pagination {
                justify-content: center;
            }

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

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

            a.page-link:hover {
                z-index: 2;
                color: #006db3;
                background-color: #fff;
                border-color: #006db3;
            }

            .views-exposed-form {

                label,
                .fieldset-legend {
                    font-family: 'Inter';
                    font-size: 16px;
                    line-height: 22px;
                    color: #333333;
                    font-weight: 700;
                }

                .form-control,
                .form-select {
                    display: block;
                    width: 100%;
                    height: 34px;
                    padding: 6px 12px;
                    font-size: 14px;
                    line-height: 1.42857143;
                    color: #555555;
                    background-color: #fff;
                    background-image: none;
                    border: 1px solid #006db3;
                    border-radius: 4px;
                    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
                    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
                    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                }

                .flex-wrap {
                    gap: 16px;
                }

                .js-form-item-title,
                .js-form-item-body-value,
                #edit-created-wrapper,
                .js-form-item-field-area-de-actividad-target-id {
                    flex-basis: 49%;
                }

                .form-actions {
                    flex-basis: 100%;
                }

                .js-form-submit {
                    font-size: 16px;
                    font-weight: 600;
                    background-color: white;
                    color: #006DB3;
                    border-radius: 8px;
                    padding: 10px 24px;
                    text-decoration: none !important;
                    border: 1px solid #006DB3;
                }

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

                #edit-created-wrapper {
                     border-width: 1px;
                    border-style: solid;
                    border-color: #ddd;
                    border-image: initial;
                    .fieldset-legend {
                        padding: 2px 0px 15px 10px;
                    }

                    legend {
                        background-color: #f5f5f5;
                        border-color: #ddd;
                    }

                    .fieldset-wrapper {
                        padding: 10px;
                        display: flex;
                        gap: 20px;
                    }
                }
            }
        }
    }
}

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

    .layout--twocol-section {
        flex-wrap: nowrap;
    }

    .layout__region--first {
        flex: 0 1 23% !important;
        margin-right: 51px;

        .block-menu {
            margin: 0 0 30px 0;
            padding: 30px 25px 15px 25px;
            -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);

            a {
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 16px;
                padding: 7px 10px 5px 10px;
                color: #333333;
            }

            a::before {
                content: "• ";
            }

            a.active {
                color: #006db3;
                background-color: #F0F9FF;
            }

            h2 {
                display: none;
            }

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

            h2 a::before {
                display: none;
            }
        }
    }

    .layout__region--second {
        flex: 0 1 73% !important;
        flex-wrap: wrap;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .block-content-basic {
            margin-bottom: 20px;
            width: 100%;
        }

        .block-content-basic .field--name-body {
            color: #fff;
            background-color: #0B4A6F;
            padding: 20px;
            font-size: 22px;
            font-weight: 600;

            p {
                margin: 0;
            }
        }

        .block-field-blocknodearticletitle {
            flex-basis: 100%;
        }

        .block-field-blocknodearticlefield-imagen {
            flex-basis: 100%;

            img {
                width: 100%;
                height: auto;
                border-radius: 16px;
            }

            border-radius: 16px;
        }

        .block-field-blocknodearticlecreated time {
            font-size: 13px;
            color: #333333;
        }

        .block-field-blocknodearticlebody {
            flex-basis: 100%;
            margin-top: 18px;
            font-family: 'Inter';
            font-size: 16px;
            line-height: 22px;
            color: #333333;
        }
    }
}

/* a un clic */

.a-un-clic {
    margin-bottom: 50px;

    h2 {
        margin-bottom: 10px;
    }

    .view-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
    }

    .views-row a {
        width: 100%;
        border-radius: 8px;
        padding: 12px 20px;
        color: #006DB3;
        background-color: #F0F9FF;
        border-color: #F0F9FF;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        display: block;
        text-align: center;
        border: 1px solid #F0F9FF;
    }

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

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

/* página interna */

.node--type-pagina-interna {
    #block-pozuelo-theme-titulodepaginasinternas {
        min-height: 300px;
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        align-items: flex-end;
        padding-left: 38px;

        .container {
            padding: 0;
        }
    }

    .title-in-page {
        font-family: 'Inter';
        color: #fff;
        font-weight: normal;
        font-size: 40px;
        margin: 0;
    }

    .block-views-blockdestacados-block-1 {
        margin: 30px 0;

        .slick-track {
            padding-bottom: 10px;
        }

        .slick__slide {
            margin: 0 30px;
            border-bottom: 1px solid #e0e3e4;
            -webkit-box-shadow: 0 2px 7px rgba(145, 145, 145, 0.35);
            box-shadow: 0 2px 7px rgba(145, 145, 145, 0.35);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .views-field-title .field-content {
            margin-top: 0px;
            font-family: arial;
            font-size: 18px;
            font-weight: 700;
            min-height: 40px;
            padding: 0 14px;
            width: fit-content;
            display: block;
        }

        .views-field-field-descripcion .field-content {
            font-family: 'Inter';
            font-size: 16px;
            line-height: 20px;
            color: #333333;
            padding: 0 14px;
            width: fit-content;
            display: block;
        }

        .views-field-field-enlace .field-content {
            text-align: center;
            margin: 25px 0;
        }

        .views-field-field-enlace .field-content a {
            background-color: #006DB3;
            color: white;
            border: 1px solid white;
            text-align: center;
            padding: 12px;
            border-radius: 24px;
            font-size: 15px;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            line-height: 24px;
            width: 90%;
            display: block;
            margin: 0 auto;
        }

        .views-field-field-enlace .field-content a::after {
            content: " >";
            font-size: 15px;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            line-height: 24px;
        }

        .views-field-field-enlace .field-content a:hover {
            background-color: white;
            color: #006DB3 !important;
            border: 1px solid #006DB3;
        }

        .slick-arrow::before {
            color: #006DB3;
        }
    }

    .block-menu {
        margin-bottom: 30px;

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

            .nav-item {
                border-radius: 16px;
                background-color: #F0F9FF;
                font-size: 16px;
                font-weight: 600;
                line-height: 24px;
                color: #006DB3;
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: space-around;
                min-height: 170px;
                flex-basis: 24%;
            }

            .secundario {
                flex-basis: 100%;

                i {
                    display: none;
                }
            }

            .nav-link {
                color: #006DB3;
                display: -webkit-box;
                line-clamp: 4;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
                overflow: hidden;
                padding: 0px 20px;
            }

            .nav-link:hover {
                color: #003e66;
            }

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

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

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

            .menu-item--expanded {
                flex-direction: column;
            }

            .dropdown-menu {
                outline: 1px solid #E1E5E8;
                border-radius: 16px;
                inset: unset !important;
                margin: 0px;
                transform: unset !important;
                position: relative !important;
            }

            .dropdown-item {
                width: fit-content;
                flex-basis: 25%;
            }

            .dropdown-item:focus,
            .dropdown-item:hover {
                background-color: unset;
            }

            .dropdown-item a {
                color: #006DB3;
                font-size: 16px;
                font-weight: 600;
                line-height: 24px;
                padding: 12px 0;
                text-decoration: none;
                white-space: break-spaces;
                display: inline-flex;
            }

            .dropdown-item::before {
                content: "•";
                position: relative;
                left: -3px;
                font-size: 24px;
                top: 3px;
            }

            .dropdown-toggle::after {
                margin: 0 auto;
                width: 5px;
            }

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

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

/* página interna final */

.node--type-pagina-interna-final,
.node--type-documento,
.node--type-centros-educativos,
.node--type-revista-municipal-vive-pozuelo {
    .layout--twocol-section {
        flex-wrap: nowrap;
        gap: 30px;
    }

    #main-wrapper {
        padding: 3rem 0px;
    }

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

        .block-menu {
            margin: 0 0 30px 0;
            padding: 30px 25px 15px 25px;
            -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);

            i {
                display: none;
            }

            a {
                text-decoration: none;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 16px;
                padding: 7px 10px 5px 10px;
                color: #333333;
                display: flex;
                white-space: break-spaces;
            }

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

            a.active {
                color: #006db3;
                background-color: #F0F9FF;
            }

            h2 {
                display: none;
                left: -15px;
                position: relative;
            }

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

            h2 a::before {
                display: none;
            }

            .dropdown-menu {
                display: block;
                border: none;
            }

            .dropdown-item.active,
            .dropdown-item:active {
                background-color: unset;
            }

            .dropdown-item {
                white-space: normal;
            }

            .dropdown-toggle::after {
                display: none;
            }

            .dropdown-item:focus,
            .dropdown-item:hover {
                color: unset;
                background-color: unset;
            }

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

        .block-field-blocknodepagina-interna-finalfield-organismo,
        .block-field-blocknoderevista-municipal-vive-pozuelofield-organismo {
            margin-bottom: 30px;
            padding: 30px;
            background-color: #F9FAFB;
            border-radius: 8px;

            .content {
                font-size: 16px;
                margin-bottom: 10px;
            }

            .field--name-field-direccion,
            .field--name-field-telefono,
            .field--name-field-correo-electronico {
                display: flex;
                margin-bottom: 6px;
            }

            .field--name-field-direccion::before {
                content: url(/themes/custom/pozuelo_theme/img/menu/landmark.svg);
                top: 2px;
                position: relative;
                margin-right: 5px;
            }

            .field--name-field-telefono::before {
                content: url(/themes/custom/pozuelo_theme/img/menu/eye.svg);
                top: 2px;
                position: relative;
                margin-right: 5px;
            }

            .field--name-field-correo-electronico::before {
                content: url(/themes/custom/pozuelo_theme/img/menu/at-sign.svg);
                top: 2px;
                position: relative;
                margin-right: 5px;
            }

            .field--name-name {
                font-size: 20px;
                font-weight: 700;
                margin-bottom: 6px;
            }

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

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

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

        .block-field-blocknodepagina-interna-finaltitle,
        .block-field-blocknodedocumentotitle,
        .block-field-blocknoderevista-municipal-vive-pozuelotitle {
            background-color: #0B4A6F;
            padding: 20px;

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

            margin-bottom: 10px;
        }

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

            .field__item a {
                font-family: 'robotoregular', sans-serif, Helvetica, Arial;
                font-size: 14px;
                font-weight: 400;
                color: #006DB3;
                text-decoration: none;
                display: flex;
                align-items: center;
                gap: 15px;
            }

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

            .field__item a::before {
                content: ">"
            }
        }

        .field--name-field-image {
            float: none;
        }

        /* img{
            width: 100%;
            height: auto;
        } */
        .block-field-blocknodepagina-interna-finalfield-documentacion-relacionada,
        .block-field-blocknodepagina-interna-finalfield-enlaces-relacionados,
        .block-field-blocknodepagina-interna-finalfield-tramites-relacionados {
            margin: 25px 0;

            a {
                font-family: 'robotoregular', sans-serif, Helvetica, Arial;
                font-size: 16px;
                font-weight: 400;
                color: #006DB3;
                text-decoration: none;
                display: flex;
                align-items: center;
                gap: 15px;
            }

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

/* página de documentos */
.node--type-documento {
    .field--name-field-documento {
        .field__item .file {
            background: #fff;
            color: #006db3;
            border: 1px solid #006db3;
            margin: 5px 0;
            width: 100%;
            padding: 4px 10px 4px 10px;

            a {
                color: #006db3;
            }
        }

        .field__label {
            font-weight: bold;
            font-size: 16px;
            line-height: 22px;
            color: #333333;
        }

        margin-bottom: 50px;
    }

}

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

    .view-agenda-home {
        img {
            width: 100%;
            height: auto;
            border-radius: 16px;
        }

        .views-field-title a {
            color: #006db3;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 18px;
            line-height: 24px;
            display: -webkit-box;
            line-clamp: 3;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .views-field-title a:hover {
            color: black;
        }

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

        .views-field-body,
        .views-field-body p,
        .views-field-field-ubicacion {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            color: #475467;
        }

        .views-field-nothing {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            color: #475467;
            margin-bottom: 10px;
            text-transform: lowercase;
        }

        .views-field-field-ubicacion .field-content::before {
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            content: "\f041";
            margin-right: 5px;
        }

        .view-footer a {
            display: flex;
            width: fit-content;
            font-size: 16px;
            font-weight: 600;
            background-color: #EFF8FF;
            color: #006DB3;
            border-radius: 8px;
            padding: 10px 24px;
            box-shadow: unset;
        }

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

        .views-field-field-tipo-de-evento a {
            color: #006db3;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 14px;
            line-height: 20px;
        }

        .views-field-field-tipo-de-evento a:hover {
            color: black;
        }

        .views-exposed-form {

            label,
            .fieldset-legend {
                font-family: 'Inter';
                font-size: 16px;
                line-height: 22px;
                color: #333333;
                font-weight: 700;
            }

            .form-control,
            .form-select {
                display: block;
                width: 100%;
                height: 34px;
                padding: 6px 12px;
                font-size: 14px;
                line-height: 1.42857143;
                color: #555555;
                background-color: #fff;
                background-image: none;
                border: 1px solid #006db3;
                border-radius: 4px;
                -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
                box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
                -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
                transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            }

            .flex-wrap {
                gap: 10px;
            }

            #edit-created-wrapper {
                legend {
                    background-color: #f5f5f5;
                    border-color: #ddd;
                }
            }

            .js-form-submit {
                font-size: 16px;
                font-weight: 600;
                background-color: white;
                color: #006DB3;
                border-radius: 8px;
                padding: 10px 24px;
                text-decoration: none !important;
                border: 1px solid #006DB3;
            }

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


/* eventos */
.node--type-eventos,
.node--type-agenda {
    .node__content {
        h1 {
            font-size: 36px;
            font-weight: normal !important;
            font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
            font-weight: normal !important;
            color: #222;
        }

        .layout--twocol-section--50-50 {
            margin: 1rem 0;
        }

        .field--name-body,
        .field--name-body p {
            flex-basis: 100%;
            margin-top: 18px;
            font-family: 'Inter';
            font-size: 16px;
            line-height: 22px;
            color: #333333;
        }

        .field__label {
            font-weight: 700;
        }

        .field--name-field-media-image {
            width: 100%;
            height: auto;
            text-align: center;
        }

        .field--name-field-media-image img {
            max-width: 100%;
        }

        .block-field-blocknodeeventosfield-tipo-de-evento a {
            color: #006db3;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 16px;
            line-height: 20px;
        }

        .block-field-blocknodeeventosfield-tipo-de-evento a:hover {
            color: black;
        }

        .block-addtoany-block {
            float: right;
        }

        .field__label {
            font-weight: 600;
        }

        .field--name-type a {
            color: #006db3;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 16px;
            line-height: 20px;
        }

        .field--name-type a:hover {
            color: black;
        }
    }

    /* Estilo del botón iCal */
    .btn-ical-generated {
        display: inline-flex;
        align-items: center;
        margin-top: 10px;
        padding: 8px 16px;
        background-color: #f8f9fa;
        border: 1px solid #ccc;
        border-radius: 4px;
        color: #333;
        text-decoration: none;
        font-family: sans-serif;
        font-size: 14px;
        cursor: pointer;
        transition: background 0.2s;
    }

    .btn-ical-generated:hover {
        background-color: #e9ecef;
        text-decoration: none;
    }

    /* Icono Font Awesome en el ::before */
    .btn-ical-generated::before {
        content: "\f274";
        /* Icono fa-calendar-plus */
        font-family: "Font Awesome 6 Free";
        /* Ajusta si usas la v5 */
        font-weight: 900;
        margin-right: 8px;
        color: #006db3;
        /* Color rojo oscuro tipo evento */
    }
}

/* calendario de eventos */
.block-content-contenedor_de_agenda {
    margin: 50px 0;

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

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

        .view-display-id-block_2 {
            .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: #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;
            }

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

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

        }

        .desplazamiento {
            float: right;
            display: flex;

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

            .arriba:hover {
                color: black;
            }

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

            .abajo:hover {
                color: black;
            }
        }

    }
}


/* filtros de formularios */

.page-view-cursos,
.page-view-convocatorias,
.page-view-tramites,
.page-view-tramites-frecuentes {

    .views-exposed-form {

        background-color: #f9fafb;
        border-color: #f9fafb;

        .d-flex {
            flex-wrap: nowrap;
            flex-direction: column;
        }

        label {
            font-family: 'Inter';
            font-size: 16px;
            line-height: 22px;
            color: #333333;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .form-control {
            display: block;
            width: 100%;
            height: 34px;
            padding: 6px 12px;
            font-size: 14px;
            line-height: 1.42857143;
            color: #555555;
            background-color: #fff;
            background-image: none;
            border: 1px solid #006db3;
            border-radius: 4px;
            -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
            -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            border-radius: 4px;
            height: 32px;
        }

        .form-select {
            display: inline-block;
            vertical-align: top;
            overflow: hidden;
            border: 1px solid #006db3;
            border-radius: 4px;
        }

        .form-submit, 
         .btn-tramites{
            display: flex;
            width: fit-content;
            font-size: 16px;
            font-weight: 600;
            background-color: #FFF;
            color: #006DB3;
            border-radius: 8px;
            padding: 10px 24px;
            box-shadow: unset;
            border: 1px solid #006DB3;
            text-decoration: none !important;
        }

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

        .form-actions {
            align-self: flex-start;
        }

    }
}

.page-view-convocatorias {
    .sidebar_first {
        margin-top: 67px;
    }

    .view-convocatorias {
        .views-row {
            padding: 20px;
        }

        h1 {
            margin: 10px 0;
        }

        .block-system-main-block {
            margin-top: 20px;
        }

        .views-field-title {
            margin: 1.5rem 0;

            a {
                color: #006db3;
            }
        }

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

        .views-view-responsive-grid__item {
            margin-bottom: 30px;
        }
    }
}

.node--type-convocatoria {
    .field {
        margin: 1.5rem 0;
    }

    .field__label {
        font-weight: 600;
    }

    .field__label:after {
        content: ": ";
    }
}


.page-view-cursos {
    .sidebar_first {
        margin-top: 67px;
    }

    .view-cursos {
        .views-row {
            padding: 20px;
        }

        h1 {
            margin: 10px 0;
        }

        .block-system-main-block {
            margin-top: 20px;
        }

        .views-field-title {
            margin: 1.5rem 0;

            a {
                color: #006db3;
            }
        }

        .views-field-field-ubicacion {
            margin-top: 1.5rem;
        }

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

        .views-view-responsive-grid__item {
            margin-bottom: 30px;
        }
    }
}


.node--type-curso {
    .field {
        margin: 1.5rem 0;
    }

    .field__label {
        font-weight: 600;
    }

    .field__label:after {
        content: ": ";
    }
}

.page-view-tramites {
    .sidebar_first {
        margin-top: 67px;
    }

    .view-tramites {
        .views-row {
            /* padding: 20px; */
           border-bottom: 1px solid #e1e1e1;
        }

        h1 {
            margin: 10px 0;
            color: #FFF;
            background-color: #0B4A6F;
            font-size: 22px;
            padding: 20px;
        }

        .block-system-main-block {
            margin-top: 20px;
        }

        .views-field-title {
            margin: 1.5rem 0;

            a {
                color: #006db3;
                text-decoration: none;
                font-size: 20px;
                font-weight: 700;
            }
        }

        .views-field-field-ubicacion {
            margin-top: 1.5rem;
        }

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

        .views-view-responsive-grid__item {
            margin-bottom: 30px;
        }
    }

    .boton-tramites {
        display: flex;
        width: fit-content;
        font-size: 16px;
        font-weight: 600;
        background-color: #FFF;
        color: #006DB3;
        border-radius: 8px;
        padding: 10px 24px;
        box-shadow: unset;
        border: 1px solid #006DB3;
        margin-bottom: 20px;
    }

    .boton-tramites:hover {
        background-color: #006DB3;
        color: white;
        border: 1px solid white;
    }
}

.page-view-tramites-frecuentes {
    .sidebar_first {
        margin-top: 67px;
    }

    .view-tramites-frecuentes {
        .views-row {
            display: grid;
            grid-template-columns: 220px 1fr;
            column-gap: 20px;
            align-items: start;
            gap: 20px;
            border-bottom: 1px solid #e1e1e1;
            padding: 20px;
        }

        h1 {
            margin: 10px 0;
            color: #FFF;
            background-color: #0B4A6F;
            font-size: 22px;
            padding: 20px;
        }

        .block-system-main-block {
            margin-top: 20px;
        }

        .views-field-field-body{
            grid-column: 2;
            grid-row: 2;
        }

        .views-field-title {
            grid-column: 2;
            grid-row: 1;
            margin: 0 0 0 0;

            a {
                color: #006db3;
                text-align: start;
                font-size: 20px;
                font-weight: 700;
                margin-bottom: 10px;
                text-decoration: none;
            }
        }

        .views-field-field-ubicacion {
            margin-top: 1.5rem;
        }

        img {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .views-view-responsive-grid__item {
            margin-bottom: 30px;
        }
    }

    .boton-tramites {
        display: flex;
        width: fit-content;
        font-size: 16px;
        font-weight: 600;
        background-color: #FFF;
        color: #006DB3;
        border-radius: 8px;
        padding: 10px 24px;
        box-shadow: unset;
        border: 1px solid #006DB3;
        margin-bottom: 20px;
    }

    .boton-tramites:hover {
        background-color: #006DB3;
        color: white;
        border: 1px solid white;
    }
}

.views-row .views-field-field-imagen-{
    grid-column: 1;
    grid-row: 1 / 3;
}


.node--type-tramites {
    .field {
        margin: 1.5rem 0;
    }

    .field__label {
        font-weight: 600;
    }

    .field__label:after {
        content: ": ";
    }

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

.cookiesjsr-banner cookiesjsr-banner--active {
    z-index: 999 !important;
}

.vista-revista {

    .views-field-title,
    .views-field-field-imagen {
        text-align: center;
        margin-bottom: 10px;
    }

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

    img {
        border-radius: 16px;
        width: 80% !important;
    }
}

:root {
    --pzu-card-bg: #f3f5f7;
    --pzu-blue: #2b6cb0;
    --pzu-blue-soft: #e6f0ff;
    --pzu-text: #111827;
    --pzu-text-soft: #4b5563;
    --pzu-radius: 18px;
}

/* ====== Limitar ancho total ====== */
#block-pozuelo-theme-views-block-block-comunicate-block-1,
#block-pozuelo-theme-views-block-block-oficinas-block-1,
#block-pozuelo-theme-views-block-block-concejales-block-1 {
    margin-left: auto;
    margin-right: auto;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: 50px;
}

/* ====== Layout grid ====== */
#block-pozuelo-theme-views-block-block-comunicate-block-1 .view-content.row,
#block-pozuelo-theme-views-block-block-oficinas-block-1 .view-content.row,
#block-pozuelo-theme-views-block-block-concejales-block-1 .view-content.row {
    display: grid;
    gap: 26px;
    margin: 0;
}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .view-content.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#block-pozuelo-theme-views-block-block-oficinas-block-1 .view-content.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .view-content.row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 992px) {

    #block-pozuelo-theme-views-block-block-comunicate-block-1 .view-content.row,
    #block-pozuelo-theme-views-block-block-oficinas-block-1 .view-content.row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {

    #block-pozuelo-theme-views-block-block-comunicate-block-1 .view-content.row,
    #block-pozuelo-theme-views-block-block-oficinas-block-1 .view-content.row,
    #block-pozuelo-theme-views-block-block-concejales-block-1 .view-content.row {
        grid-template-columns: 1fr;
    }
}

/* ====== Cards ====== */
#block-pozuelo-theme-views-block-block-comunicate-block-1 .view-content.row>.views-row,
#block-pozuelo-theme-views-block-block-oficinas-block-1 .view-content.row>.views-row,
#block-pozuelo-theme-views-block-block-concejales-block-1 .view-content.row>.views-row {
    background: var(--pzu-card-bg);
    border: 0;
    border-radius: var(--pzu-radius);
    padding: 26px;
    box-shadow: none;
}

/* Títulos sección */
#block-pozuelo-theme-views-block-block-oficinas-block-1>h2,
#block-pozuelo-theme-views-block-block-concejales-block-1>h2 {
    color: var(--pzu-text);
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    font-family: 'Montserrat';
}

/* =========================================================
   1) COMUNÍCATE
   ========================================================= */
#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-row {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-field-icono {
    margin-top: 6px;
    margin-bottom: 14px;
    width: fit-content;
    padding: 20px;
    background-color: #E3EEFF;
    border-radius: 50px;

}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-field-icono img {
    width: 62px;
    height: 62px;

}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-title {

    margin: 6px 0 10px;
}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-title,
#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-title a {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: var(--pzu-blue);
    text-decoration: none;
}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-body {
    color: var(--pzu-text-soft);
    line-height: 1.6;
    max-width: 340px;
}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-body p {
    margin: 0;
    display: block;
    font-size: 18px;
    line-height: 28px;
}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-field-enlace-mas-informacion {
    margin-top: auto;
    padding-top: 18px;
}

/* ✅ Flecha igual que Concejales: al lado del texto del enlace */
#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-field-enlace-mas-informacion a {
    color: var(--pzu-blue);
    text-decoration: underline;
    font-weight: 700;
    font-size: 14px;
    line-height: 28px;
}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-field-enlace-mas-informacion a::after {
    content: " ↗";
}

#block-pozuelo-theme-views-block-block-comunicate-block-1 .views-field-field-enlace-mas-informacion a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
   2) OFICINAS (OACs)
   ========================================================= */
#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-row {
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-title {
    margin-bottom: 8px;
}

#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-title,
#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-title a {
    color: var(--pzu-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
}

#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-field-direccion,
#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-field-telefono-oficina,
#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-body {
    color: var(--pzu-text);
    line-height: 1.55;
}

#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-field-direccion .field-content {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-body p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;

}

#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-field-enlace-mas-informacion {
    margin-top: auto;
    padding-top: 16px;
}

#block-pozuelo-theme-views-block-block-oficinas-block-1 .views-field-field-enlace-mas-informacion a {
    display: inline-block;
    background: var(--pzu-blue-soft);
    color: var(--pzu-blue);
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

/* =========================================================
   3) CONCEJALES
   ========================================================= */
#block-pozuelo-theme-views-block-block-concejales-block-1 .view-content.row>.views-row {
    padding: 18px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-field-imagen img,
#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-field-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    margin-bottom: 14px;
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-field-cargo {
    color: var(--pzu-blue);
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    min-height: 64px;
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-title {
    color: var(--pzu-text);
    margin-bottom: 14px;
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-title a {
    color: var(--pzu-text);
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-field-enlace-mas-informacion {
    margin-top: auto;
    padding-top: 10px;
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-field-enlace-mas-informacion a {
    color: var(--pzu-blue);
    text-decoration: underline;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-field-enlace-mas-informacion a::after {
    content: " ↗";
}

#block-pozuelo-theme-views-block-block-concejales-block-1 .views-field-field-enlace-mas-informacion a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* buscador de comercios y restaurantes */

.path-buscador-de-comercios-y-empresas,
.path-buscador-de-restaurantes-pozuelo-gourmet {
    .col-md-4 {
        width: 25%;
    }
}

.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.comercios,
.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.gourmet,
#edit-submit-buscador-de-comercios--3,
#block-formularioexpuestoindice-noticiaspage-1 #edit-submit-indice-noticias--2,
.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.comercios,
.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.gourmet,
#edit-submit-buscador-de-comercios--3,
#block-formularioexpuestoindice-noticiaspage-1 #edit-submit-indice-noticias--2 {
    display: flex;
    width: fit-content;
    font-size: 16px;
    font-weight: 400;
    background-color: #eff1f5;
    color: #006DB3;
    border-radius: 8px;
    padding: 10px 24px;
    box-shadow: unset;
}

.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.comercios {
    background-color: #006db3 !important;
    color: #fff !important;
}

.path-buscador-de-restaurantes-pozuelo-gourmet .enlaces-buscadores ul li a.gourmet {
    background-color: #006db3 !important;
    color: #fff !important;
}

.enlaces-buscadores ul li a {
    padding: 13px 13px;
    background-color: #eff1f5;
    font-size: 16px;
    margin: 0px 6px;
    border-radius: 6px;
    font-weight: 700;
    font-weight: normal;
}

.enlaces-buscadores ul {
    text-align: center;
    margin: 40px 0px;
    display: flex;
    list-style: none;
    justify-content: space-around;
}

h1.title-page.title-page-custom,
.title-page.title-page-custom h1 {
    color: #FFF;
    background-color: #0B4A6F;
    font-size: 22px;
    padding: 20px;
}

.path-buscador-de-restaurantes-pozuelo-gourmet h1,
.path-buscador-de-comercios-y-empresas h1 {
    font-size: 30px !important;
}


.block-views-exposed-filter-blockbuscador-de-comercios-page-1 {
    margin-top: 124px !important;
}

.block-views-exposed-filter-blockbuscador-de-comercios-page-2 {
    margin-top: 103px !important;
}

.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.comercios,
.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.gourmet,
#edit-submit-buscador-de-comercios--3,
#block-formularioexpuestoindice-noticiaspage-1 #edit-submit-indice-noticias--2,
.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.comercios,
.path-buscador-de-comercios-y-empresas .enlaces-buscadores ul li a.gourmet,
#edit-submit-buscador-de-comercios--3,
#block-formularioexpuestoindice-noticiaspage-1 #edit-submit-indice-noticias--2 {
    display: flex;
    width: fit-content;
    font-size: 16px;
    font-weight: 400;
    background-color: #eff1f5;
    color: #006DB3;
    border-radius: 8px;
    padding: 10px 24px;
    box-shadow: unset;
}

.block-views-exposed-filter-blockbuscador-de-comercios-page-1,
.block-views-exposed-filter-blockbuscador-de-comercios-page-2 {
    background-color: rgb(249, 250, 251) !important;
    padding: 14px !important;
    border-radius: 6px;

    .form-control,
    .form-select {
        display: block;
        width: 100%;
        height: 34px;
        font-size: 14px;
        line-height: 1.42857;
        color: rgb(85, 85, 85);
        background-color: rgb(255, 255, 255);
        background-image: none;
        box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset;
        padding: 6px 12px;
        border-width: 1px;
        border-style: solid;
        border-color: rgb(0, 109, 179);
        border-image: initial;
        border-radius: 4px;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

    label {
        display: inline-block;
        max-width: 100%;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .fieldgroup {
        font-size: 0.914em !important;
        line-height: 1.4 !important;
        font-weight: bold;

        label {
            font-weight: 400;
        }
    }

    .form-actions {
        display: flex;
    }
}

.buscador-comercios-restaurantes {

    .views-exposed-form {
        display: none;
    }

    .view-header {
        margin: 10px 0;
    }

    ul.lista-comercios {
        list-style: none;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 0;
        padding: 0;
    }

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

    ul.lista-gourmet li,
    ul.lista-comercios li {
        list-style-type: none;
        padding: 0px;
        background-color: #f5f5f5;
        float: left;
        margin: 3px;
        backface-visibility: hidden;
        overflow: hidden;
        position: relative;
        border-bottom: solid 2px #e7e7e7;
    }

    ul.lista-comercios li h2 {
        font-size: 20px;
        margin-top: 10px;
        margin-bottom: 2px;
        color: #333;
        margin-bottom: 20px;
    }

    a {
        text-decoration: none;
    }

    h6,
    h4 {
        color: black;
    }

    h4 {
        font-size: 16px;
        font-weight: normal;
        color: rgb(0, 109, 179);
    }

    .contenido-comercios {
        padding: 10px;
    }

    .contenido-comercios h4::before {
        font-family: "FontAwesome";
        content: "\f095";
        font-size: 18px;
        line-height: 1;
        color: #fff;
        display: inline-table;
        overflow: hidden;
        height: 32px;
        line-height: 32px;
        width: 32px;
        background-color: #999;
        text-align: center;
        border-radius: 50%;
        margin-right: 4px;
    }

    .contenido-comercios span {
        display: flex;
        position: absolute;
        top: 150px;
        left: 100px;

        img {
            width: 50px;
        }
    }
}



/* centros educativos */

.page-view-centros-educativos {
    .layout-main-wrapper {
        background-color: #e7e7e7 !important;
    }

    .sidebar .block {
        border: unset;
        background-color: unset;
        border-color: unset;
    }
}

.block-views-exposed-filter-blockcentros-educativos-page-1 {
    background-color: none !important;
    padding: 14px !important;
    border-radius: 6px;

    .form-control,
    .form-select {
        display: block;
        width: 100%;
        height: 34px;
        font-size: 14px;
        line-height: 1.42857;
        color: rgb(85, 85, 85);
        background-color: rgb(255, 255, 255);
        background-image: none;
        box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset;
        padding: 6px 12px;
        border-width: 1px;
        border-style: solid;
        border-color: rgb(0, 109, 179);
        border-image: initial;
        border-radius: 4px;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

    label {
        display: inline-block;
        max-width: 100%;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .fieldgroup {
        font-size: 0.914em !important;
        line-height: 1.4 !important;
        font-weight: bold;

        label {
            font-weight: 400;
        }
    }

    .form-actions {
        display: flex;
    }

    .form-checkboxes ul {
        list-style: none;
    }

    .js-form-submit {
        color: #fff;
        background-color: #006db3;
        border-color: transparent;
        padding: 6px 24px;
        font-size: 14px;
        line-height: 1.42857143;
        border-radius: 28px;
    }

    .js-form-submit:hover {
        color: #fff;
        background-color: #003e66;
        border-color: rgba(0, 0, 0, 0);
    }

    .js-form-submit::before {
        content: "\f002";
        font-family: "Font Awesome 6 Free";
        position: relative;
        color: #fff;
        top: 1px;
        font-weight: 900;
        margin: 3px;
    }

}

.view-centros-educativos {
    .view-filters {
        display: none;
    }

    .view-header {
        color: #000;
        padding: 10px 0px;
    }

    ul.listado-centros-educativos li a img {
        transform: scale(1);
        -webkit-transform: scale(1);
        transition: all 0.3s ease 0s;
        -webkit-transition: all 0.3s ease 0s;
    }

    ul.listado-centros-educativos li:hover a img {
        transform: scale(1.10);
    }

    ul.listado-centros-educativos {
        list-style: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 0;
        padding: 0;

        li {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;

            img {
                width: 100%;
                height: 170px;
                border-radius: 16px;
            }

            h2 {
                line-height: 20px;
                font-size: 16px;
                margin: 0px;
                padding: 0px;
                color: #333;
            }

            a {
                text-decoration: none;

                .row {
                    align-items: center;
                }
            }

            article {
                background-color: white;
                width: 100%;
            }
        }
    }

    .verinfo::before {
        /* 1. El código Unicode del icono (f05a es info-circle) */
        content: "\f05a";

        /* 2. La familia de la fuente (Vital para que funcione) */
        font-family: "Font Awesome 6 Free";

        /* 3. El peso (900 es obligatorio para iconos sólidos) */
        font-weight: 900;

        /* Estilos opcionales */
        margin-right: 8px;
        color: black;
    }

    .verinfo {
        color: black;
        cursor: pointer;
    }

    .infohidden {
        background-color: #fff;
        padding: 30px;
        display: none;
        color: #555;
        font-weight: normal;
        margin-top: 14px;
        position: relative;

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

/* Comercios */


/* 
.layout--twocol-section--67-33 > .layout__region {
  height: 370px;             
} */

.layout--twocol-section--67-33>.layout__region>.block-field-blocknodecomerciosfield-imagen-comercio,
.layout--twocol-section--67-33>.layout__region>.block-field-blocknodecomerciosfield-geo-comercios,
.layout--twocol-section--67-33>.layout__region>.block>.content,
.layout--twocol-section--67-33 .field__item {
    height: 100%;
    width: 100%;
}

/* 3) Imagen: rellena su caja */
.block-field-blocknodecomerciosfield-imagen-comercio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding-right: 20px;
}

/* 4) Mapa: forzar altura 100% (pisando el inline style="height: 400px") */
.block-field-blocknodecomerciosfield-geo-comercios .geolocation-map-wrapper,
.block-field-blocknodecomerciosfield-geo-comercios .geolocation-map-container.js-show {
    height: 100% !important;
    width: 100%;
}


.node--type-comercios .layout:nth-child(4) .layout__region.layout__region--first {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 3rem;
    align-items: start;
}


.layout__region--second .block-field-blocknodecomerciosfield-facebook,
.layout__region--second .block-field-blocknodecomerciosfield-instagram,
.layout__region--second .block-field-blocknodecomerciosfield-youtube,
.layout__region--second .block-field-blocknodecomerciosfield-twitter {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.layout__region--second .block-field-blocknodecomerciosfield-twitter {
    margin-right: 0;
}

/* 4) Tamaño del icono + ocultar texto del enlace */
.layout__region--second .block-field-blocknodecomerciosfield-facebook a,
.layout__region--second .block-field-blocknodecomerciosfield-instagram a,
.layout__region--second .block-field-blocknodecomerciosfield-youtube a,
.layout__region--second .block-field-blocknodecomerciosfield-twitter a {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
}


/* Icono común */
.block-field-blocknodecomerciosfield-facebook a::before,
.block-field-blocknodecomerciosfield-instagram a::before,
.block-field-blocknodecomerciosfield-youtube a::before,
.block-field-blocknodecomerciosfield-twitter a::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.block-field-blocknodecomerciosfield-facebook a::before {
    background-image: url("/themes/custom/pozuelo_theme/imagenes/brand-facebook-azul.png");
}

.block-field-blocknodecomerciosfield-instagram a::before {
    background-image: url("/themes/custom/pozuelo_theme/imagenes/brand-instagram-azul.png");
}

.block-field-blocknodecomerciosfield-youtube a::before {
    background-image: url("/themes/custom/pozuelo_theme/imagenes/brand-youtube-azul.png");
}

.block-field-blocknodecomerciosfield-twitter a::before {
    background-image: url("/themes/custom/pozuelo_theme/imagenes/brand-twitter-azul.png");
}

.contenedor-inscripcion,
.bloque-redes {
    border: 2px dotted #bebebe;
    margin: 0 0 10px 0;
    padding: 20px;
}

.contenedor-inscripcion h4,
.bloque-redes-titulo {
    font-size: 18px;
    font-weight: 700;
}

.boton-enlace {
    text-decoration: none;
}

.block-layout-builder.block-field-blocknodecomerciosbody {
    margin-top: 20px;
}


@media (max-width: 768px) {

    /* 1) Layout 67/33: apilar (imagen arriba, mapa abajo) */
    .layout--twocol-section--67-33 {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Quitar la altura fija en móvil */
    .layout--twocol-section--67-33>.layout__region {
        height: auto;
    }



    /* Imagen: deja que se ajuste sin forzar 100% alto */
    .block-field-blocknodecomerciosfield-imagen-comercio img {
        height: auto;
        width: 100%;
        object-fit: cover;
    }

    /* Mapa: altura razonable en móvil */
    .block-field-blocknodecomerciosfield-geo-comercios .geolocation-map-wrapper,
    .block-field-blocknodecomerciosfield-geo-comercios .geolocation-map-container.js-show {
        height: 320px !important;
        /* ajusta si quieres */
        width: 100%;
    }

    /* 2) Campos: de 3 columnas a 1 columna */
    .node--type-comercios .layout:last-child .layout__region.layout__region--first {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* 3) Iconos sociales: si quieres que no se “rompan” */
    .layout__region--second .block-field-blocknodecomerciosfield-facebook,
    .layout__region--second .block-field-blocknodecomerciosfield-instagram,
    .layout__region--second .block-field-blocknodecomerciosfield-youtube,
    .layout__region--second .block-field-blocknodecomerciosfield-twitter {
        margin-right: 10px;
    }

    .block-field-blocknodecomerciosfield-imagen-comercio img {
        padding-right: 0;
    }
}

.layout__region--first .field__label {
    font-weight: 700;
    /* o bold */
}

.layout__region--first .field__item a {
    text-decoration: none;
}

.field--name-field-nivel-educativo .field__item {
    display: inline-block;
    background-color: #006DB3;
    border-radius: 4px;
    text-align: center;
    padding: 8px 16px;
    margin: 4px;
}

.field--name-field-nivel-educativo .field__item a {
    color: #fff !important;
    text-decoration: none;
}

.field--name-field-actividades .field__item {
    background-color: #fff;
    border-radius: 4px;
    padding: 8px 8px;
    display: inline-block;
    margin: 4px;
}

.field--name-field-actividades .field__label,
.field--name-field-nivel-educativo .field__label {
    font-weight: 700;
}

article.centroseducativos h1 {
    color: #FFF;
    background-color: #0B4A6F;
    font-size: 22px;
    padding: 20px;
}

.col-sm-6.campos-educativo {
    display: flex;
    gap: 20px;
    word-break: break-word;
}

@media (max-width: 768px) {
    .col-sm-6.campos-educativo {
        flex-direction: column;
    }
}

.campos-educativo .field__label {
    font-weight: 700;
}


.field--name-field-imagen-de-centro-educativo img {
    width: 100%;
    height: 100%;
}

a.todos:before {
    content: "\f58d";
    font-family: "Font Awesome 6 Free";
    position: relative;
    top: 2px;
    font-weight: 900;
    margin: 3px;
}

.list-actividades {
    padding-top: 10px;
    padding-bottom: 10px;
}

.region-content ul.flippy {
    margin: auto;
    padding: 0px 20px;
    text-align: center;
}

ul.flippy {
    padding: 0px !important;
    width: inherit;
    margin-left: auto;
}

@media (max-width: 768px) {
    ul.flippy {
        align-items: center;
        display: flex;
        justify-content: center;
    }
}

ul.flippy li.flippy-next {
    padding: 0px 0px 0px 20px !important;
    text-align: right;
    width: auto !important;
}

ul.flippy li.flippy-next a:after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    position: relative;
    top: 2px;
    font-weight: 900;
    margin: 3px;
}

ul.flippy li.flippy-previous a:before {
    content: "\f104";
    font-family: "Font Awesome 6 Free";
    position: relative;
    top: 2px;
    font-weight: 900;
    margin: 3px;
}

.row.list-actividades a {
    color: #333333;
    text-decoration: none;
    font-weight: 700;
}

.field--name-field-descarga-documento .field__item {
    border: 1px solid #0071b3;
    padding: 5px 7px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-weight: 700;
}

.field--name-field-descarga-documento .field__item span.file-size {
    display: inline-block;
    margin-left: auto;
    color: #0071b3;
    font-size: 14px;
}

@media (max-width: 768px) {
    .layout--twocol-section {
        display: block;
        flex-wrap: wrap;
    }
}

/* 1. Quitamos el icono original (background-image) */
.field--name-field-descarga-documento .field__item .file--application-pdf {
    background-image: none !important;
    padding-left: 0;
}

/* 2. Insertamos el nuevo icono de Font Awesome antes del texto */
.field--name-field-descarga-documento .field__item .file--application-pdf::before {
    content: "\f15b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #0071b3;
    display: inline-block;
    vertical-align: middle;
}

.sidebar .block {
    margin: 1px 0 70px;
}

h2.subtitulo-centros-educativos {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: #666 !important;
    margin-top: 0px;
    padding-top: 0px;
}

.red-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.red-social-compartir {
    display: -webkit-box;
    margin: 10px;
}

.red-social .titulo {
    font-weight: bold;
    font-size: 16px;
    display: block;
}

.red-social .icono-y-texto {
    display: flex;
    align-items: center;
    gap: 10px;
}

.red-social .icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
}

.block-comercios .bloque-compartir {
    display: inline-flex;
}

.red-social-compartir .texto {
    text-decoration: none;
}

.red-social-compartir .titulo {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}

.red-social-compartir .icono-y-texto {
    gap: 10px;
}

.red-social-compartir .icono {
    font-size: 24px;
    text-decoration: none;
}

.red-social-compartir .texto {
    text-decoration: none;
}

.bloque-redes-contenido {
    display: flex;
    gap: 20px;
}

.field--name-field-image img.image-style-focal-point {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.region-content .field--name-body table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

.region-content .field--name-body table thead tr {
    background-color: #f5f5f5;
}

td,
tr {
    /* border: 1px solid #bbb; */
    padding: 2px;
}

.region-content .field--name-body table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    border-bottom-width: 2px;
    padding: .75rem !important;
}

.region-content .field--name-body table td,
table th {
    padding: .75rem !important;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

th {
    text-align: left;
}

td,
th {
    border: 1px solid #bbb;
}

.page-node-type-page .field--name-body table tbody tr td,
.page-node-type-page .field--name-body table tbody tr td p,
.page-node-type-page .field--name-body table tbody tr td span:not(strong span),
.page-node-type-page .field--name-body table tbody tr td a {
    font-size: 14px;
    font-weight: normal;
    font-family: 'robotoregular', sans-serif, Helvetica, Arial;
}

.region-content .field--name-body table td,
table th {
    padding: .75rem !important;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.field--name-body table tr td,
iframe.cke_wysiwyg table tr td,
.field--name-description table tr td {
    border: 1px solid #bbb;
    padding: 2px;
}

tr td,
tr th {
    padding: 4px 9px !important;
    /* background-color: white; */
}

.block-views-blockvistas-organismos-block-4 {
    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;
    }
}

.views-exposed-form.block-views-exposed-filter-blocktramites-page-1 h2,
.views-exposed-form.block-views-exposed-filter-blocktramites-frecuentes-page-1 h2{
    font-size: 24px;
    border-bottom: none;
    color: #006DB3;
}
.block.block-layout-builder.block-field-blocknodetramitetitle h1 {
    color: #FFF;
    background-color: #0B4A6F;
    font-size: 22px;
    padding: 20px;
}

.block-field-blocknodetramitefield-enlace-informacion .field__item {
    color: #006DB3;
    text-decoration: none;
    background-color: #EFF8FF;
    display: inline-block;
    margin-right: 12px;
    padding: 12px 40px;
    border-radius: 30px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.block-field-blocknodetramitefield-enlace-informacion {
    position: relative;
    margin: 20px 0;
}

.block-field-blocknodetramitefield-enlace-informacion::before,
.block-field-blocknodetramitefield-enlace-informacion::after {
    content: "";
    display: block;
    border-top: 1px solid #eeeeee;
    margin: 20px 0;
}

.block-field-blocknodetramitefield-enlace-informacion .field__item a {
   text-decoration: none;
}
.block-field-blocknodetramitefield-enlace-informacion .field__item a::after {
    font-family: "Font Awesome 6 Free";
            font-weight: 900;
            content: "\f105";
            margin-left: 10px;
}
 
.separador-tramites{
     margin-bottom: 35px;
}

ul.nav.navbar-nav li.nav-item{
    margin-bottom: 20px;
}

.container-accesibility-block{
    pointer-events: none;
}

.pagination .page-item[role="presentation"] {
    display: none !important;
}

.page-item.active{
    border: 2px solid #006DB3;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table tr th, .table tr th a, .table tr th a:hover, .table tr th a:focus {
    color: black;
}

.tabla-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabla-medios {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.tabla-medios th,
.tabla-medios td {
  vertical-align: top;
  white-space: normal;
}

.tabla-medios a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.field--name-title.field--type-string h1{
    color: #fff;
    margin: 0;
    font-size: 22px;
    font-weight: 600; 
}
.block-field-blocknodecentroseducativostitle,
.block-field-blocknodecomerciostitle{
    background-color: #0B4A6F;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.block-field-blocknodecentros-educativostitle{
    background-color: #0B4A6F;
    padding: 20px;
    margin-bottom: 20px;
}
.field--name-body.field--type-text-with-summary .H{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

div[class*="block-field-blocknodecentros-educativosfield-"] .field__label {
    font-weight: bold;
}

.node--type-centroseducativos{
    .row-offcanvas-left{
        margin-top: 40px;
    };
}

.block-field-blocknodepagina-interna-finalbody .field--name-field-media-image {
  float: none;
  clear: both;
}

.block-field-blocknodepagina-interna-finalbody .field--name-field-media-image img {
  width: 100%;
  height: auto;
  display: block;
}