/**
 * HEADER
 */

@media (max-width: 1023px) {

    .main-header__layout::before {
        background-color: unset !important;
    }
    .main-header__layout::after {
        border-bottom: 0 !important;
    }

    .main-header__layout .main-header__default .navbar-nav > li.menu-item a {
        font-weight: 400 !important;
        font-size: 33px !important;
        line-height: 1.6em !important;
    }

}

body[data-theme="dark"] .main-header.ms-nb--transparent:not(.show-bg):not(.ms-nb--white) .logo-dark {
  opacity: 0 !important;
}
body[data-theme="dark"] .main-header.ms-nb--transparent:not(.show-bg):not(.ms-nb--white) .logo-light {
    opacity: 1 !important;
}

.main-header__nav {
    font-family: var(--e-global-typography-accent-font-family) !important;
    text-transform: uppercase !important;
}

.main-header__nav .menu-item > a {
    color: var(--color-primary) !important;
}

.main-header__nav-trigger {
    border-left: 0 !important;
}

@media only screen and (max-width: 1023px) {

    .main-header__layout .main-header__default.is_mobile {
        height: 100svh;
    }

    .main-header__layout .main-header__default.is_mobile::after {
        right: 14px !important;
    }

    .main-header__layout .main-header__default.is_mobile .navbar-nav > li.menu-item {
        justify-content: center;
        display: flex;
    }

}

/**
 * LANGUAGE SWITCHER
 */

.wpml-ls-legacy-list-horizontal {
    border: 0 !important;
    padding: 0 !important;
    clear: unset !important;
    transition: transform .3s cubic-bezier(.645,.045,.355,1) .1s,-webkit-transform .3s cubic-bezier(.645,.045,.355,1) .1s;

}

.wpml-ls-legacy-list-horizontal > ul {
    display: flex !important;
}

.wpml-ls-legacy-list-horizontal a {
    padding: 0 !important;
    color: var(--color-contrast-high) !important;
    font-size: 14px !important;
    font-family: var(--e-global-typography-accent-font-family) !important;
    text-transform: uppercase !important;
}

.wpml-ls-legacy-list-horizontal a:hover {
    color: var(--color-primary) !important;
}

.main-header__layout.action .main-header__inner .wpml-ls-legacy-list-horizontal {
    transform: translateY(calc(-1 * var(--main-header-height-md)));
    transition: transform 1s cubic-bezier(.645,.045,.355,1),-webkit-transform 1s cubic-bezier(.645,.045,.355,1);
    transition-delay: .1s;
}

.main-header__layout.action:hover .main-header__inner .wpml-ls-legacy-list-horizontal {
    transform: translateY(0);
    transition: transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);
    transition-delay: .1s;
}

/**
 * DARK LIGHT SWITCHER
 */

.ms_theme_mode .sun-and-moon > :is(.moon, .sun) {
    fill: var(--color-contrast-high) !important;
}
.ms_theme_mode:hover .sun-and-moon > :is(.moon, .sun) {
    fill: var(--color-primary) !important;
}

body[data-theme="light"] .ms_theme_mode .sun-and-moon > .sun {
    -webkit-transform: scale(1.75);
    -ms-transform: scale(1.75);
    transform: scale(1.75);
}

body[data-theme="light"] .ms_theme_mode .sun-and-moon > .sun-beams {
    opacity: 0;
}

body[data-theme="light"] .ms_theme_mode .sun-and-moon > .sun-beams {
    -webkit-transform: rotateZ(-25deg);
    -ms-transform: rotate(-25deg);
    transform: rotateZ(-25deg);
}

body[data-theme="light"] .ms_theme_mode .sun-and-moon > .moon > circle {
    -webkit-transform: translateX(-7px);
    -ms-transform: translateX(-7px);
    transform: translateX(-7px);
}

body[data-theme="dark"] .ms_theme_mode .sun-and-moon > .sun {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

body[data-theme="dark"] .ms_theme_mode .sun-and-moon > .sun-beams {
    opacity: 1;
}

body[data-theme="dark"] .ms_theme_mode .sun-and-moon > .sun-beams {
    -webkit-transform: rotateZ(0);
    -ms-transform: rotate(0);
    transform: rotateZ(0);
}

body[data-theme="dark"] .ms_theme_mode .sun-and-moon > .moon > circle {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

/**
 * ARTICLE
 */

.ms-default-page.entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

.ms-default-page.entry-content > .elementor {
    max-width: 100% !important;
}

/**
 * HERO HOME
 */

body[data-theme="light"] #sw-hero-home {
    background-image: url("https://spiderweb.page/wp-content/uploads/2025/11/spider-web-digital-light.webp") !important;
    background-position: center right !important;
}
body[data-theme="light"] #sw-hero-home::before {
    background-image: linear-gradient(180deg, #ffffff00 93%, #ffffff 100%) !important;
}

/**
 * HEADLINE
 */

#sw-h1-home h1 {
    white-space: nowrap;
}

body[data-theme="dark"] #sw-h1-home h1 {
    text-shadow: 0 0 5px var(--color-primary),
                 0 0 15px var(--color-primary),
                 0 0 30px var(--color-primary);
}

#sw-h1-home h1 span {
    display: inline-block;
    position: relative;
    will-change: contents;
}

/**
 * HEADLINE KICKER
 */

.sw-kicker .elementor-heading-title {
    position: relative;
    padding-left: 26px;
    display: flex;
    align-items: center;
}

.sw-kicker .elementor-heading-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 11px;
    height: 11px;
    background: var(--color-primary);
    border-radius: 50%;
}

@media (min-width: 768px) {

    .single-portfolios .sw-kicker .elementor-heading-title::before {
        left: 4px;
    }

}

@media (max-width: 1024px) {

    .sw-kicker .elementor-heading-title::before {
        width: 10px;
        height: 10px;
    }

}

@media (max-width: 767px) {

    .sw-kicker .elementor-heading-title {
        padding-left: 24px;
    }

    .sw-kicker .elementor-heading-title::before {
        top: 2px;
        width: 9px;
        height: 9px;
    }

}

/**
 * PORTFOLIO
 */

.ms-spn--wrap .ms-spn--content .ms-spn--thumb {
    aspect-ratio: auto 21/9 !important;
    border-radius: 10px !important;
}

.ms-spn--wrap .ms-spn--content .ms-spn--link .ms-spn--head .m-prev-next-portfolio-link {
    font-family: var(--font-heading);
    line-height: var(--heading-line-height);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-contrast-medium);
    font-size: var(--text-lg,1.44em);
    -webkit-transition: color .5s cubic-bezier(.645,.045,.355,1),-webkit-transform .5s cubic-bezier(.645,.045,.355,1);
    transition: transform .5s cubic-bezier(.645,.045,.355,1),color .5s cubic-bezier(.645,.045,.355,1),-webkit-transform .5s cubic-bezier(.645,.045,.355,1);
}

.ms-spn--wrap .ms-spn--content .ms-spn--link:hover .ms-spn--head .m-prev-next-portfolio-link {
    -webkit-transform: translateX(1.5em);
    -ms-transform: translateX(1.5em);
    transform: translateX(1.5em);
    color: var(--color-contrast-higher);
}

.ms-spn--wrap .ms-spn--content .ms-spn--link .m-prev-next-portfolio-title {
    font-family: var(--font-heading);
    color: var(--color-contrast-higher);
    line-height: var(--heading-line-height);
    font-size: var(--text-xxl,2.074em);
    text-transform: uppercase;
    color: var(--color-contrast-higher);
    font-weight: 900;
    -webkit-transition: color .3s;
    transition: color .3s;
}

.ms-spn--wrap .ms-spn--content .ms-spn--link:hover .m-prev-next-portfolio-title {
    color: var(--color-primary);
}

@media only screen and (min-width: 768px) {

    .ms-spn--wrap .ms-spn--content .ms-spn--text.prev .ms-spn--link:hover .ms-spn--head .m-prev-next-portfolio-link {
        -webkit-transform: translateX(-1.5em);
        -ms-transform: translateX(-1.5em);
        transform: translateX(-1.5em);
        color: var(--color-contrast-higher);
    }

}

@media (max-width: 1024px) {

    .ms-spn--wrap .ms-spn--content .ms-spn--link .ms-spn--head .m-prev-next-portfolio-link {
        font-size: 1.2rem;
    }

    .ms-spn--wrap .ms-spn--content .ms-spn--link .m-prev-next-portfolio-title {
        font-size: 1.8rem;
    }

}

/**
 * POPUP
 */

.mfp-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.mfp-close,
.mfp-arrow {
    background-color: unset !important;
}

/**
 * FORM
 */

.form-control {
    background-color: var(--color-contrast-low) !important;
}

.form-control:focus {
    --color-shadow: none !important;
}

.wpcf7-not-valid-tip {
    font-weight: 500;
}

input[type="submit"].wpcf7-submit {
    font-size: 16px !important;
    font-family: var(--font-primary) !important;
    text-transform: none !important;
}

.wpcf7-spinner {
    width: 9px !important;
    height: 9px !important;
    padding: 0 !important;
    margin: 1px -19px !important;
}

.wpcf7-spinner::before {
    top: 0 !important;
    left: 0 !important;
    width: 3px !important;
    height: 3px !important;
    transform-origin: 4px 4px !important;
}

.wpcf7 .wpcf7-response-output {
    color: #000;
    font-weight: 600;
    text-align: center;
    padding: 0.4em 1em;
}

.wpcf7 .sent .wpcf7-response-output {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    padding: 1em 1em !important;
    position: absolute !important;
    top: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 40px !important;
    line-height: 2em !important;
}

@media (max-width: 767px) {

    .wpcf7 .sent .wpcf7-response-output {
        font-size: 30px !important;
        line-height: 1.5em !important;
    }

}

/**
 * FOOTER
 */

@media (max-width: 767px) {

    #sw-footer-copyright .elementor-container .elementor-column:first-child {
        order: 2;
    }

}

.sw-form-privacy-policy {
    font-size: 11px;
    color: #959595;
    line-height: 1.2em;
    text-align: right;
    align-content: center;
}

.sw-form-privacy-policy a:hover {
    color: var(--color-primary);
}

.sw-footer-links a:first-child {
    margin-right: 33px;
}