/*
 * Aurora - reference theme for the DDO News Portal theme engine.
 *
 * Colours come from the active icon pack through --primary-color,
 * --primary-rgb, --primary-soft, --primary-strong and --primary-contrast.
 * This file must never define its own primary colour.
 * Every rule is scoped by [data-theme="aurora"], so nothing leaks if another
 * theme becomes active.
 */
[data-theme="aurora"] body {
    background: var(--theme-page, #f5f7fb);
    color: var(--theme-text, #1c2333);
    font-family: var(--theme-font-body, system-ui, sans-serif);
}

[data-theme="aurora"] a {
    text-underline-offset: 0.2em;
}

/*
 * The navbar keeps the light-on-dark markup of the base layout (white logo, white links),
 * so it must stay dark. A translucent deep-navy glass bar keeps the airy look without
 * making the logo and menu unreadable.
 */
[data-theme="aurora"] .site-navbar {
    background: rgba(20, 27, 48, 0.86) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.35);
    box-shadow: var(--theme-shadow);
}

[data-theme="aurora"] .card,
[data-theme="aurora"] .list-group,
[data-theme="aurora"] .listing-row,
[data-theme="aurora"] .search-sidebar {
    background: var(--theme-surface, #fff);
    border-radius: var(--theme-radius, 0.9rem);
    border-color: rgba(var(--primary-rgb), 0.12);
    box-shadow: var(--theme-shadow);
}

[data-theme="aurora"] img {
    border-radius: var(--theme-radius-sm, 0.5rem);
}

[data-theme="aurora"] .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--primary-contrast);
    border-radius: 2rem;
}

[data-theme="aurora"] .btn-primary:hover {
    background: var(--primary-strong);
    border-color: var(--primary-strong);
}

[data-theme="aurora"] .badge,
[data-theme="aurora"] .page-link {
    border-radius: 2rem;
}

[data-theme="aurora"] .site-footer {
    background: linear-gradient(180deg, var(--primary-strong), #10141f);
}
