/* Design tokens, layout container and the shared scroll animations.
   Loaded on every page, before the per-area stylesheets. */

:root {
    --elements-webflow-library--neutral--100: #ffffff;
    --elements-webflow-library--neutral--300: #e4e4e7;
    --maine-black: #002e5d;
    --brand-orange: #f37021;
    --font-primary: "Sf Pro Display", sans-serif;
}

/* =============================================================
   Layout container
   ============================================================= */

.brix---container-default {
    max-width: 1218px;
    padding-right: 24px;
    padding-left: 24px;
    margin: 0 auto;
}

/* =============================================================
   Scroll-in animations

   Used by the home page sections and by the inner page templates.
   Elements start invisible and animate once, on load, with a
   per-element animation-delay set inline in the markup.
   ============================================================= */

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-150px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(150px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes simpleFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.fade-in-left {
    opacity: 0;
    animation: slideInFromLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-right {
    opacity: 0;
    animation: slideInFromRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* На вузькому екрані рух з боків виглядає різко — лишаємо простий фейд. */
@media (max-width: 991px) {
    .fade-in-left,
    .fade-in-right {
        animation-name: simpleFadeIn;
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-left,
    .fade-in-right,
    .fade-up {
        opacity: 1;
        animation: none;
    }
}

/* =============================================================
   WordPress core classes
   ============================================================= */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #333;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 12px 24px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin-inline: auto;
}

.alignfull {
    margin-inline: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.wp-caption {
    margin-block-end: 1.25rem;
    max-width: 100%;
}

.wp-caption img {
    display: block;
    margin-inline: auto;
}

.wp-caption-text {
    margin: 0;
}

.sticky {
    display: block;
    position: relative;
}
