/* Text with image block. */
.text-image-block { padding: 104px 0; background: var(--fa-color-background); }
.text-image-block--soft { background: var(--fa-color-primary-very-light); }
.text-image-block__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 80px; align-items: center; }
.text-image-block--image-left .text-image-block__content { order: 2; }
.text-image-block--image-left .text-image-block__visual { order: 1; }
.text-image-block__content { max-width: 600px; }
.text-image-block__eyebrow { margin: 0 0 16px; color: var(--fa-color-primary); font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-image-block__title { margin: 0; color: var(--fa-color-text); font-size: 52px; line-height: 1.05; font-weight: 500; letter-spacing: -.035em; }
.text-image-block__title em { color: var(--fa-color-primary); font-style: normal; }
.text-image-block__text { margin-top: 26px; color: rgba(0, 0, 0, .72); font-size: 17px; line-height: 1.75; }
.text-image-block__text > :first-child { margin-top: 0; }
.text-image-block__text > :last-child { margin-bottom: 0; }
.text-image-block__button { display: inline-flex; gap: 12px; align-items: center; min-height: 48px; margin-top: 30px; padding: 5px 6px 5px 18px; color: var(--fa-color-primary); background: var(--fa-color-background); border: 1px solid var(--fa-color-primary); border-radius: 999px; font-size: 15px; line-height: 1; font-weight: 600; text-decoration: none; transition: color .25s ease, background-color .25s ease, transform .25s ease; }
.text-image-block__button:hover { color: var(--fa-color-background); background: var(--fa-color-primary); text-decoration: none; transform: translateY(-2px); }
.text-image-block__arrow { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--fa-color-background); background: var(--fa-color-primary); border-radius: 50%; transition: color .25s ease, background-color .25s ease; }
.text-image-block__button:hover .text-image-block__arrow { color: var(--fa-color-primary); background: var(--fa-color-background); }
.text-image-block__arrow-icon { display: block; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("../../images/right-arrow.svg") center / contain no-repeat; mask: url("../../images/right-arrow.svg") center / contain no-repeat; transform: rotate(-45deg); transition: transform .25s ease; }
.text-image-block__button:hover .text-image-block__arrow-icon { transform: rotate(0deg); }
.text-image-block__visual { position: relative; }
.text-image-block__visual::before { position: absolute; z-index: 0; right: -20px; bottom: -20px; width: 64%; height: 64%; content: ""; background: var(--fa-color-primary-light); border-radius: 28px; }
.text-image-block__frame { position: relative; z-index: 1; min-height: 500px; overflow: hidden; border-radius: 28px; box-shadow: 0 28px 70px rgba(0, 45, 79, .14); }
.text-image-block__image { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
@media (max-width: 900px) {
	.text-image-block { padding: 80px 0; }
	.text-image-block__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.text-image-block--image-left .text-image-block__content { order: 1; }
	.text-image-block--image-left .text-image-block__visual { order: 2; }
	.text-image-block__content { max-width: 720px; }
	.text-image-block__title { font-size: 46px; }
	.text-image-block__frame { min-height: 420px; }
	.text-image-block__image { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
	.text-image-block__button { transition: none; }
	.text-image-block__arrow { transition: none; }
	.text-image-block__arrow-icon { transition: none; }
}
@media (max-width: 600px) {
	.text-image-block { padding: 64px 0; }
	.text-image-block__grid { gap: 36px; }
	.text-image-block__title { font-size: 40px; }
	.text-image-block__text { font-size: 16px; }
	.text-image-block__visual::before { right: -8px; bottom: -10px; }
	.text-image-block__frame { min-height: 320px; border-radius: 20px; }
	.text-image-block__image { min-height: 320px; }
}
