/* Aquilon product backlinks: brand + CTA inside mdBook's menu-bar,
 * plus a breadcrumb above the content.
 *
 * The book_title (rendered as the menu-title) is wrapped in a link to
 * the product homepage and given a logo. A "Get started" CTA sits in
 * the right-buttons cluster alongside the print/git icons. */

.menu-bar .menu-title.aquilon-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.menu-bar .menu-title.aquilon-brand:hover {
    text-decoration: underline;
}

.menu-bar .menu-title.aquilon-brand img {
    height: 22px;
    width: auto;
    display: block;
}

.menu-bar .right-buttons .aquilon-cta {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    margin-right: 8px;
    border-radius: 6px;
    background: var(--links, #1f6feb);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.menu-bar .right-buttons .aquilon-cta:hover {
    text-decoration: none;
    filter: brightness(1.1);
}

/* Breadcrumb above the chapter content. */
.aquilon-breadcrumb {
    font-size: 0.85rem;
    color: var(--fg);
    opacity: 0.7;
    margin: 8px 0 16px 0;
}

.aquilon-breadcrumb a {
    color: var(--fg);
    text-decoration: none;
}

.aquilon-breadcrumb a:hover {
    text-decoration: underline;
}

.aquilon-breadcrumb .sep {
    margin: 0 6px;
    opacity: 0.5;
}

/* Mobile: hide the brand logo (title text stays) to keep the CTA visible. */
@media (max-width: 480px) {
    .menu-bar .menu-title.aquilon-brand img {
        display: none;
    }
    .menu-bar .right-buttons .aquilon-cta {
        padding: 0 10px;
    }
}
