$blue: #187fbe;
$blue-light: #92dfff;
$blue-dark: #012061;
$avenir: $font-stack-avenir-next;
$libre: "Libre Baskerville";

.page-id-30,
.page-id-169,
.page-id-1530,
.page-id-1539 {
    &.page-child {
        .subpage {
            display: none;
        }
    }

    .content__top {
        margin: 0 10px;
        @include bp($bp-col12) {
            margin: 0;
        }
    }

    #breadcrumbs {
        padding-top: 32px;
        @include bp($bp-col10) {
            padding-top: 0;
        }
        > span > span {
            a {
                color: #1f1f1f;
            }
            span[aria-current="page"] {
                color: $blue;
                font-weight: bold;
            }
        }
    }

    .wp-block-media-text,
    .wp-block-group {
        padding: 24px;
        h3 {
            font-family: $avenir;
            color: $blue;
            text-transform: capitalize;
            position: relative;
            margin-bottom: 20px;
            @include bp($bp-col12) {
                font-size: 26px;
            }
            &:after {
                position: absolute;
                content: "";
                bottom: 0;
                left: 0;
                width: 50px;
                height: 4px;
                background-color: $blue;
            }
        }

        &.has-media-on-the-right {
            .wp-block-media-text__content {
                padding-left: 0;
            }
        }
        &.has-media-on-the-left {
            .wp-block-media-text__content {
                padding-right: 0;
            }
        }
    }

    .wp-block-group {
        h4 {
            font-family: $avenir;
            font-style: normal;
            font-weight: bold;
            font-size: 22px;
        }

        a.wp-block-button__link {
            text-transform: uppercase;
            font-size: 14px;
            background-color: $blue;
            border: 2px solid $blue;
            color: $white;
            border-radius: 5px;
            &:hover {
                background-color: lighten($blue, 10%);
                border-color: lighten($blue, 10%);
            }
        }
        &.has-padding {
            padding: 24px;
        }

        &.small-container {
            .wp-block-group__inner-container {
                max-width: 700px;
                margin: auto;
            }
        }
    }
    .services_list {
        > ul {
            > li {
                flex: 1 0 50%;
                margin: 0;
                max-width: unset;

                figure {
                    margin: 0 12px;
                    padding: 0;
                    background-color: $blue-dark;
                    height: 100%;
                    *[data-cover-srcset] {
                        min-height: 250px;
                    }
                    .service-content-wrapper {
                        color: $white;
                        font-family: $avenir;
                        padding: 0 30px 24px;
                        text-align: center;

                        .service-title {
                            color: inherit;
                            font-family: $avenir;
                            font-style: normal;
                            font-weight: 600;
                            text-transform: capitalize;
                            padding: 24px 0 0;
                            @include bp($bp-col10) {
                                font-size: 20px;
                            }
                        }
                        .service-content {
                            background-color: transparent;
                            padding: 0;
                            font-size: 16px;
                            p {
                                font-size: inherit !important;
                            }
                        }
                        .link {
                            position: static;
                            color: $blue-light !important;
                            font-weight: bold;
                            text-transform: uppercase;
                            font-size: 14px;
                            &:hover {
                                color: $blue !important;
                            }
                        }
                    }
                }
            }
        }
    }
}
.page-id-1530 {
    .services_list {
        > ul {
            > li {
                @include bp($bp-col12) {
                    flex: 1 0 33%;
                    flex-grow: 0;
                }
            }
        }
    }
}
