/*
Theme Name: Peach Deaf Ministry
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for dpeach.com. Photo-led homepage that updates itself from the latest prayer letter.
Version: 1.0.0
Text Domain: dpeach
*/

/* ---------- Header ---------- */
.dp-header .wp-block-site-title a { text-decoration: none; }
.dp-header .wp-block-navigation a { text-decoration: none; }
.dp-header .wp-block-navigation a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dp-header .wp-block-navigation .dp-cta > a {
	background: var(--wp--preset--color--accent-1);
	color: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 600;
}
.dp-header .wp-block-navigation .dp-cta > a:hover { background: var(--wp--preset--color--accent-3); text-decoration: none; }

/* ---------- Hero (latest letter) ---------- */
.dp-hero { position: relative; border-radius: 14px; overflow: hidden; background: var(--wp--preset--color--contrast); }
.dp-hero img { width: 100%; height: clamp(320px, 46vw, 540px); object-fit: cover; display: block; opacity: .94; }
.dp-hero__panel {
	position: absolute; left: 24px; right: 24px; bottom: 24px; max-width: 560px;
	background: rgba(15, 24, 32, .88); color: #fff; padding: 30px 32px; border-radius: 10px;
}
.dp-hero__title {
	font-family: var(--wp--preset--font-family--libre-franklin); font-weight: 800;
	font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 12px; color: #fff;
}
.dp-hero__sub { margin: 0 0 16px; color: #D5DCE3; }
.dp-hero__link {
	display: inline-block; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--accent-2);
	text-decoration: none; border-top: 1px solid #3A4752; padding-top: 12px;
}
.dp-hero__link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 600px) {
	.dp-hero img { height: 300px; }
	.dp-hero__panel { position: static; max-width: none; border-radius: 0; }
}

/* ---------- Facts row ---------- */
.dp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dp-stat { border-top: 3px solid var(--wp--preset--color--accent-1); padding-top: 14px; }
.dp-stat__num {
	font-family: var(--wp--preset--font-family--libre-franklin); font-weight: 800; font-size: 36px;
	line-height: 1.3; color: var(--wp--preset--color--accent-1);
}
.dp-stat__label { color: var(--wp--preset--color--accent-4); }

/* ---------- Post cards ---------- */
.dp-cards .wp-block-post-featured-image img { border-radius: 10px; }
.dp-cards .wp-block-post-title a { text-decoration: none; }
.dp-cards .wp-block-post-title a:hover { text-decoration: underline; }
.dp-cards .wp-block-post-excerpt__excerpt { margin: 0; }

/* ---------- Signup band (Mailchimp) ---------- */
.dp-signup { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.dp-signup__email { grid-column: 1 / -1; }
.dp-signup label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #fff; }
.dp-signup label span { font-weight: 400; color: #D6E6DF; }
.dp-signup input { width: 100%; box-sizing: border-box; padding: 12px 16px; border-radius: 999px; border: 0; font-size: 16px; font-family: inherit; color: var(--wp--preset--color--contrast); }
.dp-signup input:focus-visible, .dp-signup button:focus-visible { outline: 3px solid var(--wp--preset--color--accent-2); outline-offset: 2px; }
.dp-signup button {
	justify-self: start; border-radius: 999px; background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--contrast);
	font-weight: 600; border: 0; padding: 13px 28px; font-family: inherit; font-size: 16px; cursor: pointer;
}
.dp-signup button:hover { background: #fff; }
.dp-signup__hp { position: absolute; left: -5000px; }

/* ---------- Single letters ---------- */
.dp-single .wp-block-post-content figure.alignright { margin-left: 1.5rem; }
.dp-single .wp-block-post-content figcaption { font-size: 14px; color: var(--wp--preset--color--accent-4); }
@media (max-width: 600px) {
	.dp-single .wp-block-post-content .alignright,
	.dp-single .wp-block-post-content .alignleft { float: none; margin: 1rem 0; width: 100% !important; }
	.dp-single .wp-block-post-content .alignright img { width: 100% !important; }
}

/* ---------- Footer ---------- */
.dp-footer a { color: inherit; }
.dp-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.dp-cards .wp-block-post-title a { color: var(--wp--preset--color--contrast); }
