/* ============================================
   BADEN MARATHON - BRICKS CHILD THEME CSS
   ============================================
   Bricks Child Theme | No Bricks Pro Required
   ============================================ */

/* ---- CSS Custom Properties (Brand Colors) ---- */
:root {
    --bm-yellow:        #FFD700;
    --bm-yellow-dark:   #E6C200;
    --bm-red:           #E30613;
    --bm-red-dark:      #C00510;
    --bm-black:         #1a1a1a;
    --bm-white:         #ffffff;
    --bm-gray-light:    #f5f5f5;
    --bm-gray:          #e0e0e0;
    --bm-text:          #333333;
    --bm-text-light:    #666666;
    --bm-border-radius: 4px;
    --bm-shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
    --bm-shadow-md:     0 8px 24px rgba(0,0,0,0.12);
    --bm-shadow-lg:     0 16px 48px rgba(0,0,0,0.18);
    --bm-transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    overflow-x: hidden;
}
.left-image-shape {
    background-size: 100% 100% !important;
}
.header.blur-effect::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 100%;
    z-index: -1;
}
.header-main-menu nav .bricks-nav-menu .menu-item:hover a {
    color: #E81B23 !important;
}
.header-main-menu nav .bricks-nav-menu .sub-menu {
    padding: 10px 0 !important;
}
.header-main-menu nav .bricks-nav-menu .sub-menu .menu-item a {
    transition: 0.3s ease-in-out;
    color: #ffffff !important;
}

.header-main-menu nav .bricks-nav-menu .sub-menu .current-menu-item > a {
    color: #E81B23 !important;
}
.header-main-menu nav .bricks-nav-menu .sub-menu > .menu-item:hover > a,
.header-main-menu nav .bricks-nav-menu .sub-menu > .menu-item:hover > .brx-submenu-toggle > a {
    color: #E81B23 !important;
}
.header-main-menu nav .bricks-nav-menu .sub-menu > .menu-item > .brx-submenu-toggle > a {
    padding-right: 0;
}
.header-main-menu nav .bricks-nav-menu .sub-menu > .menu-item > .brx-submenu-toggle button {
    padding: 0 0 0 5px;
}
.header-main-menu nav .bricks-nav-menu .menu-item .brx-submenu-toggle button svg path,
.header-main-menu nav .bricks-nav-menu .menu-item .brx-submenu-toggle button i {
    transition: 0.3s ease-in-out;
}
.header-main-menu nav .bricks-nav-menu .menu-item:hover .brx-submenu-toggle button svg path,
.header-main-menu nav .bricks-nav-menu .menu-item:hover .brx-submenu-toggle button i {
    stroke: #E81B23 !important;
    color: #E81B23 !important;
}
.header-main-menu nav .bricks-nav-menu .sub-menu .menu-item .brx-submenu-toggle button svg path,
.header-main-menu nav .bricks-nav-menu .sub-menu .menu-item .brx-submenu-toggle button i {
    stroke: #fff !important;
}
.header-main-menu nav .bricks-nav-menu .sub-menu .menu-item:hover .brx-submenu-toggle button svg path,
.header-main-menu nav .bricks-nav-menu .sub-menu .menu-item:hover .brx-submenu-toggle button i {
    stroke: #E81B23 !important;
    color: #E81B23 !important;
}
.header-main-menu nav .bricks-nav-menu .menu-item .brx-submenu-toggle button {
    font-size: 16px !important;
}
.brxe-registration-ribbon.is-sticky {
    top: 139px !important;
}
.top-header-list li a * {
    transition: 0.3s ease-in-out;
}
.google-map iframe {
    height: 630px !important;
    vertical-align: bottom;
}
.brxe-search > button:hover svg * {
    transition: 0.3s ease-in;
}
.brxe-search > button:hover svg path {
    fill: #F9000A;
}
.bricks-search-overlay {
    top: 200px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    max-width: 915px;
    transform: scale(1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    bottom: auto;
    height: auto;
}
.bricks-search-overlay .bricks-search-inner {
    position: relative;
    background: rgba(0, 0, 0, 0.004);
    border: 2px solid rgba(255,255,255,1);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin: 0 auto;
    padding: 85px 60px 55px 60px;
    height: auto;
}
.bricks-search-form input[type=search] {
    outline: none;
}
.bricks-search-overlay .bricks-search-form {
    max-width: 100% !important;
    padding: 10px 0;
    background-color: #fff;
    justify-content: center;
}
.bricks-search-overlay .title {
    display: none;
}
.bricks-search-overlay .close {
    right: 18px;
    top: 20px;
}
.bricks-search-overlay .bricks-search-form button[type="submit"] {
    font-size: 0 !important;
    background-color: transparent !important;
    background: url('https://badenmarathon.decision-tower.com/wp-content/uploads/2026/07/search-submit-arrow.svg');
    height: 30px !important;
    width: 30px !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 22px;
    margin-top: 10px;
}
.bricks-search-overlay .bricks-search-form button[type="submit"]:hover {
    background: url('https://badenmarathon.decision-tower.com/wp-content/uploads/2026/07/search-submit-hover-arrow.svg');
    height: 30px !important;
    width: 30px !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 22px;
}
.rich-text ul li:not(:last-child) {
    margin-bottom: 15px;
}
/* ============================================
   Buttons
   ============================================ */
   .link-underline a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
   }
   .text-decoration-thikness-1,
   .text-decoration-thikness-1 a {
    text-decoration: underline;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
   }
   .bm-registration .link-underline a,
   .link-red a {
    color: #E81B23 !important;
   }
   .link-red a {
    font-weight: 600 !important;
   }
   .bricks-button i {
        top: 3px;
    }
    .btn-hover-underline span {
        transition: .35s ease;
        display: inline-block;
    }
    .btn-hover-underline:hover span {
        text-decoration: underline;
        text-decoration-thickness: 1px !important;
        text-underline-offset: 2px !important;
    }
    .shape-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        color: #fff;
        font-style: italic;
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 1px;
        z-index: 1;
        border: 0;
        transition: .35s ease;

        /* Creates the angled ends */
        clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);

        overflow: hidden;

        box-shadow: 0 5px 5px rgba(0, 0, 0, .25);

        transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
   }
   .shape-btn span {
        transition: .35s ease;
        display: inline-block;
        position: relative;
        z-index: 2;
    }
    .shape-btn svg {
        position: relative;
        z-index: 2;
    }
    /* Animated gradient layer */
    .shape-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 1;
        transform-origin: center;
        transition: none;
    }
    /* ---------------- HOVER ---------------- */
    .shape-btn.with-animation:hover {
        animation: buttonMove 5.2s ease forwards;
    }

    .shape-btn.with-animation:hover::before {
        animation: gradientSequence 5.2s ease forwards;
    }
    /* 1. Button movement / shadow */
    @keyframes buttonMove {

        0% {
            transform: translateX(0);
            box-shadow: 0 5px 5px rgba(0,0,0,.25);
        }

        25% {
            transform: translateX(0);
            box-shadow: 0 7px 7px rgba(0,0,0,.25);
        }

        40% {
            transform: translateX(0);
            box-shadow: 0 7px 7px rgba(0,0,0,.25);
        }

        60% {
            transform: translateX(0);
            box-shadow: 0 7px 7px rgba(0,0,0,.25);
        }

        80% {
            transform: translateX(0);
            box-shadow: 0 7px 7px rgba(0,0,0,.25);
        }

        100% {
            transform: translateX(0);
            box-shadow: 0 5px 5px rgba(0,0,0,.25);
        }
    }
    /* 2. Gradient sequence */
    @keyframes gradientSequence {

        /* Normal */
        0% {
            opacity: 1;
        }

        /* 1st hover */
        25% {
            opacity: 1;
            transform: scaleX(1);
            background:
                radial-gradient(
                54.88% 54.88% at 45.12% 50%,
                #FF001A 0%,
                #F66200 46.15%,
                #D60015 100%
            );
        }

        /* 2nd hover */
        40% {
            opacity: 1;
            background: linear-gradient(89.98deg, rgba(255, 0, 0, 0.72) 2.16%, rgba(159, 0, 0, 0.72) 24.56%, rgba(255, 145, 0, 0.576) 60.73%, rgba(219, 7, 7, 0.72) 97.25%), #EC0A13;
        }

        /* 3rd hover */
        65% {
            opacity: 1;
            background: linear-gradient(89.98deg, rgba(255, 0, 0, 0.72) 2.16%, rgba(159, 0, 0, 0.576) 57.61%, rgba(255, 204, 0, 0.3456) 81.7%, rgba(219, 7, 7, 0.72) 97.05%), #EC0A13;
        }

        /* 4th hover */
        100% {
            opacity: 1;
            background: linear-gradient(89.98deg, rgba(170, 0, 17, 0.72) 29.13%, rgba(159, 0, 0, 0.72) 69.13%), #EC0A13;
            transform: scaleX(1);
        }
    }
    .shape-btn:hover span {
        text-decoration: underline;
        text-decoration-thickness: 1px !important;
        text-underline-offset: 2px !important;
    }
    .btn-sky-blue.shape-btn::before {
        background-color: #858697;
    }
    .btn-red.shape-btn::before {
        background-color: #EC0A13;
    }
    .btn-red.shape-btn {
        background-color: #EC0A13;
    }
    .btn-medium {
        font-size: 16px;
        font-weight: 600;
        padding: 6px 20px 6px;
        letter-spacing: 0.7px;
    }
    .btn-premium {
        font-size: 20px !important;
    }
    .btn-medium svg {
        width: 9px;
    }
    .btn-large {
        font-weight: 600;
         padding: 15px 45px 15px 45px;
         font-size: 24px;
        font-weight: 700;
    }

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.bm-countdown-wrapper {
    display: block;
    width: auto;
}
.bm-countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.bm-countdown__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.625rem 0.875rem;
    background: #ffffff;
    border-radius: var(--bm-border-radius);
    box-shadow: var(--bm-shadow-sm);
}
.bm-countdown__number {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--bm-black);
    display: block;
    position: relative;
    z-index: 2;
}
.bm-countdown__label {
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-top: 0.25rem;
    color: var(--black);
    display: block;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .bm-countdown__box { min-width: 80px; padding: 1rem 1.25rem; }
}

/* ============================================
   bm competition card
   ============================================ */
.bm-competition-card__richtext {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    align-items: end;
}
.bm-competition-card__richtext h3 {
    font-size: 4rem;
    color: #5A5B66;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    font-style: italic;
}
.bm-competition-card__richtext h5 {
    color: #5A5B66;
    font-size: 4rem;
    font-style: italic;
    letter-spacing: -2.3px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
}
.bm-competition-card__richtext p {
    margin-bottom: 0;
    font-size: 2.2rem;
    color: #5A5B66;
    font-style: italic;
    margin: 0;
    line-height: normal;
    font-weight: 500;
    margin-right: 6px;
}
.bm-competition-card__richtext p:last-of-type {
    margin-right: 0;
}
.competitions-block-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.bm-competition-card:hover .competitions-block-overlay {
    transform: translateY(0);
}

/* ============================================
   MODAL / POPUP
   ============================================ */

.bm-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.bm-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.bm-modal {
    position: relative;
    background: var(--bm-white);
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--bm-shadow-lg);
}

.bm-modal-overlay.is-active .bm-modal {
    transform: translateY(0) scale(1);
}

.bm-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bm-gray-light);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--bm-text);
    transition: var(--bm-transition);
}

.bm-modal__close:hover {
    background: var(--bm-red);
    color: var(--bm-white);
}

.bm-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bm-black);
    padding-right: 2rem;
}

.bm-modal__content {
    color: var(--bm-text);
    line-height: 1.7;
}

.bm-modal__content p + p {
    margin-top: 1rem;
}

.bm-modal-trigger {
    cursor: pointer;
}

/* ============================================
    COMPETITION CARDS
   ============================================ */
.bm-competition-card__body {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #e8e8e8;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

/* ============================================
   PRICING CARDS
   ============================================ */
   .bm-pricing-card__price:not(.premium) {
    background: linear-gradient(180deg, rgba(110, 110, 113, 0.55) 28.57%, rgba(210, 210, 215, 0.55) 100%), #6E6E71;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
   }

/* ============================================
   NEWS CARDS
   ============================================ */
.bm-news .bricks-layout-item .content-wrapper .dynamic,
.bm-news .bricks-layout-item .content-wrapper h3 {
    margin: 24px 0 0 0 !important;
    font-size: 18px;
    letter-spacing: 0.3px;
    font-weight: 400;
}
.brxe-posts .bricks-layout-item .image-wrapper {
    position: relative;
    display: inline-block;
    filter: drop-shadow(1px 4px 4px rgba(0, 0, 0, .4));
    overflow: visible !important;
    padding-right: 12px;
}
.brxe-posts .bricks-layout-item .image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -12px;
    background: rgba(255, 255, 255, 0.8);
    clip-path: polygon(12px 0, /* top-left inset */ calc(100% - 12px) 0, /* before top-right cut */ 100% 12px, /* top-right diagonal */ 100% 100%, /* bottom-right */ 12px 100%, /* bottom-left inset */ 0 calc(100% - 12px), /* bottom-left diagonal */ 0 0 /* left-top */);
    z-index: 0;
}
.brxe-posts .bricks-layout-item .image-wrapper img {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 2px;
    border: 2px solid #fff;
    box-shadow: 3px 6px 4px -1px rgba(0, 0, 0, 0.3);
}
.brxe-posts .bricks-layout-item .bricks-layout-inner,
.brxe-posts {
    overflow: visible !important;
}

/* ============================================
   10. RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 767px) {
    .bm-hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .bm-hide-desktop { display: none !important; }
}

/* ============================================
   11. ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .bm-carousel__track--animated,
    .bm-sponsor-circle::before,
    .bm-countdown__number,
    .bm-competition-card,
    .bm-pricing-card,
    .bm-news-card {
        animation: none !important;
        transition: none !important;
    }
}

.bm-btn:focus-visible,
.bm-modal__close:focus-visible,
.bm-modal-trigger:focus-visible {
    outline: 3px solid var(--bm-yellow);
    outline-offset: 2px;
}

/* ============================================
   12. PRINT STYLES
   ============================================ */

@media print {
    .bm-carousel__track--animated { animation: none; }
    .bm-modal-overlay { display: none !important; }
    .bm-sponsor-circle::before { display: none; }
}

/* ============================================
   13. HOMEPAGE LAYOUT & SECTIONS
   ============================================ */

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--bm-text);
}

/* ---- Header ---- */
.bm-header {
    top: 0;
}
.top-header-list li {
    display: inline-flex;
    align-items: center;
}

/* ---- Hero ---- */
.bm-hero > .brxe-container {
    position: relative;
    z-index: 999;
    width: 100%;
}

/* section title */
.section-title {
    width: auto;
    position: relative;
    z-index: 1;
}
.section-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    height: 100%;

    /* Shape */
    clip-path: polygon(0% 0%, 0% 0%, 100% 30%, 105% 105%, 0 105%);
    z-index: -1;
}
/* section title */
.marathon-overview-title {
    width: auto;
    position: relative;
    z-index: 1;
    -webkit-filter: drop-shadow(3px 4px 4px rgba(0, 0, 0, .25));
    filter: drop-shadow(3px 4px 4px rgba(0, 0, 0, .25));
}
.marathon-overview-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(101.88deg, #FFD700 71.57%, #F3CB02 122.61%);
    mix-blend-mode: normal;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    transform: matrix(1, 0, 0, -1, 0, 0);
    height: 100%;

    /* Shape */
    clip-path: polygon(
        0% 0%,
        98% 35%,
        100% 77%,
        0% 100%
    );
    z-index: -1;
}
.brxe-slider-nested .splide__arrows .splide__arrow--next svg {
    margin-right: -4px;
}
.brxe-slider-nested .splide__arrows .splide__arrow--prev svg {
    margin-left: -4px;
}

.bm-hero-countdown {
    width: 100%;
    border-radius: 8px;
    position: relative;
}
.bm-hero-countdown::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(98.45deg, #FFD700 39.73%, #F3CB02 67.45%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2), inset 12px 12px 8px rgba(255, 255, 255, 0.25);

    /* Shape */
    clip-path: polygon(
        4% 25%,
        100% 0,
        100% 100%,
        0 100%
    );
    z-index: -1;
}
/* banner button */
.cta-hero-banner{
    position:relative;
    background: linear-gradient(93.16deg, rgba(232, 27, 35, 0.2) 19.8%, rgba(166, 0, 6, 0.2) 76.89%), #E81B23;
    color:#fff;
    padding:10px 40px 10px 150px;
    box-shadow: -10px 4px 8px rgba(0, 0, 0, 0.4);
}
/* Left angled side */
.cta-hero-banner::before{
    content:"";
    position:absolute;
    left:-24px;
    top:0;
    bottom:0;
    width:50px;
    background: linear-gradient(93.16deg, rgba(232, 27, 35, 0.2) 19.8%, rgba(166, 0, 6, 0.01) 100%), #E81B23;
    transform:skewX(-14deg);
    tansform-origin:left;
}
.cta-hero-banner svg {
    position: relative;
    top: 4px;
}
.bm-hero-countdown .bm-countdown {
    justify-content: center;
}
.bm-hero-countdown .bm-countdown__box {
    min-width: 80px;
    min-height: 80px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    position: relative;

}
.bm-hero-countdown .bm-countdown__box::before{
    content: "";
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 4px;
    pointer-events: none;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: -1;
}
.bm-hero-countdown .bm-countdown__box:after {
    content: "";
    background: #FFFDD4;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: 2px solid #fff;
}

/* ---- Sponsor Strip ---- */
.bm-hero-sponsors .swiper-wrapper {
    align-items: center;
}
.bm-hero-sponsors .swiper-slide {
    padding: 0 15px;
}

/* ---- Section Titles ---- */
.bm-section-title {
    line-height: 1.2;
}

/* ---- Intro ---- */
.bm-intro {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1125) 0%, rgba(255, 255, 255, 0) 13%), #FBFBF9;
}
.bm-intro .bm-info-row {
    margin-bottom: 1.5rem;
}
.bm-intro .link-underline a,
.bm-intro-icon-box .content a {
    color: #EC0A13 !important;
    font-weight: 600 !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration: underline;
}

/* ---- Yellow Banner ---- */
.bm-yellow-banner {
    background: var(--bm-yellow) !important;
}
.bm-yellow-banner .link-underline a {
    color: #E81B23 !important;
    font-weight: 600 !important;
}

.bm-yellow-banner__text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bm-black);
    margin: 0;
}

/* ---- Slant Yellow Sections ---- */
.bm-slant-yellow {
    background: linear-gradient(93.84deg, #FFFDC2 5.96%, #FFF39A 22.59%, #FFED62 43.25%, #FFD700 64.92%, #FFD700 84.57%, #FFD700 102.2%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2), inset 12px 12px 8px rgba(255, 255, 255, 0.25);
    position: relative;
    clip-path: polygon(0 50%, 106% 0, 106% 106%, 0 106%);
    margin-top: -1px;
}
.bm-video > .brxe-container {
    position: relative;
    z-index: 1;
}
.bm-video .link-underline a {
    color: #EC0A13 !important;
}
.video-yellow-shape-wrapper {
        filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.2));
}
.video-yellow-shape {
    background: linear-gradient(97.78deg, #FFD700 76.21%, #F3CB02 130.57%);
    height: 754px;
    clip-path: polygon(
    0% 30%,   /* left top */
    100% 0%,  /* right top */
    100% 80%,/* right bottom */
    28% 100%  /* left bottom */
  );
  box-shadow: inset 12px 12px 8px rgba(255, 255, 255, 0.25);
}
.social-rich-text a {
    font-weight: 800;
    text-decoration: underline;
    color: #EC0A13 !important;
}

/* ---- Karlsruhe ---- */
.bm-karlsruhe {
    position: relative;
    z-index: 1;
}
.bm-karlsruhe-box::before {
    content: "";
    background: linear-gradient(97.78deg, #FFD700 76.21%, #F3CB02 130.57%);
    opacity: 0.9;
    clip-path: polygon(
    12% 0%,   /* left top */
    100% 0%,  /* right top */
    100% 102%,/* right bottom */
    0% 100%  /* left bottom */
  );
  position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    z-index: -1;

}

/* ---- Partners Grid ---- */
.partner-item .image-wrapper {
    position: relative;
    -webkit-transition: .3s cubic-bezier(.5, 1, .89, 1);
    transition: .3s cubic-bezier(.5, 1, .89, 1);
    will-change: transform;
}
.partner-item .image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 4px;
    background: radial-gradient(
        ellipse at left top,
        #FFD700 0%,
        #FF0000 44%,
        #FFD000 88%
    );

    /* Creates only the border */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    transform: scale(1);
    opacity: 0;
    transition: all 0.3s ease;
}
.partner-item:hover .image-wrapper:before {
    opacity: 1;
}
.partner-item .image-wrapper img {
    -webkit-transition: .3s cubic-bezier(.5, 1, .89, 1);
    transition: .3s cubic-bezier(.5, 1, .89, 1);
    will-change: transform;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.partner-item:hover .image-wrapper {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: .7s cubic-bezier(.61, 1, .88, 1);
    transition: .7s cubic-bezier(.61, 1, .88, 1);
}
.partner-item .partner-title {
    -webkit-transition: .3s cubic-bezier(.5, 1, .89, 1);
    transition: .3s cubic-bezier(.5, 1, .89, 1);
    opacity: 1;
}
.partner-item:hover .partner-title {
    opacity: 0;
}

/* ---- Newsletter ---- */
.bm-newsletter {
    position: relative;
    text-align: center;
}

.bm-newsletter-box {
    background: rgba(255,255,255,0.4);
    border-radius: 6px;
    backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,1);
}
.bm-newsletter .submit-button-wrapper {
    width: 100%;
}
.bm-newsletter .submit-button-wrapper button[type="submit"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center; 
    gap: 12px;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #fff;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .5px;
    z-index: 1;
    border: 0;
    padding: 21px 20px;
    background: transparent;
    max-width: 502px;
    background-color: #EC0A13;
    /* Creates the angled ends */
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
    overflow: hidden;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .25);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}
.bm-newsletter .submit-button-wrapper button[type="submit"] span,
.bm-newsletter .submit-button-wrapper button[type="submit"] svg {
    position: relative;
    z-index: 2;
}

/* Animated gradient layer */
.bm-newsletter .submit-button-wrapper button[type="submit"]::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    transform-origin: center;
    transition: none;
}
/* ---------------- HOVER ---------------- */
.bm-newsletter .submit-button-wrapper button[type="submit"]:hover {
    animation: buttonMove 2.2s ease forwards;
}

.bm-newsletter .submit-button-wrapper button[type="submit"]:hover::before {
    animation: gradientSequence 2.2s ease forwards;
}
/* 1. Button movement / shadow */
@keyframes buttonMove {

    0% {
        transform: translateX(0);
        box-shadow: 0 5px 5px rgba(0,0,0,.25);
    }

    25% {
        transform: translateX(0);
        box-shadow: 0 7px 7px rgba(0,0,0,.25);
    }

    40% {
        transform: translateX(0);
    }

    60% {
        transform: translateX(0);
    }

    80% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
        box-shadow: 0 5px 5px rgba(0,0,0,.25);
    }
}
/* 2. Gradient sequence */
@keyframes gradientSequence {

    /* Normal */
    0% {
        opacity: 1;
    }

    /* 1st hover */
    25% {
        opacity: 1;
        transform: scaleX(1);
        background:
            radial-gradient(
            54.88% 54.88% at 45.12% 50%,
            #FF001A 0%,
            #F66200 46.15%,
            #D60015 100%
        );
    }

    /* 2nd hover */
    40% {
        opacity: 1;
        background: linear-gradient(89.98deg, rgba(255, 0, 0, 0.72) 2.16%, rgba(159, 0, 0, 0.72) 24.56%, rgba(255, 145, 0, 0.576) 60.73%, rgba(219, 7, 7, 0.72) 97.25%), #EC0A13;
    }

    /* 3rd hover */
    65% {
        opacity: 1;
        background: linear-gradient(89.98deg, rgba(255, 0, 0, 0.72) 2.16%, rgba(159, 0, 0, 0.576) 57.61%, rgba(255, 204, 0, 0.3456) 81.7%, rgba(219, 7, 7, 0.72) 97.05%), #EC0A13;
    }

    /* 4th hover */
    100% {
        opacity: 1;
        background: linear-gradient(89.98deg, rgba(170, 0, 17, 0.72) 29.13%, rgba(159, 0, 0, 0.72) 69.13%), #EC0A13;
        transform: scaleX(1);
    }
}





.bm-newsletter .submit-button-wrapper button[type="submit"] i {
    top: 0;
}
.newsletter-yellow-shape {
    position: relative;
    z-index: 1;
}
.newsletter-yellow-shape::before {
    content: "";
    background: linear-gradient(97.78deg, #FFD700 76.21%, #F3CB02 130.57%);
    opacity: 0.9;
    clip-path: polygon(0 45%, 106% 0, 106% 106%, 0 106%);
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}
/* Footer */
.footer-menu-list .title {
    transition: 0.3s ease-in-out;
}
.footer-menu-list a:hover .title {
    color: #E81B23 !important;
}

/* ============================================
   Accordion
   ============================================ */
.accordion .accordion-title-wrapper {
    background: linear-gradient(93.84deg, #FFFDC2 5.96%, #FFF39A 22.59%, #FFED62 43.25%, #FFD700 64.92%, #FFD700 84.57%, #FFD700 102.2%);
    /* background: linear-gradient(97.78deg, #FFD700 76.21%, #F3CB02 130.57%); */
    border: 2px solid #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2), inset 12px 12px 8px rgba(255, 255, 255, 0.25);
    flex-wrap: nowrap;
    gap: 10px;
    transition: all 0.3s ease;
}
.accordion .accordion-title-wrapper:hover {
    background: linear-gradient(93.84deg, #FFFDC2 5.96%, #FFF39A 22.59%, #FFED62 43.25%, #FFD700 64.92%, #FFD700 84.57%, #FFD700 102.2%);
}
.accordion .accordion-content-wrapper {
    position: relative;
    overflow:hidden;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 6px 6px;
    z-index: 1;
    padding:60px 30px;
    backdrop-filter:blur(38px) saturate(180%);
    -webkit-backdrop-filter:blur(38px) saturate(180%);
    border:1px solid rgba(255,255,255,.45);
}
.accordion .accordion-content-wrapper::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 85px;
    background: radial-gradient(ellipse at top center, rgba(255, 220, 90, .55), rgba(255, 236, 170, .22) 80%, transparent 60%);
    filter: blur(10px);
    z-index: -1;
}

.accordion .accordion-title-wrapper .brxe-icon {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.accordion .accordion-title-wrapper:hover .brxe-icon {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.7);
}
.accordion .accordion-title-wrapper[aria-expanded="true"] .brxe-icon {
    text-shadow: 0px -4px 4px rgba(0, 0, 0, 0.25);
}
.accordion .accordion-title-wrapper[aria-expanded="true"]:hover .brxe-icon {
    text-shadow: 0px -4px 4px rgba(0, 0, 0, 0.7);
}
.accordion .accordion-title-wrapper[aria-expanded="true"] .brxe-heading {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.search-no-results .bricks-no-posts-wrapper {
    padding-bottom: 80px;
}
.bricks-archive-title-wrapper {
    margin: 200px auto 60px auto;
    text-align: center;
    padding: 0 15px;
}

/* ============================================
   14. RESPONSIVE HOMEPAGE
   ============================================ */
    @media (min-width: 1200px) and (max-width: 1600px) {
        .header-main-menu .bricks-nav-menu > li a {
            font-size: 18px !important;
        }
        .header-main-menu nav .bricks-nav-menu {
            gap: 18px !important;
        }
        .section-title {
            padding-left: 5rem !important;
            padding-right: 5rem !important;
        }
        .top-header-list li {
            margin-right: 15px !important;
            margin-left: 15px !important;
        }
        .hero-banner-text .bm-hero__title.number {
            font-size: 10.8rem !important;
        }
        .cta-hero-banner {
            padding-left: 30px;
        }
        .hero-banner-text .bm-hero__title {
            font-size: 4.4rem !important;
        }
        .brxe-registration-ribbon.is-sticky {
            top: 128px !important;
        }
        .bm-hero-countdown .bm-hero-countdown__label {
            font-size: 38px !important;
            margin-right: 3rem !important;
        }
        .bm-competition-card__header .brxe-heading:not(.Competitions-small-heading) {
            font-size: 2.6rem !important;
        }
        .video-yellow-shape-wrapper {
            max-width: 1130px !important;
            margin-right: 50px !important;
        }
        .partner-item {
            padding-right: 10px !important;
            padding-left: 10px !important;
        }
        .partner-item .image-wrapper img {
            max-height: 90px !important;
        }
        .partner-item .image-wrapper {
            width: 245px !important;
            height: 245px !important;
        }
        .logo-column {
            width: 31% !important;
        }
        .logo-column .bricks-site-logo {
            width: 335px !important;
        }
        .menu-list-one.last-meni-item {
            width: 19% !important;
        }
        .hero-banner-text .bm-hero__title.number.ubersicht__title_hero {
            font-size: 7.8rem !important;
        }
    }
    @media (min-width: 992px) and (max-width: 1199px) {
        .header {
            padding-left: 20px !important;
            padding-right: 20px !important;
        }
        .cta-hero-banner {
            font-size: 3.6rem !important;
            padding-left: 100px !important;
        }
        .brxe-registration-ribbon.is-sticky {
            top: 120px !important;
        }
        .logo-wrapper {
            width: 25% !important;
        }
        .top-header-list li {
            margin-right: 15px !important;
            margin-left: 15px !important;
        }
        .top-header-list li .content .title {
            font-size: 13px !important;
        }
        .bm-hero > .brxe-container {
            flex-direction: column !important;
        }
        .hero-banner-text {
            width: 60% !important;
            margin-bottom: 30px !important;
        }
        .bm-competition-grid .bm-competition-card {
            width: calc(33.333% - 30px) !important;
        }
        .bm-slant-yellow > .brxe-container .brxe-heading {
            font-size: 3.2rem !important;
        }
        .bm-pricing-grid .bm-pricing-card {
            width: 33% !important;
        }
        .bm-pricing-grid .runing-img > img {
            margin-top: -25px !important;
            margin-left: -20px;
        }
        .bm-pricing-grid .bm-pricing-grid-container {
            column-gap: 40px !important;
            row-gap: 40px !important;
        }
        .bm-pricing-grid .bm-pricing-card-premium {
            width: 30% !important;
        }
        .section-title {
            padding-top: 5rem !important;
            padding-right: 5rem !important;
            padding-bottom: 2rem !important;
            padding-left: 2rem !important;
            font-size: 3rem !important;
        }
        .event-title {
            padding-right: 8.5rem !important;
            padding-left: 8.5rem !important;
            font-size: 3rem !important;
        }
        .bm-partners {
            padding-top: 70px !important;
            padding-bottom: 100px !important;
        }
        .partner-item {
            width: calc(33.333% - 26.67px) !important;
        }
        .newsletter-yellow-shape > .brxe-container .brxe-heading {
                font-size: 3.6rem !important;
        }
        .logo-column {
            width: 66.667% !important;
            margin-bottom: 40px !important;
        }
        .social-column {
            width: 33.333% !important;
        margin-bottom: 40px !important;
        }
        .menu-list-one {
            width: 33.333% !important;
        }
        .marathon-overview-title {
            font-size: 3.4rem !important;
            padding-top: 6.7rem !important;
            padding-right: 7rem !important;
            padding-bottom: 7.5rem !important;
            padding-left: 9rem !important;
        }
        .accordion-title-wrapper,
        .list-icon-container {
            padding-right: 8.5rem !important;
            padding-left: 8.5rem !important;
        }
        .marathon-content-row {
            margin-top: -50px !important;
        }
        .footer-bottom {
            margin-top: 50px !important;
        }
        .footer {
            padding-top: 50px !important;
            padding-bottom: 50px !important;
        }
    }
    @media (min-width: 992px) and (max-width: 1200px) {
        .header-main-menu .bricks-nav-menu > li a {
            font-size: 13px !important;
        }
        .header-main-menu nav .bricks-nav-menu {
            gap: 17px !important;
        }
        .header-main-menu nav .bricks-nav-menu .sub-menu .menu-item a {
            line-height: 30px !important;
        }
    }
    @media (min-width: 768px) and (max-width: 1200px) {
        .hero-banner-text .bm-hero__title.number {
            font-size: 10.8rem !important;
        }
        .hero-banner-text .bm-hero__title.number.ubersicht__title_hero {
            font-size: 7.8rem !important;
        }
        .hero-banner-text .bm-hero__title {
            font-size: 4.4rem !important;
        }
        .bm-hero-countdown .bm-hero-countdown__label {
            font-size: 38px !important;
            margin-right: 3rem !important;
        }
        .video-yellow-shape-wrapper {
            max-width: 1130px !important;
            margin-right: 0 !important;
        }
        .partner-item {
            padding-right: 10px !important;
            padding-left: 10px !important;
        }
        .partner-item .image-wrapper img {
            max-height: 70px !important;
        }
        .partner-item .image-wrapper {
            width: 245px !important;
            height: 245px !important;
        }
    }
    @media (max-width: 991px) {
        .md-d-none {
            display: none !important;
        }
        .section-title {
            padding-left: 2rem !important;
        }
        .brxe-posts .bricks-layout-item .image-wrapper {
            padding-right: 9px;
        }
        .brxe-posts .bricks-layout-item .image-wrapper::before {
            bottom: -9px;
            clip-path: polygon(9px 0, /* top-left inset */ calc(100% - 9px) 0, /* before top-right cut */ 100% 9px, /* top-right diagonal */ 100% 100%, /* bottom-right */ 9px 100%, /* bottom-left inset */ 0 calc(100% - 9px), /* bottom-left diagonal */ 0 0 /* left-top */);
        }
        .brxe-nav-menu .bricks-mobile-menu-wrapper li a {
            line-height: 50px;
        }
        .brx-submenu-toggle button[aria-expanded="true"] .menu-item-icon {
            transform: rotate(-180deg);
        }
        .bm-competition-card__richtext h5 {
                font-size: 4rem;
        }
        .bm-competition-card__richtext h3 {
            font-size: 3.2rem;
        }
        .bm-competition-card__richtext p {
            font-size: 2.3rem;
        }
        .btn-medium {
            font-size: 14px;
        }
        .btn-large {
            font-size: 20px;
        }
        .bm-slant-yellow {
            clip-path: polygon(0 35%, 106% 0, 106% 106%, 0 106%);
        }
        .video-yellow-shape {
            clip-path: polygon(5% 45%,  114% 5%,  100% 75%,  45% 85% );
        }
        .bm-news .bricks-layout-item .content-wrapper .dynamic, .bm-news .bricks-layout-item .content-wrapper h3 {
            font-size: 16px;
        }
        .partner-item .image-wrapper {
            width: 200px !important;
            height: 200px !important;
        }
        .newsletter-yellow-shape::before {
            clip-path: polygon(0 40%, 106% 0, 106% 106%, 0 106%);
        }
        .bricks-search-overlay {
            max-width: 685px;
        }
        .search-no-results .bricks-no-posts-wrapper {
            padding-bottom: 50px;
        }
        .marathon-overview-title::before {
            clip-path: polygon(0% 10%, 98% 35%, 100% 83%, 0% 100%);
        }
        .bricks-archive-title-wrapper {
            margin: 150px auto 40px auto;
        }
    }
    @media (max-width: 767px) {
        .cta-hero-banner svg {
            position: relative;
            top: 2px;
            width: 14px;
        }
        .cta-hero-banner {
            padding-left: 40px;
        }
        .sm-d-none {
            display: none !important;
        }
        .header {
            background-size: 160% 100% !important;
        }
        .section-title {
            min-width: 250px;
        }
        .section-title::before {
            clip-path: polygon(0% 0%, 50% 12%, 100% 25%, 105% 105%, 0 105%);
        }
        .bm-competition-card__richtext h5 {
            font-size: 3.2rem;
        }
        .bm-competition-card__richtext h3 {
            font-size: 3rem;
        }
        .bm-competition-card__richtext p {
            font-size: 1.8rem;
        }
        .bm-competition-card__body {
            padding-top: 20px !important;
        }
        .bm-slant-yellow {
            clip-path: polygon(0 25%, 106% 0, 106% 106%, 0 106%);
        }
        .btn-large {
            font-size: 18px;
        }
        .bm-karlsruhe-box::before {
                clip-path: polygon(5% 0%, /* left top */ 100% 0%, /* right top */ 100% 102%, /* right bottom */ 0% 100% /* left bottom */);
        }
        .partner-item .image-wrapper img {
            max-height: 60px !important;
        }
        .partner-item .image-wrapper {
            width: 180px !important;
            height: 180px !important;
        }
        .bm-newsletter .submit-button-wrapper button[type="submit"] {
            width: 100%;
            padding: 17px 20px;
        }
        .bm-countdown__label {
            font-size: 1.2rem;
        }
        .bm-countdown__number {
            font-size: 1.35rem;
        }
        .search-no-results .bricks-no-posts-wrapper {
            padding-bottom: 30px;
            text-align: center;
        }
        .bricks-archive-title-wrapper {
            text-align: center;
            align-items: center;
        }
        .marathon-overview-title::before {
            clip-path: polygon(0% 10%, 98% 25%, 100% 83%, 0% 100%);
        }
        .brxe-slider-nested .splide__arrows .splide__arrow svg {
            width: 11px;
        }
        .google-map iframe {
            height: 450px !important;
        }
    }
    @media (max-width: 479px) {
        .xs-d-none {
            display: none !important;
        }
        .header {
         background-size: 220% 100% !important;
        }
        .bm-hero-countdown .bm-countdown__box {
            min-width: 60px;
            min-height: 60px;
        }
        .cta-hero-banner {
            padding: 10px 20px 10px 30px;
        }
        .cta-hero-banner::before {
            left: -10px;
            width: 20px; 
        }
        .btn-large {
            font-size: 16px;
            padding: 14px 25px 14px 25px;
        }
        .btn-medium {
            font-size: 13px;
        }
        .partner-item .image-wrapper {
            width: 160px !important;
            height: 160px !important;
        }
    }
    
.bm-video-player {
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .4));
    overflow: visible !important;
    padding-right: 12px;
}
.bm-video-player::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:-12px;
    background:rgba(255, 255, 255, 0.6);

    /* Cut bottom-left corner */
    clip-path: polygon(
        12px 0,                 /* top-left inset */
        calc(100% - 12px) 0,    /* before top-right cut */
        100% 12px,              /* top-right diagonal */
        100% 100%,              /* bottom-right */
        12px 100%,              /* bottom-left inset */
        0 calc(100% - 12px),    /* bottom-left diagonal */
        0 0                     /* left-top */
    );

    z-index: 0;
}
.bm-video-player iframe {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 4px;
    border: 4px solid #fff;
    z-index: 1;
    filter: drop-shadow(4px 3px 4px rgba(0, 0, 0, 0.4));
}
@media (min-width: 992px) {
    .brxe-registration-ribbon.is-sticky {
        position: fixed !important;
/*        left: 0 !important;
        width: 100% !important;*/
        z-index: 999 !important;
    }
}