/* === Общие стили === */
.quote {
	width: 100%;
	margin: 0 auto;
}
.quote-container {
	padding: 1.25rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.quote-top {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
}
.quote-text {
	width: 100%;
	padding: 0 0 0 1.25rem;
	border-left: 2px solid #4370B7;
}
.quote-text-main__text {
	font-family: var(--font-family);
	font-style: italic;
	font-weight: 400;
	font-size: 1.25rem;
	color: var(--text);
    margin-left: 65px;
	overflow-wrap: anywhere;
}
.quote-bottom {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}
.quote-bottom-info {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}
.bottom-info__img {
	border-radius: 0.9375rem;
	width: 4.375rem;
	height: 4.375rem;
	background-position: center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}
.quote-subtext-name {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--text-gray);
}
.quote-subtext-text {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 1rem;
	color: var(--text-gray);
}

/* === LARGE вариант === */
.quote-container2 {
	display: flex;
	gap: 1.25rem;
	width: 100%;
}
.quote-container2-img {
	width: 100%;
	max-width: 18.75rem;
	height: 25rem;
	background-position: center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}
.quote-container2-text {
	display: flex;
	flex-direction: column;
	padding: 3.5rem 1.25rem 0.375rem 0;
	justify-content: space-between;
	width: calc(100% - 18.75rem);
}
.col-3 .quote-container2-text, .col-4 .quote-container2-text {
	padding: 2.5rem 1.25rem 1.25rem 1.25rem;
}
.container2-text-main {
	position: relative;
	width: fit-content;
}
.container2-text-subtext {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

/* === Кавычки и рамка === */
/* .quote-border {
	position: absolute;
	width: 12.5rem;
	height: calc(100% + 3.5rem);
	top: -1.75rem;
	border-left: 6px solid;
	border-top: 6px solid;
	border-bottom: 6px solid;
} */
/* .quote-border::before,
.quote-border::after {
	content: "";
	position: absolute;
	right: 0;
	width: 0.375rem;
	background-color: currentColor;
} */
/* .quote-border::before {
	top: 0;
	height: 0.8125rem;
}
.quote-border::after {
	bottom: 0;
	height: 0.8125rem;
} */
.quote-left,
.quote-right {
	position: absolute;
}
.quote-left {
	top: -1.9375rem;
	left: 0.9375rem;
}
.quote-right {
	bottom: -2.188rem;
	right: 0;
}

/* === Цветовые темы: ПОЛНАЯ изоляция === */

/* Прозрачный фон */
.quote-color-transparent {
	background-color: transparent;
}
.quote-color-transparent .quote-text-main__text,
.quote-color-transparent .quote-subtext-name {
	color: var(--text);
}
.quote-color-transparent .quote-subtext-text {
	color: var(--text-gray);
}
.quote-color-transparent .quote-border {
	border-color: #4370b7;
}
.quote-color-transparent .quote-border::before,
.quote-color-transparent .quote-border::after {
	background-color: #4370b7;
}
.quote-color-transparent .quote-left path,
.quote-color-transparent .quote-top path,
.quote-color-transparent .quote-right path {
	fill: var(--text-blue) !important;
}

/* Белый фон черный текст*/
.quote-color-white {
	background-color: #FFF;
}
.quote-color-white .quote-text-main__text,
.quote-color-white .quote-subtext-name {
	color: var(--text);
}
.quote-color-white .quote-subtext-text {
	color: var(--text-gray);
}
.quote-color-white .quote-border {
	border-color: #4370b7;
}
.quote-color-white .quote-border::before,
.quote-color-white .quote-border::after {
	background-color: #4370b7;
}
.quote-color-white .quote-left path,
.quote-color-white .quote-top path,
.quote-color-white .quote-right path {
	fill: var(--text-blue) !important;
}


/* Белый фон синий текст*/

.quote-color-white__text_blue {
	background-color: #FFF;
}
.quote-color-white__text_blue .quote-text-main__text,
.quote-color-white__text_blue .quote-subtext-name {
	color: var(--text-blue);
}
.quote-color-white__text_blue .quote-subtext-text {
	color: var(--text-blue);
}
.quote-color-white__text_blue .quote-border {
	border-color: #4370b7;
}
.quote-color-white__text_blue .quote-border::before,
.quote-color-white__text_blue .quote-border::after {
	background-color: #4370b7;
}
.quote-color-white__text_blue .quote-left path,
.quote-color-white__text_blue .quote-top path,
.quote-color-white__text_blue .quote-right path {
	fill: var(--text-blue) !important;
}


/* Голубой фон синий текст*/

.quote-color-light_blue {
	background-color: #D9E8FF;
}
.quote-color-light_blue .quote-text-main__text,
.quote-color-light_blue .quote-subtext-name,
.quote-color-light_blue .quote-subtext-text {
	color: var(--text-blue);
}
.quote-color-light_blue .quote-border {
	border-color: #4370b7;
}
.quote-color-light_blue .quote-border::before,
.quote-color-light_blue .quote-border::after {
	background-color: #4370b7;
}
.quote-color-light_blue .quote-left path,
.quote-color-light_blue .quote-top path,
.quote-color-light_blue .quote-right path {
	fill: var(--text-blue) !important;
}

/* Голубой фон чёрный текст*/

.quote-color-light_blue__text_black {
	background-color: #D9E8FF;
}
.quote-color-light_blue__text_black .quote-text-main__text,
.quote-color-light_blue__text_black .quote-subtext-name,
.quote-color-light_blue__text_black .quote-subtext-text {
	color: var(--text);
}
.quote-color-light_blue__text_black .quote-border {
	border-color: #4370b7;
}
.quote-color-light_blue__text_black .quote-border::before,
.quote-color-light_blue__text_black .quote-border::after {
	background-color: #4370b7;
}
.quote-color-light_blue__text_black .quote-left path,
.quote-color-light_blue__text_black .quote-top path,
.quote-color-light_blue__text_black .quote-right path {
	fill: var(--text-blue) !important;
}

/* Синий фон белый текст*/

.quote-color-blue {
	background-color: #4370B7;
}
.quote-color-blue .quote-text-main__text,
.quote-color-blue .quote-subtext-name,
.quote-color-blue .quote-subtext-text {
	color: var(--text-white);
}
.quote-color-blue .quote-border {
	border-color: #fff;
}
.quote-color-blue .quote-border::before,
.quote-color-blue .quote-border::after {
	background-color: #fff;
}
.quote-color-blue .quote-left path,
.quote-color-blue .quote-top path,
.quote-color-blue .quote-right path {
	fill: var(--text-white) !important;
}

.quote-color-blue .quote-text {
	border-left: 2px solid #fff;
}

/* Синий фон чёрный текст*/

.quote-color-blue__text_black {
	background-color: #4370B7;
}
.quote-color-blue__text_black .quote-text-main__text,
.quote-color-blue__text_black .quote-subtext-name,
.quote-color-blue__text_black .quote-subtext-text {
	color: var(--text);
}
.quote-color-blue__text_black .quote-border {
	border-color: #fff;
}
.quote-color-blue__text_black .quote-border::before,
.quote-color-blue__text_black .quote-border::after {
	background-color: #fff;
}
.quote-color-blue__text_black .quote-left path,
.quote-color-blue__text_black .quote-top path,
.quote-color-blue__text_black .quote-right path {
	fill: var(--text-white) !important;
}

.quote-color-blue__text_black .quote-text {
	border-left: 2px solid #fff;
}

.col-4 .quote-container2 {
	flex-direction: column;
}
.col-4 .quote-container2 {
	flex-direction: column !important;
}
.col-4 .quote-container2-img {
	border-radius: 15px !important;
	max-width: unset !important;
}
.col-4 .quote-container2-text {
	width: auto;
	max-width: unset;
	justify-content: inherit !important;
	gap: 4rem !important;
	flex-direction: column !important;
}
.col-4 .container2-text-subtext {
	flex-direction: column !important;
}

.col-3 .quote-container2 {
	flex-direction: column;
}
.col-3 .quote-container2 {
	flex-direction: column !important;
}
.col-3 .quote-container2-img {
	border-radius: 15px !important;
	max-width: unset !important;
}
.col-3 .quote-container2-text {
	width: auto;
	max-width: unset;
	justify-content: inherit !important;
	gap: 4rem !important;
	flex-direction: column !important;
}
.col-3 .container2-text-subtext {
	flex-direction: column !important;
}


/* === Адаптив === */
@media screen and (min-width: 768px) and (max-width: 1439px),
       screen and (min-width: 640px) and (max-width: 768px) {
	.quote-container2-text {
		gap: 3.5rem;
	}
}

@media screen and (max-width: 880px) {
	.col-9 .quote-container2 {
		flex-direction: column;
	}
	.col-9 .quote-container2 {
		flex-direction: column !important;
	}
	.col-9 .quote-container2-img {
		border-radius: 15px !important;
		max-width: unset !important;
	}
	.col-9 .quote-container2-text {
		width: auto;
		max-width: unset;
		justify-content: inherit !important;
		gap: 4rem !important;
		flex-direction: column !important;
	}
	.col-9 .quote-container2-text {
		width: auto;
		max-width: unset;
		justify-content: inherit !important;
		gap: 4rem !important;
		flex-direction: column !important;
	}
	.col-9 .container2-text-subtext {
		flex-direction: column !important;
	}
}

@media screen and (max-width: 990px) {
	.col-8 .quote-container2 {
		flex-direction: column;
	}
	.col-8 .quote-container2 {
		flex-direction: column !important;
	}
	.col-8 .quote-container2-img {
		border-radius: 15px !important;
		max-width: unset !important;
	}
	.col-8 .quote-container2-text {
		width: 100%;
		max-width: unset;
	}
	.col-8 .quote-container2-text {
		width: auto;
		max-width: unset;
		justify-content: inherit !important;
		gap: 4rem !important;
		flex-direction: column !important;
	}
	.col-8 .container2-text-subtext {
		flex-direction: column !important;
	}
}

@media screen and (max-width: 1015px) {
	.col-7 .quote-container2 {
		flex-direction: column;
	}
	.col-7 .quote-container2 {
		flex-direction: column !important;
	}
	.col-7 .quote-container2-img {
		border-radius: 15px !important;
		max-width: unset !important;
	}
	.col-7 .quote-container2-text {
		width: 100%;
		max-width: unset;
	}
	.col-7 .quote-container2-text {
		width: auto;
		max-width: unset;
		justify-content: inherit !important;
		gap: 4rem !important;
		flex-direction: column !important;
	}
	.col-7 .container2-text-subtext {
		flex-direction: column !important;
	}
}

@media screen and (max-width: 1140px) {
	.col-6 .quote-container2 {
		flex-direction: column;
	}
	.col-6 .quote-container2 {
		flex-direction: column !important;
	}
	.col-6 .quote-container2-img {
		border-radius: 15px !important;
		max-width: unset !important;
	}
	.col-6 .quote-container2-text {
		width: 100%;
		max-width: unset;
	}
	.col-6 .quote-container2-text {
		width: auto;
		max-width: unset;
		justify-content: inherit !important;
		gap: 4rem !important;
		flex-direction: column !important;
	}
	.col-6 .container2-text-subtext {
		flex-direction: column !important;
	}
}

@media screen and (max-width: 1560px) {
	.col-5 .quote-container2 {
		flex-direction: column;
	}
	.col-5 .quote-container2 {
		flex-direction: column !important;
	}
	.col-5 .quote-container2-img {
		border-radius: 15px !important;
		max-width: unset !important;
	}
	.col-5 .quote-container2-text {
		width: 100%;
		max-width: unset;
	}
	.col-5 .quote-container2-text {
		width: auto;
		max-width: unset;
		justify-content: inherit !important;
		gap: 4rem !important;
		flex-direction: column !important;
	}
	.col-5 .container2-text-subtext {
		flex-direction: column !important;
	}
}

@media screen and (max-width: 640px) {
	.quote-container2 {
		flex-direction: column !important;
	}
	.quote-container2-img {
		border-radius: 15px !important;
		max-width: unset !important;
	}
	.quote-container2-text {
		width: auto !important;
		justify-content: inherit !important;
		gap: 4rem !important;
		flex-direction: column !important;
	}
	.container2-text-subtext {
		flex-direction: column !important;
	}
  .quote-container2-text {
    padding-left: 10px;
  }
}
