/**
 * Home page sections (approved v3.3 Option A order): Hero · News Highlights · Brief
 * Introduction · Videos · Our Patron Saints · Quick links · Weekly Parishioner · Today's Mass
 * Readings · St. Jude City. Breakpoint 767px.
 */
.home .entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.home .entry-content .naggulu-wrap {
	max-width: var(--naggulu-wrap);
}

/* Grid/flex children: no flow margins (Kadence adds bottom margins to blocks). */
.home .entry-content .naggulu-intro__grid > *,
.home .entry-content .naggulu-read__grid > *,
.home .entry-content .naggulu-city__grid > *,
.home .entry-content .naggulu-saints__grid > *,
.home .entry-content .naggulu-saints__head > *,
.home .entry-content .naggulu-ssc > *,
.home .entry-content .naggulu-ql > *,
.home .entry-content .naggulu-qlc > *,
.home .entry-content .naggulu-progress > *,
.home .entry-content .naggulu-mv > ul,
.home .entry-content .naggulu-intro__side > * {
	margin-top: 0;
	margin-bottom: 0;
}

/* Section headings: dark teal (#036f6f) – teal #049e9e is kept for large areas only. */
.home .entry-content h2 {
	margin: 0 0 22px;
}

/* ---------- Brief introduction (cream) ---------- */
.naggulu-intro__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 64px;
	align-items: start;
}

.home .entry-content .naggulu-intro__main > p {
	margin: 0 0 14px;
}

.naggulu-intro .naggulu-lead {
	margin-bottom: 18px;
	color: var(--naggulu-muted);
	font-size: 19px;
	line-height: 1.6;
}

.naggulu-actions {
	margin-top: 26px;
	gap: 12px;
}

.wp-block-image.naggulu-pullimg {
	margin: 0;
	overflow: hidden;
	border-radius: 18px;
	box-shadow: var(--naggulu-shadow);
}

.wp-block-image.naggulu-pullimg img {
	display: block;
	width: 100%;
	height: 330px;
	object-fit: cover;
}

.home .entry-content .naggulu-mv {
	position: relative;
	margin: -56px 24px 0;
	padding: 28px;
	border-radius: 18px;
	background: var(--naggulu-teal-dark);
	color: #fff;
}

.home .entry-content .naggulu-intro__side > .naggulu-mv:first-child {
	margin-top: 0;
}

.home .entry-content .naggulu-mv h3 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 22px;
}

.naggulu-mv ul {
	margin: 0 0 0 18px;
	padding: 0;
}

.naggulu-mv li {
	margin-bottom: 6px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.home .entry-content .naggulu-welcome {
	margin-top: 30px;
	padding: 0 6px;
}

.naggulu-welcome__quote {
	margin: 0 0 12px;
	color: var(--naggulu-teal-dark);
	font: italic 400 20px/1.5 var(--naggulu-font-heading);
}

.naggulu-welcome .naggulu-muted {
	margin: 0;
	font-size: 15px;
}

/* ---------- Patron saints (cream) ---------- */
.naggulu-saints {
	padding: 56px 0;
}

.naggulu-saints__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 16px;
}

.naggulu-saints__head .naggulu-eyebrow {
	margin: 0;
}

.home .entry-content .naggulu-saints__head h3 {
	margin: 0;
	font-size: 26px;
}

.naggulu-saints__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.naggulu-ssc {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 24px;
	border-radius: 16px;
}

.naggulu-ssc .wp-block-image {
	flex: none;
	margin: 0;
}

.naggulu-ssc .wp-block-image img {
	display: block;
	width: 76px;
	height: 76px;
	border: 3px solid var(--naggulu-cream);
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
}

.naggulu-ssc__text {
	margin: 0;
}

.naggulu-ssc__text strong {
	display: block;
	color: var(--naggulu-teal-dark);
	font: 600 19px/1.3 var(--naggulu-font-heading);
}

.naggulu-ssc__text a {
	color: var(--naggulu-teal-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.naggulu-ssc__text a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.naggulu-ssc:hover,
.naggulu-ssc:focus-within {
	box-shadow: var(--naggulu-shadow);
}

/* ---------- Quick links (cream) ---------- */
.naggulu-ql-section {
	padding: 72px 0;
}

.naggulu-ql {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.naggulu-qlc {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 32px;
	border-radius: 18px;
}

.naggulu-qlc::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 8px;
	border-radius: 14px;
	background-color: var(--naggulu-cream);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
}

.naggulu-qlc--clock::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23036f6f' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.naggulu-qlc--candle::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23036f6f' stroke-width='2'%3E%3Cpath d='M12 3c1.5 2 1.5 3.5 0 4.5-1.5-1-1.5-2.5 0-4.5z'/%3E%3Crect x='8' y='10' width='8' height='11' rx='1'/%3E%3C/svg%3E");
}

.naggulu-qlc--book::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23036f6f' stroke-width='2'%3E%3Cpath d='M4 5a2 2 0 012-2h13v16H6a2 2 0 00-2 2V5z'/%3E%3Cpath d='M4 19a2 2 0 012-2h13'/%3E%3C/svg%3E");
}

.home .entry-content .naggulu-qlc h3 {
	margin: 0;
	font-size: 21px;
}

.naggulu-qlc h3 a {
	color: var(--naggulu-charcoal);
	text-decoration: none;
}

.naggulu-qlc h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.naggulu-qlc p {
	margin: 0;
	color: var(--naggulu-muted);
	font-size: 15px;
}

.home .entry-content .naggulu-qlc p.naggulu-qlc__go {
	margin-top: auto;
	padding-top: 12px;
	color: var(--naggulu-teal-dark);
	font-weight: 700;
	font-size: 14.5px;
}

.naggulu-qlc:hover,
.naggulu-qlc:focus-within {
	box-shadow: var(--naggulu-shadow);
	transform: translateY(-3px);
}

/* ---------- Subscribe ---------- */
.naggulu-sub-section {
	padding: 0 0 96px;
}

/* ---------- Readings (cream) ---------- */
.naggulu-read__grid {
	display: grid;
	grid-template-columns: 0.75fr 1.25fr;
	gap: 56px;
	align-items: start;
}

.naggulu-read__grid > * {
	min-width: 0;
}

/* ---------- St. Jude City band (#036f6f) ---------- */
.naggulu-city {
	background: var(--naggulu-teal-dark);
	color: var(--naggulu-on-teal);
}

.naggulu-city__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.home .entry-content .naggulu-city h2 {
	margin: 0;
	color: #fff;
	font-size: 44px;
}

.naggulu-city h2 em {
	font-style: normal;
}

.naggulu-city .naggulu-city__lead {
	margin: 20px 0 10px;
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
}

.naggulu-progress {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 26px;
}

.naggulu-progress .wp-block-image {
	margin: 0;
}

.naggulu-progress img {
	display: block;
	width: 100%;
	height: 86px;
	border-radius: 10px;
	object-fit: cover;
}

.home .entry-content .naggulu-city .naggulu-actions {
	margin-top: 28px;
}

.naggulu-city .wp-block-button.is-style-naggulu-donate .wp-block-button__link {
	padding: 18px 28px;
	font-size: 17px;
}

.wp-block-image.naggulu-city__img {
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.wp-block-image.naggulu-city__img img {
	display: block;
	width: 100%;
	height: 440px;
	object-fit: cover;
}

/* ---------- Mobile (<= 767px) ---------- */
@media (max-width: 767px) {

	.naggulu-intro__grid,
	.naggulu-read__grid,
	.naggulu-city__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.home .entry-content .naggulu-mv {
		margin: -40px 16px 0;
		padding: 24px;
	}

	.naggulu-saints__head {
		flex-direction: column;
		gap: 0;
	}

	.naggulu-saints__grid,
	.naggulu-ql {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.naggulu-ssc .wp-block-image img {
		width: 64px;
		height: 64px;
	}

	.naggulu-ql-section {
		padding: 60px 0;
	}

	.naggulu-qlc {
		flex-direction: row;
		align-items: center;
		gap: 16px;
		padding: 20px;
	}

	.naggulu-qlc::before {
		flex: none;
		margin: 0;
	}

	.naggulu-qlc p,
	.naggulu-qlc .naggulu-mass-times {
		display: none;
	}

	.home .entry-content .naggulu-qlc h3 {
		font-size: 18px;
	}

	.naggulu-sub-section {
		padding-bottom: 60px;
	}

	.home .entry-content .naggulu-city h2 {
		font-size: 32px;
	}

	.wp-block-image.naggulu-city__img img {
		height: 240px;
	}

	.naggulu-progress img {
		height: 64px;
	}
}
