/**
 * Change Ownership.
 *
 * @package jpd-theme
 */


.jpd-page--change-ownership {
	color: #333333;
	background: var(--jpd-white);
}


/* =========================================================
   Main Content
   ========================================================= */

.jpd-change-ownership-section {
	padding: clamp(48px, 7vw, 84px) 0 clamp(64px, 8vw, 104px);
	background-color: #f5f5f5;
}


.jpd-change-ownership {
	display: flex;
	flex-direction: column;
	gap: 3.5rem;
	max-width: 960px;
	margin: 0 auto;
	padding-inline: 1.5rem;
}

.jpd-change-ownership__heading {
	margin: 0;
	color: #0b3a74;
	font-family: var(--jpd-font-heading);
	font-size: clamp(1.5rem, 2.2vw, 1.85rem);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}


/* =========================================================
   Flowchart
   ========================================================= */

.jpd-flowchart {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.jpd-flowchart__header {
	width: 100%;
	max-width: 460px;
	margin-bottom: 2.5rem;
	padding: .85rem 2.25rem;
	border: 2px solid #7a1440;
	border-radius: 999px;
	background: linear-gradient(
		135deg,
		#93194f 0%,
		#7a1440 100%
	);
	color: #fff;
	font-size: clamp(1.05rem, .4vw + .95rem, 1.25rem);
	font-weight: 800;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .05em;
	box-shadow:
		0 8px 18px rgba(147,25,79,.22),
		0 3px 8px rgba(0,0,0,.12);
	box-sizing: border-box;
}


.jpd-flowchart__step {
	width: 100%;
	max-width: 460px;
	padding: 1.25rem 1.75rem;
	border: 2px solid var(--jpd-dark);
	border-radius: 15px;
	background: #fde08d;
	color: var(--jpd-text);
	font-size: clamp(1rem, .4vw + .9rem, 1.15rem);
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
	box-shadow:
		0 10px 24px rgba(0,0,0,.12),
		0 4px 10px rgba(79,122,86,.15);
	box-sizing: border-box;
}


/* Filled arrow */
.jpd-flowchart__arrow {
	width: 34px;
	height: 48px;
	margin: 12px 0;
	background: #93194f;
	clip-path: polygon(
		35% 0%,
		65% 0%,
		65% 55%,
		88% 55%,
		50% 100%,
		12% 55%,
		35% 55%
	);
}


/* =========================================================
   Documents Required
   ========================================================= */

.jpd-documents-required {
	width: 100%;
	margin-top: 1.5rem;
	border: 1px solid #e8d48a;
	border-radius: 12px;
	overflow: hidden;
	background-color: #fef5d9;
}


.jpd-documents-required__header {
	display: inline-block;
	margin: 1.5rem 0 1rem 1.5rem;
	padding: .5rem 1.5rem;
	border-radius: 999px;
	background: #93194f;
	color: #fff;
	font-size: clamp(.9rem, .3vw + .8rem, 1rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.jpd-documents-required__list {
	margin: 1.25rem 0 0;
	padding: 0 2rem 1.75rem 3rem;
	color: var(--jpd-text);
	line-height: 1.6;
}

.jpd-documents-required__list li {
	margin-bottom: .85rem;
	padding-left: .5rem;
	font-size: clamp(.9rem, .3vw + .8rem, 1rem);
}


.jpd-documents-required__list li:last-child {
	margin-bottom: 0;
}



/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 920px) {

	.jpd-change-ownership-hero__inner {
		grid-template-columns:
			minmax(320px,.9fr)
			minmax(420px,1.1fr);
		min-height: 340px;
	}
}


@media (max-width: 768px) {

	.jpd-change-ownership {
		width: 100%;
		padding:32px 1rem 32px;
		gap: 2rem;
	}
    

	.jpd-flowchart__header,
	.jpd-flowchart__step {
		max-width: 100%;
	}


	.jpd-flowchart__header {
		padding-inline: 1.25rem;
	}

	.jpd-flowchart__step {
		padding: 1.15rem 1.25rem;
		font-size: 1rem;
	}

	.jpd-documents-required {
		margin-top: 1.5rem;
		border-radius: 12px;
	}

	.jpd-documents-required__header {
		display: inline-block;
		margin: 1rem 1rem .75rem;
		padding: .4rem 1rem;
		font-size: 0.8rem;
		letter-spacing: .03em;
		border-radius: 999px;
        text-align: center;
	}


	.jpd-documents-required__list {
		margin-top: 1rem;
		padding: 0 1.25rem 1.5rem 2rem;
	}

	.jpd-documents-required__list li {
		padding-left: .25rem;
		margin-bottom: .75rem;
		font-size: 0.95rem;
		line-height: 1.55;
	}
}