/* The Web Recluse Quotes — frontend
   Deliberately light-touch so the Foxiz theme's own typography mostly carries.
   The red accent is the only strong opinion. */
.twrq-quote-wrap {
	position: relative;
}
.twrq-quote {
	margin: 0;
	padding: 0 0 0 16px;
	border-left: 3px solid #aa0505;
}
.twrq-quote-text {
	margin: 0;
	padding: 0;
	font-style: italic;
	line-height: 1.5;
	border: 0;
	background: none;
	quotes: none;
}
.twrq-cite {
	display: block;
	margin-top: 8px;
	font-size: 0.85em;
	font-style: normal;
	opacity: 0.85;
}
.twrq-cite a {
	color: #aa0505;
	text-decoration: none;
}
.twrq-cite a:hover {
	text-decoration: underline;
}
.twrq-shuffle {
	margin-top: 8px;
	background: none;
	border: 0;
	color: #aa0505;
	font-size: 1.1em;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}
.twrq-shuffle:hover {
	color: #870404;
}
.twrq-spinning {
	animation: twrq-spin 0.6s linear infinite;
	display: inline-block;
}
@keyframes twrq-spin {
	to {
		transform: rotate( 360deg );
	}
}

/* Font size, set inline by the shortcode via a custom property. When unset it
   simply inherits the theme size (so the widget/plain shortcode are unchanged). */
.twrq-quote-text {
	font-size: var( --twrq-qsize, inherit );
}

/* ---- Alignment ---- */
.twrq-align-left {
	text-align: left;
}
.twrq-align-center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.twrq-align-right {
	text-align: right;
}
/* Keep the quote text readable (left-set) even when the block is centred/right. */
.twrq-align-center .twrq-quote,
.twrq-align-right .twrq-quote {
	display: inline-block;
	text-align: left;
}

/* ---- Float (pull-quote that text wraps around) ---- */
.twrq-float-left {
	float: left;
	margin: 0.3em 1.8em 1em 0;
	max-width: 42%;
}
.twrq-float-right {
	float: right;
	margin: 0.3em 0 1em 1.8em;
	max-width: 42%;
}

/* ---- Pull-quote face: a contrasting serif so it doesn't read as body text.
   (Swap the font-family if your body copy is already a serif.) ---- */
.twrq-align-left .twrq-quote-text,
.twrq-align-center .twrq-quote-text,
.twrq-align-right .twrq-quote-text,
.twrq-float-left .twrq-quote-text,
.twrq-float-right .twrq-quote-text {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	line-height: 1.5;
}

/* ---- Accent bar side (chosen by the shortcode; for floats it sits on the
   inner edge, between the quote and the body text, to separate them) ---- */
.twrq-bar-left .twrq-quote {
	border-left: 5px solid #aa0505;
	border-right: 0;
	padding: 0 0 0 22px;
}
.twrq-bar-right .twrq-quote {
	border-left: 0;
	border-right: 5px solid #aa0505;
	padding: 0 22px 0 0;
}
.twrq-bar-none .twrq-quote {
	border: 0;
	padding: 0;
}
