/* Homepage-only: keep the hero caption centered like books.php */

#page-header.ph-hero-with-covers.ph-center .page-header-inner {
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	text-align: center;
}

#page-header.ph-hero-with-covers.ph-center .ph-caption,
#page-header.ph-hero-with-covers.ph-center .ph-mask-inner {
	text-align: center;
	justify-content: center;
}

#page-header.ph-hero-with-covers.ph-center .ph-caption-description {
	margin-left: auto;
	margin-right: auto;
}

#page-header.ph-hero-with-covers.ph-center .ph-caption-categories {
	justify-content: center;
}

#page-header.ph-hero-with-covers.ph-center .ph-caption-title {
	margin-top: 0;
}

#page-header.ph-hero-with-covers .ph-caption,
#page-header.ph-hero-with-covers .ph-caption-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

#page-header.ph-hero-with-covers .ph-caption-description {
	margin-top: 18px;
	padding-left: 12px;
	padding-right: 12px;
	min-width: 0;
	box-sizing: border-box;
	max-width: min(640px, 86%) !important;
	width: 100% !important;
}

#page-header.ph-hero-with-covers .ph-caption-description .tt-cap-word-wrap,
#page-header.ph-hero-with-covers .ph-caption-description .tt-cap-word {
	display: inline !important;
	overflow: visible !important;
	white-space: normal !important;
	max-width: 100%;
}

@media (min-width: 1025px) {
	#page-header.ph-hero-with-covers.ph-cap-xxxxlg .ph-caption-title {
		font-size: clamp(56px, 8.2vw, 148px);
	}
}

@media (max-width: 768px) {
	#page-header.ph-hero-with-covers .ph-caption-description.max-width-700 {
		max-width: 78% !important;
		font-size: 12px !important;
		letter-spacing: 0.02em !important;
		line-height: 1.45;
		padding-left: 4px;
		padding-right: 4px;
	}
}
