/**
 * Pray Page Styles
 *
 * Simple template: dark hero + shared homepage prayer signup.
 * Program accent color: red (#FF5454) — matches the pastor-care page.
 *
 * @package flavor23
 */

/* ==============================
   Pray Hero — Keyframes
   ============================== */

@keyframes prayHeroFadeUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ==============================
   Pray Hero
   ============================== */

.pray-hero {
	background: var(--wp--preset--color--primary-dark, #2A2F42);
	padding: 8rem 1.5rem 5rem;
	text-align: center;
}

.pray-hero__content {
	position: relative;
}

.pray-hero .section__eyebrow,
.pray-hero__title,
.pray-hero__subtitle {
	opacity: 0;
	animation: prayHeroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pray-hero .section__eyebrow { animation-delay: 0.15s; }
.pray-hero__title            { animation-delay: 0.35s; }
.pray-hero__subtitle         { animation-delay: 0.55s; }

.pray-hero__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: clamp(2rem, 4vw, 3.3rem);
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
	margin-bottom: 1.25rem;
}

.pray-hero__subtitle {
	font-size: 1.125rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	max-width: 600px;
	margin: 0 auto;
}

.pray-hero__content {
	text-align: center;
}

.pray-hero__form {
	max-width: 560px;
	margin: 2.5rem auto 0;
	opacity: 0;
	animation: prayHeroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

/* ==============================
   Program Color Overrides — Red (#FF5454)
   Matches the pastor-care page treatment.
   ============================== */

/* Section eyebrows → red. !important needed because custom.css applies
   the amber accent to interior-hero eyebrows with !important. */
body.page-pray .section__eyebrow {
	color: #FF5454 !important;
}

/* Title underline bars → red */
body.page-pray .section__title::after {
	background: #FF5454;
}

/* Prayer signup form — red accent overrides */
body.page-pray .newsletter div.wpforms-container-full .wpforms-form .wpforms-field-required {
	color: #FF5454 !important;
}

body.page-pray .newsletter div.wpforms-container-full .wpforms-form input[type="text"]:focus,
body.page-pray .newsletter div.wpforms-container-full .wpforms-form input[type="email"]:focus {
	border-color: #FF5454 !important;
	box-shadow: 0 0 0 3px rgba(255, 84, 84, 0.18) !important;
}

body.page-pray .newsletter div.wpforms-container-full .wpforms-form button[type="submit"],
body.page-pray .newsletter div.wpforms-container-full .wpforms-form .wpforms-submit {
	background-color: #FF5454 !important;
}

body.page-pray .newsletter div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
body.page-pray .newsletter div.wpforms-container-full .wpforms-form .wpforms-submit:hover {
	background-color: #e84545 !important;
}

/* ==============================
   Responsive — Tablet (768px)
   ============================== */

@media (max-width: 768px) {
	.pray-hero {
		padding: 4.5rem 1.5rem 3.5rem;
	}

	.pray-hero__title {
		font-size: clamp(1.75rem, 5vw, 2.5rem);
	}
}

/* ==============================
   Responsive — Mobile (480px)
   ============================== */

@media (max-width: 480px) {
	.pray-hero {
		padding: 3.5rem 1rem 2.5rem;
	}

	.pray-hero__title {
		font-size: 1.625rem;
	}

	.pray-hero__subtitle {
		font-size: 1rem;
	}
}

/* ==============================
   Reduced Motion
   ============================== */

@media (prefers-reduced-motion: reduce) {
	.pray-hero .section__eyebrow,
	.pray-hero__title,
	.pray-hero__subtitle,
	.pray-hero__form {
		opacity: 1;
		transform: none;
		animation: none !important;
	}
}
