/* ==========================================
   HEADER
========================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #ececec;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}
.header-inner {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    min-height:96px;
    gap:40px;
}

.site-branding {
    justify-self:start;
}

.primary-navigation {
    justify-self:center;
}

.header-location {
    justify-self:end;
}
/* ==========================================
   LOGO
========================================== */

.site-branding {
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    color: #1b4d2d;
    font-weight: 800;
}

.logo-text span {
    display: block;
    margin-top: 4px;
    font-size: 17px;
    color: #222;
    font-weight: 700;
}

.logo-text p {
    margin: 6px 0 0;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

/* ==========================================
   NAVIGATION
========================================== */

.primary-navigation {
    display:flex;
    justify-content:center;
}

.main-menu {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    color:#16321d;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    transition:.25s;
    position:relative;
}

.main-menu a:hover {
    color: #4da327;
}
.main-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-10px;

    width:0;

    height:2px;

    background:#4da327;

    transition:.3s;

}

.main-menu a:hover::after{

    width:100%;

}
/* ==========================================
   DROPDOWN MENUS
========================================== */

.main-menu > li {
    position: relative;
}

.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 240px;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    z-index: 10000;
}

.main-menu > li:hover > .sub-menu {
    display: block;
}

.main-menu .sub-menu li {
    display: block;
    margin: 0;
}

.main-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    white-space: nowrap;
}

.main-menu .sub-menu a::after {
    display: none;
}

.main-menu .sub-menu a:hover {
    background: #f4f7f4;
}
/* ==========================================
   BUTTON
========================================== */

.btn-primary {
    display: inline-block;
    background: #4da327;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: .25s;
}

.btn-primary:hover {
    background: #3b861e;
    transform: translateY(-2px);
}

/* ==========================================
   MOBILE
========================================== */

.mobile-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 30px;
    cursor: pointer;
}


/* =========================================================
   WEBSITE LOGO
   ========================================================= */

.site-logo-link {
    display: block;
    line-height: 0;
}

.site-logo {
    display: block;
    width: 420px;
    height: 200px;
    object-fit: contain;
    object-position: left center;
}


/* Mobile */
@media (max-width: 800px) {

    .site-logo {
        width: 280px;
        height: 130px;
    }

}

/* =========================================================
   MINNESOTA ROOTED • CULTIVATION FOCUSED
   ========================================================= */

.header-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 22px;
    margin-right: 0;
    flex: 0 0 auto;
}

.header-location-state {
    display: block;
    width: 55px;
    height: 68px;
    object-fit: contain;

    /*
     * Convert the source silhouette to white,
     * then add a black outline around it.
     */
    filter:
        grayscale(1)
        brightness(0)
        invert(1)
        drop-shadow(1px 0 0 #111)
        drop-shadow(-1px 0 0 #111)
        drop-shadow(0 1px 0 #111)
        drop-shadow(0 -1px 0 #111);
}

.header-location-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
    text-align: left;
}

.header-location-text span {
    display: block;
    margin: 0;
    color: #173d2a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* =========================================================
   MOBILE
   ========================================================= */

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 992px) {

    .header-inner {
        display: flex;
        justify-content: space-between;
    }

    .header-location {
        display: none;
    }

    .primary-navigation {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .logo-text h1 {
        font-size: 34px;
    }

    .logo-text span {
        font-size: 15px;
    }

}