/* HelpScout Custom Header/Footer - Two Row Menu */
.navbar {
    display: none !important;
}

.mw-custom-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    position: relative;
    z-index: 9999;
    margin-bottom: 0;
}

.mw-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px;
}

.mw-logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.mw-logo-section img {
    max-width: 470px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.mw-navigation-menu {
    text-align: center;
    position: relative;
}

/* Two-row menu layout */
.mw-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.mw-menu-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px 0;
    width: 100%;
}

.mw-menu-row li {
    flex: 0 1 auto;
    margin: 0 20px;
    position: relative;
    white-space: nowrap;
    line-height: 0;
}

.mw-menu-list li > a {
    color: #cc9900;
    text-decoration: none;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 0 20px;
    display: inline-block;
    transition: all .3s ease;
    position: relative;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.mw-menu-list li > a:hover {
    color: #335e83;
}

.mw-menu-list li.current > a {
    color: #cc9900;
    border-bottom: 2px solid rgba(204, 153, 0, .5);
}

.mw-menu-list li.has-articles > a:after {
    content: '▾';
    margin-left: 5px;
    font-size: 12px;
    opacity: .7;
    transition: transform .3s ease;
}

.mw-menu-list li.has-articles.active > a:after {
    transform: rotate(180deg);
}

.mw-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 280px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    border-radius: 4px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
}

.mw-menu-list li:hover .mw-dropdown-menu,
.mw-menu-list li.active .mw-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.mw-dropdown-menu li {
    list-style: none;
    width: 100%;
}

.mw-dropdown-menu a {
    display: block;
    padding: 10px 25px;
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mw-dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.03);
    color: #000;
    padding-left: 30px;
}

.mw-mobile-toggle {
    display: none;
    background: 0;
    border: 0;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
}

.mw-mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: rgba(0, 0, 0, .6);
    margin: 5px 0;
    transition: .3s;
}

.mw-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.mw-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mw-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

.mw-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 99998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mw-mobile-overlay.active {
    display: block;
}

.mw-mobile-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    text-align: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

.mw-mobile-header img {
    max-width: 300px;
    width: 80%;
    height: auto;
}

.mw-mobile-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: 0;
    border: 0;
    font-size: 28px;
    color: rgba(0, 0, 0, .6);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.mw-mobile-content {
    min-height: calc(100vh - 80px);
    padding-bottom: 40px;
}

.mw-mobile-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mw-mobile-accordion > li {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.mw-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: 0;
    border: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background .3s ease;
}

.mw-accordion-header:hover {
    background: rgba(0, 0, 0, .02);
}

.mw-accordion-header span {
    color: #cc9900;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mw-accordion-arrow {
    font-size: 14px;
    transition: transform .3s ease;
    color: rgba(0, 0, 0, .4);
}

.mw-mobile-accordion > li.active .mw-accordion-arrow {
    transform: rotate(180deg);
}

.mw-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: rgba(0, 0, 0, .02);
}

.mw-mobile-accordion > li.active .mw-accordion-content {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.mw-accordion-content ul {
    list-style: none;
    padding: 0;
}

.mw-accordion-content li {
    border-top: 1px solid rgba(0, 0, 0, .05);
}

.mw-accordion-content a {
    display: block;
    padding: 15px 20px;
    color: #11183a;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    transition: all .3s ease;
}

.mw-accordion-content a:hover {
    background: rgba(204, 153, 0, .1);
    color: #cc9900;
}

@media (max-width: 980px) {
    .mw-header-inner {
        padding: 15px 20px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .mw-logo-section {
        margin-bottom: 0;
        flex: 1;
        text-align: left;
        margin-right: 50px;
    }
    
    .mw-logo-section img {
        max-width: 300px;
    }
    
    .mw-navigation-menu {
        display: none;
    }
    
    .mw-mobile-toggle {
        display: block;
    }
    
    /* Ensure equal margins on content */
    .contentWrapper,
    .container,
    #main-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Search section responsive */
    #docsSearch {
        padding: 1.5em 20px;
    }
    
    #searchBar {
        margin: 0 20px;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 767px) {
    .mw-header-inner {
        padding: 15px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .mw-logo-section {
        flex: 1;
        text-align: left;
        margin-right: 50px;
    }
    
    .mw-logo-section img {
        max-width: 200px;
    }
    
    .mw-mobile-header {
        padding: 15px;
    }
    
    .mw-mobile-header img {
        max-width: 220px;
    }
    
    .mw-mobile-close {
        right: 15px;
    }
    
    .mw-mobile-toggle {
        right: -28px;
        position: relative;
        top: auto;
        transform: none;
        flex-shrink: 0;
    }
    
    .mw-accordion-header {
        padding: 15px;
    }
    
    .mw-accordion-header span {
        font-size: 14px;
    }
    
    .mw-accordion-content a {
        font-size: 14px;
        padding: 12px 15px;
        text-align: center;
    }
    
    /* Ensure equal margins on content */
    .contentWrapper,
    .container,
    #main-content,
    .collection,
    .article-list {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Search section mobile */
    #docsSearch {
        padding: 1.2em 15px;
    }
    
    #searchBar {
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }
    
    /* Collections mobile spacing */
    .collection-head {
        padding: 15px;
    }
    
    .collection-list {
        padding: 0 15px;
    }
}

/* Hide all HelpScout footers */
.footer,
#beacon-container,
.c-Footer,
.powered-by,
.footerBox,
.footer-main,
[class*=powered],
[class*=PoweredBy],
a[href*=helpscout],
a[href*=help-scout],
*[class*=help-scout],
*[id*=help-scout],
.hs-powered-by,
footer:not(.mw-custom-footer) {
    display: none !important;
}

.mw-custom-footer {
    background: linear-gradient(180deg, #335e83 0, #11183a 100%);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    position: relative;
    width: 100%;
    font-family: Poppins, sans-serif;
}

.mw-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.mw-footer-logo {
    margin-bottom: 20px;
}

.mw-footer-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: .9;
    filter: brightness(0) invert(1);
}

.mw-footer-return {
    margin-bottom: 20px;
}

.mw-footer-return a {
    color: #e6c673;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s ease;
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #e6c673;
    border-radius: 50px;
    background: transparent;
}

.mw-footer-return a:hover {
    background: #e6c673;
    color: #11183a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
}

.mw-footer-text {
    color: #c8dceb;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: .9;
}

.mw-footer-copyright {
    color: #8ba5b9;
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 30px;
}

@media (max-width: 980px) {
    .mw-custom-footer {
        padding: 35px 20px;
    }
    
    .mw-footer-return a {
        font-size: 17px;
        padding: 11px 28px;
    }
    
    .mw-footer-logo img {
        max-width: 250px;
    }
    
    .mw-footer-text {
        font-size: 13px;
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .mw-custom-footer {
        padding: 30px 15px;
    }
    
    .mw-footer-return a {
        font-size: 16px;
        padding: 10px 25px;
    }
    
    .mw-footer-logo img {
        max-width: 200px;
    }
    
    .mw-footer-text {
        font-size: 12px;
        padding: 0 15px;
    }
    
    .mw-footer-copyright {
        font-size: 12px;
        padding: 15px 15px 0;
    }
}

/* Scrollbar styles */
.mw-dropdown-menu::-webkit-scrollbar,
.mw-accordion-content::-webkit-scrollbar {
    width: 6px;
}

.mw-dropdown-menu::-webkit-scrollbar-track,
.mw-accordion-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .05);
}

.mw-dropdown-menu::-webkit-scrollbar-thumb,
.mw-accordion-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
    border-radius: 3px;
}

.mw-dropdown-menu::-webkit-scrollbar-thumb:hover,
.mw-accordion-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .3);
}

/* Additional HelpScout-specific styles */
.threeCol .browse,
.threeCol p,
.twoCol .browse,
.twoCol p {
    color: rgb(255, 255, 255);
}

/* Responsive adjustments for article content */
@media (max-width: 980px) {
    #fullArticle,
    .article-body {
        padding: 0 20px;
    }
    
    .sidebar,
    #sidebar {
        padding: 20px;
    }
    
    .breadcrumbs {
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    #fullArticle,
    .article-body {
        padding: 0 15px;
        font-size: 14px;
    }
    
    .sidebar,
    #sidebar {
        padding: 15px;
    }
    
    .breadcrumbs {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    /* Ensure images don't overflow */
    #fullArticle img,
    .article-body img {
        max-width: 100%;
        height: auto;
    }
}

#docsSearch {
    background: rgb(245, 245, 245);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(223, 223, 223);
    margin-bottom: 3em;
    padding: 1.5em 0px;
    background-image: url(https://Marianne.com/wp-content/uploads/2023/03/Header-Background-Gradient.jpg) !important;
    background-size: cover;
}

#docsSearch h1 {
    font-size: 64px;
    font-weight: 500;
    text-align: center;
    margin-top: 0.4em;
    color: #c8dceb;
    text-transform: uppercase;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
}

@media (max-width: 980px) {
    #docsSearch h1 {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    #docsSearch h1 {
        font-size: 32px;
        margin-top: 0.2em;
    }
}

#searchBar button {
    color: white;
    font-weight: 400;
    letter-spacing: .5px;
    border: 0px solid #cc9900;
    font-size: 18px;
    padding: 0px 1.5em;
    height: 50px;
    position: absolute;
    top: 24px;
    right: -1px;
    border-radius: 0px 5px 5px 0px;
    background: #cc9900;
    transition: all .3s ease;
}

#searchBar button:hover,
#searchBar button:focus-visible {
    background: #11183a;
    color: #cc9900;
    outline: none;
}
.contentWrapper ,#sidebar form .search-query{border: solid 1px rgb(51, 94, 131);}

.articleFoot p, .articleFoot time, .contactUs{color:black;}
.featherlight-close-icon, [class*=" icon-"], [class^=icon-]{color:#11183a;}
.icon-article-doc{color:#11183a;}
#sbContact{color: #cc9900;}

/* Search button icon fix */
#searchBar button .icon-search,
#searchBar button [class*="icon-"] {
    color: white !important;
    vertical-align: middle;
}

/* Mobile search button styles */
@media (max-width: 767px) {
    #searchBar button {
        font-size: 16px;
        padding: 0px 1em;
        height: 45px;
        top: 22px;
    }
    
    #searchBar button .icon-search,
    #searchBar button [class*="icon-"] {
        display: inline-block;
        line-height: 45px;
    }
}

#serp-dd .result a:hover,
#serp-dd .result > li.active,
#fullArticle strong a,
#fullArticle a strong,
.collection a,
.contentWrapper a,
.most-pop-articles .popArticles a,
.most-pop-articles .popArticles a:hover span,
.category-list .category .article-count,
.category-list .category:hover .article-count {
    color: rgb(17, 24, 58);
}

/* Alternate collection backgrounds */
.collection:nth-child(odd) .collection-head {
    background-color: rgb(51, 94, 131);
    background-image: url("https://marianne.com/wp-content/uploads/2024/08/Header-Background-Gradient.jpg");
    color: #ffffff;
}

.collection:nth-child(even) .collection-head {
    background-color: rgb(204, 153, 0);
    background-image: url("https://marianne.com/wp-content/uploads/2023/03/Gold-Box.jpg");
    color: #ffffff;
}

/* Alternate H2 heading colors */
.collection:nth-child(odd) .collection-head h2 {
    color: #c8dceb;
}

.collection:nth-child(even) .collection-head h2 {
    color: #f8f1de;
}

/* Make heading links inherit the alternating H2 color */
.collection .collection-head h2 a {
    color: inherit;
    text-decoration: none;
}

.collection .collection-head h2 a:hover {
    text-decoration: underline;
}