/* Page-owned styles for Belső tér */
.belso-ter-main {
  width: 100%;
}

/* Hero */
.belso-ter-hero {
  position: relative;
  width: 100%;
  background-color: var(--color-charcoal);
  overflow: hidden;
}

.belso-ter-hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.belso-ter-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.belso-ter-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-2xl) var(--container-padding-mobile);
  background: linear-gradient(to bottom, rgba(38, 36, 31, 0.05) 0%, rgba(38, 36, 31, 0.4) 100%);
}

.belso-ter-hero-copy {
  max-width: 560px;
  color: var(--color-ivory);
  text-align: left;
}

.belso-ter-hero-copy h1 {
  color: var(--color-ivory);
  margin-block-end: var(--space-md);
  font-size: var(--text-h1-size);
  line-height: var(--leading-h1);
  letter-spacing: var(--tracking-h1);
}

.belso-ter-hero-standfirst {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--color-ivory);
  margin-block-end: var(--space-md);
}

.belso-ter-hero-copy p:last-child {
  color: var(--color-ivory);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

/* Section spacing and headings */
.belso-ter-section {
  padding-block: var(--space-4xl);
}

.belso-ter-section-heading {
  margin-block-end: var(--space-2xl);
}

.belso-ter-section-heading .section-label {
  display: block;
  margin-block-end: var(--space-xs);
}

.belso-ter-section-heading h2 {
  margin-block-end: 0;
}

/* Materials */
.belso-ter-material-row,
.belso-ter-lighting-row,
.belso-ter-dining-row,
.belso-ter-bar-row,
.belso-ter-experience-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-block-end: var(--space-2xl);
}

.belso-ter-material-row:last-child,
.belso-ter-lighting-row:last-child,
.belso-ter-dining-row:last-child,
.belso-ter-bar-row:last-child,
.belso-ter-experience-row:last-child {
  margin-block-end: 0;
}

.belso-ter-material-image,
.belso-ter-lighting-image,
.belso-ter-dining-image,
.belso-ter-bar-image,
.belso-ter-experience-image {
  width: 100%;
  min-width: 0;
}

.belso-ter-material-image img,
.belso-ter-lighting-image img,
.belso-ter-dining-image img,
.belso-ter-bar-image img,
.belso-ter-experience-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.belso-ter-material-copy,
.belso-ter-lighting-copy,
.belso-ter-dining-copy,
.belso-ter-bar-copy,
.belso-ter-experience-copy {
  max-width: 520px;
  min-width: 0;
}

.belso-ter-material-copy h3,
.belso-ter-lighting-copy h3,
.belso-ter-dining-copy h3,
.belso-ter-bar-copy h3,
.belso-ter-experience-copy h3 {
  margin-block-end: var(--space-sm);
}

.belso-ter-material-copy p,
.belso-ter-lighting-copy p,
.belso-ter-dining-copy p,
.belso-ter-bar-copy p,
.belso-ter-experience-copy p {
  margin-block-end: var(--space-md);
}

.belso-ter-material-copy p:last-child,
.belso-ter-lighting-copy p:last-child,
.belso-ter-dining-copy p:last-child,
.belso-ter-bar-copy p:last-child,
.belso-ter-experience-copy p:last-child {
  margin-block-end: 0;
}

/* Casino */
.belso-ter-casino {
  background-color: var(--color-charcoal);
  color: var(--color-ivory);
  padding-block: var(--space-4xl);
}

.belso-ter-casino-heading {
  margin-block-end: var(--space-2xl);
}

.belso-ter-casino-heading .section-label {
  color: var(--color-brass);
  display: block;
  margin-block-end: var(--space-xs);
}

.belso-ter-casino-heading h2 {
  color: var(--color-ivory);
  margin-block-end: 0;
}

.belso-ter-casino-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-block-end: var(--space-2xl);
}

.belso-ter-casino-row:last-of-type {
  margin-block-end: var(--space-xl);
}

.belso-ter-casino-image {
  width: 100%;
  min-width: 0;
}

.belso-ter-casino-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.belso-ter-casino-copy {
  max-width: 520px;
  min-width: 0;
  color: var(--color-ivory);
}

.belso-ter-casino-copy h3 {
  color: var(--color-ivory);
  margin-block-end: var(--space-sm);
}

.belso-ter-casino-copy p {
  color: var(--color-ivory);
  margin-block-end: var(--space-md);
}

.belso-ter-casino-copy p:last-child {
  margin-block-end: 0;
}

.belso-ter-casino-return {
  margin-block-start: var(--space-xl);
}

.belso-ter-casino-return .link-return {
  color: var(--color-brass);
}

.belso-ter-casino-return .link-return:hover {
  color: var(--color-brass-soft);
  border-bottom: 1px solid var(--color-brass);
}

/* Experience quote */
.belso-ter-quote {
  max-width: 600px;
  margin-inline: auto;
  margin-block-start: var(--space-2xl);
  text-align: center;
  border-inline-start: 3px solid var(--color-forest);
  padding-inline-start: var(--space-lg);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-charcoal);
}

.belso-ter-quote p {
  font-family: inherit;
  font-style: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin-block-end: 0;
}

/* CTA */
.belso-ter-cta {
  padding-block: var(--space-4xl);
  background-color: var(--color-ivory);
}

.belso-ter-cta-content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.belso-ter-cta-content h2 {
  margin-block-end: 0;
}

.belso-ter-cta-content p {
  margin-block-end: 0;
  max-width: 560px;
}

.belso-ter-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  width: 100%;
}

.belso-ter-cta-actions .btn {
  min-width: 200px;
  flex: 0 1 auto;
}

/* Tablet and up */
@media (min-width: 768px) {
  .belso-ter-hero-content {
    padding-inline: var(--container-padding-desktop);
  }

  .belso-ter-material-row,
  .belso-ter-lighting-row,
  .belso-ter-dining-row,
  .belso-ter-bar-row,
  .belso-ter-experience-row {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
  }

  .belso-ter-material-row-reverse,
  .belso-ter-lighting-row-reverse,
  .belso-ter-dining-row-reverse,
  .belso-ter-bar-row-reverse {
    grid-template-columns: 7fr 5fr;
  }

  .belso-ter-material-row-reverse .belso-ter-material-image,
  .belso-ter-lighting-row-reverse .belso-ter-lighting-image,
  .belso-ter-dining-row-reverse .belso-ter-dining-image,
  .belso-ter-bar-row-reverse .belso-ter-bar-image {
    order: 2;
  }

  .belso-ter-material-row-reverse .belso-ter-material-copy,
  .belso-ter-lighting-row-reverse .belso-ter-lighting-copy,
  .belso-ter-dining-row-reverse .belso-ter-dining-copy,
  .belso-ter-bar-row-reverse .belso-ter-bar-copy {
    order: 1;
  }

  .belso-ter-experience-row {
    grid-template-columns: 7fr 5fr;
  }

  .belso-ter-experience-row .belso-ter-experience-copy {
    order: 1;
  }

  .belso-ter-experience-row .belso-ter-experience-image {
    order: 2;
  }

  .belso-ter-casino-row {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
  }

  .belso-ter-casino-row-reverse {
    grid-template-columns: 7fr 5fr;
  }

  .belso-ter-casino-row-reverse .belso-ter-casino-image {
    order: 2;
  }

  .belso-ter-casino-row-reverse .belso-ter-casino-copy {
    order: 1;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .belso-ter-hero-media {
    aspect-ratio: 4 / 5;
  }

  .belso-ter-hero-content {
    position: static;
    background: var(--color-charcoal);
    padding: var(--space-xl) var(--container-padding-mobile);
    align-items: flex-start;
  }

  .belso-ter-hero-copy {
    max-width: 100%;
  }

  .belso-ter-hero-copy h1 {
    font-size: var(--text-h1-size);
  }

  .belso-ter-hero-standfirst {
    font-size: var(--text-body);
  }

  .belso-ter-section,
  .belso-ter-casino,
  .belso-ter-cta {
    padding-block: var(--space-3xl);
  }

  .belso-ter-material-row,
  .belso-ter-lighting-row,
  .belso-ter-dining-row,
  .belso-ter-bar-row,
  .belso-ter-casino-row,
  .belso-ter-experience-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .belso-ter-material-row-reverse .belso-ter-material-image,
  .belso-ter-lighting-row-reverse .belso-ter-lighting-image,
  .belso-ter-dining-row-reverse .belso-ter-dining-image,
  .belso-ter-bar-row-reverse .belso-ter-bar-image,
  .belso-ter-casino-row-reverse .belso-ter-casino-image,
  .belso-ter-experience-row .belso-ter-experience-image {
    order: 0;
  }

  .belso-ter-material-row-reverse .belso-ter-material-copy,
  .belso-ter-lighting-row-reverse .belso-ter-lighting-copy,
  .belso-ter-dining-row-reverse .belso-ter-dining-copy,
  .belso-ter-bar-row-reverse .belso-ter-bar-copy,
  .belso-ter-casino-row-reverse .belso-ter-casino-copy,
  .belso-ter-experience-row .belso-ter-experience-copy {
    order: 0;
  }

  .belso-ter-material-copy,
  .belso-ter-lighting-copy,
  .belso-ter-dining-copy,
  .belso-ter-bar-copy,
  .belso-ter-casino-copy,
  .belso-ter-experience-copy {
    max-width: 100%;
  }

  .belso-ter-quote {
    font-size: 1.25rem;
    padding-inline-start: var(--space-md);
    text-align: left;
  }

  .belso-ter-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .belso-ter-cta-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .belso-ter-main *,
  .belso-ter-main *::before,
  .belso-ter-main *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
