/* Electric Star What's On - base styling. Override any of this in your theme/Elementor custom CSS. */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600;700;800;900&display=swap');

.seswo-whats-on { max-width: 1320px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 0 6px 40px; overflow-x: hidden; font-family: 'Josefin Sans', sans-serif; }
.seswo-whats-on, .seswo-whats-on *, .seswo-whats-on *::before, .seswo-whats-on *::after { box-sizing: border-box; font-family: 'Josefin Sans', sans-serif !important; }
.seswo-whats-on img, .seswo-whats-on video { max-width: 100%; }
.seswo-page-title { text-align: center; font-weight: 900; text-transform: uppercase; font-size: 20px; margin: 0 0 4px; }

/* Month pager - single month at a time, prev/next either side */
.seswo-month-pager {
	display: flex; align-items: center; justify-content: center; gap: 20px;
	margin: 0 auto 6px; padding: 5px 16px; width: 100%; box-sizing: border-box;
	background: #fff; border: 1px solid #ccc; border-radius: 10px;
}
.seswo-month-current {
	font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
	font-size: 15px; color: #111; min-width: 110px; text-align: center;
}
.seswo-month-prev, .seswo-month-next {
	background: #fff; border: 1px solid #ccc; border-radius: 50%;
	width: 24px; height: 24px; flex: 0 0 auto; font-size: 15px; font-weight: 900;
	color: #111; cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.seswo-month-prev:disabled, .seswo-month-next:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 600px) {
	.seswo-page-title { font-size: 17px; margin-bottom: 3px; }
	.seswo-month-pager { gap: 14px; padding: 4px 10px; margin-bottom: 3px; }
	.seswo-month-current { font-size: 12px; min-width: 80px; }
	.seswo-month-prev, .seswo-month-next { width: 32px; height: 32px; font-size: 18px; }
}

/* Category filters */
.seswo-cat-filters { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }
.seswo-cat-filter {
	background: #fff; border: 1px solid #111; border-radius: 30px; padding: 6px 16px;
	font-size: 13px; font-weight: 600; cursor: pointer; text-transform: uppercase;
}
.seswo-cat-filter.is-active { background: #111; color: #fff; }

/* Grid */
.seswo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch !important; }
@media (max-width: 1100px) { .seswo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 900px) { .seswo-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 600px) { .seswo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.seswo-whats-on .seswo-card { display: flex !important; flex-direction: column !important; min-width: 0; }
.seswo-card.seswo-hidden { display: none !important; }
.seswo-whats-on .seswo-card-buttons { margin-top: auto; display: flex; flex-direction: column; gap: 5px; }

.seswo-card-img {
	display: block; width: 100%; aspect-ratio: 4 / 5;
	position: relative; margin-bottom: 5px; background-color: #222; overflow: hidden;
}
.seswo-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seswo-card-video-wrap { background-color: #222; }
.seswo-card-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.seswo-card-title { display: none; } /* image already carries the poster art; title shown below */

.seswo-card-body { display: flex; flex-direction: column; margin-bottom: 5px; }
.seswo-card-date {
	display: flex; align-items: baseline; gap: 5px; line-height: 1;
	font-weight: 800; margin-bottom: 2px;
}
.seswo-card-day { font-size: 11px; letter-spacing: 0.05em; color: #111; }
.seswo-card-num { font-size: 13px; }
.seswo-card-mon { font-size: 11px; letter-spacing: 0.05em; color: #111; }

.seswo-card-name {
	font-weight: 800; text-transform: uppercase; font-size: 16px; line-height: 1.2;
	overflow-wrap: normal; word-break: normal; /* wrap at spaces only - never split a single word across lines */
	min-height: 2.4em; /* reserves room for 2 lines so the time below always lines up, even for short 1-line titles */
	display: flex; align-items: flex-start;
}
.seswo-card-time { font-size: 12px; color: #111; margin-top: 3px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seswo-card-tagline {
	font-size: 13px; color: #555; margin-top: 4px; line-height: 1.4;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 600px) {
	.seswo-card-img { margin-bottom: 4px; }
	.seswo-card-name { font-size: 13px; }
	.seswo-card-time { font-size: 9px; }
	.seswo-card-tagline { font-size: 11px; -webkit-line-clamp: 2; }
	.seswo-card-date { margin-bottom: 2px; }
	.seswo-card-body { gap: 1px; margin-bottom: 3px; }
	.seswo-whats-on .seswo-card-buttons { gap: 5px; }
	.seswo-btn { padding: 5px 8px; font-size: 10px; letter-spacing: 0.01em; }
}

.seswo-btn {
	display: inline-block; text-align: center; border: 2px solid #111; padding: 9px 18px;
	font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none;
	color: #fff !important; background: #111; white-space: normal; line-height: 1.25; word-break: normal;
}
.seswo-btn:link, .seswo-btn:visited, .seswo-btn:active, .seswo-btn:focus { color: #fff !important; }
.seswo-btn:hover, .seswo-btn:hover:visited { background: #fff; color: #111 !important; }

.seswo-empty { text-align: center; color: #777; padding: 60px 0; }

.seswo-bottom-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.seswo-bottom-actions .seswo-btn { flex: 0 1 170px; }

@media (max-width: 600px) {
	.seswo-bottom-actions { margin-top: 20px; flex-direction: column; }
	.seswo-bottom-actions .seswo-btn { flex: 1 1 auto; }
}

/* ---------------- Single event page ---------------- */
.seswo-single { max-width: 1000px; width: 100%; margin: 0 auto; padding: 90px 24px 0; overflow-x: hidden; font-family: 'Josefin Sans', sans-serif; }
.seswo-single, .seswo-single *, .seswo-single *::before, .seswo-single *::after { box-sizing: border-box; font-family: 'Josefin Sans', sans-serif !important; }
.seswo-single img, .seswo-single video { max-width: 100%; }

.seswo-single-top { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 30px; }
.seswo-single-image-box {
	flex: 0 0 340px; width: 340px; background: #f2f2f2; border: 1px solid #e2e2e2;
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.seswo-single-image-box img, .seswo-single-image-box video {
	display: block; width: 100%; height: auto; max-height: 500px;
	object-fit: contain; /* shows the whole image, letterboxed rather than cropped */
}
.seswo-single-meta-box { flex: 1; min-width: 0; text-align: center; }
.seswo-single-title { font-size: 36px; font-weight: 900; text-transform: uppercase; margin: 0 0 6px; }
.seswo-single-tagline { font-size: 17px; color: #444; margin: 0 0 16px; }

@media (max-width: 760px) {
	.seswo-single-top { flex-direction: column; align-items: center; }
	.seswo-single-image-box { width: 100%; flex-basis: auto; }
}

.seswo-single-body { padding: 0 24px 40px; text-align: center; }
.seswo-single-meta { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.seswo-single-meta span { display: block; margin-bottom: 4px; }
.seswo-single-content { margin: 20px 0 20px; line-height: 1.6; padding-top: 20px; border-top: 1px solid #eee; }
.seswo-single-content + .seswo-single-buttons { margin-top: 10px; margin-bottom: 20px; }
.seswo-price, .seswo-age { font-weight: 700; margin: 6px 0; }
.seswo-single-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px auto 0; max-width: 500px; justify-content: center; }
.seswo-single-buttons .seswo-btn { flex: 1; min-width: 180px; text-align: center; }
.seswo-back { margin-top: 30px; text-align: center; }
.seswo-back a { color: #555; text-decoration: none; }

/* Related files */
.seswo-files { max-width: 700px; margin: 30px auto 0; border-top: 1px solid #ddd; padding: 20px 24px 0; text-align: center; }
.seswo-files-title { font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px; }
.seswo-files-list { list-style: none; margin: 0 auto; padding: 0; display: inline-block; text-align: left; }
.seswo-files-list li { margin-bottom: 6px; }
.seswo-files-list a { color: #111; text-decoration: underline; font-weight: 600; }

/* ---------------- Carousel widget (embeddable anywhere) ---------------- */
.seswo-carousel-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 0; font-family: 'Josefin Sans', sans-serif; }
.seswo-carousel-wrap, .seswo-carousel-wrap *, .seswo-carousel-wrap *::before, .seswo-carousel-wrap *::after { box-sizing: border-box; font-family: 'Josefin Sans', sans-serif !important; }
.seswo-carousel-title {
	text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
	font-size: 20px; margin-bottom: 24px;
}
.seswo-carousel {
	display: flex; gap: 24px; overflow-x: auto; padding: 10px 0;
	scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
	width: 100%;
}
/* Real empty elements at each end, not container padding or item
   margin - both of those failed to render the gap reliably in some
   browsers, since this is a horizontally-scrolling flex container. An
   actual box in the flow can't be "ignored" the way padding/margin
   sometimes is at the very start/end of a scroll area. */
.seswo-carousel-spacer { flex: 0 0 4px !important; width: 4px !important; display: block !important; scroll-snap-align: none; }
.seswo-carousel::-webkit-scrollbar { height: 6px; }
.seswo-carousel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* Arrows sit in their own row underneath the strip, not to the sides -
   so the strip itself keeps the full width to show the images, and the
   arrows don't overlap the scrollbar or the artwork. */
.seswo-carousel-outer { display: flex; flex-direction: column; }
.seswo-carousel-nav { display: flex; justify-content: center; gap: 16px; margin-top: 8px; }
.seswo-carousel-arrow {
	flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
	background: #fff; border: 1px solid #ccc; font-size: 16px; font-weight: 900;
	color: #111; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.seswo-carousel-arrow:hover { background: #111; color: #fff; }

.seswo-carousel-more {
	flex: 0 0 auto; width: 220px; display: flex; flex-direction: column;
	align-items: center; justify-content: flex-start;
	text-decoration: none; scroll-snap-align: start;
}

.seswo-carousel-item {
	flex: 0 0 auto; width: 220px; display: flex; flex-direction: column; gap: 6px;
	scroll-snap-align: start;
}
.seswo-carousel-link { text-decoration: none; color: #111; display: block; }
.seswo-carousel-img {
	display: block; width: 220px; aspect-ratio: 4 / 5; /* matches the 1080x1350 poster crop */
	background-color: #222; margin-bottom: 8px; overflow: hidden;
}
.seswo-carousel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seswo-carousel-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.seswo-carousel-date { display: flex; align-items: baseline; gap: 5px; line-height: 1; font-weight: 800; margin-bottom: 2px; }
.seswo-carousel-day, .seswo-carousel-mon { font-size: 11px; letter-spacing: 0.05em; color: #111; }
.seswo-carousel-num { font-size: 13px; color: #111; }
.seswo-carousel-name {
	display: flex; align-items: flex-start; font-weight: 800; text-transform: uppercase; font-size: 16px; line-height: 1.2;
	overflow-wrap: normal; word-break: normal;
	min-height: 2.4em; /* reserves room for 2 lines so buttons across the row line up, even for short 1-line titles */
}
.seswo-carousel-time { display: block; font-size: 12px; color: #111; margin-top: 3px; font-weight: 600; }
.seswo-carousel-item .seswo-btn { margin-top: auto; }

@media (max-width: 600px) {
	.seswo-carousel-item, .seswo-carousel-img, .seswo-carousel-more { width: 170px; }
	.seswo-carousel-name { font-size: 13px; }
	.seswo-carousel-time { font-size: 11px; }
	.seswo-carousel-arrow { width: 26px; height: 26px; font-size: 14px; }
}
