.component-message {
	display: flex;
	column-gap: 20px;
	align-items: flex-end;
	flex-direction: row-reverse;
	max-width: 550px;
	row-gap: 10px;

	@media (max-width: 768px) {
		max-width: 95%;
	}

	&.right {
		align-self: flex-end;
		flex-direction: row;

		@media (max-width: 768px) {
			flex-direction: row-reverse;
			align-self: unset;
		}

		.bubble {
			&::after {
				@media (min-width: 768px) {
					left: auto;
					right: -11px;
					transform: scaleX(-1);
				}
			}
		}
	}

	&.self {
		@media (max-width: 768px) {
			flex-direction: column;
			align-items: flex-end;
			align-self: flex-end;
		}

		.bubble {
			background-color: #3944C4;

			.message-text {
				color: var( --color-white );
			}

			&::after {
				background-image: url('../../../images/templates/trial/bubble-point-blue.svg');
				transform: none;
				left: auto;
				right: -11px;
			}
		}

		.author {
			img {
				width: 155px;
				height: auto;
				border-radius: 0;

				@media (max-width: 768px) {
					width: auto;
					height: 30px;
				}
			}
		}
	}

	.bubble {
		position: relative;
		display: flex;
		flex-direction: column;
		row-gap: 20px;
		padding: 18px 24px;
		flex: 1;
		background-color: #D4D4D4;
		border-radius: 24px;
		z-index: 2;

		.message-text {
			font-size: 24px;
			line-height: 1.3;
			font-weight: 300;
			color: #000;

			@media (max-width: 768px) {
				font-size: 14px;
			}
		}

		.author-meta {
			font-size: 16px;
			color: #8A898E;
			line-height: 1.2;
			font-weight: 300;

			@media (max-width: 768px) {
				font-size: 10px;
			}
		}

		&::after {
			content: '';
			display: block;
			position: absolute;
			left: -11px;
			bottom: 0;
			width: 35px;
			height: 35px;
			background-image: url('../../../images/templates/trial/bubble-point-grey.svg');
			background-size: contain;
			background-repeat: no-repeat;
			z-index: 1;
		}
	}

	.author {
		flex: 0 0 auto;
		display: flex;
		align-items: flex-end;

		img {
			width: 64px;
			height: 64px;
			border-radius: 50%;

			@media (max-width: 768px) {
				height: 30px;
				width: auto;
			}
		}
	}

}