.content-header-bar {
    width: 100%;
    border-top: 1px solid var(--border-soft, rgba(0, 0, 0, 0.1));
    border-bottom: 1px solid var(--border-soft, rgba(0, 0, 0, 0.1));
    background-color: var(--pico-background-color);
    margin-bottom: 1.5rem;
}

.content-header-bar .content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 0.75rem 1rem;
    max-width: 1880px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-header-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.content-header-bar .breadcrumbs {
    padding: 0;
    margin: 0 0 0.35rem 0;
    font-size: 0.875rem;
    gap: 0.25rem 0.5rem;
}

.content-header-bar .breadcrumbs a {
    color: var(--pico-primary);
    text-decoration: none;
}

.content-header-bar .breadcrumbs a:hover {
    text-decoration: underline;
}

.content-header-bar .breadcrumbs .icon {
    opacity: 0.5;
}

.content-header-title {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    color: var(--pico-color);
    overflow-wrap: anywhere;
}

.content-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

/* The share / print buttons are absolutely positioned inside the content area; inside the bar they
   are regular flex items. */
.content-header-actions details.dropdown.social-sharing-container,
.content-header-actions details.dropdown.print-button-container,
.content-header-actions .print-button {
    position: relative;
    top: auto;
    right: auto;
    margin: 0;
}

.content-header-actions .print-button,
.content-header-actions details.dropdown>summary.dropdown-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--pico-primary);
    background: transparent;
    border: none;
    cursor: pointer;
}

.content-header-actions details.social-sharing-container.dropdown summary svg {
    margin: 0;
}

.content-header-actions details.dropdown>summary+ul {
    top: calc(100% + 0.5rem);
    right: 0;
    left: auto;
    z-index: 100;
}

@media (max-width: 768px) {
    .content-header-bar .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .content-header-actions {
        align-self: flex-end;
        margin-bottom: 0;
    }
}