/* HEADER & NAVIGATION */

#header-outer[data-full-width="true"] header > .container {
    padding: 0 55px !important;
}

#header_nav_entrance_animation,
#header-outer {
    opacity: 1 !important;
}

#top .sf-menu > li > a > .nectar-menu-icon {
    display: none !important;
}

/* Legacy menu-item IDs: retained from the existing Arcane base-theme CSS. */
#header-outer header li.menu-item-420 > a .nectar-menu-icon,
#header-outer header li.menu-item-421 > a .nectar-menu-icon,
#header-outer header li.menu-item-422 > a .nectar-menu-icon,
#header-outer header li.menu-item-443 > a .nectar-menu-icon,
#header-outer header li.menu-item-419 > a .nectar-menu-icon {
    margin-top: 0;
}


/* MOBILE NAVIGATION */

#mobile-menu[data-mobile-fixed="1"] {
    height: 100vh;
}

#mobile-menu[data-mobile-fixed="1"] ul {
    width: 100%;
}

#header-outer #mobile-menu a > span.sf-sub-indicator {
    width: 100%;
    text-align: right;
}

#header-outer #mobile-menu a > .sf-sub-indicator {
    right: 15px !important;
}

#mobile-menu .menu-items-wrap > ul > li > a > span:first-child {
    display: flex;
    gap: 20px;
    align-items: center;
}

#mobile-menu .menu-items-wrap > ul > li > a > span .nectar-menu-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0;
}


/* BLOG & POSTS */

body.category #page-header-wrap #page-header-bg {
    padding-top: 4%;
    padding-bottom: 4%;
}

.masonry.classic_enhanced .masonry-blog-item .article-content-wrap {
    padding: 8%;
}

#sidebar .widget {
    margin-bottom: 30px;
}

.single .heading-title[data-header-style="default_minimal"] {
    display: none;
}

.blog_next_prev_buttons[data-style="fullwidth_next_prev"] .controls {
    display: none;
}

.single-post .container-wrap.no-sidebar .post-area {
    max-width: 100% !important;
}


/* IMAGES & CONTENT */

.row .col img.img-with-animation.nectar-lazy:not([srcset]) {
    width: auto;
}

img.img-with-animation.nectar-lazy {
    display: inline-block !important;
}

/* Salient outputs "aniamtion" in some generated HTML. */
.inline-icon-fixed .img-with-aniamtion-wrap,
.inline-icon-fixed .img-with-animation-wrap {
    flex: 0 0 auto !important;
}

.product-hero {
    margin-top: 0 !important;
}


/* FOOTER: GENERAL TYPOGRAPHY & LINKS */

/* Only hide Salient's default copyright bar when the custom footer is present. */
body:has(.arcane-footer-bottom) #copyright {
    display: none;
}

.footer-logo-copy,
.footer-logo-copy p {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.footer-credit,
.footer-credit p {
    text-align: right !important;
}

.footer-nav-links a,
.footer-nav-links a:visited,
.footer-nav-links a.footer-link,
.footer-nav-links a.footer-link:visited,
.footer-credit a,
.footer-credit a:visited {
    color: inherit !important;
    text-decoration: none !important;
}

.footer-nav-links a:hover,
.footer-nav-links a.footer-link:hover,
.footer-credit a:hover {
    color: var(--footer-link-hover-color, currentColor) !important;
    text-decoration: none !important;
}


/* RESPONSIVE: MOBILE CONTAINER WIDTH (999px) */

@media (max-width: 999px) {
    body {
        --mobile-container-width: calc(100% - 16%) !important;
    }
}


/* RESPONSIVE: TABLET & MOBILE (768px) */

@media (max-width: 768px) {

    /* Full-width mobile buttons */
    body .nectar-button {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
        text-align: center !important;
    }

    /* Remove global-section padding */
    body .container.main-content > .row > .wpb_row.has-global-section,
    body .container.main-content > .row > .wpb_row > .row_col_wrap_12 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Regular page sections and global-section rows, excluding both footer rows */
    body .container.main-content > .row > .wpb_row:not(.has-global-section):not(.arcane-mobile-footer):not(.arcane-footer-bottom),
    body .wpb_row.has-global-section
    > .row_col_wrap_12
    > .wpb_column
    > .vc_column-inner
    > .wpb_wrapper
    > .wpb_row:not(.inner_row):not(.arcane-mobile-footer):not(.arcane-footer-bottom) {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}
