/*
 * rnv corporate typography.
 *
 * Frutiger is loaded from the public, CORS-enabled webfont endpoint used by
 * rnv-online.de. Transit Pict remains local-only until the licensed webfont
 * file and its glyph mapping are available for this prototype.
 */
@font-face {
    font-family: "Frutiger Next";
    src:
        local("Frutiger Next Regular"),
        local("FrutigerNext-Regular"),
        url("https://www.rnv-online.de/_assets/a262f705d63747be7fdb161b0236c56e/Build/Frutiger-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Frutiger Next";
    src:
        local("Frutiger Next Bold"),
        local("FrutigerNext-Bold"),
        url("https://www.rnv-online.de/_assets/a262f705d63747be7fdb161b0236c56e/Build/Frutiger-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
}

@font-face {
    font-family: "Frutiger Next";
    src:
        local("Frutiger Next Italic"),
        local("FrutigerNext-Italic"),
        url("https://www.rnv-online.de/_assets/a262f705d63747be7fdb161b0236c56e/Build/Frutiger-Regular-Italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Transit Pict";
    src: local("Transit Pict"), local("TransitPict");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --rnv-font-text: "Frutiger Next", Frutiger, Arial, Helvetica, sans-serif;
    --rnv-font-pict: "Transit Pict", "Apple Symbols", "Segoe UI Symbol", sans-serif;
}

body,
button,
input,
select,
textarea {
    font-family: var(--rnv-font-text);
}

.rnv-pict,
.map-button .symbol,
.journey-mode-icon,
.nav-symbol strong,
.detail-chip,
.rail-station-marker,
.incident-icon,
.departure-overlay-refresh,
.departure-overlay-close,
.location-card-toggle,
.back-link::before,
.line-picker > summary::after,
.journey-planner > summary::after {
    font-family: var(--rnv-font-pict);
    font-style: normal;
    font-weight: 400;
    text-transform: none;
}
