/**
 * Snippet Name: BrightLeaf · MS — Header, menu and footer (MS-42)
 * Generated: 2026-11-12 11:07:57
 * Source: Custom
 * AUTO-GENERATED FILE — DO NOT EDIT.
 */

/* BrightLeaf · MS — Header, menu and footer (MS-42). Sitewide, frontend.
   Header white so the seal's white ground disappears; menu with gold underline,
   My Account + Donate as buttons; navy footer; Technical Support pill bottom-right.
   Menu item ids: 44 Donate, 490 My Account (menu 2). Footer widgets: footer-1 contact,
   footer-2 Explore links, footer-3 seal + tagline, footer-5 My Account. */
/* Every selector starts with "html body" so these rules beat the theme and page styles that load after this file. */
/* ---------- Header ---------- */
html body .site-header{background-color:#fff;border-bottom:1px solid #eceae3}
html body .site-header .inside-header{padding:14px 40px;align-items:center}
html body .site-header .site-logo{margin:0}
html body .site-header .site-logo a{display:flex;align-items:center;gap:14px;text-decoration:none}
html body .site-header .header-image{width:88px;height:auto}
html body .site-header .site-logo a::after{content:"Yeshivas Mishkan Shmuel" / "";font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:24px;line-height:1.1;color:#022342;white-space:nowrap}
html body .main-navigation,html body .main-navigation .inside-navigation{background-color:transparent}
/* ---------- Menu (desktop) ---------- */
@media (min-width:769px){
  html body #site-navigation .main-nav>ul{display:flex;align-items:center;flex-wrap:nowrap;gap:2px}
  html body #site-navigation .main-nav>ul>li>a{position:relative;font-family:Raleway,sans-serif;font-weight:600;font-size:15px;letter-spacing:.01em;color:#022342;padding:0 14px;line-height:44px;background-color:transparent}
  html body #site-navigation .main-nav>ul>li>a::after{content:"";position:absolute;left:14px;right:14px;bottom:6px;height:2px;border-radius:2px;background:#f0d397;transform:scaleX(0);transform-origin:left center;transition:transform .2s ease}
  html body #site-navigation .main-nav>ul>li.menu-item-has-children>a::after{right:30px}
  html body #site-navigation .main-nav>ul>li:hover>a::after,html body #site-navigation .main-nav>ul>li:focus-within>a::after,html body #site-navigation .main-nav>ul>li:is(.current-menu-item,.current-menu-ancestor,.current-menu-parent)>a::after{transform:scaleX(1)}
  html body #site-navigation .main-nav>ul>li:hover>a,html body #site-navigation .main-nav>ul>li:focus-within>a,html body #site-navigation .main-nav>ul>li[class*="current-menu"]>a{color:#022342;background-color:transparent}
  html body #site-navigation .dropdown-menu-toggle{padding-left:6px;padding-right:0}
  /* My Account (outlined) and Donate (gold) */
  html body #site-navigation .main-nav>ul>li.menu-item-490{margin-left:14px}
  html body #site-navigation .main-nav>ul>li.menu-item-44{margin-left:8px}
  html body #site-navigation .main-nav>ul>li.menu-item-490>a{border:1.5px solid #022342;border-radius:10px;line-height:40px;padding:0 14px 0 18px}
  html body #site-navigation .main-nav>ul>li.menu-item-490:hover>a,html body #site-navigation .main-nav>ul>li.menu-item-490:focus-within>a{background-color:#022342;color:#fff}
  html body #site-navigation .main-nav>ul>li.menu-item-44>a,html body #site-navigation .main-nav>ul>li.menu-item-44[class*="current-menu"]>a{background-color:#f0d397;border:1.5px solid #f0d397;border-radius:10px;line-height:40px;padding:0 22px;font-family:Inter,sans-serif;font-weight:700;color:#022342}
  html body #site-navigation .main-nav>ul>li.menu-item-44:hover>a,html body #site-navigation .main-nav>ul>li.menu-item-44:focus-within>a{background-color:#f5e0b3;border-color:#f5e0b3}
  html body #site-navigation .main-nav>ul>li:is(.menu-item-44,.menu-item-490)>a::after{display:none}
  /* dropdowns */
  html body #site-navigation .main-nav ul ul{background:#fff;border:1px solid #eceae3;border-radius:12px;box-shadow:0 12px 32px rgba(2,35,66,.12);padding:8px;width:220px;margin-top:0}
  html body #site-navigation .main-nav ul ul li a{font-family:Inter,sans-serif;font-size:14px;font-weight:500;color:#022342;line-height:1.3;padding:10px 12px;border-radius:8px;background-color:transparent}
  html body #site-navigation .main-nav ul ul li a:hover,html body #site-navigation .main-nav ul ul li a:focus{background-color:#fdf6e6;color:#022342}
  html body #site-navigation .main-nav ul li.menu-item-490 ul{right:0;left:auto}
}
@media (min-width:769px) and (max-width:1180px){
  html body .site-header .site-logo a::after{display:none}
  html body .site-header .inside-header{padding:12px 24px}
  html body #site-navigation .main-nav>ul>li>a{padding:0 10px;font-size:14px}
  html body #site-navigation .main-nav>ul>li>a::after{left:10px;right:10px}
}
@media (min-width:769px) and (max-width:900px){
  html body .site-header .header-image{width:68px}
  html body #site-navigation .main-nav>ul>li>a{padding:0 7px}
  html body #site-navigation .main-nav>ul>li.menu-item-490>a{padding:0 10px 0 12px}
  html body #site-navigation .main-nav>ul>li.menu-item-44>a{padding:0 14px}
}
/* ---------- Menu (phone) ---------- */
@media (max-width:768px){
  html body .site-header .inside-header{padding:10px 18px}
  html body .site-header .header-image{width:56px}
  html body .site-header .site-logo a{gap:10px}
  html body .site-header .site-logo a::after{font-size:19px;white-space:normal;max-width:9em}
  html body #mobile-menu-control-wrapper .menu-toggle{background-color:#022342;color:#fff;border-radius:10px;padding:0 14px;line-height:42px}
  html body #site-navigation.toggled,html body #site-navigation.toggled .inside-navigation,html body #site-navigation.toggled .main-nav{background-color:#fff}
  html body #site-navigation.toggled .main-nav>ul{display:block;padding:8px 18px 18px}
  html body #site-navigation.toggled .main-nav>ul>li{border-bottom:1px solid #eceae3}
  html body #site-navigation.toggled .main-nav>ul>li>a{line-height:52px;padding:0 4px;font-size:16px;color:#022342;background-color:transparent}
  html body #site-navigation.toggled .main-nav>ul>li:is(.menu-item-44,.menu-item-490){border:0;margin:12px 0 0}
  html body #site-navigation.toggled .main-nav>ul>li.menu-item-44{margin-top:10px}
  html body #site-navigation.toggled .main-nav>ul>li:is(.menu-item-44,.menu-item-490)>a{text-align:center;line-height:48px;border-radius:10px}
  html body #site-navigation.toggled .main-nav>ul>li.menu-item-490>a{border:1.5px solid #022342;background-color:#fff}
  html body #site-navigation.toggled .main-nav>ul>li.menu-item-44>a{background-color:#f0d397;font-family:Inter,sans-serif;font-weight:700}
  html body #site-navigation.toggled .main-nav ul ul{width:auto;box-shadow:none;border:0;margin:0;padding:0 0 8px 12px;background:transparent}
}
/* ---------- Footer ---------- */
html body .site-footer .footer-widgets{background-color:#022342;color:rgba(255,255,255,.78)}
html body .site-footer .footer-widgets-container{padding:72px 40px 56px;max-width:1280px}
html body .site-footer .inside-footer-widgets{display:grid;grid-template-columns:1fr 1.15fr 1fr 1.15fr;gap:48px;align-items:start}
html body .site-footer .inside-footer-widgets>div{margin:0;padding:0;min-width:0}
html body .site-footer .footer-widget-3{order:1}
html body .site-footer .footer-widget-1{order:2}
html body .site-footer .footer-widget-2{order:3}
html body .site-footer .footer-widget-5{order:4}
html body .site-footer .footer-widget-4{display:none}
html body .site-footer .footer-widgets .widget{padding:0;margin:0 0 12px;background-color:transparent}
html body .site-footer .footer-widgets .widget h2{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:24px;line-height:1.2;color:#f0d397;margin:0 0 16px}
html body .site-footer .footer-widgets .widget :is(p,li,.wp-block-jetpack-contact-info,.wp-block-loginout){font-family:Inter,sans-serif;font-size:15px;line-height:1.7}
html body .site-footer .footer-widgets .widget a:not(.wp-block-button__link){color:rgba(255,255,255,.86);text-decoration:none}
html body .site-footer .footer-widgets .widget a:not(.wp-block-button__link):hover{color:#f0d397;text-decoration:underline}
html body .site-footer .wp-block-jetpack-contact-info>div{margin:0 0 10px}
/* seal + tagline */
html body .site-footer .footer-widget-3 .wp-block-uagb-image,html body .site-footer .footer-widget-3 .wp-block-uagb-image__figure{margin:0!important;align-items:flex-start!important;justify-content:flex-start!important;text-align:left}
html body .site-footer .footer-widget-3 img{width:168px!important;height:auto!important;margin:0!important;border-radius:0}
html body .site-footer p.ms-foot-tag{margin:6px 0 0;color:rgba(255,255,255,.7);font-size:14px}
/* Explore links */
html body .site-footer ul.ms-foot-links{list-style:none;margin:0;padding:0;columns:2;column-gap:20px}
html body .site-footer ul.ms-foot-links li{margin:0 0 6px;break-inside:avoid}
/* login form on navy */
html body .site-footer #loginform p{margin:0 0 10px}
html body .site-footer #loginform label{display:block;font-size:13px;color:rgba(255,255,255,.72);margin-bottom:4px}
html body .site-footer #loginform input[type=text],html body .site-footer #loginform input[type=password]{width:100%;max-width:340px;height:42px;padding:0 12px;border:1px solid rgba(255,255,255,.28);border-radius:8px;background-color:rgba(255,255,255,.07);color:#fff}
html body .site-footer #loginform input[type=text]:focus,html body .site-footer #loginform input[type=password]:focus{outline:none;border-color:#f0d397;box-shadow:0 0 0 3px rgba(240,211,151,.25)}
html body .site-footer #loginform .login-remember label{display:inline-flex;gap:8px;align-items:center}
html body .site-footer #loginform input[type=submit]{background-color:#f0d397;color:#022342;border:0;border-radius:10px;font-weight:700;font-size:14px;padding:12px 26px;text-transform:none}
html body .site-footer #loginform input[type=submit]:hover{background-color:#f5e0b3}
/* pop-ups opened from the footer keep dark text on their white panel */
html body .site-footer .uagb-modal-popup{color:#1b1b1b}
html body .site-footer .uagb-modal-popup a{color:#022342}
/* bottom bar */
html body .site-info{background-color:#011a33;color:rgba(255,255,255,.62)}
html body .site-info a{color:rgba(255,255,255,.82)}
html body .site-info a:hover{color:#f0d397}
html body .site-info .inside-site-info{padding:18px 40px;max-width:1280px;margin:0 auto}
html body .site-info .copyright-bar{display:block;width:100%;text-align:center;font-size:13.5px;line-height:1.6}
/* ---------- Technical Support: small pill bottom-right ---------- */
html body .techsupportbutton{left:auto!important;right:20px!important;bottom:20px!important;width:auto!important}
html body .techsupportbutton .uagb-spectra-button-wrapper .wp-block-button__link{font-size:13px!important;padding:10px 18px!important;border-radius:999px!important;white-space:nowrap!important;width:auto!important;min-width:0!important;height:auto!important;line-height:1.2!important;box-shadow:0 6px 18px rgba(2,35,66,.25)!important}
@media (max-width:768px){
  html body .site-footer .footer-widgets-container{padding:48px 20px 32px}
  html body .site-footer .inside-footer-widgets{grid-template-columns:1fr;gap:36px}
  html body .site-footer .footer-widget-3 img{width:132px!important}
  html body .site-info .inside-site-info{padding:16px 20px}
  html body .techsupportbutton{right:12px!important;bottom:12px!important}
  html body .techsupportbutton .uagb-spectra-button-wrapper .wp-block-button__link{font-size:11px!important;padding:8px 12px!important}
}
@media (prefers-reduced-motion:reduce){
  html body #site-navigation .main-nav>ul>li>a::after{transition:none}
}
