/* Restaurant-only editorial profile: practical rail / reading column. */
.restaurant-detail{padding:32px 0 48px}
.restaurant-detail .detail-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0;align-items:stretch}
.restaurant-detail .detail-layout.has-rail{grid-template-columns:minmax(0,27fr) minmax(0,73fr)}
.restaurant-detail .detail-main{grid-column:2;grid-row:1;min-width:0;padding:0 0 0 40px}
.restaurant-detail .detail-layout:not(.has-rail) .detail-main{grid-column:1;padding:0;max-width:860px}
.restaurant-detail .back{display:inline-flex;align-items:center;min-height:44px;margin:0 0 16px;font:500 11px/1.5 var(--font-body);letter-spacing:.12em;text-decoration:none}
.restaurant-detail .back:focus-visible{text-decoration:underline}
@media(hover:hover) and (pointer:fine){.restaurant-detail .back:hover{text-decoration:underline}}
.restaurant-detail .detail-identity{padding:0 0 24px;border-bottom:var(--rule);margin-bottom:28px}
.restaurant-detail .detail-identity h1{--title-max:80px;font:500 min(clamp(60px,5.5vw,var(--title-max)),var(--restaurant-title-fit,80px))/1.04 var(--font-display);letter-spacing:-.045em;margin:0;text-wrap:balance;overflow-wrap:anywhere;hyphens:none}
.restaurant-detail h1[data-title-length=medium]{--title-max:72px}
.restaurant-detail h1[data-title-length=long]{--title-max:64px}
.restaurant-detail .detail-metadata{font:400 12px/1.6 var(--font-body);letter-spacing:.07em;text-transform:uppercase;margin:18px 0 0;color:var(--muted)}
.restaurant-detail .detail-main h2{font:500 12px/1.5 var(--font-body);letter-spacing:.13em;margin:0 0 16px}
.restaurant-detail .detail-take{max-width:62ch}
.restaurant-detail .detail-main .take{font:400 18px/1.65 var(--font-body);letter-spacing:normal;margin:0;white-space:pre-line}
.restaurant-detail .detail-orders{margin-top:32px}
.restaurant-detail .order-list{list-style:none;margin:0;padding:0;border-top:var(--rule)}
.restaurant-detail .order-list li{padding:0;border-bottom:var(--rule);counter-increment:none}
.restaurant-detail .order-list li:before{content:none}
.restaurant-detail .dish-choice{display:grid;grid-template-columns:28px minmax(0,1fr);gap:16px;padding:18px 0;font:500 clamp(26px,2.6vw,34px)/1.2 var(--font-display);letter-spacing:-.025em;color:var(--ink);overflow-wrap:anywhere}
.restaurant-detail .dish-number{font:400 12px/1.5 var(--font-body);letter-spacing:.05em;padding-top:6px;color:var(--muted)}
/* One native horizontal strip; the page and left rail keep their own flow. */
.restaurant-detail .article-photos{--strip-height:clamp(420px,36vw,560px);display:flex;flex-wrap:nowrap;gap:0;width:100%;max-width:100%;min-width:0;margin-top:24px;overflow-x:auto;overflow-y:hidden;border-radius:0;scrollbar-width:thin;scrollbar-color:var(--muted) var(--paper)}
.restaurant-detail .article-photos figure{flex:0 0 auto;width:calc(var(--strip-height) * var(--photo-ratio,1));max-width:92%;min-width:0;height:var(--strip-height);margin:0;border-radius:0;overflow:hidden}
.restaurant-detail .article-photos[data-photo-count="1"] figure{width:100%;max-width:100%}
.restaurant-detail .article-photos img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.restaurant-detail .article-photos:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.restaurant-detail .detail-aside{grid-column:1;grid-row:1;display:block;min-width:0;margin:0;padding:16px 28px 0 0;border-top:0;border-left:0;border-right:var(--rule)}
.restaurant-detail .detail-rail-inner{position:sticky;top:var(--rail-top,24px)}
.restaurant-detail .detail-rail-inner.can-stick{top:24px}
.restaurant-detail .detail-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin:0}
.restaurant-detail .detail-facts>div+div{border-top:var(--rule);padding-top:20px}
.restaurant-detail .detail-aside dt{font:500 12px/1.5 var(--font-body);letter-spacing:.13em;color:var(--muted)}
.restaurant-detail .detail-aside dd{font:400 15px/1.55 var(--font-body);margin:8px 0 0;overflow-wrap:anywhere}
.restaurant-detail .detail-actions{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:20px 0 0;border-top:var(--rule);padding:8px 0}
.restaurant-detail .detail-actions .textlink,.restaurant-detail .watch-take{display:inline-flex;align-items:center;min-height:44px;font:500 12px/1.5 var(--font-body);letter-spacing:.08em;gap:8px}
.restaurant-detail .detail-watch-mobile{display:none}
.restaurant-detail .detail-watch-desktop{padding:4px 0 8px;width:100%}
.restaurant-detail .watch-action{max-width:100%}
.restaurant-detail .detail-actions .watch-take,.restaurant-detail .watch-take{font-weight:600;color:var(--ink);white-space:nowrap;padding-right:20px;border-bottom:1px solid var(--ink);background:none;border-radius:0}
.restaurant-detail .watch-play{flex:none;width:9px;height:10px;transition:transform 220ms ease-out}
.restaurant-detail .watch-take:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.restaurant-detail .watch-links summary{cursor:pointer;list-style:none}
.restaurant-detail .watch-links summary::-webkit-details-marker{display:none}
.restaurant-detail .watch-links>div{display:flex;flex-direction:column;align-items:flex-start;padding-bottom:8px}
.restaurant-detail .map-frame{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:200px;margin-top:16px;border:0;border-radius:var(--radius-image);background:var(--stone)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .restaurant-detail .watch-take:is(:hover,:focus-visible) .watch-play{transform:translateX(2px)}
}
@media(max-width:1100px) and (min-width:901px){
 .restaurant-detail .detail-main{padding-left:28px}
 .restaurant-detail .detail-aside{padding-right:20px}
 .restaurant-detail .watch-take{letter-spacing:.04em;gap:6px;padding-right:8px;font-size:11px}
}
@media(max-width:900px){
 .restaurant-detail{padding:20px 0 32px}
 .restaurant-detail .detail-layout.has-rail{grid-template-columns:minmax(0,1fr)}
 .restaurant-detail .detail-main{grid-column:1;grid-row:auto;padding:0}
 .restaurant-detail .back{margin-bottom:12px}
 .restaurant-detail .detail-identity{padding-bottom:20px;margin-bottom:24px}
 .restaurant-detail .detail-identity h1{--title-max:72px;font-size:min(clamp(56px,15vw,var(--title-max)),var(--restaurant-title-fit,72px));line-height:1.06;letter-spacing:-.04em}
 .restaurant-detail h1[data-title-length=medium]{--title-max:64px}
 .restaurant-detail h1[data-title-length=long]{--title-max:56px}
 .restaurant-detail .detail-metadata{margin-top:16px;line-height:1.7}
 .restaurant-detail .detail-watch-mobile{display:block;margin:-8px 0 28px}
 .restaurant-detail .detail-watch-desktop{display:none}
 .restaurant-detail .detail-main .take{font-size:17px;line-height:1.65}
 .restaurant-detail .detail-orders{margin-top:28px}
 .restaurant-detail .dish-choice{font-size:28px;padding:16px 0;gap:12px}
 .restaurant-detail .article-photos{--strip-height:clamp(240px,68vw,320px);margin-top:20px}
 .restaurant-detail .article-photos figure{max-width:86%}
 .restaurant-detail .detail-aside{grid-column:1;grid-row:auto;margin-top:32px;padding:24px 0 0;border-right:0;border-left:0;border-top:var(--rule)}
 .restaurant-detail .detail-rail-inner,.restaurant-detail .detail-rail-inner.can-stick{position:static}
 .restaurant-detail .detail-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
 .restaurant-detail .detail-facts>div+div{border:0;padding-top:0}
 .restaurant-detail .detail-facts .detail-address{grid-column:1/-1;border-top:var(--rule);padding-top:20px}
 .restaurant-detail .detail-actions{flex-direction:row;flex-wrap:wrap;gap:4px 20px;margin:20px 0;border-bottom:var(--rule)}
 .restaurant-detail .map-frame{aspect-ratio:16/9;max-height:200px}
}


/* Let only the photo strip reach the column divider; text keeps its inset. */
@media(min-width:1101px){
 .restaurant-detail .detail-layout.has-rail .article-photos{margin-left:-40px;width:calc(100% + 40px);max-width:calc(100% + 40px)}
}
@media(min-width:901px) and (max-width:1100px){
 .restaurant-detail .detail-layout.has-rail .article-photos{margin-left:-28px;width:calc(100% + 28px);max-width:calc(100% + 28px)}
}

/* A secondary annotation within the existing recommendation row. */
.restaurant-detail .must-order-label{display:block;margin-top:6px;font:500 10px/1.5 var(--font-body);letter-spacing:.12em;color:var(--muted)}

/* Phone-only section rhythm; title fit, gallery geometry, and actions stay intact. */
@media(max-width:720px){
 .restaurant-detail .detail-watch-mobile{margin:0 0 24px}
 .restaurant-detail .detail-orders{margin-top:24px}
 .restaurant-detail .detail-actions{margin-top:16px;margin-bottom:16px}
}
