/* ===== CityBox base ===== */

@font-face {
    font-family: "Roboto Slab";
    src: url("/assets/fonts/RobotoSlab-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto Slab";
    src: url("/assets/fonts/RobotoSlab-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto Slab";
    src: url("/assets/fonts/RobotoSlab-Bold.ttf") format("truetype");
    font-weight: 700 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --cb-font-text: "Roboto", Arial, sans-serif;
    --cb-font-heading: "Roboto Slab", Georgia, serif;
    --cb-yellow: #ffd700;
    --cb-orange: #ff7816;
    --cb-orange-hover: #e96a0f;
    --cb-dark: #454545;
    --cb-dark-hover: #303030;
    --cb-white: #ffffff;
    --cb-bg: #f7f7f7;
    --cb-bg-soft: #f4f5f6;
    --cb-border: #e9e9e9;
    --cb-text-muted: #555555;
    --cb-radius: 18px;
    --cb-radius-lg: 24px;
    --cb-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    --cb-shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.05);

    /* Compatibility aliases for stable components that still read legacy token names. */
    --ts-font-text: var(--cb-font-text);
    --ts-font-heading: var(--cb-font-heading);
    --ts-yellow: var(--cb-yellow);
    --ts-orange: var(--cb-orange);
    --ts-orange-hover: var(--cb-orange-hover);
    --ts-dark: var(--cb-dark);
    --ts-dark-hover: var(--cb-dark-hover);
    --ts-text-muted: var(--cb-text-muted);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    background: var(--cb-bg);
    color: var(--cb-dark);
    font-family: var(--cb-font-text);
    font-size: 16px;
    line-height: 1.5;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

img {
    vertical-align: middle;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid rgba(255, 120, 22, 0.28);
    outline-offset: 3px;
}

.cb-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
