:root{--ink:#262722;--muted:#696b60;--cream:#f8f6ef;--red:#ad3c38;--green:#364d3c;--border:#deded3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}.wrap{width:min(1360px,calc(100% - 112px));margin:auto}.header{background:#fbfaf6;border-bottom:1px solid #e8e5dd}.nav{height:105px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:8px}.brand img{width:69px;height:69px;object-fit:contain;border-radius:50%}.brand strong{font:italic 27px Georgia,serif;letter-spacing:-1.7px}.brand small{display:block;font-size:8px;letter-spacing:1.2px;margin-top:4px;color:#777}.nav nav{display:flex;align-items:center;gap:38px;font-size:13px;font-weight:600}.nav nav>a:not(.nav-contact):hover,.text-link:hover,.under-link:hover{color:var(--red)}.nav-contact{border:1px solid #bebdb3;border-radius:3px;padding:16px 20px}.nav-contact span{margin-left:20px;color:var(--red)}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:620px}.hero-text{padding:96px 8% 56px max(56px,calc((100vw - 1360px)/2));display:flex;flex-direction:column;align-items:flex-start}.eyebrow,.section-kicker,.label{font-size:10px;letter-spacing:2px;font-weight:700}.eyebrow{display:flex;align-items:center;gap:10px;color:#8b403b}.eyebrow span{width:27px;height:2px;background:var(--red)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:clamp(51px,5.1vw,78px);line-height:1.05;letter-spacing:-3.4px;margin:30px 0 24px;max-width:650px}h1 em,h2 em{font-weight:400;color:var(--red)}.hero-text>p{max-width:470px;color:#5d6057;font-size:16px;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:18px}.button{display:inline-flex;justify-content:space-between;align-items:center;gap:34px;padding:18px 20px;font-size:12px;font-weight:700;letter-spacing:.15px;border-radius:2px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.primary{background:var(--red);color:white}.primary:hover{background:#91312e}.text-link,.under-link{font-size:12px;font-weight:700}.text-link span,.under-link span{margin-left:12px;color:var(--red)}.hero-note{display:flex;align-items:center;gap:14px;margin-top:auto;padding-top:60px;color:#77796c;font-size:11px;line-height:1.5}.hero-note b{color:#3c4237}.flower{font-size:39px;color:#c98066}.hero-photo{position:relative;min-height:620px;overflow:hidden;background:#93816c}.hero-photo img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:50% 48%}.hero-photo:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(29,26,20,.42))}.photo-label{position:absolute;z-index:1;left:40px;bottom:38px;color:white}.photo-label span{display:block;font-size:9px;letter-spacing:2px;font-weight:bold;margin-bottom:8px}.photo-label strong{font:italic 26px Georgia,serif}.photo-index{position:absolute;z-index:1;right:35px;bottom:42px;color:white;font-size:10px;letter-spacing:2px}.ribbon{background:#e8e7d9}.ribbon .wrap{min-height:70px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:10px;font-weight:bold;letter-spacing:1.8px;color:#515f50}.ribbon i{font-style:normal;color:#b25c50;font-size:17px}.intro,.stories{padding-top:125px;padding-bottom:125px}.section-kicker{display:flex;gap:20px;align-items:center;color:#9e5148}.section-kicker .line{height:1px;background:#d4cfc2;flex:1}.intro-content{display:grid;grid-template-columns:1fr 1fr;gap:10%;padding-top:50px}h2{font-size:clamp(43px,4.5vw,65px);line-height:1.1;letter-spacing:-2.2px;margin-bottom:0}.intro-copy{max-width:520px;color:#67695f;line-height:1.85;font-size:15px}.intro-copy .lead{font-family:Georgia,serif;color:#30362e;font-size:22px;line-height:1.5}.under-link{display:inline-block;margin-top:16px;border-bottom:1px solid #bc6a60;padding-bottom:8px;color:#343930}.focus{padding:110px 0 120px;background:#efeee4}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin:48px 0}.section-heading p{max-width:360px;color:#6c6d63;font-size:14px;line-height:1.8;margin:0}.focus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.focus-card{min-height:325px;padding:28px 30px;display:flex;flex-direction:column}.card-red{background:#b45049;color:white}.card-cream{background:#fbfaf4}.card-green{background:#dbe2d4}.card-number{font-size:10px;letter-spacing:1px;opacity:.7}.icon{font-size:45px;margin-top:26px}.focus-card h3{font-size:33px;letter-spacing:-1px;margin:20px 0 12px}.focus-card p{font-size:13px;line-height:1.75;max-width:300px;margin:0;opacity:.82}.story-layout{display:grid;grid-template-columns:1.25fr 1fr;background:#e6dfd2;min-height:380px}.story-image{position:relative;min-height:380px;overflow:hidden}.story-image img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:50% 65%}.story-image span{position:absolute;bottom:24px;left:25px;background:#f8f6ef;padding:11px 13px;font-size:9px;letter-spacing:1.4px;font-weight:bold}.story-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:55px 12%}.label{color:#a05149}.story-copy h3{font-size:42px;line-height:1.13;letter-spacing:-1.5px;margin:20px 0}.story-copy p{color:#65665d;line-height:1.8;font-size:14px}.dark{background:#313c31;color:white;margin-top:10px}.contact{background:#384e3e;color:#fff;padding:95px 0}.contact-inner{display:grid;grid-template-columns:2fr 1fr;gap:40px}.light{color:#e5c0ae}.light .line{background:#829184;max-width:350px}.contact h2{margin:50px 0 22px}.contact h2 em{color:#e5b39b}.contact p{max-width:490px;color:#e1e7dc;line-height:1.8;font-size:14px}.white{background:#f6f3eb;color:#344639;margin-top:18px}.contact-mark{font-size:250px;color:#b7c3ad;opacity:.45;align-self:center;text-align:center;font-family:Georgia,serif}footer{background:#f8f6ef;padding:65px 0 25px}.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-brand strong{font:italic 32px Georgia,serif;letter-spacing:-2px}.footer-brand strong span{color:var(--red)}footer span:not(.footer-brand span){font-size:9px;letter-spacing:1.5px;font-weight:bold;color:#8b8b7e}footer p{font-size:12px;color:#696b60;line-height:1.7}.footer-brand p{font-size:9px;letter-spacing:1px}.footer-bottom{border-top:1px solid #dddcd0;margin-top:50px;padding-top:20px;display:flex;justify-content:space-between;font-size:11px;color:#75776c}a:focus-visible,button:focus-visible{outline:3px solid #ca7964;outline-offset:4px}@media(max-width:850px){.wrap{width:calc(100% - 44px)}.nav{height:78px}.brand img{width:52px;height:52px}.brand strong{font-size:23px}.brand small{font-size:7px}.menu-toggle{display:block;background:none;border:0;font-size:12px;font-weight:700}.menu-toggle span{font-size:19px;margin-left:8px}.nav nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fbfaf6;z-index:5;padding:25px;box-shadow:0 12px 15px #0001;align-items:stretch;gap:20px;flex-direction:column}.nav nav.open{display:flex}.hero{grid-template-columns:1fr}.hero-text{padding:74px 22px 45px}.hero-photo{min-height:450px}.hero-note{padding-top:45px}.ribbon .wrap{overflow:hidden;justify-content:flex-start;white-space:nowrap;min-height:58px}.intro,.stories{padding:80px 0}.intro-content{grid-template-columns:1fr;gap:28px;padding-top:35px}.section-heading{align-items:start;flex-direction:column;gap:20px;margin:35px 0}.focus{padding:80px 0}.focus-grid{grid-template-columns:1fr}.focus-card{min-height:240px}.icon{margin-top:10px}.story-layout{grid-template-columns:1fr}.story-image{min-height:300px}.story-copy{padding:45px 28px}.contact-inner{grid-template-columns:1fr}.contact-mark{display:none}.contact{padding:75px 0}.footer-inner{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}@media(max-width:480px){h1{font-size:49px;letter-spacing:-2px}.hero-actions{align-items:flex-start;flex-direction:column;gap:23px}.hero-photo{min-height:350px}.photo-label{left:22px;bottom:25px}.photo-index{right:22px;bottom:30px}.section-heading h2,.intro h2,.contact h2{font-size:43px}.footer-inner{gap:20px}}

/* Programok, pályázatok és részletoldalak */
.nav nav a[aria-current="page"] {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.sub-hero {
  background: #eeebe0;
  padding: clamp(54px, 7vw, 100px) 0;
  border-bottom: 1px solid var(--border);
}

.sub-hero h1, .detail-heading h1 {
  max-width: 19ch;
  margin: 20px 0;
}

.sub-intro {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.archive-content { padding-block: 52px 96px; }
.archive-group { margin-top: 60px; scroll-margin-top: 30px; }
.archive-group h2, .detail-gallery h2 {
  font-size: clamp(31px, 4vw, 47px);
  margin-bottom: 22px;
}

.archive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.archive-nav a {
  border: 1px solid #c6c5b9;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
}

.archive-nav a:hover { background: #eee8db; }

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
}

.entry {
  min-width: 0;
  border: 1px solid var(--border);
  background: #fbfaf4;
}

.entry-text {
  border-top: 3px solid var(--red);
  background: #eee9de;
}

.entry-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e6dfd2;
}

.entry-media img, .detail-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-copy { padding: 23px; }
.entry-copy .label { line-height: 1.5; }
.entry-copy h3 {
  font-size: clamp(25px, 3vw, 34px);
  margin: 10px 0;
}

.entry-copy h3 span { color: var(--red); font-size: 0.55em; }
.entry-copy h3 a:hover { color: var(--red); }
.entry-copy p:last-child {
  margin-bottom: 0;
  color: #565a50;
  line-height: 1.65;
  font-size: 14px;
}

.callout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: #efebe0;
  border: 1px solid var(--border);
}

.callout-media {
  min-width: 0;
  min-height: 280px;
  position: relative;
  background: #4d352c;
}

.callout-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callout-copy { padding: clamp(25px, 5vw, 64px); }
.callout-copy .label { line-height: 1.65; }
.callout-copy h3 {
  font-size: clamp(32px, 4.5vw, 57px);
  letter-spacing: -0.04em;
  margin: 15px 0;
}

.callout-copy > p:not(.label) { line-height: 1.7; color: #54584f; }
.callout-date { font-size: 14px; font-weight: 700; }
.archive-home { margin-top: 85px; }
.home-archive-link { margin-top: 14px; }
.stories .section-heading > a { flex-shrink: 0; }

.detail-heading { padding-top: clamp(35px, 7vw, 80px); padding-bottom: 30px; }
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 30px;
}

.crumb a { text-decoration: underline; text-underline-offset: 4px; }

.detail-content { padding-bottom: 65px; }
.detail-with-photo {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.detail-copy { max-width: 68ch; color: #50544a; line-height: 1.75; }
.detail-lead { font: 24px / 1.48 Georgia, serif; color: var(--ink); }
.detail-copy .under-link { display: table; }
.detail-photo, .detail-gallery figure { margin: 0; }
.detail-photo img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #ebe5d7;
}

.detail-extra { grid-column: 2; }
.detail-photo figcaption { color: var(--muted); margin-top: 10px; font-size: 12px; }
.detail-gallery { padding-bottom: 80px; }
.detail-gallery img { height: auto; aspect-ratio: 4 / 3; }
.detail-gallery .under-link { line-height: 1.5; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 1000px) {
  .nav nav { gap: 18px; }
}

@media (max-width: 850px) {
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-with-photo { grid-template-columns: 1fr; gap: 25px; }
  .detail-extra { grid-column: 1; }
}

@media (max-width: 580px) {
  .entry-grid, .callout { grid-template-columns: 1fr; }
  .callout-media { min-height: 235px; }
  .archive-content { padding-bottom: 64px; }
  .archive-home { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.featured-home { padding-block: 56px 0; }
.featured-home .section-heading { margin-top: 0; }
#beszamolok .section-heading { margin-top: 0; }
.grant-list { max-width: 760px; margin: 26px 0 0; list-style: none; padding: 0; }
.grant-list li {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.grant-list li > span { grid-row: 2; color: var(--muted); }
.grant-list li > b { color: var(--green); grid-column: 2; grid-row: 1; }

.archive-year-links {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.archive-year-links a {
  color: var(--ink);
  margin-inline: 5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.archive-group .sub-intro { margin-bottom: 22px; }
.detail-photo > a, .archive-photos figure > a { display: block; }
.archive-photos img {
  background: #ebe5d7;
  object-fit: contain;
}

@media (min-width: 850px) {
  .album-gallery .entry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.album-gallery a {
  display: block;
  border: 1px solid var(--border);
  background: #ede8dd;
}

.album-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.album-lead-photo img { max-height: 370px; }
.album-photo-note { font-size: 13px; color: var(--muted); margin: -8px 0 20px; }
.album-viewer {
  box-sizing: border-box;
  border: 0;
  border-radius: 8px;
  background: #242722;
  color: #f8f5ee;
  padding: 18px;
  width: min(980px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
}

.album-viewer::backdrop { background: rgb(18 17 15 / 84%); }
.album-viewer-bar, .album-viewer-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.album-viewer h2 {
  font-size: clamp(18px, 4vw, 24px);
  letter-spacing: 0;
}
.album-viewer button, .album-viewer-controls a {
  display: inline-grid;
  place-items: center;
  border: 1px solid #87857c;
  padding: 8px 12px;
  min-height: 42px;
  color: inherit;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.album-viewer button:hover, .album-viewer-controls a:hover { background: #43473e; }
.album-viewer figure { margin: 12px 0; }
.album-viewer img {
  display: block;
  width: 100%;
  height: min(64dvh, 680px);
  object-fit: contain;
}
.album-viewer figcaption { text-align: center; margin-top: 8px; font-size: 13px; }

photo-gallery { display: block; }
photo-gallery a[aria-haspopup="dialog"] { display: block; cursor: zoom-in; }
.album-viewer-controls[hidden] { display: none; }
