/*
Theme Name: Flash Child - American Trumpeter
Theme URI: https://americantrumpeter.com/
Description: Child theme for americantrumpeter.com. Adds a per-page quote to the banner.
Author: Eric Berlin
Template: flash
Version: 1.0.1
*/

/* ---- Banner quote ------------------------------------------------- */

#wp-custom-header .eb-hwrap {
	position: relative;
	max-width: 1285px;
	margin: 0 auto;
	background: #3ba29e;
	line-height: 0;
	container-type: inline-size;
}

#wp-custom-header .eb-hwrap img {
	display: block;
	width: 100%;
	height: auto;
}

#wp-custom-header .eb-hq {
	position: absolute;
	left: 3.6%;
	top: 50%;
	transform: translateY(-50%);
	width: 37%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	line-height: normal;
	quotes: none;
}

#wp-custom-header .eb-hq::before,
#wp-custom-header .eb-hq::after {
	content: none;
	display: none;
}

#wp-custom-header .eb-hq p {
	margin: 0 0 0.8em;
	padding: 0;
	color: #10302f;
	font-style: italic;
	font-weight: 400;
	line-height: 1.55;
	font-size: 16px;
	font-size: 1.28cqi;
	text-align: left;
}

#wp-custom-header .eb-hq p strong {
	font-weight: 700;
	color: #0a2322;
}

#wp-custom-header .eb-hq cite {
	display: block;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #10302f;
	opacity: 0.85;
	line-height: 1.4;
	font-size: 12px;
	font-size: 0.98cqi;
	text-align: left;
}

#wp-custom-header .eb-hq cite a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(16, 48, 47, 0.35);
}

#wp-custom-header .eb-hq cite a:hover {
	border-bottom-color: rgba(16, 48, 47, 0.8);
}

/* Narrow screens: the teal panel is too small to hold text, so the
   quote drops below the picture on its own teal band. */
@media (max-width: 880px) {
	#wp-custom-header .eb-hq {
		position: static;
		transform: none;
		width: auto;
		padding: 16px 20px 20px;
	}

	#wp-custom-header .eb-hq p {
		font-size: 15px;
		margin-bottom: 0.55em;
	}

	#wp-custom-header .eb-hq cite {
		font-size: 12px;
	}
}
