/* How We Help page */

/* ---- Wealth journey chart (positions copied from the live page) ---- */
.ew-journey { padding-top: 66px; }
.ew-journey > .wp-block-group__inner-container { max-width: 1170px; margin: 0 auto; padding: 0; }
.entry-content .ew-journey__title { position: relative; z-index: 2; margin: 0; }
.ew-chart { position: relative; padding-top: 250px; margin-top: -170px; }
.ew-chart .ew-object { width: 100%; }
.ew-chart__label { position: absolute; z-index: 2; font-family: var(--ew-head); font-weight: 300; color: var(--ew-ink); transition: top 0.8s; pointer-events: none; }
.ew-chart__label strong { font-weight: 600; }
.ew-chart__label--noplan { bottom: 5%; left: 55%; }
.ew-chart__label--start { top: 78%; left: 30.7%; }
.ew-chart__label--grow { top: 63%; left: 59.9%; }
.ew-chart__label--enjoy { top: 36%; left: 89.4%; }
.ew-chart__hot {
	position: absolute;
	z-index: 3;
	width: 60px;
	height: 60px;
	border-radius: 30px;
	border: 1px solid transparent;
	background: transparent;
	cursor: pointer;
	padding: 0;
}
.ew-chart__hot--start { top: 81.4%; left: 29.8%; }
.ew-chart__hot--grow { top: 66.3%; left: 59.2%; }
.ew-chart__hot--enjoy { top: 39.8%; left: 88.7%; }
.ew-chart__hot--start:hover ~ .ew-chart__label--start { top: 77%; }
.ew-chart__hot--grow:hover ~ .ew-chart__label--grow { top: 62%; }
.ew-chart__hot--enjoy:hover ~ .ew-chart__label--enjoy { top: 35%; }

/* ---- Stage pop-ups ---- */
.ew-modal {
	border: 0;
	padding: 0;
	max-width: 760px;
	width: calc(100% - 32px);
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.ew-modal::backdrop { background: rgba(33, 33, 33, 0.55); }
.ew-modal__box { position: relative; padding: 50px 50px 40px; }
.ew-modal h3 { font-family: var(--ew-head); font-size: 29px; font-weight: 600; color: var(--ew-ink); margin: 0 0 20px; }
.ew-modal p { font-family: var(--ew-head); font-weight: 300; font-size: 16px; line-height: 24px; color: var(--ew-ink); }
.ew-modal .ew-modal__close { position: absolute; top: 12px; right: 18px; width: auto; min-height: 0; padding: 4px 8px; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 30px; line-height: 1; color: #9b9b9b; cursor: pointer; }
.ew-modal .ew-modal__close:hover { color: var(--ew-ink); background: none; }
.ew-modal__actions { display: flex; gap: 16px; justify-content: flex-end; margin-top: 26px; flex-wrap: wrap; }

/* ---- Adviser quotes + videos ---- */
.ew-advisers > .wp-block-group__inner-container > .wp-block-columns { margin-top: 110px; gap: 50px; }
.entry-content .ew-quote { font-size: 29px; line-height: 1.38; margin: 0 0 18px; }
.entry-content .ew-quote strong { font-weight: 600; letter-spacing: 1.5px; }
.entry-content .ew-quote__by { font-size: 16px; }
.ew-vdo { position: relative; display: block; text-decoration: none; }
.ew-vdo__img { display: block; width: 100%; height: 350px; border-radius: 15px; background-size: cover; background-position: center; }
.ew-vdo__play { position: absolute; top: 50%; left: 0; width: 100%; margin-top: -40px; text-align: center; transition: transform 0.6s; }
.ew-vdo__play img { display: inline-block; margin: 0 auto; width: 80px; height: auto; }
.ew-vdo:hover .ew-vdo__play { transform: translateX(5px); }

/* ---- Difference ---- */
.ew-why { text-align: center; }
.ew-why img { width: 90%; height: auto; }

/* ---- Ethos: Ikigai behind the "Show me" panel ---- */
.ew-ikigai { position: relative; max-width: 1085px; margin: 41px auto 0; }
.ew-ikigai .ew-object { position: relative; z-index: 0; }
.ew-ikigai__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20%;
	background: #fff;
	border: 1px solid lightgrey;
	border-radius: 15px;
	text-align: center;
	transition: opacity 0.8s, visibility 0.8s;
}
.ew-ikigai.is-revealed .ew-ikigai__cover { opacity: 0; visibility: hidden; }
.ew-ikigai__text p { font-family: var(--ew-head); font-weight: 300; font-size: 16px; line-height: 24px; color: var(--ew-ink); margin-bottom: 24px; }
.ew-ikigai__text .ew-btn { cursor: pointer; }

/* ---- Team ---- */
.ew-team > .wp-block-group__inner-container > .wp-block-columns { margin-top: 30px; }
.ew-member { padding: 20px; }
.ew-member--empty { visibility: hidden; }
.ew-member__pic { position: relative; }
.ew-member__photo img { border-radius: 50%; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ew-member__social {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #fff;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s;
	text-decoration: none;
}
.ew-member__social::before {
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	background: #212121;
}
.ew-member__pic:hover .ew-member__social { opacity: 1; }
.entry-content .ew-member__name { font-size: 18px; font-weight: 600; margin: 20px 0 4px; }
.entry-content .ew-member__role { font-size: 14px; color: #9b9b9b; margin: 0; }

@media (max-width: 781px) {
	.ew-chart { margin-top: 0; padding-top: 0; }
	.ew-chart__label, .ew-chart__hot { display: none; }
	.ew-vdo__img { height: 240px; }
}
