/* Menu-only presentation. Shared navigation and the other pages keep their design. */
.page-menus {
  background: #f7f1e4;
  color: #203c2f;
}
.page-menus main {
  background: #f7f1e4;
  padding-bottom: clamp(32px, 5vw, 72px);
}
.page-menus main:has(.menu-panel) > .source-menu-app > .container {
  width: 100%;
  max-width: 1720px;
  padding: 0 clamp(12px, 2.5vw, 48px);
  background: transparent;
}
.page-menus .menu-page-intro {
  padding: clamp(28px, 4vw, 54px) 0 clamp(22px, 3vw, 36px);
  text-align: center;
}
.page-menus .menu-page-title {
  margin: 0;
  color: #203c2f;
  font: 700 clamp(42px, 5vw, 72px)/1.08 var(--heading-font);
  letter-spacing: -0.025em;
}
.page-menus .menu-tabs {
  justify-content: center;
  gap: 12px;
  overflow: visible;
  min-height: 0;
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  padding: 0;
}
.page-menus .menu-tabs a {
  flex: 0 1 240px;
  min-width: 0;
  min-height: 56px;
  padding: 12px 18px;
  border: 1.5px solid #294934;
  border-radius: 10px;
  background: #fffcf5;
  color: #294934;
  font: 700 clamp(19px, 2.1vw, 24px)/1.2 var(--body-font);
  white-space: normal;
  transition: background-color .15s ease, color .15s ease;
}
.page-menus .menu-tabs a[aria-current="page"],
.page-menus .menu-tabs a[aria-current="true"] {
  color: #fffcf5;
  background: #294934;
  box-shadow: 0 3px 0 #c18749;
}
.page-menus .menu-tabs a[aria-current]::after {
  display: none;
}
.page-menus .menu-tabs a:hover {
  background: #e7ebdf;
  color: #203c2f;
}
.page-menus .menu-tabs a:focus-visible {
  outline: 3px solid #b75029;
  outline-offset: 4px;
}
.page-menus .menu-panel {
  background: transparent;
  color: #203c2f;
}
.page-menus .menu-section {
  margin: 0;
  padding: 0;
}
.page-menus .menu-section + .menu-section {
  margin-top: clamp(28px, 4vw, 50px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid #d9d8c7;
}
.page-menus .menu-section > h2 {
  margin: 0 0 18px;
  color: #203c2f;
  font: 700 clamp(24px, 2.6vw, 34px)/1.2 var(--heading-font);
}
.page-menus .menu-section > p {
  color: #4e5a4c;
}
.page-menus .menu-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(12px, 1.6vw, 24px);
  row-gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}
.page-menus .menu-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #e0dece;
  border-radius: 12px;
  background: #fffcf6;
  color: #203c2f;
  box-shadow: 0 3px 10px rgb(31 54 39 / 4%);
}
.page-menus .menu-card .photo-open {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
}
.page-menus .menu-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}
.page-menus .menu-card-content {
  padding: clamp(11px, 1.2vw, 18px);
}
.page-menus .menu-card-content h3 {
  margin: 0 0 8px;
  color: #203c2f;
  font: 700 clamp(15px, 1.35vw, 19px)/1.3 var(--heading-font);
  overflow-wrap: anywhere;
}
.page-menus .menu-card-content p {
  margin: 0;
  color: #53594e;
  font: 400 clamp(12px, 1.04vw, 15px)/1.5 var(--body-font);
  overflow-wrap: anywhere;
}
.page-menus .menu-card-content p + p {
  margin-top: 7px;
}
.page-menus .menu-card-content strong {
  color: #294934;
}
@media (min-width: 700px) {
  .page-menus .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1600px) {
  .page-menus .menu-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .page-menus .menu-tabs a { transition: none; }
}

/* Focus portrait food photos on the actual food within the existing card crop. */
.page-menus .menu-card[data-item-id="4794ca28-00de-4a12-9f8b-da0b745b6ef0"] img { object-position: 50% 100%; }
.page-menus .menu-card[data-item-id="d4ddfd96-57a9-4c3c-a030-824cd80db893"] img { object-position: 50% 70%; }

/* Owner-approved photo framing: clip only these existing Menu thumbnails. */
.page-menus .menu-card[data-item-id="e1ff83f7-1767-4c67-8e2e-5f0f42d05e4d"] .photo-open img {
  object-position: 0% 100%;
  transform: scale(1.35);
  transform-origin: 50% 100%;
}
.page-menus .menu-card[data-item-id="25016e48-753a-4e26-a1fa-d052a41932af"] .photo-open img {
  object-position: 50% 50%;
  transform: none;
}
.page-menus .menu-card[data-item-id="1ab1d0f5-2c51-4b10-b3a9-a528646bd77c"] .photo-open img {
  object-position: 76% 100%;
  transform: scale(1.2);
  transform-origin: 50% 100%;
}

/* Show the full uncropped image in the Menu photo dialog. */
.page-menus #photo-full {
  object-fit: contain;
  object-position: 50% 50%;
  transform: none;
}

/* Keep the guacamole bowl visible in this owner-selected portrait photo. */
.page-menus .menu-card[data-item-id="9128dd96-2048-42ef-ad99-0c3403c23b5d"] .photo-open img { object-position: 50% 80%; }
