.dodho-scroll-header[data-initial-ready="1"] .header-row > :not(.wp-block-site-logo) {
    transition: opacity 380ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
    .dodho-scroll-header[data-initial-ready="1"] .header-row > :not(.wp-block-site-logo) { transition: none; }
}

.dodho-header-content .dodho-header-menu-row {
    justify-content: flex-start;
}
.dodho-header-menu-row > .dodho-header-menu-trailing {
    flex: 0 0 26px;
    width: 26px;
    margin-inline-start: auto;
}
.dodho-header-menu-row > .wp-block-dodho-search {
    margin-inline-start: auto;
}
.dodho-header-menu-row:has(> .wp-block-dodho-search:not([hidden])) > .dodho-header-menu-trailing {
    margin-inline-start: 0;
}

/* Header companion panels share the menu's top edge and touch its left edge. */
.dodho-header-popovers > .dodho-menu__preview.is-compact-preview {
    top: 0 !important;
    left: var(--dodho-header-preview-left, 8px) !important;
    width: var(--dodho-header-preview-width, calc(100vw - 160px)) !important;
}

.dodho-header-popovers .dodho-menu__link.is-preview-active {
    text-decoration: underline;
    text-underline-offset: .18em;
    text-decoration-thickness: 1px;
}
