.helyszin-page {
  background: var(--color-ink-black);
}

.helyszin-page .section {
  position: relative;
}

.helyszin-hero {
  position: relative;
  min-height: 38.75rem;
  overflow: hidden;
  border-bottom: var(--border-default);
  background: var(--color-panel-black);
}

.helyszin-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
}

.helyszin-hero__media img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-position: center right;
  filter: grayscale(1) contrast(1.08) brightness(0.78);
  transition: transform var(--transition-base), filter var(--transition-base);
}

.helyszin-hero:hover .helyszin-hero__media img {
  transform: scale(1.01) translateX(1px);
  filter: grayscale(1) contrast(1.13) brightness(0.75);
}

.helyszin-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(5 5 5 / 0.78) 0%, rgb(5 5 5 / 0.42) 46%, rgb(5 5 5 / 0.2) 100%);
}

.helyszin-hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 38.75rem;
  align-items: flex-end;
}

.helyszin-hero__content {
  display: flex;
  width: min(100%, 32.5rem);
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-8);
}

.helyszin-hero__content > * {
  min-width: 0;
  margin: 0;
}

.helyszin-hero__content h1 {
  max-width: 16ch;
}

.helyszin-hero__lead {
  max-width: 50ch;
  color: var(--color-ash-primary);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.helyszin-hero__actions {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.helyszin-hero__actions > a {
  min-width: 0;
}

.helyszin-hero__meta {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding-top: var(--space-3);
  border-top: var(--border-default);
  color: var(--color-ash-secondary);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.helyszin-hero__meta-label,
.helyszin-tables__number,
.helyszin-language__number,
.helyszin-rhythm__number {
  color: var(--color-ash-muted);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: var(--leading-label);
}

.helyszin-language__heading {
  width: min(100%, 52ch);
  min-width: 0;
}

.helyszin-language__heading > :last-child {
  margin-bottom: 0;
}

.helyszin-language__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.helyszin-language__principle {
  min-width: 0;
  padding-top: var(--space-4);
  border-top: var(--border-default);
}

.helyszin-language__principle > :last-child {
  margin-bottom: 0;
}

.helyszin-language__principle h3,
.helyszin-language__principle p {
  max-width: 36ch;
}

.helyszin-language__principle--lead {
  border-left: 2px solid var(--color-ash-secondary);
  padding-left: var(--space-4);
}

.helyszin-food__grid,
.helyszin-detail__grid,
.helyszin-location__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  width: 100%;
  min-width: 0;
  gap: var(--space-7);
  align-items: center;
}

.helyszin-food__copy,
.helyszin-detail__copy,
.helyszin-location__copy,
.helyszin-location__actions {
  min-width: 0;
}

.helyszin-food__copy > :last-child,
.helyszin-detail__copy > :last-child,
.helyszin-location__copy > :last-child,
.helyszin-location__actions > :last-child {
  margin-bottom: 0;
}

.helyszin-food__lead {
  max-width: 52ch;
  color: var(--color-ash-primary);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.helyszin-food__figure,
.helyszin-detail__figure {
  width: 100%;
  min-width: 0;
  margin: 0;
  border: var(--border-default);
}

.helyszin-food__figure img,
.helyszin-detail__figure img,
.helyszin-gallery__figure img {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.08) brightness(0.86);
  transition: transform var(--transition-base), filter var(--transition-base);
}

.helyszin-food__figure:hover img,
.helyszin-detail__figure:hover img,
.helyszin-gallery__figure:hover img {
  transform: scale(1.012) translateX(1px);
  filter: grayscale(1) contrast(1.14) brightness(0.82);
}

.helyszin-food__menu-note,
.helyszin-food__closing,
.helyszin-detail__note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-4);
  border: var(--border-default);
  background: var(--color-panel-black);
}

.helyszin-food__menu-note > *,
.helyszin-food__closing > *,
.helyszin-detail__note > * {
  min-width: 0;
  margin: 0;
}

.helyszin-food__closing,
.helyszin-detail__note {
  max-width: 38ch;
  border-inline: 0;
  border-bottom: 0;
  padding-inline: 0;
  background: transparent;
}

.helyszin-tables {
  overflow: hidden;
}

.helyszin-tables::before,
.helyszin-location::before {
  position: absolute;
  inset: 14% 0 auto;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-line-ash), transparent);
  content: "";
}

.helyszin-tables .container,
.helyszin-location .container {
  position: relative;
  z-index: 1;
}

.helyszin-tables__heading {
  width: min(100%, 50ch);
  min-width: 0;
}

.helyszin-tables__heading > :last-child {
  margin-bottom: 0;
}

.helyszin-tables__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.helyszin-tables__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5) 0 0;
  border-top: var(--border-default);
}

.helyszin-tables__item > * {
  min-width: 0;
  margin: 0;
}

.helyszin-tables__item p:not(.helyszin-tables__number) {
  max-width: 34ch;
}

.helyszin-tables__age {
  display: block;
  margin-top: auto;
  padding-top: var(--space-3);
  color: var(--color-ash-primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: var(--leading-body);
}

.helyszin-detail__grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.helyszin-detail__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.helyszin-detail__copy > * {
  min-width: 0;
  margin: 0;
}

.helyszin-detail__copy > p:not(.eyebrow) {
  max-width: 40ch;
}

.helyszin-responsible__inner {
  width: min(100%, 67.5rem);
  min-width: 0;
  margin-inline: auto;
}

.helyszin-responsible__inner > :last-child {
  margin-bottom: 0;
}

.helyszin-responsible__primary {
  display: grid;
  grid-template-columns: minmax(8rem, 2fr) minmax(0, 8fr);
  width: 100%;
  min-width: 0;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding: var(--space-6);
  border: var(--border-default);
  border-left: 3px solid var(--color-signal-scarlet);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-raised);
}

.helyszin-responsible__age,
.helyszin-responsible__copy {
  min-width: 0;
}

.helyszin-responsible__age {
  color: var(--color-ash-primary);
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6.25rem);
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 0.85;
}

.helyszin-responsible__copy > :last-child,
.helyszin-responsible__secondary > :last-child {
  margin-bottom: 0;
}

.helyszin-responsible__copy p,
.helyszin-responsible__secondary p {
  max-width: 48ch;
}

.helyszin-responsible__secondary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-5);
  border: var(--border-default);
  background: var(--color-panel-black);
}

.helyszin-responsible__secondary > * {
  min-width: 0;
  margin: 0;
}

.helyszin-rhythm__heading {
  width: min(100%, 48ch);
  min-width: 0;
}

.helyszin-rhythm__heading > :last-child {
  margin-bottom: 0;
}

.helyszin-rhythm__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.helyszin-rhythm__step {
  display: grid;
  grid-template-columns: minmax(2.625rem, auto) minmax(0, 1fr);
  min-width: 0;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: var(--border-default);
}

.helyszin-rhythm__step > * {
  min-width: 0;
}

.helyszin-rhythm__step h3,
.helyszin-rhythm__step p {
  max-width: 32ch;
}

.helyszin-rhythm__step p:last-child {
  margin-bottom: 0;
}

.helyszin-location__grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
}

.helyszin-location__copy h2 {
  max-width: 20ch;
}

.helyszin-location__address {
  max-width: 32ch;
  color: var(--color-ash-primary);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.helyszin-location__actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  padding: var(--space-5);
  border: var(--border-default);
  background: var(--color-panel-black);
}

.helyszin-location__actions > * {
  min-width: 0;
  margin: 0;
}

.helyszin-location__actions > p {
  max-width: 44ch;
}

.helyszin-location__contact-links {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: var(--border-default);
}

.helyszin-gallery__heading {
  width: min(100%, 46ch);
  min-width: 0;
}

.helyszin-gallery__heading > :last-child {
  margin-bottom: 0;
}

.helyszin-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  width: 100%;
  min-width: 0;
  gap: var(--space-5);
  margin-top: var(--space-7);
  align-items: start;
}

.helyszin-gallery__figure {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.helyszin-gallery__figure .media-hero,
.helyszin-gallery__figure .media-card {
  width: 100%;
  min-width: 0;
  border: var(--border-default);
}

.helyszin-gallery__figure figcaption {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: 30ch;
  margin: var(--space-3) 0 0;
}

.helyszin-gallery__figure figcaption span {
  color: var(--color-ash-secondary);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: var(--leading-label);
}

.helyszin-next {
  padding-bottom: var(--section-space);
}

.helyszin-next__panel {
  display: flex;
  width: min(100%, 45rem);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-inline: auto;
  padding: var(--space-7);
  text-align: center;
}

.helyszin-next__panel > * {
  min-width: 0;
  margin: 0;
}

.helyszin-next__panel > p:not(.eyebrow):not(.helyszin-next__reminder) {
  width: min(100%, 44ch);
}

.helyszin-next__actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.helyszin-next__actions > a {
  min-width: 0;
}

.helyszin-next__reminder {
  width: min(100%, 52ch);
  padding-top: var(--space-4);
  border-top: var(--border-default);
  color: var(--color-ash-secondary);
}

@media (max-width: 68.75rem) {
  .helyszin-hero {
    min-height: auto;
    overflow: visible;
    background: var(--color-panel-black);
  }

  .helyszin-hero__media {
    position: relative;
    aspect-ratio: 2 / 1;
    height: auto;
  }

  .helyszin-hero__overlay {
    display: none;
  }

  .helyszin-hero__container {
    min-height: 0;
  }

  .helyszin-hero__content {
    width: 100%;
    max-width: none;
    padding-block: var(--space-6);
  }
}

@media (max-width: 61.25rem) {
  .helyszin-food__grid,
  .helyszin-detail__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .helyszin-food__figure {
    grid-row: 1;
  }

  .helyszin-food__copy {
    grid-row: 2;
  }

  .helyszin-detail__figure {
    grid-row: 1;
  }

  .helyszin-detail__copy {
    grid-row: 2;
  }
}

@media (max-width: 58.75rem) {
  .helyszin-language__principles,
  .helyszin-tables__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .helyszin-language__principle:nth-child(3),
  .helyszin-tables__item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .helyszin-rhythm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 58.75rem) {
  .helyszin-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 53.75rem) {
  .helyszin-location__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 47.5rem) {
  .helyszin-responsible__primary {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .helyszin-responsible__age {
    font-size: 4.5rem;
  }
}

@media (max-width: 43.75rem) {
  .helyszin-language__principles,
  .helyszin-tables__grid,
  .helyszin-rhythm__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .helyszin-language__principle:nth-child(3),
  .helyszin-tables__item:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 38.75rem) {
  .helyszin-next__actions {
    width: 100%;
    flex-direction: column;
  }

  .helyszin-next__actions > a {
    width: 100%;
  }
}

@media (max-width: 48rem) {
  .helyszin-hero__media {
    aspect-ratio: 4 / 3;
  }

  .helyszin-hero__media img {
    object-position: center;
  }

  .helyszin-hero__content {
    gap: var(--space-4);
  }

  .helyszin-hero__content h1 {
    font-size: 2.625rem;
    line-height: 1.02;
  }

  .helyszin-hero__actions {
    flex-direction: column;
  }

  .helyszin-hero__actions > a,
  .helyszin-location__actions > .button {
    width: 100%;
  }

  .helyszin-language__principles,
  .helyszin-tables__grid,
  .helyszin-rhythm__grid,
  .helyszin-gallery__grid {
    gap: var(--space-4);
  }

  .helyszin-food__menu-note,
  .helyszin-food__closing,
  .helyszin-detail__note,
  .helyszin-responsible__primary,
  .helyszin-responsible__secondary,
  .helyszin-location__actions {
    padding: var(--space-4);
  }

  .helyszin-food__closing,
  .helyszin-detail__note {
    padding-inline: 0;
  }

  .helyszin-next__panel {
    width: 100%;
    padding: var(--space-5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .helyszin-hero__media img,
  .helyszin-food__figure img,
  .helyszin-detail__figure img,
  .helyszin-gallery__figure img {
    transition: none;
  }

  .helyszin-hero:hover .helyszin-hero__media img,
  .helyszin-food__figure:hover img,
  .helyszin-detail__figure:hover img,
  .helyszin-gallery__figure:hover img {
    transform: none;
  }
}