/*
 * Private Events (templates/private-events.php) and the event pages (single-events.php): the short list of
 * key points under the intro, and on Private Events the rating line under the title.
 */

/* "Key points" / "What's included": a centred list under the intro, each line led by a red dot. */
.events-intro h3 {
	margin: 2rem 0 .75rem;
	font-size: 1.1rem;
	font-weight: 800;
}

.events-intro ul.event-points {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.events-intro ul.event-points li {
	margin: 0 0 .3rem;
}

.events-intro ul.event-points li::before {
	content: "•";
	margin-right: .45rem;
	color: var(--red);
	font-weight: 800;
}

/* Private Events banner: short enough that the intro below peeks in (it was a full screen with the quick
   quote form). The menu overlaps its top, so the text sits a little below the middle. */
.events-banner > div {
	min-height: 600px;
	padding-top: 150px;
	padding-bottom: 70px;
}

.events-banner .events-banner-title {
	margin: .5rem 0 1rem;
	font-size: 3.5rem;
	line-height: 1.1;
}

/* "Get a quote": solid white with charcoal text, so it stands out on the red and orange. */
.events-banner .events-banner-button,
.events-banner .events-banner-button:is(:hover, :focus, :active, :focus-visible) {
	margin-top: .5rem;
	border: 1px solid var(--white);
	background-color: var(--white);
	/* !important: the banner's .text-white would otherwise turn the text white too. */
	color: #231F20 !important;
}

.events-banner .events-banner-button:is(:hover, :focus, :active, :focus-visible) {
	color: var(--red) !important;
}

.events-banner .events-intro-rating a.class-rating-link,
.events-banner .events-intro-rating a.class-rating-link:hover {
	color: var(--white);
}

@media (max-width: 767.98px) {
	.events-banner > div {
		min-height: 500px;
		padding-top: 130px;
		padding-bottom: 50px;
	}

	.events-banner .events-banner-title {
		font-size: 2.5rem;
	}
}

/* "★★★★★ 5.0 · 405 Google reviews" in the Private Events banner (sc_class_rating_line in reviews.php). */
.events-intro-rating .class-rating {
	display: flex;
	justify-content: center;
	margin: .25rem 0 1.5rem !important;
}

.events-intro-rating a.class-rating-link {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: .4rem;
	color: var(--dark);
	text-decoration: none;
}

.events-intro-rating .class-rating-count {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.events-intro-rating .class-rating-stars {
	display: inline-flex;
	gap: .1rem;
}

/* Event pages (single-events.php): a short banner with the title, the rating line, the key facts and
   "Get a quote", so the intro below peeks in. The menu overlaps its top. */
.event-banner .event-banner-text {
	padding-top: 150px;
	padding-bottom: 60px;
}

.event-banner h1 {
	margin-bottom: .75rem;
}

.event-banner .events-intro-rating .class-rating {
	justify-content: flex-start;
	margin: 0 0 1rem !important;
}

.event-banner .events-intro-rating a.class-rating-link,
.event-banner .events-intro-rating a.class-rating-link:hover,
.event-banner .event-facts,
.event-banner .event-facts .bi {
	color: var(--white);
}

.event-banner .event-facts {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.25rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	font-size: .95rem;
	font-weight: 600;
}

.event-banner .event-facts li {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	white-space: nowrap;
}

/* The event's photo: cropped from the top so heads stay in, or wherever the page's "Photo focus" (0–100%)
   says. On a tablet or desktop the photo sits beside the text, and the menu covers the top of the banner,
   so the photo starts below the menu (its pink behind the menu's wavy edge) and is shown whole. */
.event-banner .event-photo :is(img, video) {
	object-position: 50% var(--photo-focus, 0%);
}

@media (min-width: 768px) {
	.event-banner .event-photo {
		background-color: var(--pink);
	}

	.event-banner .event-photo .ratio > :is(img, video) {
		top: 105px;
		height: calc(100% - 105px) !important;
	}
}

/* On a phone: the facts as a tidy two-by-two grid. The photo keeps the desktop's 4:3 frame, so the page's
   Photo focus crops it the same way on both. */
@media (max-width: 767.98px) {
	.event-banner .event-facts {
		display: grid;
		grid-template-columns: repeat(2, max-content);
		gap: .5rem 1.75rem;
		font-size: .9rem;
	}

	.event-banner .event-banner-text {
		padding-top: 130px;
		padding-bottom: 40px;
	}
}

.event-faqs h2 {
	margin-bottom: 0;
}

/* Private Events: "What are you planning?" and its four choices (forms/form-enquiry-picker.php). */
.enquiry-picker-question {
	margin: 1.25rem 0 1rem;
	color: var(--dark);
	font-weight: 600;
}

.enquiry-picker-choices {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
}

@media (max-width: 575.98px) {
	.enquiry-picker-choices {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.enquiry-picker-choices .button {
		width: 100%;
		padding-left: .5rem;
		padding-right: .5rem;
	}
}
