.page > header {
    /* box-shadow: 0 2px 18px #0000003d; */
    position: fixed !important;
}

.mr-navbar-brand {
    width: 200px;
    background: white;
    top: 0;
    /* box-shadow: 0 2px 18px #0000003d; */
    z-index: 9;
}

ul.level-0.mr-navbar-nav li a {
    font-size: 0.9rem;
    height: 58px;
    text-transform: uppercase;
}

span.subnav_toggle {
    background: #000000b0;
}

ul.level-1.mr-navbar-dropdown {
    background: var(--mr-color-green);
    padding: 0;
}

.span.subnav_toggle {
    background: #b0b0b02b;
}

ul.level-0.mr-navbar-nav li.has_subnav>a {
    padding-right: 4.25rem;
    /* display: block; */
}

ul.level-0.mr-navbar-nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    height: 100%;
    /* box-shadow: 0 0 10px black; */
}

.mr-navbar-upper_left {
    padding: 1rem;
    display: none;
}

.contact_phone {
    display: block;
    padding: 0.4rem;
    background: #01977c;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
}

.header_inner {
    background: white;
    height: 58px;
    position: absolute;
    z-index: 999999999999999999;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contact_phone a {
    display: block;
    text-align: center;
    color: white;
    font-size: 1.1rem;
}

.contact_phone::before {
    position: relative;
    display: inline;
    margin: 1.1px;
}

header ul.navigation_extra a {
    padding: 0.9rem 2rem;
    display: block;
    color: black;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 900;
}

header ul.navigation_extra a.features_nav_item {
    padding: 1rem;
}

header ul.navigation_extra a .icon {
    margin-right: 0.7rem;
}

header ul.navigation_extra a::before {
    color: #604b37;
}

.social_links {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

header .social_links li a:before {
    font-size: 3rem;
}

ul.level-0.mr-navbar-nav>li:last-of-type {
    width: auto;
    margin: 0.65rem 1rem 0;
}

ul.level-0.mr-navbar-nav>li:last-of-type>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: var(--mr-color-primary);
    color: #ffffff !important;
    line-height: 1.2;
    text-transform: none;
    box-shadow: 0 8px 18px rgba(27, 31, 24, 0.16);
}

ul.level-0.mr-navbar-nav>li:last-of-type>a:hover {
    opacity: 0.95;
    color: #ffffff !important;
    text-decoration: none;
}

ul.level-0.mr-navbar-nav li {
    position: relative;
    width: 100%;
}

span.alert_readmore span {
    display: none
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    background-color: white;
}

.swiper-slide>img {
    position: relative !important;
    height: auto;
    flex-grow: 1;
}

.slideshow_caption {
    min-width: auto !important;
    width: 100% !important;
    height: auto !important;
    background: #d0dfbd !important;
}

.slideshow_caption p {
    font-size: 1rem !important;
}

.swiper {
    width: 100%;
    padding-bottom: 2.2rem !important;
}

ul.level-0.mr-navbar-nav li li a {
    color: var(--mr-color-accent-contrast);
}

.services_title_wrapper>div h2 {
    font-size: 7.7vw;
}

.services_tabs_wrapper .services_tab {
    font-size: 0.85rem;
}

.mr-navbar-dropdown.show .mr-navbar-dropdown.show {
    background: #dddddd;
}

.mr-navbar-dropdown {
    height: 0;
    overflow: hidden;
}

span.subnav_toggle:before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/caret-down.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/caret-down.svg') no-repeat center / contain;
    transition: .2s all ease;
}

.mr-navbar-dropdown.show {
    display: block !important;
    height: auto !important;
    padding-left: 0 !important;
    box-shadow: inset 0 0px 20px 0 #0000002b;
    padding: 0rem 0;
}

span.subnav_toggle.active:before {
    transform: rotate(-180deg);
}

ul.level-0.mr-navbar-nav li li a {
    font-size: clamp(14px, 1vw, 16px);
    font-family: var(--mr-font-main);
    font-weight: 400;
    color: var(--mr-color-dark);
}

li.navitemid-26.has_subnav {
    position: relative !important;
}

@media (max-width: 602px) {


    section#events {
        order: 3;
    }

    section#homemain {
        order: 4;
    }

    section#banner {
        /* order: 1; */
    }

    section#sections {
        order: 2;
    }

    section#gallery {
        order: 5;
    }

    .news_item>a {
        width: 140px;
        height: 100%;
    }

    .news_details {
        padding: 1rem !important;
    }
}

ul.level-0.mr-navbar-nav li li a {
    color: var(--mr-color-accent-contrast);
}

.showmenu .mr-navbar-nav-wrap {
    display: block;
    background: rgb(251, 248, 229);
    visibility: visible;
    transform: translate(0%, 0px);
    transition: .3s all ease;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15) !important;
}

body.showextramenu .features_nav li .tooltip {
    position: relative;
    visibility: visible;
    color: black;
    opacity: 1;
    background: transparent;
    text-align: left;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
    margin: 0;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-left: 1rem;
}

.showextramenu .has_tooltip .tooltip::before {
    display: none;
}

.header_top {
    position: absolute;
    padding: 0;
}
.has_alert_banner main.page-content {
    margin-top: 58px;
}

/* WCP 2026 mobile refinements */
main.page-content {
    padding-top: 60px;
}

.mr-navbar-brand {
    width: 100%;
    height: 58px;
    padding-left: 0.85rem;
    padding-top: 6px;
}

.mr-navbar-nav-wrap {
    margin-top: 58px;
    background: #fbf8f1;
    height: 100vh;
}

ul.level-0.mr-navbar-nav li a {
    height: auto;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.homerow {
    padding: 0;
    gap: 1rem;
}

.homerow>section {
    width: 100%;
}

section#news,
section#events,
section#gallery,
section#homemap,
section#page-file-browser {
    padding: 1rem;
}

.wcp-split {
    grid-template-columns: 1fr;
}

.wcp-hero {
    min-height: 420px;
}

.wcp-hero-inner {
    padding: 2.5rem 1rem;
}

.wcp-hero-panel {
    max-width: 100%;
    padding: 0.5rem;
}

.wcp-hero-actions {
    /* flex-direction: column; */
}

.wcp-hero-btn {
    /* width: 100%; */
}

/* WCP custom content: delivery options */
.wcp-delivery-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.wcp-delivery-fleet-grid {
    grid-template-columns: 1fr;
}

.wcp-delivery-panel {
    padding: 1rem;
}

.wcp-delivery-actions,
.wcp-delivery-actions p {
    flex-direction: column;
    align-items: stretch;
}

.wcp-delivery-actions a,
.wcp-delivery-actions.mce-content-body a,
.wcp-delivery-actions.easyedit_editable.mce-content-body a {
    width: 100%;
}
