:root {
  --ink: #142321;
  --muted: #667471;
  --forest: #123f38;
  --forest-deep: #0b2926;
  --green: #3d9546;
  --lime: #8fc43e;
  --red: #d83b2f;
  --cream: #f5f3eb;
  --paper: #fff;
  --line: #dbe1dc;
  --shadow: 0 22px 60px rgba(10, 42, 37, .12);
  --radius: 24px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 100; top: 1rem; left: 1rem; background: white; padding: .8rem 1rem; }
.site-header {
  position: sticky; z-index: 50; top: 0; color: white;
  background: rgba(11, 41, 38, .96); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.header-inner {
  max-width: var(--max); min-height: 86px; margin: auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { width: 184px; flex: 0 0 auto; }
.brand img { width: 100%; height: 66px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.language-switcher {
  margin-left: auto; padding: 4px; display: flex; flex: 0 0 auto; align-items: center; gap: 2px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06);
}
.language-switcher a {
  min-width: 34px; padding: .42rem .5rem; border-radius: 999px; color: rgba(255,255,255,.68);
  font-size: .76rem; font-weight: 850; line-height: 1; text-align: center; text-decoration: none;
}
.language-switcher a:hover { color: white; }
.language-switcher a[aria-current="page"] { color: var(--forest-deep); background: white; }
.language-switcher span { color: rgba(255,255,255,.28); font-size: .72rem; }
.site-nav > a, .nav-details > summary {
  display: block; padding: .75rem .78rem; border-radius: 999px; color: rgba(255,255,255,.82);
  text-decoration: none; font-size: .91rem; font-weight: 700; cursor: pointer; list-style: none;
}
.nav-details > summary::-webkit-details-marker { display: none; }
.site-nav > a:hover, .site-nav > a[aria-current="page"], .nav-details > summary:hover,
.nav-details > summary[aria-current="page"] { color: white; background: rgba(255,255,255,.1); }
.nav-details { position: relative; }
.nav-submenu {
  position: absolute; top: calc(100% + 9px); left: 0; width: 245px; padding: 10px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: var(--forest-deep);
  box-shadow: var(--shadow);
}
.nav-details:not([open]) .nav-submenu { display: none; }
.nav-submenu a { display: block; padding: .63rem .75rem; border-radius: 9px; color: rgba(255,255,255,.84); text-decoration: none; }
.nav-submenu a:hover { color: white; background: rgba(255,255,255,.08); }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 10px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: white; }
.hero {
  position: relative; min-height: 690px; overflow: hidden; color: white;
  background:
    radial-gradient(circle at 75% 25%, rgba(143,196,62,.19), transparent 28%),
    linear-gradient(125deg, #092522 0%, #123f38 56%, #1b5947 100%);
}
.hero-content { position: relative; z-index: 2; max-width: var(--max); margin: auto; padding: 125px 24px 110px; }
.eyebrow { margin: 0 0 1rem; color: #c9ef8f; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green); }
.hero h1 { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 7vw, 6.7rem); line-height: .96; letter-spacing: -.055em; }
.hero h1 span { color: #a9d666; }
.hero-copy { max-width: 650px; margin: 2rem 0 0; color: rgba(255,255,255,.76); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.3rem; }
.button {
  display: inline-flex; min-height: 48px; padding: .78rem 1.2rem; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 800;
}
.button.primary { color: white; background: var(--red); box-shadow: 0 10px 25px rgba(216,59,47,.24); }
.button.primary:hover { background: #b92e25; transform: translateY(-1px); }
.button.secondary { color: white; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
.button.light { color: var(--forest-deep); background: white; }
.hero-art { position: absolute; inset: 0 0 0 48%; opacity: .68; }
.map-grid { position: absolute; inset: 4% -10% -10% 10%; transform: rotate(-14deg); background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle, #000 15%, transparent 70%); }
.orbit { position: absolute; border: 1px solid rgba(201,239,143,.28); border-radius: 50%; }
.orbit-one { width: 480px; height: 480px; right: 8%; top: 9%; }
.orbit-two { width: 690px; height: 690px; right: -5%; top: -7%; }
.geo-dot { position: absolute; width: 20px; height: 20px; border: 5px solid rgba(255,255,255,.68); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 14px rgba(216,59,47,.14); }
.dot-one { right: 29%; top: 32%; }.dot-two { right: 13%; bottom: 25%; transform: scale(.68); }
.section { max-width: var(--max); margin: auto; padding: 100px 24px; }
.section.compact { padding-top: 72px; padding-bottom: 85px; }
.tint { max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px)); padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px)); background: var(--cream); }
.section-heading { max-width: 740px; margin-bottom: 40px; }
.section-heading.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .page-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: 1.06; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feature-card { min-height: 285px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; background: white; text-decoration: none; transition: .25s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: #a9c5ad; box-shadow: var(--shadow); }
.feature-card h2, .feature-card h3 { margin: 0 0 .4rem; font-family: Georgia, serif; font-size: 1.52rem; line-height: 1.1; }
.feature-card .text-link { margin-top: auto; }
.feature-card p { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.text-link { color: var(--green); font-weight: 850; text-decoration: none; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.content-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 30px rgba(10,42,37,.06); }
.card-media { display: block; height: 210px; overflow: hidden; background: linear-gradient(135deg, var(--forest), #4c9149); }
.card-media.placeholder-media::after { content: ""; display: block; width: 100%; height: 100%; background: radial-gradient(circle at 65% 35%, rgba(255,255,255,.22) 0 5%, transparent 6%), linear-gradient(135deg, transparent 50%, rgba(255,255,255,.08) 50%); }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.content-card:hover .card-image { transform: scale(1.035); }
.card-body { padding: 24px; }
.card-body h3 { margin: .25rem 0 .75rem; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.18; }
.card-body h3 a { text-decoration: none; }
.card-body > p:not(.card-meta) { color: var(--muted); }
.card-meta, .article-meta { color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-list { border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 28px; padding: 27px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.event-row time { color: var(--green); font-weight: 850; }
.event-row h3 { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; }
.event-row p { margin: .3rem 0 0; color: var(--muted); }
.event-row > span { color: var(--red); font-size: 1.6rem; transition: transform .2s; }
.event-row:hover > span { transform: translateX(5px); }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-card { min-width: 0; min-height: 155px; padding: 19px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: white; text-decoration: none; cursor: pointer; }
button.logo-card { width: 100%; }
.logo-card img { width: 100%; height: 72px; object-fit: contain; }
.logo-card span { max-width: 100%; color: var(--muted); font-size: .78rem; font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.logo-card:hover { border-color: #9ebfa4; box-shadow: 0 12px 32px rgba(10,42,37,.09); transform: translateY(-3px); }
.logo-fallback { background: var(--forest); }
.logo-fallback span { color: white; }.logo-fallback img { padding: 5px; }
.contact-band { max-width: var(--max); margin: 25px auto 100px; padding: 55px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; border-radius: 30px; background: linear-gradient(120deg, var(--forest-deep), var(--forest)); }
.contact-band h2 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.05; }
.site-footer { padding: 55px max(24px, calc((100vw - var(--max)) / 2 + 24px)); display: flex; justify-content: space-between; align-items: end; gap: 30px; color: rgba(255,255,255,.7); background: #071d1b; }
.footer-brand img { width: 180px; height: 65px; object-fit: contain; object-position: left; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 20px; }
.footer-links a { color: white; text-decoration: none; }
.page-hero { color: white; background: linear-gradient(120deg, var(--forest-deep), var(--forest)); }
.page-hero > div { max-width: var(--max); margin: auto; padding: 90px 24px 82px; }
.page-hero p:last-child { max-width: 740px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.lead-text { max-width: 850px; margin: 0 0 45px; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.5; }
.prose { max-width: 880px; margin: auto; font-size: 1.05rem; }
.prose h2, .prose h3, .prose h4 { margin-top: 2.2em; font-family: Georgia, serif; line-height: 1.16; }
.prose h2 { font-size: 2rem; }.prose h3 { font-size: 1.55rem; }
.prose a { color: #24753b; font-weight: 750; overflow-wrap: anywhere; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 5px solid var(--lime); background: var(--cream); }
.prose table { width: 100%; margin: 2rem 0; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { padding: .8rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--cream); }
.article-cover { width: 100%; max-height: 520px; margin: 1.5rem 0 2.2rem; border-radius: 24px; object-fit: cover; }
.content-image { margin: 2rem 0; }.content-image img { max-height: 650px; margin: auto; border-radius: 15px; }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.person-card { min-height: 245px; display: grid; grid-template-columns: 180px 1fr; gap: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.portrait { min-height: 245px; background: var(--cream); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-fallback { padding: 18px; display: flex; align-items: center; background: var(--forest); }
.portrait-fallback img { height: auto; object-fit: contain; }
.person-card > div:last-child { padding: 28px 24px 25px 0; }
.person-role, .org-kicker { margin: 0 0 .5rem; color: var(--green); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.person-card h2 { margin: 0; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.1; }
.person-card p:last-child { color: var(--muted); }
.listing-tools { margin-bottom: 28px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.organization-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.org-card { min-height: 225px; padding: 25px; display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; }
.org-card:hover { border-color: #9ebfa4; box-shadow: var(--shadow); transform: translateY(-3px); }
.org-logo { height: 135px; padding: 15px; display: flex; align-items: center; justify-content: center; border-radius: 17px; background: white; border: 1px solid var(--line); }
.org-logo img { width: 100%; height: 100%; object-fit: contain; }
.org-logo-fallback { background: var(--forest); border-color: var(--forest); }
.org-card h2 { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.18; }
.org-card p:not(.org-kicker) { color: var(--muted); }
.organization-detail { display: grid; grid-template-columns: 290px 1fr; gap: 50px; align-items: start; }
.org-logo.large { width: 290px; height: 250px; }
.facts { display: grid; grid-template-columns: 135px 1fr; margin: 0 0 2rem; }
.facts dt, .facts dd { margin: 0; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 700; }.facts dd { font-weight: 750; }
.contact-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; }
.contact-card { min-height: 330px; padding: 45px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.contact-card h2 { margin: 0 0 1rem; font-family: Georgia, serif; font-size: 2.2rem; }
.contact-card .button { margin-top: 1.5rem; }
.contact-card.accent { color: white; border-color: var(--forest); background: var(--forest); }
.contact-email { display: block; margin-top: 4rem; color: white; font-family: Georgia, serif; font-size: clamp(1.25rem, 2.7vw, 2rem); overflow-wrap: anywhere; }
.archive-controls { display: grid; grid-template-columns: 1fr 260px; gap: 18px; }
.archive-controls label { color: var(--muted); font-size: .83rem; font-weight: 800; }
.archive-controls input, .archive-controls select { width: 100%; margin-top: .4rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.archive-count { color: var(--muted); }
.archive-results { border-top: 1px solid var(--line); }
.archive-item { padding: 23px 5px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); text-decoration: none; }
.archive-item span { color: var(--green); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.archive-item h2 { margin: .25rem 0; font-family: Georgia, serif; font-size: 1.45rem; }
.archive-item p { margin: 0; color: var(--muted); }.archive-item b { color: var(--red); font-size: 1.5rem; }
.member-dialog { width: min(680px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 40px; border: 0; border-radius: 26px; box-shadow: 0 35px 100px rgba(0,0,0,.3); }
.member-dialog::backdrop { background: rgba(4,25,22,.72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 12px; right: 15px; width: 40px; height: 40px; border: 0; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.dialog-logo-wrap { height: 120px; margin: 0 45px 25px 0; display: flex; align-items: center; justify-content: flex-start; }
.dialog-logo-wrap img { max-width: 260px; max-height: 110px; }
.member-dialog h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; }
#dialog-details { margin: 1.5rem 0; color: var(--muted); }
.dialog-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1050px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .site-nav > a, .nav-details > summary { padding-inline: .55rem; font-size: .83rem; }
  .brand { width: 160px; }
  .header-inner { gap: 14px; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 76px; }
  .menu-toggle { display: block; }
  .language-switcher { margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 16px 22px 25px; align-items: stretch; flex-direction: column; background: var(--forest-deep); border-top: 1px solid rgba(255,255,255,.1); }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-details > summary { padding: .75rem; border-radius: 8px; }
  .nav-details { width: 100%; }
  .nav-submenu { position: static; width: auto; margin: 5px 0 10px 12px; box-shadow: none; background: rgba(255,255,255,.04); }
  .hero { min-height: 620px; }.hero-content { padding-top: 95px; }.hero-art { left: 30%; opacity: .35; }
  .card-grid, .people-grid, .organization-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .person-card { grid-template-columns: 140px 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .organization-detail { grid-template-columns: 1fr; }.org-logo.large { width: 100%; }
}
@media (max-width: 600px) {
  .section { padding: 70px 18px; }.section.compact { padding: 55px 18px 70px; }
  .hero { min-height: 590px; }.hero-content { padding: 80px 18px; }.hero h1 { font-size: 2.95rem; }
  .page-hero > div { padding: 68px 18px 60px; }
  .feature-grid, .card-grid, .people-grid, .organization-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading.split, .contact-band, .site-footer { align-items: flex-start; flex-direction: column; }
  .contact-band { margin: 12px 18px 70px; padding: 35px 28px; border-radius: 24px; }
  .event-row { grid-template-columns: 1fr auto; gap: 10px; }.event-row time { grid-column: 1 / -1; }
  .person-card { grid-template-columns: 115px 1fr; }.portrait { min-height: 220px; }.person-card > div:last-child { padding: 22px 18px 20px 0; }
  .org-card { grid-template-columns: 105px 1fr; padding: 18px; }.org-logo { height: 105px; padding: 9px; }
  .archive-controls { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }.facts dt { border-bottom: 0; padding-bottom: 0; }.facts dd { padding-top: .2rem; }
  .contact-card { min-height: 280px; padding: 30px 24px; }
  .footer-links { justify-content: start; flex-direction: column; gap: 8px; }
  .member-dialog { padding: 32px 22px 25px; }
}
/* Pages CMS-ből publikált tartalom */
.managed-card { outline: 2px solid #75bda933; outline-offset: -1px; }
.managed-card-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.secondary-link { color: var(--muted); font-size: .85rem; }
.documents-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.documents-section + .documents-section { margin-top: 4rem; }
.documents-section-heading { margin-bottom: 1.25rem; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.documents-section-heading h2 { margin: 0 0 .75rem; }
.documents-section-heading p { margin: 0 0 .85rem; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.document-card { margin: 0; padding: 1.5rem; border: 1px solid #dce5df; border-radius: 14px; background: #fff; }
.document-card h3 { margin: .35rem 0; }
.document-card .button { display: inline-block; margin-top: .7rem; }
.leadership-contact { margin-top: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.leadership-contact a { color: var(--green); font-weight: 750; overflow-wrap: anywhere; }
.content-dialog { width: min(900px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 42px; border: 0; border-radius: 26px; box-shadow: 0 35px 100px rgba(0,0,0,.3); }
.content-dialog::backdrop { background: rgba(4,25,22,.72); backdrop-filter: blur(5px); }
.content-dialog h2 { margin: 0 48px 1rem 0; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }
.content-dialog .prose { max-width: none; }
@media (max-width: 700px) {
  .documents-grid { grid-template-columns: 1fr; }
  .content-dialog { padding: 32px 20px 24px; }
}
