/**
 * PRO program single course (Advanced Training → Pro Programs).
 * Depends on: global.css variables, homepage.css (.ph-cta, .ph-btn), courses-advanced-training.css (real session cards).
 */

.ph-course-pro-program {
	background: var(--ph-white, #fff);
}

/* —— Hero —— */
.ph-pp-hero {
	padding: 4rem 0 4rem;
	background: linear-gradient(154.85deg, rgba(234, 251, 222, 0.3) 0%, rgba(234, 251, 222, 0) 100%);
}

.ph-pp-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem 3.5rem;
	align-items: center;
}

.ph-pp-hero__kicker {
	margin: 0 0 1.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.56rem 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 9999px;
	background: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #555;
}

.ph-pp-hero__kicker::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--ph-green, #469f10);
	flex-shrink: 0;
}

.ph-pp-hero__title {
	margin: 0;
	font-weight: 800;
	font-size: clamp(2.5rem, 4.4vw, 3.75rem);
	line-height: 1.14;
	color: #333;
	letter-spacing: -0.02em;
}

.ph-pp-hero__title .ph-cta__title-accent {
	color: var(--ph-green, #469f10);
}

.ph-pp-hero__subtitle {
	margin: 1.25rem 0 0;
	font-size: 1.25rem;
	line-height: 1.62;
	color: #555;
	max-width: 36rem;
}

.ph-pp-hero__actions {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.ph-pp-hero__btn svg {
	margin-left: 0.35rem;
}

.ph-pp-hero__media {
	position: relative;
	border-radius: 3rem;
	overflow: hidden;
	border: 1px solid #e0e0e0;
	background: #fff;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
	padding: 2rem;
}

.ph-pp-hero__media::after {
	content: "";
	position: absolute;
	inset: 1rem -1rem -1rem 1rem;
	background: rgba(70, 159, 16, 0.1);
	border-radius: 3rem;
	z-index: -1;
}

.ph-pp-hero__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 1rem;
}

@media (max-width: 900px) {
	.ph-pp-hero__inner {
		grid-template-columns: 1fr;
	}

	.ph-pp-hero__media {
		max-width: 520px;
		margin: 0 auto;
	}
}

/* —— Overview —— */
.ph-pp-overview {
	padding: 4rem 0;
	background: var(--ph-white, #fff);
}

.ph-pp-overview__inner {
	max-width: 920px;
	margin: 0 auto;
	text-align: center;
}

.ph-pp-overview__eyebrow {
	margin: 0;
	font-size: 1rem;
    font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--ph-green, #469f10);
	text-transform: uppercase;
}

.ph-pp-overview__body {
	font-size: 2rem;
    font-weight: 500;
	line-height: 1.45;
	color: #333;
}

.ph-pp-overview__body p {
	margin: 0 0 1rem;
}

.ph-pp-overview__body p:last-child {
	margin-bottom: 0;
}

.ph-rich-text a {
	color: var(--ph-green, #469f10);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ph-rich-text ul,
.ph-rich-text ol {
	text-align: left;
	margin: 1rem auto;
	max-width: 640px;
	padding-left: 1.25rem;
}

/* —— Skills —— */
.ph-pp-skills {
	padding: 3.75rem 0 4rem;
	background: #fbfbfb;
}

.ph-pp-skills__title {
	margin: 0;
	text-align: center;
	font-weight: 800;
	font-size: clamp(2rem, 3vw, 2.375rem);
	line-height: 1.05;
	color: #333;
}

.ph-pp-skills__subtitle {
	margin: 1rem auto 0;
	max-width: 42rem;
	text-align: center;
	font-size: 1.125rem;
	line-height: 1.56;
	color: #555;
}

.ph-pp-skills__grid {
	margin-top: 4rem;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
}

@media (max-width: 1100px) {
	.ph-pp-skills__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ph-pp-skills__grid {
		grid-template-columns: 1fr;
	}
}

.ph-pp-skill-card {
	background: var(--ph-white, #fff);
	border: 1px solid #e0e0e0;
	border-radius: 2rem;
	padding: 2rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
	height: 100%;
	min-height: 12.5rem;
}

.ph-pp-skill-card__icon-wrap {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 1rem;
	background: rgba(70, 159, 16, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.ph-pp-skill-card__icon-wrap .dashicons,
.ph-pp-skill-card__icon-wrap .acf-icon-pick {
	font-size: 1.5rem;
	width: 1.5rem;
	height: 1.5rem;
	color: var(--ph-green, #469f10);
}

.ph-pp-skill-card__text {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	color: #333;
}

/* —— Structure (accordion) —— */
.ph-pp-structure {
	padding: 4rem 0 4rem;
	background: var(--ph-white, #fff);
}

.ph-pp-structure__title {
	margin: 0;
	text-align: left;
	font-weight: 800;
	font-size: clamp(2rem, 3vw, 2.25rem);
	color: #333;
}

.ph-pp-structure__subtitle {
	margin: 1rem 0 0;
	text-align: left;
	max-width: 44rem;
	font-size: 1.125rem;
	color: #555;
	line-height: 1.5;
}

.ph-pp-structure__list {
	margin-top: 2.5rem;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ph-pp-structure__item {
	border: 1px solid #e0e0e0;
	border-radius: 2rem;
	background: #fbfbfb;
	overflow: hidden;
}

.ph-pp-structure__summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.55rem;
	font-weight: 700;
	font-size: 1.0625rem;
	color: #333;
}

.ph-pp-structure__summary-left {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	min-width: 0;
}

.ph-pp-structure__num {
	width: 2.875rem;
	height: 2.875rem;
	border-radius: 9999px;
	background: #fff;
	border: 1px solid #e0e0e0;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	color: #333;
}

.ph-pp-structure__summary-copy {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.ph-pp-structure__module-label {
	font-size: 0.875rem;
	line-height: 1.25;
	font-weight: 500;
	color: var(--ph-green, #469f10);
}

.ph-pp-structure__summary-text {
	display: block;
	font-size: 1.25rem;
	line-height: 1.35;
	font-weight: 700;
	color: #333;
}

.ph-pp-structure__summary-subtitle {
	display: block;
	font-size: 1rem;
	line-height: 1.35;
	font-weight: 500;
	color: #555;
}

.ph-pp-structure__summary::-webkit-details-marker {
	display: none;
}

.ph-pp-structure__chev {
	width: 0.65rem;
	height: 0.65rem;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex-shrink: 0;
	margin-bottom: 0.2rem;
}

.ph-pp-structure__item[open] .ph-pp-structure__chev {
	transform: rotate(-135deg);
	margin-bottom: -0.15rem;
}

.ph-pp-structure__panel {
	/* height: 0; */
	overflow: hidden;
	padding: 0 2rem;
	font-size: 1rem;
	line-height: 1.55;
	color: #444;
	opacity: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	will-change: height;
	transition: height 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.ph-pp-structure__panel-inner {
	overflow: clip;
	padding: 1rem 0 2rem;
}

.ph-pp-structure__item[open] .ph-pp-structure__panel {
	opacity: 1;
}

.ph-pp-structure__panel-inner > *:first-child {
	margin-top: 1rem;
}

@media (max-width: 680px) {
	.ph-pp-structure__summary {
		padding: 1.1rem 1rem;
	}

	.ph-pp-structure__num {
		width: 2.5rem;
		height: 2.5rem;
	}

	.ph-pp-structure__summary-text {
		font-size: 1.0625rem;
	}
}

/* —— Who —— */
.ph-pp-who {
	padding: 0 0 5.5rem;
	background: #fff;
}

.ph-pp-who__panel {
	max-width: none;
	margin: 0 auto;
	background: #fbfbfb;
	border-radius: 3rem;
	padding: 2.6rem;
	border: 1px solid #e0e0e0;
}

.ph-pp-who__title {
	margin: 0;
	font-weight: 800;
	font-size: 1.5rem;
	color: #333;
}

.ph-pp-who__list {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ph-pp-who__item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	font-size: 1.0625rem;
	line-height: 1.45;
	color: #333;
}

.ph-pp-who__check {
	flex-shrink: 0;
	width: 2rem;
    height: 2rem;
	border-radius: 9999px;
	background: rgba(70, 159, 16, 0.2);
	color: var(--ph-green, #469f10);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.12rem;
}

.ph-pp-who__check svg {
	display: block;
}

.ph-pp-who__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	align-items: flex-start;
	min-width: 0;
}

.ph-pp-who__item-title {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	color: #333;
}

.ph-pp-who__desc {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: #555;
}

/* —— Learning path —— */
.ph-pp-learning-path {
	padding: 6rem 0;
	background: #fbfbfb;
}

.ph-pp-learning-path__title {
	margin: 0;
	text-align: center;
	font-weight: 800;
	font-size: clamp(2rem, 3vw, 2.25rem);
	color: #333;
}

.ph-pp-learning-path__subtitle {
	margin: 1rem auto 0;
	text-align: center;
	max-width: 31.5rem;
	font-size: 1.125rem;
	color: #555;
	line-height: 1.5;
}

.ph-pp-learning-path__track {
	margin-top: 4rem;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 0;
}

.ph-pp-learning-path__connector {
	width: 2.5rem;
	flex-shrink: 0;
	position: relative;
	align-self: center;
	height: 4px;
	background: #e5e7eb;
	margin: 0 0.15rem;
}

.ph-pp-learning-path__step {
	position: relative;
	min-width: 8rem;
	max-width: 12rem;
	padding: 0 0.5rem 1rem;
	text-align: center;
	border: none;
	background: transparent;
}

.ph-pp-learning-path__circle-wrap {
	display: flex;
	justify-content: center;
	padding-bottom: 1rem;
	min-height: 5rem;
	align-items: flex-end;
}

.ph-pp-learning-path__circle {
	width: 4rem;
	height: 4rem;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ph-white, #fff);
	border: 1px solid #e0e0e0;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	color: #555;
	min-width: max-content;
}

.ph-pp-learning-path__circle-inner--text {
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1;
	padding: 10px;
}

.ph-pp-learning-path__circle-svg {
	display: block;
	color: var(--ph-green, #469f10);
	width: 1rem;
	height: auto;
}

.ph-pp-learning-path__circle-svg--lock {
	width: 1rem;
	height: auto;
	color: var(--ph-gray);
}

.ph-pp-learning-path__step--current .ph-pp-learning-path__circle {
	background: var(--ph-green, #469f10);
	border-color: var(--ph-green, #469f10);
	color: #fff;
	box-shadow: none;
}

.ph-pp-learning-path__step--current .ph-pp-learning-path__circle-svg {
	color: #fff;
}

.ph-pp-learning-path__step--complete .ph-pp-learning-path__circle {
	border: 2px solid var(--ph-green, #469f10);
	background: var(--ph-white, #fff);
}

.ph-pp-learning-path__step--locked .ph-pp-learning-path__circle {
	opacity: 0.9;
}

.ph-pp-learning-path__step--locked .ph-pp-learning-path__circle-svg--lock {
	color: var(--ph-gray);
}

.ph-pp-learning-path__step--text-only .ph-pp-learning-path__label {
	color: #555;
}

.ph-pp-learning-path__step--current .ph-pp-learning-path__sublabel {
	color: var(--ph-green, #469f10);
	font-weight: 600;
}

.ph-pp-learning-path__label {
	font-weight: 800;
	font-size: 1rem;
	color: #333;
}

.ph-pp-learning-path__sublabel {
	margin-top: 0.35rem;
	font-size: 1rem;
	color: #666;
	line-height: 1.3;
}

@media (max-width: 720px) {
	.ph-pp-learning-path__track {
		flex-direction: column;
		align-items: center;
	}

	.ph-pp-learning-path__connector {
		width: 2px;
		height: 1.25rem;
		margin: 0.15rem 0;
		background: linear-gradient(#cfe9c0, #b6d5a8);
	}
}

/* —— Related —— */
.ph-pp-related {
	padding: 4rem 0 4rem;
	background: #fff;
}
.ph-pp-related .ph-pp-related__grid{
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ph-pp-related__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.ph-pp-related__title {
	margin: 0;
	font-weight: 800;
	font-size: clamp(2rem, 3vw, 2.25rem);
	color: #333;
}

.ph-pp-related__subtitle {
	margin: 0.75rem 0 0;
	font-size: 1.0625rem;
	color: #555;
	line-height: 1.5;
	max-width: 640px;
}

.ph-pp-related__view-all {
	flex-shrink: 0;
}
@media (max-width: 768px) {
	.ph-pp-related .ph-pp-related__grid{
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

