/*
 * Quote – Howe Green House's testimonials: the section title, then the quote
 * upright in the light cut at a size up from the copy, in a column no wider
 * than 800px, its attribution small beneath it, and a row of dots when there
 * are several. The curly quote marks are drawn here, so the copy needs none.
 */
.block-quote {
	.sectionTitle {
		margin-bottom: 30px;
		text-align: center;
	}
}

.quotes-holder {
	position: relative;
}

.quoteContainer {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 15px;
	color: var(--landing-text);
	text-align: center;

	@media (min-width: 768px) {
		padding: 0 70px;
	}

	blockquote.quote-text {
		max-width: 100%;
		margin: 0 auto;
		padding: 0;
		font: var(--text-quote);
		font-size: 20px;

		@media (min-width: 768px) {
			font: var(--text-quote);
		}

		p {
			margin-bottom: 0.8em;
		}

		> p:first-child::before {
			content: '\201C';
		}

		> p:last-of-type {
			margin-bottom: 0;

			&::after {
				content: '\201D';
			}
		}
	}

	.quote-cite {
		display: block;
		margin-top: 1em;
		color: var(--landing-text);
		font: var(--text-caption);
		font-style: normal;
	}

	.singleQuote {
		width: 100%;
		position: relative;
	}

	/* More than one quote (.multi, set by quote.php): the slideshow is an
	   interactive control – hand cursor like the owl carousels, click/swipe
	   advances (quote.js), no text selection under a drag. touch-action keeps
	   vertical scrolling native while the block owns horizontal swipes. */
	.cycle-slideshow.multi {
		cursor: pointer;
		user-select: none;
		-webkit-user-select: none;
		touch-action: pan-y;
	}

	.cycle-pager {
		width: 100%;
		margin: 24px 0 0;
		padding: 0 15px;
		text-align: center;

		span {
			display: inline-block;
			width: 9px;
			height: 9px;
			margin: 0 4px;
			border-radius: 50%;
			background: var(--landing-text);
			opacity: 0.35;
			text-indent: -9999px;
			overflow: hidden;
			cursor: pointer;
			transition: opacity 300ms;

			&.cycle-pager-active {
				opacity: 1;
			}
		}
	}
}
