.ec-header { padding-block: 1rem; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.ec-header .wp-block-site-title { font-size: 1.15rem; font-weight: 700; margin: 0; }
.ec-main { padding-block: 1.5rem 3rem; }
.ec-footer { padding-block: 2rem; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); }

.ec-home { max-width: 760px; margin-inline: auto; }
.ec-title { font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.15; margin: 0 0 .25rem; }
.ec-sub { margin: 0 0 1.25rem; opacity: .75; }

.ec-days ul { display: flex; gap: .5rem; list-style: none; margin: 0 0 1rem; padding: 0 0 .35rem; overflow-x: auto; scroll-snap-type: x proximity; }
.ec-days ul { position: relative; }
.ec-days li { flex: 0 0 auto; scroll-snap-align: start; }
.ec-days a {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 4.4rem; padding: .55rem .6rem; border-radius: .8rem; text-decoration: none; line-height: 1.2;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.ec-days a span { font-size: .72rem; opacity: .75; }
.ec-days a strong { font-size: 1.25rem; }
.ec-days a[aria-current="date"] { background: #1f6f54; border-color: #1f6f54; color: #fff; }
.ec-days a[aria-current="date"] span { opacity: .9; }

.ec-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1.25rem; }
.ec-filters label { display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; flex: 1 1 10rem; }
.ec-filters input, .ec-filters select {
	font: inherit; padding: .55rem .6rem; border-radius: .6rem; background: transparent; color: inherit;
	border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}
.ec-filters [hidden] { display: none !important; }
.ec-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.ec-btn {
	font: inherit; font-weight: 600; padding: .6rem 1.1rem; border: 1px solid #1f6f54; border-radius: .6rem; cursor: pointer;
	background: #1f6f54; color: #fff;
}
.ec-btn--ghost { background: transparent; color: #1f6f54; }
.ec-btn--ghost.is-active { background: #1f6f54; color: #fff; }
.ec-btn:disabled { opacity: .6; cursor: progress; }
.ec-status { min-height: 1.2em; margin: -.5rem 0 1rem; font-size: .85rem; opacity: .85; }
.ec-status.is-error { color: #b3261e; opacity: 1; }
.ec-results.is-loading { opacity: .45; transition: opacity .15s; }

.ec-days a { position: relative; }
.ec-dot { display: block; width: .35rem; height: .35rem; margin-top: .2rem; border-radius: 50%; background: transparent; }
.ec-days a.has-events .ec-dot { background: #1f6f54; }
.ec-days a[aria-current="date"] .ec-dot { background: #fff; }
.ec-days a[aria-current="date"]:not(.has-events) .ec-dot { background: transparent; }

.ec-card__dist { margin: .3rem 0 0; font-size: .8rem; font-weight: 600; color: #1f6f54; }

.ec-count { font-size: .85rem; opacity: .7; margin: 0 0 .6rem; }
.ec-list { display: grid; gap: .75rem; }
.ec-card {
	display: grid; grid-template-columns: 6.2rem 1fr; gap: .9rem; padding: .95rem 1rem; border-radius: .9rem;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	background: color-mix(in srgb, currentColor 3%, transparent);
}
.ec-card__time { font-size: .9rem; line-height: 1.35; }
.ec-card__time strong { display: block; font-size: 1rem; color: #1f6f54; }
.ec-card__day { display: block; font-size: .72rem; opacity: .75; margin-bottom: .15rem; }
.ec-card__title { font-size: 1.05rem; line-height: 1.3; margin: 0; }
.ec-card__title a { text-decoration: none; }
.ec-card__title a:hover { text-decoration: underline; }
.ec-card__speaker { margin: .2rem 0 0; font-weight: 600; opacity: .9; font-size: .92rem; }
.ec-card__place { margin: .35rem 0 0; font-size: .85rem; opacity: .8; }
.ec-card__place a { text-decoration: none; }
.ec-card__place a:hover { text-decoration: underline; }

.ec-empty { padding: 1.25rem; border-radius: .9rem; text-align: center; border: 1px dashed color-mix(in srgb, currentColor 25%, transparent); margin-bottom: 1.5rem; }
.ec-empty p { margin: 0; }
.ec-next { font-size: 1.1rem; margin: 1.5rem 0 .75rem; }

@media (max-width: 520px) {
	.ec-card { grid-template-columns: 1fr; gap: .35rem; }
	.ec-card__time strong { display: inline; }
	.ec-card__day { display: inline; margin-right: .5rem; }
}

/* ---- single event / venue pages ---- */
a.ec-btn { display: inline-block; text-decoration: none; line-height: 1.2; }
.ec-page { max-width: 760px; margin-inline: auto; }
.ec-page__head { margin-bottom: 1rem; }
.ec-lead { font-size: 1.15rem; font-weight: 600; margin: 0; opacity: .9; }
.ec-muted { opacity: .75; font-size: .92rem; }

.ec-crumbs { font-size: .8rem; margin-bottom: 1rem; opacity: .85; }
.ec-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.ec-crumbs li + li::before { content: "\203A"; margin-right: .5rem; opacity: .6; }
.ec-crumbs a { text-decoration: none; }
.ec-crumbs a:hover { text-decoration: underline; }

.ec-badge { display: inline-block; margin: 0 0 .5rem; padding: .15rem .6rem; border-radius: 99px; font-size: .78rem; font-weight: 700; }
.ec-badge--past { background: color-mix(in srgb, currentColor 12%, transparent); }
.ec-badge--live { background: #1f6f54; color: #fff; }

.ec-facts { display: grid; gap: .75rem; margin: 1rem 0 1.25rem; padding: 1rem 1.1rem; border-radius: .9rem;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent); background: color-mix(in srgb, currentColor 3%, transparent); }
.ec-facts > div { display: grid; grid-template-columns: 6rem 1fr; gap: .75rem; }
.ec-facts dt { font-size: .85rem; opacity: .7; margin: 0; }
.ec-facts dd { margin: 0; }
.ec-actions--page { margin-bottom: 1.5rem; }
.ec-content { margin: 1.25rem 0; }
.ec-section { margin-top: 2rem; }
.ec-section h2 { font-size: 1.2rem; margin: 0 0 .75rem; }
.ec-list--past .ec-card { opacity: .72; }

.ec-map { margin: 0 0 1.5rem; }
.ec-map iframe { width: 100%; height: 300px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: .9rem; display: block; }
.ec-map figcaption { font-size: .75rem; opacity: .75; margin-top: .35rem; }

@media (max-width: 520px) {
	.ec-facts > div { grid-template-columns: 1fr; gap: .1rem; }
}

/* ---- city page ---- */
.ec-intro { margin: 0 0 1rem; }
.ec-intro p { margin: 0 0 .6rem; }
.ec-date-head { font-size: 1rem; margin: 1.4rem 0 .6rem; opacity: .9; }
.ec-more { margin-top: 1rem; }
.ec-venues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem 1.5rem; }
.ec-venues a { text-decoration: none; }
.ec-venues a:hover { text-decoration: underline; }
@media (max-width: 520px) { .ec-venues { grid-template-columns: 1fr; } }
.ec-stats { font-size: .9rem; font-weight: 600; color: #1f6f54; }

/* ---- /24jam/ radio page ---- */
.ec-radio__player { display: block; width: 100%; height: 150px; border: 0; margin: .5rem 0 1.5rem; }
.ec-radio__heading { font-size: 1.1rem; margin: 0 0 .5rem; }
.ec-radio__history { display: block; width: 100%; height: 440px; border: 0; }
.ec-share { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 2rem 0 0; }
.ec-share__btn { display: inline-block; padding: .55rem 1rem; border: 0; border-radius: .4rem; color: #fff; font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; background: #333; }
.ec-share__btn[hidden] { display: none; }
.ec-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- /kajian/ and /tempat/ list pages ---- */
.ec-chips { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .6rem; margin: 0 0 1.25rem; font-size: .88rem; }
.ec-chips__label { opacity: .7; }
.ec-chips ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.ec-chips a { display: inline-block; padding: .2rem .7rem; border-radius: 99px; text-decoration: none; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.ec-chips a:hover { border-color: #1f6f54; color: #1f6f54; }
.ec-archive .ec-date-head { font-size: 1.05rem; margin: 1.6rem 0 .6rem; }

.ec-pager { margin: 2rem 0 0; }
.ec-pager ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; justify-content: center; }
.ec-pager .page-numbers { display: inline-block; padding: .4rem .8rem; border-radius: .5rem; text-decoration: none; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.ec-pager .page-numbers.current { background: #1f6f54; border-color: #1f6f54; color: #fff; }
.ec-pager .dots { border: 0; }

.ec-search { display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; margin: 0 0 .5rem; max-width: 26rem; }
.ec-search[hidden] { display: none; }
.ec-search input { font: inherit; padding: .6rem .7rem; border-radius: .6rem; background: transparent; color: inherit; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.ec-venue-group { margin-top: 1.8rem; scroll-margin-top: 1rem; }
.ec-venue-group[hidden], .ec-venues li[hidden], .ec-nomatch[hidden] { display: none; }
.ec-venue-group h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.ec-venue-group h2 a { text-decoration: none; }
.ec-venue-group h2 a:hover { text-decoration: underline; }
.ec-venue-group__n { font-size: .75rem; font-weight: 600; opacity: .65; margin-left: .25rem; }
.ec-venue-archive .ec-venues li { padding: .15rem 0; }
.ec-venue-count { display: block; font-size: .78rem; font-weight: 600; color: #1f6f54; }
.ec-audio__archive { display: block; width: 100%; height: 760px; border: 0; margin: .5rem 0 0; }
.ec-audio .ec-intro { margin-top: .6rem; margin-bottom: 1.1rem; }
.ec-rodja__player { display: block; width: 100%; max-width: 640px; margin: 1.25rem 0 0; }

/* finished events (shown only on request or for past days) */
.ec-card--past { opacity: .65; }
.ec-card__time .ec-badge { margin: .25rem 0 0; }
