.header{position:sticky;top:0;z-index:6}
.header.is-compact{box-shadow:0 4px 14px rgb(36 31 25 / 14%)}
.header.is-compact .nav{height:82px}
.header.is-compact .brand img{max-height:56px;width:auto}
html{scroll-padding-top:118px}
@media(max-width:850px){
  html{scroll-padding-top:91px}
  .header.is-compact .nav{height:64px}
  .header.is-compact .brand img{max-height:48px}
  .header .nav.menu-enhanced nav{top:100%}
}
.skip-link{position:fixed;left:1rem;top:1rem;transform:translateY(-200%);z-index:10;background:white;padding:1rem}
.skip-link:focus{transform:none}
.menu-toggle[hidden]{display:none}
@media(max-width:850px){.nav:not(.menu-enhanced){height:auto;flex-wrap:wrap;padding-block:14px}.nav:not(.menu-enhanced) nav{display:flex;position:static;flex-direction:row;flex-wrap:wrap;padding:0;box-shadow:none}}
.entry-tags,.event-info,.callouts{display:flex;flex-wrap:wrap;gap:.65rem}
.entry-tags a{padding:.3rem .55rem;border:1px solid var(--border);border-radius:3px;color:var(--green);font-size:.8rem}
.entry-tags a:hover,.prose a{text-decoration:underline;text-underline-offset:.15em}
.filters a[aria-current]{background:var(--green);border-color:var(--green);color:white}
.callouts{display:grid;gap:1.25rem}
.callout.no-cover{display:block}
.callout-copy h2.callout-title{font-size:clamp(32px,4vw,52px);margin:0 0 .5rem;letter-spacing:-.025em}
.event-info{margin-block:1rem;gap:1rem}
.event-info dt{font-weight:bold}
.event-info dd{margin:0}
.closed{padding:.75rem;background:#eee9de;font-weight:bold}

.album-viewer-stage{--album-image-height:min(64dvh,680px);min-height:var(--album-image-height);position:relative;touch-action:pan-y pinch-zoom}
.album-viewer-stage > img{height:var(--album-image-height)}
.album-viewer-stage img[hidden]{display:none}
.album-viewer-message{position:absolute;top:calc(var(--album-image-height) / 2);left:50%;transform:translate(-50%,-50%);margin:0;padding:.75rem 1rem;background:#242720;color:white;text-align:center;pointer-events:none}
.album-viewer-controls{flex-wrap:wrap;align-items:center}
.album-viewer-controls button,.album-viewer-bar button{min-height:44px}
.brand img{display:block;width:clamp(132px,15vw,171px);height:auto;max-height:74px;border-radius:0}
.footer-brand .brand{display:inline-flex}

/* Kezdőlap */
.home-page, .subpage {
  --content-panel: #e9ebdf;
  --content-radius: 12px;
  color: #242e25;
}
:is(.home-page, .subpage) .wrap, .subpage + footer .wrap {
  width: min(1260px, calc(100% - clamp(40px, 10vw, 144px)));
}
:is(.home-page, .subpage) .button { border-radius: 5px; font-size: 14px; padding: 13px 18px; gap: 16px; }
.featured-home .callout {
  border-radius: var(--content-radius);
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--content-panel);
}
.featured-home .callout-media { min-height: 0; }
.featured-home .callout-copy { padding: clamp(18px, 3vw, 40px); }
.featured-home .callout-title {
  margin: 0 0 .35em;
  font-size: clamp(27px, 3.6vw, 48px);
  line-height: 1.08;
}
.featured-home .callout-media:focus-visible,
.latest .entry-media:focus-visible { outline-offset: -4px; }
.latest .entry {
  overflow: hidden;
  border-radius: var(--content-radius);
}
.latest .entry-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 20px 20px;
}
.latest .entry-copy h3 {
  order: -1;
  margin: 0 0 .35em;
  line-height: 1.12;
  font-size: clamp(23px, 2.4vw, 34px);
}
.latest .entry-copy .label { margin-bottom: 8px; }
.latest .entry-copy > p:not(.label) {
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.home-hero { padding-top: clamp(28px, 4vw, 54px); }
.home-hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(24px, 3.4vw, 46px);
}
.home-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(40px, 5.1vw, 76px);
  letter-spacing: -.047em;
  line-height: 1.01;
}
.home-hero-intro {
  border-inline-start: 1px solid var(--border);
  padding-inline-start: clamp(24px, 4vw, 56px);
}
.home-hero-intro > p {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.5;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}
.home-hero-photo { overflow: hidden; border-radius: var(--content-radius); }
.home-hero-photo img {
  display: block;
  width: 100%;
  height: clamp(230px, 32vw, 420px);
  object-fit: cover;
  object-position: 50% 50%;
}
.home-section { padding-top: clamp(26px, 3.5vw, 48px); }
.home-page h2 { font-size: clamp(33px, 4.25vw, 61px); letter-spacing: -.045em; }
.home-page .section-heading {
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 clamp(14px, 2vw, 24px);
}
.home-page .section-heading .under-link { margin: 0; }
.featured-home .callout-copy p { margin-bottom: 14px; }
.featured-home .event-info { margin-block: .8rem; }
.featured-home .event-info dt { font-size: .82rem; }
.featured-home .event-info dd { font-size: .9rem; }
.featured-home .no-cover .callout-copy { padding-block: clamp(16px, 2vw, 24px); }
.featured-home .no-cover .callout-title { font-size: clamp(25px, 2.6vw, 36px); }
.latest .entry-grid { gap: clamp(14px, 2vw, 24px); }
.latest .entry-media { aspect-ratio: 16 / 9; }
.home-about { margin-block: clamp(28px, 4vw, 52px); border-top: 1px solid var(--border); }
.home-about .intro-content { align-items: start; gap: clamp(22px, 4vw, 58px); padding: 0; }
.home-about .intro-copy { max-width: 60ch; font-size: 1rem; }
.home-about .intro-copy p:last-child { margin-bottom: 0; }
.home-contact { padding-block: clamp(24px, 3.5vw, 48px); }
.home-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 4vw, 52px); }
.home-contact h2, .home-contact p { margin: 0; }
.home-contact p { max-width: 50ch; }
.home-contact .button { margin-left: auto; }

@media (min-width: 601px) {
  .featured-home .no-cover .callout-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
  }
  .featured-home .no-cover .callout-copy > :not(.button) { grid-column: 1; }
  .featured-home .no-cover .callout-copy > .button { grid-column: 2; grid-row: 1 / span 3; }
  .featured-home .no-cover .callout-copy > p { margin-bottom: 0; }
}
@media (max-width: 850px) {
  .home-hero-heading, .home-about .intro-content { grid-template-columns: 1fr; }
  .home-hero-intro { border-inline-start: 0; padding-inline-start: 0; max-width: 56ch; }
  .home-contact .button { margin-left: 0; }
}
@media (max-width: 600px) {
  .home-hero h1 { font-size: clamp(35px, 9vw, 51px); }
  .home-hero-photo img { height: clamp(190px, 59vw, 320px); }
  .featured-home .callout { grid-template-columns: 1fr; }
  .featured-home .callout-media { aspect-ratio: 16 / 9; }
  .latest .entry-grid { grid-template-columns: 1fr; }
}

/* Listaoldalak */
.listing-heading {
  padding-block: clamp(30px, 4vw, 56px) clamp(20px, 2.5vw, 34px);
}
.listing-heading-inline {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 48px);
}
.listing-heading h1, .subpage .detail-heading h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(38px, 5.15vw, 74px);
  line-height: 1.04;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.listing-heading .sub-intro { margin-top: 12px; font-size: clamp(16px, 1.6vw, 22px); }
.listing-heading-inline .sub-intro {
  margin: 0;
  padding-inline-start: clamp(20px, 3vw, 42px);
  border-inline-start: 1px solid var(--border);
}
.subpage .archive-content { padding-block: 0 clamp(38px, 5vw, 72px); }
.subpage .filters { gap: 8px; }
.subpage .filters a { padding: 9px 14px; border-radius: 8px; }
.program-feed { display: grid; gap: 14px; margin-top: 24px; }
.program-feed .entry {
  display: grid;
  grid-template-columns: minmax(0, 29%) minmax(0, 1fr);
  align-items: center;
  border-radius: var(--content-radius);
  background: transparent;
}
.program-feed .entry-media {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: clamp(125px, 13vw, 185px);
  border-radius: var(--content-radius) 0 0 var(--content-radius);
}
.program-feed .entry-media img { position: absolute; inset: 0; }
.program-feed .entry-media:focus-visible, .current-list .callout-media:focus-visible { outline-offset: -4px; }
.program-feed .entry-copy { min-width: 0; padding: clamp(16px, 2.4vw, 30px); }
.program-feed h3 {
  margin: 0 0 9px;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.program-feed .label { margin: 0 0 7px; color: var(--red); font-size: .82rem; letter-spacing: .055em; }
.program-feed .entry-copy > p:not(.label) { margin-bottom: 12px; line-height: 1.55; }
.program-feed .entry-text { display: block; }
.subpage .entry-tags a { border-radius: 8px; }

.current-list .callout, .current-empty {
  border-radius: var(--content-radius);
  background: var(--content-panel);
  padding: clamp(16px, 2vw, 28px);
}
.current-list .callout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
}
.current-list .callout-media {
  min-height: 0;
  aspect-ratio: 8 / 5;
  border-radius: var(--content-radius);
  overflow: hidden;
}
.current-list .callout-copy { padding: 0; }
.current-list .callout-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}
.current-list .callout-title > a:is(:hover, :focus-visible) { color: var(--red); }
.current-list .event-info { border-block: 1px solid var(--border); padding-block: 10px; }
.current-list .event-info dt { font-size: .82rem; }
.current-list .prose { font-size: 1rem; line-height: 1.65; }
.current-empty p { margin: 0; }

/* Részletoldalak */
.subpage .detail-heading { padding-block: clamp(24px, 3.5vw, 50px) clamp(20px, 2.5vw, 32px); }
.subpage .crumb { margin-bottom: clamp(16px, 2.4vw, 30px); }
.detail-heading .entry-tags { margin-bottom: 12px; }
.detail-heading .entry-tags a { background: var(--content-panel); border: 0; color: var(--red); font-weight: 700; }
.subpage .detail-heading .callout-date { margin: 12px 0 0; font-size: 1rem; }
.subpage .detail-content { padding-bottom: clamp(22px, 3.4vw, 46px); }
.subpage .detail-with-photo { gap: clamp(20px, 3.5vw, 50px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); }
.subpage .detail-copy { font-size: 1rem; overflow-wrap: anywhere; }
.detail-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.detail-links a { color: #242e25; font-weight: 600; }
.detail-links a:hover, .detail-link-icon { color: var(--red); }
.detail-link-icon { display: inline-block; margin-inline-start: .18em; }
.subpage .detail-lead { font-size: clamp(21px, 2.35vw, 32px); color: #242e25; line-height: 1.34; }
.subpage .detail-photo img, .subpage .detail-gallery a { border-radius: var(--content-radius); overflow: hidden; }
.subpage .detail-photo img { max-height: 480px; }
.subpage .detail-gallery {
  border-top: 1px solid var(--border);
  padding-block: clamp(20px, 3vw, 36px) clamp(30px, 5vw, 68px);
}
.subpage .detail-gallery h2 { letter-spacing: -.045em; }
.subpage .detail-gallery figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.subpage .detail-gallery .entry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 22px); }

.subpage + footer { background: #263d30; color: #fbfaf6; padding-block: clamp(24px, 3vw, 38px) 18px; }
.subpage + footer .footer-brand .brand { background: #fbfaf6; border-radius: 8px; padding: 6px 12px; }
.subpage + footer :is(p, span, .footer-bottom) { color: #e1e7dc; }
.subpage + footer .footer-bottom { margin-top: 20px; border-color: rgb(255 255 255 / 26%); }

@media (max-width: 850px) {
  .listing-heading-inline { display: block; }
  .listing-heading-inline .sub-intro { margin-top: 12px; padding: 0; border: 0; }
  .subpage .detail-with-photo { grid-template-columns: 1fr; }
  .subpage .detail-gallery .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .program-feed .entry, .current-list .callout { display: block; }
  .program-feed .entry-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: var(--content-radius) var(--content-radius) 0 0;
  }
  .current-list .callout-media { aspect-ratio: 16 / 9; margin-bottom: 16px; }
}
