/**
 * Historia de paciente (Figma: V2 · Ficha > testimonio con vídeo y reseñas).
 */

.psw-story {
	display: grid;
	grid-template-columns: minmax(0, 872.31fr) minmax(0, 615.69fr);
	gap: 16px;
}

/* --- Foto / vídeo --- */

.psw-story .psw-story__video {
	position: relative;
	min-height: 560px;
	margin: 0;
	border-radius: 28px;
	overflow: hidden;
	background-color: var(--psw-sand);
}

.psw-story .psw-story__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psw-story .psw-story__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(38, 41, 34, 0) 45%, rgba(38, 41, 34, 0.75) 100%);
}

.psw-story .psw-story__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background-color: rgba(255, 253, 251, 0.95);
	color: var(--psw-foreground-strong);
	transform: translate(-50%, -60%);
	transition: transform 0.2s ease;
}

.psw-story .psw-story__play:hover {
	transform: translate(-50%, -60%) scale(1.05);
}

.psw-story .psw-story__play:focus-visible {
	outline: 2px solid var(--psw-primary-foreground);
	outline-offset: 3px;
}

.psw-story .psw-story__play svg {
	width: 22px;
	height: 22px;
}

.psw-story .psw-story__body {
	position: absolute;
	right: 32px;
	bottom: 32px;
	left: 32px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	color: var(--psw-primary-foreground);
}

.psw-story .psw-story__badge {
	padding: 5px 12px;
	border-radius: 99px;
	background-color: var(--psw-secondary);
	font-size: var(--e-global-typography-om_texto_s-font-size, 14px);
	font-weight: 500;
	line-height: var(--e-global-typography-om_texto_s-line-height, 22px);
}

.psw-story .psw-story__quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.psw-story .psw-story__quote p {
	margin: 0;
	color: var(--psw-primary-foreground);
	font-family: var(--psw-font-display);
	font-size: var(--e-global-typography-om_display_m-font-size, 48px);
	font-weight: 300;
	line-height: var(--e-global-typography-om_display_m-line-height, 1.06);
}

.psw-story .psw-story__caption {
	color: rgba(243, 237, 230, 0.8);
	font-size: var(--e-global-typography-om_texto_s-font-size, 14px);
	line-height: var(--e-global-typography-om_texto_s-line-height, 22px);
}

/* --- Columna derecha --- */

.psw-story .psw-story__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.psw-story .psw-story__score {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}

.psw-story .psw-story__score > strong {
	color: var(--psw-foreground-strong);
	font-family: var(--psw-font-display);
	font-size: var(--e-global-typography-om_display_l-font-size, 72px);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.psw-story .psw-story__score > span {
	display: flex;
	flex-direction: column;
	color: var(--psw-muted-foreground);
	font-size: var(--e-global-typography-om_texto_s-font-size, 14px);
	line-height: var(--e-global-typography-om_texto_s-line-height, 22px);
}

.psw-story .psw-story__stars {
	color: var(--psw-secondary);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
}

.psw-story .psw-story__review {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
	border-radius: 28px;
	background-color: var(--psw-surface-raised);
}

.psw-story .psw-story__review-text {
	margin: 0;
	padding: 0;
	border: 0;
}

.psw-story .psw-story__review-text p {
	margin: 0;
	color: var(--psw-foreground-strong);
	font-family: var(--e-global-typography-secondary-font-family, "Cormorant"), Georgia, serif;
	font-size: var(--e-global-typography-secondary-font-size, 24px);
	line-height: var(--e-global-typography-secondary-line-height, 1.4);
}

.psw-story .psw-story__person {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: auto 0 0;
}

.psw-story .psw-story__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--psw-surface-sand);
	color: var(--psw-primary);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	font-weight: 500;
}

.psw-story .psw-story__person > span:last-child {
	display: flex;
	flex-direction: column;
	color: var(--psw-muted-foreground);
	font-size: var(--e-global-typography-om_texto_s-font-size, 14px);
	line-height: var(--e-global-typography-om_texto_s-line-height, 22px);
}

.psw-story .psw-story__person strong {
	color: var(--psw-foreground);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	font-weight: 500;
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
}

.psw-story .psw-story__link {
	align-self: flex-start;
	padding-bottom: 3px;
	border-bottom: 1px solid rgba(79, 83, 73, 0.25);
	color: var(--psw-primary);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	font-weight: 500;
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
	text-decoration: none;
}

.psw-story .psw-story__link:hover {
	border-bottom-color: var(--psw-primary);
	color: var(--psw-primary);
}

@media (max-width: 1279px) {
	.psw-story .psw-story__quote p {
		font-size: 40px;
	}
}

@media (max-width: 1023px) {
	.psw-story {
		grid-template-columns: minmax(0, 1fr);
	}

	.psw-story .psw-story__video {
		min-height: 480px;
	}
}

@media (max-width: 767px) {
	.psw-story .psw-story__video {
		min-height: 420px;
	}

	.psw-story .psw-story__play {
		width: 64px;
		height: 64px;
	}

	.psw-story .psw-story__body {
		right: 20px;
		bottom: 20px;
		left: 20px;
	}

	.psw-story .psw-story__quote p {
		font-size: 30px;
		line-height: 1.12;
	}

	.psw-story .psw-story__score > strong {
		font-size: 44px;
	}

	.psw-story .psw-story__review {
		padding: 22px;
	}

	.psw-story .psw-story__review-text p {
		font-size: 20px;
	}
}
