/* V9 galéria: adaptív mozaik és fokozatos betöltés. */
.gallery-grid.gallery-v9{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}
.gallery-v9 .gallery-tile:nth-child(n){flex:none;grid-column:auto;grid-row:auto;min-width:0;min-height:0!important;max-width:100%;width:200px;height:150px;padding:0;border:0;isolation:isolate;background:#d8dcda}
.gallery-v9 .gallery-tile img{display:block;width:100%;height:100%;object-fit:contain;transform:none}
.gallery-v9 .gallery-tile::before{display:none}
.gallery-v9 .gallery-tile[data-demo="true"]::before{display:block;content:"BEMUTATÓKÉP"}
.gallery-v9 .gallery-tile:focus-visible,.gallery-load-more:focus-visible{outline:3px solid #384c55;outline-offset:4px}
.gallery-v9 .gallery-tile.image-missing{background:#3c4447}
.gallery-v9 .gallery-tile.image-missing img{opacity:.12}
.gallery-v9 .gallery-tile.image-missing::after{content:"Kép nem tölthető be";font-size:12px;text-align:center;inset:0;display:grid;place-items:center;text-shadow:none}
.gallery-status{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:24px;color:#526065;font-size:13px}
.gallery-status [data-gallery-progress]{font-variant-numeric:tabular-nums}
.gallery-load-more{border:1px solid #292e30;background:transparent;color:#202527;padding:11px 19px;font-size:13px;font-weight:700}
.gallery-load-more[hidden],.gallery-status[hidden]{display:none}
.gallery-sentinel{height:1px}
.lightbox .lb-image{width:auto;height:auto}
.lightbox .lb-image.loading{opacity:.45}
.lightbox .lb-image.failed{opacity:.1}
@media(max-width:650px){.gallery-grid.gallery-v9{gap:8px}.gallery-v9 .gallery-tile::after{font-size:18px}}
/* Unified service hero: text panel and photograph, 2026-11-01. */
html body .hero.detail-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;background-color:#202426;background-size:0 0!important;background-repeat:no-repeat;min-height:560px;height:clamp(560px,34vw,640px);color:#fff;isolation:isolate}
html body .hero.detail-hero::before{display:none}
html body .hero.detail-hero::after{content:"";position:absolute;inset:0 0 0 50%;background-image:inherit;background-size:cover;background-position:center;z-index:0;pointer-events:none}
html body .hero.detail-hero.family-hero::after,html body .hero.detail-hero.portrait-hero::after{display:none}
html body .hero.detail-hero .hero-content{grid-column:1;grid-row:1;position:relative;z-index:1;width:100%;max-width:none;padding:56px clamp(28px,3vw,64px) 56px max(5vw,calc((100vw - 1400px)/2));align-self:center}
html body .hero.detail-hero h1{font-size:clamp(34px,3.05vw,56px);line-height:1.15;letter-spacing:-.027em;max-width:620px;margin:20px 0 24px;text-wrap:balance;overflow-wrap:normal;word-break:normal}
html body .hero.detail-hero p{font-size:17px;line-height:1.6;max-width:560px;margin:0}
html body .hero.detail-hero .action{margin-top:30px}
html body .hero.detail-hero>img{position:absolute;inset:0 0 0 50%;width:50%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center;display:block}
html body .hero.detail-hero.portrait-hero>img{object-position:center 18%}
@media(max-width:800px){
html body .hero.detail-hero{display:flex;flex-direction:column;align-items:stretch;height:auto;min-height:0}
html body .hero.detail-hero .hero-content{order:1;width:100%;padding:40px 6% 44px}
html body .hero.detail-hero h1{font-size:clamp(32px,5.5vw,44px);line-height:1.17;max-width:620px;margin:16px 0 20px}
html body .hero.detail-hero p{font-size:16px}
html body .hero.detail-hero::after{position:relative;inset:auto;order:2;width:100%;aspect-ratio:3/2;flex:none}
html body .hero.detail-hero>img{position:relative;inset:auto;order:2;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:3/2;object-fit:cover}
html body .hero.detail-hero.portrait-hero>img{aspect-ratio:1/1;object-position:center 12%}
}

/* Shared opening layout for the home, photography and wedding-film pages. */
html body .hero:is(.home-hero, .detail-hero),
html body .film-hero {
  --rf-hero-leading: 1.13;
  --rf-hero-title: clamp(34px, 3.1vw, 56px);
  --rf-hero-title-lines: 3;
  --rf-hero-copy-space: 6.4rem;
  --rf-hero-start: max(5vw, calc((100vw - 1400px) / 2));
  --rf-hero-end: clamp(28px, 3vw, 64px);
  --rf-hero-top: clamp(62px, 5vw, 96px);
  min-height: 640px;
  height: auto;
  background-color: #202426;
}

html body .hero:is(.home-hero, .detail-hero) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

html body .film-hero { padding: 0; }

html body .film-hero > .film-hero-inner {
  width: 100%;
  max-width: none;
  min-height: inherit;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

html body .hero:is(.home-hero, .detail-hero) > .hero-content,
html body .film-hero .film-hero-inner > div:first-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 234px)) minmax(0, 1fr);
  grid-template-rows: 1rem
    minmax(calc(var(--rf-hero-title) * var(--rf-hero-leading) * var(--rf-hero-title-lines)), max-content)
    minmax(var(--rf-hero-copy-space), max-content)
    minmax(54px, max-content) minmax(54px, max-content);
  align-content: start;
  align-items: start;
  align-self: start;
  gap: 12px 14px;
  box-sizing: border-box;
  width: 100%;
  padding: var(--rf-hero-top) var(--rf-hero-end) 36px var(--rf-hero-start);
}

html body :is(.home-hero, .detail-hero, .film-hero)
  :is(.hero-content, .film-hero-inner > div:first-child) > :is(.eyebrow, h1, p) {
  grid-column: 1 / -1;
  margin: 0;
}

html body :is(.home-hero, .detail-hero, .film-hero)
  :is(.hero-content, .film-hero-inner > div:first-child) > .eyebrow {
  grid-row: 1;
  line-height: 1rem;
}

html body :is(.home-hero, .detail-hero, .film-hero)
  :is(.hero-content, .film-hero-inner > div:first-child) > h1 {
  grid-row: 2;
  font: 700 var(--rf-hero-title)/var(--rf-hero-leading) Manrope, Arial, sans-serif;
  letter-spacing: -.027em;
  max-width: 620px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html body :is(.home-hero, .detail-hero, .film-hero)
  :is(.hero-content, .film-hero-inner > div:first-child) > p {
  grid-row: 3;
  color: #eee;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 560px;
}

html body :is(.home-hero, .detail-hero, .film-hero)
  :is(.hero-content, .film-hero-inner > div:first-child) > .action {
  grid-row: 4;
  grid-column: 1;
  box-sizing: border-box;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 12px 16px;
  gap: 10px;
  line-height: 1.35;
}

html body :is(.home-hero, .detail-hero, .film-hero)
  :is(.hero-content, .film-hero-inner > div:first-child) > .action:nth-of-type(2) { grid-column: 2; }
html body :is(.home-hero, .detail-hero, .film-hero)
  :is(.hero-content, .film-hero-inner > div:first-child) > .action:nth-of-type(3) { grid-row: 5; }

html body .hero.home-hero > img.home-hero-photo {
  position: absolute;
  inset: 0 0 0 50%;
  width: 50%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

html body .film-hero .film-intro {
  align-self: stretch;
  border: 0;
  border-inline-start: 1px solid #ffffff45;
  padding: var(--rf-hero-top) var(--rf-hero-start) 36px var(--rf-hero-end);
}

@media (max-width: 960px) {
  html body .hero:is(.home-hero, .detail-hero),
  html body .film-hero {
    --rf-hero-title: clamp(30px, 6.3vw, 44px);
    --rf-hero-title-lines: 4;
    --rf-hero-copy-space: 8rem;
    --rf-hero-start: 6%;
    --rf-hero-end: 6%;
    --rf-hero-top: 36px;
    min-height: 0;
  }

  html body .hero:is(.home-hero, .detail-hero),
  html body .film-hero > .film-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  html body .hero:is(.home-hero, .detail-hero) > .hero-content { order: 1; }

  html body .hero:is(.home-hero, .detail-hero) > img,
  html body .hero.detail-hero::after {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    flex: none;
  }

  html body .hero.detail-hero.portrait-hero > img,
  html body .hero.home-hero > img.home-hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  html body .film-hero .film-intro {
    border-inline-start: 0;
    border-block-start: 1px solid #ffffff45;
    padding: 30px var(--rf-hero-start);
  }
}

/* Display headings across the public pages. */
html body .heading { letter-spacing: -.036em; }
html body .gift-offer h2,
html body .gift-product h2 { letter-spacing: -.024em; }