/* A főoldal arculata minden aloldalon: közös méretek, felületek és vezérlők. */
body.site-subpage {
  --section-light: #fff;
  --section-dark: #202b3b;
  --surface: #fff;
  --heading: var(--party-ink);
  --heading-secondary: #1b1e20;
  --copy: #494d4b;
  --muted: #565e5c;
  --edge: var(--party-line);
  --section-space: clamp(3rem, 5.5vw, 6.5rem);
  --layout-gap: clamp(2rem, 5vw, 5.5rem);
  --header-height: 100px;
  color: var(--heading-secondary);
  background: #fff;
}
.site-subpage .partners-main { background: #fff; }
html:has(> body.site-subpage) { scroll-padding-top: 124px; }
.site-subpage :is(section[id],form[id],h2[id]) { scroll-margin-top: 0; }
.site-subpage .theme-soft { --surface: var(--party-soft); background: var(--surface); }
.site-subpage .theme-dark {
  --surface: #202b3b;
  --heading: var(--party-gold);
  --heading-secondary: #f2f3f5;
  --copy: #d3d7df;
  --muted: #d3d7df;
  --edge: #ffffff26;
  --accent-ink: var(--party-gold);
  --accent-amber: var(--party-gold);
  background: var(--party-dark-gradient);
  color: var(--heading-secondary);
}
.site-subpage main :is(h1,h2) {
  color: var(--heading);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.site-subpage main h1 { font: 700 var(--type-display)/1.12 var(--site-font); }
.site-subpage main h2 { font: 700 var(--type-section)/1.15 var(--site-font); }
.site-subpage main :is(h1,h2) em,
.site-subpage .theme-dark :is(h1,h2) em {
  color: var(--heading-secondary);
  font: italic 1.05em/1.12 Georgia,serif;
}
.site-subpage main h1 em { display: block; }
.site-subpage main :is(p,dd,li) { overflow-wrap: break-word; }
.site-subpage :is(.partners-intro p,.bio-copy p:not(.inner-kicker),.detail-section p,.duo-lead,.package-roster h3+p,.package-inquiry p,.story-chapters p,.package-sequence p,.duo-program p,.bio-original p) {
  color: var(--copy);
  font-size: var(--type-body);
  line-height: 1.65;
}
.site-subpage :is(.inner-kicker,.gallery-copy p.gallery-label,.partners-intro p.inner-kicker) {
  color: var(--muted);
  font: 700 var(--type-caption)/1.5 var(--site-font);
  letter-spacing: .13em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.site-subpage :is(.inner-kicker,.gallery-label)::before { background: var(--party-gold); }
.site-subpage :is(.detail-back a,.detail-text-link,.album-link,.package-text-link,.bio-more,.duo-album-link,.partner-website,.story-chapters a) {
  color: var(--accent-ink);
  font-size: var(--type-control);
  font-weight: 700;
  text-underline-offset: .25em;
  overflow-wrap: anywhere;
}
.site-subpage :is(.detail-text-link,.album-link,.package-text-link,.bio-more,.duo-album-link,.partner-website,.story-chapters a):is(:hover,:focus-visible) {
  color: var(--heading-secondary);
}
.site-subpage :focus-visible { outline: 2px solid var(--party-ink); outline-offset: 4px; }
.site-subpage .theme-dark :focus-visible { outline-color: var(--party-gold); }

/* Világos lezárás a kék lábléc előtt, hozzá illő szövegszínekkel. */
.site-subpage :is(.gallery-album,.detail-section,.duo-program,.tech-rental).theme-light {
  --surface: #fff;
  --heading: var(--party-ink);
  --heading-secondary: #1b1e20;
  --copy: #494d4b;
  --muted: #565e5c;
  --edge: var(--party-line);
  --accent-ink: var(--party-ink);
  --accent-amber: var(--party-gold);
  background: var(--surface);
  color: var(--heading-secondary);
}
.site-subpage :is(.duo-program,.tech-rental).theme-light {
  border: 1px solid var(--party-line);
  border-radius: 16px;
}
.site-subpage :is(.duo-program,.tech-rental).theme-light :is(h3,.gear-type) { color: var(--party-ink); }
.site-subpage :is(.duo-program,.tech-rental).theme-light :is(h3 em,h4) { color: var(--heading-secondary); }
.site-subpage :is(.duo-program,.tech-rental).theme-light p { color: var(--copy); }
.site-subpage .theme-light .album-heading { border-color: var(--party-line); }
.site-subpage .gallery-album.theme-light .album-heading h2 em { color: var(--heading-secondary); }

/* Leszámítható felső hely a fix fejlécnek, egységes oldalsó és szekciótérköz. */
.site-subpage :is(.partners-hero,.bio-intro) {
  background: #fff;
  color: #1b1e20;
  gap: var(--layout-gap);
  padding: calc(var(--header-height) + var(--section-space)) var(--gutter) var(--section-space);
}
.site-subpage :is(.detail-section,.partner-directory,.gallery-album,.bio-story,.bio-original,.duo-feature,.package-roles,.package-evening,.package-inquiry) {
  padding: var(--section-space) var(--gutter);
  border: 0;
  background: var(--surface);
}
.site-subpage :is(.detail-section,.partner-directory,.gallery-album,.bio-story,.bio-original,.duo-feature,.package-roles,.package-evening,.package-inquiry).theme-dark {
  background: var(--party-dark-gradient);
}
.site-subpage :is(.gallery-intro,.package-hero,.package-inquiry,.bio-story)::before { display: none; }
.site-subpage .detail-split { gap: var(--layout-gap); }
.site-subpage :is(.partners-intro,.bio-copy) { min-width: 0; }
.site-subpage .partners-intro > p:not(.inner-kicker) { margin-block: 1.3rem 1.75rem; }
.site-subpage .bio-copy .bio-lead,
.site-subpage .package-hero .package-lead { font-size: var(--type-lead); }
.site-subpage :is(.partners-photo,.detail-photo,.package-cover img,.package-party img) { border-radius: 16px; }
.site-subpage .partners-photo { filter: none; }
.site-subpage .detail-photo { aspect-ratio: 3 / 2; max-height: none; }
.site-subpage .partner-portrait-link {
  width: min(100%, 36rem);
  justify-self: center;
  background: var(--party-soft);
  box-shadow: 0 12px 32px #1b1e200a;
}
.site-subpage .partner-portrait-link .detail-photo { aspect-ratio: auto; height: clamp(20rem,33vw,31rem); object-fit: contain; }
.site-subpage .bio-portrait svg { border-color: #fff; }
.site-subpage .gallery-cover .gallery-photo { padding: 0; border-radius: 16px; background: #fff; }
.site-subpage .gallery-cover img { border-radius: 16px; }
.site-subpage :is(.gallery-actions,.package-actions,.bio-actions,.detail-actions,.duo-actions) { gap: 1rem 1.5rem; }

/* Ugyanaz az arany kapszulagomb, mint a főoldalon. */
.site-subpage .partner-button,
.site-theme #lablec .footer-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 50px;
  max-width: 100%;
  padding: .85rem 1.65rem;
  border: 1px solid var(--party-button);
  border-radius: 999px;
  background: var(--party-button);
  color: #fff;
  box-shadow: none;
  font: 700 var(--type-control)/1.35 Arial,sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background .2s,box-shadow .2s,transform .2s;
}
.site-subpage .partner-button:is(:hover,:focus-visible),
.site-theme #lablec .footer-request:is(:hover,:focus-visible) {
  background: var(--party-button-hover);
  border-color: var(--party-button-hover);
  color: #fff;
  box-shadow: 0 7px 18px #86602018;
  transform: translateY(-2px);
}
.site-subpage .partner-button:disabled { opacity: .6; transform: none; cursor: wait; }
.site-subpage .detail-actions [hidden] { display: none; }

/* Partnerkártyák és szűrők. */
.site-subpage .directory-heading { margin-bottom: 2rem; gap: 1.5rem; }
.site-subpage .partner-list { gap: clamp(1rem,2vw,2rem); }
.site-subpage .partner-card {
  background: #fff;
  color: #1b1e20;
  border: 1px solid var(--edge);
  box-shadow: 0 8px 24px #1b1e2006;
  overflow: hidden;
}
.site-subpage .partner-info { padding: clamp(1.25rem,2.2vw,2rem); }
.site-subpage .partner-info h3 { font-size: var(--type-subheading); }
.site-subpage .partner-info h3 a { color: #1b1e20; }
.site-subpage .partner-role { color: var(--party-ink); }
.site-subpage .partner-filters { border-color: var(--edge); gap: 4px; }
.site-subpage .partner-filters button[aria-pressed="true"] { background: var(--party-button); color: #fff; border-color: var(--party-button); }
.site-subpage .partner-filters button:not([aria-pressed="true"]):hover { background: var(--party-tint); color: var(--party-ink); }
.site-subpage .partner-card a:focus-visible { outline-color: var(--party-ink); }

/* Nyerő Páros, bemutatkozás és referenciafelületek. */
.site-subpage :is(.package-roster,.package-roster article+article,.duo-credits,.duo-credits>div,.detail-lines div,.story-note,.bio-original details,.album-heading) { border-color: var(--edge); }
.site-subpage .package-cover figcaption { color: var(--copy); }
.site-subpage .package-cover figcaption span:first-child { color: #1b1e20; }
.site-subpage .package-roster { margin-top: 2rem; padding-top: 2rem; }
.site-subpage .package-sequence li { border-color: #c9a15a66; }
.site-subpage .package-sequence li:last-child { border-color: transparent; }
.site-subpage .package-inquiry { background: #fff; }
.site-subpage .duo-program { padding: clamp(1.5rem,3.5vw,3.75rem); background: var(--party-dark-gradient); }
.site-subpage .duo-program h3 { color: var(--party-gold); }
.site-subpage .duo-program h3 em { color: #f2f3f5; }
.site-subpage .duo-photos img { background: #fff; border-color: var(--party-line); }
.site-subpage .bio-story h3 { color: #f2f3f5; }
.site-subpage .story-cover p { color: #eeebea; }
.site-subpage .story-cover em { color: var(--party-gold); }
.site-subpage .detail-lines div { padding-block: 1rem; }
.site-subpage .detail-lines dt { color: var(--accent-ink); }

/* Technikai képek fehér felületen; a specifikációk jól olvashatóak maradnak. */
.site-subpage .tech-deck { background: var(--party-soft); padding: clamp(1.5rem,3vw,3rem); }
.site-subpage .tech-deck img { mix-blend-mode: multiply; }
.site-subpage .tech-deck figcaption { border-color: var(--party-line); }
.site-subpage .tech-deck span { color: var(--copy); }
.site-subpage .gear-grid { gap: clamp(1rem,2vw,2rem); margin-top: 2rem; }
.site-subpage .gear-grid li { background: #fff; border-color: var(--party-line); padding: clamp(1.25rem,2.5vw,2.5rem); }
.site-subpage .gear-grid .gear-type { color: var(--party-ink); }
.site-subpage .tech-rental { background: var(--party-dark-gradient); color: #fff; margin-top: 2rem; }
.site-subpage .tech-rental .gear-type { color: var(--party-gold); }
.site-subpage .tech-rental p { color: #d3d7df; }

/* Ajánlatkérő és költségtervező: azonos mezők, kényelmes érintési felületek. */
.site-subpage .contact-intro { padding-bottom: calc(var(--section-space) + 1.5rem); }
.site-subpage .contact-intro .contact-methods {
  --channel-ink: var(--party-ink);
  --channel-copy: #494d4b;
  --channel-line: var(--party-line);
}
.site-subpage .contact-intro .wedding-facebook { color: var(--party-ink); }
.site-subpage .contact-layout { padding: 0 var(--gutter) var(--section-space); background: var(--party-soft); }
.site-subpage .contact-layout .quote-form {
  margin-top: -1.5rem;
  border-color: var(--party-line);
  border-radius: 20px;
  box-shadow: 0 12px 36px #1b1e2008;
  padding: clamp(1.25rem,3.5vw,3.5rem);
}
.site-subpage .quote-form legend { color: var(--party-ink); border-color: var(--party-line); }
.site-subpage :is(.quote-form,.budget-sheet) :is(input,select,textarea):not([type=checkbox]) {
  min-height: 50px;
  background: #fff;
  border: 1px solid #b9c0c4;
  border-radius: 10px;
  color: #1b1e20;
  font: 400 1rem/1.4 var(--site-font);
}
.site-subpage :is(.quote-form,.budget-sheet) :is(input,select,textarea):focus-visible { outline: 2px solid var(--party-ink); outline-offset: 2px; }
.site-subpage .quote-form .form-help { color: var(--copy); }
.site-subpage .budget-sheet { max-width: 70rem; }
.site-subpage .budget-sheet h2 { margin-bottom: 1.5rem; }
.site-subpage .budget-sheet table { background: #fff; }
.site-subpage .budget-sheet :is(th,td) { padding: .85rem; border-color: var(--party-line); }
.site-subpage .budget-sheet thead { color: #fff; background: #263d58; }
.site-subpage .budget-sheet tfoot { background: #e9edf1; color: #1b1e20; font-weight: 700; }
.site-subpage .thank-you-hero { grid-template-columns: minmax(0,1fr); text-align: center; min-height: min(80svh,760px); }
.site-subpage .thank-you-hero .partners-intro { width: min(100%,48rem); margin-inline: auto; }
.site-subpage .thank-you-hero p { margin-inline: auto; }

/* Egy mobil fejléc, azonos gombméretek és nyitási viselkedés. */
@media(max-width:1100px) {
  html:has(> body.site-subpage) { scroll-padding-top: 98px; }
  body.site-subpage { --header-height: 82px; }
  .site-subpage #cinematic-site-header-v70 .mobile-nav-toggle { width: 42px; height: 42px; padding: 0; border-radius: 6px; flex: 0 0 42px; }
  .site-subpage #cinematic-site-header-v70 .mobile-nav-toggle span { display: none; }
  .site-subpage #cinematic-site-header-v70 .mobile-nav-toggle svg { display: block; }
}
@media(max-width:800px) {
  .site-subpage :is(.partners-hero,.bio-intro,.gallery-intro,.package-evening) { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .site-subpage .partners-intro { max-width: 42rem; }
  .site-subpage :is(.partners-photo,.detail-hero>.detail-photo) { max-height: 24rem; }
  .site-subpage .partner-portrait-link { width: min(100%,28rem); }
  .site-subpage .partner-portrait-link .detail-photo { height: clamp(20rem,70vw,28rem); }
  .site-subpage .partner-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-subpage .package-roster { gap: 2rem; }
}
@media(max-width:600px) {
  body.site-subpage { --gutter: max(20px,5vw); --section-space: 3rem; }
  .site-subpage main h1 { font-size: clamp(2rem,8.5vw,2.8rem); }
  .site-subpage main h2 { font-size: clamp(1.75rem,7.4vw,2.25rem); }
  .site-subpage #cinematic-site-header-v70 .header-inner { gap: 6px; padding-inline: 12px; flex-wrap: nowrap; }
  .site-subpage #cinematic-site-header-v70 .brand { width: 108px; flex: 0 1 108px; }
  .site-subpage #cinematic-site-header-v70 .header-booking { min-width: 0; min-height: 46px; height: auto; padding: 12px; font-size: 12px; }
  .site-subpage #cinematic-site-header-v70 .mobile-nav-toggle { width: 38px; flex-basis: 38px; }
  .site-subpage .partner-list { grid-template-columns: minmax(0,1fr); }
  .site-subpage .partner-filters { gap: 6px; }
  .site-subpage .partner-filters button { border-color: var(--party-line); }
  .site-subpage .directory-heading { align-items: flex-start; }
  .site-subpage .package-roster { grid-template-columns: minmax(0,1fr); }
  .site-subpage .package-roster article { padding: 0; }
  .site-subpage .package-roster article+article { border: 0; border-top: 1px solid var(--party-line); padding: 2rem 0 0; }
  .site-subpage .gear-grid li { grid-template-columns: 5rem minmax(0,1fr); gap: 1rem; padding: 1rem; }
  .site-subpage .gear-grid img { height: 7rem; }
  .site-subpage .detail-lines div { grid-template-columns: minmax(0,1fr); gap: .35rem; }
  .site-subpage .budget-sheet :is(th,td) { padding: .6rem .35rem; font-size: .875rem; }
  .site-subpage .budget-sheet table { background: transparent; }
  .site-subpage .budget-sheet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-subpage .budget-sheet :is(tbody,tfoot) { display: block; }
  .site-subpage .budget-sheet tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; padding: 1rem; margin-bottom: .75rem; background: #fff; border: 1px solid var(--party-line); border-radius: 14px; }
  .site-subpage .budget-sheet :is(th,td) { display: block; width: auto; padding: 0; border: 0; }
  .site-subpage .budget-sheet th:first-child { grid-column: 1 / -1; width: auto; font-size: 1rem; }
  .site-subpage .budget-sheet td::before { content: attr(data-label); display: block; margin-bottom: .4rem; color: #565e5c; font-size: .8125rem; font-weight: 600; }
  .site-subpage .budget-sheet input { padding: .6rem; }
  .site-subpage .budget-sheet tfoot { border-radius: 14px; }
  .site-subpage .budget-sheet tfoot tr { background: #e9edf1; }
  .site-subpage .budget-sheet output { font-size: 1rem; overflow-wrap: anywhere; }
  .site-subpage .contact-layout .quote-form { padding: 1.25rem; }
}
@media(prefers-reduced-motion:reduce) {
  .site-subpage .partner-button,.site-theme #lablec .footer-request { transition: none; }
  .site-subpage .partner-button:is(:hover,:focus-visible),.site-theme #lablec .footer-request:is(:hover,:focus-visible) { transform: none; }
}
