/* Hero section */
.rude-hero {
    text-align: center;
    clear: both;
}

.rude-hero .rude-logo {
    height: 7rem;
    width: auto;
    margin: 0.75rem auto 1rem auto;
    display: block;
}

.rude-hero #tagline {
    margin: 0 0 0.3rem 0;
}

.rude-hero .badges {
    margin: 0 0 0.5rem 0;
}

.rude-hero hr {
    width: 11.4rem;
    margin: 1.2rem auto 2rem auto;
    border: none;
    border-top: 1px solid var(--color-background-border);
}

hr.docutils {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid var(--color-background-border);
}

.rude-hero figcaption {
    font-size: 0.8rem;
    color: var(--color-foreground-muted);
}

/* Hide H1 — logo replaces it */
#rude > section > h1,
#rude > h1 {
    display: none;
}

/* Hide all taglines until JS picks one */
#tagline .tagline-option {
    display: none;
}

/* Fallback: show first tagline if JS is disabled */
#tagline .tagline-option:first-child {
    display: inline;
}

/* Full-width tables */
table.docutils {
    width: 100%;
}

/* Sidebar brand: logo above, tagline, version in small. */
.sidebar-brand .sidebar-logo {
    max-height: 3rem;
}

.sidebar-brand .sidebar-logo-container {
    margin-bottom: 0;
}

.sidebar-brand-text {
    font-size: 1rem;
    line-height: 1.3;
}

.sidebar-brand-version {
    font-size: 0.85rem;
    color: var(--color-foreground-muted);
    margin-top: 0.15rem;
}
