/* ==========================================================================
   base.css — project-level styles (replaces Canvas theme CSS where possible)
   ========================================================================== */

/* Ticker / Marquee (was: quotes.css)
   ========================================================================== */

#TickerLineMarquee {
    position: relative;
    width: 100%;
    height: 24px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

#TickerLineMarquee span {
    position: absolute;
    top: 0;
    bottom: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 100%;
    animation: marquee 40s linear infinite;
    font-size: .75rem;
}

#TickerLineMarquee span:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0%   { opacity: 0; }
    1%   { opacity: 1; transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    #TickerLineMarquee {
        white-space: normal;
    }

    #TickerLineMarquee span {
        animation: none;
        padding-left: 0;
    }
}

/* CKEditor 5 content styles (was: ck-style.css)
   Used in editor (CKEDITOR_5_CUSTOM_CSS) and on public pages for rendered content
   ========================================================================== */

.ck-style-title {
    font-size: 50px;
    font-weight: 700;
    border: 0;
}

.ck-style-callout {
    --border-color: #e91e1e;
    padding: 1.2em 2em;
    border: 1px solid var(--border-color);
    border-left: 10px solid var(--border-color);
    background: #fff9fb;
    border-radius: 5px;
    margin: 1.5em 2em;
    box-shadow: 5px 5px 0 #ffe6ef;
}

.ck-style-needs-clarification {
    outline: 1px dashed #c8a24b;
    background: #ffe19c;
    border-radius: 2px;
    position: relative;
}

.ck-style-wide-spacing {
    letter-spacing: .3em;
}
