/* RREC Staff Header Styles */

:root {
    --rrec-teal: #46A2BB;
    --rrec-grey: #B3B3B3;
    --rrec-crumb: #6D6D6D;
    --rrec-rule: #D7D7D7;
}

.rrec-sd-header {
    background: #fff;
    width: 100%;
    /* Max width handled by Elementor section usually, but kept for internal logic */
    max-width: 2048px; 
    margin: 0 auto;
    padding: 58px 28px 0 26px;
    box-sizing: border-box;
}

/* ===== Element 1: h1#staff ===== */
.rrec-sd-header h1#staff {
    width: 70%;
    height: auto;
    margin: 0 0 1.5rem 0;
    padding: 0;
    line-height: 0.92;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* ===== Element 2: h2 ===== */
.rrec-sd-header .rrec-sd-sub {
    width: auto;
    height: auto;
    margin: 0 0 1.5rem 0;
    padding: 0;
    line-height: 1.05;
    letter-spacing: 0.01em;
    white-space: nowrap; 
}

/* Rule */
.rrec-sd-header .rrec-sd-rule {
    margin: 0;
    border: 0;
    border-top: 2px solid var(--rrec-rule);
}

/* ===== Element 3: ol.breadcrumb ===== */
.rrec-sd-header ol.breadcrumb {
    width: auto;
    height: auto;
    margin: 0 0 1rem 0;
    padding: 18px 0 0 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    line-height: 1;
    letter-spacing: 0.04em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.rrec-sd-header ol.breadcrumb a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.rrec-sd-header ol.breadcrumb .sep {
    opacity: .6;
}

/* ===== Responsive behaviour ===== */

/* Tablet / Medium Screens */
@media (max-width: 1100px) {
    .rrec-sd-header {
        padding: 46px 22px 0 22px;
    }
    .rrec-sd-header h1#staff {
        width: 70%;
        font-size: 92px; /* Fallback if Elementor responsive settings aren't used */
        white-space: nowrap;
    }
}

/* Mobile Screens */
@media (max-width: 700px) {
    .rrec-sd-header h1#staff {
        width: 100%;
        white-space: normal;
        font-size: 76px; /* Fallback */
    }
    .rrec-sd-header .rrec-sd-sub {
        white-space: normal;
    }
    .rrec-sd-header ol.breadcrumb {
        justify-content: flex-start; /* Often better on mobile */
        flex-wrap: wrap;
    }
}