/* tirar 20/04/2026 */

.region-content .node .text-formatted.field h4,
.region-content .block .text-formatted.field h4 {
    line-height: 1.2;
}

/* eol tirar 20/04/2026 */

.path-frontpage .header-mini .wrapper-cabecera-sup,
.path-frontpage .header-mini .wrapper-cabecera-med {
    display: none;
}

.path-frontpage .inner-ribbon:has(.region-imagen-cabecera) {
    display: none;
}

.page-node-type-ficha-unita {
    .field--name-node-title {
        text-align: center;
    }

    .field--name-field-subtitulo-funit {
        text-align: center;
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 3rem;
    }

    .field--name-field-plazo-funit {
        text-align: center;
        font-weight: bold;
        font-size: 2rem;
        border-bottom: 1px solid #cbcbcb;
        padding-bottom: 2rem;
    }

    fieldset.cabecera-funit {
        margin: 0;
        border: 0;
        padding: 0;

        .fieldset-wrapper {
            display: flex;
            align-items: center;
            gap: 5rem;
            margin: 3rem 0;

            .field--name-field-imagen-funit {
                width: 50%;

                img {
                    display: block;
                }
            }

            .field--name-field-descripcion-funit {
                flex: 1;

                p {
                    line-height: 1.5;
                }
            }
        }
    }

    .field--name-field-enlaces-funit,
    .field--name-field-documentacion-funit {
        border-top: 1px solid #cbcbcb;
        margin: 3rem 0 0 0;
        padding: 3rem 0 0 0;
    }
}

.tarjetas-unita {
    .views-view-responsive-grid__item-inner {
        display: flex;
        height: 100%;
        flex-direction: column;
    }

    .views-field-field-imagen-funit {
        img {
            display: block;
        }
    }

    .views-field-nothing {
        background: #ededed;
        padding: 3rem;
        display: grid;
        flex: 1;
        grid-template-rows: auto auto 1fr auto;

        .tunita_title {
            font-size: 1.9rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
        }

        .tunita_destinatarios {
            ul {
                font-size: 15px;
                display: flex;
                flex-wrap: wrap;
                gap: 1rem;

                li {
                    font-size: 15px;
                    background: #f1a06e40;
                    color: #000000;
                    padding: 0 8px;
                    margin: 0;
                    font-weight: 500;
                }
            }

        }

        .tunita_plazo {
            margin-top: 1rem;
            font-weight: 600;

        }

        .tunita_vermas {
            display: inline-block;
            text-decoration: none;
            border-radius: 6px;
            align-self: end;
            justify-self: start;
            margin-top: 3rem;
            margin-bottom: 1rem;

            a {
                color: #2b49bf;
                text-decoration: none;
                font-weight: 600;
            }
        }
    }
}

.logos-footer {
    .block-content {
        ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 7rem;

            li {
                width: auto !important;

                &:before {
                    content: none;
                }

                img {
                    max-height: 65px;
                    width: auto;


                }
            }
        }
    }
}

.paragraph.cabunita {
    height: 550px !important;

    .imag-fondo {
        &:before {
            content: "";
            position: absolute;
            height: 100%;
            width: 100%;
            background: #3a3a3a7d;
            top: 0;
            left: 0;
            z-index: 5;
            opacity: 0.5;
        }

    }
}