/* S.O.C.A. Events — front-end styles
   Brand: Plus Jakarta Sans; cream #fffcf2, ink #191529, blue #1866b3,
   purple #8300e9, orange #ff7423. Cards mirror the site's offering boxes. */

.soca-events-grid {
	display: grid;
	gap: 28px;
	margin: 24px 0;
}
.soca-events-grid--cols-1 { grid-template-columns: 1fr; }
.soca-events-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.soca-events-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.soca-events-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
	.soca-events-grid--cols-3,
	.soca-events-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.soca-events-grid { grid-template-columns: 1fr !important; }
}

.soca-event-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(25, 21, 41, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.soca-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(25, 21, 41, 0.18);
}

.soca-event-card__image {
	display: block;
	line-height: 0;
}
.soca-event-card__image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.soca-event-card__body {
	padding: 24px 26px 28px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.soca-event-card__date {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #1866b3;
	margin: 0 0 8px;
}

.soca-event-card__title {
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	color: #191529;
	margin: 0 0 10px;
}
.soca-event-card__title a {
	color: inherit;
	text-decoration: none;
}
.soca-event-card__title a:hover { color: #8300e9; }

.soca-event-card__location {
	font-size: 14px;
	color: #6f5fab;
	margin: 0 0 10px;
}

.soca-event-card__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	margin: 0 0 18px;
}

.soca-event-card__link {
	margin-top: auto;
	align-self: flex-start;
	display: inline-block;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	color: #ffffff;
	background: #a723ff;
	padding: 10px 20px;
	border-radius: 10px;
	transition: background 0.2s ease;
}
.soca-event-card__link:hover { background: #8300e9; }

.soca-event-card__tickets {
	display: inline-block;
	margin-top: 12px;
	font-weight: 700;
	font-size: 14px;
	color: #ffffff;
	background: #ff7423;
	padding: 10px 20px;
	border-radius: 10px;
	text-decoration: none;
}

.soca-events-empty {
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	color: #6f5fab;
	font-style: italic;
}

/* ---- Single event page ---- */
.soca-single {
	max-width: 860px;
	margin: 0 auto;
	padding: 50px 22px 70px;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	color: #191529;
}
.soca-single__image {
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 30px;
	box-shadow: 0 16px 40px rgba(25, 21, 41, 0.16);
	line-height: 0;
}
.soca-single__image img {
	width: 100%;
	height: auto;
	display: block;
}
.soca-single__title {
	font-size: 42px;
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 18px;
	color: #191529;
}
.soca-single__meta {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	font-size: 15px;
	font-weight: 700;
}
.soca-single__meta li { position: relative; }
.soca-single__date { color: #1866b3; }
.soca-single__time { color: #8300e9; }
.soca-single__location { color: #6f5fab; }
.soca-single__content {
	font-size: 17px;
	line-height: 1.75;
}
.soca-single__content p { margin: 0 0 1.2em; }
.soca-single__back {
	margin-top: 36px;
}
.soca-single__back a {
	font-weight: 700;
	text-decoration: none;
	color: #a723ff;
}
.soca-single__back a:hover { color: #8300e9; }

@media (max-width: 640px) {
	.soca-single__title { font-size: 32px; }
}

/* ===== Thumbnail card (clickable) ===== */
.soca-event-card { position: relative; }
.soca-event-card__image { position: relative; }
.soca-event-card__noimg {
	display: block; width: 100%; height: 220px;
	background: linear-gradient(135deg, #1866b3, #8300e9);
}
.soca-event-card__price {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	background: #191529; color: #fff; font-weight: 700; font-size: 13px;
	padding: 5px 11px; border-radius: 8px;
}
.soca-event-card__body {
	flex-direction: row; align-items: flex-start; gap: 14px; padding: 20px 22px 22px;
}
.soca-event-card__datebadge {
	flex: 0 0 auto; display: flex; flex-direction: column; align-items: center;
	justify-content: center; min-width: 50px; padding: 8px 0;
	background: #fff7ef; border: 1px solid #ffe2cc; border-radius: 10px;
}
.soca-event-card__day { font-size: 20px; font-weight: 800; color: #ff7423; line-height: 1; }
.soca-event-card__mon { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #6f5fab; }
.soca-event-card__text { min-width: 0; }
.soca-event-card .soca-event-card__title { font-size: 18px; margin: 2px 0 6px; }
.soca-event-card .soca-event-card__location { margin: 0; font-size: 13px; }
.soca-event-card__cover { position: absolute; inset: 0; z-index: 3; text-indent: -9999px; }

/* ===== Featured banner ===== */
.soca-events-banner {
	position: relative; border-radius: 18px; overflow: hidden;
	background: #191529; margin: 0 0 10px;
}
.soca-events-banner--has-image { background-size: cover; background-position: center; }
.soca-events-banner__overlay {
	background: linear-gradient(180deg, rgba(25,21,41,0.72) 0%, rgba(25,21,41,0.80) 100%);
	padding: 70px 44px;
}
.soca-events-banner__inner { max-width: 680px; margin: 0 auto; text-align: center; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.soca-events-banner__eyebrow {
	display: inline-block; color: #ff7423; font-weight: 700; font-size: 13px;
	letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px;
}
.soca-events-banner__title { color: #fffcf2; font-size: 42px; line-height: 1.1; font-weight: 800; margin: 0 0 12px; }
.soca-events-banner__meta { color: #fffcf2; opacity: 0.9; font-size: 16px; margin: 0 0 22px; }
.soca-events-banner__btn {
	display: inline-block; background: #a723ff; color: #fff; font-weight: 700;
	padding: 13px 28px; border-radius: 10px; text-decoration: none;
}
.soca-events-banner__btn:hover { background: #8300e9; }

/* ===== Toolbar + view toggle ===== */
.soca-events-toolbar {
	display: flex; justify-content: space-between; align-items: center;
	gap: 16px; flex-wrap: wrap; margin: 28px 0 6px;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.soca-events-filter {
	border: 1px solid #e3dcf0; border-radius: 10px; padding: 10px 14px;
	font-size: 14px; font-weight: 600; color: #191529; background: #fff; font-family: inherit;
}
.soca-view-toggle { display: inline-flex; background: #f1edf7; border-radius: 999px; padding: 4px; }
.soca-view-toggle button {
	border: 0; background: transparent; padding: 9px 20px; border-radius: 999px;
	font-weight: 700; font-size: 14px; cursor: pointer; color: #6f5fab; font-family: inherit;
}
.soca-view-toggle button.is-active { background: #a723ff; color: #fff; }

/* Ensure the inactive panel is fully hidden even though grids set display. */
.soca-events-views [hidden] { display: none !important; }

/* ===== Calendar ===== */
.soca-events-calendar { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.soca-cal__head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 12px; }
.soca-cal__month { font-weight: 800; font-size: 20px; color: #191529; }
.soca-cal__nav {
	border: 0; background: #f1edf7; width: 38px; height: 38px; border-radius: 10px;
	font-size: 20px; line-height: 1; cursor: pointer; color: #8300e9;
}
.soca-cal__nav:hover { background: #e7defa; }
.soca-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.soca-cal__dow {
	text-align: center; font-weight: 700; font-size: 12px; text-transform: uppercase;
	color: #6f5fab; padding: 6px 0;
}
.soca-cal__cell {
	min-height: 96px; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 6px;
}
.soca-cal__cell--empty { background: transparent; border: 0; }
.soca-cal__cell--today { border-color: #a723ff; box-shadow: inset 0 0 0 1px #a723ff; }
.soca-cal__num { font-size: 12px; font-weight: 700; color: #191529; }
.soca-cal__event {
	display: block; margin-top: 4px; font-size: 11px; line-height: 1.3;
	background: #ff7423; color: #fff; padding: 3px 6px; border-radius: 6px;
	text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.soca-cal__event:hover { background: #e25e10; }

@media (max-width: 640px) {
	.soca-events-banner__overlay { padding: 48px 24px; }
	.soca-events-banner__title { font-size: 30px; }
	.soca-cal__cell { min-height: 64px; }
	.soca-cal__event { font-size: 10px; }
}

/* minimal screen-reader helper in case the theme lacks it */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ===== Single event — product-style layout ===== */
.soca-single { max-width: 1140px; }
.soca-single--product {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 54px;
	align-items: start;
}
.soca-single--product .soca-single__image { margin-bottom: 0; }
.soca-single__image--placeholder {
	width: 100%; padding-top: 130%;
	background: linear-gradient(135deg, #1866b3, #8300e9);
	border-radius: 18px;
}
.soca-single__info { padding-top: 4px; }
.soca-single--product .soca-single__title { font-size: 38px; margin-bottom: 10px; }
.soca-single__when {
	font-size: 24px; font-weight: 800; color: #191529; margin: 6px 0 8px;
}
.soca-single__when .soca-single__time {
	display: block; font-size: 16px; font-weight: 600; color: #8300e9; margin-top: 4px;
}
.soca-single__address {
	font-size: 15px; font-weight: 600; color: #6f5fab; margin: 0 0 22px;
}
.soca-single__desc {
	font-size: 16px; line-height: 1.75; color: #444; margin-bottom: 28px;
}
.soca-single__desc p { margin: 0 0 1.1em; }
.soca-single__actions {
	display: flex; flex-direction: column; gap: 14px; max-width: 440px;
}
.soca-single__btn {
	display: block; text-align: center; padding: 16px 26px; border-radius: 999px;
	font-weight: 700; font-size: 16px; text-decoration: none; transition: all 0.2s ease;
}
.soca-single__btn--primary { background: #191529; color: #fff; }
.soca-single__btn--primary:hover { background: #000; }
.soca-single__btn--outline { background: #fff; color: #191529; border: 2px solid #191529; }
.soca-single__btn--outline:hover { background: #191529; color: #fff; }
.soca-single__media { position: sticky; top: 20px; align-self: start; }
.soca-single__media .soca-countdown { margin: 0 0 16px; }
.soca-single__back { margin-top: 24px; text-align: center; }
.soca-single__map--full { margin-top: 34px; }
.soca-single__map--full iframe { height: 340px; }

@media (max-width: 820px) {
	.soca-single--product { grid-template-columns: 1fr; gap: 30px; }
	.soca-single__media { position: static; }
	.soca-single__actions { max-width: none; }
	.soca-single--product .soca-single__title { font-size: 30px; }
}

/* ============================================================
   v2.0 additions: status, multi-day, agenda, load-more, dropdown, map
   ============================================================ */

/* Status badges on cards */
.soca-event-card__statusbadge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	background: #191529;
}
.soca-event-card__statusbadge--cancelled { background: #e02b20; }
.soca-event-card__statusbadge--postponed { background: #ff7423; }
.soca-event-card__statusbadge--soldout   { background: #191529; }

/* Calendar: "+more" + multi-day status */
.soca-cal__more {
	display: inline-block;
	margin-top: 2px;
	padding: 0;
	border: 0;
	background: none;
	color: #1866b3;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}
.soca-cal__more:hover { text-decoration: underline; }
.soca-cal__event.is-cancelled { text-decoration: line-through; opacity: .6; }

/* Mobile agenda list */
.soca-agenda { list-style: none; margin: 0; padding: 0; }
.soca-agenda__item {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 12px 4px;
	border-bottom: 1px solid rgba(25, 21, 41, .1);
}
.soca-agenda__date {
	flex: 0 0 auto;
	min-width: 56px;
	font-weight: 800;
	color: #1866b3;
}
.soca-agenda__title { color: #191529; text-decoration: none; font-weight: 600; }
.soca-agenda__title:hover { text-decoration: underline; }
.soca-agenda__title.is-cancelled { text-decoration: line-through; opacity: .6; }
.soca-agenda__empty { padding: 16px 4px; color: #666; }

/* Load more */
.soca-hide-extra { display: none !important; }
.soca-events-loadmore {
	display: block;
	margin: 24px auto 0;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: #1866b3;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}
.soca-events-loadmore:hover { background: #14538f; }

/* "More calendar options" dropdown */
.soca-cal-more { position: relative; display: inline-block; }
.soca-cal-more__menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 6px);
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(25, 21, 41, .12);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(25, 21, 41, .18);
}
.soca-cal-more__menu li { margin: 0; }
.soca-cal-more__menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: #191529;
	text-decoration: none;
	font-weight: 600;
}
.soca-cal-more__menu a:hover { background: #fffcf2; color: #1866b3; }

/* Single event: status, subscribe, map */
.soca-single__status {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	background: #191529;
}
.soca-single__status--cancelled { background: #e02b20; }
.soca-single__status--postponed { background: #ff7423; }
.soca-single__status--soldout   { background: #191529; }
.soca-single__subscribe {
	display: inline-block;
	margin-top: 6px;
	color: #1866b3;
	font-weight: 700;
	text-decoration: none;
}
.soca-single__subscribe:hover { text-decoration: underline; }
.soca-single__map { margin-top: 24px; }
.soca-single__map iframe {
	width: 100%;
	height: 280px;
	border: 0;
	border-radius: 16px;
}
.soca-single__directions {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 20px;
	border-radius: 999px;
	background: #ff7423;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}
.soca-single__directions:hover { background: #e85f12; }
.soca-single__time { display: block; font-size: .9em; opacity: .8; }

/* Countdown timer */
.soca-countdown {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 20px 0;
}
.soca-countdown__unit {
	min-width: 74px;
	padding: 14px 12px;
	border-radius: 16px;
	text-align: center;
	color: #fff;
	background: linear-gradient( 135deg, #1866b3 0%, #8300e9 55%, #ff7423 100% );
	box-shadow: 0 8px 20px rgba( 25, 21, 41, .18 );
}
.soca-countdown__num {
	display: block;
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.soca-countdown__label {
	display: block;
	margin-top: 7px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	opacity: .9;
}
.soca-countdown__done {
	display: inline-block;
	padding: 12px 20px;
	border-radius: 16px;
	background: #e02b20;
	color: #fff;
	font-size: 18px;
	font-weight: 900;
}
@media ( max-width: 600px ) {
	.soca-countdown__unit { min-width: 64px; padding: 12px 8px; }
	.soca-countdown__num { font-size: 24px; }
}

/* Event page sign-up form */
.soca-single__signup { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba( 25, 21, 41, .12 ); }
.soca-single__signup-heading { color: #191529; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 800; font-size: 26px; margin: 0 0 6px; }
.soca-single__signup-intro { color: #191529; opacity: .85; margin: 0 0 18px; }

/* Countdown on the featured banner (compact + centred) */
.soca-countdown--banner { justify-content: center; margin: 16px 0 20px; }
.soca-countdown--banner .soca-countdown__unit { min-width: 62px; padding: 10px 8px; }
.soca-countdown--banner .soca-countdown__num { font-size: 22px; }
.soca-countdown--banner .soca-countdown__label { font-size: 10px; }
