/* KSZZ Események – a téma színeit használja, ha van; különben a saját alapértékeit. */
.kszz-ev, .kszz-next, .kszz-cal, .kszz-single, .kszz-news, .kszz-empty {
	--n: var(--kszz-navy, #011d46);
	--b: var(--kszz-blue, #0072b3);
	--bd: var(--kszz-blue-dark, #005a8f);
	--br: var(--kszz-brand, #007fc7);
	--sky: var(--kszz-sky, #4fb3ea);
	--ink: var(--kszz-ink, #414143);
	--ice: var(--kszz-ice, #eef5fb);
	--line: #dce6f0;
}

/* Gombok */
.kszz-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: .8em 1.5em; background: var(--b, #0072b3); color: #fff !important; text-decoration: none !important;
	font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
	border: 2px solid var(--b, #0072b3); border-radius: 999px; transition: background-color .2s, color .2s, transform .2s;
}
.kszz-btn:hover, .kszz-btn:focus-visible { background: var(--n, #011d46); border-color: var(--n, #011d46); transform: translateY(-1px); }
.kszz-btn--ghost { background: transparent; color: var(--n, #011d46) !important; border-color: var(--n, #011d46); }
.kszz-btn--ghost:hover, .kszz-btn--ghost:focus-visible { background: var(--n, #011d46); color: #fff !important; }
.kszz-btn--ghost-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.kszz-btn--ghost-light:hover, .kszz-btn--ghost-light:focus-visible { background: #fff; color: var(--n, #011d46) !important; border-color: #fff; }

/* Állapotjelvények */
.kszz-badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #e6f1f8; color: var(--bd, #005a8f); }
.kszz-badge.is-soldout, .kszz-badge.is-cancelled { background: #fde8e8; color: #a11c1c; }
.kszz-badge.is-past { background: #eceff3; color: #5a6270; }
.kszz-empty { padding: 28px; background: var(--ice, #eef5fb); color: var(--n, #011d46); border-radius: 14px; margin: 0; }

/* Lista */
.kszz-events { display: block; }
.kszz-ev--list {
	display: grid; grid-template-columns: 110px 200px 1fr; gap: 32px; align-items: center;
	padding: 30px 0; border-bottom: 1px solid var(--line);
}
.kszz-ev.is-past { opacity: .72; }
.kszz-ev--noimg .kszz-ev__img { display: none; }
.kszz-ev--list.kszz-ev--noimg { grid-template-columns: 110px 1fr; }
.kszz-events__title { margin: 0 0 18px; font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--kszz-navy, #011d46); }
.kszz-ev__date { display: flex; flex-direction: column; gap: 2px; }
.kszz-ev__m { font-weight: 700; font-size: 16px; text-transform: uppercase; color: var(--b); letter-spacing: .03em; }
.kszz-ev__d { font-weight: 800; font-size: 60px; line-height: .95; color: var(--n); }
.kszz-ev__y { font-size: 15px; color: var(--ink); }
.kszz-ev__img { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 210 / 297; background: var(--ice); }
.kszz-ev__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s; display: block; }
.kszz-ev:hover .kszz-ev__img img { transform: scale(1.04); }
.kszz-ev__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b); }
.kszz-ev__title { margin: 6px 0 8px; font-size: 26px; line-height: 1.15; text-transform: uppercase; font-weight: 800; color: var(--n); }
.kszz-ev__title a { color: inherit; text-decoration: none; }
.kszz-ev__title a:hover { color: var(--b); }
.kszz-ev__meta { margin: 0 0 8px; font-weight: 500; font-size: 15px; color: var(--ink); }
.kszz-ev__excerpt { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
.kszz-ev__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Kártyák (3 oszlop) */
.kszz-events--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kszz-ev--cards { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; }
.kszz-ev--cards .kszz-ev__date { flex-direction: row; align-items: baseline; gap: 8px; order: 2; }
.kszz-ev--cards .kszz-ev__d { font-size: 34px; }
.kszz-ev--cards .kszz-ev__img { order: 1; }
.kszz-ev--cards .kszz-ev__body { order: 3; }
.kszz-ev--cards .kszz-ev__title { font-size: 20px; }

@media (max-width: 900px) { .kszz-events--cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
	.kszz-ev--list { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
	.kszz-ev--list .kszz-ev__date { flex-direction: row; align-items: baseline; gap: 10px; }
	.kszz-ev--list .kszz-ev__d { font-size: 44px; }
	.kszz-ev--list .kszz-ev__img { max-width: 240px; }
	.kszz-ev__title { font-size: 22px; }
	.kszz-events--cards { grid-template-columns: 1fr; }
}

/* A legközelebbi koncert – nagy blokk */
.kszz-next { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 56px; align-items: center; background: var(--n); color: #d5dae4; border-radius: 24px; padding: 40px; }
.kszz-next--plain { background: transparent; padding: 0; border-radius: 0; }
.kszz-next .kszz-ev__tag { color: var(--sky); }
.kszz-next__poster img { display: block; width: 100%; height: auto; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.kszz-next__when { margin: 14px 0 12px; font-weight: 700; font-size: 17px; letter-spacing: .02em; color: var(--sky); }
.kszz-next__title { margin: 0 0 16px; font-size: clamp(30px, 4vw, 52px); line-height: 1.02; text-transform: uppercase; font-weight: 800; color: #fff; }
.kszz-next__title a { color: inherit; text-decoration: none; }
.kszz-next__text { margin: 0 0 8px; font-size: 17px; line-height: 1.65; }
.kszz-next__credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin: 24px 0; padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, .15); }
.kszz-next__credits dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.kszz-next__credits dd { margin: 4px 0 0; color: #fff; }
.kszz-next__foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.kszz-next__prices { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 0; padding: 0; }
.kszz-next__prices span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #c9d0dd; }
.kszz-next__prices strong { font-size: 28px; font-weight: 700; color: #fff; white-space: nowrap; }
@media (max-width: 860px) {
	.kszz-next { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
	.kszz-next--plain { padding: 0; }
	.kszz-next__prices { gap: 18px; }
	.kszz-next__prices strong { font-size: 21px; }
}

/* Naptár */
.kszz-cal__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.kszz-cal__title { margin: 0 8px; font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--n); min-width: 8ch; text-align: center; }
.kszz-cal__nav { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ice); color: var(--n) !important; text-decoration: none !important; font-size: 24px; line-height: 1; transition: background-color .2s, color .2s; }
.kszz-cal__nav:hover, .kszz-cal__nav:focus-visible { background: var(--n); color: #fff !important; }
.kszz-cal__today { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--b); }
.kszz-cal__ics { margin-left: auto; font-size: 14px; color: var(--b); }
.kszz-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.kszz-cal__h { padding: 8px 4px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.kszz-cal__d { min-height: 104px; padding: 8px; border-radius: 10px; background: var(--ice); display: flex; flex-direction: column; gap: 4px; }
.kszz-cal__d.is-empty { background: transparent; }
.kszz-cal__d.is-today { outline: 2px solid var(--br); outline-offset: -2px; }
.kszz-cal__n { font-weight: 700; font-size: 14px; color: var(--ink); }
.kszz-cal__d.has-events { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -20px rgba(1, 29, 70, .6); }
.kszz-cal__d.has-events .kszz-cal__n { color: var(--n); }
.kszz-cal__e { display: block; padding: 6px 8px; border-radius: 8px; background: var(--b); color: #fff !important; text-decoration: none !important; font-size: 12px; line-height: 1.3; transition: background-color .2s; }
.kszz-cal__e:hover, .kszz-cal__e:focus-visible { background: var(--n); }
.kszz-cal__e.is-past { background: #7b8794; }
.kszz-cal__e b { display: block; font-size: 11px; letter-spacing: .06em; opacity: .9; }
.kszz-cal__list { margin-top: 36px; }
.kszz-cal__sub { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b); }
@media (max-width: 720px) {
	.kszz-cal__grid { display: none; } /* telefonon a hónap koncertjei listában jelennek meg */
	.kszz-cal__title { font-size: 24px; flex: 1; }
	.kszz-cal__ics { margin-left: 0; width: 100%; }
	.kszz-cal__list { margin-top: 12px; }
}

/* A koncert saját oldala */
.single-kszz_event .featured-image, .single-kszz_event .entry-meta, .single-kszz_event .post-image { display: none; }
.single-kszz_event .entry-title { font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.kszz-single__top { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 48px; align-items: start; margin: 8px 0 40px; }
.kszz-single__poster { margin: 0; }
.kszz-single__poster img { display: block; width: 100%; height: auto; box-shadow: 0 30px 60px -28px rgba(1, 29, 70, .6); }
.kszz-single__when { margin: 10px 0 4px; font-size: 22px; font-weight: 700; color: var(--n); }
.kszz-single__venue { margin: 0 0 18px; font-size: 18px; color: var(--ink); }
.kszz-single__credits { display: grid; gap: 14px; margin: 0 0 22px; padding: 18px 0; border-block: 1px solid var(--line); }
.kszz-single__credits dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b); }
.kszz-single__credits dd { margin: 2px 0 0; color: var(--n); font-weight: 500; }
.kszz-single__prices { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0 0 22px; padding: 0; }
.kszz-single__prices span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.kszz-single__prices strong { font-size: 26px; color: var(--n); white-space: nowrap; }
.kszz-single__program, .kszz-single__text, .kszz-single__more { margin-bottom: 44px; }
.kszz-single h2 { font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--n); margin: 0 0 16px; }
.kszz-single__program ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kszz-single__program li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--n); }
@media (max-width: 800px) { .kszz-single__top { grid-template-columns: 1fr; gap: 24px; } .kszz-single__poster { max-width: 340px; } }

/* Hírek */
.kszz-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kszz-news__item { display: flex; flex-direction: column; gap: 14px; }
.kszz-news__img { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 10; background: var(--ice); }
.kszz-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.kszz-news__item:hover .kszz-news__img img { transform: scale(1.04); }
.kszz-news time { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--b); }
.kszz-news h3 { margin: 4px 0 8px; font-size: 21px; line-height: 1.2; text-transform: uppercase; font-weight: 800; }
.kszz-news h3 a { color: var(--n); text-decoration: none; }
.kszz-news h3 a:hover { color: var(--b); }
.kszz-news p { margin: 0; font-size: 15px; color: var(--ink); }
@media (max-width: 900px) { .kszz-news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .kszz-news { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	.kszz-ev__img img, .kszz-news__img img, .kszz-btn { transition: none; }
}

/* Felső sáv: következő koncert */
.kszz-topbar__teaser { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff !important; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; transition: background-color .2s; }
.kszz-topbar__teaser:hover, .kszz-topbar__teaser:focus-visible { background: rgba(255, 255, 255, .2); }
.kszz-topbar__teaser b { color: var(--kszz-sky, #4fb3ea); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }
@media (max-width: 1100px) { .kszz-topbar__teaser { display: none; } }

/* Lezajlott koncertek: albumborítók (A3 álló plakát; az A3 és az A4 aránya azonos: 210 / 297) és fotógaléria */
.kszz-archive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.kszz-album { display: flex; flex-direction: column; gap: 12px; text-decoration: none !important; color: var(--n) !important; }
.kszz-album__cover { position: relative; display: block; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 6px; background: var(--ice); box-shadow: 0 24px 40px -26px rgba(1, 29, 70, .55); }
.kszz-album__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .5s; }
.kszz-album:hover .kszz-album__cover img { transform: scale(1.04); }
.kszz-album__count { position: absolute; right: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(1, 29, 70, .85); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.kszz-album__date { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--b); }
.kszz-album__title { font-size: 18px; line-height: 1.2; font-weight: 800; text-transform: uppercase; }
@media (max-width: 1000px) { .kszz-archive { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .kszz-archive { grid-template-columns: 1fr 1fr; gap: 18px; } .kszz-album__title { font-size: 15px; } }
.kszz-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kszz-photos a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--ice); }
.kszz-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.kszz-photos a:hover img { transform: scale(1.05); }
@media (max-width: 720px) { .kszz-photos { grid-template-columns: 1fr 1fr; gap: 8px; } }
.kszz-single__photos { margin-bottom: 44px; }
.kszz-lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.kszz-lb::backdrop { background: rgba(1, 29, 70, .92); }
.kszz-lb img { display: block; max-width: 92vw; max-height: 90vh; margin: auto; }
.kszz-lb button { position: fixed; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 32px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.kszz-lb button:hover { background: rgba(255, 255, 255, .3); }
.kszz-lb__x { top: 16px; right: 16px; } .kszz-lb__p { left: 16px; top: 50%; } .kszz-lb__n { right: 16px; top: 50%; }

/* Űrlapok (kapcsolat, hírlevél) */
.kszz-form { display: grid; gap: 4px; max-width: 560px; }
.kszz-form p { margin: 0 0 12px; }
.kszz-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kszz-navy, #011d46); }
.kszz-form input[type=text], .kszz-form input[type=email], .kszz-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #b9c6dc; border-radius: 6px; background: #fff; font: inherit; color: #14213a; }
.kszz-form input:focus-visible, .kszz-form textarea:focus-visible { outline: 3px solid #4fb3ea; outline-offset: 1px; }
.kszz-form .kszz-btn { padding: 14px 30px; border: 0; border-radius: 999px; background: var(--kszz-brand, #0a62b0); color: #fff; font: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.kszz-form .kszz-btn:hover { background: var(--kszz-navy, #011d46); }
.kszz-form__hp { position: absolute !important; left: -9999px; }
.kszz-form__inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.kszz-form__inline p:first-child { flex: 1 1 260px; }
.kszz-form__msg { padding: 12px 16px; border-radius: 6px; font-weight: 600; max-width: 560px; }
.kszz-form__msg--ok { background: #e3f4ea; color: #14532d; }
.kszz-form__msg--err { background: #fde8e8; color: #7f1d1d; }
.kszz-form--newsletter { max-width: 640px; }

/* Következő koncert plakát nélkül: a szöveg teljes szélességben */
.kszz-next--noimg { grid-template-columns: 1fr; }
.kszz-next--noimg .kszz-next__body { max-width: 900px; }
.kszz-next__title { overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* Telefonon a plakát nélküli koncertsor is egy oszlopos (különben a dátum rácsúszik a címre) */
@media (max-width: 720px) {
	.kszz-ev--list.kszz-ev--noimg { grid-template-columns: 1fr; }
	.kszz-cal__bar { gap: 8px; }
	.kszz-cal__title { flex: 1 1 0; min-width: 0; margin: 0; font-size: 20px; }
}
/* Széles képernyőn a felső sáv beharangozója hosszabb címet is mutathat */
@media (min-width: 1300px) { .kszz-topbar__teaser { max-width: 560px; } }

/* Kezdőlap: ha nincs hír, a teljes Hírek szakasz rejtve marad; új hírnél magától megjelenik */
.elementor > .e-con:has(.kszz-news-none) { display: none; }

/* Galéria albumok */
.elementor > .e-con:has(.kszz-gallery-none) { display: none; }
.kszz-album-photos { margin-top: 8px; }
.kszz-album-back { margin: 36px 0 0; }
.single-kszz_album .featured-image, .single-kszz_album .page-header-image-single { display: none; }
.kszz-album-head { display: grid; grid-template-columns: calc((100% - 36px) / 4) 1fr; gap: 12px 28px; align-items: start; margin-bottom: 28px; }
.kszz-album-head__cover { margin: 0; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 6px; background: var(--ice, #eef5fb); }
.kszz-album-head__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
@media (max-width: 720px) { .kszz-album-head { grid-template-columns: calc((100% - 8px) / 2) 1fr; gap: 8px 16px; } }
