/* =========================================================
   LOGO / GENERAL SITE STYLING
   ========================================================= */

.logo-text {
    font-family: Juno;
    font-weight: 400;
}


/* Keep Elementor media filling its containers */
.elementor embed,
.elementor iframe,
.elementor object,
.elementor video {
    object-fit: cover;
}


/* Mobile header height */
.menu-style-solid:not(.menu-layout-top-right-floating).breakpoint .site-header,
.menu-style-solid-light:not(.menu-layout-top-right-floating).breakpoint .site-header,
.menu-style-solid-dark:not(.menu-layout-top-right-floating).breakpoint .site-header {
    height: var(--mobile-bar-height);
}


/* =========================================================
   MAIN MENU FONT SIZE
   ========================================================= */

/* Normal WordPress page links */
a.menu-link.internal-link {
    font-size: 24px !important;
}

/* Custom top-level links such as OUR VENUES */
#nav-bar .menu-container > ul > li.menu-item-type-custom > a,
#nav-bar .menu-container > ul > li.menu-item-has-children > a {
    font-size: 24px !important;
}


/* =========================================================
   DESKTOP MENU
   ========================================================= */

@media (min-width: 1280px) {

    /* CENTER DESKTOP MENU WITHOUT BREAKING POIZE MENU STATES */

    #nav-bar > .flex-wrap {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        align-items: center !important;
        width: 100% !important;
    }

    #nav-bar > .flex-wrap > .logo-container {
        grid-column: 1;
        justify-self: start;
    }

    #nav-bar > .flex-wrap > .menu-container {
        grid-column: 2;
        justify-self: center;
        margin: 0 !important;
    }

    #nav-bar > .flex-wrap > .cta-container:last-child {
        grid-column: 3;
        justify-self: end;
    }


    /* =====================================================
       VENUES DROPDOWN MENU
       ===================================================== */

    /* Main white dropdown box */
    #nav-bar .sub-menu,
    #nav-bar ul.sub-menu {
        min-width: 165px !important;
        width: auto !important;

        padding: 0 !important;
        margin: 0 !important;

        border-radius: 8px !important;
        overflow: hidden !important;

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.16) !important;
    }


    /* Remove Poize's extra spacing around each venue */
    #nav-bar .sub-menu > li,
    #nav-bar ul.sub-menu > li {
        margin: 0 !important;
        padding: 0 !important;

        height: auto !important;
        min-height: 0 !important;
    }


    /* Actual venue links inside dropdown */
    #nav-bar .sub-menu > li > a,
    #nav-bar .sub-menu > li > a.menu-link,
    #nav-bar ul.sub-menu > li > a,
    #nav-bar ul.sub-menu > li > a.menu-link {

        font-size: 16px !important;

        /* Don't force TAPROOT into giant uppercase lettering */
        text-transform: none !important;

        /* Reduce the widely spaced theme lettering */
        letter-spacing: 0.5px !important;

        /* Compact each dropdown row */
        height: 40px !important;
        min-height: 40px !important;

        padding: 0 16px !important;
        margin: 0 !important;

        line-height: 1 !important;

        /* Center the venue name */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;
    }


    /* Kill extra spacing on text/span elements inside dropdown links */
    #nav-bar .sub-menu > li > a span,
    #nav-bar ul.sub-menu > li > a span {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
}


/* =========================================================
   ELEMENTOR
   ========================================================= */

/* Hide Elementor breadcrumbs */
.elementor-widget-breadcrumb {
    display: none !important;
}


/* =========================================================
   WOLF CORE PRICING TABLES
   ========================================================= */

/* Make Wolf Core pricing boxes the same minimum height */
.wolf-core-pricing-table-inner {
    min-height: 780px;
    display: flex;
    flex-direction: column;
}

.wolf-core-pricing-table-content {
    flex-grow: 1;
}

.wolf-core-pricing-table-footer {
    margin-top: auto;
}

/* Force the fake OUR VENUES menu link to match the other main menu links */
#nav-bar a.menu-link[href="#"],
#nav-bar a[href="#"] {
    font-size: 24px !important;
}

/* MOVE DESKTOP DROPDOWN CLOSER TO TOP MENU */
@media (min-width: 1280px) {

    #nav-bar .sub-menu {
        transform: translateY(-32px) !important;
    }

}
