/* 
 * Custom CSS for BettinaJohanna Theme logo-x-outline-fill-ededed.svg
 */

@import 'custom-root.css';
@import 'custom-yooverride.css';
@import 'custom-fonts.css';
@import 'custom-spacings.css';
@import 'custom-defaults.css';
@import 'custom-buttons.css'; 
@import 'menu-overwrites.css';
/* @import 'custom-slider.css'; */
@import 'custom-media.css';






body {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;

}

/* -------------- Browser Scrollbar Styling -------------- */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #00000000;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #4675F9;
    border-radius: 6px;
    border: 2px solid #00000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a5ddb;
}

::-webkit-scrollbar-corner {
    background: #00000000;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #4675F9 #00000000;
}




/* -------------- Fullscreen Backgrounds -------------- */
.cw5-bg-xxx-gradient {
    background-image: var(--bg-xxx-gradient);
    background-size: 1920px 1080px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cw5-bg-x-gradient {
    background-image: var(--bg-x-gradient);
    background-size: 1920px 1080px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}


/* -------------- UIkit Card Default Glow -------------- */
.uk-card.uk-card-default {
    transition: box-shadow 0.2s ease-in;
}

.uk-card.uk-card-default:hover {
    box-shadow: 
        0 -2px 4px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(70, 117, 249, 0.6);
    transition: box-shadow 0.2s ease-in;
}

.uk-card.uk-card-default:not(:hover) {
    transition: box-shadow 1.2s ease-out;
}

/* -------------- Gradient Extra Large -------------- */
.cw5-gradient-extra-large {
    font-size: 190px;
    background: linear-gradient(
        to bottom,
        rgba(211, 211, 211, 1) 10%,
        rgba(211, 211, 211, 1) 30%,
        rgba(211, 211, 211, 0) 80%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* -------------- Single Work Background -------------- */
body.single-work::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/CW5-Theme-Images/cw5-logo-x-chevron-right-gradient.svg');
    background-size: auto 90vh;
    background-position: top right;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

/*
 * Reusable CW animation utilities
 *
 * Usage:
 * - Add cw-anim-fade-in to fade an element from hidden to visible.
 * - Add cw-anim-slide-left to slide an element in from the right toward the left.
 * - Add cw-anim-fade-in-before to fade an element's ::before pseudo-element.
 * - Add cw-anim-panel-in for slower panel fades that are easier to observe.
 * - Add a delay helper such as cw-delay-300, cw-delay-600, or cw-delay-900
 *   to sequence animations without writing element-specific CSS.
 * - Add cw-opacity-49 when the final animated opacity should be 0.49.
 * - YOOtheme/UIkit scrollspy toggles cw-is-in-view on each animated item.
 *   Use uk-scrollspy with repeat: true on the parent and uk-scrollspy-class
 *   on the targets so the animation restarts whenever it re-enters the viewport.
 *
 * These are intentionally generic cw-* classes so they can be reused from
 * YOOtheme's class field on future sections and elements.
 */
.cw-anim-fade-in,
.cw-anim-slide-left,
.cw-anim-fade-in-before::before {
    animation-duration: var(--cw-anim-duration, 900ms);
    animation-delay: var(--cw-anim-delay, 0ms);
    animation-timing-function: var(--cw-anim-ease, cubic-bezier(0.22, 1, 0.36, 1));
    animation-fill-mode: both;
}

.cw-anim-fade-in,
.cw-anim-slide-left {
    opacity: 0;
    animation-name: none;
}

.cw-anim-slide-left {
    translate: var(--cw-anim-slide-distance, 48px) 0;
}

.cw-anim-fade-in-before:not(.cw-is-in-view)::before {
    opacity: 0 !important;
    animation-name: none;
}

.cw-anim-fade-in.cw-is-in-view {
    --cw-anim-opacity-to: 1;
    animation-name: cw-fade-in;
}

.cw-anim-slide-left.cw-is-in-view {
    --cw-anim-opacity-to: 1;
    animation-name: cw-slide-left;
}

.cw-anim-fade-in-before.cw-is-in-view::before {
    animation-name: cw-fade-in;
}

.cw-anim-panel-in {
    opacity: 0;
    animation-name: none;
}

.cw-anim-panel-in.cw-is-in-view {
    --cw-anim-opacity-to: 1;
    animation-duration: var(--cw-anim-duration, 2000ms);
    animation-delay: var(--cw-anim-delay, 0ms);
    animation-timing-function: var(--cw-anim-ease, cubic-bezier(0.22, 1, 0.36, 1));
    animation-fill-mode: both;
    animation-name: cw-fade-in;
}

.cw-delay-0 {
    --cw-anim-delay: 0ms;
}

.cw-delay-300 {
    --cw-anim-delay: 300ms;
}

.cw-delay-600 {
    --cw-anim-delay: 600ms;
}

.cw-delay-900 {
    --cw-anim-delay: 900ms;
}

.cw-delay-1200 {
    --cw-anim-delay: 1200ms;
}

.cw-delay-1500 {
    --cw-anim-delay: 1500ms;
}

.cw-delay-1600 {
    --cw-anim-delay: 1600ms;
}

.cw-delay-1700 {
    --cw-anim-delay: 1700ms;
}

.cw-delay-1800 {
    --cw-anim-delay: 1800ms;
}

.cw-opacity-49 {
    --cw-anim-opacity-to: 0.49;
}

@keyframes cw-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: var(--cw-anim-opacity-to, 1);
    }
}

@keyframes cw-slide-left {
    from {
        opacity: 0;
        translate: var(--cw-anim-slide-distance, 48px) 0;
    }
    to {
        opacity: var(--cw-anim-opacity-to, 1);
        translate: 0 0;
    }
}

@keyframes cw-panel-in {
    from {
        opacity: 1;
        translate: 0 12px;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cw-anim-fade-in,
    .cw-anim-slide-left,
    .cw-anim-fade-in-before::before,
    .cw-anim-panel-in.cw-is-in-view {
        animation-duration: 1ms;
        animation-delay: 0ms;
    }
}

/*
 * Reusable CW layout utilities
 *
 * Usage:
 * - Add cw-max-width-1380 in a YOOtheme class field to cap an element at
 *   1380px and center it within its parent container.
 */
.cw-max-width-1380 {
    box-sizing: border-box;
    width: 100%;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

/*
 * Brand Hub responsive layout helpers
 *
 * Usage:
 * - Add cw-brand-hub-x-bg to the oversized Brand Hub X background row.
 * - The middle logo column moves first on tablet/mobile and gets extra
 *   vertical padding so the oversized X background can remain visible.
 */
@media (max-width: 959px) {
    .cw-brand-hub-x-bg {
        top: 0 !important;
        right: auto !important;
        bottom: auto !important;
        left: 50% !important;
        width: 100vw !important;
        height: 580px !important;
        margin-left: 0 !important;
        transform: translateX(-50%);
        overflow: hidden;
    }

    .cw-brand-hub-x-bg > * {
        width: 100% !important;
        padding-left: 0 !important;
    }

    .cw-brand-hub-x-bg .uk-text-center {
        width: 100% !important;
    }

    .cw-brand-hub-x-bg .el-image {
        display: block;
        width: min(118vw, 680px) !important;
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    #brand-hub-middle-column {
        order: -1;
        padding-top: 140px;
        padding-bottom: 140px;
    }
}

/* cw-blog-link-visibility (2026-07-30) — Fliesstext-Links im Blog sichtbar, CW-Blau, Hover Orange */
.single-blog-post .el-content a:not([style]){color:#4675F9 !important;text-decoration:underline !important;text-underline-offset:2px;text-decoration-thickness:1px;}
.single-blog-post .el-content a:not([style]):hover{color:#F97046 !important;}
/* end cw-blog-link-visibility */
