.page__custom-services {
    .section__header {
        min-height: 270px;
        background: #e6f0f6;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;

        h1 {
            color: #333f48;
            font-size: 40px;
            font-weight: 500;
            font-style: normal;
            margin: 0;
        }
    }

    .custom-services__body {
        .container__breadcrumb-custom {
            color: #333F48;
            font-size: 14px;
            font-weight: 500;
            text-align: left;
            font-family: 'neosanspro';
            margin: 0 auto;
            padding: 36px 0;

            a {
                border-bottom: none;
                font-weight: 300;
                color: #333F48;
            }
        }

        article {
            .a2a_kit.a2a_kit_size_32 {
                display: none;
            }

            .field--name-field-form-paragraph-page.field--type-entity-reference-revisions {
                font-family: neosans;

                >div.field__item:nth-child(1) {
                    .grey {
                        background-color: #F4F5F5;
                    }
                    .blue {
                        background-color: #F2F7FA;
                    }
                    .white {
                        background-color: white;
                    }

                }

                >div.field__item:nth-child(4) {
                    background-color: #004A75;
                    color: #FFFFFF;
                }

                .field__item>div.paragraph,
                .field__item div.paragraph,
                .field__item>div.image-text {
                    max-width: 1140px;
                    margin: 0 auto;

                    a.btn-solicitar {
                        display: block;
                        width: fit-content;
                        border: 1px solid #0069A7;
                        color: #0069A7;
                        background-color: transparent;
                        border-radius: 100px;
                        padding: 12px 46px 12px 24px;
                        font-size: 16px;
                        font-weight: 500;
                        line-height: 19px;  
                        font-family: 'neosanspro';
                        position: relative;

                        &::after {
                            position: absolute;
                            content: url("data:image/svg+xml,%3Csvg width='13' height='14' viewBox='0 0 13 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.3558 7.62496H0.25V6.375H10.3558L5.60898 1.62819L6.49998 0.75L12.75 6.99998L6.49998 13.25L5.60898 12.3718L10.3558 7.62496Z' fill='%230069A7'/%3E%3C/svg%3E%0A");
                            top: 14px;
                            right: 20px;
                        }
                    }
                }

                .paragraph--type--titulo-texto-y-enlace {
                    padding-top: 46px;
                    padding-bottom: 46px;
                    display: flex;
                    flex-direction: column;
                    gap: 24px;
                    align-items: center;

                    .field--name-field-title {
                        color: #1F262B;
                        font-size: 20px;
                        line-height: 24px;
                        font-weight: 500;
                    }

                    .field--name-field-text p {
                        font-family: neosans;
                        color: #1F262B;
                        font-size: 16px;
                        line-height: 19px;
                        font-weight: 300;
                        margin: 0;
                    }

                    .field--name-field-link a {
                        color: #005486;
                        border: 1px solid #005486;
                        padding: 12px 44px 12px 24px;
                        border-radius: 100px;
                        font-size: 16px;
                        font-weight: 500;
                        font-family: 'neosans';
                        line-height: 19px;
                        position: relative;
                        display: block;

                        &::after {
                            position: absolute;
                            content: url("data:image/svg+xml,%3Csvg width='13' height='14' viewBox='0 0 13 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.3558 7.62496H0.25V6.375H10.3558L5.60898 1.62819L6.49998 0.75L12.75 6.99998L6.49998 13.25L5.60898 12.3718L10.3558 7.62496Z' fill='%230069A7'/%3E%3C/svg%3E%0A");
                            top: 14px;
                            right: 20px;
                        }
                    }
                }

                .paragraph--type--grupo-de-bloques {
                    margin-bottom: 60px !important;
                    margin-top: 60px !important;

                    .field--name-field-title {
                        color: #1F262B;
                        font-size: 20px;
                        font-weight: 500;
                        line-height: 24px;
                        padding-bottom: 40px;
                    }

                    .field--name-field-bloques {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 64px;

                        .paragraph--type--imagen-titulo-texto-boton-enlace {
                            display: flex;
                            flex-direction: column;
                            height: 100%;

                            .field--name-field-imagen {
                                display: block;
                                visibility: visible;
                                margin: 0;
                                padding-bottom: 20px;

                                img {
                                    margin: 0;
                                    border-top-left-radius: 10px;
                                    border-top-right-radius: 10px;
                                }
                            }

                            .field--name-field-title {
                                color: #333F48;
                                font-size: 24px;
                                line-height: 28px;
                                font-weight: 500;
                                text-align: left;
                                padding-bottom: 20px;
                            }

                            .field--name-field-text {
                                flex: 1;

                                p {
                                    color: #000000;
                                    font-size: 16px;
                                    font-weight: 300;
                                    line-height: 25px;
                                    font-family: 'neosanspro';
                                    margin-bottom: 20px;
                                }

                                ul {
                                    padding-left: 22px;

                                    li {
                                        text-align: left;
                                        font-size: 16px;
                                        line-height: 25px;
                                        color: #000000;
                                        font-weight: 300;
                                    }
                                }
                            }

                            .field--name-field-enlace-boton a {
                                font-size: 16px;
                                font-weight: 500;
                                line-height: 19px;
                                display: block;
                                width: fit-content;
                                border: 1px solid #0069A7;
                                padding: 12px 24px;
                                border-radius: 100px;
                                color: #ffffff;
                                background-color: #0069A7;
                            }
                        }
                    }
                }

                .paragraph--type--titulo-y-texto {
                    padding-bottom: 64px;
                    padding-top: 64px;

                    .field--name-field-title {
                        max-width: 665px;
                        margin: 0 auto;
                        font-size: 36px;
                        font-weight: 400;
                        padding-bottom: 24px;
                    }

                    .field--name-field-text {
                        max-width: 665px;
                        margin: 0 auto;

                        p {
                            text-align: center;
                            font-weight: 400;
                            line-height: 34px;
                            font-family: 'neosanspro';
                        }
                    }
                }
            }
        }
    }

    .image-text {
        margin-bottom: 64px !important;
        margin-top: 64px !important;

        .container {
            padding: 0;

            .row {
                align-items: center;
                padding-top: 20px;
                padding-bottom: 20px;
            }
        }

        .col-text {
            display: flex;
            flex-direction: column;
            padding-left: 12px;
            padding-right: 12px;
            padding-top: 0;

            .block-title {
                color: #1F262B;
                margin-bottom: 24px;
                font-weight: 500;
                line-height: 24px;
                font-size: 20px;
            }
        }
    }

    .image-text.image-text--type-1 {

        .row {
            flex-direction: row;

            .col-media {
                .field--type-entity-reference img {
                    height: 300px;
                }
            }

            .col-text {
                padding-left: 36px;
                /* padding-right: 0; */

                .field--name-field-text {
                    font-size: 16px;
                    font-weight: 300;
                    line-height: 25px;
                    color: #000;
                }
            }
        }
    }

    .image-text.image-text--type-2 {
        .col-text {
            padding-right: 36px;
        }
    }

}

@media (max-width: 1200px) {
    .page__custom-services {
        .custom-services__body {
            article {
                .field--name-field-form-paragraph-page.field--type-entity-reference-revisions {

                    .paragraph--type--titulo-texto-y-enlace {
                        padding: 36px 20px;
                    }

                    .paragraph--type--grupo-de-bloques {
                        .field--name-field-bloques {
                            grid-template-columns: repeat(2, 1fr);
                            padding: 20px;

                            .paragraph--type--imagen-titulo-texto-boton-enlace {
                                .field--name-field-imagen {
                                    img {
                                        margin: 0;
                                        width: 100%;
                                        height: auto;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 992px) {
    .page__custom-services {
        .custom-services__body {
            article {
                .field--name-field-form-paragraph-page.field--type-entity-reference-revisions {
                    .paragraph--type--grupo-de-bloques {
                        .field--name-field-bloques {
                            grid-template-columns: 1fr;
                            /* gap: 64px; */
                        }
                    }
                }
            }

            .container__breadcrumb-custom {
                padding: 0 20px;
            }
        }

        .image-text.image-text--type-1,
        .image-text.image-text--type-2 {
            width: 100%;
            max-width: none;
            padding: 0 20px;


            .container {
                max-width: none;
            }

            .row {
                gap: 48px;
                padding: 0;

                .col-media {
                    padding: 0 12px;
                }

                .col-text {
                    padding-left: 12px;

                    .field--name-field-text {
                        padding: 0;
                    }
                }
            }

            .row:after {
                display: none;
            }
        }

        .image-text.image-text--type-2 {
            .row {
                flex-direction: column;
            }
        }                
    }
}