/* Image block copied from Lugares a Visitar: same sizing, cover, overlays and 160px bottom fade. */
.restaurant-editorial-image{min-height:650px;color:#fff;position:relative;display:flex;align-items:flex-end;background:linear-gradient(90deg,rgba(4,25,20,.85),rgba(4,25,20,.28)),url('/assets/restaurantes-editorial-capa-20261015.jpg') center/cover}
.restaurant-editorial-image:after{content:"";position:absolute;inset:auto 0 0;height:160px;background:linear-gradient(transparent,var(--restaurant-cream))}
@media(max-width:820px){.restaurant-editorial-image{min-height:610px}}
/* Overlap the unchanged 160px image fade. Places uses main at z-index:2
   and its first .intro has 95px top padding (65px at <=820px).
   Apply those content insets inside the transition, without changing the image. */
.restaurant-editorial-image + .restaurant-wrap{position:relative;z-index:2;margin-top:-160px}
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading{position:relative;margin-top:0;padding-top:95px}
@media(max-width:820px){.restaurant-editorial-image + .restaurant-wrap .restaurant-heading{padding-top:65px}}
/* Listing only: reuse the Places absolute, transparent header over the hero.
   Header dimensions, white controls and shared menu/language behavior stay intact. */
.restaurant-page > .restaurant-site-header{position:absolute;left:0;right:0;top:0;background:transparent}
/* Move only the complete introduction. Its content-box centre follows the
   image centre; the percentage tracks the introduction's own responsive height.
   Compensate for its existing unequal top/bottom padding, without changing it.
   A transform preserves the positions of all following filters and sections. */
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading{
 --restaurant-intro-image-height:650px;
 --restaurant-intro-top:95px;
 --restaurant-intro-bottom:42px;
 z-index:1;
 transform:translateY(calc(160px - (var(--restaurant-intro-image-height) / 2) - 50% - ((var(--restaurant-intro-top) - var(--restaurant-intro-bottom)) / 2)));
}
@media(max-width:820px){.restaurant-editorial-image + .restaurant-wrap .restaurant-heading{--restaurant-intro-image-height:610px;--restaurant-intro-top:65px}}
@media(max-width:620px){.restaurant-editorial-image + .restaurant-wrap .restaurant-heading{--restaurant-intro-bottom:28px}}
/* Match Places hero text contrast in every language and viewport.
   Places uses white headings, the existing gold eyebrow and 84% white copy;
   it adds no text shadow. Keep every layout and image rule untouched. */
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading h1{color:#fff}
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading .eyebrow{color:var(--gold)}
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading > p{color:rgba(255,255,255,.84)}
/* Same decorative eyebrow rule as Places; no character added to the copy. */
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading .eyebrow{display:flex;align-items:center;gap:10px}
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading .eyebrow:before{content:"";width:35px;height:1px;background:currentColor}
/* The intro already overlays the image: remove its reserved flow space while
   retaining its exact box width, origin and existing centre transform.
   Body insets: 175/125px; +80px desktop / +60px mobile from the first body rise. */
.restaurant-editorial-image + .restaurant-wrap{padding-top:175px}
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading{position:absolute;top:0;left:0;right:0}
.restaurant-editorial-image + .restaurant-wrap > .restaurant-filterbar{border-top:0;padding-top:0}
@media(max-width:820px){.restaurant-editorial-image + .restaurant-wrap{padding-top:125px}}
/* Lift the existing actions into the hero without moving any text or the body.
   Retain their original 67px flow footprint, but remove the divider and its padding. */
.restaurant-editorial-image + .restaurant-wrap > .restaurant-filterbar{position:relative;z-index:2;border-bottom:0;padding-bottom:0;min-height:67px;align-items:flex-start}
/* Hero proximity action: text/currentColor only; all button states stay shared. */
#restaurant-near{color:#fff}
/* One common hero offset; the existing anchored buttons follow this container. */
.restaurant-editorial-image + .restaurant-wrap .restaurant-heading{translate:0 -40px}
/* All keeps its existing active text/outline colors when unselected;
   only the red fill disappears. The active rule and proximity action stay shared. */
#restaurant-all[aria-pressed=false]{color:#fff;border-color:#a44d36;background:transparent}
/* Desktop uses the same existing active fill as mobile, driven only by selection. */
@media(min-width:821px){
 #restaurant-all[aria-pressed=true],#restaurant-near[aria-pressed=true]{background:#a44d36}
 #restaurant-all[aria-pressed=false],#restaurant-near[aria-pressed=false]{background:transparent}
}
