html {
    scroll-behavior: smooth;
}

.axia-captcha {
    margin: 0;
    border: 0;
    padding: 0;
    min-width: 0;
}

.axia-captcha-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.axia-captcha-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.axia-captcha-head a {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.axia-captcha-head a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.axia-captcha-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.axia-captcha-option {
    position: relative;
    display: flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
    overflow: hidden;
    cursor: pointer;
}

.axia-captcha-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.axia-captcha-option > span {
    display: flex;
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.axia-captcha-option svg {
    display: block;
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    flex: none;
}

.axia-captcha-option:hover > span {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.axia-captcha-option input:checked + span {
    border-color: rgba(207, 31, 39, 0.85);
    background: rgba(207, 31, 39, 0.14);
    color: #fff;
}

.axia-captcha-option input:focus-visible + span {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

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

body {
    margin: 0;
}

/* MOBILE HAMBURGER */
.axia-menu-line {
    transition:
        transform 0.25s ease,
        opacity 0.2s ease,
        top 0.25s ease;
    transform-origin: center;
}

.axia-menu-toggle.open .axia-menu-line-1 {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}

.axia-menu-toggle.open .axia-menu-line-2 {
    opacity: 0;
}

.axia-menu-toggle.open .axia-menu-line-3 {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}

.axia-grid {
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 56px 56px;
}


/* HEADER */
.axia-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 9999;
    pointer-events: none;
}

.axia-header > * {
    pointer-events: auto;
}


/* LOGO BACKGROUND
   Compact shield-shaped fade that follows the AXIA logo.
*/
.axia-logo-shield {
    left: 50%;
    top: 50%;

    width: 76px;
    height: 92px;

    transform: translate(-50%, -48%);

    /*
     Wider across the shoulders/top,
     narrower toward the bottom like the logo.
    */
    clip-path: polygon(
        8% 4%,
        92% 4%,
        100% 18%,
        94% 47%,
        82% 70%,
        66% 88%,
        50% 100%,
        34% 88%,
        18% 70%,
        6% 47%,
        0% 18%
    );

    background:
        radial-gradient(
            ellipse 75% 62% at 50% 34%,
            rgba(5, 7, 8, 1) 0%,
            rgba(5, 7, 8, 0.99) 42%,
            rgba(5, 7, 8, 0.94) 58%,
            rgba(5, 7, 8, 0.72) 72%,
            rgba(5, 7, 8, 0.32) 86%,
            rgba(5, 7, 8, 0) 100%
        );

    /*
     Mask gives the clipped shield itself
     a soft edge instead of a hard polygon edge.
    */
    -webkit-mask-image: radial-gradient(
        ellipse 72% 68% at 50% 43%,
        #000 0%,
        #000 55%,
        rgba(0, 0, 0, 0.96) 65%,
        rgba(0, 0, 0, 0.72) 76%,
        rgba(0, 0, 0, 0.32) 88%,
        transparent 100%
    );

    mask-image: radial-gradient(
        ellipse 72% 68% at 50% 43%,
        #000 0%,
        #000 55%,
        rgba(0, 0, 0, 0.96) 65%,
        rgba(0, 0, 0, 0.72) 76%,
        rgba(0, 0, 0, 0.32) 88%,
        transparent 100%
    );
}

@media (min-width: 1024px) {
    .axia-logo-shield {
        width: 96px;
        height: 118px;

        transform: translate(-50%, -48%);
    }
}


/* DESKTOP DROPDOWNS */
.axia-dropdown {
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.axia-nav-group:hover .axia-dropdown,
.axia-nav-group:focus-within .axia-dropdown {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.axia-nav-group:hover .axia-chevron,
.axia-nav-group:focus-within .axia-chevron {
    transform: rotate(180deg);
}


/* MOBILE SUBMENUS */
.mobile-sub {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
}

.mobile-sub > div {
    overflow: hidden;
}

.mobile-group.open .mobile-sub {
    grid-template-rows: 1fr;
    opacity: 1;
}

.mobile-group.open .axia-chevron {
    transform: rotate(180deg);
}


/* MOBILE PANEL */
.mobile-panel {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.mobile-panel.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}


/* ACCESSIBILITY */
body.axia-visual .axia-edit {
    cursor: text;
    border-radius: 3px;
    outline: 1px dashed rgba(226, 102, 76, 0.55);
    outline-offset: 2px;
}

body.axia-visual .axia-edit:hover,
body.axia-visual .axia-edit.axia-active,
body.axia-visual [data-axia-slot="attr"]:hover,
body.axia-visual [data-axia-slot="attr"].axia-active {
    outline: 2px solid #e2664c;
    background: rgba(207, 31, 39, 0.16);
}

body.axia-visual [data-axia-slot="attr"] {
    outline: 1px dashed rgba(226, 102, 76, 0.7);
    outline-offset: 3px;
}

.axia-cookie {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    background: #16191c;
    border-top: 2px solid #cf1f27;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.45);
}

.axia-cookie[hidden] {
    display: none !important;
}

.axia-cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1536px;
    margin: 0 auto;
    padding: 16px 20px;
}

.axia-cookie p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.5;
}

.axia-cookie-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 16px;
}

.axia-cookie a {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.axia-cookie button {
    border: 0;
    border-radius: 10px;
    background: #cf1f27;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 16px;
}

.axia-cookie button:hover {
    background: #e2664c;
}

@media (max-width: 700px) {
    .axia-cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .axia-cookie-actions {
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}