
/* =========================================================
   MCB GLOBAL HEADER + FOOTER V4
   Same premium final-screen effect on every public page.
   No selector targets the content section above the footer.
   ========================================================= */

:root{
    --mcb-ghfv4-wine:#441320;
    --mcb-ghfv4-cream:#f8f0e4;
    --mcb-ghfv4-bluegray:#7d9597;
}

/* =========================================================
   HEADER MICRO-BAR
   ========================================================= */

.mcb-global-footer-v4__header{
    overflow:visible!important;
    transition:box-shadow .30s ease;
}

.mcb-global-footer-v4__sloganbar{
    box-sizing:border-box;
    display:grid;
    grid-template-columns:minmax(26px,1fr) auto minmax(26px,1fr);
    gap:14px;
    align-items:center;
    width:100%;
    max-height:0;
    padding:0 clamp(18px,4vw,60px);
    overflow:hidden;
    opacity:0;
    background:var(--mcb-ghfv4-wine);
    border-bottom:0 solid rgba(248,240,228,.20);
    transform:translateY(-2px);
    transition:
        max-height .32s cubic-bezier(.22,.61,.36,1),
        padding .32s cubic-bezier(.22,.61,.36,1),
        opacity .24s ease,
        transform .32s cubic-bezier(.22,.61,.36,1),
        border-width .32s ease;
}

.mcb-global-footer-v4__slogantext{
    color:var(--mcb-ghfv4-cream);
    font-family:var(--mcb-sans,"Urbanist",Arial,sans-serif);
    font-size:9px;
    font-weight:600;
    line-height:1;
    letter-spacing:.15em;
    text-transform:uppercase;
    white-space:nowrap;
}

.mcb-global-footer-v4__sloganline{
    height:1px;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(248,240,228,.31),
        transparent
    );
}

html.mcb-global-footer-v4-active .mcb-global-footer-v4__sloganbar{
    max-height:28px;
    padding-top:8px;
    padding-bottom:8px;
    opacity:1;
    transform:translateY(0);
    border-bottom-width:1px;
}

html.mcb-global-footer-v4-active .mcb-global-footer-v4__header{
    box-shadow:0 12px 32px rgba(68,19,32,.065);
}

/* =========================================================
   FOOTER — GLOBAL FINAL-SCREEN COMPOSITION
   ========================================================= */

footer.mcb-global-footer-v4{
    box-sizing:border-box!important;
    width:100%!important;
    min-height:var(--mcb-global-footer-v4-height,640px)!important;
    height:auto!important;
    margin:0!important;
    padding:clamp(50px,5.2vw,72px) 0 clamp(26px,2.8vw,38px)!important;

    display:grid!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    align-content:stretch!important;
    overflow:hidden!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__grid{
    box-sizing:border-box!important;
    width:min(calc(100% - 64px),1360px)!important;
    max-width:1360px!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:0!important;

    display:grid!important;
    grid-template-columns:
        minmax(290px,1.45fr)
        minmax(160px,.72fr)
        minmax(190px,.82fr)
        minmax(170px,.72fr)!important;
    gap:clamp(44px,5vw,82px)!important;
    align-items:start!important;
    align-self:center!important;
}

/* Brand column */
footer.mcb-global-footer-v4 .mcb-global-footer-v4__brand{
    min-width:0!important;
    max-width:390px!important;
    padding:0!important;
    margin:0!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__brand img{
    width:auto!important;
    max-width:230px!important;
    max-height:76px!important;
    margin:0 0 30px!important;
    object-fit:contain!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__brand h1,
footer.mcb-global-footer-v4 .mcb-global-footer-v4__brand h2,
footer.mcb-global-footer-v4 .mcb-global-footer-v4__brand h3{
    max-width:330px!important;
    margin:0 0 18px!important;
    font-size:clamp(29px,2.15vw,37px)!important;
    font-weight:400!important;
    line-height:1.03!important;
    letter-spacing:-.03em!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__brand p{
    max-width:390px!important;
    margin:0!important;
    font-size:12.5px!important;
    line-height:1.62!important;
    opacity:.90;
}

/* Menu columns */
footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column{
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:8px 0 0!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column h1,
footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column h2,
footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column h3,
footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column h4{
    margin:0 0 22px!important;
    font-size:10.5px!important;
    font-weight:600!important;
    line-height:1.2!important;
    letter-spacing:.075em!important;
    text-transform:uppercase!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column ul{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column li{
    margin:0 0 13px!important;
    padding:0!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column a{
    display:inline-block!important;
    font-size:13.5px!important;
    line-height:1.42!important;
    text-decoration:none!important;
    transition:opacity .18s ease,transform .18s ease!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column a:hover{
    opacity:.74!important;
    transform:translateX(2px)!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column img{
    max-height:20px!important;
    width:auto!important;
}

/* Bottom copyright/slogan row */
footer.mcb-global-footer-v4 .mcb-global-footer-v4__bottom{
    box-sizing:border-box!important;
    width:min(calc(100% - 64px),1360px)!important;
    max-width:1360px!important;
    margin:clamp(34px,4vw,52px) auto 0!important;
    padding:22px 0 0!important;
    border-top:1px solid rgba(248,240,228,.14)!important;

    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:28px!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__bottom *{
    margin-top:0!important;
    margin-bottom:0!important;
}

footer.mcb-global-footer-v4 .mcb-global-footer-v4__bottom p,
footer.mcb-global-footer-v4 .mcb-global-footer-v4__bottom span,
footer.mcb-global-footer-v4 .mcb-global-footer-v4__bottom a{
    font-size:10.5px!important;
    line-height:1.35!important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1100px){
    footer.mcb-global-footer-v4{
        min-height:0!important;
        overflow:visible!important;
    }

    footer.mcb-global-footer-v4 .mcb-global-footer-v4__grid{
        width:min(calc(100% - 44px),820px)!important;
        grid-template-columns:minmax(280px,1.25fr) repeat(2,minmax(150px,.75fr))!important;
        gap:44px 34px!important;
    }

    footer.mcb-global-footer-v4 .mcb-global-footer-v4__brand{
        grid-row:span 2;
    }

    footer.mcb-global-footer-v4 .mcb-global-footer-v4__bottom{
        width:min(calc(100% - 44px),820px)!important;
    }
}

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

@media(max-width:680px){
    .mcb-global-footer-v4__sloganbar{
        grid-template-columns:14px auto 14px;
        gap:7px;
        padding-left:10px;
        padding-right:10px;
    }

    .mcb-global-footer-v4__slogantext{
        font-size:8px;
        letter-spacing:.09em;
        white-space:normal;
        text-align:center;
    }

    html.mcb-global-footer-v4-active .mcb-global-footer-v4__sloganbar{
        max-height:34px;
    }

    footer.mcb-global-footer-v4{
        padding:48px 0 26px!important;
    }

    footer.mcb-global-footer-v4 .mcb-global-footer-v4__grid{
        width:calc(100% - 28px)!important;
        grid-template-columns:1fr 1fr!important;
        gap:42px 24px!important;
    }

    footer.mcb-global-footer-v4 .mcb-global-footer-v4__brand{
        grid-column:1 / -1!important;
        grid-row:auto!important;
        max-width:100%!important;
        padding-bottom:8px!important;
    }

    footer.mcb-global-footer-v4 .mcb-global-footer-v4__menu-column{
        padding-top:0!important;
    }

    footer.mcb-global-footer-v4 .mcb-global-footer-v4__bottom{
        width:calc(100% - 28px)!important;
        margin-top:42px!important;
        flex-direction:column!important;
        align-items:flex-start!important;
        gap:10px!important;
    }
}

@media(max-width:440px){
    footer.mcb-global-footer-v4 .mcb-global-footer-v4__grid{
        grid-template-columns:1fr!important;
    }
}

/* MCB HEADER-FOOTER DOCK v1 | only position of existing menu; no visual redesign. */
.mcb-footer-header-placeholder { display:block; visibility:hidden; pointer-events:none; }
header#mcb-header.mcb-footer-header-docked,
header.mcb-mobile-header.mcb-footer-header-docked {
  position:fixed !important;
  top:0 !important;
  inset-inline:0 !important;
  width:100% !important;
  margin:0 !important;
  z-index:9990 !important;
  visibility:visible !important;
  opacity:1 !important;
  transform:none !important;
  background:rgba(255,255,255,.98) !important;
  box-shadow:0 8px 28px rgba(45,12,25,.10) !important;
  animation:mcb-footer-header-reveal-v1 .22s ease-out both;
}
body.admin-bar header#mcb-header.mcb-footer-header-docked,
body.admin-bar header.mcb-mobile-header.mcb-footer-header-docked { top:32px !important; }
@media (max-width:782px) {
  body.admin-bar header#mcb-header.mcb-footer-header-docked,
  body.admin-bar header.mcb-mobile-header.mcb-footer-header-docked { top:46px !important; }
}
@keyframes mcb-footer-header-reveal-v1 {
  from { opacity:.65; transform:translateY(-10px); }
  to { opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion:reduce) {
  header#mcb-header.mcb-footer-header-docked,
  header.mcb-mobile-header.mcb-footer-header-docked { animation:none !important; }
}
