.pph-tm,
.pph-tm-form,
.pph-tm-single {
	--pph-bg: var(--navy, #576eb2);
	--pph-accent: var(--gold, #fff200);
	box-sizing: border-box;
}

.pph-tm {
	margin: 28px auto;
	padding: 42px 22px 48px;
	max-width: 1160px;
	color: #f7f4ea;
	background-color: var(--pph-bg);
	background-size: cover;
	background-position: center;
	border-radius: 28px;
}

.pph-tm__head {
	max-width: 680px;
	margin-bottom: 22px;
}

.pph-tm__kicker {
	margin: 0 0 8px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 12px;
	color: var(--pph-accent);
}

.pph-tm h2,
.pph-tm-form h2 {
	margin: 0 0 8px;
	font-size: 34px;
	line-height: 1.15;
}

.pph-tm__empty {
	margin: 0;
}

.pph-tm__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.pph-tm__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	min-width: 0;
	padding: 18px;
	border-radius: 18px;
	background-color: rgba(255, 255, 255, 0.08);
	background-size: cover;
	background-position: center;
	color: #f7f4ea;
}

.pph-tm__card--face {
	grid-template-columns: 72px minmax(0, 1fr);
}

.pph-tm__body {
	min-width: 0;
}

.pph-tm__card h3 {
	margin: 0 0 4px;
	font-size: 20px;
}

.pph-tm__card a {
	color: inherit;
	text-decoration: none;
}

.pph-tm__who {
	margin: 0 0 8px;
	color: var(--pph-accent);
	font-size: 14px;
}

.pph-tm__cat {
	display: inline-block;
	margin: 0 0 6px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--pph-accent);
	color: #1c2438;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.pph-tm__story p {
	margin: 0 0 8px;
}

.pph-tm__more {
	margin: 4px 0 0;
}

.pph-tm__more a {
	color: var(--pph-accent);
	font-weight: 700;
	text-decoration: underline;
}

.pph-tm__face {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--pph-accent);
}

.pph-tm__video {
	position: relative;
	margin-top: 10px;
}

.pph-tm__video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 12px;
}

.pph-tm__files {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}

.pph-tm__files img,
.pph-tm__files video {
	width: 100%;
	border-radius: 12px;
}

.pph-tm__file {
	color: var(--pph-accent);
}

.pph-prayer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
	gap: 28px;
	align-items: stretch;
	max-width: 1160px;
	margin: 28px auto 56px;
	padding: 0 22px;
}

.pph-prayer__art {
	margin: 0;
	height: 100%;
	border-radius: 32px;
	overflow: hidden;
}

.pph-prayer__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 32px;
}

.pph-tm-place {
	display: grid;
	gap: 12px;
}

.pph-prayer .pph-tm-form {
	max-width: none;
	margin: 0;
}

.pph-tm-form {
	max-width: 760px;
	margin: 28px auto 48px;
	padding: 28px 22px;
	background: #fff;
	color: #172033;
	border-radius: 24px;
	box-shadow: 0 16px 40px rgba(15, 39, 68, 0.08);
}

.pph-tm-form form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
	position: relative;
}

.pph-tm-form form > input[type="hidden"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.pph-tm-form form > .pph-tm-place {
	display: contents;
}

.pph-tm-form form > .pph-tm-place > label:last-child {
	grid-column: 1 / -1;
}

.pph-tm-form form > .pph-span,
.pph-tm-form form > button,
.pph-tm-form form > .g-recaptcha {
	grid-column: 1 / -1;
}

.pph-tm-form label {
	display: grid;
	gap: 6px;
	font-weight: 600;
}

.pph-tm-form input,
.pph-tm-form textarea,
.pph-tm-form select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d5dbe8;
	border-radius: 10px;
	font: inherit;
	font-weight: 400;
}

.pph-tm-form span {
	font-weight: 400;
	color: #5c6880;
	font-size: 13px;
}

.pph-tm-form button {
	justify-self: start;
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	background: var(--pph-bg);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.ppt-sheet .pph-tm-form {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.ppt-sheet .pph-tm-form button {
	background: var(--navy, #576eb2);
	color: var(--gold, #fff200);
}

.pph-tm-choice {
	margin: 0;
	padding: 0;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
}

.pph-tm-choice legend {
	width: 100%;
	font-weight: 600;
	margin-bottom: 2px;
}

.pph-tm-choice label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

.pph-tm-choice input {
	width: auto;
}

.pph-tm-form__note {
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff4f0;
}

.pph-tm-form__note.is-ok {
	background: #f3f8ef;
}

.pph-tm-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.pph-tm-event {
	max-width: 1120px;
	margin: 0 auto 40px;
	padding: 0 16px;
}

.pph-tm-single {
	max-width: 860px;
	margin: 28px auto 56px;
	padding: 28px 22px 32px;
	background: var(--navy, #576eb2);
	color: #f4f7ff;
	border-radius: 28px;
}

.pph-tm-single .pph-tm__card {
	background-color: rgba(255, 255, 255, 0.12);
	color: #f4f7ff;
}

.pph-tm-single .pph-tm__card h3,
.pph-tm-single .pph-tm__story,
.pph-tm-single .pph-tm__story p {
	color: #f4f7ff;
}

@media (max-width: 720px) {
	.pph-prayer,
	.pph-tm-form form {
		grid-template-columns: 1fr;
	}

	.pph-prayer__art,
	.pph-prayer__art img {
		height: auto;
	}
}

@media (max-width: 640px) {
	.pph-tm__card--face {
		grid-template-columns: 1fr;
	}
}
