/* Small content-fit adjustments on top of the cloned site's design. */
.slide_content_box h1 {
    color: #fff;
    font-size: 42px;
    line-height: 1.2;
    max-width: 740px;
}
.slide_content_box { z-index: 2; }
.slide_content_box p { max-width: 610px; }
.slide_content_box h2 { max-width: 740px; }
.slide:first-child .slide_content_box { max-width: 100%; }
.slide_bottom_navigation { z-index: 3; }
#top-menu .sub-menu { width: 310px; }
#top-menu .sub-menu li, #top-menu .sub-menu li a { width: 270px; }
#top-menu .sub-menu li a { line-height: 1.5; }
.hhr-clients { columns: 2; column-gap: 60px; }
.hhr-clients li { break-inside: avoid; padding-bottom: 12px; }
.hhr-team .dsm_card_subtitle { min-height: 3em; }
.hhr-team .dsm_card_wrapper { padding-bottom: 24px; }
.hhr-profile-contact { margin-top: 25px; }
/* Contact copy must be available even when video autoplay is unavailable. */
.page-id-53 .contact-intro { display: block; }
.page-id-53 .contact-intro p { color: #30343b; }
.page-id-53 .et_pb_section_0 { padding-top: 100px; padding-bottom: 100px; min-height: 650px; }
.page-id-53 .et_pb_section_1 h2 { font-size: 26px; color: #001e5e; }
.page-id-198 .et_pb_text_0 h2 { font-size: 25px; margin-top: 14px; }
.page-id-198 .et_pb_text_0 p { max-width: 1000px; font-size: 20px; line-height: 1.7; }
@media (max-width:980px) {
    .slide_content_box h1 { font-size: 34px; max-width: 90%; }
    .hhr-team .dsm_card_subtitle { min-height: 0; }
}
@media (max-width:680px) {
    .slide_content_box h1 { font-size: 28px; line-height: 1.3; }
    .slide_content_box h2 { font-size: 28px; line-height: 1.3 !important; }
    .slide_content_box p { font-size: 16px; line-height: 1.6; }
    .slider__wrapper { min-height: 690px; }
    .slide_content_box, .slide:first-of-type .slide_content_box { top: 140px; }
    .slide_bottom_navigation { bottom: 30px; }
    .hhr-clients { columns: 1; }
    .page-id-53 .et_pb_section_0 { min-height: auto; padding: 50px 0; }
    .page-id-53 .contact-intro { margin-top: 0; }
    .page-id-53 .et_pb_section_1 .et_pb_text { padding: 25px !important; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    .slide img.zoom-out, body.parent-pageid-198 .et_pb_section_0.et_pb_with_background { animation: none; }
}

/* Word document run colours are stored inline in the editable Divi copy. */
.slide_content_box p .hhr-doc-color { font-weight: inherit !important; }

/* Match Heading module spacing while using Divi's rich Text editor. */
.et_pb_text.hhr-heading-text h1,
.et_pb_text.hhr-heading-text h2,
.et_pb_text.hhr-heading-text h3,
.et_pb_text.hhr-heading-text h4,
.et_pb_text.hhr-heading-text h5,
.et_pb_text.hhr-heading-text h6 {
    padding-bottom: 10px;
}
