/* GYTIT honlap · stílus
   Színek a logóból: szén, GYTIT narancs, homok, hajnal, mályva. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(../fonts/dm-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(../fonts/dm-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --szen: #2B2A28;
  --szoveg-2: #4A4744;
  --narancs: #EA5E20;
  --mely-narancs: #C4470F;
  --homok: #E5BE9F;
  --hajnal: #EDEFE2;
  --malyva: #7A6562;
  --halvany-malyva: #AB948C;
  --vonal: #E4DED5;
  --vonal-2: #D8D0C6;
  --papir: #F6F4F0;
  --feher: #FFFFFF;
  --font-cim: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-szoveg: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 24px;
  --radius-sm: 14px;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--feher);
  color: var(--szen);
  font-family: var(--font-szoveg);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mely-narancs); text-underline-offset: 3px; }
a:hover { color: var(--szen); }
:focus-visible { outline: 3px solid var(--narancs); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-cim); line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
h3, .h3 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 700; }
.h4 { font-size: 20px; font-weight: 700; font-family: var(--font-cim); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--szen); color: var(--feher); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--feher); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.section { padding: 88px 0; }
.section.pt-0 { padding-top: 0; }
.section.tint { background: var(--hajnal); }
.stack { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px; align-items: center; }
.split.align-end { align-items: end; }
.split.align-start { align-items: start; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.row-gap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mt-auto { margin-top: auto; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-56 { margin-top: 56px; }
.mb-24 { margin-bottom: 24px; }
.m-0 { margin: 0; }
.muted { color: var(--malyva); }
.small { font-size: 15px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--szoveg-2); max-width: 760px; }
.placeholder { color: var(--malyva); font-style: italic; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; color: var(--malyva); }

/* gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-szoveg); font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-primary { background: var(--mely-narancs); color: var(--feher); }
.btn-primary:hover { background: #A93C0C; color: var(--feher); }
.btn-dark { background: var(--szen); color: var(--feher); }
.btn-dark:hover { background: #000; color: var(--feher); }
.btn-outline-light { border-color: var(--feher); color: var(--feher); background: transparent; }
.btn-outline-light:hover { background: var(--feher); color: var(--szen); }
.btn-outline-dark { border-color: var(--szen); color: var(--szen); background: transparent; }
.btn-outline-dark:hover { background: var(--szen); color: var(--feher); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.text-link.light { color: var(--homok); }
.text-link.light:hover { color: var(--feher); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--hajnal); color: var(--szen); font-size: 13px; font-weight: 600; }

/* fejléc */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--vonal); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img:first-child { width: 64px; height: auto; }
.brand img:nth-child(2) { width: 102px; height: auto; }
.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; padding: 0; display: flex; gap: 0 20px; flex-wrap: wrap; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--szen); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-list a:hover { color: var(--mely-narancs); }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--narancs); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--szen); text-decoration: none; font-size: 13px; font-weight: 700; }
.lang-switch a:hover { background: var(--hajnal); }
.lang-switch a[aria-current="true"] { background: var(--szen); color: var(--feher); }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 2px solid var(--szen); border-radius: 999px; background: var(--feher); color: var(--szen); font: 700 15px var(--font-szoveg); cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .nav-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--feher); border-bottom: 1px solid var(--vonal); box-shadow: 0 18px 40px rgba(43, 42, 40, 0.12); padding: 12px 24px 24px; flex-direction: column; align-items: stretch; gap: 16px; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-panel.open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { width: 100%; font-size: 18px; border-bottom: 1px solid var(--vonal); min-height: 52px; }
  .header-actions { justify-content: space-between; }
  .site-header { position: sticky; }
  .header-inner { position: static; }
}

/* hős */
.hero { position: relative; overflow: hidden; background: var(--szen); color: var(--feher); }
.band { position: absolute; left: -10%; right: -10%; transform: rotate(-4deg); pointer-events: none; }
.band-1 { bottom: 72px; height: 92px; background: var(--malyva); }
.band-2 { bottom: 20px; height: 52px; background: var(--halvany-malyva); }
.hero-inner { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 176px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-eyebrow { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--homok); border-radius: 999px; color: var(--homok); font-size: 14px; font-weight: 600; }
.hero h1 { color: var(--feher); font-size: clamp(44px, 6vw, 80px); line-height: 0.98; }
.hero-lead { max-width: 540px; font-size: 19px; line-height: 1.55; }
.next-card { position: relative; justify-self: end; width: 100%; max-width: 440px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.next-sun { position: absolute; right: -36px; top: -36px; width: 132px; height: 132px; border-radius: 50%; background: var(--narancs); }
.next-label { position: relative; font-family: var(--font-szoveg); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--homok); }
.next-body { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.next-date { font-size: 15px; font-weight: 600; }
.next-title { font-family: var(--font-cim); font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--feher); }
.next-org { font-size: 15px; }
.next-chip { align-self: flex-start; }
.sample-badge { display: inline-flex; align-self: flex-start; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; border: 1px dashed currentColor; font-size: 12px; font-weight: 700; }

/* oldalfej */
.page-head { padding: 72px 0 56px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head .wrap.split { display: grid; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head.column { flex-direction: column; align-items: flex-start; gap: 8px; }

/* rácsok és kártyák */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.grid-people { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid-members { list-style: none; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.card { border: 1px solid var(--vonal); border-radius: var(--radius); overflow: hidden; background: var(--feher); display: flex; flex-direction: column; }
.card.pad { padding: 32px; gap: 14px; }
.card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--malyva); }
.card-title { font-family: var(--font-cim); font-size: 24px; font-weight: 700; line-height: 1.15; }
.card-sub { color: var(--szoveg-2); font-size: 15px; }
.card .text-link { margin-top: auto; }
.dot { width: 20px; height: 20px; border-radius: 50%; background: var(--dot); }

.news-art { position: relative; height: 200px; background: var(--art-bg); overflow: hidden; }
.news-art .sun { position: absolute; border-radius: 50%; background: var(--narancs); }
.news-art.sun-br .sun { right: -40px; bottom: -70px; width: 200px; height: 200px; }
.news-art.sun-tl .sun { left: -50px; top: -60px; width: 180px; height: 180px; background: var(--malyva); }
.news-art.sun-tr .sun { right: 40px; top: 40px; width: 90px; height: 90px; }

.panel { background: var(--feher); border: 1px solid var(--vonal); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.tint .panel { border-color: transparent; }
.tint-panel { background: var(--hajnal); border-color: transparent; }
.sand-panel { background: var(--homok); border-color: transparent; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.panel.row-between { flex-direction: row; }

.avatar-row { display: flex; flex-wrap: wrap; gap: 10px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--av-bg, var(--hajnal)); color: var(--av-fg, var(--szen)); font-weight: 700; font-size: 17px; flex-shrink: 0; }

.person-photo { width: 100%; height: 240px; object-fit: cover; object-position: center 30%; }
.person-initials { display: flex; align-items: center; justify-content: center; background: var(--av-bg); color: var(--av-fg); font-family: var(--font-cim); font-size: 56px; font-weight: 800; }
.person .card-body { gap: 6px; }

.facts { margin: 0; display: flex; flex-direction: column; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--vonal-2); }
.facts div:last-child { border-bottom: none; }
.facts dt { color: var(--szoveg-2); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }

.miert-dots { display: inline-flex; gap: 8px; }
.miert-dots span { width: 22px; height: 22px; border-radius: 50%; }
.miert-dots span:nth-child(1) { background: #F7941D; }
.miert-dots span:nth-child(2) { background: #A8A28A; }
.miert-dots span:nth-child(3) { background: #12A9E2; }

.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.logo-box { min-height: 92px; border: 1px solid var(--vonal); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px; text-align: center; text-decoration: none; color: var(--szen); }
.logo-box:hover { border-color: var(--szen); color: var(--szen); }
.logo-name { font-weight: 700; }
.logo-kind { font-size: 13px; color: var(--malyva); }
.supporter { text-decoration: none; color: var(--szen); }
.supporter:hover { border-color: var(--szen); color: var(--szen); }
.supporter .chip { align-self: flex-start; }

.member { flex-direction: row; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; }
.member-body { display: flex; flex-direction: column; min-width: 0; }
.member-name { font-family: var(--font-szoveg); font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.member .text-link { min-height: 36px; }
.member .avatar { width: 48px; height: 48px; font-size: 14px; }
.search-row { display: flex; flex-direction: column; gap: 8px; max-width: 460px; margin-bottom: 28px; }
.search-row label { font-weight: 600; font-size: 15px; }

.doc .link-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: auto; }

.empty-state { border: 2px dashed var(--vonal-2); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; color: var(--szoveg-2); }
.empty-state.big { align-items: center; text-align: center; padding: 72px 32px; position: relative; overflow: hidden; }
.empty-sun { width: 88px; height: 88px; border-radius: 50%; background: var(--narancs); }

/* CTA sáv */
.cta-band { position: relative; overflow: hidden; background: var(--homok); }
.cta-sun { position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--narancs); }
.cta-inner { position: relative; padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-inner h2 { font-size: clamp(36px, 4.5vw, 56px); max-width: 760px; }
.cta-inner p { max-width: 620px; font-size: 18px; }

/* lábléc */
.site-footer { background: var(--szen); color: var(--feher); padding: 72px 0 40px; }
.site-footer a { color: var(--homok); text-decoration: none; }
.site-footer a:hover { color: var(--feher); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { width: 220px; }
.footer-h { font-family: var(--font-szoveg); font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.footer-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.footer-list li a { color: var(--feher); }
.footer-list li a[href^="tel"], .footer-list li a[href^="mailto"], .footer-list li a[href^="http"] { color: var(--homok); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--szoveg-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--feher); }

/* űrlapok */
.form { gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--vonal-2); border-radius: 12px; background: var(--feher); color: var(--szen); font: 16px var(--font-szoveg);
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--narancs); outline-offset: 1px; border-color: var(--szen); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--mely-narancs); }
.form .btn { align-self: flex-start; }
.form-status { font-weight: 600; min-height: 1em; }
.form-status.ok { color: #2F6B3E; }
.form-status.err { color: #A3290B; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #A3290B; }

.jump-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--hajnal); color: var(--szen); text-decoration: none; font-weight: 600; }
.jump-links a:hover { background: var(--homok); }
.join-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: start; padding: 56px 0; border-top: 1px solid var(--vonal); scroll-margin-top: 90px; }
.steps { display: flex; flex-direction: column; gap: 14px; padding-left: 22px; }
.steps li { padding-left: 6px; }
.steps li::marker { color: var(--mely-narancs); font-weight: 800; }

.prose { display: flex; flex-direction: column; gap: 14px; }
.prose h2 { margin-top: 20px; }
.notice { background: var(--hajnal); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; }
.plain-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }

/* programnaptár */
.calendar { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cal-side { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 28px; }
.cal-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cal-h { font-family: var(--font-cim); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.cal-cats { display: flex; flex-direction: column; gap: 8px; }
.cal-cat { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--vonal); border-radius: 12px; background: var(--feher); color: var(--szen); font: 600 14px var(--font-szoveg); text-align: left; cursor: pointer; }
.cal-cat .swatch { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; border: 3px solid var(--c); background: var(--c); }
.cal-cat[aria-pressed="false"] { background: var(--papir); color: var(--malyva); text-decoration: line-through; }
.cal-cat[aria-pressed="false"] .swatch { background: var(--feher); }
.cal-orgs { display: flex; flex-direction: column; gap: 4px; max-height: 440px; overflow-y: auto; padding-right: 4px; margin-top: 10px; }
.cal-org { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--feher); color: var(--szen); font: 14px/1.3 var(--font-szoveg); text-align: left; cursor: pointer; }
.cal-org:hover { background: var(--hajnal); }
.cal-org[aria-pressed="true"] { background: var(--szen); color: var(--feher); font-weight: 700; }
.cal-org .count { font-size: 12px; font-weight: 700; }
.cal-search label { display: block; font-size: 14px; font-weight: 600; color: var(--szoveg-2); margin-bottom: 6px; }
.cal-filter { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 10px 10px 18px; border-radius: 14px; background: var(--hajnal); }
.cal-sample { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; border: 1px dashed var(--mely-narancs); color: #8E340B; font-size: 15px; }
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav h2 { font-size: 28px; padding: 0 8px; min-width: 220px; text-align: center; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--vonal-2); border-radius: 999px; background: var(--feher); color: var(--szen); cursor: pointer; }
.icon-btn:hover { border-color: var(--szen); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--vonal); border: 1px solid var(--vonal); border-radius: 16px; overflow: hidden; }
.cal-wd { background: var(--papir); padding: 10px 8px; font-size: 13px; font-weight: 700; color: var(--malyva); }
.cal-day { min-height: 112px; padding: 8px; display: flex; flex-direction: column; gap: 4px; min-width: 0; background: var(--feher); }
.cal-day.out { background: var(--papir); }
.cal-day.out .cal-num { color: var(--malyva); }
.cal-day.today .cal-num { background: var(--narancs); color: var(--szen); border-radius: 999px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.cal-num { font-size: 13px; font-weight: 700; }
.cal-ev { display: block; width: 100%; min-height: 28px; padding: 4px 6px; border: 0; border-radius: 6px; background: var(--c); color: var(--fg); font: 600 12px/1.25 var(--font-szoveg); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.cal-ev[aria-pressed="true"] { outline: 3px solid var(--szen); outline-offset: 1px; }
.cal-list { display: none; list-style: none; padding: 0; flex-direction: column; gap: 10px; }
.cal-list li button { width: 100%; display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--vonal); border-radius: 14px; background: var(--feher); text-align: left; font: 15px var(--font-szoveg); color: var(--szen); cursor: pointer; }
.cal-list .bar { width: 8px; align-self: stretch; border-radius: 4px; background: var(--c); flex-shrink: 0; }
.cal-list .when { font-weight: 700; min-width: 84px; white-space: nowrap; }
.cal-list .org { display: block; font-size: 13px; color: var(--malyva); }
.cal-empty { color: var(--szoveg-2); }
.cal-detail { border: 1px solid var(--vonal); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.cal-detail h3 { font-size: 30px; font-weight: 800; }
.cal-detail .cat { align-self: flex-start; background: var(--c); color: var(--fg); }
.cal-detail .meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .page-head { padding: 48px 0 36px; }
  .hero-inner { padding-top: 56px; padding-bottom: 150px; gap: 36px; }
  .next-card { justify-self: stretch; max-width: none; }
  .cal-grid { display: none; }
  .cal-list { display: flex; }
  .cal-nav h2 { min-width: 0; font-size: 22px; }
  .cal-side { max-width: none; }
  .cal-orgs { max-height: 240px; }
  .panel { padding: 24px; }
  .card.pad { padding: 24px; }
  .cal-detail { padding: 22px; }
  .join-block { padding: 40px 0; gap: 28px; }
  .empty-state { padding: 28px 22px; }
}

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