/* Text sizes from the editor (span.h1 - span.h6) take the header colour, only inside a link or a chosen colour they keep that one */
a span.h1, a span.h2, a span.h3, a span.h4, a span.h5, a span.h6,
[style*="color:"] span.h1, [style*="color:"] span.h2, [style*="color:"] span.h3,
[style*="color:"] span.h4, [style*="color:"] span.h5, [style*="color:"] span.h6 {
    color: inherit;
}

/* #4874 - All Mega-Menus scrollable if too high (without scrollbars) */
@media (min-width: 1440px) {
    .hs-mega-menu {
        max-height: 70vh;
        overflow: auto;
        scrollbar-width: none;
    }
    .hs-mega-menu::-webkit-scrollbar {
        display: none;
    }
}

/* #5467 force back important overwritten styles from form-control */
.custom-form-control {
    font-size: 1.125rem !important;
}
.custom-form-control::placeholder {
    color: #97a4af !important;
}

/* #8787 - FormBuilder Checkbox Layout Fix */
.formbuilder-row .checkbox label {
    display: flex;
    align-items: baseline;
    cursor: pointer;
}
.formbuilder-row .checkbox input[type="checkbox"] {
    margin-right: 0.3rem;
}

/* #9457 - News title: break long words instead of overflowing (no hyphenation) */
.news-detail-title {
    overflow-wrap: break-word;
}