/* Grid, card heights, image frames and breakpoints come from recipes.css. */
.japanese-menu-card .recipe-card-copy .recipe-card-name {
  white-space: pre-line;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  min-height: 2.5em;
  line-height: 1.25;
}
.japanese-menu-page{min-height:calc(100vh - 78px);padding-top:clamp(42px,6vw,88px);color:var(--espresso)}
.menu-back{display:inline-flex;margin-bottom:clamp(20px,3vw,42px);color:#64543b;font-size:14px;text-decoration:none}
.japanese-menu-page h1{margin:0 0 clamp(42px,6vw,84px);font-size:clamp(32px,4vw,54px);font-weight:700;line-height:1.15;text-align:center}
/* Generated images already contain soft shadows; do not double them. */
.japanese-menu-card .menu-photo-cream{filter:none;mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 9%,#000 91%,transparent);mask-composite:intersect}
@media(max-width:760px),(min-width:761px) and (max-width:1180px) and (orientation:portrait){.japanese-menu-page{min-height:calc(100vh - 68px);padding-top:34px}.menu-back{margin-bottom:26px}.japanese-menu-page h1{margin-bottom:42px}}

/* Match the homepage's compact glass language control on mobile. */
.recipe-header .language-menu {
  color: #fff;
}

@media (max-width: 1180px) and (orientation: portrait), (max-height: 500px) and (orientation: landscape) {
  .recipe-header .language-dropdown {
    width: 62px;
    height: 42px;
  }

  .recipe-header .language-switch {
    width: 62px;
    height: 42px;
    padding: 0;
    color: #1f1008;
    -webkit-appearance: none;
    appearance: none;
  }
}
