/* Theme: Roldem Classic */
/* =========================================================================
   Theme: Roldem Classic
   -------------------------------------------------------------------------
   A theme defines design tokens only. assets/css/base.css owns the layout,
   so every token below is safe to change and new themes can be created by
   copying this file and editing the values.

   Required token groups:
     Brand      --color-brand, --color-brand-dark, --color-brand-contrast
     Text       --color-text, --color-text-muted, --color-heading
     Surfaces   --color-bg, --color-surface, --color-surface-alt
     Lines      --color-border, --color-border-strong
     Links      --color-link, --color-link-hover
     Chrome     --color-header-bg, --color-nav-text, --color-banner-bg,
                --color-banner-text, --color-footer-bg, --color-footer-text
     States     --color-success, --color-danger, --color-danger-dark,
                --color-warning, --color-info, --color-focus, --color-highlight
     Form       --color-input-bg
     Type       --font-body, --font-heading, --font-mono, --font-size-*
     Metrics    --radius*, --space-*, --layout-width*, --sidebar-width
     Depth      --shadow-1, --shadow-2, --shadow-3, --shadow-header
   ========================================================================= */

:root {
    /* Brand */
    --color-brand: #cc0000;
    --color-brand-dark: #a30000;
    --color-brand-contrast: #ffffff;

    /* Text */
    --color-text: #23262b;
    --color-text-muted: #616872;
    --color-heading: #14171c;

    /* Surfaces */
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-surface-alt: #f5f6f8;

    /* Lines */
    --color-border: #e3e6ea;
    --color-border-strong: #c6ccd4;

    /* Links */
    --color-link: #b70000;
    --color-link-hover: #8a0000;

    /* Chrome */
    --color-header-bg: #ffffff;
    --color-nav-text: #2c3037;
    --color-banner-bg: #cc0000;
    --color-banner-text: #ffffff;
    --color-footer-bg: #1d2025;
    --color-footer-text: #d3d6db;

    /* A very subtle sheen keeps the flat red from looking like a colour swatch. */
    --hero-overlay: linear-gradient(105deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.06) 62%);

    /* States */
    --color-success: #1c7c4a;
    --color-danger: #c62222;
    --color-danger-dark: #9c1a1a;
    --color-warning: #b4720b;
    --color-info: #1f6bb0;
    --color-focus: #ffbf47;
    --color-highlight: #ffe89a;

    /* Forms */
    --color-input-bg: #ffffff;

    /* Typography */
    --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-heading: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    --font-size-base: 1rem;
    --font-size-h1: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    --font-size-h2: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem);
    --font-size-h3: 1.2rem;
    --font-size-h4: 1.05rem;

    /* Metrics */
    --radius-sm: 3px;
    --radius: 6px;
    --radius-lg: 10px;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;

    --layout-width: 76rem;
    --layout-width-narrow: 46rem;
    --layout-gutter: 1.25rem;
    --sidebar-width: 17rem;

    /* Depth */
    --shadow-1: 0 2px 10px rgba(20, 23, 28, 0.07);
    --shadow-2: 0 8px 28px rgba(20, 23, 28, 0.14);
    --shadow-3: -12px 0 36px rgba(20, 23, 28, 0.18);
    --shadow-header: 0 1px 0 rgba(20, 23, 28, 0.04);
}

/* Theme-specific accents: the gold/white/red of the national flag as a thin
   rule under the banner. */
.hero {
    border-bottom: 4px solid #ffce00;
}

.widget__title {
    color: var(--color-heading);
}
