.template-9814 .dropdown .dropdown__categories_image,
.template-9814 .dropdown .dropdown__link_img,
.template-9814 .dropdown .column-4 {
    display: none !important;
}

.template-9814 .dropdown .dropdown__title {
    font-size: 16px;
}

.template-9814 .dropdown .dropdown__title--gradient {
    background: var(--color-9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s;
    font-size: 22px;
}

.template-9814 .template__actions .template__link-btn {
    display: inline-block;
    margin-left: 5px;
    border: none;
    background: transparent;
    padding: 0;
    border-bottom: 1px solid var(--color-1);
    border-right: 1px solid var(--color-1);
    width: 8px;
    height: 8px;
    transform: rotate(-45deg);
    transition: transform 0.3s, border .3s;
}

@media ( max-width: 1200px ) {
    
    .navbar-expand-xl .template-9814 .template__actions.use-color-3-active.is-active .template__link-btn {
        transform: translateY(-2px) rotate(45deg);
        border-color: var(--color-3);
    }

    .navbar-expand-xl .template-9814 .template__actions.is-active .template__link-btn {
        transform: translateY(-2px) rotate(45deg);
        border-color: var(--color-4);
    }
    
    .navbar-expand-xl .template-9814 .template__actions.is-active .template__link {
        color: var(--color-4);
    }
    
    .navbar-expand-xl .template-9814 .template__actions.use-color-3-active.is-active .template__link {
        color: var(--color-3);
    }
    
    .navbar-expand-xl .template-9814 .dropdown {
        display: none;
    }
    
    .navbar-expand-xl .template-9814 .template__actions.is-active ~ .dropdown {
        display: block;
    }
}

@media ( max-width: 992px ) {
    
    .navbar-expand-lg .template-9814 .template__actions.is-active .template__link-btn {
        transform: translateY(-2px) rotate(45deg);
        border-color: var(--color-4);
    }
    
    .navbar-expand-lg .template-9814 .template__actions.is-active .template__link {
        color: var(--color-4);
    }
    
    .navbar-expand-lg .template-9814 .template__actions.use-color-3-active.is-active .template__link {
        color: var(--color-3);
    }
    
    .navbar-expand-lg .template-9814 .dropdown {
        display: none;
    }
    
    .navbar-expand-lg .template-9814 .template__actions.is-active ~ .dropdown {
        display: block;
    }
}

.template-9814 .dropdown .column-1,
.template-9814 .dropdown .column-2,
.template-9814 .dropdown .column-3 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 399.92px) {
    
    .template-9814 .dropdown .column-1,
    .template-9814 .dropdown .column-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 991.92px) {

    .template-9814 .dropdown .column-1,
    .template-9814 .dropdown .column-3 {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .template-9814 .dropdown .column-2 {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

/* Desktop design */

@media (min-width: 992px) {
    .template-9814.use-lg-breakpoint .dropdown .column-4,
    .template-9814.use-lg-breakpoint .dropdown .dropdown__categories_image {
        display: block !important;
    }

    .template-9814.use-lg-breakpoint .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .template-9814.use-lg-breakpoint:hover .dropdown {
        opacity: 1;
        pointer-events: all;
    }

    /*.template-9814.use-lg-breakpoint .dropdown .container {*/
    /*    max-width: 1320px;*/
    /*    width: 98%;*/
    /*}*/

    /*.template-9814.use-lg-breakpoint .dropdown .dropdown__inner {*/
    /*    flex: 0 0 75%;*/
    /*    max-width: 75%;*/
    /*}*/


    /*.template-9814.use-lg-breakpoint .dropdown .column-4 {*/
    /*    flex: 0 0 25%;*/
    /*    max-width: 25%;*/
    /*}*/

    .template-9814.use-lg-breakpoint .template__link:before {
        content: '';
        position: absolute;
        left: 50%;
        top: 100%;
        z-index: 1;
        width: 100%;
        height: 35px;
        transform: translateX(-50%);
        background: transparent;
    }

    .template-9814.use-lg-breakpoint .template__actions .template__link-btn {
        width: 6px;
        height: 6px;
        transform: rotate(45deg);
        margin-bottom: 4px;
    }

    .template-9814.use-lg-breakpoint .template__actions:hover .template__link-btn {
        transform: translateY(2px) rotate(-135deg);
        border-bottom: 1px solid var(--color-3);
        border-right: 1px solid var(--color-3);
    }
}

@media (min-width: 1199.92px) {

    .template-9814 .dropdown .column-4,
    .template-9814 .dropdown .dropdown__categories_image {
        display: block !important;
    }

    /* Dropdown base & reveal */

    .template-9814 .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .template-9814:hover .dropdown {
        opacity: 1;
        pointer-events: all;
    }

    /* Container & layout */

    /*.template-9814 .dropdown .container {*/
    /*    max-width: 1320px;*/
    /*    width: 98%;*/
    /*}*/

    /*.template-9814 .dropdown .dropdown__inner {*/
    /*    flex: 0 0 75%;*/
    /*    max-width: 75%;*/
    /*}*/

    /*.template-9814 .dropdown .column-1,*/
    /*.template-9814 .dropdown .column-3 {*/
    /*    flex: 0 0 35%;*/
    /*    max-width: 35%;*/
    /*}*/

    /*.template-9814 .dropdown .column-2 {*/
    /*    flex: 0 0 30%;*/
    /*    max-width: 30%;*/
    /*}*/

    /*.template-9814 .dropdown .column-4 {*/
    /*    flex: 0 0 30%;*/
    /*    max-width: 30%;*/
    /*}*/

    /* Links: shared alignments & hit areas */

    /*.template-9814 .dropdown .dropdown__title--gradient,*/
    /*.template-9814 .dropdown .dropdown__link {*/
    /*    align-self: self-start;*/
    /*}*/

    .template-9814 .template__link:before {
        content: '';
        position: absolute;
        left: 50%;
        top: 100%;
        z-index: 1;
        width: 100%;
        height: 35px;
        transform: translateX(-50%);
        background: transparent;
    }

    /* Links: chevron indicator */

    .template-9814 .template__actions .template__link-btn {
        width: 6px;
        height: 6px;
        transform: rotate(45deg);
        margin-bottom: 4px;
    }

    .template-9814 .template__actions:hover .template__link-btn {
        transform: translateY(2px) rotate(-135deg);
        border-bottom: 1px solid var(--color-3);
        border-right: 1px solid var(--color-3);
    }

    /* Gradient titles, arrows & markers (grouped) */

    
    /* Arrow link base & pseudos */

    .template-9814 .dropdown .dropdown__title--gradient-arrow {
        position: relative;
        display: inline-block;
        font-family: sans-serif;
        text-decoration: none;
        padding-left: 1rem;
        transition: 0.3s;
    }

    .template-9814 .dropdown .dropdown__title--gradient-arrow::before,
    .template-9814 .dropdown .dropdown__title--gradient-arrow::after {
        content: "";
        position: absolute;
        top: 50%;
        transition: all 0.3s ease;
        transform: translateY(-50%);
    }

    .template-9814 .dropdown .dropdown__title--gradient-arrow::after {
        left: 0%;
        width: 0;
        height: 2px;
        background: var(--color-1);
    }

    .template-9814 .dropdown .dropdown__title--gradient-arrow::before {
        left: 0;
        width: .5em;
        height: .5em;
        border-top: 2px solid var(--color-1);
        border-right: 2px solid var(--color-1);
        transform: translateY(-50%) rotate(45deg);
    }

    /* Arrow & marker hovers */

    .template-9814 .dropdown .dropdown__link:hover .dropdown__title--gradient-arrow {
        padding-left: 1.6em;
    }

    .template-9814 .dropdown .dropdown__link:hover .dropdown__title--gradient-arrow::after {
        width: 1em;
        background: linear-gradient(90deg, var(--color-3), var(--color-4));
    }

    .template-9814 .dropdown .dropdown__link:hover .dropdown__title--gradient-arrow::before {
        transform: translateY(-50%) translateX(0.5em) rotate(45deg);
        border-style: solid;
        border-width: 2px 2px 0 0;
        border-color: transparent;
        border-image: linear-gradient(45deg, var(--color-3), var(--color-4)) 1;
    }

    /* Marker (dot) + structural indent when present */

    .template-9814 .dropdown .dropdown__link:has(> .dropdown__title--gradient-marker) {
        padding-left: 2.2rem;
    }

    .template-9814 .dropdown .dropdown__title--gradient-marker {
        position: relative;
    }

    .template-9814 .dropdown .dropdown__title--gradient-marker::before {
        content: "";
        position: absolute;
        left: -1.2em;
        top: 0.4em;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: linear-gradient(90deg, var(--color-3), var(--color-4));
        transform: rotate(0deg);
        transition: transform 0.3s;
    }

    .template-9814 .dropdown .dropdown__title--gradient-marker:hover::before {
        transform: rotate(180deg);
    }

    /* Informative images (base + swap) */

    .template-9814 .dropdown .dropdown__informative_images_wrapper :is(.dropdown__informative_image, .dropdown__informative_image_2) {
        transition: opacity 0.7s;
    }

    .template-9814 .dropdown .dropdown__informative_images_wrapper .dropdown__informative_image_2,
    .template-9814 .dropdown .column-4:hover .dropdown__informative_image {
        opacity: 0;
    }

    .template-9814 .dropdown .column-4:hover .dropdown__informative_image_2 {
        opacity: 1;
    }

    /* Link hover preview images */

    .template-9814 .dropdown .dropdown__link_img {
        max-width: 35%;
        opacity: 0;
        pointer-events: none;
        user-select: none;
        transition: opacity 0.3s;
        display: block !important;
        object-fit: cover;
    }

    .template-9814 .dropdown .dropdown__link:hover .dropdown__link_img {
        opacity: 1;
    }

    /* Column 4 image positioning */

    .template-9814 .dropdown .dropdown__image_wrapper {
        transform: translateY(-10%);
    }
}
