/* Hangryology V1.4.15 — precise homepage visual refinements.
   Add AFTER the earlier homepage stylesheets. No JavaScript changes. */

/* Give the cuisine header breathing room without letting the dome art collide with it. */
#home .home-cuisines {
  padding-top: 108px !important;
  padding-bottom: 16px !important;
}
#home .home-cuisines > h2 {
  margin: 0 auto 52px !important;
}
#home .home-cuisines > img {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  margin:0 auto !important;
  /* Soften only the image's perimeter, not the entire section. */
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 91%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 91%,transparent 100%);
}

/* Feather the blue rectangle at both edges of the connected lab panorama. */
#home .how-lab-v149 .how-panorama {
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.45) 8%,#000 21%,#000 79%,rgba(0,0,0,.65) 91%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.45) 8%,#000 21%,#000 79%,rgba(0,0,0,.65) 91%,transparent 100%);
}

/* Larger expressive Bunsen heads and legible text on the lab background. */
#home .home-meter .meter-labels {
  align-items:start !important;
  gap:10px !important;
}
#home .home-meter .meter-labels .bunsen-level {
  flex:1 1 0;
  min-width:0;
  opacity:1 !important;
  filter:brightness(1.12) saturate(1.08);
}
#home .home-meter .meter-labels .bunsen-level img {
  width:clamp(76px,7vw,132px) !important;
  height:clamp(76px,7vw,132px) !important;
  max-width:100% !important;
  object-fit:contain !important;
  filter:drop-shadow(0 0 10px rgba(12,192,255,.38));
}
#home .home-meter .meter-labels .bunsen-level small {
  color:#fff !important;
  font-size:clamp(12px,1.04vw,17px) !important;
  font-weight:900 !important;
  line-height:1.3 !important;
  letter-spacing:.015em;
  text-shadow:0 2px 5px #001321,0 0 14px #001321;
}
#home .home-meter .meter-labels .bunsen-level.active img,
#home .home-meter .meter-labels .bunsen-level.selected img {
  filter:brightness(1.25) drop-shadow(0 0 17px rgba(73,216,255,.85));
}
@media(max-width:900px){
 #home .home-cuisines{padding-top:85px!important}
 #home .home-cuisines>h2{margin-bottom:35px!important}
 #home .home-meter .meter-labels .bunsen-level img{width:clamp(48px,11vw,90px)!important;height:clamp(48px,11vw,90px)!important}
 #home .home-meter .meter-labels .bunsen-level small{font-size:clamp(9px,1.8vw,13px)!important}
}
@media(max-width:540px){
 #home .home-cuisines{padding-top:70px!important}
 #home .home-cuisines>h2{margin-bottom:24px!important}
 #home .home-meter .meter-labels{gap:3px!important}
 #home .home-meter .meter-labels .bunsen-level img{width:clamp(42px,13vw,65px)!important;height:clamp(42px,13vw,65px)!important}
 #home .home-meter .meter-labels .bunsen-level small{font-size:9px!important;letter-spacing:0}
}
