/* Demo identity across the complete site, while keeping existing admin-configured
   palette and all content/menus. These are layout systems, not mere color presets. */
@media(min-width:992px){
 body.mnt-demo-minimal .mnt-header{box-shadow:none!important;border-top:1px solid #1b2828}
 body.mnt-demo-minimal .mnt-header__inner{min-height:77px;padding-block:14px}
 body.mnt-demo-minimal .mnt-header__site-title{font-size:clamp(19px,2.2vw,28px);font-weight:900;letter-spacing:-.03em}
 body.mnt-demo-minimal .mnt-header__nav > ul > li > a{font-size:13px!important;border-radius:0!important;padding-block:10px!important}
 body.mnt-demo-minimal .mnt-header__nav > ul > li > a:hover{background:transparent!important}
 body.mnt-demo-newspaper .mnt-header__inner{min-height:65px;padding-block:7px}
 body.mnt-demo-newspaper .mnt-header__nav > ul > li > a{border-radius:3px!important;min-height:34px!important;padding-block:5px!important;font-size:13px!important}
 body.mnt-demo-newspaper .mnt-ticker{border-top:2px solid #152b26;border-bottom:2px solid #152b26}
 body.mnt-demo-mosaic .mnt-header__inner{max-width:1480px}
 body.mnt-demo-visual .mnt-header__nav > ul > li > a{letter-spacing:.01em}
}
/* Footer appearance belongs to footer_style/footer_cards admin settings.
   Home layout demos must never silently override the saved footer design. */

/* Moghavemat 2.6.0 | Scoped header polish and resilient RTL footer layout.
   The site owner may still set any color in the Colors tab. */
@media (min-width: 992px) {
  body .mnt-header {
    backdrop-filter: saturate(1.05);
    -webkit-backdrop-filter: saturate(1.05);
  }
  body .mnt-header .mnt-header__inner {
    gap: clamp(10px, 1.5vw, 24px);
  }
  body .mnt-header__logo {
    min-width: 0;
    gap: 10px;
    text-decoration: none;
  }
  body .mnt-header__site-title {
    letter-spacing: -.025em;
    font-weight: 850;
  }
  body .mnt-header__nav > ul > li > a {
    border: 1px solid transparent !important;
    border-bottom: 0 !important;
    text-decoration: none !important;
    box-shadow: none;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease !important;
    transform: none !important;
    will-change: auto;
  }
  body .mnt-header__nav > ul > li:hover > a,
  body .mnt-header__nav > ul > li > a:hover,
  body .mnt-header__nav > ul > li > a:focus-visible,
  body .mnt-header__nav > ul > li.current-menu-item > a,
  body .mnt-header__nav > ul > li.current-menu-ancestor > a {
    transform: none !important;
  }
  body.mnt-hover-soft .mnt-header__nav > ul > li:hover > a,
  body.mnt-hover-soft .mnt-header__nav > ul > li > a:hover,
  body.mnt-hover-soft .mnt-header__nav > ul > li.current-menu-item > a {
    box-shadow: 0 5px 18px rgba(9, 27, 38, .10) !important;
  }
  body.mnt-hover-outline .mnt-header__nav > ul > li:hover > a,
  body.mnt-hover-outline .mnt-header__nav > ul > li > a:hover,
  body.mnt-hover-outline .mnt-header__nav > ul > li.current-menu-item > a {
    box-shadow: inset 0 0 0 1px var(--mnt-primary, #0b6e4f) !important;
  }
  body.mnt-hover-flat .mnt-header__nav > ul > li:hover > a,
  body.mnt-hover-flat .mnt-header__nav > ul > li > a:hover,
  body.mnt-hover-flat .mnt-header__nav > ul > li.current-menu-item > a { box-shadow: none !important; }
  body .mnt-header__nav > ul > li > a:focus-visible,
  body .mnt-header__nav > ul > li > button:focus-visible {
    outline: 2px solid var(--mnt-primary, #0b6e4f) !important;
    outline-offset: 3px;
  }
  body .mnt-header__nav li.mnt-menu-with-toggle { transition: background-color .18s ease, box-shadow .18s ease; }
  body.mnt-hover-soft .mnt-header__nav > ul > li.mnt-menu-with-toggle:hover,
  body.mnt-hover-soft .mnt-header__nav > ul > li.mnt-menu-with-toggle.mnt-dropdown-open {
    box-shadow: 0 5px 18px rgba(9, 27, 38, .10);
  }
  body.mnt-hover-outline .mnt-header__nav > ul > li.mnt-menu-with-toggle:hover,
  body.mnt-hover-outline .mnt-header__nav > ul > li.mnt-menu-with-toggle.mnt-dropdown-open {
    box-shadow: inset 0 0 0 1px var(--mnt-primary, #0b6e4f);
  }
  body .mnt-header .mnt-header__icon-btn {
    border-radius: 12px;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
  }
  body .mnt-header .mnt-header__icon-btn:hover { box-shadow: 0 5px 14px rgba(0,0,0,.1); transform:none; }
  body .mnt-header__nav ul.sub-menu > li > a {
    border-radius: 9px;
    transition: color .16s ease, background-color .16s ease !important;
    transform: none !important;
  }
  body .mnt-header__nav ul.sub-menu > li > a:hover { transform:none!important; }
  body .mnt-header__nav .mnt-mega-panel { box-shadow: 0 28px 66px rgba(10,23,28,.17); }
}
/* Consistent inner menu spacing without changing hierarchy, z-index or ticker. */
body .mnt-header .mnt-header__logo img { max-width: 100%; object-fit: contain; }
/* Flexible footer instead of 100%-width grid tracks: one/two columns can
   truly align left, right or center. The design-specific cards are untouched. */
body .mnt-footer .mnt-footer__grid,
body .mnt-footer:not(.mnt-footer--minimal) .mnt-footer__grid,
body .mnt-footer.mnt-footer--minimal .mnt-footer__grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: var(--mnt-footer-gap, 28px);
    width: 100%;
    max-width: 100% !important;
    margin-inline: 0 !important;
    box-sizing: border-box;
}
body .mnt-footer.mnt-footer--align-center .mnt-footer__grid { justify-content: center !important; }
body .mnt-footer.mnt-footer--align-end .mnt-footer__grid { justify-content: flex-end !important; }
body .mnt-footer.mnt-footer--align-start .mnt-footer__grid { justify-content: flex-start !important; }
body .mnt-footer .mnt-footer__grid > .mnt-footer__col {
    box-sizing: border-box;
    grid-column: auto !important;
    min-width: 0;
    max-width: 100%;
    width: min(100%, 310px);
    flex: 0 1 310px;
}
body .mnt-footer.mnt-footer--count-1 .mnt-footer__grid > .mnt-footer__col { width: min(100%, 500px); flex-basis: 500px; }
body .mnt-footer.mnt-footer--count-2 .mnt-footer__grid > .mnt-footer__col { width: min(100%, 375px); flex-basis: 375px; }
body .mnt-footer.mnt-footer--minimal .mnt-footer__grid > .mnt-footer__col { width: min(100%, 500px); flex-basis: 500px; }
/* A minimal footer deliberately stays a single-column composition.
   Align the narrow column itself, rather than forcing it to center. */
@media (min-width: 701px) {
  body .mnt-footer.mnt-footer--minimal .mnt-footer__grid { flex-direction: column; align-items: flex-start; }
  body .mnt-footer.mnt-footer--minimal.mnt-footer--align-center .mnt-footer__grid { align-items: center; }
  body .mnt-footer.mnt-footer--minimal.mnt-footer--align-end .mnt-footer__grid { align-items: flex-end; }
  body .mnt-footer.mnt-footer--minimal .mnt-footer__grid > .mnt-footer__col { flex: 0 0 auto; }
}
body .mnt-footer .mnt-footer__grid > .mnt-footer__col--about {
    border-left: 0;
    padding-left: 0;
}
@media (min-width: 701px) and (max-width: 980px) {
  body .mnt-footer .mnt-footer__grid > .mnt-footer__col { flex-basis: min(310px, calc((100% - var(--mnt-footer-gap, 28px)) / 2)); }
}
@media (max-width: 700px) {
  body .mnt-footer .mnt-footer__grid,
  body .mnt-footer:not(.mnt-footer--minimal) .mnt-footer__grid { flex-direction: column; align-items: stretch; gap: 22px; }
  body .mnt-footer .mnt-footer__grid > .mnt-footer__col,
  body .mnt-footer.mnt-footer--count-1 .mnt-footer__grid > .mnt-footer__col,
  body .mnt-footer.mnt-footer--count-2 .mnt-footer__grid > .mnt-footer__col,
  body .mnt-footer.mnt-footer--minimal .mnt-footer__grid > .mnt-footer__col {
    flex: 0 0 auto; width: 100%; max-width: 100%;
  }
  body .mnt-footer.mnt-footer--mobile-center .mnt-footer__grid > .mnt-footer__col { text-align:center; justify-items:center; }
  body .mnt-footer.mnt-footer--mobile-start .mnt-footer__grid > .mnt-footer__col { text-align:right; justify-items:start; }
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__grid > .mnt-footer__col { text-align:left; justify-items:end; }
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__title,
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__about,
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__copy { text-align:left !important; }
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__logo,
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__social { justify-content:flex-end!important; margin-inline:0!important; }
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__nav ul,
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__list { align-items:flex-end!important; text-align:left!important; }
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__nav a,
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__list a { justify-content:flex-end!important; text-align:left!important; }
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__contact li { justify-content:flex-end!important; text-align:left!important; }
  body .mnt-footer.mnt-footer--mobile-end .mnt-footer__title::after { right:auto!important; left:0; transform:none!important; }
  body .mnt-footer.mnt-footer--mobile-center .mnt-footer__logo,
  body .mnt-footer.mnt-footer--mobile-center .mnt-footer__social { justify-content:center!important; margin-inline:auto!important; }
  body .mnt-footer.mnt-footer--mobile-start .mnt-footer__logo,
  body .mnt-footer.mnt-footer--mobile-start .mnt-footer__social { justify-content:flex-start!important; margin-inline:0!important; }
}
@media (prefers-reduced-motion: reduce) {
  body .mnt-header__nav a, body .mnt-header__nav button,
  body .mnt-header .mnt-header__icon-btn { transition:none !important; }
}

/* 2.6.0 final: restrained depth for light headers without decorative underlines. */
@media (min-width: 992px) {
  body.mnt-header-style-1 .mnt-header, body.mnt-header-style-5 .mnt-header,
  body.mnt-header-style-6 .mnt-header, body.mnt-header-style-7 .mnt-header,
  body.mnt-header-style-8 .mnt-header, body.mnt-header-style-11 .mnt-header {
    background-image: linear-gradient(180deg, rgba(255,255,255,.035), transparent 70%);
  }
}
