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

/* Hero entrance: each child of a .dlbc-hero-anim group arrives in turn. */
@media (prefers-reduced-motion: no-preference) {
	.dlbc-hero-anim > * {
		animation: dlbc-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
	.dlbc-hero-anim > *:nth-child(1) { animation-delay: 0.05s; }
	.dlbc-hero-anim > *:nth-child(2) { animation-delay: 0.15s; }
	.dlbc-hero-anim > *:nth-child(3) { animation-delay: 0.28s; }
	.dlbc-hero-anim > *:nth-child(4) { animation-delay: 0.4s; }
	.dlbc-hero-anim > *:nth-child(5) { animation-delay: 0.5s; }

	.dlbc-hero-photo-in img,
	.dlbc-hero-photo-in .dlbc-photo-placeholder {
		animation: dlbc-settle 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.dlbc-float {
		animation: dlbc-float 7s ease-in-out infinite;
	}
}

@keyframes dlbc-rise {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}
@keyframes dlbc-settle {
	from { opacity: 0; transform: scale(1.06); }
	to { opacity: 1; transform: none; }
}
@keyframes dlbc-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* Scroll reveal (motion.js adds .dlbc-motion to <html> when allowed). */
.dlbc-motion .dlbc-will-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--dlbc-delay, 0ms);
}
.dlbc-motion .dlbc-will-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   Depth: decoration that sits behind content
   ========================================================================== */

/* Soft glows in the branch colour. */
.dlbc-glow {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.dlbc-glow::before,
.dlbc-glow::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.55;
	pointer-events: none;
}
.dlbc-glow::before {
	width: 520px;
	height: 520px;
	top: -180px;
	right: -120px;
	background: var(--dlbc-branch-tint);
}
.dlbc-glow::after {
	width: 380px;
	height: 380px;
	bottom: -160px;
	left: -120px;
	background: color-mix(in srgb, var(--dlbc-branch-fill) 28%, transparent);
}

/* Dot grid texture. */
.dlbc-dots {
	position: relative;
	isolation: isolate;
}
.dlbc-dots::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: radial-gradient(color-mix(in srgb, var(--dlbc-branch-deep) 22%, transparent) 1.2px, transparent 1.2px);
	background-size: 22px 22px;
	mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
	pointer-events: none;
}
.has-navy-background-color.dlbc-dots::before {
	background-image: radial-gradient(rgba(46, 163, 242, 0.35) 1.2px, transparent 1.2px);
}

/* Offset arch frame behind an arched photo. */
.dlbc-arch-frame {
	position: relative;
	isolation: isolate;
}
.dlbc-arch-frame > .wp-block-post-featured-image,
.dlbc-arch-frame > .wp-block-image {
	position: relative;
}
.dlbc-arch-frame > .wp-block-post-featured-image::before,
.dlbc-arch-frame > .wp-block-image::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -18px 18px 18px -18px;
	border: 2px solid var(--dlbc-branch-fill);
	border-radius: 999px 999px 28px 28px;
}
.dlbc-arch-frame > .wp-block-post-featured-image::after,
.dlbc-arch-frame > .wp-block-image::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -26px;
	bottom: -26px;
	width: 42%;
	height: 42%;
	border-radius: 28px;
	background-image: radial-gradient(var(--dlbc-branch-fill) 1.6px, transparent 1.6px);
	background-size: 16px 16px;
	opacity: 0.7;
}

/* A card that floats over the edge of a photo. */
.dlbc-overlap-card {
	position: relative;
	z-index: 2;
	box-shadow: 0 18px 50px rgba(11, 27, 51, 0.16);
}
@media (min-width: 782px) {
	.dlbc-overlap-card.is-left { margin-left: -4rem !important; }
	.dlbc-overlap-card.is-up { margin-top: -5rem !important; }
}

/* Glows on navy are sky light, not tint. */
.has-navy-background-color.dlbc-glow::before {
	background: rgba(46, 163, 242, 0.45);
	opacity: 0.5;
}
.has-navy-background-color.dlbc-glow::after {
	background: rgba(212, 42, 60, 0.35);
	opacity: 0.35;
}

/* ==========================================================================
   Tactile cards and images
   ========================================================================== */
.is-style-card,
.dlbc-branch-card,
.dlbc-events.is-layout-cards .dlbc-event,
.dlbc-lift {
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.is-style-card:hover,
.dlbc-branch-card:hover,
.dlbc-events.is-layout-cards .dlbc-event:hover,
.dlbc-lift:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(11, 27, 51, 0.1);
}
.dlbc-zoom img,
.dlbc-branch-card__media img,
.dlbc-event__media img,
.wp-block-post-template .wp-block-post-featured-image img {
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dlbc-zoom:hover img,
.dlbc-branch-card:hover .dlbc-branch-card__media img,
.dlbc-event:hover .dlbc-event__media img,
.wp-block-post-template li:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}
.wp-block-post-featured-image,
.dlbc-zoom {
	overflow: hidden;
}

/* Soft shadow for photos that should lift off the page. */
.dlbc-shadow img,
.dlbc-shadow.wp-block-cover {
	box-shadow: 0 24px 60px rgba(11, 27, 51, 0.18);
}

@media (prefers-reduced-motion: reduce) {
	.is-style-card:hover,
	.dlbc-branch-card:hover,
	.dlbc-events.is-layout-cards .dlbc-event:hover,
	.dlbc-lift:hover,
	.dlbc-zoom:hover img {
		transform: none;
	}
}

/* ==========================================================================
   Designed tile for sermons/articles without a photo
   ========================================================================== */
.dlbc-tile {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--sm, 14px);
	background-color: var(--wp--preset--color--navy, #0B1B33);
	background-image:
		radial-gradient(circle at 85% 15%, rgba(46, 163, 242, 0.55) 0, rgba(46, 163, 242, 0) 45%),
		radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
	background-size: auto, 18px 18px;
	aspect-ratio: 16 / 10;
}
.dlbc-tile a,
.dlbc-tile > .dlbc-tile__label {
	text-decoration: none;
}
.dlbc-tile a {
	display: contents;
}
.dlbc-tile__label {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sky, #2EA3F2);
	color: var(--wp--preset--color--navy, #0B1B33);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.dlbc-tile__title {
	position: absolute;
	right: 1.25rem;
	bottom: 1.1rem;
	left: 1.25rem;
	color: #FFFFFF;
	font-family: var(--wp--preset--font-family--display, system-ui);
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

/* ==========================================================================
   Chips (filters, share)
   ========================================================================== */
.dlbc-chips,
.dlbc-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}
.dlbc-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.5rem;
	padding: 0 1rem;
	border: 1.5px solid var(--wp--preset--color--line, #E1E7F2);
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--wp--preset--color--navy, #0B1B33);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.dlbc-chip:hover,
.dlbc-chip:focus-visible {
	border-color: var(--dlbc-branch-fill, #2EA3F2);
	color: var(--wp--preset--color--navy, #0B1B33);
}
.dlbc-chip.is-current {
	border-color: var(--wp--preset--color--navy, #0B1B33);
	background: var(--wp--preset--color--navy, #0B1B33);
	color: #FFFFFF;
}
.dlbc-chip__count {
	font-size: 0.75rem;
	opacity: 0.6;
}
.dlbc-share__label {
	margin-right: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate, #3A4660);
}
.has-navy-background-color .dlbc-chip:not(.is-current) {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
	color: #FFFFFF;
}
.has-navy-background-color .dlbc-chip.is-current {
	border-color: var(--wp--preset--color--sky, #2EA3F2);
	background: var(--wp--preset--color--sky, #2EA3F2);
	color: var(--wp--preset--color--navy, #0B1B33);
}

/* ==========================================================================
   Section components
   ========================================================================== */
.dlbc-hero {
	overflow: hidden;
}
.dlbc-hero h1 {
	text-wrap: balance;
}

/* Accordion */
.dlbc-accordion.wp-block-details {
	border: 1.5px solid var(--wp--preset--color--line, #E1E7F2);
	border-radius: 20px;
	background: #FFFFFF;
	transition: border-color 0.25s, box-shadow 0.25s;
}
.dlbc-accordion.wp-block-details[open] {
	border-color: var(--dlbc-branch-fill);
	box-shadow: 0 14px 36px rgba(11, 27, 51, 0.08);
}
.dlbc-accordion summary {
	position: relative;
	padding: 1.15rem 3.5rem 1.15rem 1.4rem;
	list-style: none;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	cursor: pointer;
}
.dlbc-accordion summary::-webkit-details-marker {
	display: none;
}
.dlbc-accordion summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.3rem;
	width: 1.9rem;
	height: 1.9rem;
	margin-top: -0.95rem;
	border-radius: 50%;
	background: var(--dlbc-branch-tint) no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230B1B33' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	transition: transform 0.3s ease, background-color 0.3s;
}
.dlbc-accordion[open] summary::after {
	transform: rotate(45deg);
	background-color: var(--dlbc-branch-fill);
}
.dlbc-accordion.wp-block-details > :not(summary) {
	margin: 0 1.4rem 1.2rem;
	color: var(--wp--preset--color--slate, #3A4660);
}

/* Stats */
.dlbc-stat__value {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--dlbc-branch-deep);
}
.has-navy-background-color .dlbc-stat__value {
	color: var(--wp--preset--color--sky, #2EA3F2);
}
.dlbc-stat__label {
	margin: 0;
	font-weight: 600;
}

/* Big quote */
.dlbc-quote {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 3.6vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-wrap: balance;
}

/* Book / resource covers */
.dlbc-books .wp-block-image.dlbc-book {
	margin: 0;
}
.dlbc-books .dlbc-book img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: contain;
	padding: 1rem;
	box-sizing: border-box;
	border-radius: 18px;
	background: var(--dlbc-branch-tint);
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s;
}
.dlbc-books .dlbc-book:hover img {
	transform: translateY(-6px) rotate(-1deg);
	box-shadow: 0 18px 40px rgba(11, 27, 51, 0.14);
}
.dlbc-books .dlbc-book figcaption {
	margin-top: 0.75rem;
	color: var(--wp--preset--color--navy, #0B1B33);
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: left;
}

/* Card link */
.dlbc-card-link {
	margin-top: auto !important;
	font-weight: 700;
}
/* Cards fill their grid cell (only inside grids — not floating cards). */
.is-layout-grid > .is-style-card {
	height: 100%;
	box-sizing: border-box;
}

/* Headings in narrow columns never break mid-word. */
.wp-block-column h2,
.wp-block-column h3,
.is-style-card h3 {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

/* ==========================================================================
   Latest sermon feature
   ========================================================================== */
.dlbc-latest {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	padding: clamp(1.25rem, 4vw, 3.5rem);
	border-radius: var(--wp--custom--radius--lg, 36px);
	background: var(--wp--preset--color--stone, #F6F4EF);
}
.dlbc-latest__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: var(--wp--custom--radius--md, 24px);
	background: var(--wp--preset--color--navy, #0B1B33);
	box-shadow: 0 24px 60px rgba(11, 27, 51, 0.18);
}
.dlbc-latest__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dlbc-latest__media:hover img {
	transform: scale(1.04);
}
.dlbc-latest__play {
	position: absolute;
	bottom: 1.25rem;
	left: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.3rem;
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--wp--preset--color--navy, #0B1B33);
	font-weight: 700;
	font-size: 0.9375rem;
}
.dlbc-latest__eyebrow {
	margin: 0;
	color: var(--wp--preset--color--red, #D42A3C);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.dlbc-latest__title {
	margin: 0.9rem 0 0;
	font-size: var(--wp--preset--font-size--xxx-large);
	line-height: 0.98;
	text-wrap: balance;
}
.dlbc-latest__title a {
	color: inherit;
	text-decoration: none;
}
.dlbc-latest__meta {
	margin: 1rem 0 0;
	color: var(--wp--preset--color--slate, #3A4660);
	font-size: 0.9375rem;
	font-weight: 600;
}
.dlbc-latest__summary {
	margin: 1rem 0 0;
	color: var(--wp--preset--color--slate, #3A4660);
	font-size: var(--wp--preset--font-size--large);
}
.dlbc-latest__more {
	margin: 1.5rem 0 0;
	font-weight: 700;
}
@media (max-width: 781px) {
	.dlbc-latest {
		grid-template-columns: 1fr;
	}
}

/* Sermon cards */
.dlbc-sermon-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(16rem, calc((100% - 3rem) / 3)), 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dlbc-sermon-card a {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	color: var(--wp--preset--color--navy, #0B1B33);
	text-decoration: none;
}
.dlbc-sermon-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin-bottom: 0.6rem;
	border-radius: 20px;
	background: var(--wp--preset--color--navy, #0B1B33);
}
.dlbc-sermon-card__media img,
.dlbc-sermon-card__media .dlbc-tile {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dlbc-sermon-card a:hover .dlbc-sermon-card__media img {
	transform: scale(1.05);
}
.dlbc-sermon-card__play {
	position: absolute;
	right: 0.9rem;
	bottom: 0.9rem;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: #FFFFFF;
	color: var(--wp--preset--color--red, #D42A3C);
	transition: transform 0.3s;
}
.dlbc-sermon-card a:hover .dlbc-sermon-card__play {
	transform: scale(1.12);
}
.dlbc-sermon-card__eyebrow {
	color: var(--dlbc-branch-deep, #1A73C0);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.dlbc-sermon-card__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.dlbc-sermon-card__meta {
	color: var(--wp--preset--color--slate, #3A4660);
	font-size: 0.875rem;
}
.has-navy-background-color .dlbc-sermon-card a {
	color: #FFFFFF;
}
.has-navy-background-color .dlbc-sermon-card__meta {
	color: #C9D6EA;
}
.has-navy-background-color .dlbc-sermon-card__eyebrow {
	color: var(--wp--preset--color--sky, #2EA3F2);
}

/* Sermon page: video lifts over the navy hero */
.dlbc-video-lift {
	position: relative;
	z-index: 2;
	margin-top: calc(-1 * clamp(4rem, 12vw, 11rem)) !important;
}

/* Cropped images (aspect ratio set) always fill their column, even small originals. */
.wp-block-image img[style*="aspect-ratio"],
.wp-block-image.is-style-arch img,
.wp-block-image.is-style-pill img {
	width: 100%;
	height: auto;
}

/* Branch hero: Sunday card floats over the arch. */
.dlbc-arch-frame {
	position: relative;
}
@media (min-width: 782px) {
	.dlbc-hero-sunday {
		position: absolute !important;
		left: -2.5rem;
		bottom: 2.5rem;
		z-index: 3;
		max-width: 290px;
		margin: 0 !important;
	}
}
.dlbc-fact.is-style-card {
	border-top: 4px solid var(--dlbc-branch-fill);
}

/* Article sidebar */
@media (min-width: 782px) {
	.dlbc-sidebar {
		position: sticky;
		top: 7rem;
		align-self: flex-start;
	}
}
.dlbc-sidebar > * + * {
	margin-top: var(--wp--preset--spacing--40) !important;
}
.dlbc-sidebar .is-style-card:hover {
	transform: none;
	box-shadow: none;
}
.dlbc-recent {
	margin: 0;
	padding: 0;
	list-style: none;
}
.dlbc-recent li {
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.dlbc-recent li:last-child {
	border-bottom: 0;
}
.dlbc-recent a {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
.dlbc-recent a:hover {
	color: var(--wp--preset--color--sky-deep);
}
.dlbc-recent .wp-block-latest-posts__post-date {
	margin-top: 0.2rem;
	color: var(--wp--preset--color--slate);
	font-size: 0.8125rem;
}
.dlbc-sidebar .dlbc-sermon-cards {
	grid-template-columns: 1fr;
	gap: 1rem;
}
.dlbc-sidebar .dlbc-chips .dlbc-chip {
	min-height: 2.2rem;
	font-size: 0.875rem;
}

/* Arches crop from the top, so heads and steeples stay in frame. */
.is-style-arch img,
.wp-block-post-featured-image.is-style-arch img {
	object-position: 50% 12%;
}

.dlbc-tile__icon {
	position: absolute;
	right: 1.25rem;
	bottom: 1.1rem;
	color: rgba(255, 255, 255, 0.85);
}

/* Gallery: rounded photos that lift on hover. */
.dlbc-gallery.wp-block-gallery {
	gap: 1rem !important;
}
.dlbc-gallery .wp-block-image img {
	border-radius: 18px;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s;
}
.dlbc-gallery .wp-block-image:hover img {
	transform: scale(1.02);
	box-shadow: 0 18px 44px rgba(11, 27, 51, 0.18);
}
@media (max-width: 600px) {
	.dlbc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: calc(50% - 0.5rem) !important;
	}
}

/* Footer social icons: 44px round buttons that turn sky on hover. */
footer.wp-block-template-part .dlbc-social {
	margin-top: 1rem;
}
footer.wp-block-template-part .dlbc-social .wp-social-link {
	transition: transform 0.2s ease, background-color 0.2s ease;
}
footer.wp-block-template-part .dlbc-social .wp-social-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	line-height: 1;
}
footer.wp-block-template-part .dlbc-social .wp-social-link:hover {
	transform: translateY(-2px);
	background-color: var(--wp--preset--color--sky-deep) !important;
}

/* Gallery captions: a name tag on the photo. */
.dlbc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	padding: 2.5rem 1rem 0.9rem;
	background: linear-gradient(0deg, rgba(11, 27, 51, 0.78), rgba(11, 27, 51, 0));
	border-radius: 0 0 18px 18px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.05rem;
	font-weight: 700;
	text-align: left;
}

/* ==========================================================================
   3D carousel (Gallery block, "3D carousel" style)
   ========================================================================== */
.wp-block-gallery.is-style-carousel {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: clamp(0.5rem, 1.5vw, 1.25rem) !important;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 2.5rem calc(50% - clamp(120px, 16vw, 210px)) !important;
	margin-left: calc(-1 * clamp(1rem, 4vw, 3.5rem)) !important;
	margin-right: calc(-1 * clamp(1rem, 4vw, 3.5rem)) !important;
	cursor: grab;
	outline-offset: -4px;
}
.wp-block-gallery.is-style-carousel::-webkit-scrollbar {
	display: none;
}
.wp-block-gallery.is-style-carousel.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}
.wp-block-gallery.is-style-carousel.has-nested-images figure.wp-block-image:not(#individual-image) {
	flex: 0 0 clamp(240px, 32vw, 420px) !important;
	width: clamp(240px, 32vw, 420px) !important;
	margin: 0 !important;
	scroll-snap-align: center;
	transform-origin: center center;
	transition: transform 0.18s ease-out, opacity 0.18s ease-out;
	will-change: transform;
}
.wp-block-gallery.is-style-carousel.has-nested-images figure.wp-block-image img {
	aspect-ratio: 4 / 5;
	height: auto !important;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(11, 27, 51, 0.22);
	pointer-events: auto;
	-webkit-user-drag: none;
}
.wp-block-gallery.is-style-carousel figure.wp-block-image:hover img {
	transform: none;
}
.wp-block-gallery.is-style-carousel.has-nested-images figure.wp-block-image figcaption {
	opacity: 0;
	transition: opacity 0.3s;
	border-radius: 0 0 24px 24px;
}
.wp-block-gallery.is-style-carousel.has-nested-images figure.wp-block-image.is-centre figcaption {
	opacity: 1;
}
.dlbc-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 0.5rem;
}
.dlbc-carousel__btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: 50%;
	background: #FFFFFF;
	color: var(--wp--preset--color--navy);
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dlbc-carousel__btn:hover,
.dlbc-carousel__btn:focus-visible {
	border-color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--navy);
	color: #FFFFFF;
}
.dlbc-carousel__count {
	min-width: 4.5rem;
	color: var(--wp--preset--color--slate);
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
}
.has-navy-background-color .dlbc-carousel__count {
	color: #C9D6EA;
}
.has-navy-background-color .dlbc-carousel__btn {
	border-color: transparent;
}
.has-navy-background-color .dlbc-carousel__btn:hover,
.has-navy-background-color .dlbc-carousel__btn:focus-visible {
	border-color: var(--wp--preset--color--sky);
	background: var(--wp--preset--color--sky);
	color: var(--wp--preset--color--navy);
}
.dlbc-carousel__btn:focus:not(:focus-visible) {
	outline: none;
}

/* ==========================================================================
   Community
   ========================================================================== */
.dlbc-outreach-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dlbc-outreach-cat {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
	box-sizing: border-box;
	padding: 1.6rem;
	border-radius: 24px;
	background: var(--dlbc-branch-tint);
	color: var(--wp--preset--color--navy);
	text-decoration: none !important;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
.dlbc-outreach-cat:hover,
.dlbc-outreach-cat:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(11, 27, 51, 0.1);
}
.dlbc-outreach-cat__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 0.4rem;
	border-radius: 16px;
	background: var(--dlbc-branch-fill);
	color: var(--wp--preset--color--navy);
}
.dlbc-outreach-cat__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.dlbc-outreach-cat__desc {
	color: var(--wp--preset--color--slate);
	font-size: 0.9375rem;
	line-height: 1.5;
}
.dlbc-outreach-cat__count {
	margin-top: auto;
	padding-top: 0.6rem;
	color: var(--dlbc-branch-deep);
	font-size: 0.875rem;
	font-weight: 800;
}

/* Voices: a swipeable row of quote cards. */
.dlbc-voices__list {
	display: flex;
	gap: 1.25rem;
	margin: 0 calc(-1 * clamp(1rem, 4vw, 3.5rem));
	padding: 0.5rem clamp(1rem, 4vw, 3.5rem) 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	list-style: none;
}
.dlbc-voice {
	display: flex;
	flex: 0 0 min(380px, 82vw);
	flex-direction: column;
	gap: 1rem;
	box-sizing: border-box;
	padding: 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.06);
	scroll-snap-align: start;
}
.dlbc-voice__mark {
	color: var(--wp--preset--color--sky);
}
.dlbc-voice__text {
	margin: 0;
	padding: 0;
	border: 0;
}
.dlbc-voice__text p {
	margin: 0;
	color: #FFFFFF;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.4;
}
.dlbc-voice__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: auto 0 0;
	color: #C9D6EA;
	font-size: 0.875rem;
}
.dlbc-voice__meta strong {
	color: #FFFFFF;
}
.dlbc-voices__empty,
.dlbc-empty {
	margin: 0;
	padding: 1.5rem;
	border: 1.5px dashed rgba(127, 140, 160, 0.4);
	border-radius: 20px;
	text-align: center;
	color: inherit;
	opacity: 0.85;
}

/* Feedback quotes inside a story. */
.wp-block-quote.is-style-dlbc-feedback {
	position: relative;
	margin-block: var(--wp--preset--spacing--40);
	padding: 1.75rem 1.75rem 1.5rem 4.25rem;
	border: 0;
	border-radius: 24px;
	background: var(--wp--preset--color--sky-tint);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.55;
}
.wp-block-quote.is-style-dlbc-feedback::before {
	content: "“";
	position: absolute;
	top: 0.6rem;
	left: 1.3rem;
	color: var(--wp--preset--color--sky-deep);
	font-family: var(--wp--preset--font-family--display);
	font-size: 4.5rem;
	font-weight: 800;
	line-height: 1;
}
.wp-block-quote.is-style-dlbc-feedback cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--wp--preset--color--slate);
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 700;
}
.dlbc-people:not(:empty)::before {
	content: "·  ";
}
.wp-block-post-terms.dlbc-chip-sky {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	width: fit-content;
	font-size: 0.875rem;
	font-weight: 700;
}
.wp-block-post-terms.dlbc-chip-sky a {
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sky);
	color: var(--wp--preset--color--navy) !important;
	text-decoration: none;
}
.wp-block-post-terms.dlbc-chip-sky .wp-block-post-terms__separator {
	display: none;
}
.dlbc-story .wp-block-gallery.is-style-carousel {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding-left: calc(50vw - clamp(120px, 16vw, 210px)) !important;
	padding-right: calc(50vw - clamp(120px, 16vw, 210px)) !important;
}

/* Video clips in a story (portrait phone clips). */
.dlbc-clips {
	gap: 1rem !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)) !important;
}
.dlbc-clip.wp-block-video {
	margin: 0;
}
.wp-block-video.dlbc-clip video {
	width: 100%;
	height: auto !important;
	aspect-ratio: 9 / 16 !important;
	object-fit: cover;
	border-radius: 20px;
	background: var(--wp--preset--color--navy);
	box-shadow: 0 16px 40px rgba(11, 27, 51, 0.16);
}

/* Uploaded photos of any shape never change a layout: framed images fill and crop. */
.wp-block-post-featured-image[style*="aspect-ratio"] img,
.dlbc-latest__media img,
.dlbc-sermon-card__media img,
.dlbc-event__media img,
.dlbc-tile img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}
.wp-block-post-featured-image[style*="aspect-ratio"] {
	overflow: hidden;
}

.dlbc-voices-band {
	margin-top: var(--wp--preset--spacing--70) !important;
	padding-block: var(--wp--preset--spacing--70);
	background: var(--wp--preset--color--navy);
	color: #FFFFFF;
}
.dlbc-voices__inner {
	max-width: 1328px;
	margin: 0 auto;
	padding-inline: clamp(1rem, 4vw, 3.5rem);
}
.dlbc-voices__eyebrow {
	margin: 0 0 0.5rem;
	color: var(--wp--preset--color--sky);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.dlbc-voices__title {
	margin: 0 0 var(--wp--preset--spacing--50);
	color: #FFFFFF;
}

/* Event flyer inside a story: shown whole, never cropped. */
.wp-block-image.dlbc-flyer img {
	width: 100%;
	height: auto !important;
	object-fit: contain;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(11, 27, 51, 0.18);
}
