/* Programok and Helyszín, the design Andor approved (2026-10-24; proposal v1 of 2026-10-23, terv_v35/terv_v1.css, with
 * the build's changes marked "v37"). Loaded on these two pages only (epit.py TERV_LAPOK). On top of oldal.css, same tokens:
 * an overland roadbook, not a landing page: square corners, a real timetable drawn to scale, road-sign shapes,
 * the site map as the page's working tool. No icon card grids, no decorative gradients (the only gradient darkens
 * a photo under its text). */
.terv h2 { font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; }
.t-kicsi { margin: 0 0 .6rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--narancs); }
.t-h1 { margin: 0; font-size: clamp(3.2rem, 9vw, 7.5rem); font-weight: 900; line-height: .92; letter-spacing: -.03em; text-transform: uppercase; }
.t-h1-hely { font-size: clamp(3rem, 6.4vw, 5.6rem); hyphens: none; }
.t-bev { max-width: 44rem; font-size: 1.12rem; }
.t-labj { font-size: .85rem; color: var(--hidegszurke); max-width: 46rem; }

/* ------------------------------------------------ Programok: the opening with the three day posters */
.t-nyito { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--fekete) url("/static/img/topo/topo_csempe_szurke_feketen_v1.svg"); color: #fff; }
.t-nyito .t-bev { color: var(--vilagosszurke); }
.t-nyito .fenntartas { max-width: 44rem; margin: 1.2rem 0 0; color: #fff; background: #3b1f10; letter-spacing: .02em; }
.plakatok { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
.plakat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 30rem; padding: 1.4rem;
  color: #fff; text-decoration: none; overflow: hidden; border-top: 6px solid var(--narancs); }
.plakat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.plakat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 24, .94) 0%, rgba(10, 20, 24, .55) 45%, rgba(10, 20, 24, 0) 75%); }
.plakat > span { position: relative; z-index: 1; display: block; }
.plakat:hover img { transform: scale(1.04); }
/* v38 (Alfred 9532): the photo credit on a dark band of its own: on the Sunday photo's light sky the shadow alone
 * did not carry it */
.p-forras { position: absolute !important; top: .8rem; left: 1rem; max-width: calc(100% - 2rem); padding: .3rem .55rem;
  background: rgba(10, 20, 24, .78); font-size: .66rem; font-weight: 600; line-height: 1.35; }
[dir="rtl"] .p-forras { left: auto; right: 1rem; }
.p-nap { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.p-tema { font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 900; line-height: 1; color: var(--narancs); letter-spacing: -.02em; }
.p-motto { margin: .2rem 0 1rem; font-style: italic; font-weight: 600; }
.p-tenyek { padding-top: .8rem; border-top: 1px solid var(--vonal-sotet); font-size: .82rem; color: var(--vilagosszurke); line-height: 1.5; }
.p-tenyek b { color: #fff; font-size: 1rem; }

/* the sticky day bar */
.napsav { position: sticky; top: 52px; z-index: 15; background: var(--papir); border-bottom: 1px solid var(--vonal); }
.napsav .mag { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.napsav a { flex: 0 0 auto; padding: .9rem 1.1rem; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--hidegszurke); }
.napsav a b { color: var(--fekete); }
.napsav a.aktiv { color: var(--narancs); box-shadow: inset 0 -3px var(--narancs); }

/* a day */
.nap { padding: clamp(2.5rem, 5vw, 4.5rem) 0; scroll-margin-top: 100px; }
.nap + .nap { border-top: 6px solid var(--fekete); }
.nap-fej { display: grid; grid-template-columns: auto 1fr; column-gap: 1.6rem; align-items: baseline; margin-bottom: 2rem; }
.nap-nap { grid-column: 1 / -1; margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nap-fej h2 { margin: 0; font-size: clamp(3rem, 8vw, 6.5rem); color: var(--narancs); }
.nap-motto { margin: 0; font-size: 1.3rem; font-style: italic; font-weight: 700; }
.nap-leiras, .nap-forras { grid-column: 1 / -1; margin: .4rem 0 0; color: var(--hidegszurke); }
.nap-forras { font-size: .75rem; }

/* the timetable drawn to scale: the three days side by side, 8:00-23:00 downwards, height = minutes */
.attekintes { padding: clamp(2.5rem, 5vw, 4rem) 0; background: #fff; }
.attekintes h2 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.orarend { display: grid; grid-template-columns: 3.4rem repeat(3, 1fr); gap: 0 .8rem; margin-top: 1.6rem; }
.r-tengely { position: relative; margin-top: 2.6rem; font-size: .7rem; font-weight: 700; color: var(--hidegszurke); }
.r-tengely span { position: absolute; right: 0; transform: translateY(-50%); }
.r-fej { height: 2.6rem; margin: 0; padding-top: .3rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-top: 4px solid var(--fekete); }
.r-fej b { display: block; font-size: .68rem; letter-spacing: .14em; color: var(--hidegszurke); }
.r-oszlop { position: relative; background: repeating-linear-gradient(180deg, var(--vonal) 0 1px, transparent 1px var(--ora)); }
.r-blokk { position: absolute; left: 2.1rem; right: 0; display: block; padding: .3rem .5rem; overflow: hidden; background: var(--fekete); color: #fff;
  border-top: 2px solid var(--papir); border-left: 4px solid var(--narancs); text-decoration: none; font-size: .74rem; line-height: 1.25; }
.r-blokk:hover, .r-blokk:focus-visible { background: #22313a; z-index: 3; }
.r-ido { font-weight: 800; color: var(--narancs); margin-right: .25rem; }
.r-cim { font-weight: 600; }
.r-rovid { white-space: nowrap; text-overflow: ellipsis; padding-top: .15rem; }
.r-kiemelt, .r-kiemelt:hover, .r-kiemelt:focus-visible { background: var(--narancs); border-left-color: var(--fekete); }
.r-kiemelt:hover .r-cim, .r-kiemelt:focus-visible .r-cim { text-decoration: underline; }
.r-al { display: block; margin-top: .2rem; font-size: .66rem; color: var(--nilio-arany); }
.r-kiemelt .r-ido { color: var(--fekete); }
.r-szunet { background: repeating-linear-gradient(135deg, rgba(10, 20, 24, .1) 0 4px, transparent 4px 9px); color: var(--hidegszurke); border-left-color: var(--vilagosszurke); }
.r-szunet .r-ido { color: var(--hidegszurke); }
.r-tabor { background: #E4E2DB; color: var(--fekete); border-left-color: var(--hidegszurke); }
.r-tabor .r-ido { color: var(--fekete); }
.r-nilio { background: var(--fekete); color: #fff; border-left-color: var(--nilio-arany); }
.r-nilio .r-ido { color: var(--nilio-arany); }
.r-rc { left: 0; width: 1.7rem; right: auto; padding: .5rem 0; background: #FCE3D3; color: var(--fekete); border-left: 0; border-top: 0; }
.r-rc .r-ido { display: none; }
.r-rc .r-cim { display: block; writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 auto; font-size: .66rem; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.r-pont { position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid var(--narancs); text-decoration: none; z-index: 2; }
.r-pont span { position: absolute; left: 2.1rem; top: .25rem; font-size: .66rem; font-weight: 800; color: var(--narancs); }
/* v38 (Alfred 9532, optional): on the right-to-left page the children's strip runs on the columns' right edge */
[dir="rtl"] .r-blokk { left: 0; right: 2.1rem; }
[dir="rtl"] .r-rc { left: auto; right: 0; }
[dir="rtl"] .r-pont span { left: auto; right: 2.1rem; }

/* the list under it */
.lista { list-style: none; margin: 0; padding: 0; }
.elem { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.2rem; padding: 1.05rem 0; border-top: 1px solid var(--vonal); scroll-margin-top: 110px; }
.elem:target { background: #fff; box-shadow: -.6rem 0 0 #fff, .6rem 0 0 #fff; }
.e-ido { margin: 0; font-size: 1.25rem; font-weight: 900; line-height: 1.1; }
.e-ido small { display: block; font-size: .78rem; font-weight: 600; color: var(--hidegszurke); }
.e-test h4 { margin: 0 0 .25rem; font-size: 1.08rem; line-height: 1.3; }
.e-test p { margin: 0 0 .3rem; }
.e-jel { display: inline-block; padding: .15rem .45rem; background: var(--fekete); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.elem-tabor .e-ido, .elem-tabor h4 { color: var(--hidegszurke); }
.elem-nilio { box-shadow: inset 4px 0 var(--nilio-arany); padding-left: .9rem; }
.elem-szunet { padding: .5rem 0; }
.elem-szunet .e-ido { font-size: .95rem; color: var(--hidegszurke); }
.elem-szunet h4 { font-weight: 600; color: var(--hidegszurke); }
.elem-kiemelt { grid-template-columns: 6.5rem 1fr auto; margin: .8rem 0; padding: 1.6rem 1.4rem; background: var(--fekete); color: #fff; border-top: 0; border-left: 6px solid var(--narancs); }
.elem-kiemelt .e-ido small { color: var(--vilagosszurke); }
.elem-kiemelt h4 { font-size: 1.5rem; font-weight: 900; }
.elem-kiemelt .jel-szervezes { color: var(--vilagosszurke); }   /* v37: the site's own labels (jelek_html) */
.elem-kiemelt a { color: #fff; }
.e-borito { width: 8.5rem; height: auto; align-self: center; box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .45); }
.e-km { margin: 0; align-self: center; text-align: right; }
.e-km b { display: block; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1; color: var(--narancs); }
.e-km span { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* v2: an illustration beside a list item */
.e-illusztracio { margin: 0; width: 13rem; align-self: start; }
.e-illusztracio img { display: block; width: 100%; }
.e-illusztracio figcaption { margin-top: .3rem; font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hidegszurke); }
.elem:has(.e-illusztracio) { grid-template-columns: 6.5rem 1fr auto; }

/* Sunday: the official close and the time to pack */
.zaras { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem; margin-top: 2rem; padding: 1.4rem; background: var(--fekete); color: #fff; }
.zaras p { margin: 0; }
.zaras b { display: block; font-size: 2.2rem; font-weight: 900; color: var(--narancs); line-height: 1; }
.zaras span { font-size: .8rem; color: var(--vilagosszurke); }
.z-nyil { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--narancs) 0 10px, transparent 10px 18px); }
.z-nyil span { position: absolute; left: 50%; top: -1.6rem; transform: translateX(-50%); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }

/* the evenings */
.estek { position: relative; padding: clamp(3rem, 7vw, 6rem) 0; background: var(--fekete); color: #fff; overflow: hidden; scroll-margin-top: 100px; }
.estek > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.estek .mag { position: relative; }
.estek h2 { margin: 0 0 1.6rem; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.estek ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.4rem; }
.estek li a { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--vonal-sotet); color: #fff; text-decoration: none; }
.estek li a:hover .es-cim { color: var(--narancs); }
.es-nap { font-weight: 900; color: var(--narancs); white-space: nowrap; }
.es-cim { font-weight: 700; }
.es-cim small { display: block; font-weight: 500; font-size: .8rem; color: var(--nilio-arany); }
.estek-jel { position: absolute; right: var(--keret); bottom: .8rem; margin: 0; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--vilagosszurke); }

/* formats and spaces */
.terek { padding: clamp(2.5rem, 6vw, 5rem) 0; scroll-margin-top: 100px; }
.terek > .mag { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); }
.terek h2 { margin: 0 0 1.2rem; font-size: 1.8rem; }
.fsavok { list-style: none; margin: 0 0 1rem; padding: 0; }
.fsavok li { margin-bottom: 1rem; }
.f-sav { display: block; padding: .5rem .7rem; background: var(--fekete); color: #fff; font-size: .8rem; }
.f-sav b { font-size: 1.3rem; font-weight: 900; color: var(--narancs); }
.f-mi { display: block; margin-top: .3rem; font-size: .85rem; }
.terlista { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.terlista li { display: grid; grid-template-columns: 3.6rem 1fr; column-gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--vonal); }
.ter-szam { grid-row: span 2; font-size: 2.4rem; font-weight: 900; line-height: 1; color: var(--narancs); }
.terlista h3 { margin: 0; font-size: 1.05rem; }
.terlista p { margin: .2rem 0 0; font-size: .92rem; }
/* v37: RC Build & Chill's logo in its row (the anchor #gyerekprogram, as on the old page) */
.terlista li:has(.ter-logo) .ter-szam { grid-row: span 3; }
.ter-logo { width: 4.5rem; height: auto; margin: .1rem 0 .5rem; }
.terlista li:target { background: #fff; box-shadow: -.6rem 0 0 #fff, .6rem 0 0 #fff; }

.t-cta { padding: 3rem 0; background: var(--narancs); color: #fff; }
.t-cta .mag { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.t-cta h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.t-cta p { margin: 0; }
.t-cta .gomb { background: var(--fekete); border-color: var(--fekete); }
.t-cta .gomb.masod { background: transparent; color: var(--fekete); border-color: var(--fekete); }   /* CTA round 2026-11-20: the secondary stays outline */
.t-cta .gomb.masod:hover { background: var(--fekete); color: #fff; }

/* ------------------------------------------------ Helyszín */
.h-nyito { padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.h-nyito-racs { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.h-legi { margin: 0; border-top: 6px solid var(--narancs); }
.h-legi img { display: block; width: 100%; }
.h-cim { font-size: .95rem; }
.h-tenyek { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 3rem; padding-top: 1.6rem; padding-bottom: 1.6rem;
  padding-left: max(var(--keret), calc((100% - 76rem) / 2 + var(--keret))); padding-right: max(var(--keret), calc((100% - 76rem) / 2 + var(--keret)));
  background: var(--fekete); color: #fff; max-width: none; }
.h-tenyek li { padding: 0 1rem 0 1.2rem; border-left: 1px solid var(--vonal-sotet); }
.h-tenyek li:first-child { border-left: 0; padding-left: 0; }
.h-tenyek b { display: block; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 900; line-height: 1.05; color: var(--narancs); }
.h-tenyek span { font-size: .8rem; color: var(--vilagosszurke); }

.h-terkep { padding: clamp(2.5rem, 6vw, 5rem) 0; background: #fff; scroll-margin-top: 60px; }
.h-terkep h2, .h-kemping h2, .h-ut h2 { margin: 0 0 .8rem; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h-terkep-racs { display: grid; grid-template-columns: 19rem 1fr; gap: 1.6rem; align-items: start; margin-top: 1.6rem; }
.valaszto { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; position: sticky; top: 70px; }
.valaszto button { display: block; width: 100%; padding: .85rem 1rem; text-align: left; font: inherit; cursor: pointer; background: var(--papir);
  color: var(--fekete); border: 0; border-left: 5px solid var(--vilagosszurke); }
.valaszto button b { display: block; font-size: .95rem; }
.valaszto button span { display: block; font-size: .8rem; font-weight: 700; color: var(--narancs); }
.valaszto button small { display: block; margin-top: .2rem; font-size: .72rem; color: var(--hidegszurke); }
.valaszto button:hover { border-left-color: var(--narancs); }
.valaszto button[aria-pressed="true"] { background: var(--fekete); color: #fff; border-left-color: var(--narancs); }
.valaszto button[aria-pressed="true"] small { color: var(--vilagosszurke); }
.t-terkep { margin: 0; }
.t-terkep svg { display: block; width: 100%; height: auto; }
/* v37: the map's image until terv.js has fetched the SVG (and without scripts): the same crop, the legend off */
.t-terkep-kep { display: block; width: 100%; height: auto; aspect-ratio: 3330 / 2970; object-fit: cover; object-position: left top; }
.t-terkep figcaption { margin-top: .6rem; font-size: .8rem; color: var(--hidegszurke); }
.t-terkep .parcella, .t-terkep [id^="zona-"] { transition: opacity .25s ease, fill .25s ease; }
.t-terkep:not([data-csomag=""]) .parcella, .t-terkep:not([data-csomag=""]) [id^="zona-"] { opacity: .16; }
.t-terkep[data-csomag="auto"] .parcella.standard,
.t-terkep[data-csomag="adventure"] .parcella.premium,
.t-terkep[data-csomag="vip"] .parcella.vip { opacity: 1; fill: var(--narancs); }
.t-terkep[data-csomag="motor"] :is(#zona-salamon, #zona-bator, #zona-fellegvar),
.t-terkep[data-csomag="adventure"] :is(#zona-salamon, #zona-bator, #zona-fellegvar),
.t-terkep[data-csomag="vip"] #zona-mogyoro,
.t-terkep[data-csomag="expo"] :is(#zona-ordogmalom, #zona-marot) { opacity: 1; }
/* Andor 2026-11-20 15:15 (3.): the KIÁLLÍTÓKNAK selection hatches the two expo areas in the site's orange, not black */
.t-terkep[data-csomag="expo"] :is(#zona-ordogmalom, #zona-marot) > g > path[stroke="#0A1418"] { stroke: var(--narancs); stroke-opacity: 1; }
/* v39 (Andor 2026-10-24 11:31, 3.): the three general motorbike areas, when lit, in the full orange of the Mogyoró-hegy
   (their own fill is a pale #FCCDB3), the tent marks white as there */
.t-terkep:is([data-csomag="motor"], [data-csomag="adventure"]) :is(#zona-salamon, #zona-bator, #zona-fellegvar) > g > path { fill: var(--narancs); }
.t-terkep:is([data-csomag="motor"], [data-csomag="adventure"]) :is(#zona-salamon, #zona-bator, #zona-fellegvar) > g > g { opacity: .42; }
.t-terkep:is([data-csomag="motor"], [data-csomag="adventure"]) :is(#zona-salamon, #zona-bator, #zona-fellegvar) > g > g path { fill: #fff; }

.h-kemping { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.h-kemping-racs { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.szolg { list-style: none; margin: 0; padding: 0; columns: 1; }
.szolg li { position: relative; padding: .7rem 0 .7rem 1.4rem; border-top: 1px solid var(--vonal); }
.szolg li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .55rem; height: .55rem; background: var(--narancs); }
.mozaik { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; min-height: 28rem; }
.mozaik img { width: 100%; height: 100%; object-fit: cover; }
.mozaik img:first-child { grid-row: span 2; }

.h-ut { padding: clamp(2.5rem, 6vw, 5rem) 0; background: var(--fekete) url("/static/img/topo/topo_csempe_szurke_feketen_v1.svg"); color: #fff; }
.h-gps { display: inline-block; max-width: 52rem; padding: .9rem 1.1rem; border: 2px dashed var(--narancs); font-size: .95rem; }
.utak { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ut { padding: 1.3rem; background: rgba(255, 255, 255, .04); border-top: 4px solid var(--narancs); }
.ut-honnan { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ut-ido { margin: .2rem 0 1rem; font-size: .9rem; color: var(--vilagosszurke); }
.ut-ido b { font-size: 2.4rem; font-weight: 900; color: #fff; }
.ut-vonal { list-style: none; margin: 0; padding: 0; }
.ut-vonal li { position: relative; padding: 0 0 .8rem 1.6rem; font-size: .92rem; }
.ut-vonal li::before { content: ""; position: absolute; left: .32rem; top: .55rem; bottom: -.55rem; width: 3px; background: var(--narancs); }
.ut-vonal li::after { content: ""; position: absolute; left: 0; top: .3rem; width: .7rem; height: .7rem; background: var(--fekete); border: 3px solid var(--narancs); border-radius: 50%; }
.ut-vonal li:last-child { font-weight: 900; color: var(--narancs); }
.ut-vonal li:last-child::before { display: none; }
.ut-vonal li:last-child::after { background: var(--narancs); }
.ut-vonal li.komp { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--vilagosszurke); }
.ut-vonal li.komp::before { background: repeating-linear-gradient(180deg, var(--narancs) 0 5px, transparent 5px 9px); }
.ut-vonal li.komp::after { display: none; }
.ut-megj { margin: .6rem 0 0; font-size: .8rem; color: var(--vilagosszurke); }
.h-ut-also { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; color: var(--vilagosszurke); }
.h-ut-also b { color: #fff; }
.h-ut .kep.domos { margin: 2rem 0 1rem; }   /* v37: the Dömös map B as on the old page, with its mobile cut */
.h-ut h2.h-dk { margin: 1.6rem 0 .6rem; font-size: 1.6rem; }

@media (max-width: 900px) {
  .plakatok { grid-template-columns: repeat(3, 80vw); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--keret)); }
  .plakat { min-height: 24rem; scroll-snap-align: start; }
  .attekintes { display: none; }
  .nap-fej { grid-template-columns: 1fr; }
  .elem, .elem-kiemelt { grid-template-columns: 4.6rem 1fr; }
  .e-borito, .e-km { grid-column: 2; justify-self: start; text-align: left; }
  .elem:has(.e-illusztracio) { grid-template-columns: 4.6rem 1fr; }
  .e-illusztracio { grid-column: 2; width: 100%; max-width: 16rem; }
  .estek ol, .terek > .mag, .h-nyito-racs, .h-terkep-racs, .h-kemping-racs, .utak, .h-ut-also { grid-template-columns: 1fr; }
  .h-tenyek { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; }
  .h-tenyek li:nth-child(odd) { border-left: 0; padding-left: 0; }   /* v37: the left column flush, as the first item */
  .valaszto { position: static; grid-template-columns: 1fr 1fr; }
  .zaras { grid-template-columns: 1fr; }
  .z-nyil { height: 2.2rem; width: 2px; margin-left: 1rem; background: repeating-linear-gradient(180deg, var(--narancs) 0 8px, transparent 8px 14px); }
  .z-nyil span { left: 1.2rem; top: .6rem; transform: none; }
  .mozaik { min-height: 18rem; }
}
@media (prefers-reduced-motion: reduce) { .plakat img, .t-terkep * { transition: none; } }

/* ================================================ Jegyek (v41, Andor 2026-10-24 13:13: "Szép munka, jóváhagyom!")
 * The approved prototype terv_v39_jegyek/jegyek_v2.css (with Alfred's 9581 fixes), here for every language. The tickets
 * are tickets: a stub with the price, a perforation, the contents. The calendar is drawn to scale and runs left to
 * right in every language (dir="ltr" on it, like the timetable's times on the Arabic Programok). */
/* ------------------------------------------------ 1. the opening */
.j-nyito { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(7rem, 12vw, 9.5rem); background: var(--fekete) url("/static/img/topo/topo_csempe_szurke_feketen_v1.svg"); color: #fff; }
/* v41: the long titles of other languages (fi, de ...) may break with the language's own hyphenation */
.j-h1 { font-size: clamp(1.7rem, 5.6vw, 4.6rem); line-height: 1; margin-bottom: 2rem; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.j-nyito-racs { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.j-nyito .t-bev { margin: 0; color: var(--vilagosszurke); }
.j-foto { margin: 0; border-top: 6px solid var(--narancs); }
.j-foto img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* the ticket calendar, drawn to scale: position = days from 24 November 2026 (prototipus_jegyek_v1.py checks it) */
/* v2 (Alfred 9581): the calendar on a plain dark strip, no topo lines under the small labels */
.jegynaptar { position: relative; height: 9.5rem; margin: 3.2rem 0 0; background: var(--fekete); box-shadow: 0 0 0 1.4rem var(--fekete); }
.jegynaptar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--vonal-sotet); }
.jn-sav { position: absolute; left: 0; top: calc(50% - 3px); width: var(--w); height: 8px; background: var(--narancs); }
.jegynaptar ol { list-style: none; margin: 0; padding: 0; }
.jn-pont { position: absolute; left: var(--x); top: 50%; width: 12.5rem; transform: translateX(-50%); }
.jn-pont::before { content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; background: var(--fekete); border: 3px solid var(--narancs); box-sizing: border-box; }
.jn-pont time, .jn-pont span { display: block; text-align: center; }
.jn-pont time { margin-top: 1.1rem; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.jn-pont span { font-size: .8rem; line-height: 1.35; color: #E6E6E3; }
.jn-fent { top: auto; bottom: 50%; }
.jn-fent::before { top: auto; bottom: -7px; }
.jn-fent time { margin-top: 0; }
.jn-fent span { margin-bottom: 1.1rem; }
.jn-pont:first-child { transform: none; }
.jn-pont:first-child::before { left: 7px; }
.jn-pont:first-child :is(time, span) { text-align: left; }
.jn-pont:last-child { transform: translateX(-100%); }
.jn-pont:last-child::before { left: auto; right: -7px; margin-left: 0; }
.jn-pont:last-child :is(time, span) { text-align: right; }
/* near an end: the label runs inward from its point */
.jn-bal { transform: translateX(-7px); }
.jn-bal::before { left: 7px; }
.jn-bal :is(time, span) { text-align: left; }
.jn-jobb { transform: translateX(calc(-100% + 7px)); }
.jn-jobb::before { left: auto; right: 0; }
.jn-jobb :is(time, span) { text-align: right; }
.jn-cel::before { width: 22px; height: 22px; top: -11px; background: var(--narancs); border-color: #fff; }
.jn-cel span { color: #fff; font-weight: 700; }

/* ------------------------------------------------ 2. the tickets, rising into the opening */
.j-jegyek { padding: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.j-jegysor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(-6rem, -8vw, -4.5rem); position: relative; z-index: 1; }
.j-jegy { display: flex; flex-direction: column; background: #fff; border-top: 6px solid var(--fekete); box-shadow: 0 1px 0 var(--vonal), 0 18px 40px -28px rgba(10, 20, 24, .55); }
.j-csonk { position: relative; padding: 1.3rem 1.3rem 1.2rem; border-bottom: 2px dashed var(--vonal); }
/* the perforation's two notches, cut in the page colour */
.j-csonk::before, .j-csonk::after { content: ""; position: absolute; bottom: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--papir); }
.j-csonk::before { left: -9px; }
.j-csonk::after { right: -9px; }
.j-jegy h3 { margin: 0; min-height: 2.5em; font-size: .95rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: .04em; }
.j-ar { margin: .5rem 0 0; font-size: clamp(2.2rem, 3.1vw, 2.9rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.j-ar span { font-size: .45em; font-weight: 800; letter-spacing: 0; }
.j-jegy ul { list-style: none; margin: 0; padding: .7rem 1.3rem 1rem; font-size: .9rem; }
.j-jegy li { position: relative; padding-block: .45rem; padding-inline: 1.2rem 0; border-top: 1px solid var(--vonal); line-height: 1.4; }
.j-jegy li:first-child { border-top: 0; }
.j-jegy li::before { content: ""; position: absolute; inset-inline-start: 0; top: .95rem; width: .45rem; height: .45rem; background: var(--narancs); }
.j-hol { font-weight: 700; }
.j-hol a { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--narancs); }
.j-gomb { margin: auto 1.3rem 1.3rem; }
.j-gomb .gomb { display: block; text-align: center; }
.j-kiemelt { background: var(--fekete); color: #fff; border-top-color: var(--narancs); }
.j-kiemelt .j-csonk { border-bottom-color: var(--vonal-sotet); }
.j-kiemelt .j-ar { color: var(--narancs); }
.j-kiemelt li { border-top-color: var(--vonal-sotet); }
.j-keret { margin: 1.4rem 0 0; padding-inline-start: .9rem; border-inline-start: 4px solid var(--narancs); font-weight: 600; max-width: 60ch; }

/* ------------------------------------------------ 3. children and visitors: a price board */
.j-gyerek { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--vonal); }
/* the heading's orange rule is a fixed length, the heading itself is not narrowed (no "AD-VENTURE" break) */
.j-gyerek h2, .j-coll h2, .j-elo h2 { position: relative; margin: 0 0 1.4rem; padding-top: 1rem; border-top: 0; max-width: none; font-size: clamp(1.8rem, 3.4vw, 2.6rem); hyphens: manual; -webkit-hyphens: manual; }
.j-gyerek h2::before, .j-coll h2::before, .j-elo h2::before { content: ""; position: absolute; left: 0; top: 0; width: min(26rem, 100%); height: 4px; background: var(--narancs); }
.j-gyerek-racs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.j-arlista { margin: 0; }
/* align-items: end, not baseline (Alfréd 11548): WebKit's grid baseline alignment of the large price against the smaller
   name pushed the page 2-14 px sideways on iPhones (landscape too) and at 481-768 px; the price now sits level with the
   name's last line */
.j-arsor { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: end; padding: 1rem 0; border-top: 2px solid var(--fekete); }
.j-arsor + .j-arsor { border-top: 1px solid var(--vonal); }
.j-arsor dt { display: flex; gap: .6rem; align-items: baseline; font-weight: 800; }
.j-arsor dt::after { content: ""; flex: 1; border-bottom: 2px dotted var(--hidegszurke); transform: translateY(-.25em); }
.j-arsor dd { display: contents; }
.j-arsor dd b { grid-column: 2; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 900; white-space: nowrap; }
.j-arsor dd > span { grid-column: 1 / -1; margin-top: .35rem; font-size: .9rem; color: var(--hidegszurke); }
/* text v45: the free lines (children, dogs) have no price: no dotted leader, the text in full colour */
.j-arsor-szoveg dt::after { content: none; }
.j-arsor-szoveg dd > span { color: inherit; font-size: .95rem; }
/* on a phone the price goes under its name (next to it the name had ~100 px), without the dotted leader line that
   would run to the line's end with nothing after it (Alfréd 11548) */
@media (max-width: 480px) {
  .j-arsor { grid-template-columns: minmax(0, 1fr); }
  .j-arsor dd b { grid-column: 1; margin-top: .35rem; }
  .j-arsor dt::after { content: none; }
}
.j-rc { margin: 0; background: #fff; border-top: 6px solid var(--narancs); }
.j-rc > img { display: block; width: 100%; max-width: none; height: auto; margin: 0; aspect-ratio: 16 / 9; object-fit: cover; }
.j-rc-szoveg { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: .2rem 1rem; padding: 1.1rem 1.2rem 1.2rem; }
.j-rc-szoveg img { grid-row: span 2; width: 4.2rem; height: auto; }
.j-rc-szoveg .t-kicsi { margin: 0; align-self: end; }
.j-rc-szoveg p:last-child { margin: 0; font-size: .95rem; }
.j-rc-szoveg p:last-child::first-letter { text-transform: uppercase; }   /* the text's "Gyerekprogram: az ..." (as oldal.css did) */

/* ------------------------------------------------ 4. the collection, on the dark band */
.j-coll { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: var(--fekete) url("/static/img/topo/topo_csempe_szurke_feketen_v1.svg"); color: #fff; }
.j-coll .t-bev { color: var(--vilagosszurke); }
.j-coll .merch { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; color: var(--fekete); }
.j-coll .termek { border: 0; border-top: 6px solid var(--narancs); }
.j-coll .termek.sapka { grid-column: 1 / -1; }
.j-coll .termek .termekar { font-size: 1.7rem; font-weight: 900; }
.j-zaro { display: inline-block; margin: .4rem 0 0; padding: .8rem 1.1rem; border: 2px dashed var(--narancs); font-weight: 700; }

/* ------------------------------------------------ 5. the pre-registration: the picture beside the form */
.j-elo { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.j-elo-racs { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.j-ai { position: sticky; top: 76px; margin: 0; }
.j-ai img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-top: 6px solid var(--narancs); }
.j-ai figcaption { margin-top: .4rem; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hidegszurke); }
.j-urlap .urlap { max-width: none; border-top: 6px solid var(--fekete); }
.j-urlap .gombsor .gomb { width: 100%; }
.j-koszonjuk { padding: 1rem 1.2rem; background: #fff; border-left: 6px solid var(--narancs); }

/* ------------------------------------------------ narrow screens */
@media (max-width: 64rem) {
  .j-jegysor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-gyerek-racs, .j-elo-racs { grid-template-columns: 1fr; }
  .j-ai { position: static; }
  .j-ai img { aspect-ratio: 16 / 10; }
}
@media (max-width: 48rem) {
  .j-nyito-racs { grid-template-columns: 1fr; }
  .j-jegysor { grid-template-columns: 1fr; }
  .j-jegy h3 { min-height: 0; }
  .j-coll .merch { grid-template-columns: 1fr; }
  /* the calendar as a list down the left edge: in this width the scale would put two dates on one point */
  .jegynaptar { height: auto; margin-top: 2.4rem; }
  .jegynaptar::before { left: 6px; right: auto; top: .4rem; bottom: .4rem; width: 2px; height: auto; }
  .jn-sav { display: none; }
  .jn-pont, .jn-fent, .jn-bal, .jn-jobb, .jn-pont:first-child, .jn-pont:last-child { position: relative; left: 0; top: auto; bottom: auto; width: auto; transform: none; padding: 0 0 1rem 1.8rem; }
  .jn-pont::before, .jn-fent::before, .jn-bal::before, .jn-jobb::before, .jn-pont:first-child::before, .jn-pont:last-child::before { left: 0; right: auto; top: .2rem; bottom: auto; margin-left: 0; }
  .jn-cel::before { left: -4px !important; top: 0 !important; }
  .jn-pont time, .jn-pont span, .jn-pont :is(time, span) { text-align: left !important; margin: 0 !important; }
}

/* 320 px (the round after the 2026-10-29 go-live, Alfréd 10749): nothing may push the page sideways on the smallest phones.
   Grid columns may shrink below their content, long words and addresses break where they must. */
.e-test, .nap-fej > *, .valaszto button { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 760px) {
  .valaszto { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  [dir="rtl"] .z-nyil { margin-left: 0; margin-right: 1rem; }
  [dir="rtl"] .z-nyil span { left: auto; right: 1.2rem; }
}
@media (max-width: 380px) {
  /* the time above the text: a side column left the text too narrow for the featured slot's big title */
  /* :has() names the illustrated rows too (Swet, Saturday 15:00): their two-column rule above outranks a bare .elem, so
     without them here the text fell into the 4.6rem time column (Andor 2026-10-31, 2.-3.) */
  .elem, .elem.elem-kiemelt, .elem:has(.e-illusztracio) { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .elem > *, .elem .e-borito, .elem .e-km, .elem .e-illusztracio { grid-column: 1; }
  .elem-kiemelt { padding: 1.2rem 1rem; }
  .valaszto { grid-template-columns: minmax(0, 1fr); }
  .z-nyil span { white-space: normal; max-width: calc(100vw - 4rem); }
}
/* text v59: the day names are words now ("Nyitó nap", "Journée d'ouverture"), set in capitals like DISCOVER was; a long
   one breaks between its words, never out of the column */
.p-tema, .nap-fej h2 { text-transform: uppercase; overflow-wrap: break-word; hyphens: manual; }
.nap-fej h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; }
.p-tema { font-size: clamp(1.7rem, 2.8vw, 2.6rem); }

/* the gift voucher band under the ticket cards (Hungarian Jegyek page, marveen 11677) */
.j-utalvany { padding: 0 0 clamp(2rem, 5vw, 3.5rem); }
.j-utalvany .mag { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.j-utalvany-szoveg { flex: 1 1 22rem; margin: 0; padding: 1rem 1.2rem; border-inline-start: 6px solid var(--narancs);
  background: #fff; font-size: 1.05rem; font-weight: 600; }
.j-utalvany .gombsor { margin: 0; }
/* the net line under a pass's gross price (Andor 2026-11-02 08:41): smaller, beside the main price */
.j-netto { margin: .35rem 0 0; font-size: .82rem; font-weight: 600; letter-spacing: 0; opacity: .8; }
/* 2. pont (Andor 2026-11-16): inside the highlight window the voucher band sits in the dark opening section, under the
   calendar box (the ticket row overlaps that section's bottom padding); orange text box, outlined button on the dark */
.j-utalvany-elol { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 0; margin-top: clamp(1.25rem, 3vw, 2rem); }
.j-utalvany-elol .j-utalvany-szoveg { background: var(--narancs); color: var(--fekete); border-inline-start-color: #fff; }   /* black (--fekete) on orange 5.70:1 like the HOME band (white was 3.27:1, Alfréd 19286/19290) */
.j-utalvany-elol .gomb { background: transparent; color: #fff; border: 2px solid #fff; }
.j-utalvany-elol .gomb:hover { background: #fff; color: var(--fekete); }

/* design round 2026-11-20 (Andor 16:08, 3.): the Jegyek voucher band is one orange card with an icon, black text, black button */
.j-utalvany-elol { background: var(--narancs); color: var(--fekete); padding: clamp(1.2rem, 3vw, 1.9rem) clamp(1.2rem, 3vw, 2.2rem); gap: 1rem 1.6rem; }
.j-utalvany-elol .j-utalvany-szoveg { flex: 1 1 20rem; background: none; border: 0; padding: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 800; line-height: 1.3; }
.j-utalvany-elol .gomb { background: var(--fekete); color: #fff; border: 2px solid var(--fekete); }
.j-utalvany-elol .gomb:hover { background: #fff; color: var(--fekete); border-color: #fff; }

