/* ============================================================
   About Us — Figma-aligned (typography: 16px = 1rem)
   Scoped under .ph-about-page
   ============================================================ */

.ph-about-page {
	background: var(--ph-gray-bg);
	padding: 2.5rem 0 5rem;
}


.ph-about-page__wrap {
	padding-bottom: 0;
}


/* ---- Hero: About the Author ---- */

.ph-about-hero {
	margin-bottom: 5rem;
}

.ph-about-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    background: var(--ph-white);
    border: 1px solid var(--ph-border);
    border-radius: 2rem;
    box-shadow: var(--ph-shadow-sm);
    padding: 0 0 0 2.5rem;
    overflow: hidden;
}
.ph-about-hero__copy{
	margin: 20px 0;
}

.ph-about-hero__title {
	margin: 0 0 1.5rem;
	font-size: 3.75rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	letter-spacing: -0.02em;
	line-height: 1.12;
}

.ph-about-hero__body {
	font-size: 1rem;
	font-weight: var(--ph-fw-regular);
	color: var(--ph-gray);
	line-height: 1.5;
	margin-bottom: 1.5rem;
}

.ph-about-hero__body p {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	color: inherit;
	line-height: inherit;
}

.ph-about-hero__body p:last-child {
	margin-bottom: 0;
}

.ph-about-hero__btn {
	margin-top: 0.25rem;
}

.ph-about-hero__media {
	margin: 0;
}

.ph-about-hero__photo-wrap {
	position: relative;
	overflow: hidden;
	background: #f3f4f6;
}

.ph-about-hero__photo {
	width: 100%;
	height: auto;
	display: block;
	min-height: 17.5rem;
	object-fit: cover;
}

.ph-about-hero__caption {
	position: absolute;
	left: 1rem;
	bottom: 1.5rem;
	max-width: calc(100% - 2rem);
	padding: 0.625rem 1rem;
	background: var(--ph-white);
	border-radius: 1rem;
	font-size: 0.875rem;
	color: var(--ph-black);
	line-height: 1.35;
	box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	align-items: flex-start;
}

.ph-about-hero__caption-bold {
	font-weight: var(--ph-fw-bold);
	font-size: 1.1rem;
	color: var(--ph-black);
}

.ph-about-hero__caption-plain {
	font-weight: var(--ph-fw-regular);
	font-size: 0.9rem;
	color: var(--ph-gray);
}

/* ---- What is Painhunting ---- */

.ph-about-what {
	margin-bottom: 5rem;
}

.ph-about-what__inner {
	display: flex;
    gap: 3rem;
    background: var(--ph-white);
    border: 1px solid var(--ph-border);
    border-radius: 1rem;
    box-shadow: var(--ph-shadow-sm);
    padding: 2.5rem;
    flex-direction: row;
}

.ph-about-what__media {
	border-radius: 1rem;
    background: var(--ph-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-basis: 50%;
	margin: 25px 0;
}

.ph-about-what__media-img {
	width: 100%;
	height: 100%;
	min-height: 17.5rem;
	object-fit: cover;
	display: block;
}

.ph-about-what__media-placeholder {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ph-about-what__brain-svg {
	display: block;
	width: 3.75rem;
	height: 3.75rem;
	flex-shrink: 0;
}

.ph-about-what__title {
	margin: 0 0 1.5rem;
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.2;
	letter-spacing: -0.02em;
}
.ph-about-what__copy{
	width: 50%;
}

.ph-about-what__body {
	font-size: 1.4rem;
	font-weight: var(--ph-fw-regular);
	color: var(--ph-gray);
	line-height: 1.5;
	margin-bottom: 1.25rem;
}

.ph-about-what__body p {
	margin: 0 0 1rem;
	font-size: inherit;
	color: inherit;
}

.ph-about-what__body p:last-child {
	margin-bottom: 0;
}

/* ---- Key ideas ---- */

.ph-about-key {
	margin-bottom: 5rem;
	text-align: center;
}

.ph-about-key__head {
	margin-bottom: 2.5rem;
}

.ph-about-key__title {
	margin: 0 auto 1rem;
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.2;
	letter-spacing: -0.02em;
	max-width: 48rem;
}

.ph-about-key__rule {
	display: block;
	width: 6rem;
	height: 0.25rem;
	margin: 0 auto;
	background: var(--ph-green);
	border-radius: 0.125rem;
}

.ph-about-key__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	text-align: left;
}

.ph-about-key__card {
	background: var(--ph-white);
	border: 1px solid var(--ph-border);
	border-radius: 1rem;
	box-shadow: var(--ph-shadow-sm);
	padding: 1.5rem 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 0 1 calc((100% - 3rem) / 3);
	max-width: calc((100% - 3rem) / 3);
	min-width: 0;
	box-sizing: border-box;
}

.ph-about-key__icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 624.9375rem;
	background: var(--ph-green);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ph-white);
	margin-bottom: 1rem;
	flex-shrink: 0;
}

.ph-about-key__icon .dashicons {
	width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
    line-height: 1.5rem;
	color: inherit;
}

.ph-about-key__icon-inner :is(svg, img) {
	width: 1.25rem;
	height: 1.25rem;
	display: block;
	object-fit: contain;
}

.ph-about-key__card-title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: var(--ph-fw-bold);
	color: var(--ph-black);
	line-height: 1.3;
}

.ph-about-key__card-text {
	margin: 0;
	font-size: 1.1rem;
	font-weight: var(--ph-fw-regular);
	color: var(--ph-gray);
	line-height: 1.45;
}

.ph-about-key__cta {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

/* ---- Two-column history / ecosystem ---- */

.ph-about-split {
	margin-bottom: 5rem;
}

.ph-about-split__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.ph-about-split__card {
	background: var(--ph-white);
	border: 1px solid var(--ph-border);
	border-radius: 1rem;
	box-shadow: var(--ph-shadow-sm);
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ph-about-split__title {
	margin: 0 0 1.25rem;
	font-size: 2rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.25;
}

.ph-about-split__body {
	font-size: 1.25rem;
	color: var(--ph-gray);
	line-height: 1.5;
	margin-bottom: 1.25rem;
	flex: 1;
}

.ph-about-split__body p {
	margin: 0 0 1rem;
	font-size: inherit;
	color: inherit;
}

.ph-about-split__body p:last-child {
	margin-bottom: 0;
}

.ph-about-split__list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	width: 100%;
}

.ph-about-split__list-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 1.25rem;
	font-weight: var(--ph-fw-medium);
	color: var(--ph-gray);
	line-height: 1.45;
	margin-bottom: 0.75rem;
}

.ph-about-split__list-item:last-child {
	margin-bottom: 0;
}

.ph-about-split__check {
	flex-shrink: 0;
	margin-top: 0.125rem;
}

.ph-about-split__link {
	margin-top: auto;
}

/* ---- Books ---- */

.ph-about-books {
	margin-bottom: 5rem;
}

.ph-about-books__head {
	margin-bottom: 2rem;
}

.ph-about-books__head-text {
	min-width: 0;
}

.ph-about-books__title {
	margin: 0 0 0.75rem;
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ph-about-books__rule {
	display: block;
	width: 3rem;
	height: 0.25rem;
	background: var(--ph-green);
	border-radius: 0.125rem;
}

/* Book slider: same markup/classes as homepage books section (see homepage.css `.ph-books__*`). */
.ph-about-books__slider-wrap {
	margin-top: 0.25rem;
}

.ph-about-page .ph-about-bottom-cta {
	margin-top: 1rem;
}

/* ---- Research + Platform ---- */

.ph-about-rp {
	margin-bottom: 5rem;
}

.ph-about-rp__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.ph-about-rp__col {
	background: var(--ph-white);
	border: 1px solid var(--ph-border);
	border-radius: 1rem;
	box-shadow: var(--ph-shadow-sm);
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ph-about-rp__title {
	margin: 0 0 1.25rem;
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.25;
}

.ph-about-rp__body {
	font-size: 1.25rem;
	color: var(--ph-gray);
	line-height: 1.5;
	margin-bottom: 1.5rem;
}

.ph-about-rp__body p {
	margin: 0 0 1rem;
	font-size: inherit;
	color: inherit;
}

.ph-about-rp__body p:last-child {
	margin-bottom: 0;
}

.ph-about-rp__btn {
	margin-top: auto;
}

.ph-about-rp__features {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.5rem;
	width: 100%;
}

.ph-about-rp__feature {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 1.1rem;
	font-weight: var(--ph-fw-medium);
	color: var(--ph-black);
	line-height: 1.8;
}

.ph-about-rp__feature-icon {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.0625rem;
	color: var(--ph-green);
}

.ph-about-rp__feature-icon .dashicons {
	width: 1.5rem;
    height: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.8rem;
	color: inherit;
}

.ph-about-rp__feature-icon-inner :is(svg, img) {
	width: 1.125rem;
	height: 1.125rem;
	display: block;
	object-fit: contain;
}

.ph-about-rp__check-fallback {
	display: block;
	flex-shrink: 0;
}

.ph-about-rp__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 1.5rem;
	margin-top: auto;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
	.ph-about-hero__inner,
	.ph-about-what__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ph-about-what__media {
		order: -1;
	}

	.ph-about-key__card {
		flex: 0 1 calc((100% - 1.5rem) / 2);
		max-width: calc((100% - 1.5rem) / 2);
	}

	.ph-about-split__grid,
	.ph-about-rp__grid {
		grid-template-columns: 1fr;
	}

	.ph-about-rp__features {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ph-about-page {
		padding: 1.75rem 0 3rem;
	}
	.ph-about-what__inner{
		flex-direction: column;
		gap: 2rem;
	}
	.ph-about-what__media{
		flex-basis: 100%;
		background: none;
		margin: 0;
	}
	.ph-about-what__copy{
		width: 100%;
	}
	.ph-about-what__media-placeholder{
		justify-content: flex-start;
	}

	.ph-about-hero__inner,
	.ph-about-what__inner,
	.ph-about-split__card,
	.ph-about-rp__col {
		padding: 1.75rem 1.25rem;
	}

	.ph-about-key__card {
		flex: 0 1 100%;
		max-width: 100%;
	}
}
