#herd-oxford-masthead {
    --hom-current-logo: var(--hom-logo,160px);
    /* Provisional exclusion zone: confirm against the official source CSS. */
    --hom-clearance: calc(var(--hom-current-logo) * .15);
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #011e41;
    position: relative;
}
#herd-oxford-masthead.hom-white { background: #fff; }
#herd-oxford-masthead .hom-inner {
    box-sizing: border-box;
    width: var(--hom-width,80%);
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--hom-clearance) 0;
}
#herd-oxford-masthead .hom-solus {
    display: block;
    width: var(--hom-current-logo);
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}
#herd-oxford-masthead .hom-inner {
    width: min(var(--hom-width,80%), calc(100% - 2 * var(--hom-clearance)));
}

/* Only fixed Divi headers identified by JS receive an offset. */
body .hom-fixed-header { translate: 0 var(--hom-fixed-offset,0px); }
@media (max-width:600px) {
    #herd-oxford-masthead { --hom-current-logo: var(--hom-mobile-logo,120px); }
}

@media (max-width:980px) {
    #herd-oxford-masthead { --hom-width: 90%; }
}
