/* ============================================================
   PCP Core — Homepage Styles (Phase 3, polished v2)
   ============================================================ */

/* Reset homepage container so our sections go full‑width inside Astra */
body.pcp-homepage .entry-content,
body.pcp-homepage .ast-container,
body.pcp-homepage #primary,
body.pcp-homepage .site-content > .ast-container {
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.pcp-homepage .entry-header,
body.pcp-homepage .ast-archive-description,
body.pcp-homepage .post-thumb-img-content { display: none !important; }

body.pcp-homepage { background: var(--pcp-cream); }

/* Kill underlines on all our internal links */
body.pcp-homepage .pcp-hero a,
body.pcp-homepage .pcp-section a,
body.pcp-homepage .pcp-scripture a,
body.pcp-homepage .pcp-catlist a,
body.pcp-homepage .pcp-quick-btn,
body.pcp-homepage .pcp-btn { text-decoration: none !important; }

/* Suppress Ad Inserter / WP injected ads inside our sections */
.pcp-no-ads .ai-viewports,
.pcp-no-ads .ai-viewport-0,
.pcp-no-ads .ai-viewport-1,
.pcp-no-ads .ai-viewport-2,
.pcp-no-ads .ai-viewport-3,
.pcp-no-ads [data-ad],
.pcp-no-ads ins.adsbygoogle,
.pcp-no-ads .code-block,
.pcp-no-ads .ai-attributes,
.pcp-no-ads .ai-rotate { display: none !important; }

/* ---------- HERO ---------- */
.pcp-hero {
	background: linear-gradient(135deg, var(--pcp-burgundy) 0%, var(--pcp-burgundy-deep) 100%);
	color: var(--pcp-cream);
	padding: 64px 20px 56px;
	text-align: center;
	position: relative;
	border-bottom: 4px solid var(--pcp-gold);
}
.pcp-hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: radial-gradient(circle at 20% 20%, rgba(201,168,76,0.10), transparent 50%),
	                  radial-gradient(circle at 80% 80%, rgba(201,168,76,0.08), transparent 50%);
	pointer-events: none;
}
.pcp-hero__inner { position: relative; max-width: 720px; margin: 0 auto; }
.pcp-hero__cross { color: var(--pcp-gold); display: inline-flex; margin-bottom: 16px; }
.pcp-hero__title {
	font-family: var(--pcp-font-serif);
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
	margin: 0 0 12px;
	color: var(--pcp-cream);
	letter-spacing: 0.5px;
}
.pcp-hero__subtitle {
	font-size: clamp(15px, 1.6vw, 17px);
	line-height: 1.55;
	margin: 0 0 28px;
	opacity: 0.92;
}
.pcp-hero__search {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
	box-shadow: var(--pcp-shadow-md);
	max-width: 560px;
	margin: 0 auto 22px;
}
.pcp-hero__search-icon { color: var(--pcp-burgundy); flex-shrink: 0; }
.pcp-hero__search input[type="search"] {
	flex: 1; border: 0; outline: 0; background: transparent;
	padding: 14px; font-size: 16px; color: var(--pcp-text);
	min-width: 0; font-family: inherit;
}
.pcp-hero__search input::placeholder { color: #999; }
.pcp-hero__search-btn {
	background: var(--pcp-burgundy); color: #fff; border: 0;
	border-radius: 999px; padding: 12px 22px; font-weight: 600;
	font-size: 15px; cursor: pointer; transition: var(--pcp-transition);
	font-family: inherit;
}
.pcp-hero__search-btn:hover { background: var(--pcp-burgundy-deep); }

.pcp-quick-buttons {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 10px;
	max-width: 560px;
	margin: 0 auto;
}
.pcp-quick-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 8px;
	background: rgba(255,253,245,0.08);
	border: 1px solid rgba(201,168,76,0.45);
	border-radius: var(--pcp-radius);
	color: var(--pcp-cream);
	font-size: 14px;
	font-weight: 600;
	transition: var(--pcp-transition);
}
.pcp-quick-btn:hover {
	background: var(--pcp-gold);
	color: var(--pcp-burgundy-deep);
	border-color: var(--pcp-gold);
	transform: translateY(-2px);
}
.pcp-quick-btn__icon { display: inline-flex; }
@media (max-width: 480px) {
	.pcp-quick-buttons { grid-template-columns: repeat(2, 1fr); }
	.pcp-hero { padding: 48px 16px 40px; }
	.pcp-hero__search-btn { padding: 10px 16px; font-size: 14px; }
}

/* ---------- SECTIONS ---------- */
.pcp-section { padding: 48px 20px; }
.pcp-section--categories { background: var(--pcp-cream); }
.pcp-section__inner { max-width: 760px; margin: 0 auto; }
.pcp-section__header { text-align: center; margin-bottom: 28px; }
.pcp-section__title {
	font-family: var(--pcp-font-serif);
	font-size: clamp(24px, 3vw, 32px);
	color: var(--pcp-burgundy);
	margin: 0 0 8px;
	letter-spacing: 0.3px;
}
.pcp-eyebrow {
	display: inline-block;
	font-size: 12px; font-weight: 700; letter-spacing: 2px;
	text-transform: uppercase; color: var(--pcp-gold-dark);
	margin-bottom: 8px;
}

/* ---------- CATEGORY LIST (simplified, polished) ---------- */
.pcp-catlist {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid rgba(139,26,26,0.10);
	border-radius: var(--pcp-radius-lg);
	box-shadow: var(--pcp-shadow-sm);
	overflow: hidden;
}
.pcp-catlist__item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(139,26,26,0.08);
	list-style: none;
}
.pcp-catlist__item::before { content: none !important; }
.pcp-catlist__item:last-child { border-bottom: 0; }

.pcp-catlist__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	color: var(--pcp-text);
	transition: var(--pcp-transition);
}
.pcp-catlist__link,
.pcp-catlist__link:hover,
.pcp-catlist__link:focus,
.pcp-catlist__link:visited {
	text-decoration: none !important;
	box-shadow: none !important;
	border-bottom: 0 !important;
}
.pcp-catlist__link:hover { background: rgba(201,168,76,0.08); }

.pcp-catlist__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	background: rgba(139,26,26,0.07);
	color: var(--pcp-burgundy);
	border-radius: 50%;
}
.pcp-catlist__link:hover .pcp-catlist__icon {
	background: var(--pcp-burgundy);
	color: var(--pcp-cream);
}
.pcp-catlist__body {
	flex: 1 1 auto;
	min-width: 0; /* allow shrink so siblings (count, arrow) can stay on one row */
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.pcp-catlist__name {
	font-family: var(--pcp-font-serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--pcp-burgundy);
	line-height: 1.25;
	text-decoration: none !important;
	border-bottom: 0 !important;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: none;
}
.pcp-catlist__desc {
	font-size: 13px;
	color: var(--pcp-text-muted);
	line-height: 1.4;
	margin-top: 2px;
}
.pcp-catlist__count {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--pcp-gold-dark);
	background: rgba(201,168,76,0.14);
	padding: 4px 10px;
	border-radius: 999px;
	letter-spacing: 0.3px;
	text-decoration: none !important;
	white-space: nowrap;
}
.pcp-catlist__arrow {
	flex-shrink: 0;
	color: var(--pcp-burgundy);
	font-size: 18px;
	opacity: 0.5;
	transition: var(--pcp-transition);
}
.pcp-catlist__link:hover .pcp-catlist__arrow {
	opacity: 1;
	transform: translateX(3px);
}

/* Mobile: tighter rows, smaller name, compact pill, no description */
@media (max-width: 600px) {
	.pcp-catlist__link { padding: 12px 12px; gap: 10px; }
	.pcp-catlist__icon { width: 34px; height: 34px; }
	.pcp-catlist__icon svg { width: 18px; height: 18px; }
	.pcp-catlist__name { font-size: 15px; line-height: 1.2; }
	.pcp-catlist__desc { display: none; }
	.pcp-catlist__count { font-size: 11px; padding: 3px 8px; }
	.pcp-catlist__arrow { font-size: 15px; }
}

/* Extra-small phones (≤380px) — drop the arrow so name has room */
@media (max-width: 380px) {
	.pcp-catlist__link { gap: 8px; padding: 12px 10px; }
	.pcp-catlist__arrow { display: none; }
	.pcp-catlist__name { font-size: 14.5px; }
}

/* ---------- PRAYER OF THE DAY ---------- */
.pcp-section--potd {
	background: linear-gradient(180deg, var(--pcp-cream) 0%, var(--pcp-cream-dark) 100%);
	border-top: 1px solid rgba(139,26,26,0.10);
	border-bottom: 1px solid rgba(139,26,26,0.10);
}
.pcp-potd__body {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
	font-family: var(--pcp-font-serif);
	font-size: 18px;
	line-height: 1.7;
	color: var(--pcp-text);
}
.pcp-potd__body p { margin: 0 0 22px; }

.pcp-btn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	font-family: inherit;
	transition: var(--pcp-transition);
}
.pcp-btn--primary { background: var(--pcp-burgundy); color: #fff; }
.pcp-btn--primary:hover { background: var(--pcp-burgundy-deep); color: #fff; }

/* ---------- SCRIPTURE ---------- */
.pcp-scripture {
	background: linear-gradient(135deg, var(--pcp-burgundy-deep) 0%, var(--pcp-burgundy-dark) 100%);
	color: var(--pcp-cream);
	padding: 56px 20px;
	text-align: center;
}
.pcp-scripture__inner { max-width: 760px; margin: 0 auto; }
.pcp-scripture__quote { color: var(--pcp-gold); margin-bottom: 14px; }
.pcp-scripture__text {
	font-family: var(--pcp-font-serif);
	font-style: italic;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.6;
	margin: 0 0 14px;
	border: 0; padding: 0;
	color: var(--pcp-cream);
}
.pcp-scripture__cite {
	display: block;
	font-size: 14px;
	letter-spacing: 1px;
	color: var(--pcp-gold);
	font-style: normal;
}

@media (max-width: 600px) {
	.pcp-section { padding: 36px 16px; }
}
