/* MH24 ES10 2.0.1 – layout repair for the homepage.
   All adjustments are limited to this theme and the relevant homepage components.
   Flow-based layout instead of overlapping fixed-height/absolute-position blocks. */
body.mh24-es10 .mh24-site-header{position:relative;isolation:isolate;z-index:150}
body.mh24-es10 .mh24-site-header .header-inner{width:min(calc(100% - 32px),1490px);max-width:1490px;min-width:0;gap:16px}
body.mh24-es10 .mh24-site-header .brand{min-width:0;max-width:100%;flex-shrink:0}
body.mh24-es10 .mh24-site-header .main-nav{min-width:0}
body.mh24-es10 .mh24-site-header .nav-menu{min-width:0}
body.mh24-es10 .mh24-site-header .nav-menu a{overflow-wrap:normal}
body.mh24-es10 .mh24-picture-home{overflow:visible;isolation:isolate}
/* Image has embedded lettering: never put the live search control on top of it. */
body.mh24-es10 .mh24-picture-home .mh24-home-hero.mh24-season-banner{
  display:block;position:relative;width:100%;height:auto;max-height:none;
  min-height:0;aspect-ratio:auto;overflow:hidden;isolation:isolate;
  margin:0;padding:0;
}
body.mh24-es10 .mh24-picture-home .mh24-season-picture{
  position:relative;inset:auto;display:block;width:100%;height:auto;line-height:0
}
body.mh24-es10 .mh24-picture-home .mh24-season-picture img{
  position:relative;inset:auto;display:block;width:100%;height:auto;
  aspect-ratio:2 / 1;object-fit:contain;object-position:center;
  max-height:none;transform:none
}
body.mh24-es10 .mh24-picture-home .mh24-home-search-wrap{
  position:relative;inset:auto;z-index:1;width:min(calc(100% - 36px),1060px);
  max-width:1060px;margin:0 auto!important;padding:20px 0 0;transform:none
}
body.mh24-es10 .mh24-picture-home .mh24-home-search{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(130px,.7fr) minmax(165px,.9fr);
  align-items:stretch;gap:12px;width:100%;max-width:100%;margin:0;
  padding:14px;border-radius:16px
}
body.mh24-es10 .mh24-picture-home .mh24-home-search-field{
  min-width:0;height:auto;min-height:64px;max-width:100%;margin:0;padding:11px 12px
}
body.mh24-es10 .mh24-picture-home .mh24-home-search-field>span{flex:1;min-width:0}
body.mh24-es10 .mh24-picture-home .mh24-home-search-field input,
body.mh24-es10 .mh24-picture-home .mh24-home-search-field select{
  display:block;min-width:0;width:100%;max-width:100%;font-size:clamp(12px,1vw,14px);
  text-overflow:ellipsis
}
body.mh24-es10 .mh24-picture-home .mh24-home-search-submit{
  display:flex;align-items:center;justify-content:center;min-width:0;min-height:64px;
  max-width:100%;padding:10px 14px;line-height:1.25;white-space:normal;text-align:center
}
body.mh24-es10 .mh24-picture-home .mh24-home-categories{
  display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:12px;
  height:auto;max-width:1490px;margin-inline:auto;padding:25px 0 28px
}
body.mh24-es10 .mh24-picture-home .mh24-home-category{
  position:relative;min-width:0;min-height:96px;height:auto;
  max-width:100%;padding:4px 3px;white-space:normal;overflow-wrap:anywhere
}
body.mh24-es10 .mh24-picture-home .mh24-home-category strong{
  display:block;font-size:clamp(11px,1vw,13px);line-height:1.35
}
body.mh24-es10 .mh24-picture-home .mh24-home-feature-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;
  margin-top:0;margin-bottom:28px
}
body.mh24-es10 .mh24-picture-home .mh24-home-feature{
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;
  position:relative;min-width:0;min-height:280px;height:auto;
  isolation:isolate;overflow:hidden;box-sizing:border-box
}
body.mh24-es10 .mh24-picture-home .mh24-home-feature>img{z-index:0}
body.mh24-es10 .mh24-picture-home .mh24-home-feature-shade{z-index:1}
body.mh24-es10 .mh24-picture-home .mh24-home-feature-copy{
  position:relative;inset:auto;left:auto;right:auto;bottom:auto;
  z-index:2;display:flex;flex-direction:column;align-items:flex-start;
  gap:9px;width:100%;height:auto;min-width:0;margin:0;
  padding:22px 20px;overflow-wrap:anywhere
}
body.mh24-es10 .mh24-picture-home .mh24-home-feature-copy>strong{
  display:block;font-size:clamp(19px,1.55vw,25px);line-height:1.22;max-width:100%;
  margin:0;overflow-wrap:anywhere
}
body.mh24-es10 .mh24-picture-home .mh24-home-feature-copy>small{
  display:block;min-height:0;max-width:100%;font-size:clamp(13px,1vw,15px);line-height:1.5
}
body.mh24-es10 .mh24-picture-home .mh24-home-feature-cta{
  min-height:42px;max-width:100%;line-height:1.35;
  display:inline-flex;flex-wrap:wrap;align-items:center;white-space:normal;
  overflow-wrap:anywhere;text-align:left
}
body.mh24-es10 .mh24-picture-home .mh24-home-regions-grid{
  display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px
}
body.mh24-es10 .mh24-picture-home .mh24-home-region{height:auto;min-width:0;overflow-wrap:anywhere}
body.mh24-es10 .mh24-picture-home .mh24-home-region strong{font-size:clamp(12px,1vw,14px);line-height:1.35}
body.mh24-es10 .mh24-picture-home .section-top,
body.mh24-es10 .mh24-picture-home .mh24-home-regions-head{flex-wrap:wrap}
body.mh24-es10 .mh24-picture-home .owner-inner{min-width:0}
/* Once the nav would touch the account actions, use an actual expandable menu.
   Original breakpoint 980px is too narrow for eight top-level pages. */
@media(max-width:1480px){
 body.mh24-es10 .mh24-site-header .header-inner{
   display:flex;flex-wrap:wrap;align-items:center;min-height:72px;gap:10px 12px;
 }
 body.mh24-es10 .mh24-site-header .brand{order:1;margin-right:auto}
 body.mh24-es10 .mh24-site-header .mh24-site-actions{order:2;margin:0;gap:10px}
 body.mh24-es10 .mh24-site-header .mobile-toggle{
   order:3;display:inline-flex;align-items:center;justify-content:center;gap:8px;
   flex:0 0 auto;min-height:44px;min-width:60px;padding:10px 14px;
   border:1px solid #bed1bf;border-radius:8px;background:#f6f9f4;
   color:#153d25;font-size:14px;font-weight:750;cursor:pointer;
 }
 body.mh24-es10 .mh24-site-header .main-nav{
   order:4;display:none;flex:0 0 100%;width:100%;min-width:0;
   margin:0;padding:0 0 13px
 }
 body.mh24-es10 .mh24-site-header .main-nav.is-open{display:block}
 body.mh24-es10 .mh24-site-header .nav-menu{
   display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
   align-items:stretch;justify-items:stretch;gap:5px 10px;width:100%;
   margin:0;padding:12px 0 0;border-top:1px solid #e3ecdf
 }
 body.mh24-es10 .mh24-site-header .nav-menu>li{min-width:0}
 body.mh24-es10 .mh24-site-header .nav-menu a{
   padding:12px 11px;white-space:normal;line-height:1.35;
   font-size:14px;border-radius:7px
 }
 body.mh24-es10 .mh24-site-header .nav-menu a:hover{background:#eaf3e8}
 body.mh24-es10 .mh24-picture-home .mh24-home-categories{grid-template-columns:repeat(5,minmax(0,1fr))}
 body.mh24-es10 .mh24-picture-home .mh24-home-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.mh24-es10 .mh24-picture-home .mh24-home-regions-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1060px){
 body.mh24-es10 .mh24-picture-home .mh24-home-search{
   grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
 }
 body.mh24-es10 .mh24-picture-home .mh24-home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 body.mh24-es10 .mh24-site-header .header-inner{min-height:66px}
 body.mh24-es10 .mh24-site-header .nav-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mh24-es10 .mh24-site-header .mh24-site-actions{flex:0 0 auto}
 body.mh24-es10 .mh24-picture-home .mh24-home-search-wrap{
   width:calc(100% - 28px);padding-top:16px
 }
 body.mh24-es10 .mh24-picture-home .mh24-home-categories{
   grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 7px
 }
 body.mh24-es10 .mh24-picture-home .mh24-home-feature-grid{grid-template-columns:1fr}
 body.mh24-es10 .mh24-picture-home .mh24-home-feature{min-height:270px}
 body.mh24-es10 .mh24-picture-home .mh24-home-feature-copy{padding:22px}
 body.mh24-es10 .mh24-picture-home .mh24-home-regions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:490px){
 body.mh24-es10 .mh24-site-header .header-inner{width:calc(100% - 20px);gap:8px}
 body.mh24-es10 .mh24-site-header .mh24-site-actions .mh24-header-icon,
 body.mh24-es10 .mh24-site-header .mh24-site-actions .mh24-site-login{display:none}
 body.mh24-es10 .mh24-site-header .mh24-site-actions .header-action{min-height:42px;padding:10px;font-size:12px}
 body.mh24-es10 .mh24-site-header .mobile-toggle{min-height:42px;padding:9px 10px}
 body.mh24-es10 .mh24-picture-home .mh24-home-search{grid-template-columns:minmax(0,1fr);padding:11px}
 body.mh24-es10 .mh24-picture-home .mh24-home-search-submit{width:100%;min-height:54px}
 body.mh24-es10 .mh24-picture-home .mh24-home-categories{
   grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 6px
 }
 body.mh24-es10 .mh24-picture-home .mh24-home-category strong{font-size:12px}
 body.mh24-es10 .mh24-picture-home .mh24-home-feature{min-height:250px}
 body.mh24-es10 .mh24-picture-home .mh24-home-feature-copy{padding:19px}
 body.mh24-es10 .mh24-picture-home .mh24-home-regions-head{gap:10px}
}
@media(max-width:360px){
 body.mh24-es10 .mh24-site-header .brand{max-width:100%;flex-basis:100%;margin:6px 0 0}
 body.mh24-es10 .mh24-site-header .mh24-site-actions{order:2;margin:0 auto 6px 0}
 body.mh24-es10 .mh24-site-header .mobile-toggle{order:3;margin:0 0 6px}
 body.mh24-es10 .mh24-picture-home .mh24-home-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mh24-es10 .mh24-site-header .nav-menu{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 body.mh24-es10 .mh24-picture-home .mh24-home-feature>img,
 body.mh24-es10 .mh24-picture-home .mh24-home-region{transition:none!important}
}

/* MH24 ES10 2.0.2: Open navigation without a hamburger; no small site icon.
   Both primary rows stay in normal document flow on all viewport widths. */
body.mh24-es10 .mh24-site-header .header-inner{
 display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;
 width:min(calc(100% - 32px),1490px);max-width:1490px;min-height:0;
 gap:8px 14px;padding:11px 0 0;
}
body.mh24-es10 .mh24-site-header .brand{
 order:1;flex:0 1 auto;min-width:0;max-width:100%;margin:0;
 gap:0;white-space:nowrap;
}
body.mh24-es10 .mh24-site-header .mh24-brand-leaves,
body.mh24-es10 .mh24-site-header .mh24-site-logo-img,
body.mh24-es10 .mh24-site-header .mobile-toggle{display:none!important}
body.mh24-es10 .mh24-site-header .mh24-site-actions{
 order:2;display:flex;flex:0 1 auto;flex-wrap:wrap;
 align-items:center;justify-content:flex-end;gap:8px 14px;
 min-width:0;margin:0 0 0 auto;
}
body.mh24-es10 .mh24-site-header .main-nav,
body.mh24-es10 .mh24-site-header .main-nav.is-open{
 order:3;display:block!important;position:static!important;
 flex:0 0 100%;width:100%;max-width:100%;min-width:0;
 padding:8px 0 12px;margin:5px 0 0;
 border-top:1px solid #dce8dc;overflow:visible;visibility:visible!important;
 height:auto!important;opacity:1!important;transform:none!important;
}
body.mh24-es10 .mh24-site-header .nav-menu{
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 align-items:stretch;justify-content:center;gap:4px 7px;
 width:100%;min-width:0;padding:0;margin:0;
 border:0;list-style:none;
}
body.mh24-es10 .mh24-site-header .nav-menu>li{
 display:block;flex:0 1 auto;min-width:0;margin:0;position:relative;
}
body.mh24-es10 .mh24-site-header .nav-menu>li>a{
 display:flex;align-items:center;justify-content:center;
 min-height:44px;padding:10px 13px;border-radius:8px;
 font-size:clamp(12px,0.91vw,14px);font-weight:700;
 line-height:1.3;text-align:center;white-space:normal!important;
 color:#153d25;text-decoration:none;overflow-wrap:anywhere;
}
body.mh24-es10 .mh24-site-header .nav-menu>li>a:hover,
body.mh24-es10 .mh24-site-header .nav-menu>li>a:focus-visible,
body.mh24-es10 .mh24-site-header .nav-menu>.current-menu-item>a,
body.mh24-es10 .mh24-site-header .nav-menu>.current_page_item>a{
 background:#edf5ea;color:#174c25;
}
/* WordPress custom menu children open in the normal page flow, never overlaying other items. */
body.mh24-es10 .mh24-site-header .nav-menu .sub-menu{
 position:static!important;display:none;list-style:none;
 padding:4px 8px 9px;margin:0;box-shadow:none;width:auto;min-width:0;
 background:#f7faf5;border-radius:8px;
}
body.mh24-es10 .mh24-site-header .nav-menu li:hover>.sub-menu,
body.mh24-es10 .mh24-site-header .nav-menu li:focus-within>.sub-menu{display:block}
body.mh24-es10 .mh24-site-header .nav-menu .sub-menu a{
 display:block;white-space:normal!important;line-height:1.4;
 padding:9px!important;font-size:13px;border-radius:6px;
}
@media(max-width:900px){
 body.mh24-es10 .mh24-site-header .nav-menu{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px 8px;justify-items:stretch;
 }
 body.mh24-es10 .mh24-site-header .nav-menu>li{width:100%}
 body.mh24-es10 .mh24-site-header .nav-menu>li>a{
  font-size:13px;padding:10px 5px;
 }
}
@media(max-width:610px){
 body.mh24-es10 .mh24-site-header .header-inner{
  width:calc(100% - 24px);gap:8px 10px;
 }
 body.mh24-es10 .mh24-site-header .nav-menu{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;
 }
 body.mh24-es10 .mh24-site-header .nav-menu>li>a{
  min-height:44px;padding:9px 5px;font-size:12px;
 }
 body.mh24-es10 .mh24-site-header .mh24-site-actions{
  margin-left:auto;gap:6px;
 }
 body.mh24-es10 .mh24-site-header .mh24-site-actions .header-action{
  min-height:40px;padding:8px 9px;font-size:11px;
 }
}
@media(max-width:360px){
 body.mh24-es10 .mh24-site-header .brand{
  flex:0 1 auto;flex-basis:auto;max-width:100%;margin:0;
 }
 body.mh24-es10 .mh24-site-header .mh24-site-actions{
  order:2;margin:0 0 0 auto;
 }
 body.mh24-es10 .mh24-site-header .nav-menu{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
