/* ============================================================
   HEADER — Logo, Navigation, Hamburger, Mega Menu, Action Bar
   ============================================================ */

/* --- Logo --- */

.blog-title {
    width: 100%;
    text-align: center;
}

    .blog-title .site-logo {
        width: 1120px;
        height: auto;
        color: #000000;
    }

/* --- Nav Layout --- */

.blog-header .container > nav {
    flex-wrap: wrap !important;
}

.blog-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "Titillium Web", sans-serif;
    width: 100% !important;
    justify-content: center !important;
    margin-left: 0 !important;
    padding: 0.4rem 0 0.5rem !important;
    position: relative;
}

    .blog-nav::before {
        content: "";
        position: absolute;
        top: 0;
        left: 20%;
        width: 60%;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.08);
    }

    .blog-nav > li {
        position: relative;
    }

        .blog-nav > li:not(:last-child) {
            margin-right: 1.5rem;
        }

        .blog-nav > li > a {
            display: block;
            font-family: 'Titillium Web', sans-serif !important;
            font-size: 0.8rem !important;
            font-weight: 600 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            color: #000000 !important;
            text-decoration: none;
            line-height: 2rem;
            border-radius: 1rem;
            transition: color 0.2s ease !important;
            position: relative;
            outline: none;
        }

            .blog-nav > li > a:focus {
                outline: none;
            }

        .blog-nav > li:hover > a,
        .blog-nav > li:hover .fa {
            color: #e07c3a !important;
            opacity: 1;
            cursor: pointer;
        }

        .blog-nav > li.has-ul > a {
            padding-right: 1rem;
        }

    .blog-nav .nav-item-toggle {
        color: #29313a;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0.625rem;
        line-height: 2rem;
        display: block;
    }

    /* --- Standard Dropdowns --- */

    .blog-nav ul {
        position: absolute;
        list-style: none;
        margin: 0;
        padding: 1.25rem;
        width: 16rem;
        left: 0;
        top: 2rem;
        background: black;
        color: #fff;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transition: all ease 0.15s;
        border-radius: 0.5rem;
        box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
    }

        .blog-nav ul::before {
            content: "";
            background: none;
            display: block;
            width: 100%;
            height: 0.5rem;
            position: absolute;
            top: -.5rem;
            left: 0;
        }

        .blog-nav ul li:not(:last-child) {
            margin-bottom: 0.25rem;
        }

        .blog-nav ul a {
            display: block;
            color: #fff;
            font-size: 1rem;
            font-weight: 400;
            text-decoration: none;
            transition: all ease 0.15s;
            opacity: 0.8;
        }

            .blog-nav ul a:after {
                content: "";
                display: block;
                height: 2px;
                width: 0;
                background: rgba(255, 255, 255, 0.5);
                transition: all ease 0.25s;
            }

            .blog-nav ul a:focus,
            .blog-nav ul a:hover {
                color: #fff;
                opacity: 1;
                outline: none;
            }

                .blog-nav ul a:focus::after,
                .blog-nav ul a:hover::after {
                    width: 100%;
                }

    .blog-nav .subPage a {
        margin-left: 1.5em;
        font-size: 0.9rem;
    }

@media screen and (min-width: 992px) {
    .blog-nav .has-ul:hover ul {
        top: 2.5rem;
        opacity: 1;
        visibility: visible;
    }
}

@media screen and (max-width: 991px) {
    .blog-nav {
        display: none;
        position: absolute;
        background: #fff;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        border-bottom: 1px solid #eee;
        border-top: 1px solid #eee;
    }

        .blog-nav::before {
            display: none;
        }

        .blog-nav > li {
            margin: 0 !important;
            border-bottom: 1px solid #eee;
        }

            .blog-nav > li > a {
                padding: 0.5rem 1rem;
            }

            .blog-nav > li:last-child {
                border: 0;
            }

        .blog-nav .has-ul:hover ul {
            top: 0;
        }

        .blog-nav .nav-item-toggle {
            width: 4rem;
            text-align: center;
            height: 3rem;
            line-height: 3rem;
        }

            .blog-nav .nav-item-toggle.is-active {
                transform: rotate(180deg);
            }

        .blog-nav ul {
            display: none;
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            visibility: visible;
            opacity: 1;
            border-radius: 0;
            padding: 0;
        }

            .blog-nav ul li {
                margin: 0 !important;
            }

                .blog-nav ul li:not(:last-child) {
                    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
                }

            .blog-nav ul.is-active {
                display: block;
            }

            .blog-nav ul a {
                padding: 0.5rem 1rem;
            }
}

/* --- Mega Menu --- */

.blog-nav .has-mega-menu {
    position: relative;
}

    .blog-nav .has-mega-menu > .mega-menu {
        display: none !important;
        position: absolute;
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
        background: black;
        color: #fff;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transition: all ease 0.15s;
        border-radius: 0.5rem;
        box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
        padding: 1.25rem;
        width: 920px;
    }

        .blog-nav .has-mega-menu > .mega-menu::before {
            content: "";
            background: none;
            display: block;
            width: 100%;
            height: 0.5rem;
            position: absolute;
            top: -.5rem;
            left: 0;
        }

.blog-nav .mega-menu-inner {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem;
    justify-content: space-between;
}

.blog-nav .mega-menu-column {
    flex: 1;
    min-width: 160px;
}

.blog-nav .mega-menu-heading {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    opacity: 1;
}

    .blog-nav .mega-menu-heading:hover {
        color: #fff;
        text-decoration: none;
    }

    .blog-nav .mega-menu-heading:after {
        content: "";
        display: block;
        height: 2px;
        width: 0;
        background: rgba(255, 255, 255, 0.5);
        transition: all ease 0.25s;
    }

    .blog-nav .mega-menu-heading:hover::after {
        width: 100%;
    }

.blog-nav .mega-menu-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none;
    padding: 0;
    margin: 0;
    position: static !important;
    height: auto;
    max-height: none;
    overflow: visible;
}

    .blog-nav .mega-menu-list li {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        float: none !important;
        margin-bottom: 0.25rem;
        height: auto !important;
        line-height: 1.4;
    }

        .blog-nav .mega-menu-list li a {
            display: block !important;
            position: static !important;
            color: #fff;
            text-decoration: none;
            font-size: 1rem;
            font-weight: 400;
            transition: all ease 0.15s;
            opacity: 0.8;
        }

            .blog-nav .mega-menu-list li a:after {
                content: "";
                display: block;
                height: 2px;
                width: 0;
                background: rgba(255, 255, 255, 0.5);
                transition: all ease 0.25s;
            }

            .blog-nav .mega-menu-list li a:focus,
            .blog-nav .mega-menu-list li a:hover {
                color: #fff;
                opacity: 1;
                outline: none;
            }

                .blog-nav .mega-menu-list li a:focus::after,
                .blog-nav .mega-menu-list li a:hover::after {
                    width: 100%;
                }

.blog-nav .mega-menu .nav-item-toggle,
.blog-nav .mega-menu .fa-chevron-down {
    display: none !important;
}

.blog-nav .mega-menu-subgroup {
    margin-bottom: 1rem;
}

    .blog-nav .mega-menu-subgroup:last-child {
        margin-bottom: 0;
    }

.blog-nav .mega-menu-subheading {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-decoration: none;
}

    .blog-nav .mega-menu-subheading:hover {
        color: #fff;
    }

.blog-nav .mega-menu-footnote {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Mega menu — desktop */
@media screen and (min-width: 992px) {
    .blog-nav .has-mega-menu:hover > .mega-menu {
        display: block !important;
        top: 2.5rem;
        opacity: 1;
        visibility: visible;
    }

    .blog-nav > li.has-mega-menu {
        display: flex;
        align-items: center;
    }

        .blog-nav > li.has-mega-menu > .nav-item-toggle {
            position: static;
            margin-left: 0.25rem;
        }
}

/* Mega menu — mobile */
@media screen and (max-width: 991px) {
    .blog-nav .has-mega-menu > .mega-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        padding: 0;
        min-width: 100%;
        box-shadow: none;
        transform: none;
    }

    .blog-nav .has-mega-menu:hover > .mega-menu {
        display: none !important;
    }

    .blog-nav .has-mega-menu > .mega-menu.is-active {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }

    .blog-nav .has-mega-menu > .nav-item-toggle.is-active {
        transform: rotate(180deg);
    }

    .blog-nav .mega-menu-inner {
        flex-direction: column !important;
        gap: 0;
    }

    .blog-nav .mega-menu-column {
        min-width: 100%;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .blog-nav .mega-menu-heading {
        padding: 0.5rem 1rem;
        margin-bottom: 0;
        border-bottom: none;
    }

    .blog-nav .mega-menu-list {
        display: none;
        padding: 0;
    }

        .blog-nav .mega-menu-list li {
            margin: 0 !important;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

            .blog-nav .mega-menu-list li:last-child {
                border-bottom: none;
            }

            .blog-nav .mega-menu-list li a {
                padding: 0.5rem 1rem 0.5rem 2rem;
            }

    .blog-nav .mega-menu-subgroup {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .blog-nav .mega-menu-subheading {
        padding: 0.5rem 1rem;
        margin-bottom: 0;
    }

    .blog-nav .mega-menu-subgroup .mega-menu-list li a {
        padding-left: 2.5rem;
    }

    .blog-nav .mega-menu-footnote {
        padding: 0.5rem 1rem;
        margin-top: 0;
    }
}

/* --- Action Bar (Row 2) --- */

.nav-action-bar {
    justify-content: center !important;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 0 0.6rem;
    margin-bottom: 1.5rem;
}

.nav-action-link {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .nav-action-link:hover {
        color: #e07c3a;
        text-decoration: none;
    }

.nav-action-cta {
    color: #e8a06a;
}

    .nav-action-cta:hover {
        color: #b85a1a;
    }

.nav-action-separator {
    color: #aaa;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .nav-action-bar {
        display: none !important;
    }
}

/* --- Hamburger --- */

.hamburger {
    font: inherit;
    display: inline-block;
    overflow: visible;
    margin: 0 -.375rem 0 1rem;
    padding: 0;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: 0.15s;
    transition-property: opacity, filter;
    text-transform: none;
    color: inherit;
    border: 0;
    background-color: transparent;
    height: 2rem;
    width: 2rem;
    position: relative;
    outline: none !important;
}

    .hamburger:hover {
        opacity: 0.7;
    }

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 1.25rem;
    height: 1rem;
}

.hamburger-inner {
    top: 50%;
    display: block;
    margin-top: -2px;
}

    .hamburger-inner,
    .hamburger-inner:after,
    .hamburger-inner:before {
        position: absolute;
        width: 1.25rem;
        height: 3px;
        transition-timing-function: ease;
        transition-duration: 0.15s;
        transition-property: transform;
        border-radius: 6px;
        background-color: #000;
    }

        .hamburger-inner:after,
        .hamburger-inner:before {
            display: block;
            content: "";
        }

        .hamburger-inner:before {
            top: -6px;
        }

        .hamburger-inner:after {
            bottom: -6px;
        }

.hamburger--squeeze .hamburger-inner {
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition-duration: 75ms;
}

    .hamburger--squeeze .hamburger-inner:before {
        transition: top 75ms ease 0.12s, opacity 75ms ease;
    }

    .hamburger--squeeze .hamburger-inner:after {
        transition: bottom 75ms ease 0.12s, transform 75ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

.hamburger--squeeze.is-active .hamburger-inner {
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: rotate(45deg);
}

    .hamburger--squeeze.is-active .hamburger-inner:before {
        top: 0;
        transition: top 75ms ease, opacity 75ms ease 0.12s;
        opacity: 0;
    }

    .hamburger--squeeze.is-active .hamburger-inner:after {
        bottom: 0;
        transition: bottom 75ms ease, transform 75ms cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
        transform: rotate(-90deg);
    }
