/* SBP Eventos Mensagens */
.bms {
	--bms-photo: 260px;
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.bms-item {
	display: grid;
	grid-template-columns: var(--bms-photo) minmax(0, 1fr);
	grid-template-areas: "person body";
	column-gap: 40px;
	align-items: start;
	box-sizing: border-box;
}
.bms-item--right {
	grid-template-columns: minmax(0, 1fr) var(--bms-photo);
	grid-template-areas: "body person";
}

.bms-item--box {
	padding: 40px;
	border-radius: 24px;
	background: #f4f3fb;
	align-items: stretch;
}

.bms-person { grid-area: person; min-width: 0; }
.bms-body {
	grid-area: body;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
}
.bms-item--box .bms-body { justify-content: flex-end; }

/* Foto */
.bms-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 22px;
	border-radius: 20px;
	background: #f4f3fb;
	overflow: hidden;
	line-height: 0;
}
.bms-item--box .bms-photo { background: #fff; }
.bms-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}
.bms-photo--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 2px dashed #c9c8e6;
	color: #7a7a99;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

/* Nome e cargo */
.bms-name {
	margin: 0 0 8px;
	color: #0a0a7d;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
}
.bms-role {
	color: #5a5b70;
	font-size: 14px;
	line-height: 1.6;
}

/* Mensagem */
.bms-quote {
	margin-bottom: 18px;
	color: #f2b230;
	line-height: 0;
}
.bms-quote svg { display: block; width: 48px; height: auto; }

.bms-text,
.bms-text p {
	color: #4a4b5e;
	font-size: 17px;
	line-height: 1.9;
}
.bms-text p { margin: 0 0 16px; }
.bms-text p:last-child { margin-bottom: 0; }

.bms-sig {
	margin-top: 18px;
	color: #0a0a7d;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
}

/* Celular / tablet: empilha (foto em cima) */
@media (max-width: 900px) {
	.bms-item,
	.bms-item--right {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "person" "body";
		row-gap: 24px;
	}
	.bms-person { max-width: var(--bms-photo); }
	.bms-item--box .bms-body { justify-content: flex-start; }
}
