/* Billetter og events */

.klubik-events,
.klubik-eventadmin {
	--sp-deep: var(--deep, #173e48);
	--sp-lime: var(--lime, #dfef6d);
	--sp-line: var(--line, #e5e0d5);
	--sp-muted: var(--mutedink, #6f7f84);
	--sp-sand: var(--sand, #f7f4eb);
	--sp-ink: var(--ink, #203842);
	--ev-radius: 16px;
}

.klubik-events .kbk-muted,
.klubik-eventadmin .kbk-muted { color: var(--sp-muted); }

/* Felter, som temaet ikke selv styler */
.klubik-eventadmin .kbk-set-field input[type=number],
.klubik-eventadmin .kbk-set-field input[type=date],
.klubik-eventadmin .kbk-set-field input[type=time],
.klubik-eventadmin .kbk-set-field input[type=url],
.klubik-eventadmin .kbk-set-field input[type=email],
.klubik-eventadmin .kbk-set-field input[type=tel],
.klubik-eventadmin .kbk-set-field input[type=file],
.klubik-eventadmin .kbk-set-field textarea,
.klubik-eventadmin .kbk-set-field select,
.kbk-ev-buyform input[type=text],
.kbk-ev-buyform input[type=email],
.kbk-ev-buyform input[type=tel],
.kbk-ev-buyform select,
.kbk-ev-filter select,
.kbk-ev-refundform input { font: inherit; font-size: 16px; color: var(--sp-ink); padding: 10px 12px; border: 1px solid #d9d3c5; border-radius: 9px; background: #fff; width: 100%; box-sizing: border-box; }
.klubik-eventadmin .kbk-set-field textarea { min-height: 80px; }

/* ---------- Oversigten ---------- */
.kbk-ev-head { max-width: 720px; margin: 0 0 22px; }
.kbk-ev-head p { font-size: 18px !important; }
.kbk-ev-head h1 { font-family: var(--serif, inherit); color: var(--sp-deep); font-size: clamp(30px, 4.5vw, 46px); line-height: 1.1; margin: 0 0 10px; }
.kbk-ev-head p { color: var(--sp-muted); font-size: 17px; margin: 0; }
.kbk-ev-blocktitle { color: var(--sp-deep); margin: 0 0 16px; }
.kbk-ev-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.kbk-ev-filter label { flex: 0 1 220px; }
.kbk-ev-filter select { padding: 9px 12px; font-size: 15px; }
.kbk-ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.kbk-ev-grid.is-one { grid-template-columns: minmax(0, 420px); }
.kbk-ev-grid.is-list { grid-template-columns: 1fr; gap: 12px; }
.kbk-ev-empty { text-align: center; color: var(--sp-muted); padding: 30px 0; }
.kbk-ev-more { text-align: center; margin: 22px 0 0; }

.kbk-ev-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sp-line); border-radius: var(--ev-radius); padding: 10px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; min-width: 0; }
.kbk-ev-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(23, 62, 72, .10); }
.kbk-ev-card-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 11px; overflow: hidden; background: var(--sp-sand); }
.kbk-ev-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kbk-ev-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--sp-muted); background: var(--sp-sand); }
.kbk-ev-badge { position: absolute; left: 10px; top: 10px; background: var(--sp-lime); color: var(--sp-deep); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.kbk-ev-badge.is-dark { background: var(--sp-deep); color: #fff; }
.kbk-ev-card-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 4px 4px; flex: 1 1 auto; }
.kbk-ev-card-body b { font-size: 17px; line-height: 1.3; color: var(--sp-deep); }
.kbk-ev-card-body > small { color: var(--sp-muted); font-size: 13.5px; }
.kbk-ev-kicker { font-size: 11.5px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sp-muted); margin: 0; }
.kbk-ev-card-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; margin-top: auto; padding-top: 10px; font-size: 13.5px; }
.kbk-ev-pin { display: inline-flex; gap: 5px; align-items: center; border: 1px solid var(--sp-line); border-radius: 14px; padding: 4px 10px; color: var(--sp-ink); min-width: 0; line-height: 1.35; white-space: normal; overflow-wrap: break-word; text-align: left; }
.kbk-ev-pin svg { flex: 0 0 auto; }
.kbk-ev-price { font-weight: 700; color: var(--sp-deep); white-space: nowrap; }
.kbk-ev-price s { color: var(--sp-muted); font-weight: 400; margin-right: 4px; }
.kbk-ev-card.is-cancelled .kbk-ev-card-img img { filter: grayscale(.8); opacity: .7; }

.kbk-ev-card.is-row { flex-direction: row; gap: 16px; align-items: stretch; }
.kbk-ev-card.is-row .kbk-ev-card-img { flex: 0 0 180px; aspect-ratio: 4 / 3; }
.kbk-ev-card.is-row .kbk-ev-card-body { padding: 4px 6px 4px 0; }
@media (max-width: 560px) {
	.kbk-ev-card.is-row .kbk-ev-card-img { flex-basis: 110px; }
}

/* ---------- Eventsiden ---------- */
.kbk-ev-media { margin: 10px 0 26px; }
.klubik-events a.kbk-ev-hero,
.klubik-events a.kbk-ev-thumb { display: block; border-radius: 20px; }
.klubik-events a.kbk-ev-thumb { border-radius: 12px; }
.kbk-ev-hero { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--sp-sand); }
.kbk-ev-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kbk-ev-hero.is-video { aspect-ratio: auto; background: #000; }
.kbk-ev-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.kbk-ev-thumb { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--sp-sand); }
.kbk-ev-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.kbk-ev-thumb:hover img { transform: scale(1.04); }
.kbk-ev-thumb.is-video span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; font-weight: 700; background: rgba(23, 62, 72, .55); }
.kbk-ev-video { width: 100%; display: block; border-radius: 14px; background: #000; }
.kbk-ev-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; display: block; }

.kbk-ev-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) {
	.kbk-ev-layout { grid-template-columns: 1fr; gap: 22px; }
	.kbk-ev-side { order: -1; }
	.kbk-ev-hero { aspect-ratio: 4 / 3; border-radius: 14px; }
}
.kbk-ev-main .kbk-ev-kicker { margin: 0 0 6px; }
.kbk-ev-title { font-family: var(--serif, inherit); color: var(--sp-deep); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin: 0 0 16px; }
.kbk-ev-text { font-size: 17px; line-height: 1.65; color: var(--sp-ink); }
.kbk-ev-text p { margin: 0 0 14px; }
.kbk-ev-section { margin-top: 30px; }
.kbk-ev-section h2 { color: var(--sp-deep); font-size: 22px; margin: 0 0 12px; }
.kbk-ev-places { display: grid; gap: 12px; }
.kbk-ev-place { display: flex; gap: 14px; align-items: flex-start; background: var(--sp-sand); border: 1px solid var(--sp-line); border-radius: 14px; padding: 16px; }
.kbk-ev-place-pin { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #c8442f; }
.kbk-ev-place b { color: var(--sp-deep); display: block; }
.kbk-ev-place small { color: var(--sp-muted); display: block; }
.kbk-ev-place p { margin: 10px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.kbk-ev-place .button { padding: 7px 12px; font-size: 14px; }

.kbk-ev-side { position: sticky; top: 90px; }
.kbk-ev-panel { background: #fff; border: 1px solid var(--sp-line); border-radius: var(--ev-radius); padding: 20px; box-shadow: 0 8px 26px rgba(23, 62, 72, .06); }
.kbk-ev-panel h2 { color: var(--sp-deep); font-size: 19px; margin: 4px 0 12px; }
.kbk-ev-date { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #efede6; }
.kbk-ev-date:last-of-type { border-bottom: 0; }
.kbk-ev-date b { display: block; color: var(--sp-deep); font-size: 15px; }
.kbk-ev-date small { display: block; color: var(--sp-muted); font-size: 13px; }
.kbk-ev-date .button { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.kbk-ev-date em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f6dfdb; color: #a3402f; white-space: nowrap; }
.kbk-ev-date.is-few small { color: #a3402f; }
.kbk-ev-date.is-off b { color: var(--sp-muted); }
.kbk-ev-prices { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--sp-line); display: grid; gap: 10px; }
.kbk-ev-prices li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.kbk-ev-prices li > span:first-child small { display: block; color: var(--sp-muted); font-size: 12.5px; }
.kbk-ev-prices-v { display: grid; grid-template-columns: auto auto; gap: 0 6px; align-items: baseline; text-align: right; white-space: nowrap; }
.kbk-ev-prices-v b { color: var(--sp-deep); }
.kbk-ev-prices-v small { color: var(--sp-muted); font-size: 12px; text-align: left; }
.kbk-ev-fee { font-size: 13px; color: var(--sp-muted); margin: 10px 0 0; }
.kbk-ev-note { background: #f4f8dc; border-radius: 10px; padding: 9px 12px; font-size: 13.5px; margin: 12px 0 0; }
.kbk-ev-note svg { vertical-align: -2px; }
.kbk-ev-note.is-ok { background: #e9f3ea; }

/* Køb */
.kbk-ev-buy h2 { margin-top: 8px; }
.kbk-ev-buy-place { color: var(--sp-muted); margin: -6px 0 12px; display: flex; gap: 6px; align-items: center; font-size: 14px; }
.kbk-ev-buyform { display: grid; gap: 14px; }
.kbk-ev-buyform label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; color: var(--sp-ink); }
.kbk-ev-qtys { display: grid; }
.kbk-ev-qty { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #efede6; }
.kbk-ev-qty b { display: block; color: var(--sp-deep); }
.kbk-ev-qty small { display: block; color: var(--sp-muted); font-size: 13px; }
.kbk-ev-qty small s { margin-right: 3px; }
.kbk-ev-qty.is-off { opacity: .6; }
.kbk-ev-step { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.kbk-ev-step button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #cfc8b8; background: #fff; color: var(--sp-deep); font-size: 18px; line-height: 1; cursor: pointer; }
.kbk-ev-step button:hover { border-color: var(--sp-deep); }
.kbk-ev-step input { width: 46px !important; text-align: center; padding: 6px 2px !important; font-weight: 700; -moz-appearance: textfield; }
.kbk-ev-step input::-webkit-outer-spin-button,
.kbk-ev-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kbk-ev-q { border: 0; padding: 0; margin: 0; display: grid; gap: 5px; }
.kbk-ev-q legend { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.kbk-ev-who { display: grid; gap: 10px; }
.kbk-ev-who .kbk-ev-note { margin: 0; }
.kbk-ev-buyer { font-size: 14px; margin: 0; }
.kbk-ev-buyer svg { vertical-align: -2px; }
.kbk-ev-terms { font-weight: 400 !important; display: flex !important; gap: 8px; }
.kbk-ev-sum { background: var(--sp-sand); border-radius: 12px; padding: 12px 14px; }
.kbk-ev-sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 3px 0; }
.kbk-ev-sum-row.is-total { border-top: 1.5px solid var(--sp-deep); margin-top: 6px; padding-top: 8px; font-size: 16px; }
.kbk-ev-sum-row.is-total b { color: var(--sp-deep); }
.kbk-ev-sum-moms,
.kbk-ev-sum-save { font-size: 12.5px; color: var(--sp-muted); margin: 6px 0 0; }
.kbk-ev-sum-save { color: #2e6b46; font-weight: 600; }
.kbk-ev-pay { width: 100%; justify-content: center; padding: 14px 18px; font-size: 16px; }
.kbk-ev-pay[disabled] { opacity: .5; cursor: not-allowed; }
.kbk-ev-secure { font-size: 12.5px; color: var(--sp-muted); text-align: center; margin: -4px 0 0; display: flex; gap: 5px; justify-content: center; align-items: center; }

/* Booking og kvittering */
.kbk-ev-status { margin: -6px 0 16px; }
.kbk-ev-receipt { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 12px; }
.kbk-ev-receipt td,
.kbk-ev-receipt th { padding: 7px 0; border-bottom: 1px solid #efede6; text-align: left; }
.kbk-ev-receipt .num { text-align: right; white-space: nowrap; }
.kbk-ev-receipt tfoot th { border-top: 1.5px solid var(--sp-deep); border-bottom: 0; color: var(--sp-deep); }
.kbk-ev-receipt small { color: var(--sp-muted); }
.kbk-ev-moved { border-color: #f2d2c8; background: #fdf6f3; }
.kbk-ev-terms-text p { line-height: 1.6; }
.kbk-ev-mine { text-decoration: none; color: inherit; align-items: center; }

/* ---------- Eventstyring ---------- */
.kbk-ev-aname { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.kbk-ev-aname span { display: flex; flex-direction: column; }
.kbk-ev-aname small { color: var(--sp-muted); font-size: 12.5px; }
.kbk-ev-athumb { flex: 0 0 56px; width: 56px; height: 42px; border-radius: 8px; overflow: hidden; background: var(--sp-sand); }
.kbk-ev-athumb img,
.kbk-ev-athumb .kbk-ev-noimg { width: 100%; height: 100%; object-fit: cover; }
.kbk-ev-atable td { vertical-align: middle; }
.kbk-ev-atable small { color: var(--sp-muted); }

.kbk-ev-overview { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 16px; margin: 0 0 16px; }
.kbk-ev-ohero { position: relative; border-radius: var(--ev-radius); overflow: hidden; background: var(--sp-sand); min-height: 190px; }
.kbk-ev-ohero img,
.kbk-ev-ohero .kbk-ev-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kbk-ev-ohero .kbk-ev-badge { top: auto; bottom: 12px; left: 12px; }
.kbk-ev-overview .kbk-set-card { margin: 0; }
.kbk-ev-facts { display: grid; gap: 0; margin: 0; }
.kbk-ev-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f0ede5; font-size: 14.5px; }
.kbk-ev-facts div:last-child { border-bottom: 0; }
.kbk-ev-facts dt { font-weight: 700; color: var(--sp-deep); }
.kbk-ev-facts dd { margin: 0; color: var(--sp-ink); }
@media (max-width: 760px) {
	.kbk-ev-overview { grid-template-columns: 1fr; }
	.kbk-ev-facts div { grid-template-columns: 1fr; gap: 0; }
}

.kbk-ev-dhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 12px; }
.kbk-ev-dhead h2 { margin: 0 auto 0 0; }
.kbk-ev-seg { display: inline-flex; background: #ece9e1; border-radius: 10px; padding: 3px; }
.kbk-ev-seg a { padding: 6px 14px; border-radius: 8px; text-decoration: none; color: var(--sp-muted); font-size: 14px; font-weight: 600; }
.kbk-ev-seg a.is-on { background: #fff; color: var(--sp-deep); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.kbk-ev-dlist { padding: 6px 0; overflow: hidden; }
.kbk-ev-drow { display: grid; grid-template-columns: 40px minmax(0, 1.2fr) minmax(0, 1fr) auto 20px; gap: 14px; align-items: center; padding: 14px 18px; text-decoration: none; color: inherit; border-bottom: 1px solid #f0ede5; }
.kbk-ev-drow:last-child { border-bottom: 0; }
.kbk-ev-drow:hover { background: #fbfaf6; }
.kbk-ev-drow.is-cancelled { opacity: .65; }
.kbk-ev-dicon { width: 36px; height: 36px; border-radius: 50%; background: #efede6; display: grid; place-items: center; color: var(--sp-deep); }
.kbk-ev-dwhen b { display: block; color: var(--sp-deep); font-size: 16px; }
.kbk-ev-dwhen small,
.kbk-ev-dtime small { display: block; color: var(--sp-muted); font-size: 12.5px; }
.kbk-ev-dtime { font-size: 14px; }
.kbk-ev-dcount { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 640px) {
	.kbk-ev-drow { grid-template-columns: 1fr auto 16px; gap: 6px 10px; padding: 12px 14px; }
	.kbk-ev-dicon { display: none; }
	.kbk-ev-dtime { grid-column: 1; grid-row: 2; }
	.kbk-ev-dcount { grid-column: 2; grid-row: 1 / span 2; }
}
.kbk-ev-adate { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0ede5; }
.kbk-ev-adate a { text-decoration: none; color: inherit; }
.kbk-ev-adate b { display: block; color: var(--sp-deep); }
.kbk-ev-adate small { color: var(--sp-muted); }

.kbk-ev-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.kbk-ev-actions .button { display: inline-flex; gap: 6px; align-items: center; }
.kbk-ev-actions .kbk-danger { color: #a3402f; border-color: #e7c3b9; }
.kbk-danger-button { background: #b8432f !important; border-color: #b8432f !important; color: #fff !important; }
.kbk-ev-cancelbox { border-color: #f2d2c8; background: #fdf6f3; }
.kbk-ev-dangerzone { margin: 26px 0 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.kbk-ev-danger { border: 1px solid #f2d2c8; background: #fdf6f3; border-radius: 12px; padding: 10px 14px; width: 100%; box-sizing: border-box; }
.kbk-ev-danger summary { cursor: pointer; font-weight: 700; color: #a3402f; }
.kbk-ev-danger form { margin-top: 10px; display: grid; gap: 10px; }
.kbk-ev-danger textarea { font: inherit; padding: 10px; border: 1px solid #d9d3c5; border-radius: 9px; width: 100%; box-sizing: border-box; }
.kbk-ev-del button { display: inline-flex; gap: 5px; align-items: center; }

.kbk-ev-ptable td { vertical-align: top; font-size: 14px; }
.kbk-ev-ptable td small { display: block; color: var(--sp-muted); font-size: 12.5px; }
.kbk-ev-ptable tr.is-muted td { opacity: .55; }
.kbk-ev-bact { position: relative; }
.kbk-ev-bact summary { list-style: none; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--sp-deep); }
.kbk-ev-bact summary::-webkit-details-marker { display: none; }
.kbk-ev-bact > div { margin-top: 8px; max-width: 300px; background: #fff; border: 1px solid var(--sp-line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; justify-items: start; }
.kbk-ev-ptable td:first-child { min-width: 230px; }
.kbk-ev-ptable td:first-child .status-pill { font-size: 11px; padding: 2px 8px; vertical-align: 1px; }
.kbk-ev-refundform { display: grid; gap: 6px; border-top: 1px solid #f0ede5; padding-top: 8px; }
.kbk-ev-refundform label { display: grid; gap: 4px; font-size: 13px; }
.kbk-ev-refundform input { padding: 7px 9px; font-size: 14px; }
.kbk-ev-refundform small { color: var(--sp-muted); font-size: 12px; }

/* Redigering */
.kbk-ev-imgs { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kbk-ev-imgs li { position: relative; border-radius: 14px; overflow: hidden; background: var(--sp-sand); aspect-ratio: 1 / 1; cursor: grab; }
.kbk-ev-imgs li:first-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.kbk-ev-imgs li img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.kbk-ev-imgs li.is-dragging { opacity: .4; }
.kbk-ev-imgs li.is-over { outline: 3px dashed var(--sp-deep); outline-offset: -3px; }
.kbk-ev-hero-tag { display: none; position: absolute; left: 12px; bottom: 44px; background: #fff; color: var(--sp-deep); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.kbk-ev-imgs li:first-child .kbk-ev-hero-tag { display: block; }
.kbk-ev-imgx { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--sp-ink); font-size: 18px; line-height: 1; cursor: pointer; }
.kbk-ev-imgs li input[type=text] { position: absolute; left: 8px; right: 8px; bottom: 8px; width: calc(100% - 16px); font-size: 12.5px; padding: 5px 8px; border-radius: 7px; border: 0; background: rgba(255, 255, 255, .9); box-sizing: border-box; }
.kbk-ev-imgadd { cursor: default !important; border: 2px dashed #cfc8b8; background: #f2f0ea !important; }
.kbk-ev-imgs li.kbk-ev-imgadd:first-child { aspect-ratio: 3 / 1; }
.kbk-ev-imgadd label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--sp-muted); font-weight: 600; cursor: pointer; text-align: center; padding: 8px; }
.kbk-ev-imgadd label svg { background: #fff; border-radius: 50%; padding: 6px; width: 34px; height: 34px; box-sizing: border-box; color: var(--sp-deep); }
.kbk-ev-imgadd input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.kbk-ev-imgadd small { font-weight: 400; font-size: 12px; }
.kbk-ev-imgs li.is-new { cursor: default; }
.kbk-ev-imgs li.is-new::after { content: "Ny"; position: absolute; right: 10px; top: 10px; background: var(--sp-lime); color: var(--sp-deep); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
@media (max-width: 560px) {
	.kbk-ev-imgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.kbk-ev-rows { display: grid; gap: 12px; margin: 0 0 12px; }
.kbk-ev-row { position: relative; border: 1px solid var(--sp-line); border-radius: 12px; padding: 14px 54px 4px 14px; margin: 0; background: #fcfbf8; }
.kbk-ev-rowx { position: absolute; right: 10px; top: 10px; }
.kbk-ev-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 10px; }
.kbk-ev-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0 0 12px; }
.kbk-ev-choice label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--sp-line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.kbk-ev-choice label:has(input:checked) { border-color: var(--sp-deep); box-shadow: 0 0 0 1px var(--sp-deep); }
.kbk-ev-choice input { margin-top: 3px; }
.kbk-ev-choice b { display: block; color: var(--sp-deep); }
.kbk-ev-choice small { display: block; color: var(--sp-muted); font-size: 13px; }
.kbk-ev-choice.is-small label { padding: 9px 12px; }
.kbk-ev-feebox { border-left: 3px solid var(--sp-lime); padding-left: 14px; margin: 0 0 12px; }
.kbk-ev-savebar { position: sticky; bottom: 0; background: rgba(247, 244, 235, .95); padding: 12px 0; z-index: 5; display: flex; gap: 16px; align-items: center; }

@media print {
	.kbk-ev-actions,
	.kbk-ev-bact,
	.kbk-ev-plist + *,
	.kbk-sp-kpis { display: none !important; }
	.kbk-ev-ptable td,
	.kbk-ev-ptable th { font-size: 11px; }
}
.klubik-events .kbk-spt-list { margin-bottom: 18px; }
.klubik-eventadmin [hidden],
.klubik-events [hidden] { display: none !important; }
.kbk-ev-ptable td,
.kbk-ev-ptable th { white-space: normal; }
.kbk-ev-ptable td.num,
.kbk-ev-ptable th.num { white-space: nowrap; }
.kbk-ev-row > .kbk-ev-rowx { position: absolute !important; right: 10px; top: 10px; left: auto; }

/* Blokken på forsiden og andre sider: overskrift og filtre i midten, som "Opdag dine muligheder" */
.kbk-ev-head.is-center { text-align: center; max-width: 720px; margin: 0 auto 22px; }
.kbk-ev-head.is-center h2 { font-family: var(--serif, inherit); color: var(--sp-deep); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin: 0 0 10px; }
.kbk-ev-head.is-center p { color: var(--sp-muted); margin: 0; }
.kbk-ev-filter.is-center { justify-content: center; }
.kbk-ev-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* Programmer: offentliggjort eller ej */
.kbk-ev-progcard { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: #fbefe0; border: 1px solid #ecd3ae; }
.kbk-ev-progcard.is-public { background: #eef5e4; border-color: #cfe1b8; }
.kbk-ev-progcard p { flex: 1 1 320px; margin: 0; font-size: 15px; line-height: 1.45; }
.kbk-ev-progdot { width: 12px; height: 12px; border-radius: 50%; background: #d08a2e; flex: none; }
.kbk-ev-progcard.is-public .kbk-ev-progdot { background: #3f8a4f; }

/* Liste: lange navne må bryde, kladder markeres, dubler-knap. */
.kbk-ev-atable td:first-child { white-space: normal; min-width: 260px; }
.kbk-ev-aacts { text-align: right; }
.kbk-ev-aacts .icon-button { vertical-align: middle; }
.kbk-ev-dup { display: inline-flex; margin: 0 4px 0 0; }
.kbk-ev-dup .button { display: inline-flex; align-items: center; gap: 6px; }
.kbk-ev-atable tr.is-draft td { background: repeating-linear-gradient( -45deg, rgba(201,139,64,.05) 0 8px, transparent 8px 16px ); }
.kbk-ev-atable tr.is-draft td:first-child { box-shadow: inset 3px 0 0 #c98b40; }
.kbk-ev-atable tr.is-draft .kbk-ev-athumb { opacity: .6; }
.kbk-ev-atable .status-pill.status-pending { background: #f6e3c8; color: #8a5a1c; }
.kbk-ev-dup button.icon-button { cursor: pointer; font: inherit; }
.kbk-ev-aacts { white-space: nowrap; }
.kbk-ev-aacts .icon-button { display: inline-grid; place-items: center; }
