{# Merged version of _quote.css and _quote-image.css #}

.bigquote {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding: 3rem 1rem;
} 
@media (max-width: 768px) {
	.bigquote {
		padding: 3.5625rem 1.6875rem 4.375rem;
	}
}
@media (min-width: 768px) {
	.bigquote {
		padding-inline: 2rem;
	}
}

.bigquote__title {
	margin: 0 auto 1.5rem;
	max-width: 600px;
}
@media (max-width: 768px) {
	.bigquote__title {
		margin: 0 1rem 4.4375rem;
		font-size: 1.875rem;
		line-height: 1.875rem;
	}
}

.bigquote__text {
	font: italic 300 var(--fs-28) / normal var(--ff-headings);
	max-width: 800px;
	margin-inline: auto;
	position: relative;
}
@media (max-width: 768px) {
	.bigquote__text {
		padding: 0 35px;
		font-size: 1.56rem;
		line-height: 2.18rem;
	}
}

.bigquote__text::before {
  content: "“";
  position: absolute;
  font-size: 3rem;
  color: var(--clr-gold);
  left: -35px;
  bottom: -0.5em;
}
 
.bigquote__text::after {
  content: "”";
  position: absolute;
  font-size: 3rem;
  color: var(--clr-gold);
  right: -30px;
  bottom: -0.5em;
}

@media (max-width: 768px) {
	.bigquote__text::before,
	.bigquote__text::after {
		font-size: 2.25rem;
	}
}

.bigquote__signature {
	margin-block: 1rem 0;
}
.bigquote__author img {
	width: 80px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}
.bigquote__author-name {
	margin-block: 1rem 0.1rem;
}
.bigquote__credits {
	font-size: var(--fs-base);
}

.bigquote__read-more {
    display: flex;            /* make the container a flexbox */
    justify-content: center;  /* center horizontally */
    margin-top: 1.5rem;       /* optional spacing */
}
.bigquote__read-more a.cta_button {
	text-decoration: underline;
	font-size: var(--fs-base);
	text-align: center;
	justify-content: center;
	background: none;
	box-shadow: unset;
    display: inline-block;    /* make it shrink to content width */
    text-align: center;       /* ensure inner text is centered */
}
@media (max-width: 768px) {
	.bigquote__read-more a.cta_button {
		font-size: 1.125rem;
		margin-top: 0.375rem;
	}
}

.bigquote-image,
.bigquote-image__wrapper,
.bigquote-image__text,
.bigquote-image__image,
.bigquote-image__img {
	width: 100%;
}
.bigquote-image__wrapper {
	background-color: var(--clr-gray);
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2rem;
}
@media (min-width: 992px) {
	.bigquote-image {
		padding: 3rem;
	}
	.bigquote-image__wrapper {
		flex-direction: row;
		align-items: center;
		padding: 1rem 3rem;
	}
	.bigquote-image__text {
		text-align: initial;
		order: initial;
	}
}
@media (min-width: 1200px) {
	.bigquote-image__wrapper {
		margin: 0 6rem 0 2rem;
	}
	.bigquote-image__text h3 {
		max-width: calc(100% - 23rem);
	}
	.bigquote-image__img {
		position: absolute;
		right: -3%;
		top: -45%;
		width: 27rem;
	}
	.bigquote-image__img.bottom-fix {
		top: unset;
		bottom: -7px;
	}
}
@media (min-width: 768px) and (max-width: 1200px) {
	.bigquote-image__img {
		margin-top: -2rem;
	}
	.bigquote-image__wrapper {
		margin: 2rem 8rem 2rem 4rem;
	}
}
@media (max-width: 768px) {
	.bigquote-image__wrapper {
		margin: 2.625rem 1.875rem 2.5rem;
		background-color: #f8f8f8;
		border-radius: 0.3125rem;
		padding: 0;
	}
	.bigquote-image__img {
		margin-top: -1.4375rem;
	}
	.bigquote-image__text {
		text-align: left;
		padding: 0.5rem 1rem 1.5rem 1.6875rem;
	}
	.bigquote-image__text h3 {
		font-size: 1.5625rem;
		line-height: 1.875rem;
	}
}
