// Override for home page
.page-id-6 .content_block {
    padding-bottom: 0;
}

.content-media {
    margin-top: 32px;
    &__flex {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        @media (min-width: 768px) {
            flex-wrap: nowrap;
            justify-content: space-between;
        }

        > * {
            @media (min-width: 768px) {
                flex: 1 0 50%;
            }
        }

        .cm-content {
            background-color: #f3f5fa;
        }
        .inner-cm-content {
            display: flex;
            justify-content: center;
            flex-direction: column;
            height: 100%;
            text-align: left;
            padding: 0 24px;

            a {
                background-color: #0e7ebc;
                border: 2px solid #0e7ebc;
                color: #fff;
                display: inline-block;
                padding: 6px 18px;
                font-weight: 500;
                border-radius: 5px;
                transition: all 0.3s ease;
                &:hover {
                    background-color: transparent;
                    color: #0e7ebc !important;
                }
            }
        }
    }
    .cm-media {
        width: 100%;
        @media (min-width: 768px) {
            width: unset;
        }
    }
}
