/* ==========================================================================
   Bokka Event archive (/events/) - page styles
   --------------------------------------------------------------------------
   Loaded after css/bokka-archives.css by lfg_bokka_archive_enqueue( 'events' )
   from archive-bokka_event.php. Everything is scoped to .lfg-archive--events
   (the template's container-wrap).

   Layout follows sjvhomes.com/events/: "Upcoming Events" band, a full-width
   split row per upcoming event, "Past Events" band and a 3-up card grid.
   The rows' cream band and green button are set in
   inc/bokka-lfg-events-galleries.php.
   ========================================================================== */

/* The block prints its own "Home / Events" bar; the hero partial already
   prints the breadcrumb above the hero. */
.lfg-archive--events .event-archive .breadcrumb-nav-component {
	display: none;
}

/* The block's 8rem bottom padding plus the Contact Us CTA's margin left a
   tall empty gap. */
.lfg-archive--events .event-archive {
	padding-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Upcoming event rows (bokka/split-content)
   -------------------------------------------------------------------------- */
/* Up to three lines of the event description instead of the plugin's one
   (its clamp also lost to a display rule, so long lines were cut). */
.lfg-archive--events .event-archive .split-content .description {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Date line as on the past event cards and the single event. */
.lfg-archive--events .event-archive .split-content .title-3,
.lfg-archive--events .past-events .event-date {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #313233;
}

/* Below the two-column layout the plugin zeroes the right padding, so the
   photo and button ran into the screen edge. Even gutters on both sides. */
@media (max-width: 1023px) {
	.lfg-archive--events .event-archive .split-content .content {
		padding-right: 24px;
		padding-left: 24px;
	}
	.lfg-archive--events .event-archive .split-content .text {
		padding-left: 0;
	}
}

/* --------------------------------------------------------------------------
   No upcoming events (panel from inc/bokka-lfg-events-galleries.php in place
   of the plugin's stock image)
   -------------------------------------------------------------------------- */
.lfg-archive--events .lfg-no-events {
	max-width: 760px;
	margin: 48px auto;
	padding: 48px 32px;
	text-align: center;
	background-color: #F7F6F3;
}
.lfg-archive--events .lfg-no-events__title {
	margin: 0 0 8px;
	padding: 0;
	font-family: Platypi, serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	color: #313233;
}
.lfg-archive--events .lfg-no-events__text {
	margin: 0 0 28px;
	padding: 0;
	font-family: Montserrat, sans-serif;
	font-size: 18px;
	color: #4B4F52;
}
@media (max-width: 639px) {
	.lfg-archive--events .lfg-no-events {
		margin: 32px 20px;
		padding: 36px 20px;
	}
	.lfg-archive--events .lfg-no-events__title {
		font-size: 26px;
	}
}
.lfg-archive--events .lfg-no-events > a {
	display: inline-flex;
	width: auto;
	padding-right: 32px;
	padding-left: 32px;
}

/* No past events yet: drop the band and its "No past events found." line. */
.lfg-archive--events .past-events:not(:has(.event-card)) {
	display: none;
}
