html {
    --pst-font-size-h1: 2.0rem;
    --pst-font-size-h2: 1.75rem;
    --pst-font-size-h3: 1.5rem;
    --pst-font-size-h4: 1.25rem;
    --pst-font-size-h5: 1.2rem;
    --pst-font-size-h6: 1.1rem;    
}

.bd-sidebar-primary .sidebar-primary-items__end {
    margin-top: 0px !important;
}

section img {
    margin-bottom: 15px !important;
    border: 1px solid lightgrey;
    filter: drop-shadow(2px 2px 3px lightgrey)
}

section video {
    width: 100%;
}

footer {
    font-size: small;
}

/* Fix: active language item uses theme-aware colors instead of Bootstrap's white-on-blue */
.language-switcher .dropdown-item.active {
    color: var(--pst-color-text-base);         /* adapts to light/dark automatically */
    background-color: var(--pst-color-surface); /* subtle highlight, theme-aware */
    font-weight: 600;
    cursor: default;
    pointer-events: none; /* prevent re-clicking the current language */
}
