/* AM1CO children lower-page v20.18. Scope: only content BELOW the existing quest. */
.family-page--v206b31 .family-panel-v206b31{
  margin-top:28px;
  padding:clamp(20px,3vw,34px);
  border:1px solid rgba(91,62,37,.13);
  border-radius:30px;
  box-shadow:0 12px 32px rgba(51,32,20,.055);
}
.family-page--v206b31 .family-panel-v206b31__head{margin-bottom:22px}
.family-page--v206b31 .family-panel-v206b31__head h2{
  font-size:clamp(2.05rem,4.1vw,3.35rem);
  line-height:1.04;
  letter-spacing:-.046em;
}
.family-page--v206b31 .family-panel-v206b31__head>p{
  max-width:34ch;
  font-size:.95rem;
  line-height:1.5;
}
/* Food: two genuine dish photographs + all remaining live menu items. */
.family-page--v206b31 .family-food-v20-18{
  background:linear-gradient(135deg,#fffdf9 0%,#fff7ed 100%);
  border-color:rgba(177,126,67,.19);
}
.family-food-v20-18__layout{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.75fr);
  gap:18px;
  align-items:stretch;
}
.family-food-v20-18__featured{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
  min-width:0;
}
.family-food-v20-18__card{
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(91,62,37,.13);
  box-shadow:0 9px 26px rgba(60,39,22,.065);
}
.family-food-v20-18__photo{
  flex:0 0 auto;
  height:auto;
  aspect-ratio:4/3;
  border-radius:0;
  background:#eee6d7;
}
.family-food-v20-18__photo img{
  display:block;
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .23s ease;
}
.family-food-v20-18__photo:hover img{transform:scale(1.035)}
.family-food-v20-18__card-copy{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px 10px;
  align-items:start;
  align-content:start;
  padding:15px;
  flex:1;
}
.family-food-v20-18__card-copy h3{
  min-width:0;
  margin:0;
  font-size:1.02rem;
  line-height:1.24;
  overflow-wrap:anywhere;
}
.family-food-v20-18__card-copy>strong{
  color:#6c451c;
  font-size:1rem;
  white-space:nowrap;
}
.family-food-v20-18__card-copy>a{
  grid-column:1/-1;
  align-self:end;
  margin-top:auto;
  padding-top:12px;
  font-size:.85rem;
  font-weight:850;
  color:#6c451c;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
.family-food-v20-18__card-copy>a:focus-visible,
.family-food-v20-18__list a:focus-visible,
.family-food-v20-18__actions a:focus-visible,
.family-after-v20-18 a:focus-visible{outline:3px solid #9b702b;outline-offset:3px}
.family-food-v20-18__more{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:19px 18px;
  background:#f8efdf;
  border:1px solid rgba(91,62,37,.13);
  border-radius:20px;
}
.family-food-v20-18__more h3{
  margin:0;
  font-size:1.14rem;
  line-height:1.25;
  letter-spacing:-.025em;
}
.family-food-v20-18__more>p{margin:0;color:#6e5a48;font-size:.92rem}
.family-food-v20-18__list{list-style:none;margin:0;padding:0}
.family-food-v20-18__list li+li{border-top:1px solid rgba(91,62,37,.16)}
.family-food-v20-18__list a{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:11px 0;
  font-size:.92rem;
  line-height:1.32;
  text-decoration:none;
}
.family-food-v20-18__list a:hover span{text-decoration:underline;text-underline-offset:3px}
.family-food-v20-18__list strong{white-space:nowrap;font-size:.9rem;color:#6c451c}
.family-food-v20-18__actions{
  margin-top:auto;
  display:grid;
  gap:10px;
  padding-top:8px;
}
.family-food-v20-18__actions .button{
  width:100%;
  min-height:46px;
  white-space:normal;
  text-align:center;
}
.family-food-v20-18__all-link{
  justify-self:start;
  padding:5px 0;
  color:#65452b;
  font-weight:850;
  font-size:.9rem;
  text-decoration:underline;
  text-underline-offset:4px;
}
/* Room-finding guide: photo and concise directions, no repeated CTA. */
.family-page--v206b31 .family-sign-v20-18{background:#f5f9f8}
.family-sign-v20-18 .family-sign-v206b31__layout{
  grid-template-columns:minmax(0,.92fr) minmax(235px,1fr);
  gap:24px;
}
.family-sign-v20-18 .family-photo--sign-large{aspect-ratio:16/10;border-radius:20px}
.family-sign-v20-18 .family-sign-v206b31__steps{gap:10px}
.family-sign-v20-18 .family-step-v206b31{
  min-height:61px;
  padding:11px 15px;
  border-radius:16px;
  background:rgba(255,255,255,.89);
}
.family-sign-v20-18 .family-step-v206b31 span{flex-basis:34px;width:34px;height:34px;font-size:.88rem}
/* The playroom gallery retains the original images and lightbox controls. */
.family-page--v206b31 .family-play-v206b31{background:#fffdf9}
.family-page--v206b31 .family-play-grid-v206b31{gap:12px}
.family-page--v206b31 .family-play-photo-v206b31{border-radius:19px}
.family-page--v206b31 .family-play-photo-v206b31 figcaption{
  border-radius:8px;
  padding:5px 9px;
  font-size:.74rem;
}
.family-after-v20-18{
  margin-top:20px;
  display:flex;
  justify-content:flex-start;
}
.family-after-v20-18 a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  min-height:44px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(91,62,37,.17);
  color:#68472e;
  font-size:.9rem;
  font-weight:800;
}
.family-after-v20-18 a:hover{background:#fff4e4}
@media(max-width:940px){
  .family-food-v20-18__layout{grid-template-columns:minmax(0,1fr)}
  .family-sign-v20-18 .family-sign-v206b31__layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
  .family-page--v206b31 .family-panel-v206b31{margin-top:19px;padding:17px;border-radius:22px}
  .family-page--v206b31 .family-panel-v206b31__head{gap:9px;margin-bottom:17px}
  .family-page--v206b31 .family-panel-v206b31__head h2{font-size:clamp(2rem,9vw,2.8rem)}
  .family-food-v20-18__featured{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .family-food-v20-18__card{border-radius:15px}
  .family-food-v20-18__photo{aspect-ratio:4/3}
  .family-food-v20-18__card-copy{display:flex;flex-direction:column;gap:7px;padding:12px 10px}
  .family-food-v20-18__card-copy h3{font-size:.91rem;line-height:1.25}
  .family-food-v20-18__card-copy>strong{font-size:.94rem}
  .family-food-v20-18__card-copy>a{font-size:.79rem;margin-top:auto;padding-top:5px}
  .family-food-v20-18__more{padding:15px;border-radius:15px}
  .family-sign-v20-18 .family-photo--sign-large{aspect-ratio:4/3}
  .family-sign-v20-18 .family-step-v206b31{min-height:55px}
  .family-after-v20-18{margin-top:15px}
}
@media(max-width:330px){
  .family-food-v20-18__featured{grid-template-columns:1fr}
}

/* AM1CO P07 BEGIN - FAMILY LANDSCAPE CONTROLS */
/* Reserve controls before fitting the photo. This stylesheet is loaded only
   on the family page; normal portrait and tall desktop layouts stay intact. */
@media (orientation: landscape) and (max-height: 540px) {
  body .family-lightbox-v206b31 {
    padding: calc(8px + env(safe-area-inset-top, 0px))
             calc(8px + env(safe-area-inset-right, 0px))
             calc(8px + env(safe-area-inset-bottom, 0px))
             calc(8px + env(safe-area-inset-left, 0px));
  }
  body .family-lightbox-v206b31__dialog {
    width: min(1180px, 100%);
    height: calc(100vh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    min-height: 0;
    max-height: 100%;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-rows: 44px minmax(0, 1fr);
    gap: 8px;
  }
  body .family-lightbox-v206b31__close {
    position: static;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: end;
    height: 44px;
    min-height: 44px;
  }
  body .family-lightbox-v206b31__nav {
    position: static;
    transform: none;
    grid-row: 2;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
  body .family-lightbox-v206b31__nav--prev { grid-column: 1; }
  body .family-lightbox-v206b31__nav--next { grid-column: 3; }
  body .family-lightbox-v206b31__figure {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    min-width: 0;
  }
  body .family-lightbox-v206b31__figure img {
    width: 100%;
    height: 100% !important;
    min-height: 0;
    min-width: 0;
    max-height: 100%;
    object-fit: contain;
  }
  body .family-lightbox-v206b31__figure figcaption {
    display: flex;
    min-height: 0;
    max-height: 100px;
    overflow: auto;
    gap: 8px;
    padding: 6px 10px;
  }
  body .family-lightbox-v206b31__figure strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: .9rem;
  }
  body .family-lightbox-v206b31__figure span {
    flex: 0 0 auto;
    margin-top: 0;
  }
}
/* AM1CO P07 END - FAMILY LANDSCAPE CONTROLS */
