/**
 * Image Quote Component Styles
 * Image on left with quote block overlapping on right
 */

.pound-penny-image-quote-wrapper {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.image-quote-container {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	gap: 0;
	min-height: 400px;
}

.image-quote-image {
	flex: 0 0 65%;
	position: relative;
	z-index: 1;
	width: 65%;
	line-height: 0;
	overflow: hidden;
}

.image-quote-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	max-width: 100%;
	vertical-align: top;
}

.image-quote-block {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	padding: 3em 2.5em;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-height: 300px;
	box-sizing: border-box;
	background-color: #f5f5f5;
	text-align: left;
}

.image-quote-text {
	margin: 0 0 1.5em 0;
	padding: 0;
	font-family: 'Libre Baskerville', Georgia, serif !important;
	font-style: italic;
	font-weight: 400;
	line-height: 1.6;
	white-space: normal;
	text-align: left;
	border: none;
	quotes: """ """ "'" "'";
	color: inherit;
}

.image-quote-text::before {
	content: """";
	font-size: 1.2em;
	line-height: 0;
	vertical-align: -0.4em;
	opacity: 0.6;
}

.image-quote-text::after {
	content: """";
	font-size: 1.2em;
	line-height: 0;
	vertical-align: -0.4em;
	opacity: 0.6;
}

.image-quote-attribution {
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: 'Schibsted Grotesk', sans-serif !important;
	font-size: 0.9em;
	font-weight: 500;
	font-style: normal;
	opacity: 0.8;
	color: inherit;
}

/* Responsive adjustments */
@media screen and (max-width: 968px) {
	.image-quote-container {
		flex-direction: column;
		align-items: stretch;
	}
	
	.image-quote-image {
		max-width: 100% !important;
		width: 100% !important;
		flex: 0 0 100% !important;
	}
	
	.image-quote-block {
		width: 90% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-top: -60px;
		padding: 2em 1.5em !important;
		min-height: auto;
		position: relative;
	}
}

@media screen and (max-width: 768px) {
	.pound-penny-image-quote-wrapper {
		padding: 20px !important;
	}
	
	.image-quote-block {
		padding: 1.5em 1.25em !important;
		font-size: 1.25rem !important;
	}
	
	.image-quote-text {
		font-size: 1.25rem !important;
	}
}

@media screen and (max-width: 480px) {
	.image-quote-block {
		width: 95% !important;
		margin-top: -40px;
		padding: 1.25em 1em !important;
		font-size: 1.1rem !important;
	}
	
	.image-quote-text {
		font-size: 1.1rem !important;
		line-height: 1.5;
	}
	
	.image-quote-attribution {
		font-size: 0.85em;
	}
}
